Frame 2
_global.Code = new CodeLibs();
if (Key.isDown(32)) {
this.gotoAndStop("ranking");
}
this.stop();
Frame 10
function createShipObject(sNo) {
shipSta = new Object();
shipSta.name = shipListAry[sNo][0];
shipSta.shipType = shipListAry[sNo][1];
shipSta.grf = shipListAry[sNo][2];
shipSta.hp = shipListAry[sNo][3];
shipSta.def = shipListAry[sNo][4];
shipSta.mob = shipListAry[sNo][5];
shipSta.free = shipListAry[sNo][6];
shipSta.payload = shipListAry[sNo][7];
shipSta.extra1 = shipListAry[sNo][8];
shipSta.extra2 = shipListAry[sNo][9];
shipSta.extra3 = shipListAry[sNo][10];
shipSta.rank = shipListAry[sNo][11];
shipSta.cost = shipListAry[sNo][12];
shipSta.comment = shipListAry[sNo][13];
trace((("\u25A0\u6226\u8266\u69CB\u9020\u4F53\u3092\u751F\u6210\u3057\u307E\u3057\u305F\u3002 sNo=" + sNo) + " name=") + shipSta.name);
}
function getShipBaseData(sta) {
return(shipSta[sta]);
}
function getShipNowData(sta) {
trace("\uFF7D\uFF83\uFF70\uFF80\uFF7D\u554F\u3044\u5408\u308F\u305B sta=" + sta);
switch (sta) {
case "hp" :
re = (shipSta[sta] + (skillAry[5] * 20)) * (1 + (skillAry[5] * 0.03));
break;
case "def" :
re = (shipSta[sta] + skillAry[4]) * (1 + (skillAry[4] * 0.03));
break;
case "free" :
re = (shipSta[sta] + skillAry[3]) * (1 + (skillAry[3] * 0.03));
break;
case "payload" :
re = shipSta[sta] + skillAry[6];
}
return(Math.round(re));
}
function getShipDataSkill(sta) {
switch (sta) {
case "hp" :
re = ((shipSta[sta] + (skillAry[5] * 20)) * (1 + (skillAry[5] * 0.03))) - shipSta[sta];
break;
case "def" :
re = ((shipSta[sta] + skillAry[4]) * (1 + (skillAry[4] * 0.03))) - shipSta[sta];
break;
case "free" :
re = ((shipSta[sta] + skillAry[3]) * (1 + (skillAry[3] * 0.03))) - shipSta[sta];
break;
case "payload" :
re = skillAry[6];
}
return(Math.round(re));
}
function loadData() {
playerExp = so.data.playerExp;
money = so.data.money;
skillAry = new Array();
skillAry = so.data.skillAry;
equipAry = new Array();
equipAry = so.data.equipAry;
weponAry = new Array();
weponAry = so.data.weponAry;
}
function skillReset() {
var _local3 = 0;
i = 0;
while (i < skillAry.length) {
var _local2 = 0;
i2 = 0;
while (i2 < skillAry[i]) {
_local2 = _local2 + needPoint_list[i2];
i2++;
}
trace((("\u30B9\u30AD\u30EB" + i) + " \u9084\u5143=") + _local2);
_local3 = _local3 + _local2;
_root.statusSet("skillAry", i, 0);
i++;
}
_root.statusAdd("playerExp", null, _local3);
trace("totalBack=" + _local3);
_root.hangar.setData();
_root.first.setData();
_root.payloadCheck();
}
function statusAdd(aryName, aryNo, addNum) {
trace((((((("[\uFF7E\uFF70\uFF8C\uFF9E\uFF83\uFF9E\uFF70\uFF80\u64CD\u4F5C] " + aryName) + "[") + aryNo) + "]") + "\u306B") + addNum) + "\u8FFD\u52A0\u3057\u307E\u3057\u305F");
if (aryNo == null) {
so.data[aryName] = so.data[aryName] + addNum;
trace((((("[\uFF7E\uFF70\uFF8C\uFF9E\uFF83\uFF9E\uFF70\uFF80\u64CD\u4F5C] " + aryName) + "[") + aryNo) + "]\u3000\u73FE\u5728\u306E\u5024\u306F=") + so.data[aryName]);
} else {
so.data[aryName][aryNo] = so.data[aryName][aryNo] + addNum;
trace((((("[\uFF7E\uFF70\uFF8C\uFF9E\uFF83\uFF9E\uFF70\uFF80\u64CD\u4F5C] " + aryName) + "[") + aryNo) + "]\u3000\u73FE\u5728\u306E\u5024\u306F=") + so.data[aryName][aryNo]);
}
this.loadData();
}
function statusSet(aryName, aryNo, setNum) {
trace((((((("[\uFF7E\uFF70\uFF8C\uFF9E\uFF83\uFF9E\uFF70\uFF80\u64CD\u4F5C] " + aryName) + "[") + aryNo) + "]") + "\u306B") + setNum) + "\u3092\u8A2D\u5B9A\u3057\u307E\u3057\u305F");
if (aryNo == null) {
so.data[aryName] = setNum;
} else {
so.data[aryName][aryNo] = setNum;
}
this.loadData();
}
function changeEquip(slot, wNo) {
trace((("\u25A0STA \u6B66\u88C5\u5909\u66F4 \uFF7D\uFF9B\uFF6F\uFF84=" + slot) + " wNo=") + wNo);
var _local2 = slot - 1;
equipAry[_local2] = wNo;
this.statusSet("equipAry", _local2, wNo);
}
function getStatus(staName) {
trace("\u25A0STA \u30B9\u30C6\u30FC\u30BF\u30B9\u53D6\u5F97 staName=" + staName);
return(this[staName]);
}
function getPayload(com) {
switch (com) {
case "max" :
return(shipSta.payload + skillAry[6]);
case "now" :
var _local1 = 0;
_local1 = _local1 + weponListAry[equipAry[0]][12];
_local1 = _local1 + weponListAry[equipAry[1]][12];
_local1 = _local1 + weponListAry[equipAry[2]][12];
return(_local1);
case "left" :
_local1 = 0;
_local1 = _local1 + weponListAry[equipAry[0]][12];
_local1 = _local1 + weponListAry[equipAry[1]][12];
_local1 = _local1 + weponListAry[equipAry[2]][12];
_local1 = (shipSta.payload + skillAry[6]) - _local1;
return(_local1);
}
}
function payloadCheck() {
if (_root.getPayload("now") > _root.getPayload("max")) {
this.statusSet("equipAry", 0, 0);
this.statusSet("equipAry", 1, 0);
this.statusSet("equipAry", 2, 0);
this.setMessageWindow("\u642D\u8F09\u91CF\u8D85\u904E\u306E\u305F\u3081\u3001\u5168\u5175\u88C5\u3092\u89E3\u9664\u3057\u307E\u3057\u305F\u3002");
}
}
function toGame() {
_global.titleView = 0;
_root.gotoAndPlay("game");
}
function soundStop(target) {
target.s = new Sound();
target.s.stop();
}
function getDeep() {
if (deep > 200) {
deep = 50;
}
deep++;
return(deep);
}
function attach(x, y, xsc, ysc, r, ta, type, name, deep) {
var _local4 = this.getDeep();
if (name == null) {
name = _local4;
}
if (deep != null) {
var _local5 = deep;
} else {
var _local5 = _local4;
}
trace("\u30A2\u30C3\u30BF\u30C1\uFF01\u3000name=" + name);
ta.attachMovie(type, name, _local5);
ta[name]._x = x;
ta[name]._y = y;
ta[name]._xscale = xsc;
ta[name]._yscale = ysc;
ta[name]._rotation = r;
}
function setWindow(pri, type, address, varName, nowData) {
if ((pri == 1) || (_root.window == undefined)) {
trace("\u30E1\u30C3\u30BB\u30FC\u30B8\u30A6\u30A4\u30F3\u30C9\u30A6\u914D\u7F6E");
_root.attachMovie(type, "window", 10);
ta = _root.window;
ta._x = 275;
ta._y = 200;
ta.backAddress = address;
ta.varName = varName;
ta.input = nowData;
}
}
function setMessageWindow(mes) {
if (_root.window == undefined) {
trace("\u591A\u7528\u9014\u30E1\u30C3\u30BB\u30FC\u30B8\u30A6\u30A4\u30F3\u30C9\u30A6\u914D\u7F6E mes=" + mes);
_root.attach(275, 200, 100, 100, 0, _root, "window_message", "window", 10);
mes = ("<p align='center'>" + mes) + "</p>";
_root.window.mes = mes;
}
}
function setYesNoWindow(mes, doFunction, compulsionDrow) {
trace("doFunction=" + doFunction);
if ((_root.window == undefined) || (compulsionDrow == true)) {
trace("\u591A\u7528\u9014\u30E1\u30C3\u30BB\u30FC\u30B8\u30A6\u30A4\u30F3\u30C9\u30A6\u914D\u7F6E mes=" + mes);
_root.attach(275, 200, 100, 100, 0, _root, "window_yesNo", "window", 10);
mes = ("<p align='center'>" + mes) + "</p>";
_root.window.mes = mes;
_root.window.doFunction = doFunction;
}
}
function setComment(pri, title, mes) {
trace((("_root.window=" + _root.window) + " pri=") + pri);
if ((pri == 1) || (_root.window == undefined)) {
trace("\u30E1\u30C3\u30BB\u30FC\u30B8\u30A6\u30A4\u30F3\u30C9\u30A6\u914D\u7F6E");
_root.attachMovie("window_mes_\u8AAC\u660E", "window", 10);
ta = _root.window;
ta._x = 275;
ta._y = 200;
ta.title = title;
ta.mes = mes;
}
}
function unm(pas) {
if ((pas.window == undefined) && (_root.window == undefined)) {
_root.attach(275, 200, 100, 100, 0, _root, "window_unm", "window", 10);
}
}
function backTitle() {
if ((pas.window == undefined) && (_root.window == undefined)) {
_root.attach(275, 200, 100, 100, 0, _root, "window_backTitle", "window", 10);
}
}
function setPrd(type, nextFr) {
_root.attachMovie(type, "prd", 2000);
_root.prd._x = 275;
_root.prd._y = 200;
_root.prd.nextFr = nextFr;
}
function firstSave(name, iconNo, shipType, shipName) {
trace("\u521D\u671F\u30BB\u30FC\u30D6\u5B9F\u884C");
trace(((("\u30C7\u30FC\u30BF=" + name) + iconNo) + shipType) + shipName);
so.data.charData = new Array();
so.data.charIcon = new Array();
so.data.shipData = new Array();
so.data.version = nowVersion;
so.data.charData = [null, name];
so.data.charIcon = [iconNo];
so.data.shipData = [shipType, shipName];
so.data.playerExp = 25;
so.data.money = 100;
so.data.skillAry = new Array();
so.data.skillAry = [0, 0, 0, 0, 0, 0, 0];
so.data.equipAry = new Array();
so.data.equipAry = [1, 21, 40];
so.data.weponAry = new Array();
so.data.weponAry = [99, 99, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
so.data.playCount = 0;
this.loadData();
}
function charDataSave(name, iconNo, shipType, shipName) {
so.data.version = nowVersion;
so.data.charData = [null, name];
so.data.charIcon = [iconNo];
so.data.shipData = [shipType, shipName];
so.data.playCount++;
}
function loadSaveData(n) {
trace(("\u30C7\u30FC\u30BF\u30ED\u30FC\u30C9 \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8" + n) + "\u3092\u751F\u6210\u3057\u307E\u3057\u305F\u3002");
so = SharedObject.getLocal(n);
}
function checkSaveData(n) {
if (so.data.version == undefined) {
var _local1 = false;
trace(n + "\u306E\u30BB\u30FC\u30D6\u30C7\u30FC\u30BF\u306F\u5B58\u5728\u3057\u307E\u305B\u3093");
} else {
var _local1 = true;
trace(n + "\u306E\u30BB\u30FC\u30D6\u30C7\u30FC\u30BF\u304C\u5B58\u5728");
}
trace("so.data.version=" + so.data.version);
return(_local1);
}
nowVersion = "a0.75";
_quality = "MEDIUM";
weponListAry = new Array();
i = 0;
while (i < 60) {
weponListAry[i] = new Array();
i++;
}
weponListAry[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
weponListAry[1] = ["15mm\u6A5F\u9283", 1, 0, 5, 80, 1, 100, 1000, 5, "efa_shot", "efa_amo1", null, 2, 1, 1000, "\u4E00\u767A\u306E\u5A01\u529B\u306F\u4F4E\u3044\u304C\u3001\u9AD8\u901F\u9023\u5C04\u304C\u53EF\u80FD\u3002\u7DCF\u5408\u7684\u306A\uFF8A\uFF9E\uFF97\uFF9D\uFF7D\u306B\u512A\u308C\u3001\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[2] = ["15mm\u9023\u88C5\u6A5F\u9283", 1, 0, 10, 80, 2, 100, 1500, 6.7, "efa_shot2", "efa_amo2", null, 4, 2, 2500, "\u9023\u88C5\u3068\u306A\u308A\u706B\u529B\u304C\u5411\u4E0A\u3002\u305F\u3060\u3057\u5F3E\u85AC\u6D88\u8CBB\u304C\u6FC0\u3057\u304F\u3001\u5F3E\u5207\u308C\u3057\u6613\u3044\u3002\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[3] = ["20mm\u6A5F\u9283", 1, 0, 8, 70, 1, 120, 1200, 5.6, "efa_shot", "efa_amo1", null, 3, 3, 4000, "\u4E00\u767A\u306E\u5A01\u529B\u306F\u4F4E\u3044\u304C\u3001\u9AD8\u901F\u9023\u5C04\u304C\u53EF\u80FD\u3002\u7DCF\u5408\u7684\u306A\uFF8A\uFF9E\uFF97\uFF9D\uFF7D\u306B\u512A\u308C\u3001\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[4] = ["20mm\u9023\u88C5\u6A5F\u9283", 1, 0, 16, 70, 1, 120, 1700, 7.8, "efa_shot2", "efa_amo2", null, 6, 4, 6000, "\u9023\u88C5\u3068\u306A\u308A\u706B\u529B\u304C\u5411\u4E0A\u3002\u305F\u3060\u3057\u5F3E\u85AC\u6D88\u8CBB\u304C\u6FC0\u3057\u304F\u3001\u5F3E\u5207\u308C\u3057\u6613\u3044\u3002\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[5] = ["30mm\u6A5F\u9283", 1, 0, 14, 60, 1, 140, 1500, 6.7, "efa_shot", "efa_amo1", null, 4, 5, 10000, "\u4E00\u767A\u306E\u5A01\u529B\u306F\u4F4E\u3044\u304C\u3001\u9AD8\u901F\u9023\u5C04\u304C\u53EF\u80FD\u3002\u7DCF\u5408\u7684\u306A\uFF8A\uFF9E\uFF97\uFF9D\uFF7D\u306B\u512A\u308C\u3001\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[6] = ["30mm\u9023\u88C5\u6A5F\u9283", 1, 0, 28, 60, 1, 140, 2000, 10, "efa_shot2", "efa_amo2", null, 8, 6, 15000, "\u9023\u88C5\u3068\u306A\u308A\u706B\u529B\u304C\u5411\u4E0A\u3002\u305F\u3060\u3057\u5F3E\u85AC\u6D88\u8CBB\u304C\u6FC0\u3057\u304F\u3001\u5F3E\u5207\u308C\u3057\u6613\u3044\u3002\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[7] = ["20mm\u6A5F\u95A2\u7832(\u70B8)", 1, 1, 10, 20, 1, 200, 3000, 1.7, "efa_shot", "efa_amo1", "efa_fireBomb1", 6, 9, 30000, "\u70B8\u88C2\u5F3E\u3092\u9023\u5C04\u3067\u304D\u308B\u5F37\u529B\u306A\u6A5F\u95A2\u7832\u3001\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[8] = null;
weponListAry[9] = null;
weponListAry[10] = null;
weponListAry[11] = null;
weponListAry[12] = null;
weponListAry[13] = null;
weponListAry[14] = null;
weponListAry[15] = null;
weponListAry[16] = null;
weponListAry[17] = null;
weponListAry[18] = null;
weponListAry[19] = null;
weponListAry[20] = ["40mm\u5BFE\u7A7A\u7832", 2, 0, 30, 10, 1, 500, 1000, 6, "efa_gun1", null, null, 3, 2, 2000, "\u5C0F\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u305D\u3053\u305D\u3053\u306E\u5A01\u529B\u3092\u6301\u3061\u3001\u901F\u5C04\u304C\u53EF\u80FD\u3002\u5C0F\u578B\u8266\u3084\u91CD\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[21] = ["40mm\u5BFE\u7A7A\u7832(\u70B8)", 2, 1, 10, 5, 1, 800, 2000, 0.6, "efa_shot(88mm)", null, "efa_fireBomb1", 5, 3, 4000, "\u7BC4\u56F2\u653B\u6483\u304C\u53EF\u80FD\u306A\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[22] = ["40mm\u9023\u88C5\u5BFE\u7A7A\u7832", 2, 0, 60, 10, 2, 500, 1500, 8, "efa_shot(88mm)", null, null, 6, 4, 8000, "\u9023\u88C5\u7832\u3002\u4E00\u5C04\u6483\u306E\u5A01\u529B\u304C\u5927\u5E45\u306B\u5411\u4E0A\u3057\u305F\u304C\u3001\u5F3E\u85AC\u6D88\u8CBB\u3082\u6FC0\u3057\u304F\u306A\u3063\u305F\u3002"];
weponListAry[23] = ["75mm\u5BFE\u7A7A\u7832", 2, 0, 60, 10, 1, 700, 1200, 7.1, "efa_gun1", null, null, 5, 5, 7000, "\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u5341\u5206\u306A\u5A01\u529B\u3092\u6301\u3061\u3001\u901F\u5C04\u304C\u53EF\u80FD\u3002\u5C0F\u578B\u8266\u3084\u91CD\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[24] = ["75mm\u5BFE\u7A7A\u7832(\u70B8)", 2, 1, 25, 5, 1, 1000, 2200, 1.1, "efa_shot(88mm)", null, "efa_fireBomb1", 7, 6, 14000, "\u7BC4\u56F2\u653B\u6483\u304C\u53EF\u80FD\u306A\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[25] = ["75mm\u9023\u88C5\u5BFE\u7A7A\u7832", 2, 0, 180, 10, 2, 700, 1700, 15.1, "efa_shot(88mm)", null, null, 10, 7, 28000, "\u9023\u88C5\u7832\u3002\u4E00\u5C04\u6483\u306E\u5A01\u529B\u304C\u5927\u5E45\u306B\u5411\u4E0A\u3057\u305F\u304C\u3001\u5F3E\u85AC\u6D88\u8CBB\u3082\u6FC0\u3057\u304F\u306A\u3063\u305F\u3002"];
weponListAry[26] = ["88mm\u5BFE\u7A7A\u7832", 2, 0, 140, 10, 1, 900, 1500, 10.4, "efa_gun1", null, null, 7, 8, 12000, "\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u305D\u3053\u305D\u3053\u306E\u5A01\u529B\u3092\u6301\u3061\u3001\u901F\u5C04\u304C\u53EF\u80FD\u3002\u5C0F\u578B\u8266\u3084\u91CD\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[27] = ["88mm\u5BFE\u7A7A\u7832(\u70B8)", 2, 1, 50, 5, 1, 1200, 2500, 1.7, "efa_shot(88mm)", null, "efa_fireBomb1", 9, 9, 24000, "\u7BC4\u56F2\u653B\u6483\u304C\u53EF\u80FD\u306A\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[28] = ["88mm\u9023\u88C5\u5BFE\u7A7A\u7832", 2, 0, 280, 10, 2, 900, 2000, 15.6, "efa_shot(88mm)", null, null, 14, 10, 48000, "\u9023\u88C5\u7832\u3002\u4E00\u5C04\u6483\u306E\u5A01\u529B\u304C\u5927\u5E45\u306B\u5411\u4E0A\u3057\u305F\u304C\u3001\u5F3E\u85AC\u6D88\u8CBB\u3082\u6FC0\u3057\u304F\u306A\u3063\u305F\u3002"];
weponListAry[29] = ["120mm\u5BFE\u7A7A\u7832", 2, 0, 240, 10, 1, 1200, 1900, 10.5, "efa_gun1", null, null, 11, 11, 25000, "\u5927\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u305D\u3053\u305D\u3053\u306E\u5A01\u529B\u3092\u6301\u3061\u3001\u901F\u5C04\u304C\u53EF\u80FD\u3002\u5C0F\u578B\u8266\u3084\u91CD\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[30] = ["120mm\u5BFE\u7A7A\u7832(\u70B8)", 2, 1, 80, 5, 1, 1500, 3000, 1.8, "efa_shot(88mm)", null, "efa_fireBomb1", 13, 12, 50000, "\u7BC4\u56F2\u653B\u6483\u304C\u53EF\u80FD\u306A\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[31] = ["120mm\u9023\u88C5\u5BFE\u7A7A\u7832", 2, 0, 480, 10, 2, 1200, 2500, 16, "efa_shot(88mm)", null, null, 22, 13, 100000, "\u9023\u88C5\u7832\u3002\u4E00\u5C04\u6483\u306E\u5A01\u529B\u304C\u5927\u5E45\u306B\u5411\u4E0A\u3057\u305F\u304C\u3001\u5F3E\u85AC\u6D88\u8CBB\u3082\u6FC0\u3057\u304F\u306A\u3063\u305F\u3002"];
weponListAry[32] = ["210mm\u5BFE\u7A7A\u7832", 2, 0, 700, 5, 1, 1500, 4000, 11.7, "efa_gun1", null, null, 18, 15, 120000, "\u8D85\u5927\u578B\u5BFE\u7A7A\u7832\u3002\u51C4\u307E\u3058\u3044\u5A01\u529B\u3092\u6301\u3061\u3001\u5927\u578B\u6226\u8266\u306E\u88C5\u7532\u3082\u5BB9\u6613\u304F\u8CAB\u901A\u3059\u308B\u3002"];
weponListAry[33] = null;
weponListAry[34] = null;
weponListAry[35] = null;
weponListAry[36] = null;
weponListAry[37] = null;
weponListAry[38] = null;
weponListAry[39] = null;
weponListAry[40] = ["280mm\u5BFE\u8266\u9B5A\u96F7", 3, 0, 250, 2, 1, 1000, 2500, 10, "efa_rocket1", null, null, 5, 3, 5000, "\u7D76\u5927\u306A\u5A01\u529B\u3092\u8A87\u308B\u5BFE\u8266\u9B5A\u96F7\u3002\u8266\u8247\u306B\u5BFE\u3057\u3066\u6709\u52B9\u3002"];
weponListAry[41] = ["350mm\u5BFE\u8266\u9B5A\u96F7", 3, 0, 380, 2, 1, 1200, 2800, 11.3, "efa_rocket1", null, null, 9, 6, 18000, "\u7D76\u5927\u306A\u5A01\u529B\u3092\u8A87\u308B\u5BFE\u8266\u9B5A\u96F7\u3002\u8266\u8247\u306B\u5BFE\u3057\u3066\u6709\u52B9\u3002"];
weponListAry[42] = ["420mm\u5BFE\u8266\u9B5A\u96F7", 3, 0, 620, 2, 1, 1500, 3100, 13.3, "efa_rocket1", null, null, 14, 10, 40000, "\u7D76\u5927\u306A\u5A01\u529B\u3092\u8A87\u308B\u5BFE\u8266\u9B5A\u96F7\u3002\u8266\u8247\u306B\u5BFE\u3057\u3066\u6709\u52B9\u3002"];
weponListAry[43] = ["500mm\u5BFE\u8266\u9B5A\u96F7", 3, 0, 1100, 2, 1, 2000, 5000, 11, "efa_rocket1", null, null, 20, 14, 110000, "\u7D76\u5927\u306A\u5A01\u529B\u3092\u8A87\u308B\u5BFE\u8266\u9B5A\u96F7\u3002\u8266\u8247\u306B\u5BFE\u3057\u3066\u6709\u52B9\u3002"];
weponListAry[44] = null;
weponListAry[45] = ["280mm\u5BFE\u7A7A\u7206\u96F7", 3, 1, 40, 1, 1, 3000, 5000, 0.3, "efa_rocket2", null, "efa_fireBombSP", 7, 4, 20000, "\u975E\u5E38\u306B\u5E83\u3044\u52A0\u5BB3\u7BC4\u56F2\u3092\u6301\u3064\u4E0A\u306B\u3001\u591A\u6BB5\u547D\u4E2D\u3059\u308B\u9AD8\u6027\u80FD\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3002"];
weponListAry[46] = ["350mm\u5BFE\u7A7A\u7206\u96F7", 3, 1, 65, 1, 1, 4000, 6000, 0.3, "efa_rocket2", null, "efa_fireBombSP", 11, 7, 40000, "\u975E\u5E38\u306B\u5E83\u3044\u52A0\u5BB3\u7BC4\u56F2\u3092\u6301\u3064\u4E0A\u306B\u3001\u591A\u6BB5\u547D\u4E2D\u3059\u308B\u9AD8\u6027\u80FD\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3002"];
weponListAry[47] = ["420mm\u5BFE\u7A7A\u7206\u96F7", 3, 1, 100, 1, 1, 5000, 7000, 0.3, "efa_rocket2", null, "efa_fireBombSP", 16, 11, 76000, "\u975E\u5E38\u306B\u5E83\u3044\u52A0\u5BB3\u7BC4\u56F2\u3092\u6301\u3064\u4E0A\u306B\u3001\u591A\u6BB5\u547D\u4E2D\u3059\u308B\u9AD8\u6027\u80FD\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3002"];
weponListAry[48] = ["500mm\u5BFE\u7A7A\u7206\u96F7", 3, 1, 140, 1, 1, 6000, 8000, 0.3, "efa_rocket2", null, "efa_fireBombSP", 22, 15, 140000, "\u975E\u5E38\u306B\u5E83\u3044\u52A0\u5BB3\u7BC4\u56F2\u3092\u6301\u3064\u4E0A\u306B\u3001\u591A\u6BB5\u547D\u4E2D\u3059\u308B\u9AD8\u6027\u80FD\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3002"];
weponListAry[49] = null;
weponListAry[50] = ["70mm10\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84", 3, 0, 50, 10, 1, 200, 4000, 6.3, "efa_miniRocket", null, null, 7, 6, 18000, "\u9AD8\u5A01\u529B\u306E\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[51] = ["70mm10\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84(\u70B8)", 3, 1, 20, 10, 1, 200, 5500, 1.8, "efa_miniRocketExt", null, "efa_fireBomb1", 9, 8, 32000, "\u7BC4\u56F2\u653B\u6483\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[52] = ["70mm20\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84", 3, 0, 50, 20, 1, 200, 6000, 4.2, "efa_miniRocket", null, null, 15, 9, 36000, "\u9AD8\u5A01\u529B\u306E\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[53] = ["120mm10\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84", 3, 0, 120, 10, 1, 200, 5000, 12, "efa_miniRocket", null, null, 11, 8, 40000, "\u9AD8\u5A01\u529B\u306E\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[54] = ["120mm10\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84(\u70B8)", 3, 1, 40, 10, 1, 200, 6500, 3.1, "efa_miniRocketExt", null, "efa_fireBomb1", 13, 10, 70000, "\u7BC4\u56F2\u653B\u6483\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[55] = ["120mm20\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84", 3, 0, 120, 20, 1, 200, 7000, 8.6, "efa_miniRocket", null, null, 22, 11, 80000, "\u9AD8\u5A01\u529B\u306E\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[56] = null;
weponListAry[57] = null;
weponListAry[58] = null;
weponListAry[59] = null;
weponListAry[60] = null;
shipListAry = new Array();
i = 0;
while (i < 3) {
shipListAry[i] = new Array();
i++;
}
shipListAry[1] = ["\u9727\u5CF6\u578B\u6383\u7A7A\u8247", 1, 1, 500, 5, 10, 5, 12, 0, 0, 0, 1, 30000, "\u5BFE\u822A\u7A7A\u6A5F\u7528\u5C0F\u578B\u8266\u8247\u3002\uFF7A\uFF7D\uFF84\uFF8A\uFF9F\uFF8C\uFF6B\uFF70\uFF8F\uFF9D\uFF7D\u306B\u512A\u308C\u3066\u304A\u308A\u3001\u5927\u91CF\u751F\u7523\u3055\u308C\u305F\u3002"];
shipListAry[2] = ["3\u53F7\u578B\u99C6\u9010\u8247", 2, 2, 630, 6, 8, 4, 16, 0, 0, 0, 2, 5000, "\u6E21\u6708\u822A\u7A7A\u57FA\u5730\u306E\u9685\u306B\u57C3\u3092\u304B\u3076\u3063\u3066\u4FC2\u7559\u3055\u308C\u3066\u3044\u305F\u3002\u65E7\u5F0F\u3060\u304C\u30FB\u30FB\u30FB\u3002"];
this.createShipObject(1);
needPoint_list = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, "-"];
deep = 50;
so = SharedObject.getLocal("danmakuSave1");
if ((so.data.playCount != 0) && (so.data.playCount != undefined)) {
trace("\u30BB\u30FC\u30D6\u30C7\u30FC\u30BF\u304C\u5B58\u5728\u3057\u307E\u3059\u3002");
this.buttans.ff = false;
ver = so.data.version;
} else {
trace("\u30BB\u30FC\u30D6\u30C7\u30FC\u30BF\u304C\u5B58\u5728\u3057\u307E\u305B\u3093\u3002");
this.buttans.btn_load._visible = false;
this.buttans.btn_load.enabled = false;
this.buttans.ff = true;
}
this.loadData();
this.stop();
Frame 71
_root.bgmBox.bgmPlay("training1");
this.stop();
Frame 80
function getAryData(aryName, aryNo, no) {
if (aryNo == 0) {
return("\u6B66\u88C5\u306A\u3057");
}
return(this[aryName][aryNo][no]);
}
weponData = new Array();
weponData[101] = [1, "15mm\u6A5F\u95A2\u9283"];
shipTypeData = new Array();
shipTypeData[1] = [1, "\u9727\u5CF6\u578B\u6383\u7A7A\u8247"];
Symbol 25 MovieClip [dis_緊急回避] Frame 72
this.removeMovieClip();
Symbol 31 MovieClip [dis_直撃] Frame 35
this.removeMovieClip();
Symbol 37 MovieClip Frame 8
this.stop();
Symbol 42 MovieClip [scene_title_airc] Frame 1
function drowLine(target, atcName, x, y, ox, oy) {
var _local2 = _parent.getDeep();
target.attachMovie(atcName, _local2, _local2);
target[_local2]._x = x;
target[_local2]._y = y;
target[_local2]._xscale = x - ox;
target[_local2]._yscale = y - oy;
}
function hit() {
this.play();
}
ox = _x;
oy = _y;
this.onEnterFrame = function () {
ox = _x;
oy = _y;
_x = (_x + sx);
_y = (_y + sy);
if (_x > 320) {
this.removeMovieClip();
}
};
this.stop();
Symbol 42 MovieClip [scene_title_airc] Frame 12
this.removeMovieClip();
Symbol 48 MovieClip Frame 1
t = "t" + _parent.vType;
this.gotoAndStop(t);
delete t;
this.stop();
Symbol 50 MovieClip Frame 1
_visible = false;
Symbol 56 MovieClip Frame 1
_xscale = ((Math.random() * 100) + 100);
_rotation = (Math.random() * 360);
Symbol 56 MovieClip Frame 22
_parent._parent.attack(_parent._name);
Symbol 56 MovieClip Frame 23
this.stop();
Symbol 67 MovieClip Frame 2
this.stop();
Symbol 67 MovieClip Frame 46
this.gotoAndStop(2);
Symbol 68 MovieClip [s_miniGame_airc] Frame 2
function setUpEnemy(gHp, gDef, gScore, gsx, gsy) {
hp = gHp;
def = gDef;
score = gScore;
sx = gsx;
sy = gsy;
trace((((((("\u25A0\u6575\u914D\u7F6E name=" + _name) + " hp=") + hp) + " sx=") + sx) + " sy=") + sy);
if (sx > 0) {
ex = 1;
} else {
ex = -1;
}
vType = Math.ceil(Math.random() * 2);
attackX = (-150 - (_global.gameLv * 5)) + (Math.random() * 100);
_root.game.addList("enemyList", _name);
}
function setWepon(ap, wait, hit, dmg, type, cnt) {
trace((((((("-\u6B66\u88C5\u5B9A\u7FA9 ap=" + ap) + " dmg=") + dmg) + " hit=") + hit) + " wait=") + wait);
attackAry[ap] = new Array();
attackAry[ap][0] = hit;
attackAry[ap][1] = dmg;
attackAry[ap][2] = type;
attackAry[ap][4] = cnt;
if (wait == "auto") {
var _local3 = ((((700 / Math.abs(sx)) / 30) / 2) * 1000) + 200;
trace("tmx=" + _local3);
attackAry[ap][3] = _local3;
} else {
attackAry[ap][3] = wait;
}
attackAry[ap][5] = setInterval(attackExe, attackAry[ap][3], ap, this);
trace("id=" + attackAry[ap][5]);
}
function attackExe(ap, ta) {
if (ta.attackAry[ap][4] > 0) {
ta[ap].play();
ta.attackAry[ap][4]--;
} else {
clearInterval(ta.attackAry[ap][5]);
}
}
function attack(ap) {
_root.game.damage(attackAry[ap][0], attackAry[ap][1], attackAry[ap][2]);
}
function hit(dmg) {
var _local4 = dmg - def;
if (_local4 < 2) {
hp = hp - 1;
var _local5 = "nhm" + Math.round(Math.random() * 4);
trace("\u306F\u3058\u304B\u308C\u307E\u3057\u305F=" + _local5);
see.attachSound(_local5);
see.start(0, 1);
} else {
hp = hp - _local4;
var _local5 = "hm" + Math.round(Math.random() * 6);
see.attachSound(_local5);
see.start(0, 1);
}
trace("\u547D\u4E2D hp=" + hp);
if (aMode == 2) {
if (hp <= 0) {
hp = 0;
aMode = 1;
var _local3 = 0;
while (_local3 < attackAry.length) {
clearInterval(attackAry[_local3][5]);
_local3++;
}
_root.game.addScore(score);
_root.game.enemyDown();
_root.game.attach(this._x, this._y, Math.abs(this._xscale), this._yscale, 0, 0, 0, _root.game, "atc_down1", null, null);
this.gotoAndPlay("bomb");
}
_root.game.setDownPer(true);
_root.game.attach(this._x, this._y, this._xscale, this._yscale, 0, 0, 0, _root.game, "efa_bomb2", null, null);
hit.swDeep = _root.game.getDeep();
} else if (aMode == 1) {
wsNo++;
_root.game.addScore(score * socreExtAry[wsNo]);
if (wsNo < 3) {
_root.game.attach(this._x, this._y, this._xscale, Math.abs(this._xscale), 0, 0, 0, _root.game, "atc_ws" + wsNo, null, hit.swDeep);
_root.game.attach(this._x, this._y, this._xscale, this._yscale, 0, 0, 0, _root.game, "efa_bomb2", null, null);
} else {
_root.game.attach(this._x, this._y, this._xscale, Math.abs(this._xscale), 0, 0, 0, _root.game, "atc_ws" + wsNo, null, hit.swDeep);
_root.game.attach(this._x, this._y, this._xscale, this._yscale, 0, 0, 0, _root.game, "efa_bomb1", null, null);
this.destroy();
}
}
}
function movement() {
this._x = this._x + sx;
this._y = this._y + sy;
if ((this._x > 320) || (this._y > 20)) {
if (aMode == 2) {
_root.game.enemyNo--;
_root.game.setDownPer(false);
}
this.destroy();
}
}
function destroy() {
_root.game.delList("enemyList", this._name);
this.removeMovieClip();
}
see = new Sound();
attackAry = new Array();
wsNo = 0;
aMode = 2;
socreExtAry = [1, 2, 3, 4];
this.setUpEnemy(8, 0, 500, sx, sy);
this.setWepon(0, "auto", 70, 15, 1, 1);
Symbol 68 MovieClip [s_miniGame_airc] Frame 3
wait = 1000;
zeroT = getTimer() + wait;
this.onEnterFrame = function () {
if (getTimer() > zeroT) {
delete wait;
delete zeroT;
this.gotoAndStop(4);
}
};
Symbol 68 MovieClip [s_miniGame_airc] Frame 4
this.onEnterFrame = function () {
this.movement();
};
this.stop();
Symbol 68 MovieClip [s_miniGame_airc] Frame 5
i = 0;
sx = sx / 2;
this.onEnterFrame = function () {
sx = sx * 0.98;
sy = sy + 0.03;
i++;
if (i > 3) {
_root.game.attach(_x, _y, _xscale, _yscale, 0, 0, 0, _root.game, "efa_smoke1", null, null);
i = 0;
}
this.movement();
};
Symbol 68 MovieClip [s_miniGame_airc] Frame 43
this.stop();
Symbol 69 MovieClip [efa_flashMotion_short] Frame 8
this.stop();
Symbol 76 MovieClip [efa_bomb1] Frame 11
this.removeMovieClip();
this.stop();
Symbol 77 MovieClip [targetScope3] Frame 1
function gameover() {
_name = null;
this.gotoAndPlay("gameover");
}
Symbol 77 MovieClip [targetScope3] Frame 12
this.gotoAndPlay(2);
Symbol 77 MovieClip [targetScope3] Frame 15
deep = 0;
x = 12;
ry = 2;
y = 6;
downExtx = 0.98;
downExty = 0.2;
Instance of Symbol 73 MovieClip in Symbol 77 MovieClip [targetScope3] Frame 16
onClipEvent (load) {
sx = (Math.random() * _parent.x) - (_parent.x / 2);
sy = ((-Math.random()) * _parent.ry) - _parent.y;
i = 0;
}
onClipEvent (enterFrame) {
sx = sx * _parent.downExtx;
sy = sy + _parent.downExty;
_x = (_x + sx);
_y = (_y + sy);
i++;
this._xscale = this._xscale + 2;
this._yscale = this._yscale + 2;
if (i > 3) {
d = _parent.deep;
_parent.attachMovie("efa_smoke2", d, d);
_parent[d]._x = this._x;
_parent[d]._y = this._y;
_parent[d]._xscale = this._xscale - 50;
_parent[d]._yscale = this._yscale - 50;
_parent.deep++;
i = 0;
}
}
Symbol 77 MovieClip [targetScope3] Frame 65
_root.game.gameEnd();
this.stop();
Symbol 83 MovieClip [targetScope2] Frame 1
function gameover() {
_name = null;
this.gotoAndPlay("gameover");
}
Symbol 83 MovieClip [targetScope2] Frame 12
this.gotoAndPlay(2);
Symbol 83 MovieClip [targetScope2] Frame 15
deep = 0;
x = 12;
ry = 2;
y = 6;
downExtx = 0.98;
downExty = 0.2;
Instance of Symbol 73 MovieClip in Symbol 83 MovieClip [targetScope2] Frame 16
onClipEvent (load) {
sx = (Math.random() * _parent.x) - (_parent.x / 2);
sy = ((-Math.random()) * _parent.ry) - _parent.y;
i = 0;
}
onClipEvent (enterFrame) {
sx = sx * _parent.downExtx;
sy = sy + _parent.downExty;
_x = (_x + sx);
_y = (_y + sy);
i++;
this._xscale = this._xscale + 2;
this._yscale = this._yscale + 2;
if (i > 3) {
d = _parent.deep;
_parent.attachMovie("efa_smoke2", d, d);
_parent[d]._x = this._x;
_parent[d]._y = this._y;
_parent[d]._xscale = this._xscale - 50;
_parent[d]._yscale = this._yscale - 50;
_parent.deep++;
i = 0;
}
}
Instance of Symbol 73 MovieClip in Symbol 83 MovieClip [targetScope2] Frame 16
onClipEvent (load) {
sx = (Math.random() * _parent.x) - (_parent.x / 2);
sy = ((-Math.random()) * _parent.ry) - _parent.y;
i = 0;
}
onClipEvent (enterFrame) {
sx = sx * _parent.downExtx;
sy = sy + _parent.downExty;
_x = (_x + sx);
_y = (_y + sy);
i++;
this._xscale = this._xscale + 2;
this._yscale = this._yscale + 2;
if (i > 3) {
d = _parent.deep;
_parent.attachMovie("efa_smoke2", d, d);
_parent[d]._x = this._x;
_parent[d]._y = this._y;
_parent[d]._xscale = this._xscale - 50;
_parent[d]._yscale = this._yscale - 50;
_parent.deep++;
i = 0;
}
}
Instance of Symbol 82 MovieClip in Symbol 83 MovieClip [targetScope2] Frame 16
onClipEvent (load) {
sx = (Math.random() * _parent.x) - (_parent.x / 2);
sy = ((-Math.random()) * _parent.ry) - _parent.y;
i = 0;
}
onClipEvent (enterFrame) {
sx = sx * _parent.downExtx;
sy = sy + _parent.downExty;
_x = (_x + sx);
_y = (_y + sy);
i++;
this._xscale = this._xscale + 2;
this._yscale = this._yscale + 2;
if (i > 3) {
d = _parent.deep;
_parent.attachMovie("efa_smoke2", d, d);
_parent[d]._x = this._x;
_parent[d]._y = this._y;
_parent[d]._xscale = this._xscale - 50;
_parent[d]._yscale = this._yscale - 50;
_parent.deep++;
i = 0;
}
}
Symbol 83 MovieClip [targetScope2] Frame 65
_root.game.gameEnd();
this.stop();
Symbol 85 MovieClip [targetScope] Frame 1
function gameover() {
_name = null;
this.gotoAndPlay("gameover");
}
Symbol 85 MovieClip [targetScope] Frame 12
this.gotoAndPlay(2);
Symbol 85 MovieClip [targetScope] Frame 15
deep = 0;
x = 12;
ry = 2;
y = 6;
downExtx = 0.98;
downExty = 0.2;
Instance of Symbol 73 MovieClip in Symbol 85 MovieClip [targetScope] Frame 16
onClipEvent (load) {
sx = (Math.random() * _parent.x) - (_parent.x / 2);
sy = ((-Math.random()) * _parent.ry) - _parent.y;
i = 0;
}
onClipEvent (enterFrame) {
sx = sx * _parent.downExtx;
sy = sy + _parent.downExty;
_x = (_x + sx);
_y = (_y + sy);
i++;
this._xscale = this._xscale + 2;
this._yscale = this._yscale + 2;
if (i > 3) {
d = _parent.deep;
_parent.attachMovie("efa_smoke2", d, d);
_parent[d]._x = this._x;
_parent[d]._y = this._y;
_parent[d]._xscale = this._xscale - 50;
_parent[d]._yscale = this._yscale - 50;
_parent.deep++;
i = 0;
}
}
Instance of Symbol 73 MovieClip in Symbol 85 MovieClip [targetScope] Frame 16
onClipEvent (load) {
sx = (Math.random() * _parent.x) - (_parent.x / 2);
sy = ((-Math.random()) * _parent.ry) - _parent.y;
i = 0;
}
onClipEvent (enterFrame) {
sx = sx * _parent.downExtx;
sy = sy + _parent.downExty;
_x = (_x + sx);
_y = (_y + sy);
i++;
this._xscale = this._xscale + 2;
this._yscale = this._yscale + 2;
if (i > 3) {
d = _parent.deep;
_parent.attachMovie("efa_smoke2", d, d);
_parent[d]._x = this._x;
_parent[d]._y = this._y;
_parent[d]._xscale = this._xscale - 50;
_parent[d]._yscale = this._yscale - 50;
_parent.deep++;
i = 0;
}
}
Symbol 85 MovieClip [targetScope] Frame 65
_root.game.gameEnd();
this.stop();
Symbol 95 MovieClip [nav_ENEMY_l] Frame 21
this.removeMovieClip();
Symbol 96 MovieClip [efa_smoke2] Frame 20
this.removeMovieClip();
this.stop();
Symbol 97 MovieClip [efa_smoke1] Frame 10
this.removeMovieClip();
Symbol 99 MovieClip [efa_bomb2] Frame 11
this.removeMovieClip();
Symbol 100 MovieClip [efa_bomb4] Frame 11
this.removeMovieClip();
this.stop();
Symbol 109 MovieClip [atc_ws3] Frame 20
this.removeMovieClip();
Symbol 112 MovieClip Frame 1
no = _parent.no;
Symbol 118 MovieClip Frame 1
score = _parent.score;
Symbol 119 MovieClip [atc_hit] Frame 26
this.removeMovieClip();
Symbol 122 MovieClip [atc_ws2] Frame 20
this.removeMovieClip();
Symbol 125 MovieClip [atc_ws1] Frame 20
this.removeMovieClip();
Symbol 129 MovieClip [atc_down1] Frame 30
this.removeMovieClip();
Symbol 147 Button
on (release) {
_root.gotoAndStop("hangar");
}
Symbol 150 MovieClip [dis_戦闘終了] Frame 2
score = _root.game.score;
Symbol 150 MovieClip [dis_戦闘終了] Frame 31
this.stop();
Symbol 155 MovieClip [efa_gun1] Frame 20
_root.game.hitCheck(_x, _y, wNo, _name);
Symbol 155 MovieClip [efa_gun1] Frame 23
this.removeMovieClip();
Symbol 156 MovieClip [efa_shot(88mm)] Frame 23
_root.game.priHitCheck(_x, _y, wNo, _name);
Symbol 156 MovieClip [efa_shot(88mm)] Frame 26
this.removeMovieClip();
Symbol 161 MovieClip [efa_shot2] Frame 14
_root.game.hitCheck(_x, _y, wNo, _name);
Symbol 161 MovieClip [efa_shot2] Frame 15
trace("\u5C04\u6483\u30DF\u30B9");
_root.game.noHitShot++;
this.removeMovieClip();
Symbol 162 MovieClip [efa_shot] Frame 14
_root.game.hitCheck(_x, _y, wNo, _name);
Symbol 162 MovieClip [efa_shot] Frame 15
trace("\u5C04\u6483\u30DF\u30B9");
_root.game.noHitShot++;
this.removeMovieClip();
Symbol 168 MovieClip [efa_amo2] Frame 1
_rotaton = _rotaton + (Math.random() * 30);
Symbol 168 MovieClip [efa_amo2] Frame 2
_x = (_x + ((Math.random() * 60) - 30));
Symbol 168 MovieClip [efa_amo2] Frame 7
this.removeMovieClip();
Symbol 170 MovieClip [efa_amo1] Frame 1
_rotaton = _rotaton + (Math.random() * 30);
Symbol 170 MovieClip [efa_amo1] Frame 2
_x = (_x + ((Math.random() * 60) - 30));
Symbol 170 MovieClip [efa_amo1] Frame 7
this.removeMovieClip();
Symbol 178 MovieClip [efa_fireBombSP] Frame 3
_root.game.hitCheckAny(this, wNo, _x, _y);
Symbol 178 MovieClip [efa_fireBombSP] Frame 5
_root.game.hitCheckAny(this, wNo, _x, _y);
Symbol 178 MovieClip [efa_fireBombSP] Frame 7
_root.game.hitCheckAny(this, wNo, _x, _y);
Symbol 178 MovieClip [efa_fireBombSP] Frame 9
_root.game.hitCheckAny(this, wNo, _x, _y);
Symbol 178 MovieClip [efa_fireBombSP] Frame 20
this.removeMovieClip();
this.stop();
Symbol 179 MovieClip [efa_fireBomb1] Frame 3
_root.game.hitCheckAny(this, wNo, _x, _y);
Symbol 179 MovieClip [efa_fireBomb1] Frame 13
this.removeMovieClip();
this.stop();
Symbol 220 Button
on (release) {
this.remove();
}
Symbol 228 MovieClip Frame 1
function setIcons(no) {
this.icon.attachMovie("icon" + no, "icon", 1);
}
this.gotoAndPlay(3);
Symbol 228 MovieClip Frame 2
this.stop();
Symbol 228 MovieClip Frame 6
this.setIcons(no);
Symbol 228 MovieClip Frame 16
this.gotoAndStop(2);
Symbol 231 MovieClip [ranking_window] Frame 2
function addKai(n) {
r = "";
if (n != 0) {
r = " \u6539" + n;
}
return(r);
}
function addNumDec(n) {
if (String(n).indexOf(".", 0) == -1) {
n = n + ".0";
}
return(n);
}
function remove() {
this.play();
}
ary = _parent.getData(Number(n));
score = ary[0];
hitPer = addNumDec(ary[1]);
downPer = addNumDec(ary[2]);
shipName = ary[4];
playerName = ary[13];
iconNo = ary[14];
shipType = _root.getAryData("shipTypeData", ary[3], 1) + addKai(ary[5]);
wn1 = _root.getAryData("weponData", ary[7], 1) + addKai(ary[8]);
wn2 = _root.getAryData("weponData", ary[9], 1) + addKai(ary[10]);
wn3 = _root.getAryData("weponData", ary[11], 1) + addKai(ary[12]);
if (ary[15] == "null") {
var r2 = "\u306A\u3057";
} else {
var r2 = ary[15];
}
comment = r2;
Instance of Symbol 228 MovieClip "icons" in Symbol 231 MovieClip [ranking_window] Frame 5
onClipEvent (load) {
no = _parent.iconNo;
}
Symbol 231 MovieClip [ranking_window] Frame 7
this.stop();
Symbol 231 MovieClip [ranking_window] Frame 10
this.removeMovieClip();
Symbol 236 MovieClip Frame 2
this.stop();
Symbol 236 MovieClip Frame 45
_parent.attack(_name);
Symbol 236 MovieClip Frame 60
this.gotoAndStop(2);
Symbol 237 MovieClip [enemyShip_巡洋艦] Frame 2
function setUpEnemy(gHp, gDef, gScore, gsx, gsy) {
hp = gHp;
def = gDef;
score = gScore;
sx = gsx;
sy = gsy;
trace((((((("\u25A0\u6575\u914D\u7F6E name=" + _name) + " hp=") + hp) + " sx=") + sx) + " sy=") + sy);
if (sx > 0) {
ex = 1;
} else {
ex = -1;
}
vType = Math.ceil(Math.random() * 2);
attackX = (-150 - (_global.gameLv * 5)) + (Math.random() * 100);
_root.game.addList("enemyList", _name);
}
function setWepon(ap, wait, hit, dmg, type, cnt) {
trace((((((("-\u6B66\u88C5\u5B9A\u7FA9 ap=" + ap) + " dmg=") + dmg) + " hit=") + hit) + " wait=") + wait);
attackAry[ap] = new Array();
attackAry[ap][0] = hit;
attackAry[ap][1] = dmg;
attackAry[ap][2] = type;
attackAry[ap][4] = cnt;
if (wait == "auto") {
var _local3 = ((((700 / Math.abs(sx)) / 30) / 2) * 1000) + 200;
trace("tmx=" + _local3);
attackAry[ap][3] = _local3;
} else {
attackAry[ap][3] = wait;
}
attackAry[ap][5] = setInterval(attackExe, attackAry[ap][3], ap, this);
trace("id=" + attackAry[ap][5]);
}
function attackExe(ap, ta) {
if (ta.attackAry[ap][4] > 0) {
ta[ap].play();
ta.attackAry[ap][4]--;
} else {
clearInterval(ta.attackAry[ap][5]);
}
}
function attack(ap) {
_root.game.damage(attackAry[ap][0], attackAry[ap][1], attackAry[ap][2]);
}
function hit(dmg) {
var _local4 = dmg - def;
if (_local4 < 2) {
hp = hp - 1;
var _local5 = "nhm" + Math.round(Math.random() * 4);
trace("\u306F\u3058\u304B\u308C\u307E\u3057\u305F=" + _local5);
see.attachSound(_local5);
see.start(0, 1);
} else {
hp = hp - _local4;
var _local5 = "hm" + Math.round(Math.random() * 6);
see.attachSound(_local5);
see.start(0, 1);
}
trace("\u547D\u4E2D hp=" + hp);
if (aMode == 2) {
if (hp <= 0) {
hp = 0;
aMode = 1;
var _local3 = 0;
while (_local3 < attackAry.length) {
clearInterval(attackAry[_local3][5]);
_local3++;
}
_root.game.addScore(score);
_root.game.enemyDown();
_root.game.attach(this._x, this._y, Math.abs(this._xscale), this._yscale, 0, 0, 0, _root.game, "atc_down1", null, null);
this.gotoAndPlay("bomb");
}
_root.game.setDownPer(true);
_root.game.attach(this._x, this._y, this._xscale, this._yscale, 0, 0, 0, _root.game, "efa_bomb2", null, null);
hit.swDeep = _root.game.getDeep();
} else if (aMode == 1) {
wsNo++;
_root.game.addScore(score * socreExtAry[wsNo]);
if (wsNo < 3) {
_root.game.attach(this._x, this._y, this._xscale, Math.abs(this._xscale), 0, 0, 0, _root.game, "atc_ws" + wsNo, null, hit.swDeep);
_root.game.attach(this._x, this._y, this._xscale, this._yscale, 0, 0, 0, _root.game, "efa_bomb2", null, null);
} else {
_root.game.attach(this._x, this._y, this._xscale, Math.abs(this._xscale), 0, 0, 0, _root.game, "atc_ws" + wsNo, null, hit.swDeep);
_root.game.attach(this._x, this._y, this._xscale, this._yscale, 0, 0, 0, _root.game, "efa_bomb1", null, null);
this.destroy();
}
}
}
function movement() {
this._x = this._x + sx;
this._y = this._y + sy;
if ((this._x > 320) || (this._y > 20)) {
if (aMode == 2) {
_root.game.enemyNo--;
_root.game.setDownPer(false);
}
this.destroy();
}
}
function destroy() {
_root.game.delList("enemyList", this._name);
this.removeMovieClip();
}
see = new Sound();
attackAry = new Array();
wsNo = 0;
aMode = 2;
socreExtAry = [1, 2, 3, 4];
this.setUpEnemy(1800, 12, 5000, sx, sy);
this.setWepon(0, 2000, 60, 25, 1, 999);
this.setWepon(1, 2000, 60, 25, 1, 999);
this.setWepon(2, 4000, 50, 110, 1, 999);
Symbol 237 MovieClip [enemyShip_巡洋艦] Frame 3
wait = 1000;
zeroT = getTimer() + wait;
this.onEnterFrame = function () {
if (getTimer() > zeroT) {
delete wait;
delete zeroT;
this.gotoAndStop(4);
}
};
Symbol 237 MovieClip [enemyShip_巡洋艦] Frame 4
this.onEnterFrame = function () {
this.movement();
};
this.stop();
Symbol 237 MovieClip [enemyShip_巡洋艦] Frame 5
i = 0;
sx = sx / 2;
this.onEnterFrame = function () {
sx = sx * 0.98;
sy = sy + 0.01;
i++;
if (i > 3) {
_root.game.attach(_x, _y, _xscale, _yscale, 0, 0, 0, _root.game, "efa_smoke1", null, null);
i = 0;
}
this.movement();
};
Symbol 237 MovieClip [enemyShip_巡洋艦] Frame 98
this.stop();
Symbol 240 MovieClip [enemyShip_駆逐艇1] Frame 2
function setUpEnemy(gHp, gDef, gScore, gsx, gsy) {
hp = gHp;
def = gDef;
score = gScore;
sx = gsx;
sy = gsy;
trace((((((("\u25A0\u6575\u914D\u7F6E name=" + _name) + " hp=") + hp) + " sx=") + sx) + " sy=") + sy);
if (sx > 0) {
ex = 1;
} else {
ex = -1;
}
vType = Math.ceil(Math.random() * 2);
attackX = (-150 - (_global.gameLv * 5)) + (Math.random() * 100);
_root.game.addList("enemyList", _name);
}
function setWepon(ap, wait, hit, dmg, type, cnt) {
trace((((((("-\u6B66\u88C5\u5B9A\u7FA9 ap=" + ap) + " dmg=") + dmg) + " hit=") + hit) + " wait=") + wait);
attackAry[ap] = new Array();
attackAry[ap][0] = hit;
attackAry[ap][1] = dmg;
attackAry[ap][2] = type;
attackAry[ap][4] = cnt;
if (wait == "auto") {
var _local3 = ((((700 / Math.abs(sx)) / 30) / 2) * 1000) + 200;
trace("tmx=" + _local3);
attackAry[ap][3] = _local3;
} else {
attackAry[ap][3] = wait;
}
attackAry[ap][5] = setInterval(attackExe, attackAry[ap][3], ap, this);
trace("id=" + attackAry[ap][5]);
}
function attackExe(ap, ta) {
if (ta.attackAry[ap][4] > 0) {
ta[ap].play();
ta.attackAry[ap][4]--;
} else {
clearInterval(ta.attackAry[ap][5]);
}
}
function attack(ap) {
_root.game.damage(attackAry[ap][0], attackAry[ap][1], attackAry[ap][2]);
}
function hit(dmg) {
var _local4 = dmg - def;
if (_local4 < 2) {
hp = hp - 1;
var _local5 = "nhm" + Math.round(Math.random() * 4);
trace("\u306F\u3058\u304B\u308C\u307E\u3057\u305F=" + _local5);
see.attachSound(_local5);
see.start(0, 1);
} else {
hp = hp - _local4;
var _local5 = "hm" + Math.round(Math.random() * 6);
see.attachSound(_local5);
see.start(0, 1);
}
trace("\u547D\u4E2D hp=" + hp);
if (aMode == 2) {
if (hp <= 0) {
hp = 0;
aMode = 1;
var _local3 = 0;
while (_local3 < attackAry.length) {
clearInterval(attackAry[_local3][5]);
_local3++;
}
_root.game.addScore(score);
_root.game.enemyDown();
_root.game.attach(this._x, this._y, Math.abs(this._xscale), this._yscale, 0, 0, 0, _root.game, "atc_down1", null, null);
this.gotoAndPlay("bomb");
}
_root.game.setDownPer(true);
_root.game.attach(this._x, this._y, this._xscale, this._yscale, 0, 0, 0, _root.game, "efa_bomb2", null, null);
hit.swDeep = _root.game.getDeep();
} else if (aMode == 1) {
wsNo++;
_root.game.addScore(score * socreExtAry[wsNo]);
if (wsNo < 3) {
_root.game.attach(this._x, this._y, this._xscale, Math.abs(this._xscale), 0, 0, 0, _root.game, "atc_ws" + wsNo, null, hit.swDeep);
_root.game.attach(this._x, this._y, this._xscale, this._yscale, 0, 0, 0, _root.game, "efa_bomb2", null, null);
} else {
_root.game.attach(this._x, this._y, this._xscale, Math.abs(this._xscale), 0, 0, 0, _root.game, "atc_ws" + wsNo, null, hit.swDeep);
_root.game.attach(this._x, this._y, this._xscale, this._yscale, 0, 0, 0, _root.game, "efa_bomb1", null, null);
this.destroy();
}
}
}
function movement() {
this._x = this._x + sx;
this._y = this._y + sy;
if ((this._x > 320) || (this._y > 20)) {
if (aMode == 2) {
_root.game.enemyNo--;
_root.game.setDownPer(false);
}
this.destroy();
}
}
function destroy() {
_root.game.delList("enemyList", this._name);
this.removeMovieClip();
}
see = new Sound();
attackAry = new Array();
wsNo = 0;
aMode = 2;
socreExtAry = [1, 2, 3, 4];
this.setUpEnemy(50, 7, 2000, sx, sy);
this.setWepon(0, 2000, 60, 20, 1, 999);
this.setWepon(1, 2000, 60, 20, 1, 999);
Symbol 240 MovieClip [enemyShip_駆逐艇1] Frame 3
wait = 1000;
zeroT = getTimer() + wait;
this.onEnterFrame = function () {
if (getTimer() > zeroT) {
delete wait;
delete zeroT;
this.gotoAndStop(4);
}
};
Symbol 240 MovieClip [enemyShip_駆逐艇1] Frame 4
this.onEnterFrame = function () {
this.movement();
};
this.stop();
Symbol 240 MovieClip [enemyShip_駆逐艇1] Frame 5
i = 0;
sx = sx / 2;
this.onEnterFrame = function () {
sx = sx * 0.98;
sy = sy + 0.01;
i++;
if (i > 3) {
_root.game.attach(_x, _y, _xscale, _yscale, 0, 0, 0, _root.game, "efa_smoke1", null, null);
i = 0;
}
this.movement();
};
Instance of Symbol 193 MovieClip in Symbol 240 MovieClip [enemyShip_駆逐艇1] Frame 5
onClipEvent (load) {
this.stop();
}
Instance of Symbol 191 MovieClip in Symbol 240 MovieClip [enemyShip_駆逐艇1] Frame 5
onClipEvent (load) {
this.stop();
}
Symbol 240 MovieClip [enemyShip_駆逐艇1] Frame 98
this.stop();
Symbol 250 MovieClip [window_unm] Frame 1
function remove() {
this.removeMovieClip();
}
trace("name=" + _name);
this.onMouseDown = function () {
this.play();
};
Symbol 250 MovieClip [window_unm] Frame 2
this.stop();
Symbol 250 MovieClip [window_unm] Frame 10
this.remove();
Symbol 261 MovieClip [window_mes_説明] Frame 1
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
Symbol 261 MovieClip [window_mes_説明] Frame 2
this.stop();
Symbol 261 MovieClip [window_mes_説明] Frame 6
this._visible = false;
_name = "non";
this.stop();
Symbol 263 MovieClip [window_message] Frame 1
i = 0;
this.onEnterFrame = function () {
i++;
if (i > 150) {
this.gotoAndPlay(3);
this.onMouseDown = null;
this.onEnterFrame = null;
}
};
this.onMouseDown = function () {
this.gotoAndPlay(3);
this.onMouseDown = null;
};
Symbol 263 MovieClip [window_message] Frame 2
this.stop();
Symbol 263 MovieClip [window_message] Frame 7
this._visible = false;
_name = "non";
this.removeMovieClip();
this.stop();
Symbol 270 Button
on (release) {
this.remove();
}
Symbol 272 Button
on (release) {
this.dicied();
}
Symbol 273 MovieClip [window_input2] Frame 1
function remove() {
this.removeMovieClip();
}
function dicied() {
trace("window\u3088\u308A\u3001\u30A4\u30F3\u30D7\u30C3\u30C8\u30C7\u30FC\u30BF\u9001\u4FE1 input=" + input);
backAddress.getInput(varName, input);
this.play();
}
Symbol 273 MovieClip [window_input2] Frame 2
this.stop();
Symbol 273 MovieClip [window_input2] Frame 4
this.remove();
Symbol 277 Button
on (release) {
this.play();
}
Symbol 278 Button
on (release) {
_root.gotoAndStop("title");
this.remove();
}
Symbol 279 MovieClip [window_backTitle] Frame 1
function remove() {
this.removeMovieClip();
}
function dicied() {
trace("window\u3088\u308A\u3001\u30A4\u30F3\u30D7\u30C3\u30C8\u30C7\u30FC\u30BF\u9001\u4FE1 input=" + input);
backAddress.getInput(varName, input);
this.play();
}
Symbol 279 MovieClip [window_backTitle] Frame 2
this.stop();
Symbol 279 MovieClip [window_backTitle] Frame 4
this.remove();
Symbol 281 MovieClip [window_yesNo] Frame 1
function remove() {
this.removeMovieClip();
}
function dicied() {
this.doFunction();
this.play();
}
trace("\u53D7\u3051\u53D6\u3063\u305F\u5B9F\u884C\u30D5\u30A1\u30F3\u30AF\u30B7\u30E7\u30F3\u306F=" + doFunction);
Symbol 281 MovieClip [window_yesNo] Frame 2
this.stop();
Symbol 281 MovieClip [window_yesNo] Frame 4
this.remove();
Symbol 284 MovieClip [window_input] Frame 1
function remove() {
this.removeMovieClip();
}
function dicied() {
trace("window\u3088\u308A\u3001\u30A4\u30F3\u30D7\u30C3\u30C8\u30C7\u30FC\u30BF\u9001\u4FE1 input=" + input);
backAddress.getInput(varName, input);
this.play();
}
Symbol 284 MovieClip [window_input] Frame 2
this.stop();
Symbol 284 MovieClip [window_input] Frame 4
this.remove();
Symbol 334 MovieClip [prd_fadeOutTo] Frame 4
_root.gotoAndStop(nextFr);
this.removeMovieClip();
this.stop();
Symbol 339 MovieClip Frame 10
this.stop();
Symbol 344 MovieClip [efa_rocket2] Frame 38
_root.game.priHitCheck(_x, _y, wNo, _name);
trace("\u5C04\u6483\u30DF\u30B9");
_root.game.noHitShot++;
this.removeMovieClip();
Symbol 345 MovieClip [efa_rocket1] Frame 38
if (_root.game.hitCheck(_x, _y, wNo, _name)) {
this.gotoAndPlay("hit");
} else {
this.removeMovieClip();
}
Symbol 345 MovieClip [efa_rocket1] Frame 40
trace("\u5C04\u6483\u30DF\u30B9");
_root.game.noHitShot++;
this.removeMovieClip();
Symbol 345 MovieClip [efa_rocket1] Frame 65
this.removeMovieClip();
Symbol 348 MovieClip [dis_回避] Frame 35
this.removeMovieClip();
Symbol 351 MovieClip [dis_被弾] Frame 35
this.removeMovieClip();
Symbol 359 MovieClip [efa_miniRocketExt] Frame 1
if (Math.random() > 0.5) {
_rotation = ((Math.random() * 40) - 20);
} else {
_rotation = ((180 + (Math.random() * 40)) - 20);
}
Symbol 359 MovieClip [efa_miniRocketExt] Frame 31
_root.game.extHit(_x, _y, wNo);
this.removeMovieClip();
Symbol 360 MovieClip [efa_miniRocket] Frame 1
if (Math.random() > 0.5) {
_rotation = ((Math.random() * 40) - 20);
} else {
_rotation = ((180 + (Math.random() * 40)) - 20);
}
Symbol 360 MovieClip [efa_miniRocket] Frame 31
if (_root.game.hitCheck(_x, _y, wNo, _name)) {
this.gotoAndPlay("hit");
} else {
this.removeMovieClip();
}
Symbol 360 MovieClip [efa_miniRocket] Frame 32
this.removeMovieClip();
Symbol 360 MovieClip [efa_miniRocket] Frame 46
this.removeMovieClip();
Symbol 394 MovieClip Frame 1
this.stop();
Symbol 397 MovieClip Frame 1
this.stop();
Symbol 398 MovieClip Frame 3
this.sv.play();
Symbol 398 MovieClip Frame 22
this.pc.play();
Symbol 407 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 412 MovieClip Frame 1
function addNumDec(n) {
if (String(n).indexOf(".", 0) == -1) {
n = n + ".0";
}
return(n);
}
loadedSize = 0;
totalSize = _root.getBytesTotal();
this.onEnterFrame = function () {
loadedSize = _root.getBytesLoaded();
if (loadedSize >= totalSize) {
this.gotoAndStop("end");
this.onEnterFrame = null;
} else {
downloadParcent = Math.round((loadedSize / totalSize) * 1000) / 10;
downloadParcent = addNumDec(downloadParcent);
this.gageIn.gage.bar._xscale = downloadParcent;
}
};
this.stop();
Symbol 988 MovieClip [__Packages.CodeLibs] Frame 0
class CodeLibs
{
function CodeLibs () {
}
function toCodeNumber(s, rCode1, rCode2) {
trace("\u6697\u53F7\u5316\u958B\u59CB*********************************");
s = String(s);
trace((("\u53D6\u5F97\u5024=" + s) + "\u3000\u6587\u5B57\u5217\u9577=") + s.length);
var _local3 = s.charAt(0);
var _local2 = s.charAt(s.length - 1);
trace((("head=" + _local3) + " foot=") + _local2);
_local3 = _local3.charCodeAt(0);
_local2 = _local2.charCodeAt(0) + rCode2;
s = s << rCode1;
trace("\u30B7\u30D5\u30C8\u5F8C\u306Es=" + s);
s = (_local3 + String(s)) + _local2;
trace("\u6700\u7D42\u5024=" + s);
trace("******************************************");
return(s);
}
function reCodeNumber(s, rCode1, rCode2) {
trace("\u5FA9\u53F7\u5316\u958B\u59CB*********************************");
s = String(s);
trace("\u53D6\u5F97\u5024=" + s);
var _local6;
_local6 = s.indexOf("-");
if (_local6 != -1) {
}
var _local3 = s.slice(0, 2);
var _local2 = s.slice(s.length - 2, s.length) - rCode2;
s = s.slice(2, s.length - 2);
trace((((("head=" + _local3) + " foot=") + _local2) + " s=") + s);
var _local7 = Number(s) * -1;
trace("r=" + _local7);
s = Number(s) >> rCode1;
trace("\u30B7\u30D5\u30C8\u5F8C\u306E\u5024=" + s);
s = String(s);
var _local4 = s.charAt(0);
var _local5 = s.charAt(s.length - 1);
trace((("s\u306E\u982D\u3068\u5C3B\u306E\u5024 head2=" + _local4) + " foot2=") + _local5);
if ((_local4 == String.fromCharCode(_local3)) && (_local5 == String.fromCharCode(_local2))) {
trace("\u5FA9\u53F7\u306B\u6210\u529F");
} else {
trace("\u7167\u5408\u306B\u5931\u6557");
s = "error";
}
trace("******************************************");
return(s);
}
}
Symbol 421 MovieClip Frame 1
function bgmPlay(n) {
trace("\u25A0BGM\u518D\u751F\u958B\u59CB BGM=" + n);
this.bgmStop();
nowBgm = n;
this.gotoAndStop(n);
}
function bgmStop() {
trace("BGM\u518D\u751F\u3092\u505C\u6B62");
nowBgm = 0;
bgm.stop();
}
function getBgm() {
return(nowBgm);
}
bgm = new Sound(this);
nowBgm = 0;
this.stop();
Symbol 425 MovieClip Frame 1
this.stop();
Symbol 448 MovieClip Frame 1
_parent.setEffect(_x, _y, 100, 100, "scene_titleEffectWall");
_parent.setEffect(_x, _y, 100, 100, "scene_titleEffectWall");
Symbol 448 MovieClip Frame 7
this.stop();
Symbol 450 MovieClip Frame 1
function getDeep() {
deep2++;
if (deep2 > 300) {
deep2 = 30;
}
return(deep2);
}
function setEnemy(x, y, xsc, ysc, r, sx, sy, type) {
trace("\u30BF\u30A4\u30C8\u30EB\u5185\u306B\u6575\u914D\u7F6E");
var _local2 = deep;
this.attachMovie(type, _local2, _local2);
this[_local2]._x = x;
this[_local2]._y = y;
this[_local2]._xscale = xsc;
this[_local2]._yscale = ysc;
this[_local2].sx = sx;
this[_local2].sy = sy;
deep++;
if (deep > 29) {
deep = 0;
}
}
deep2 = 30;
deep = 0;
this.onEnterFrame = function () {
if (Math.random() > 0.98) {
var _local2 = (Math.random() * 100) + 50;
var _local3 = (((-Math.random()) * 10) + ((_local2 - 50) / 3)) - 25;
var _local4 = -320;
spx = _local2 / 100;
spy = ((Math.random() * 2) - 1) * (spx / 10);
this.setEnemy(_local4, _local3, _local2, _local2, 0, spx, spy, "scene_title_airc");
}
};
Symbol 460 MovieClip Frame 1
if (_global.titleView == 1) {
this.gotoAndPlay("restart");
}
this.onMouseDown = function () {
_global.titleView = 1;
this.gotoAndPlay("restart");
this.onMouseDown = null;
};
Symbol 460 MovieClip Frame 95
_global.titleView = 1;
_root.bgmBox.bgmPlay("title");
Symbol 460 MovieClip Frame 99
if (_root.bgmBox.getBgm() != "title") {
trace("TITLE BGM\u3092\u518D\u5EA6\u518D\u751F\u958B\u59CB");
_root.bgmBox.bgmPlay("title");
}
_parent.buttans.play();
Symbol 460 MovieClip Frame 100
function tsMove() {
this.t._x = this._xmouse;
this.t._y = this._ymouse;
}
this.onMouseMove = function () {
this.tsMove();
};
this.onEnterFrame = function () {
if (this.hitBox.hitTest(_root._xmouse, _root._ymouse, true)) {
this.t._visible = true;
Mouse.hide();
} else {
this.t._visible = false;
Mouse.show();
}
};
this.onMouseDown = function () {
if (this.t._visible == true) {
this.t.fire.gotoAndPlay(1);
i = 0;
while (i < 31) {
if (this.t.hp.hitTest(this.airArea[i])) {
this.airArea[i].hit();
break;
}
i++;
}
}
};
this.stop();
Symbol 474 Button
on (release) {
_root.so.data.playCount++;
trace(_root.so.data.playCount + "\u56DE\u76EE\u306E\u30ED\u30FC\u30C9 [\u3053\u306E\u547D\u4EE4\u306F_root.s_title_buttans\u306E\u7D9A\u304D\u304B\u3089\u306B\u4ED5\u8FBC]");
_root.gotoAndStop("hangar");
}
Symbol 475 Button
on (release) {
this.gotoAndStop("first");
}
Symbol 479 Button
on (release) {
if (_root.so.data.playCount == 0) {
_root.gotoAndStop("first");
} else {
this.dataDelete1();
}
}
Symbol 480 Button
on (release) {
_root.gotoAndStop("howto");
}
Symbol 481 Button
on (release) {
_root.gotoAndStop("ranking");
}
Symbol 482 Button
on (release) {
_root.gotoAndStop("howto");
}
Symbol 483 Button
on (release) {
_root.gotoAndStop("credit");
}
Symbol 489 Button
on (release) {
_root.gotoAndStop("log");
}
Symbol 490 MovieClip Frame 1
function dataDelete1() {
_root.setYesNoWindow("<font color='#FF6600'>\uFF01\u8B66\u544A\uFF01</font><br>\u30C7\u30FC\u30BF\u3092\u6D88\u53BB\u3057\u3066\u3001\u6700\u521D\u304B\u3089\u904A\u3073\u307E\u3059\u304B\uFF1F</font>", this.dataDelete2);
}
function dataDelete2() {
_root.setYesNoWindow("\u672C\u5F53\u306B\u30C7\u30FC\u30BF\u3092\u6D88\u53BB\u3057\u3066\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F", _root.buttans.dataDelete3, true);
}
function dataDelete3() {
trace("\u30C7\u30FC\u30BF\u6D88\u53BB\u5B9F\u884C");
_root.firstSave();
_root.gotoAndStop("first");
}
this.onEnterFrame = function () {
if (ff == true) {
this.btn_load._visible = false;
this.btn_load.enabled = false;
}
};
this.stop();
Symbol 490 MovieClip Frame 28
delete ff;
this.onEnterFrame = null;
this.stop();
Symbol 490 MovieClip Frame 55
this.gotoAndPlay(1);
Symbol 504 Button
on (release) {
this.icons.nextIcon(-1);
}
Symbol 505 Button
on (release) {
this.icons.nextIcon(1);
}
Symbol 506 MovieClip Frame 1
function setIcons() {
trace("nowIcon=" + nowIcon);
this.icon.attachMovie("icon" + iconAry[nowIcon], "icon", 1);
_parent.iconNo = iconAry[nowIcon];
}
function nextIcon(m) {
if ((this.window == undefined) && (_root.window == undefined)) {
nowIcon = nowIcon + m;
if (nowIcon < 0) {
nowIcon = iconAry.length - 1;
} else if (nowIcon > (iconAry.length - 1)) {
nowIcon = 0;
}
trace("nextIcon =" + nowIcon);
this.gotoAndPlay(3);
}
}
iconAry = new Array();
iconAry = [1, 3, 2, 4, 30, 31, 32, 33, 34];
nowIcon = 0;
this.setIcons(nowIcon);
Symbol 506 MovieClip Frame 2
this.stop();
Symbol 506 MovieClip Frame 6
trace("--");
this.setIcons();
Symbol 506 MovieClip Frame 16
this.gotoAndStop(2);
Symbol 509 Button
on (release) {
if ((this.window == undefined) && (_root.window == undefined)) {
this.gotoAndPlay("skill");
}
}
Symbol 511 Button
on (release) {
if ((this.window == undefined) && (_root.window == undefined)) {
if (name == "-\u540D\u524D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044-") {
name = "";
}
_root.setWindow(0, "window_input", this, "name", name);
}
}
Symbol 525 Button
on (release) {
_root.backTitle();
}
Symbol 527 MovieClip Frame 1
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
Symbol 527 MovieClip Frame 2
this.stop();
Symbol 527 MovieClip Frame 5
this._visible = false;
_name = "non";
this.stop();
Symbol 530 MovieClip Frame 1
this.stop();
Symbol 532 MovieClip Frame 1
this.stop();
Symbol 544 MovieClip Frame 1
function lvupSe() {
se = new Sound();
se.attachSound("\u9B5A\u96F7\u767A\u5C04.wav");
se.start(0, 1);
delete se;
}
Symbol 544 MovieClip Frame 2
this.stop();
Symbol 544 MovieClip Frame 10
this.lvupSe();
Symbol 544 MovieClip Frame 27
this.stop();
Symbol 544 MovieClip Frame 30
this.lvupSe();
Symbol 544 MovieClip Frame 47
this.stop();
Symbol 544 MovieClip Frame 50
this.lvupSe();
Symbol 544 MovieClip Frame 67
this.stop();
Symbol 544 MovieClip Frame 70
this.lvupSe();
Symbol 544 MovieClip Frame 87
this.stop();
Symbol 544 MovieClip Frame 90
this.lvupSe();
Symbol 544 MovieClip Frame 107
this.stop();
Symbol 544 MovieClip Frame 110
this.lvupSe();
Symbol 544 MovieClip Frame 127
this.stop();
Symbol 544 MovieClip Frame 130
this.lvupSe();
Symbol 544 MovieClip Frame 147
this.stop();
Symbol 544 MovieClip Frame 150
this.lvupSe();
Symbol 544 MovieClip Frame 167
this.stop();
Symbol 544 MovieClip Frame 170
this.lvupSe();
Symbol 544 MovieClip Frame 187
this.stop();
Symbol 544 MovieClip Frame 190
this.lvupSe();
Symbol 544 MovieClip Frame 207
this.stop();
Symbol 546 Button
on (release) {
_parent.lvUp(no);
}
Symbol 549 Button
on (release) {
_parent.setHelp(this._name);
}
Symbol 557 MovieClip Frame 1
this.stop();
Symbol 558 Button
on (release) {
if ((this.window == undefined) && (_root.window == undefined)) {
this.gotoAndStop("ship");
}
}
Symbol 569 Button
on (release) {
_root.setYesNoWindow("\u6280\u80FD\u3092\u30EA\u30BB\u30C3\u30C8\u3057\u3066\u3001\u518D\u914D\u5206\u3057\u307E\u3059\u304B\uFF1F", _root.skillReset);
}
Symbol 571 MovieClip Frame 1
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
Symbol 571 MovieClip Frame 2
this.stop();
Symbol 571 MovieClip Frame 5
this._visible = false;
_name = "non";
this.stop();
Symbol 573 Button
on (release) {
if ((this.window == undefined) && (_root.window == undefined)) {
this.gotoAndStop("comment");
}
}
Symbol 574 Button
on (release) {
if ((this.window == undefined) && (_root.window == undefined)) {
if (shipName == "-\u8266\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044-") {
shipName = "";
}
_root.setWindow(0, "window_input", this, "shipName", shipName);
}
}
Symbol 576 Button
on (release) {
_root.unm(this);
}
Symbol 584 MovieClip Frame 1
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
Symbol 584 MovieClip Frame 2
this.stop();
Symbol 584 MovieClip Frame 5
this._visible = false;
_name = "non";
this.stop();
Symbol 587 Button
on (release) {
if ((this.window == undefined) && (_root.window == undefined)) {
if (comment == "-\u30B3\u30E1\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044-") {
comment = "";
}
_root.setWindow(0, "window_input2", this, "comment", comment);
}
}
Symbol 588 Button
on (release) {
if ((this.window == undefined) && (_root.window == undefined)) {
this.gotoAndStop("end");
}
}
Symbol 591 Button
on (release) {
if ((this.window == undefined) && (_root.window == undefined)) {
comment = "";
this.gotoAndStop("end");
}
}
Symbol 597 MovieClip Frame 1
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
Symbol 597 MovieClip Frame 2
this.stop();
Symbol 597 MovieClip Frame 4
this._visible = false;
_name = "non";
this.stop();
Symbol 602 Button
on (release) {
if ((this.window == undefined) && (_root.window == undefined)) {
this.saveData();
_global.firstGame = "first";
_root.setPrd("prd_fadeOutTo", "hangar");
}
}
Symbol 605 Button
on (release) {
if ((this.window == undefined) && (_root.window == undefined)) {
this.gotoAndStop("charcter");
}
}
Symbol 610 MovieClip Frame 1
function selectShip() {
this.gotoAndStop("charcter");
}
function getInput(n, input) {
trace((("\u5165\u529B\u30C7\u30FC\u30BF\u53D6\u5F97 \u5909\u6570\u540D=" + n) + " input=") + input);
this[n] = input;
}
function saveData() {
_root.charDataSave(name, iconNo, 1, shipName);
}
_root.bgmBox.bgmPlay("first");
_root.firstSave();
this.stop();
Symbol 610 MovieClip Frame 10
function setHelp(no) {
no = Number(no);
var _local3 = "\u30B9\u30AD\u30EB " + skillName_list[no];
_root.setComment(0, _local3, skillHelp_list[no]);
}
function setData() {
trace("\u30B9\u30AD\u30EB\u8868\u30BB\u30C3\u30C8");
i = 0;
while (i < 7) {
this[i].lv = _root.skillAry[i];
var _local3 = "l" + this[i].lv;
this[i].lvGrf.gotoAndStop(_local3);
this[i].no = i;
this[i].skillName = skillName_list[i];
this[i].needPoint = _root.needPoint_list[this[i].lv];
if (this[i].lv > 9) {
this[i].gotoAndStop("max");
}
i++;
}
playerExp = _root.playerExp;
this.setDisplay();
}
function lvUp(no) {
var _local4 = _root.needPoint_list[this[no].lv];
if (_root.playerExp >= _local4) {
_root.statusAdd("playerExp", null, -_local4);
_root.statusAdd("skillAry", no, 1);
var _local6 = "a" + _root.skillAry[no];
this[no].lvGrf.gotoAndPlay(_local6);
this[no].bg.gotoAndPlay(2);
} else {
var _local5 = _local4 - _root.playerExp;
_root.setMessageWindow(("\u7D4C\u9A13\u5024\u304C<font color='#FFCC00'>" + _local5) + "</font>\u4E0D\u8DB3\u3057\u3066\u3044\u307E\u3059");
}
playerExp = _root.playerExp;
this.setData();
}
skillName_list = ["\u6A5F\u9283", "\u7832", "\u58B3\u9032\u7832", "\u56DE\u907F", "\u9632\u5FA1", "\u8010\u4E45\u5F37\u5316", "\u6574\u5099"];
t1a = "<font color='#FF6600'><b>";
t1b = "</b></font>";
skillHelp_list = [((("\u30BF\u30A4\u30D7\u300C\u6A5F\u9283\u300D\u306E\u30C0\u30E1\u30FC\u30B8\u3092LV\u306B\u3064\u304D" + t1a) + "\uFF15\uFF05") + t1b) + "\u5F37\u5316\u3057\u307E\u3059\u3002", ((("\u30BF\u30A4\u30D7\u300C\u7832\u300D\u306E\u30C0\u30E1\u30FC\u30B8\u3092LV\u306B\u3064\u304D" + t1a) + "\uFF15\uFF05") + t1b) + "\u5F37\u5316\u3057\u307E\u3059\u3002", ((("\u30BF\u30A4\u30D7\u300C\u5674\u9032\u5F3E\u300D\u306E\u30C0\u30E1\u30FC\u30B8\u3092LV\u306B\u3064\u304D" + t1a) + "\uFF15\uFF05") + t1b) + "\u5F37\u5316\u3057\u307E\u3059\u3002", ((((((("\u8266\u306E\u6A5F\u52D5\u529B\u3092LV\u306B\u3064\u304D" + t1a) + "\uFF0B\uFF11") + t1b) + "\u3057\u3001\u3055\u3089\u306B") + t1a) + "\uFF13\uFF05") + t1b) + "\u5F37\u5316\u3057\u307E\u3059\u3002", ((((((("\u8266\u306E\u9632\u5FA1\u529B\u3092LV\u306B\u3064\u304D" + t1a) + "\uFF0B\uFF11") + t1b) + "\u3057\u3001\u3055\u3089\u306B") + t1a) + "\uFF13\uFF05") + t1b) + "\u5F37\u5316\u3057\u307E\u3059\u3002", ((((((("\u8266\u306E\u8010\u4E45\u529B\u3092LV\u306B\u3064\u304D" + t1a) + "\uFF0B20") + t1b) + "\u3057\u3001\u3055\u3089\u306B") + t1a) + "\uFF13\uFF05") + t1b) + "\u5F37\u5316\u3057\u307E\u3059\u3002", ((("\u8266\u306E\u642D\u8F09\u91CF\u3092LV\u306B\u3064\u304D" + t1a) + "\uFF0B\uFF11") + t1b) + "\u3057\u307E\u3059\u3002"];
this.setData();
Symbol 610 MovieClip Frame 17
this.stop();
Symbol 610 MovieClip Frame 21
this.stop();
Symbol 610 MovieClip Frame 39
function setSkillView() {
skillAry = _root.skillAry;
skillView = "";
i = 0;
while (i < skillAry.length) {
if (skillAry[i] == 0) {
skillView = skillView + "<font color='#6B6B6B'>";
skillView = skillView + (skillName_list[i] + "-</font>");
} else if (skillAry[i] != 0) {
skillView = skillView + "<font color='#FFFFFF'>";
skillView = skillView + (skillName_list[i] + "</font>");
skillView = skillView + (("<font color='#FF9900'> lv" + skillAry[i]) + "</font>");
}
skillView = skillView + "\u3000";
if ((i == 1) || (i == 3)) {
skillView = skillView + "<br>";
}
i++;
}
trace("skillView=" + skillView);
}
this.setSkillView();
this.stop();
Instance of Symbol 228 MovieClip "icons" in Symbol 610 MovieClip Frame 39
onClipEvent (load) {
no = _parent.iconNo;
}
Symbol 618 Button
on (release) {
_root.gotoAndPlay("game");
}
Symbol 658 Button
on (release) {
_parent.gotoAndPlay("weponSelect");
}
Symbol 659 Button
on (release) {
_root.unm();
}
Symbol 660 Button
on (release) {
_parent.gotoAndPlay("skill");
}
Instance of Symbol 228 MovieClip "icons" in Symbol 661 MovieClip Frame 1
onClipEvent (load) {
no = _root.so.data.charIcon[0];
}
Symbol 676 Button
on (release) {
this.moveFrame("ship");
}
Symbol 678 Button
on (release) {
this.moveFrame("char");
}
Symbol 688 MovieClip Frame 21
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
this.stop();
Symbol 688 MovieClip Frame 26
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
this.stop();
Symbol 688 MovieClip Frame 31
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
this.stop();
Symbol 688 MovieClip Frame 36
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
this.stop();
Symbol 688 MovieClip Frame 38
this._visible = false;
_name = "non";
this.stop();
Symbol 689 MovieClip Frame 7
this.stop();
Symbol 693 Button
on (release) {
this.gotoAndStop("first");
}
Symbol 694 Button
on (release) {
this.gotoAndStop("shipWait");
}
Symbol 700 MovieClip Frame 1
n = "\u5175\u88C5 " + (Number(_name) / 10);
Symbol 700 MovieClip Frame 2
this.stop();
Symbol 719 MovieClip Frame 1
this.stop();
Symbol 721 Button
on (release) {
_root.unm();
}
Symbol 726 MovieClip Frame 6
this.stop();
Symbol 730 Button
on (press) {
_parent.setStatus(wNo);
this.sDrag();
}
on (release) {
this.eDrag();
}
on (rollOver) {
if (nowMode == 1) {
this.gotoAndStop("rollOver");
}
}
on (rollOut, dragOut, releaseOutside) {
if (nowMode == 1) {
this.gotoAndStop("normal");
}
}
Symbol 738 Button
on (press) {
_parent.setStatus(wNo);
this.sDrag();
}
on (release) {
this.eDrag();
}
on (rollOver) {
this.gotoAndStop("rollOver");
}
on (rollOut, dragOut, releaseOutside) {
this.gotoAndStop("normal");
}
Symbol 739 MovieClip Frame 1
function setEquip() {
trace("equip!!!!!!!!!!!!!!!!!!!!!");
_x = fx;
_y = fy;
nowMode = 0;
this.gotoAndPlay("set");
}
function reset() {
if (nowMode == 1) {
trace((((_name + "\u6B66\u88C5\u30D1\u30CD\u30EB\u521D\u671F\u4F4D\u7F6E\u3078 fx=") + fx) + " fy=") + fy);
_x = fx;
_y = fy;
this.gotoAndStop("normal");
}
}
function sDrag() {
if (nowMode == 1) {
this.startDrag();
this.swapDepths(1);
this.gotoAndStop("select");
}
}
function eDrag() {
if (nowMode == 1) {
this.stopDrag();
this.reset();
_parent.equipCheck(_name, wNo);
}
}
slot = "\u5175\u88C5 " + _name;
fx = _x;
fy = _y;
Symbol 739 MovieClip Frame 2
nowMode = 1;
this.stop();
Symbol 739 MovieClip Frame 38
this.gotoAndStop("normal");
Symbol 744 MovieClip Frame 1
function sDrag() {
this.startDrag();
this.swapDepths(1);
this.gotoAndStop("select");
}
function eDrag() {
_parent.equipCheck(null, wNo);
this.stopDrag();
this.gotoAndStop("normal");
_x = fx;
_y = fy;
}
fx = _x;
fy = _y;
Symbol 744 MovieClip Frame 2
this.stop();
Symbol 755 MovieClip Frame 2
function resetData() {
equipAry = new Array();
weponAry = new Array();
equipAry = _root.getStatus("equipAry");
weponAry = _root.getStatus("weponAry");
}
function setSlot(newSlot) {
i = 1;
while (i < 4) {
var _local5 = equipAry[i - 1];
if (_local5 != 0) {
var _local6 = _parent.weponListAry[_local5][0];
var _local4 = _root.weponAry[_local5 * 2] - 1;
if (_local4 != 0) {
if ((_local4 < 11) && (_local4 > 0)) {
_local6 = _local6 + (" \u6539" + _local4);
} else {
trace((("\uFF01\uFF01\uFF01\uFF01\uFF01\u4E0D\u6B63\u30C7\u30FC\u30BF\u691C\u51FA " + _local6) + " lv=") + _local4);
}
}
this[i].weponName = _local6;
this[i].wNo = _local5;
if (newSlot == i) {
this[i].setEquip();
} else {
this[i].reset();
}
} else {
trace(i + "\u3075\u3063\u3068\u3073\u307E\u3057\u305F");
this[i]._x = 2000;
this[i]._y = 0;
}
trace("_x=" + this[i]._x);
i++;
}
payload = (_root.getPayload("now") + "/") + _root.getPayload("max");
leftPayload = ("(\u6B8B\u308A" + _root.getPayload("left")) + ")";
trace("-----------------------\n\n");
}
function equipCheck(nowSlot, wNo) {
trace((("equpCheck nowSlot=" + nowSlot) + " wNo=") + wNo);
i = 1;
while (i < 4) {
var _local7 = i * 10;
if (this[_local7].hitTest(_root._xmouse, _root._ymouse)) {
if (nowSlot != null) {
_root.changeEquip(nowSlot, 0);
_root.changeEquip(i, wNo);
this.resetData();
this.setSlot(i);
} else if (nowSlot != i) {
if (equipAry[i - 1] != 0) {
trace("\u88C5\u5099\u304C\u4E00\u3064\u30CF\u30BA\u30EC\u307E\u3059");
var _local5 = (_root.getPayload("now") - _parent.weponListAry[equipAry[i - 1]][12]) + _parent.weponListAry[wNo][12];
} else {
var _local5 = _root.getPayload("now") + _parent.weponListAry[wNo][12];
}
if (_local5 <= _root.getPayload("max")) {
_root.changeEquip(i, wNo);
this.resetData();
this.setSlot(i);
} else {
var _local8 = ("\u7A4D\u8F09\u9650\u754C\u3092\u8D85\u3048\u3066\u3044\u307E\u3059\u3002(\u8D85\u904E" + (_local5 - _root.getPayload("max"))) + ")";
_root.setMessageWindow(_local8);
}
}
return(undefined);
}
i++;
}
if (nowSlot != null) {
trace(nowSlot + "\u88C5\u5099\u6392\u9664");
nss = new Sound();
nss.attachSound("\u85AC\u83A2\u304C\u8EE2\u304C\u308B");
nss.start(0, 1);
delete nss;
_root.changeEquip(nowSlot, 0);
this.resetData();
this.setSlot();
}
trace("equipAry=" + equipAry);
}
function setStatus(wNo) {
trace("\u6B66\u88C5\u30B9\u30C6\u30FC\u30BF\u30B9\u30BB\u30C3\u30C8 wNo=" + wNo);
var _local6 = this.statusDis;
var _local5 = "";
var _local4 = _parent.weponListAry[wNo];
var _local7 = _local4[3];
_local6.gotoAndPlay(1);
_local6.typeBox.gotoAndStop(_local4[1] + 1);
_local5 = _local5 + ("\u30C0\u30E1\u30FC\u30B8\uFF1A" + (_local7 + Math.round((_local7 / 20) * (_root.weponAry[wNo * 2] - 1))));
if (_local4[2] == 0) {
_local5 = _local5 + "(\u5358\u4F53)";
} else {
_local5 = _local5 + "(\u7BC4\u56F2)";
}
_local5 = _local5 + (("\u3000\u767A\u5C04\u901F\u5EA6\uFF1A1\u767A/" + (Math.round(_local4[6]) / 1000)) + "\u79D2");
_local5 = _local5 + ("\u3000\u5F3E\u6570\uFF1A" + _local4[4]);
_local5 = _local5 + (("\u3000\u518D\u88C5\u586B\uFF1A" + (_local4[7] / 1000)) + "\u79D2");
_local5 = _local5 + ("\u3000\u642D\u8F09" + _local4[12]);
_local6.weponName = _local4[0];
_local6.lvv = "\u6539" + (_root.weponAry[wNo * 2] - 1);
_local6.weponStatsMes = _local5;
_local6.weponComment = _local4[15];
}
ws = 0;
i = 0;
while (i < 8) {
this["w" + i]._visible = false;
i++;
}
i = 1;
while (i < 60) {
if (_root.weponAry[i * 2] != 0) {
trace((("No:" + i) + "\u6240\u6301\u3000") + _parent.weponListAry[i][0]);
var n = _parent.weponListAry[i][0];
if (weponAry[i * 2] > 1) {
n = n + (" \u6539" + (weponAry[i * 2] - 1));
}
this["w" + ws].weponName = n;
this["w" + ws].wNo = i;
this["w" + ws]._visible = true;
ws++;
}
i++;
}
this.resetData();
_root.payloadCheck();
this.setSlot();
this.stop();
Symbol 762 Button
on (release) {
if (nowFrame == "ship") {
this.gotoAndStop("shipWait");
} else {
this.gotoAndStop("first");
}
}
Symbol 771 Button
on (rollOver) {
trace("\u30ED\u30FC\u30EB\uFF01\u3000id=" + id);
this.gotoAndPlay("select");
_parent.setMes(id);
}
on (rollOut, dragOut, releaseOutside) {
this.gotoAndStop("open");
_parent.setMes(-1);
}
on (release) {
if (id == 2) {
_root.gotoAndPlay("game");
}
}
Symbol 781 MovieClip Frame 1
this.stop();
Instance of Symbol 766 MovieClip "stageView" in Symbol 781 MovieClip Frame 10
on (release) {
}
Symbol 781 MovieClip Frame 28
this.stop();
Symbol 789 MovieClip Frame 3
this.stop();
Symbol 790 MovieClip Frame 1
function setSkillView() {
var _local2 = "";
i = 0;
while (i < skillAry.length) {
if (skillAry[i] == 0) {
_local2 = _local2 + "<font color='#6B6B6B'>";
_local2 = _local2 + (skillName_list[i] + "-</font>");
} else if (skillAry[i] != 0) {
_local2 = _local2 + "<font color='#FFFFFF'>";
_local2 = _local2 + (skillName_list[i] + "</font>");
_local2 = _local2 + (("<font color='#FF9900'> lv" + skillAry[i]) + "</font>");
}
_local2 = _local2 + "\u3000";
if ((i == 1) || (i == 3)) {
_local2 = _local2 + "<br>";
}
i++;
}
this.display.skillView = _local2;
}
function setDisplay() {
this.display.name = _root.so.data.charData[1];
this.display.iconNo = _root.so.data.charIcon[0];
this.display.shipName = _root.so.data.shipData[1];
playerExp = _root.playerExp;
disMoney = _root.money * 100;
var _local6 = new Array();
var _local7 = new Array();
_local6 = _root.getStatus("equipAry");
i = 1;
while (i < 4) {
wNo = _local6[i - 1];
if (wNo != 0) {
var _local4 = _parent.weponListAry[wNo];
this.display[("wepon" + i) + "name"] = _local4[0];
if (_root.weponAry[wNo * 2] != 1) {
this.display[("wepon" + i) + "name"] = this.display[("wepon" + i) + "name"] + (" \u6539" + (_root.weponAry[wNo * 2] - 1));
}
} else {
this.display[("wepon" + i) + "name"] = "\u5175\u88C5\u306A\u3057";
}
i++;
}
var _local5 = this.display;
_local5.disBaseHp = _root.getShipBaseData("hp");
_local5.disBaseFree = _root.getShipBaseData("free");
_local5.disBaseDef = _root.getShipBaseData("def");
_local5.disBasePayload = _root.getShipBaseData("payload");
_local5.addHp = _root.getShipDataSkill("hp");
_local5.addFree = _root.getShipDataSkill("free");
_local5.addDef = _root.getShipDataSkill("def");
_local5.addPayload = _root.getShipDataSkill("payload");
_local5.nowHp = _root.getShipNowData("hp");
_local5.nowFree = _root.getShipNowData("free");
_local5.nowDef = _root.getShipNowData("def");
_local5.nowPayload = _root.getShipNowData("payload");
}
function unm() {
if ((this.window == undefined) && (_root.window == undefined)) {
_root.attach(275, 200, 100, 100, 0, _root, "window_unm", "window", 10);
}
}
function selectShip() {
this.gotoAndStop("charcter");
}
function getInput(n, input) {
trace((("\u5165\u529B\u30C7\u30FC\u30BF\u53D6\u5F97 \u5909\u6570\u540D=" + n) + " input=") + input);
this[n] = input;
}
function saveData() {
_root.firstSave(name, iconNo, 221, shipName);
}
function moveFrame(to) {
if ((nowFrame != to) && (nowFrame != "lock")) {
nowFrame = "lock";
this.gotoAndPlay(to);
}
}
Mouse.show();
_root.loadData();
weponListAry = new Array();
i = 0;
while (i < 60) {
weponListAry[i] = new Array();
i++;
}
weponListAry[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
weponListAry[1] = ["15mm\u6A5F\u9283", 1, 0, 5, 80, 1, 100, 1000, 5, "efa_shot", "efa_amo1", null, 2, 1, 1000, "\u4E00\u767A\u306E\u5A01\u529B\u306F\u4F4E\u3044\u304C\u3001\u9AD8\u901F\u9023\u5C04\u304C\u53EF\u80FD\u3002\u7DCF\u5408\u7684\u306A\uFF8A\uFF9E\uFF97\uFF9D\uFF7D\u306B\u512A\u308C\u3001\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[2] = ["15mm\u9023\u88C5\u6A5F\u9283", 1, 0, 10, 80, 2, 100, 1500, 6.7, "efa_shot2", "efa_amo2", null, 4, 2, 2500, "\u9023\u88C5\u3068\u306A\u308A\u706B\u529B\u304C\u5411\u4E0A\u3002\u305F\u3060\u3057\u5F3E\u85AC\u6D88\u8CBB\u304C\u6FC0\u3057\u304F\u3001\u5F3E\u5207\u308C\u3057\u6613\u3044\u3002\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[3] = ["20mm\u6A5F\u9283", 1, 0, 8, 70, 1, 120, 1200, 5.6, "efa_shot", "efa_amo1", null, 3, 3, 4000, "\u4E00\u767A\u306E\u5A01\u529B\u306F\u4F4E\u3044\u304C\u3001\u9AD8\u901F\u9023\u5C04\u304C\u53EF\u80FD\u3002\u7DCF\u5408\u7684\u306A\uFF8A\uFF9E\uFF97\uFF9D\uFF7D\u306B\u512A\u308C\u3001\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[4] = ["20mm\u9023\u88C5\u6A5F\u9283", 1, 0, 16, 70, 1, 120, 1700, 7.8, "efa_shot2", "efa_amo2", null, 6, 4, 6000, "\u9023\u88C5\u3068\u306A\u308A\u706B\u529B\u304C\u5411\u4E0A\u3002\u305F\u3060\u3057\u5F3E\u85AC\u6D88\u8CBB\u304C\u6FC0\u3057\u304F\u3001\u5F3E\u5207\u308C\u3057\u6613\u3044\u3002\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[5] = ["30mm\u6A5F\u9283", 1, 0, 14, 60, 1, 140, 1500, 6.7, "efa_shot", "efa_amo1", null, 4, 5, 10000, "\u4E00\u767A\u306E\u5A01\u529B\u306F\u4F4E\u3044\u304C\u3001\u9AD8\u901F\u9023\u5C04\u304C\u53EF\u80FD\u3002\u7DCF\u5408\u7684\u306A\uFF8A\uFF9E\uFF97\uFF9D\uFF7D\u306B\u512A\u308C\u3001\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[6] = ["30mm\u9023\u88C5\u6A5F\u9283", 1, 0, 28, 60, 1, 140, 2000, 10, "efa_shot2", "efa_amo2", null, 8, 6, 15000, "\u9023\u88C5\u3068\u306A\u308A\u706B\u529B\u304C\u5411\u4E0A\u3002\u305F\u3060\u3057\u5F3E\u85AC\u6D88\u8CBB\u304C\u6FC0\u3057\u304F\u3001\u5F3E\u5207\u308C\u3057\u6613\u3044\u3002\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[7] = ["20mm\u6A5F\u95A2\u7832(\u70B8)", 1, 1, 10, 20, 1, 200, 3000, 1.7, "efa_shot", "efa_amo1", "efa_fireBomb1", 6, 9, 30000, "\u70B8\u88C2\u5F3E\u3092\u9023\u5C04\u3067\u304D\u308B\u5F37\u529B\u306A\u6A5F\u95A2\u7832\u3001\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[8] = null;
weponListAry[9] = null;
weponListAry[10] = null;
weponListAry[11] = null;
weponListAry[12] = null;
weponListAry[13] = null;
weponListAry[14] = null;
weponListAry[15] = null;
weponListAry[16] = null;
weponListAry[17] = null;
weponListAry[18] = null;
weponListAry[19] = null;
weponListAry[20] = ["40mm\u5BFE\u7A7A\u7832", 2, 0, 30, 10, 1, 500, 1000, 6, "efa_gun1", null, null, 3, 2, 2000, "\u5C0F\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u305D\u3053\u305D\u3053\u306E\u5A01\u529B\u3092\u6301\u3061\u3001\u901F\u5C04\u304C\u53EF\u80FD\u3002\u5C0F\u578B\u8266\u3084\u91CD\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[21] = ["40mm\u5BFE\u7A7A\u7832(\u70B8)", 2, 1, 10, 5, 1, 800, 2000, 0.6, "efa_shot(88mm)", null, "efa_fireBomb1", 5, 3, 4000, "\u7BC4\u56F2\u653B\u6483\u304C\u53EF\u80FD\u306A\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[22] = ["40mm\u9023\u88C5\u5BFE\u7A7A\u7832", 2, 0, 60, 10, 2, 500, 1500, 8, "efa_shot(88mm)", null, null, 6, 4, 8000, "\u9023\u88C5\u7832\u3002\u4E00\u5C04\u6483\u306E\u5A01\u529B\u304C\u5927\u5E45\u306B\u5411\u4E0A\u3057\u305F\u304C\u3001\u5F3E\u85AC\u6D88\u8CBB\u3082\u6FC0\u3057\u304F\u306A\u3063\u305F\u3002"];
weponListAry[23] = ["75mm\u5BFE\u7A7A\u7832", 2, 0, 60, 10, 1, 700, 1200, 7.1, "efa_gun1", null, null, 5, 5, 7000, "\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u5341\u5206\u306A\u5A01\u529B\u3092\u6301\u3061\u3001\u901F\u5C04\u304C\u53EF\u80FD\u3002\u5C0F\u578B\u8266\u3084\u91CD\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[24] = ["75mm\u5BFE\u7A7A\u7832(\u70B8)", 2, 1, 25, 5, 1, 1000, 2200, 1.1, "efa_shot(88mm)", null, "efa_fireBomb1", 7, 6, 14000, "\u7BC4\u56F2\u653B\u6483\u304C\u53EF\u80FD\u306A\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[25] = ["75mm\u9023\u88C5\u5BFE\u7A7A\u7832", 2, 0, 180, 10, 2, 700, 1700, 15.1, "efa_shot(88mm)", null, null, 10, 7, 28000, "\u9023\u88C5\u7832\u3002\u4E00\u5C04\u6483\u306E\u5A01\u529B\u304C\u5927\u5E45\u306B\u5411\u4E0A\u3057\u305F\u304C\u3001\u5F3E\u85AC\u6D88\u8CBB\u3082\u6FC0\u3057\u304F\u306A\u3063\u305F\u3002"];
weponListAry[26] = ["88mm\u5BFE\u7A7A\u7832", 2, 0, 140, 10, 1, 900, 1500, 10.4, "efa_gun1", null, null, 7, 8, 12000, "\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u305D\u3053\u305D\u3053\u306E\u5A01\u529B\u3092\u6301\u3061\u3001\u901F\u5C04\u304C\u53EF\u80FD\u3002\u5C0F\u578B\u8266\u3084\u91CD\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[27] = ["88mm\u5BFE\u7A7A\u7832(\u70B8)", 2, 1, 50, 5, 1, 1200, 2500, 1.7, "efa_shot(88mm)", null, "efa_fireBomb1", 9, 9, 24000, "\u7BC4\u56F2\u653B\u6483\u304C\u53EF\u80FD\u306A\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[28] = ["88mm\u9023\u88C5\u5BFE\u7A7A\u7832", 2, 0, 280, 10, 2, 900, 2000, 15.6, "efa_shot(88mm)", null, null, 14, 10, 48000, "\u9023\u88C5\u7832\u3002\u4E00\u5C04\u6483\u306E\u5A01\u529B\u304C\u5927\u5E45\u306B\u5411\u4E0A\u3057\u305F\u304C\u3001\u5F3E\u85AC\u6D88\u8CBB\u3082\u6FC0\u3057\u304F\u306A\u3063\u305F\u3002"];
weponListAry[29] = ["120mm\u5BFE\u7A7A\u7832", 2, 0, 240, 10, 1, 1200, 1900, 10.5, "efa_gun1", null, null, 11, 11, 25000, "\u5927\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u305D\u3053\u305D\u3053\u306E\u5A01\u529B\u3092\u6301\u3061\u3001\u901F\u5C04\u304C\u53EF\u80FD\u3002\u5C0F\u578B\u8266\u3084\u91CD\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[30] = ["120mm\u5BFE\u7A7A\u7832(\u70B8)", 2, 1, 80, 5, 1, 1500, 3000, 1.8, "efa_shot(88mm)", null, "efa_fireBomb1", 13, 12, 50000, "\u7BC4\u56F2\u653B\u6483\u304C\u53EF\u80FD\u306A\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[31] = ["120mm\u9023\u88C5\u5BFE\u7A7A\u7832", 2, 0, 480, 10, 2, 1200, 2500, 16, "efa_shot(88mm)", null, null, 22, 13, 100000, "\u9023\u88C5\u7832\u3002\u4E00\u5C04\u6483\u306E\u5A01\u529B\u304C\u5927\u5E45\u306B\u5411\u4E0A\u3057\u305F\u304C\u3001\u5F3E\u85AC\u6D88\u8CBB\u3082\u6FC0\u3057\u304F\u306A\u3063\u305F\u3002"];
weponListAry[32] = ["210mm\u5BFE\u7A7A\u7832", 2, 0, 700, 5, 1, 1500, 4000, 11.7, "efa_gun1", null, null, 18, 15, 120000, "\u8D85\u5927\u578B\u5BFE\u7A7A\u7832\u3002\u51C4\u307E\u3058\u3044\u5A01\u529B\u3092\u6301\u3061\u3001\u5927\u578B\u6226\u8266\u306E\u88C5\u7532\u3082\u5BB9\u6613\u304F\u8CAB\u901A\u3059\u308B\u3002"];
weponListAry[33] = null;
weponListAry[34] = null;
weponListAry[35] = null;
weponListAry[36] = null;
weponListAry[37] = null;
weponListAry[38] = null;
weponListAry[39] = null;
weponListAry[40] = ["280mm\u5BFE\u8266\u9B5A\u96F7", 3, 0, 250, 2, 1, 1000, 2500, 10, "efa_rocket1", null, null, 5, 3, 5000, "\u7D76\u5927\u306A\u5A01\u529B\u3092\u8A87\u308B\u5BFE\u8266\u9B5A\u96F7\u3002\u8266\u8247\u306B\u5BFE\u3057\u3066\u6709\u52B9\u3002"];
weponListAry[41] = ["350mm\u5BFE\u8266\u9B5A\u96F7", 3, 0, 380, 2, 1, 1200, 2800, 11.3, "efa_rocket1", null, null, 9, 6, 18000, "\u7D76\u5927\u306A\u5A01\u529B\u3092\u8A87\u308B\u5BFE\u8266\u9B5A\u96F7\u3002\u8266\u8247\u306B\u5BFE\u3057\u3066\u6709\u52B9\u3002"];
weponListAry[42] = ["420mm\u5BFE\u8266\u9B5A\u96F7", 3, 0, 620, 2, 1, 1500, 3100, 13.3, "efa_rocket1", null, null, 14, 10, 40000, "\u7D76\u5927\u306A\u5A01\u529B\u3092\u8A87\u308B\u5BFE\u8266\u9B5A\u96F7\u3002\u8266\u8247\u306B\u5BFE\u3057\u3066\u6709\u52B9\u3002"];
weponListAry[43] = ["500mm\u5BFE\u8266\u9B5A\u96F7", 3, 0, 1100, 2, 1, 2000, 5000, 11, "efa_rocket1", null, null, 20, 14, 110000, "\u7D76\u5927\u306A\u5A01\u529B\u3092\u8A87\u308B\u5BFE\u8266\u9B5A\u96F7\u3002\u8266\u8247\u306B\u5BFE\u3057\u3066\u6709\u52B9\u3002"];
weponListAry[44] = null;
weponListAry[45] = ["280mm\u5BFE\u7A7A\u7206\u96F7", 3, 1, 40, 1, 1, 3000, 5000, 0.3, "efa_rocket2", null, "efa_fireBombSP", 7, 4, 20000, "\u975E\u5E38\u306B\u5E83\u3044\u52A0\u5BB3\u7BC4\u56F2\u3092\u6301\u3064\u4E0A\u306B\u3001\u591A\u6BB5\u547D\u4E2D\u3059\u308B\u9AD8\u6027\u80FD\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3002"];
weponListAry[46] = ["350mm\u5BFE\u7A7A\u7206\u96F7", 3, 1, 65, 1, 1, 4000, 6000, 0.3, "efa_rocket2", null, "efa_fireBombSP", 11, 7, 40000, "\u975E\u5E38\u306B\u5E83\u3044\u52A0\u5BB3\u7BC4\u56F2\u3092\u6301\u3064\u4E0A\u306B\u3001\u591A\u6BB5\u547D\u4E2D\u3059\u308B\u9AD8\u6027\u80FD\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3002"];
weponListAry[47] = ["420mm\u5BFE\u7A7A\u7206\u96F7", 3, 1, 100, 1, 1, 5000, 7000, 0.3, "efa_rocket2", null, "efa_fireBombSP", 16, 11, 76000, "\u975E\u5E38\u306B\u5E83\u3044\u52A0\u5BB3\u7BC4\u56F2\u3092\u6301\u3064\u4E0A\u306B\u3001\u591A\u6BB5\u547D\u4E2D\u3059\u308B\u9AD8\u6027\u80FD\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3002"];
weponListAry[48] = ["500mm\u5BFE\u7A7A\u7206\u96F7", 3, 1, 140, 1, 1, 6000, 8000, 0.3, "efa_rocket2", null, "efa_fireBombSP", 22, 15, 140000, "\u975E\u5E38\u306B\u5E83\u3044\u52A0\u5BB3\u7BC4\u56F2\u3092\u6301\u3064\u4E0A\u306B\u3001\u591A\u6BB5\u547D\u4E2D\u3059\u308B\u9AD8\u6027\u80FD\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3002"];
weponListAry[49] = null;
weponListAry[50] = ["70mm10\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84", 3, 0, 50, 10, 1, 200, 4000, 6.3, "efa_miniRocket", null, null, 7, 6, 18000, "\u9AD8\u5A01\u529B\u306E\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[51] = ["70mm10\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84(\u70B8)", 3, 1, 20, 10, 1, 200, 5500, 1.8, "efa_miniRocketExt", null, "efa_fireBomb1", 9, 8, 32000, "\u7BC4\u56F2\u653B\u6483\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[52] = ["70mm20\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84", 3, 0, 50, 20, 1, 200, 6000, 4.2, "efa_miniRocket", null, null, 15, 9, 36000, "\u9AD8\u5A01\u529B\u306E\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[53] = ["120mm10\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84", 3, 0, 120, 10, 1, 200, 5000, 12, "efa_miniRocket", null, null, 11, 8, 40000, "\u9AD8\u5A01\u529B\u306E\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[54] = ["120mm10\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84(\u70B8)", 3, 1, 40, 10, 1, 200, 6500, 3.1, "efa_miniRocketExt", null, "efa_fireBomb1", 13, 10, 70000, "\u7BC4\u56F2\u653B\u6483\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[55] = ["120mm20\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84", 3, 0, 120, 20, 1, 200, 7000, 8.6, "efa_miniRocket", null, null, 22, 11, 80000, "\u9AD8\u5A01\u529B\u306E\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[56] = null;
weponListAry[57] = null;
weponListAry[58] = null;
weponListAry[59] = null;
weponListAry[60] = null;
skillAry = new Array();
skillAry = _root.getStatus("skillAry");
skillName_list = ["\u6A5F\u9283", "\u7832", "\u58B3\u9032\u7832", "\u56DE\u907F", "\u9632\u5FA1", "\u8010\u4E45\u5F37\u5316", "\u6574\u5099"];
this.setSkillView();
_root.bgmBox.bgmPlay("hangar");
nowFrame = "char";
cso = new Object();
cso = _root.getSaveData();
Instance of Symbol 688 MovieClip "window" in Symbol 790 MovieClip Frame 1
onClipEvent (load) {
trace("_globa.firstGame=" + _global.firstGame);
if (_global.firstGame != "first") {
_name = "";
this.stop();
}
_global.firstGame = "";
delete _global.firstGame;
}
Symbol 790 MovieClip Frame 2
this.setSkillView();
this.setDisplay();
this.stop();
Symbol 790 MovieClip Frame 18
nowFrame = "ship";
this.stop();
Symbol 790 MovieClip Frame 19
nowFrame = "ship";
this.setSkillView();
this.setDisplay();
this.stop();
Symbol 790 MovieClip Frame 39
nowFrame = "char";
this.setSkillView();
this.setDisplay();
this.stop();
Symbol 790 MovieClip Frame 40
function setHelp(no) {
no = Number(no);
var _local3 = "\u30B9\u30AD\u30EB " + skillName_list[no];
_root.setComment(0, _local3, skillHelp_list[no]);
}
function setData() {
trace("\u30B9\u30AD\u30EB\u8868\u30BB\u30C3\u30C8");
i = 0;
while (i < 7) {
this[i].lv = _root.skillAry[i];
var _local3 = "l" + this[i].lv;
this[i].lvGrf.gotoAndStop(_local3);
this[i].no = i;
this[i].skillName = skillName_list[i];
this[i].needPoint = _root.needPoint_list[this[i].lv];
if (this[i].lv > 9) {
this[i].gotoAndStop("max");
}
i++;
}
this.setDisplay();
}
function lvUp(no) {
var _local4 = _root.needPoint_list[this[no].lv];
if (_root.playerExp >= _local4) {
_root.statusAdd("playerExp", null, -_local4);
_root.statusAdd("skillAry", no, 1);
var _local6 = "a" + _root.skillAry[no];
this[no].lvGrf.gotoAndPlay(_local6);
this[no].bg.gotoAndPlay(2);
} else {
var _local5 = _local4 - _root.playerExp;
_root.setMessageWindow(("\u7D4C\u9A13\u5024\u304C<font color='#FFCC00'>" + _local5) + "</font>\u4E0D\u8DB3\u3057\u3066\u3044\u307E\u3059");
}
playerExp = _root.playerExp;
this.setData();
}
disMoney = money * 100;
t1a = "<font color='#FF6600'><b>";
t1b = "</b></font>";
skillHelp_list = [((("\u30BF\u30A4\u30D7\u300C\u6A5F\u9283\u300D\u306E\u30C0\u30E1\u30FC\u30B8\u3092LV\u306B\u3064\u304D" + t1a) + "\uFF15\uFF05") + t1b) + "\u5F37\u5316\u3057\u307E\u3059\u3002", ((("\u30BF\u30A4\u30D7\u300C\u7832\u300D\u306E\u30C0\u30E1\u30FC\u30B8\u3092LV\u306B\u3064\u304D" + t1a) + "\uFF15\uFF05") + t1b) + "\u5F37\u5316\u3057\u307E\u3059\u3002", ((("\u30BF\u30A4\u30D7\u300C\u5674\u9032\u5F3E\u300D\u306E\u30C0\u30E1\u30FC\u30B8\u3092LV\u306B\u3064\u304D" + t1a) + "\uFF15\uFF05") + t1b) + "\u5F37\u5316\u3057\u307E\u3059\u3002", ((((((("\u8266\u306E\u6A5F\u52D5\u529B\u3092LV\u306B\u3064\u304D" + t1a) + "\uFF0B\uFF11") + t1b) + "\u3057\u3001\u3055\u3089\u306B") + t1a) + "\uFF13\uFF05") + t1b) + "\u5F37\u5316\u3057\u307E\u3059\u3002", ((((((("\u8266\u306E\u9632\u5FA1\u529B\u3092LV\u306B\u3064\u304D" + t1a) + "\uFF0B\uFF11") + t1b) + "\u3057\u3001\u3055\u3089\u306B") + t1a) + "\uFF13\uFF05") + t1b) + "\u5F37\u5316\u3057\u307E\u3059\u3002", ((((((("\u8266\u306E\u8010\u4E45\u529B\u3092LV\u306B\u3064\u304D" + t1a) + "\uFF0B20") + t1b) + "\u3057\u3001\u3055\u3089\u306B") + t1a) + "\uFF13\uFF05") + t1b) + "\u5F37\u5316\u3057\u307E\u3059\u3002", ((("\u8266\u306E\u642D\u8F09\u91CF\u3092LV\u306B\u3064\u304D" + t1a) + "\uFF0B\uFF11") + t1b) + "\u3057\u307E\u3059\u3002"];
this.setData();
Symbol 790 MovieClip Frame 47
this.stop();
Symbol 790 MovieClip Frame 57
this.stop();
Symbol 790 MovieClip Frame 70
function setStage() {
i = 0;
while (i < 8) {
if (stageClearList[i] != 0) {
this[i].gotoAndStop("open");
this[i].stageName = stageDataList[i][0];
this[i].stageView.attachMovie(stageDataList[i][1], "view", 1);
this[i].id = i;
}
i++;
}
}
function setMes(id) {
trace("\u30E1\u30C3\u30BB\u30FC\u30B8\u30BB\u30C3\u30C8 id=" + id);
if (id == -1) {
mesDisplay.stageMes = "\u4F5C\u6226\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002\n\u73FE\u5728\u306F\u300C\u5927\u898F\u6A21\u8A13\u7DF4\u300D\u306E\u307F\u30D7\u30EC\u30A4\u53EF\u80FD\u3067\u3059\u3002";
} else {
mesDisplay.gotoAndPlay(1);
mesDisplay.stageMes = stageDataList[id][2];
}
}
stageDataList = new Array();
i = 0;
while (i < 3) {
stageDataList[i] = new Array();
i++;
}
stageClearList = new Array();
stageClearList = [1, 1, 1, 1, 0, 0, 0, 0, 0, 0];
stageDataList[0] = ["\u57FA\u790E\u6F14\u7FD2", "BG_SK041", "\u6E21\u6708\u5CF6\u6CBF\u5CB8\u3067\u57FA\u790E\u8A13\u7DF4\u3092\u884C\u3044\u307E\u3059\u3002\n\u307E\u305A\u306F\u3053\u3053\u3067\u64CD\u4F5C\u306B\u6163\u308C\u3066\u304F\u3060\u3055\u3044\u3002"];
stageDataList[1] = ["\u706B\u529B\u8A66\u9A13", "BG_SK017", "\u672B\u7802\u706B\u529B\u8A66\u9A13\u5834\u306B\u3066\u3001\u706B\u529B\u8A66\u9A13\u3092\u884C\u3044\u307E\u3059\u3002\n\u8266\u306E\u706B\u529B\u3092\u6E2C\u5B9A\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002"];
stageDataList[2] = ["\u5927\u898F\u6A21\n\u6F14\u7FD2", "BG_SK041", "\u6E21\u6708\u5CF6\u6CBF\u5CB8\u3067\u5927\u898F\u6A21\u6F14\u7FD2\u3092\u884C\u3044\u307E\u3059\u3002\n\u53EF\u80FD\u306A\u9650\u308A\u6575\u3092\u6483\u7834\u3057\u3066\u304F\u3060\u3055\u3044\u3002"];
stageDataList[3] = ["\u8F38\u9001\u8266\u968A\n\u5947\u8972\u4F5C\u6226", "BG_SK007", "\u925B\u767D\u6D77\u4E0A\u3092\u822A\u884C\u4E2D\u306E\u3001\u5927\u898F\u6A21\u8F38\u9001\u8266\u968A\u3092\u767A\u898B\u3057\u307E\u3057\u305F\u3002\n\u7B2C203\u8266\u968A\u3068\u3068\u3082\u306B\u5947\u8972\u653B\u6483\u3092\u884C\u3044\u3001\u3053\u308C\u3092\u58CA\u6EC5\u3055\u305B\u3066\u304F\u3060\u3055\u3044\u3002"];
this.setMes(-1);
this.setStage();
Symbol 797 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 827 Button
on (release) {
nextf = "howTo";
this.play();
}
Symbol 831 Button
on (release) {
nextf = "start";
this.play();
}
Symbol 862 MovieClip Frame 2
Mouse.show();
Symbol 862 MovieClip Frame 4
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
this.stop();
Symbol 862 MovieClip Frame 9
this.stop();
Symbol 862 MovieClip Frame 12
this.gotoAndPlay(nextf);
Symbol 862 MovieClip Frame 14
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
this.stop();
Symbol 862 MovieClip Frame 19
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
this.stop();
Symbol 862 MovieClip Frame 24
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
this.stop();
Symbol 862 MovieClip Frame 29
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
this.stop();
Symbol 862 MovieClip Frame 34
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
this.stop();
Symbol 862 MovieClip Frame 39
this.stop();
Symbol 862 MovieClip Frame 42
this.gotoAndPlay(nextf);
Symbol 862 MovieClip Frame 44
this.onMouseDown = function () {
this.play();
this.onMouseDown = null;
};
this.stop();
Symbol 862 MovieClip Frame 48
_root.sc.play();
_root.game.gameStart();
Mouse.hide();
this.stop();
this.removeMovieClip();
_x = 3000;
Symbol 867 MovieClip Frame 1
function popEnemyPat(no, form, y, interx, intery) {
no = Math.round(_parent.lv / 2) + 1;
muki = -1;
if (no > 15) {
intery = intery / 2;
}
y = y + ((intery / 2) * (no - 1));
if (form == "\uFF3C") {
var _local5 = (muki * 300) + ((muki * interx) * (no - 1));
i = 0;
while (i < no) {
ta.popEnemy("s_miniGame_airc", _local5, y, 100, 100, ((Math.random() * _parent.lv) / 2) + 1, (Math.random() * 0.05) - 0.025);
_local5 = _local5 - interx;
y = y - intery;
i++;
}
} else if (form == "\uFF0F") {
i = 0;
while (i < no) {
var _local5 = (muki * 300) + ((muki * interx) * (no - 1));
ta.popEnemy("s_miniGame_airc", _local5, y, 100, 100, ((Math.random() * _parent.lv) / 2) + 1, (Math.random() * 0.05) - 0.025);
_local5 = _local5 - interx;
y = y - intery;
i++;
}
} else if (form == ">") {
} else if (form == "<") {
} else if (form == "\u2502") {
i = 0;
while (i < no) {
var _local5 = (muki * 300) + ((muki * interx) * (no - 1));
ta.popEnemy("s_miniGame_airc", _local5, y, 100, 100, ((Math.random() * _parent.lv) / 2) + 1, (Math.random() * 0.05) - 0.025);
i++;
}
}
}
_parent.lv = 0;
ta = _root.game;
this.onEnterFrame = function () {
if (_parent.lv > 30) {
_parent.lv = 30;
}
};
this.stop();
Symbol 867 MovieClip Frame 2
_parent.lv = Number(_parent.lv) + 0.2;
trace("\n\n_parent.lvUP!!!!!!!!\n\n");
Symbol 867 MovieClip Frame 5
this.popEnemyPat((Math.random() * _parent.lv) + 1, "\uFF3C", -200, 20, 20);
Symbol 867 MovieClip Frame 110
ta.popEnemy("enemyShip_\u99C6\u9010\u82471", -320, ((-Math.random()) * 200) - 100, 150, 150, (Math.random() * 2) + 1, (Math.random() * 0.2) - 0.1);
Symbol 867 MovieClip Frame 167
this.popEnemyPat((Math.random() * _parent.lv) + 1, "\uFF3C", -200, 20, 20);
Symbol 867 MovieClip Frame 225
this.popEnemyPat((Math.random() * _parent.lv) + 1, "\u2502", -200, 20, 20);
Symbol 867 MovieClip Frame 255
ta.popEnemy("enemyShip_\u99C6\u9010\u82471", -320, ((-Math.random()) * 200) - 100, 150, 150, (Math.random() * 2) + 1, 0);
Symbol 867 MovieClip Frame 307
this.gotoAndPlay(2);
Symbol 867 MovieClip Frame 311
ta.popEnemy("enemyShip_\u5DE1\u6D0B\u8266", -320, ((-Math.random()) * 200) - 100, 150, 150, (Math.random() * 1) + 0.5, 0);
Symbol 867 MovieClip Frame 495
this.gotoAndPlay(2);
Symbol 870 MovieClip Frame 1
this.stop();
Symbol 875 Button
on (release) {
_root.gotoAndStop("hangar");
}
Symbol 881 MovieClip Frame 24
this.stop();
Symbol 882 MovieClip Frame 1
function useAvoid() {
trace("\u56DE\u907F\u3057\u3088\u3046");
if (nowAvoid > 0) {
nowAvoid--;
this.gotoAndStop(nowAvoid + "f");
return(true);
}
return(false);
}
maxAvoid = 5;
nowAvoid = maxAvoid;
chargeSpeed = 2;
chargePer = 0;
see = new Sound();
see.attachSound("gunSet2_1");
this.onEnterFrame = function () {
if (nowAvoid < maxAvoid) {
chargePer = chargePer + chargeSpeed;
if (chargePer >= 100) {
nowAvoid++;
chargePer = 0;
see.start(0, 1);
var _local2 = nowAvoid + "s";
this.gotoAndStop(_local2);
}
this.chargeBar._xscale = chargePer;
}
};
trace("nowAvoid=" + nowAvoid);
this.gotoAndStop(nowAvoid + "f");
Symbol 888 MovieClip Frame 1
this.stop();
Symbol 897 MovieClip Frame 9
this.stop();
Symbol 897 MovieClip Frame 10
this.stop();
Symbol 898 MovieClip Frame 1
function setWeponDisplay(wNo, name, amoNo) {
trace((((("\u25A0weponDisplay\u8A2D\u5B9A slot=" + wNo) + " name=") + name) + " \u5F3E\u6570=") + amoNo);
var _local2 = this["w" + wNo];
_local2.weponName = name;
_local2.nowAmo = (_local2.maxAmo = amoNo);
_local2._visible = true;
}
function reload(wNo, reloadWait) {
trace((("\u25A0" + wNo) + "\uFF1A\u30EA\u30ED\u30FC\u30C9\u958B\u59CB reloadWait=") + reloadWait);
var _local3 = "w" + wNo;
var f = (100 / (reloadWait / 33));
trace("\u30EA\u30ED\u30FC\u30C9\u30A6\u30A7\u30A4\u30C8 f=" + f);
this[_local3].gotoAndStop("reload");
this[_local3].bar._xscale = 0;
this[_local3].onEnterFrame = function () {
this.bar._xscale = this.bar._xscale + f;
if (this.bar._xscale > 100) {
this.gotoAndPlay("normal");
this.nowAmo = this.maxAmo;
_root.game.endReload(wNo);
this.onEnterFrame = null;
}
};
}
weponAry = new Array();
weponAry[1] = new Array();
weponAry[2] = new Array();
weponAry[3] = new Array();
this.w1._visible = false;
this.w2._visible = false;
this.w3._visible = false;
Symbol 909 MovieClip Frame 1
this.stop();
Symbol 914 MovieClip Frame 1
function disHit(h) {
_y = (_y - 30);
setY = setY + 30;
var _local2 = "d" + deep;
switch (h) {
case 0 :
this.attachMovie("dis_\u56DE\u907F", _local2, deep);
break;
case 1 :
this.attachMovie("dis_\u88AB\u5F3E", _local2, deep);
break;
case 2 :
this.attachMovie("dis_\u76F4\u6483", _local2, deep);
break;
case 3 :
this.attachMovie("dis_\u7DCA\u6025\u56DE\u907F", _local2, deep);
}
this[_local2]._y = setY;
deep++;
}
setY = -20;
deep = 0;
Symbol 917 MovieClip Frame 2
function setWeponStatas(slotNo, weponNo, userDataNo) {
var _local3 = "w" + slotNo;
this[_local3] = new Object();
this[_local3].name = weponListAry[weponNo][0];
this[_local3].shotType = weponListAry[weponNo][2];
var _local5 = 1 + (skillAry[weponListAry[weponNo][1] - 1] * 0.05);
trace((("\uFF7D\uFF9B\uFF6F\uFF84" + slotNo) + " \u30B9\u30AD\u30EB\u4E0A\u6607\u7387=") + _local5);
this[_local3].dmg = weponListAry[weponNo][3] * _local5;
this[_local3].nowAmo = (this[_local3].maxAmo = weponListAry[weponNo][4]);
this[_local3].useAmo = weponListAry[weponNo][5];
this[_local3].shotSpeed = weponListAry[weponNo][6];
this[_local3].reloadWait = weponListAry[weponNo][7];
this[_local3].amo = weponListAry[weponNo][9];
this[_local3].ef = weponListAry[weponNo][10];
this[_local3].extAmo = weponListAry[weponNo][11];
if (weponNo != 0) {
_root.displays.weponDisplay.setWeponDisplay(slotNo, this[_local3].name, this[_local3].maxAmo);
}
trace((("\u25A0\u6B66\u88C5" + slotNo) + "\u3000\u540D\u79F0\uFF1A") + this[_local3].name);
trace(((((((("\u3000\u30FB\u57FA\u672C\u30C0\u30E1\u30FC\u30B8=" + weponListAry[weponNo][3]) + "\n\u3000\u30FB\uFF7D\uFF77\uFF99LV=") + skillAry[weponListAry[weponNo][1] - 1]) + "\u3000\uFF7D\uFF77\uFF99\u306B\u3088\u308B\u500D\u7387=") + _local5) + "\n\u3000\u30FB\u6700\u7D42\u30C0\u30E1\u30FC\u30B8=") + this[_local3].dmg) + newline);
}
function damage(dmgPer, dmg, dmgType) {
if (avoidFlag > 0) {
this.hitDis.disHit(3);
this.addScore(1000);
var _local6 = "noHit" + Math.round(Math.random() * 3);
see2.attachSound(_local6);
see2.start(0, 1);
} else {
dmgPer = dmgPer - sta.free;
var _local2 = Math.random() * 100;
if (_local2 < dmgPer) {
if (_local2 < (dmgPer / 10)) {
this.setHp(dmg * 1.5);
this.hitDis.disHit(2);
} else {
if ((dmg - sta.def) < 1) {
var _local4 = 1;
} else {
var _local4 = dmg - sta.def;
}
this.setHp(_local4);
this.hitDis.disHit(1);
}
this.backPanel.play();
var _local6 = "hm" + Math.round(Math.random() * 6);
see2.attachSound(_local6);
see2.start(0, 1);
} else {
this.hitDis.disHit(0);
var _local6 = "noHit" + Math.round(Math.random() * 3);
see2.attachSound(_local6);
see2.start(0, 1);
}
}
}
function addScore(s) {
score = score + s;
_root.displays.score = score;
}
function defeat() {
}
function avoid() {
avoidFlag = 10;
this.avoidEffect.play();
}
function setHp(chp) {
sta.hp = sta.hp - chp;
if (sta.hp > staBase.hp) {
sta.hp = staBase.hp;
}
if (sta.hp <= 0) {
sta.hp = 0;
this.gameover();
}
var _local3 = Math.round((sta.hp / staBase.hp) * 100);
_root.displays.hpBar._xscale = _local3;
_root.displays.hpBar.gotoAndStop(100 - _local3);
}
function getDeep() {
deep1++;
if (deep1 > 200) {
deep1 = 30;
}
return(deep1);
}
function getDeep2() {
deep2--;
if (deep2 < 250) {
deep2 = 500;
}
return(deep2);
}
function getDeep3() {
deep3++;
if (deep3 > 600) {
deep3 = 501;
}
return(deep3);
}
function firstSet() {
deep = 0;
deep1 = 30;
deep2 = 500;
deep3 = 501;
enemyDownNo = 0;
enemyTotalNo = 0;
downPer = this.adjustNumber(100);
downPerLimit = this.adjustNumber(20);
hitPer = 0;
totalDownPer = 0;
totalShot = 0;
noHitShot = 0;
score = 0;
}
function addList(targetList, n) {
this[targetList].push(n);
}
function delList(targetList, n) {
i = 0;
while (i < this[targetList].length) {
if (this[targetList][i] == n) {
this[targetList].splice(i, 1);
}
i++;
}
}
function setDownPer(tf) {
enemyTotalNo++;
if (tf == true) {
enemyDownNo++;
this.display1.downPerDis.gotoAndPlay("up");
} else {
this.display1.downPerDis.gotoAndPlay("down");
}
var _local2 = (enemyDownNo / enemyTotalNo) * 100;
if (_local2 < downPerLimit) {
this.display1.countDownStart(deadTime);
} else {
this.display1.countDownStop();
}
_local2 = Math.round(_local2 * 10) / 10;
downPer = this.adjustNumber(_local2);
this.display1.setData(downPer, downPerLimit);
}
function gameover() {
gameFlag = false;
this.t.gameover();
}
function adjustNumber(s) {
if (String(s).indexOf(".", 0) == -1) {
s = s + ".0";
}
return(s);
}
function attach(x, y, xsc, ysc, r, sx, sy, ta, type, name, deep) {
var _local4 = this.getDeep();
if (name == null) {
name = _local4;
}
if (deep != null) {
var _local5 = deep;
} else {
var _local5 = _local4;
}
ta.attachMovie(type, name, _local5);
ta[name]._x = x;
ta[name]._y = y;
ta[name]._xscale = xsc;
ta[name]._yscale = ysc;
ta[name]._rotation = r;
ta[name].sx = sx;
ta[name].sy = sy;
}
function setShot(wNo) {
var _local4 = this.getDeep3();
var _local3 = "e" + _local4;
_root.game.attachMovie(this["w" + wNo].amo, _local3, _local4);
_root.game[_local3]._x = this.t2._x;
_root.game[_local3]._y = this.t2._y;
_root.game[_local3].wNo = wNo;
_local4 = this.getDeep3();
_local3 = "a" + _local4;
_root.game.attachMovie(this["w" + wNo].ef, _local3, _local4);
_root.game[_local3]._x = this.t2._x - 60;
_root.game[_local3]._y = 30;
}
function setShotArea(wNo) {
var _local4 = this.getDeep3();
var _local3 = "e" + _local4;
_root.game.attachMovie(this["w" + wNo].amo, _local3, _local4);
_root.game[_local3]._x = this.t2._x;
_root.game[_local3]._y = this.t2._y;
_root.game[_local3].wNo = wNo;
}
function tsMove() {
this.t._x = _xmouse;
this.t._y = _ymouse;
if (this.t._y > -40) {
this.t._y = -40;
this.t._visible = false;
Mouse.show();
} else if (this.t._y < -360) {
this.t._y = -360;
Mouse.show();
} else {
this.t._visible = true;
Mouse.hide();
}
}
function gameStart() {
trace("---------------------------------------");
trace("\u3000\u30B2\u30FC\u30E0\u958B\u59CB");
trace("---------------------------------------");
this.attach(0, 0, 100, 100, 0, 0, 0, this, "targetScope", "t", 1000);
this.attach(0, 0, 100, 100, 0, 0, 0, this, "targetScope3", "t2", 1001);
gameFlag = true;
_root.bgmBox.bgmPlay("scoreAttack1");
}
function tsTrace() {
this.t2._x = this.t2._x - ((this.t2._x - _xmouse) / ex);
this.t2._y = this.t2._y - ((this.t2._y - _ymouse) / ex);
if (this.t2._y > -40) {
this.t2._y = -40;
this.t2._visible = false;
Mouse.show();
} else if (this.t2._y < -360) {
this.t2._y = -360;
} else {
this.t2._visible = true;
Mouse.hide();
}
}
function priHitCheck(x, y, wNo, name) {
trace("\u30D7\u30EA\u30C1\u30A7\u30C3\u30AF\u5B9F\u884C setItem=" + setItem);
var _local7 = x + 275;
var _local6 = y + 400;
i = 0;
while (i < enemyList.length) {
if (this[enemyList[i]].hitTest(_local7, _local6, true)) {
_root.game[name].removeMovieClip();
var _local4 = this.getDeep3();
_local4 = this.getDeep3;
var _local3 = "n" + _local4;
_root.game.attachMovie(this["w" + wNo].extAmo, _local3, _local4);
_root.game[_local3]._x = x;
_root.game[_local3]._y = y;
_root.game[_local3].wNo = wNo;
return(true);
}
i++;
}
return(false);
}
function extHit(x, y, wNo, name) {
var _local6 = x + 275;
var _local5 = y + 400;
var _local4 = this.getDeep3;
var _local3 = "n" + _local4;
_root.game.attachMovie(this["w" + wNo].extAmo, _local3, _local4);
_root.game[_local3]._x = x;
_root.game[_local3]._y = y;
_root.game[_local3].wNo = wNo;
}
function hitCheckAny(pas, wNo, x, y) {
trace("\u30CF\u30A4\u30F3\u306B\u547D\u4E2D\u30C1\u30A7\u30C3\u30AF pas=" + pas);
var _local4 = false;
var _local3 = 0;
i = 0;
while (i < enemyList.length) {
if (this[enemyList[i]].hitTest(pas.hArea)) {
this[enemyList[i]].hit(this["w" + wNo].dmg);
_local3++;
_local4 = true;
}
i++;
}
if (_local4) {
var _local6 = "hm" + Math.round(Math.random() * 6);
see.attachSound(_local6);
see.start(0, 1);
if (_local3 > 1) {
_local6 = this.getDeep3();
var _local8 = 1000 * Math.pow(2, _local3);
this.attach(x, y, 100, 100, 0, 0, 0, _root.game, "atc_hit", "hit" + _local6, _local6);
_root.game["hit" + _local6].no = _local3;
_root.game["hit" + _local6].score = _local8;
this.addScore(_local8);
}
}
return(_local4);
}
function hitCheck(x, y, wNo, name) {
x = x + 275;
y = y + 400;
i = 0;
while (i < enemyList.length) {
if (this[enemyList[i]].hitTest(x, y, true)) {
this[enemyList[i]].hit(this["w" + wNo].dmg);
return(true);
}
i++;
}
return(false);
}
function gameEnd() {
Mouse.show();
this.attach(0, -230, 100, 100, 0, 0, 0, _root.game, "dis_\u6226\u95D8\u7D42\u4E86", "end", 1200);
this.onMouseMove = null;
this.onMouseDown = null;
this.onEnterFrame = null;
mode = "end";
}
function endReload(wNo) {
var _local2 = "w" + wNo;
this[_local2].nowAmo = this[_local2].maxAmo;
getKey["w" + wNo] = 0;
}
function fire(wNo) {
var _local3 = "w" + wNo;
if (this[_local3].nowAmo > 0) {
this.t.fire.gotoAndPlay(1);
this.setShot(wNo);
this[_local3].nowAmo = this[_local3].nowAmo - this[_local3].useAmo;
_root.displays.weponDisplay[_local3].nowAmo = _root.displays.weponDisplay[_local3].nowAmo - this[_local3].useAmo;
if (this[_local3].nowAmo < 1) {
this[_local3].nowAmo = -1;
_root.displays.weponDisplay.reload(wNo, this[_local3].reloadWait);
}
}
}
function getKey() {
function setWeponStatas(slotNo, weponNo) {
var _local2 = "w" + slotNo;
trace((("\u6B66\u5668\u30C7\u30FC\u30BF\u751F\u6210 No=" + slotNo) + " weponNo=") + weponNo);
this[_local2] = new Object();
this[_local2].shotType = weponListAry[weponNo][2];
this[_local2].dmg = weponListAry[weponNo][3];
this[_local2].nowAmo = (this[_local2].maxAmo = weponListAry[weponNo][4]);
this[_local2].shotSpeed = weponListAry[weponNo][6];
this[_local2].reloadWait = weponListAry[weponNo][5];
this[_local2].amo = weponListAry[weponNo][8];
this[_local2].ef = weponListAry[weponNo][9];
this[_local2].extAmo = weponListAry[weponNo][10];
}
var _local4 = getTimer();
if (triga == 1) {
if (getKey.w1 < _local4) {
this.fire(1);
getKey.w1 = _local4 + this.w1.shotSpeed;
}
}
if (Key.isDown(keyConf.wepon2)) {
if (getKey.w2 < _local4) {
this.fire(2);
getKey.w2 = _local4 + this.w2.shotSpeed;
}
}
shotWait2++;
if (Key.isDown(keyConf.wepon3)) {
if (getKey.w3 < _local4) {
this.fire(3);
getKey.w3 = _local4 + this.w3.shotSpeed;
}
}
if (Key.isDown(keyConf.avoid)) {
if (avoidTriga == 1) {
if (_root.displays.avoidChecker.useAvoid()) {
this.avoid();
avoidTriga = 0;
}
}
} else {
avoidTriga = 1;
}
avoidFlag--;
}
function gameLoop() {
if (gameFlag) {
this.tsMove();
this.tsTrace();
this.getKey();
hitPer = this.adjustNumber(Math.round((((totalShot - noHitShot) / totalShot) * 100) * 10) / 10);
}
}
function popEnemy(type, x, y, xs, ys, spx, spy) {
this.attach(-240, y, 100, 100, 0, 0, 0, _root.game, "nav_enemy_l", null, null);
this.setEnemy(x, y, xs, ys, 0, spx, spy, type);
}
function setEnemy(x, y, xsc, ysc, r, sx, sy, type) {
totalPopEnemy++;
var _local2 = deep + 300;
this.attachMovie(type, _local2, _local2);
this[_local2]._x = x;
this[_local2]._y = y;
this[_local2]._xscale = xsc;
this[_local2]._yscale = ysc;
this[_local2].sx = sx;
this[_local2].sy = sy;
deep++;
if (deep > 100) {
deep = 0;
}
}
_quality = "MEDIUM";
deadTime = 5000;
weponListAry = new Array();
i = 0;
while (i < 60) {
weponListAry[i] = new Array();
i++;
}
weponListAry[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
weponListAry[1] = ["15mm\u6A5F\u9283", 1, 0, 5, 80, 1, 100, 1000, 5, "efa_shot", "efa_amo1", null, 2, 1, 1000, "\u4E00\u767A\u306E\u5A01\u529B\u306F\u4F4E\u3044\u304C\u3001\u9AD8\u901F\u9023\u5C04\u304C\u53EF\u80FD\u3002\u7DCF\u5408\u7684\u306A\uFF8A\uFF9E\uFF97\uFF9D\uFF7D\u306B\u512A\u308C\u3001\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[2] = ["15mm\u9023\u88C5\u6A5F\u9283", 1, 0, 10, 80, 2, 100, 1500, 6.7, "efa_shot2", "efa_amo2", null, 4, 2, 2500, "\u9023\u88C5\u3068\u306A\u308A\u706B\u529B\u304C\u5411\u4E0A\u3002\u305F\u3060\u3057\u5F3E\u85AC\u6D88\u8CBB\u304C\u6FC0\u3057\u304F\u3001\u5F3E\u5207\u308C\u3057\u6613\u3044\u3002\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[3] = ["20mm\u6A5F\u9283", 1, 0, 8, 70, 1, 120, 1200, 5.6, "efa_shot", "efa_amo1", null, 3, 3, 4000, "\u4E00\u767A\u306E\u5A01\u529B\u306F\u4F4E\u3044\u304C\u3001\u9AD8\u901F\u9023\u5C04\u304C\u53EF\u80FD\u3002\u7DCF\u5408\u7684\u306A\uFF8A\uFF9E\uFF97\uFF9D\uFF7D\u306B\u512A\u308C\u3001\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[4] = ["20mm\u9023\u88C5\u6A5F\u9283", 1, 0, 16, 70, 1, 120, 1700, 7.8, "efa_shot2", "efa_amo2", null, 6, 4, 6000, "\u9023\u88C5\u3068\u306A\u308A\u706B\u529B\u304C\u5411\u4E0A\u3002\u305F\u3060\u3057\u5F3E\u85AC\u6D88\u8CBB\u304C\u6FC0\u3057\u304F\u3001\u5F3E\u5207\u308C\u3057\u6613\u3044\u3002\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[5] = ["30mm\u6A5F\u9283", 1, 0, 14, 60, 1, 140, 1500, 6.7, "efa_shot", "efa_amo1", null, 4, 5, 10000, "\u4E00\u767A\u306E\u5A01\u529B\u306F\u4F4E\u3044\u304C\u3001\u9AD8\u901F\u9023\u5C04\u304C\u53EF\u80FD\u3002\u7DCF\u5408\u7684\u306A\uFF8A\uFF9E\uFF97\uFF9D\uFF7D\u306B\u512A\u308C\u3001\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[6] = ["30mm\u9023\u88C5\u6A5F\u9283", 1, 0, 28, 60, 1, 140, 2000, 10, "efa_shot2", "efa_amo2", null, 8, 6, 15000, "\u9023\u88C5\u3068\u306A\u308A\u706B\u529B\u304C\u5411\u4E0A\u3002\u305F\u3060\u3057\u5F3E\u85AC\u6D88\u8CBB\u304C\u6FC0\u3057\u304F\u3001\u5F3E\u5207\u308C\u3057\u6613\u3044\u3002\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[7] = ["20mm\u6A5F\u95A2\u7832(\u70B8)", 1, 1, 10, 20, 1, 200, 3000, 1.7, "efa_shot", "efa_amo1", "efa_fireBomb1", 6, 9, 30000, "\u70B8\u88C2\u5F3E\u3092\u9023\u5C04\u3067\u304D\u308B\u5F37\u529B\u306A\u6A5F\u95A2\u7832\u3001\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[8] = null;
weponListAry[9] = null;
weponListAry[10] = null;
weponListAry[11] = null;
weponListAry[12] = null;
weponListAry[13] = null;
weponListAry[14] = null;
weponListAry[15] = null;
weponListAry[16] = null;
weponListAry[17] = null;
weponListAry[18] = null;
weponListAry[19] = null;
weponListAry[20] = ["40mm\u5BFE\u7A7A\u7832", 2, 0, 30, 10, 1, 500, 1000, 6, "efa_gun1", null, null, 3, 2, 2000, "\u5C0F\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u305D\u3053\u305D\u3053\u306E\u5A01\u529B\u3092\u6301\u3061\u3001\u901F\u5C04\u304C\u53EF\u80FD\u3002\u5C0F\u578B\u8266\u3084\u91CD\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[21] = ["40mm\u5BFE\u7A7A\u7832(\u70B8)", 2, 1, 10, 5, 1, 800, 2000, 0.6, "efa_shot(88mm)", null, "efa_fireBomb1", 5, 3, 4000, "\u7BC4\u56F2\u653B\u6483\u304C\u53EF\u80FD\u306A\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[22] = ["40mm\u9023\u88C5\u5BFE\u7A7A\u7832", 2, 0, 60, 10, 2, 500, 1500, 8, "efa_shot(88mm)", null, null, 6, 4, 8000, "\u9023\u88C5\u7832\u3002\u4E00\u5C04\u6483\u306E\u5A01\u529B\u304C\u5927\u5E45\u306B\u5411\u4E0A\u3057\u305F\u304C\u3001\u5F3E\u85AC\u6D88\u8CBB\u3082\u6FC0\u3057\u304F\u306A\u3063\u305F\u3002"];
weponListAry[23] = ["75mm\u5BFE\u7A7A\u7832", 2, 0, 60, 10, 1, 700, 1200, 7.1, "efa_gun1", null, null, 5, 5, 7000, "\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u5341\u5206\u306A\u5A01\u529B\u3092\u6301\u3061\u3001\u901F\u5C04\u304C\u53EF\u80FD\u3002\u5C0F\u578B\u8266\u3084\u91CD\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[24] = ["75mm\u5BFE\u7A7A\u7832(\u70B8)", 2, 1, 25, 5, 1, 1000, 2200, 1.1, "efa_shot(88mm)", null, "efa_fireBomb1", 7, 6, 14000, "\u7BC4\u56F2\u653B\u6483\u304C\u53EF\u80FD\u306A\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[25] = ["75mm\u9023\u88C5\u5BFE\u7A7A\u7832", 2, 0, 180, 10, 2, 700, 1700, 15.1, "efa_shot(88mm)", null, null, 10, 7, 28000, "\u9023\u88C5\u7832\u3002\u4E00\u5C04\u6483\u306E\u5A01\u529B\u304C\u5927\u5E45\u306B\u5411\u4E0A\u3057\u305F\u304C\u3001\u5F3E\u85AC\u6D88\u8CBB\u3082\u6FC0\u3057\u304F\u306A\u3063\u305F\u3002"];
weponListAry[26] = ["88mm\u5BFE\u7A7A\u7832", 2, 0, 140, 10, 1, 900, 1500, 10.4, "efa_gun1", null, null, 7, 8, 12000, "\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u305D\u3053\u305D\u3053\u306E\u5A01\u529B\u3092\u6301\u3061\u3001\u901F\u5C04\u304C\u53EF\u80FD\u3002\u5C0F\u578B\u8266\u3084\u91CD\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[27] = ["88mm\u5BFE\u7A7A\u7832(\u70B8)", 2, 1, 50, 5, 1, 1200, 2500, 1.7, "efa_shot(88mm)", null, "efa_fireBomb1", 9, 9, 24000, "\u7BC4\u56F2\u653B\u6483\u304C\u53EF\u80FD\u306A\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[28] = ["88mm\u9023\u88C5\u5BFE\u7A7A\u7832", 2, 0, 280, 10, 2, 900, 2000, 15.6, "efa_shot(88mm)", null, null, 14, 10, 48000, "\u9023\u88C5\u7832\u3002\u4E00\u5C04\u6483\u306E\u5A01\u529B\u304C\u5927\u5E45\u306B\u5411\u4E0A\u3057\u305F\u304C\u3001\u5F3E\u85AC\u6D88\u8CBB\u3082\u6FC0\u3057\u304F\u306A\u3063\u305F\u3002"];
weponListAry[29] = ["120mm\u5BFE\u7A7A\u7832", 2, 0, 240, 10, 1, 1200, 1900, 10.5, "efa_gun1", null, null, 11, 11, 25000, "\u5927\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u305D\u3053\u305D\u3053\u306E\u5A01\u529B\u3092\u6301\u3061\u3001\u901F\u5C04\u304C\u53EF\u80FD\u3002\u5C0F\u578B\u8266\u3084\u91CD\u822A\u7A7A\u6A5F\u306B\u6709\u52B9\u3002"];
weponListAry[30] = ["120mm\u5BFE\u7A7A\u7832(\u70B8)", 2, 1, 80, 5, 1, 1500, 3000, 1.8, "efa_shot(88mm)", null, "efa_fireBomb1", 13, 12, 50000, "\u7BC4\u56F2\u653B\u6483\u304C\u53EF\u80FD\u306A\u4E2D\u53E3\u5F84\u5BFE\u7A7A\u7832\u3002\u822A\u7A7A\u6A5F\u7DE8\u968A\u306B\u6975\u3081\u3066\u6709\u52B9\u3002"];
weponListAry[31] = ["120mm\u9023\u88C5\u5BFE\u7A7A\u7832", 2, 0, 480, 10, 2, 1200, 2500, 16, "efa_shot(88mm)", null, null, 22, 13, 100000, "\u9023\u88C5\u7832\u3002\u4E00\u5C04\u6483\u306E\u5A01\u529B\u304C\u5927\u5E45\u306B\u5411\u4E0A\u3057\u305F\u304C\u3001\u5F3E\u85AC\u6D88\u8CBB\u3082\u6FC0\u3057\u304F\u306A\u3063\u305F\u3002"];
weponListAry[32] = ["210mm\u5BFE\u7A7A\u7832", 2, 0, 700, 5, 1, 1500, 4000, 11.7, "efa_gun1", null, null, 18, 15, 120000, "\u8D85\u5927\u578B\u5BFE\u7A7A\u7832\u3002\u51C4\u307E\u3058\u3044\u5A01\u529B\u3092\u6301\u3061\u3001\u5927\u578B\u6226\u8266\u306E\u88C5\u7532\u3082\u5BB9\u6613\u304F\u8CAB\u901A\u3059\u308B\u3002"];
weponListAry[33] = null;
weponListAry[34] = null;
weponListAry[35] = null;
weponListAry[36] = null;
weponListAry[37] = null;
weponListAry[38] = null;
weponListAry[39] = null;
weponListAry[40] = ["280mm\u5BFE\u8266\u9B5A\u96F7", 3, 0, 250, 2, 1, 1000, 2500, 10, "efa_rocket1", null, null, 5, 3, 5000, "\u7D76\u5927\u306A\u5A01\u529B\u3092\u8A87\u308B\u5BFE\u8266\u9B5A\u96F7\u3002\u8266\u8247\u306B\u5BFE\u3057\u3066\u6709\u52B9\u3002"];
weponListAry[41] = ["350mm\u5BFE\u8266\u9B5A\u96F7", 3, 0, 380, 2, 1, 1200, 2800, 11.3, "efa_rocket1", null, null, 9, 6, 18000, "\u7D76\u5927\u306A\u5A01\u529B\u3092\u8A87\u308B\u5BFE\u8266\u9B5A\u96F7\u3002\u8266\u8247\u306B\u5BFE\u3057\u3066\u6709\u52B9\u3002"];
weponListAry[42] = ["420mm\u5BFE\u8266\u9B5A\u96F7", 3, 0, 620, 2, 1, 1500, 3100, 13.3, "efa_rocket1", null, null, 14, 10, 40000, "\u7D76\u5927\u306A\u5A01\u529B\u3092\u8A87\u308B\u5BFE\u8266\u9B5A\u96F7\u3002\u8266\u8247\u306B\u5BFE\u3057\u3066\u6709\u52B9\u3002"];
weponListAry[43] = ["500mm\u5BFE\u8266\u9B5A\u96F7", 3, 0, 1100, 2, 1, 2000, 5000, 11, "efa_rocket1", null, null, 20, 14, 110000, "\u7D76\u5927\u306A\u5A01\u529B\u3092\u8A87\u308B\u5BFE\u8266\u9B5A\u96F7\u3002\u8266\u8247\u306B\u5BFE\u3057\u3066\u6709\u52B9\u3002"];
weponListAry[44] = null;
weponListAry[45] = ["280mm\u5BFE\u7A7A\u7206\u96F7", 3, 1, 40, 1, 1, 3000, 5000, 0.3, "efa_rocket2", null, "efa_fireBombSP", 7, 4, 20000, "\u975E\u5E38\u306B\u5E83\u3044\u52A0\u5BB3\u7BC4\u56F2\u3092\u6301\u3064\u4E0A\u306B\u3001\u591A\u6BB5\u547D\u4E2D\u3059\u308B\u9AD8\u6027\u80FD\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3002"];
weponListAry[46] = ["350mm\u5BFE\u7A7A\u7206\u96F7", 3, 1, 65, 1, 1, 4000, 6000, 0.3, "efa_rocket2", null, "efa_fireBombSP", 11, 7, 40000, "\u975E\u5E38\u306B\u5E83\u3044\u52A0\u5BB3\u7BC4\u56F2\u3092\u6301\u3064\u4E0A\u306B\u3001\u591A\u6BB5\u547D\u4E2D\u3059\u308B\u9AD8\u6027\u80FD\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3002"];
weponListAry[47] = ["420mm\u5BFE\u7A7A\u7206\u96F7", 3, 1, 100, 1, 1, 5000, 7000, 0.3, "efa_rocket2", null, "efa_fireBombSP", 16, 11, 76000, "\u975E\u5E38\u306B\u5E83\u3044\u52A0\u5BB3\u7BC4\u56F2\u3092\u6301\u3064\u4E0A\u306B\u3001\u591A\u6BB5\u547D\u4E2D\u3059\u308B\u9AD8\u6027\u80FD\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3002"];
weponListAry[48] = ["500mm\u5BFE\u7A7A\u7206\u96F7", 3, 1, 140, 1, 1, 6000, 8000, 0.3, "efa_rocket2", null, "efa_fireBombSP", 22, 15, 140000, "\u975E\u5E38\u306B\u5E83\u3044\u52A0\u5BB3\u7BC4\u56F2\u3092\u6301\u3064\u4E0A\u306B\u3001\u591A\u6BB5\u547D\u4E2D\u3059\u308B\u9AD8\u6027\u80FD\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3002"];
weponListAry[49] = null;
weponListAry[50] = ["70mm10\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84", 3, 0, 50, 10, 1, 200, 4000, 6.3, "efa_miniRocket", null, null, 7, 6, 18000, "\u9AD8\u5A01\u529B\u306E\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[51] = ["70mm10\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84(\u70B8)", 3, 1, 20, 10, 1, 200, 5500, 1.8, "efa_miniRocketExt", null, "efa_fireBomb1", 9, 8, 32000, "\u7BC4\u56F2\u653B\u6483\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[52] = ["70mm20\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84", 3, 0, 50, 20, 1, 200, 6000, 4.2, "efa_miniRocket", null, null, 15, 9, 36000, "\u9AD8\u5A01\u529B\u306E\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[53] = ["120mm10\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84", 3, 0, 120, 10, 1, 200, 5000, 12, "efa_miniRocket", null, null, 11, 8, 40000, "\u9AD8\u5A01\u529B\u306E\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[54] = ["120mm10\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84(\u70B8)", 3, 1, 40, 10, 1, 200, 6500, 3.1, "efa_miniRocketExt", null, "efa_fireBomb1", 13, 10, 70000, "\u7BC4\u56F2\u653B\u6483\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[55] = ["120mm20\u9023\u88C5\uFF9B\uFF79\uFF6F\uFF84", 3, 0, 120, 20, 1, 200, 7000, 8.6, "efa_miniRocket", null, null, 22, 11, 80000, "\u9AD8\u5A01\u529B\u306E\uFF9B\uFF79\uFF6F\uFF84\u5F3E\u3092\u9023\u7D9A\u767A\u5C04\u3067\u304D\u308B\u3002\u975E\u5E38\u306B\u5F37\u529B\u3060\u304C\u518D\u88C5\u586B\u306F\u975E\u5E38\u306B\u9045\u3044\u3002"];
weponListAry[56] = null;
weponListAry[57] = null;
weponListAry[58] = null;
weponListAry[59] = null;
weponListAry[60] = null;
trace("w=" + weponListAry[1]);
skillAry = _root.skillAry;
equipAry = _root.getStatus("equipAry");
this.setWeponStatas(1, equipAry[0]);
this.setWeponStatas(2, equipAry[1]);
this.setWeponStatas(3, equipAry[2]);
delete weponListAry;
trace("weponAry=" + weponListAry);
gameFlag = false;
_global.gameLv = 2;
score = 0;
this.addScore(0);
staBase = new Object();
staBase.wepon1 = 1;
staBase.wepon2 = 0;
staBase.wepon3 = 0;
staBase.hp = _root.getShipNowData("hp");
staBase.def = _root.getShipNowData("def");
staBase.free = _root.getShipNowData("free");
trace("hp=" + staBase.hp);
trace("def=" + staBase.def);
trace("free=" + staBase.free);
sta = new Object();
sta.hp = staBase.hp;
sta.def = staBase.def;
sta.free = staBase.free;
see2 = new Sound();
this.firstSet();
enemyList = new Array();
enemyNo = 0;
ex = 2;
see = new Sound();
mode = "game";
gameLv = 1;
keyConf = new Object();
keyConf.wepon2 = 90;
keyConf.wepon3 = 88;
keyConf.avoid = 32;
getKey.w1 = 0;
getKey.w2 = 0;
getKey.w3 = 0;
pop = 0.98;
shotWait2 = 0;
shotWait3 = 0;
sp = 1;
shotWait = 0;
shotWait2 = 9;
sd = new Object();
sd.enemyNo = new Array();
sd.enemyNo = [3, 4, 5, 8, 10, 5, 8, 10, 15, 20, 8, 10, 12, 18, 25];
sd.enemyPop = new Array();
sd.enemyPop = [98, 98, 98, 97, 96, 98, 98, 97, 97, 96, 98, 97, 97, 96, 95];
sd.enemyMax = [1, 1, 1, 2, 3, 2, 2, 3, 3, 4, 3, 4, 4, 4, 5];
totalEnemy = 0;
i3 = 0;
while (i3 < sd.enemyNo.length) {
totalEnemy = totalEnemy + sd.enemyNo[i3];
i3++;
}
totalPopEnemy = 0;
dis_gameLv = "\u6575\u6226\u529BLv " + gameLv;
this.onEnterFrame = function () {
if (mode == "game") {
this.gameLoop();
}
};
this.onMouseDown = function () {
triga = 1;
};
this.onMouseUp = function () {
triga = 0;
};
Mouse.show();
this.stop();
Symbol 928 MovieClip Frame 2
function getFps() {
time_count = time_count + 1;
if ((getTimer() - old_timer) >= time) {
tFps = Math.floor((time_count * 1000) / (getTimer() - old_timer));
fps = (tFps + "/") + fr;
old_timer = getTimer();
time_count = 0;
avFps = Math.floor(((avFps + tFps) / 2) * 10) / 10;
}
}
fr = 30;
time = 1000;
time_count = 0;
avFps = fr;
old_timer = getTimer();
this.onEnterFrame = function () {
this.getFps();
};
this.stop();
Symbol 937 Button
on (release) {
this.sendGo("write", "http://7.pro.tok2.com/~nextframe/cgi/test.php");
}
Symbol 938 Button
on (release) {
this.sendGo("write", "http://localhost/test.php");
}
Symbol 941 Button
on (release) {
this.sendGo("read", "http://localhost/test.php");
}
Symbol 943 Button
on (release) {
this.sendGo("check", "http://localhost/test.php");
}
Symbol 944 Button
on (release) {
this.sendGo("read", "http://7.pro.tok2.com/~nextframe/cgi/test.php");
}
Symbol 945 Button
on (release) {
this.sendGo("check", "http://7.pro.tok2.com/~nextframe/cgi/test.php");
}
Symbol 946 Button
on (release) {
this.sendGo("write", "http://127.0.0.1/~ohs21032/test.php");
}
Symbol 947 Button
on (release) {
this.sendGo("read", "http://127.0.0.1/~ohs21032/test.php");
}
Symbol 952 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 970 MovieClip Frame 1
frm_no = _parent._name;
Symbol 975 MovieClip Frame 1
function getData() {
ary = _parent._parent.getData(Number(_parent._name) - 1);
gd = new Object();
gd.score = ary[0];
gd.hitPer = ary[1];
gd.downPer = ary[2];
gd.shipType = ary[3];
gd.shipName = ary[4];
gd.shipLv = ary[5];
gd.shipCustum = ary[6];
gd.wn1 = ary[7];
gd.wl1 = ary[8];
gd.wn2 = ary[9];
gd.wl2 = ary[10];
gd.wn3 = ary[11];
gd.wl3 = ary[12];
gd.playerName = ary[13];
gd.icons = ary[14];
frm_no = _name;
frm_score = gd.score;
if (gd.shipLv > 0) {
frm_shipName = (gd.shipName + " \u6539") + gd.shipLv;
} else {
frm_shipName = gd.shipName;
}
frm_name = gd.playerName;
}
this.getData();
Symbol 976 Button
on (release) {
trace("\u62BC\u3055\u308C\u305F");
_parent.setWindow(_name);
}
Symbol 977 MovieClip Frame 17
this.stop();
Symbol 981 Button
on (release) {
this.gotoAndStop("first");
}
Symbol 987 MovieClip Frame 1
function sendGo(com, address) {
mes = "";
gd = new Object();
gd.score = frm_score;
gd.hitPer = "90.0";
gd.downPer = "90.0";
gd.shipType = 1;
gd.shipName = "\u7279\u8A66\u25CB\u25CB\u4E00\u578B";
gd.shipLv = 0;
gd.shipCustum = null;
gd.wn1 = 101;
gd.wl1 = 0;
gd.wn2 = 0;
gd.wl2 = 0;
gd.wn3 = 0;
gd.wl3 = 0;
gd.playerName = frm_name;
gd.playerCustum = null;
gd.comment = "TANAKA U\u30E9\u30F3\u30AD\u30F3\u30B0\u30C6\u30B9\u30C8\u30C7\u30FC\u30BF";
trace("\n\u25A0sendGo\u5B9F\u884C");
this.dataSendAndLoad(address, "_blank", "POST", com, gd);
}
function timeOut() {
trace("\u30BF\u30A4\u30E0\u30A2\u30A6\u30C8\uFF01");
trace("this.=" + this);
this.gotoAndPlay("error");
}
function error() {
trace("\u30BF\u30A4\u30E0\u30A2\u30A6\u30C8\uFF01");
errorMes = "- \u901A\u4FE1\u304C\u30BF\u30A4\u30E0\u30A2\u30A6\u30C8\u3057\u307E\u3057\u305F -";
this.gotoAndPlay("error");
}
function dataSendAndLoad(targetAd, targetWind, method, com, gd) {
trace((("gd=" + gd) + " gd.name=") + gd.playerName);
mes = mes + "\ndataSendAndLoad\u5B9F\u884C";
trace("\u25A0dataSendAndLoad\u5B9F\u884C----------------------------------");
trace("\u30A2\u30C9\u30EC\u30B9=" + targetAd);
trace((("\u30BF\u30FC\u30B2\u30C3\u30C8\u30A6\u30A4\u30F3\u30C9\u30A6=" + targetWind) + "\u3000\u30E1\u30BD\u30C3\u30C9=") + method);
trace("\u30B3\u30DE\u30F3\u30C9=" + com);
trace((("\u540D\u524D=" + name) + " SCORE=") + score);
trace("------------------------------------------------------");
sender = new LoadVars();
geter = new LoadVars();
sender.fileName = fileName;
if (com == "write") {
sender.score = gd.score;
sender.hitPer = gd.hitPer;
sender.downPer = gd.downPer;
sender.shipType = gd.shipType;
sender.shipName = gd.shipName;
sender.shipLv = gd.shipLv;
sender.shipCustum = null;
sender.wn1 = gd.wn1;
sender.wl1 = gd.wl1;
sender.wn2 = gd.wn2;
sender.wl2 = gd.wl2;
sender.wn3 = gd.wn3;
sender.wl3 = gd.wl3;
sender.playerName = gd.playerName;
sender.playerCustum = null;
sender.comment = gd.comment;
}
sender.com = com;
sender.sendAndLoad(targetAd, geter, "POST");
timeOutCounter = setInterval(error, t);
errorMes = "";
geter.onLoad = endLoadData;
this.gotoAndPlay("sending");
}
function endLoadData(sf) {
clearInterval(timeOutCounter);
ad = _root.cgiSender;
if (sf) {
trace("\u25A0\u53D7\u4FE1\u5B8C\u4E86");
getAry = new Array();
getAry = String(geter.result).split("\r\n");
trace("getAry[0]=" + getAry[0]);
ad.gotoAndPlay("ranking");
} else {
ad.error();
errorMes = "- \u30C7\u30FC\u30BF\u306E\u9001\u53D7\u4FE1\u306B\u5931\u6557\u3057\u307E\u3057\u305F -";
trace("\u25A0\u30C7\u30FC\u30BF\u53D7\u4FE1\u306B\u5931\u6557\u3000\u5BFE\u8C61\u30A2\u30C9\u30EC\u30B9\u304C\u5B58\u5728\u3057\u306A\u3044\u304B\u3001\u30B5\u30FC\u30D0\u30FC\u304C\u505C\u6B62\u3057\u3066\u3044\u307E\u3059\u3002");
}
}
mes = "";
t = 5000;
fileName = "test.as";
Symbol 987 MovieClip Frame 2
_global.cgiTargetAd = "http://nextframe.jp/cgi/danmaku/test.php";
this.sendGo("read", _global.cgiTargetAd);
Symbol 987 MovieClip Frame 18
this.stop();
Symbol 987 MovieClip Frame 20
function getData(no) {
var _local1 = getAry[no].split(",");
return(_local1);
}
function setWindow(no) {
trace("\u30E1\u30BD\u30C3\u30C9\u5B9F\u884C");
if (this.window == undefined) {
this.attachMovie("ranking_Window", "window", 10);
this.window._x = 0;
this.window._y = 190;
this.window.n = no - 1;
}
}
_root.bgmBox.bgmPlay("ranking");
Symbol 987 MovieClip Frame 57
this.stop();
Symbol 987 MovieClip Frame 66
this.stop();