Frame 3
nowVer = "2.51";
this.stop();
Frame 6
this.gotoAndPlay(_currentframe - 2);
Frame 7
this.gotoAndPlay(_currentframe - 2);
Frame 10
this.gotoAndStop("error");
Frame 11
function getVol() {
return(theSound.getVolume());
}
function setVol(v) {
so.data.vol = v;
theSound.setVolume(v);
}
function stageSelect(s) {
_global.nowStage = s * 1;
nowStage = 1 + ((s - 1) * 4);
}
function chengeScene(sceneName, com) {
theSound.stop();
this.allItemClear();
_root.gotoAndStop(sceneName);
}
function allItemClear() {
i = 0;
while (i < 500) {
_root.attachMovie("removeItem", "temp", i);
i++;
}
}
function mainCharEnd() {
_root.attachMovie("scene_game_mask", "mask", 1000);
_root.mask._x = 320;
_root.mask._y = 200;
}
_root.attachMovie("targetSarcle", "targetSarcle", 1503);
_root.targetSarcle._y = -300;
Mouse.show();
_quality = "MEDIUM";
theSound = new Sound();
_global.nowStage = 1;
nowStage = 1;
_global.nowShip = 0;
_global.gameLv = 1;
_global.mapMaxX = 640;
_global.clearFlag = 0;
dataLoadFlag = 0;
shipStatas = new Array();
shipStatas[0] = ["\u30D0\u30E9\u30F3\u30B9\u578B", "-", 3, 6, 5, 3, 4, 2, 99, 99];
shipStatas[1] = ["\u706B\u529B\u91CD\u8996\u578B", "-", 4, 2, 1, 2, 3, 0, 99, 99];
shipStatas[2] = ["\u7CBE\u5BC6\u5C04\u6483\u578B", "-", 2, 4, 6, 4, 4, 2, 99, 99];
shipStatas[3] = ["\u8010\u4E45\u91CD\u8996\u578B", "-", 2, 5, 3, 4, 6, 1, 99, 99];
shipStatas[8] = ["\u7279\u6B8A\u578B\u7532", "\u5C04\u6570\u304C\u591A\u304F\u9AD8\u3044\u706B\u529B\u3092\u6301\u3064\u304C\u3001\u9023\u7D9AHIT\u306F\u72D9\u3044\u306B\u304F\u3044\u3001\u521D\u5FC3\u8005\u5411\u3051", 10, 5, 2, 5, 5];
shipStatas[9] = ["\u7279\u6B8A\u578B\u4E59", "\u5C04\u6570\u304C\u591A\u304F\u9AD8\u3044\u706B\u529B\u3092\u6301\u3064\u304C\u3001\u9023\u7D9AHIT\u306F\u72D9\u3044\u306B\u304F\u3044\u3001\u521D\u5FC3\u8005\u5411\u3051", 1, 20, 2, 5, 5];
shipStatas[11] = ["\u8266\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "-", 1, 1, 1, 1, 1, 35, 99, 99];
extraWeponData = new Array();
extraWeponData[0] = [0, "tama_mainChar_AA", "\u5BFE\u7A7A\u7832", 0, 1, 4, 20];
extraWeponData[1] = [0, "tama_mainChar_big", "\u5927\u53E3\u5F84\u81FC\u7832", 0, 1, -3, 10];
extraWeponData[2] = [0, "tama_mainChar_bl", "\u901F\u5C04\u7832", 5, 0, 11, 50];
extraWeponData[3] = [0, "tama_mainChar_cl", "\u62E1\u6563\u5782\u7206\u5F0F\u7832\u5F3E", 300, 1, 3, 15];
extraWeponData[4] = [0, "tama_mainChar_nk", "\u71C3\u6599\u6C17\u5316\u7832\u5F3E", 0, 1, 0, 1.6];
extraWeponData[5] = [0, "zero", "\u7279\u96F6\u5F0F\u8377\u96FB\u7832", 0, 1, 3, 1];
extraWeponData[6] = [0, "", "\u7206\u6483\u652F\u63F4\u8981\u8ACB", 0, 1, 3, 1];
so = SharedObject.getLocal("myData");
if ((so.data.shipData != null) && (so.data.shipData[1] == "ok")) {
dataLoadFlag = 1;
i = 0;
while (i < 10) {
_root.shipStatas[11][i] = so.data.shipData[i];
i++;
}
_global.score = so.data.score;
_global.score = Math.round(_global.score);
_global.allMaxHitCnt = so.data.allMaxHitCnt;
} else {
shipStatas[11] = ["\u8266\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044", "-", 1, 1, 1, 1, 1, 50, 99, 99];
so.data.clearStageData = [1, 1, 1, 1, 1];
so.data.shipData = new Array();
so.data.extraData = new Array();
so.data.extraData = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
_global.score = 0;
so.data.allMaxHitCnt = (_global.allMaxHitCnt = 0);
vol = (so.data.vol = 70);
}
if (so.data.hellClearFlag2 == null) {
so.data.hellClearFlag2 = 0;
}
if (so.data.extraData == null) {
so.data.extraData = new Array();
so.data.extraData = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
if (_root.so.data.keyMode == null) {
_root.so.data.keyMode = 1;
}
if (so.data.quality == null) {
so.data.quality = "MEDIUM";
} else {
_root._quality = so.data.quality;
}
if (so.data.vol == null) {
vol = (so.data.vol = 70);
} else {
vol = so.data.vol;
}
if (so.data.shipData[8] == null) {
so.data.shipData[8] = 99;
}
if (so.data.shipData[9] == null) {
so.data.shipData[9] = 99;
}
if (so.data.clearStageData == null) {
so.data.clearStageData = [1, 1, 1, 1, 0, 1, 0, 1];
}
theSound.setVolume(vol);
this.stop();
Frame 13
this.gotoAndStop("error");
Frame 16
this.gotoAndPlay(_currentframe - 2);
Frame 17
this.gotoAndPlay(_currentframe - 2);
Frame 20
this.gotoAndStop("error");
Frame 21
this.stop();
Instance of Symbol 875 MovieClip in Frame 21
onClipEvent (load) {
firstFlag = 1;
}
Frame 23
this.gotoAndStop("error");
Frame 30
this.gotoAndStop("error");
Frame 31
function conHitCounter(flag) {
if (flag) {
hitCnt++;
if (hitCnt > maxHitCnt) {
maxHitCnt = hitCnt;
}
if (hitCnt == 1) {
return("HIT!");
}
_root.display.hitDis.setCnt(hitCnt);
return(hitCnt + "HIT!!");
}
_root.display.hitDis.setCnt(0);
hitCnt = 0;
}
function getMaxHit() {
return(maxHitCnt);
}
function setStage(command) {
stageNo = stageData[nowStage][0];
stageName = stageData[nowStage][1];
bossFlag = stageData[nowStage][2];
grandName = stageData[nowStage][3];
if (grandName != 0) {
x = 0;
if (_root.oldGrand != undefined) {
var x = _global.mapMaxX;
}
grandName = "char_grand" + grandName;
_root.attachMovie(grandName, "grand", grandDeep);
_root.grand._x = x;
_root.grand._y = 300;
grandDeep++;
if (grandDeep > 6) {
grandDeep = 2;
}
}
if (bossFlag) {
if (_global.nowStage == 10) {
_root.bgmBox.changeBgm(663);
} else {
_root.bgmBox.changeBgm(44);
}
_root.attachMovie("atcItem_warning", "warning", 30);
_root.warning._x = 320;
_root.warning._y = 149;
}
setSpace = _global.mapMaxX / 10;
if (command == "first") {
setX = 0;
} else {
setX = _global.mapMaxX;
}
enemyNo = 0;
i = 4;
while (i < stageData[nowStage].length) {
no = stageData[nowStage][i];
if (no != 0) {
if (no == 1) {
tempName = "mapShip";
} else {
enemyNo++;
tempName = "e" + enemyNo;
}
_root.attachMovie(charNameList[no], tempName, i + 10);
_root[tempName]._x = setX;
_root[tempName]._y = 300;
if (no == 1) {
var ti = (i + 10);
_root[tempName]._xscale = 10;
_root[tempName]._yscale = 10;
}
if ((no == 2) || (no == 23)) {
_root[tempName]._xscale = -10;
_root[tempName]._yscale = 10;
}
if ((no == 3) || (no == 25)) {
_root[tempName]._xscale = (_root[tempName]._yscale = 15);
}
if ((no == 4) || (no == 22)) {
_root[tempName]._xscale = (_root[tempName]._yscale = 15);
}
if (no == 5) {
_root[tempName]._x = 1500;
_root[tempName]._y = 100;
_root[tempName]._name = "boss";
}
if (no == 16) {
_root[tempName]._x = 1232.4;
_root[tempName]._name = "boss";
}
if ((no == 17) || (no == 26)) {
_root[tempName]._xscale = (_root[tempName]._yscale = 30);
_root[tempName]._name = "boss";
}
if (no == 18) {
_root[tempName]._name = "boss";
}
if (no == 34) {
_root[tempName]._name = "boss";
}
if (no == 35) {
_root[tempName]._xscale = (_root[tempName]._yscale = 150);
_root[tempName]._y = 260;
_root[tempName]._name = "boss";
}
if (no == 36) {
_root[tempName]._x = 961;
_root[tempName]._y = 12.5;
_root[tempName]._name = "boss";
}
if (no == 38) {
_root[tempName]._xscale = (_root[tempName]._yscale = 20);
}
if (no == 39) {
_root[tempName]._x = 578;
_root[tempName]._name = "boss";
}
if (no == 41) {
_root[tempName]._x = 1180;
_root[tempName]._name = "boss";
}
}
setX = setX + setSpace;
i++;
}
}
function breakEnemy() {
enemyNo--;
if (enemyNo <= 0) {
nowStage++;
_root.grand._name = "oldGrand";
if (bossFlag) {
_root.attachMovie("scene_clear", "sceneClear", 11);
_root.sceneClear._x = 320;
_root.sceneClear._y = 160;
} else {
_root.mapShip.nextStage();
this.setStage();
}
}
}
function gameStart() {
_root.mapShip.flag = 1;
i = 1;
while (i < 10) {
var name = ("e" + i);
_root[name].flag = 1;
i++;
}
_root.boss.flag = 1;
}
function newStage() {
_root.display.ChangeHpMax();
}
function removeRDeep() {
i = 100;
while (i < 400) {
_root.attachMovie("removeItem", "temp", i);
i++;
}
}
_global.seaLineY = 300;
_global.rDeep = 100;
hitCnt = 0;
maxHitCnt = 0;
nextStageFlag = 0;
grandDeep = 2;
slideMove = _global.mapMaxX;
charNameList = new Array();
charNameList[1] = "char_ship_main";
charNameList[2] = "char_ship_senkan";
charNameList[3] = "char_ship_kubo";
charNameList[4] = "char_ship_kutikiu";
charNameList[5] = "char_aircraft_bakugeki";
charNameList[10] = "char_yousai_hou0";
charNameList[11] = "char_yousai_hou1";
charNameList[12] = "char_yousai_hou2";
charNameList[13] = "char_yousai_kouku0";
charNameList[14] = "char_yousai_kouku1";
charNameList[15] = "char_yousai_kouku2";
charNameList[16] = "char_yousai_sireitou";
charNameList[17] = "char_ship_koukuSenkan";
charNameList[18] = "char_lastBoss1";
charNameList[19] = "char_lastBoss2";
charNameList[20] = "char_ship_hyouteki";
charNameList[21] = "char_ship_senkan2";
charNameList[22] = "char_ship_rocket";
charNameList[23] = "char_ship_rocketSenkan";
charNameList[24] = "char_aircraft_heri";
charNameList[25] = "char_ship_kubo2";
charNameList[26] = "char_ship_bSenkan";
charNameList[27] = "char_yousai_rocket0";
charNameList[28] = "char_yousai_rocket1";
charNameList[29] = "char_yousai_rocket2";
charNameList[34] = "char_aircraft_bHeri";
charNameList[35] = "char_g_bTank";
charNameList[36] = "char_lastBoss3";
charNameList[38] = "char_ship_youriku";
charNameList[39] = "char_yousai_gate1";
charNameList[40] = "char_aircraft_bHeri2";
charNameList[41] = "char_yousai_gate2";
charNameList[99] = "removeShip";
stageData = new Array();
stageData[0] = [9, 88, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0];
stageData[1] = [9, 88, 0, 0, 0, 1, 0, 0, 0, 0, 0, 4, 4, 0];
stageData[2] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 0];
stageData[3] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 2, 0];
stageData[4] = [9, 88, 1, 0, 0, 0, 0, 0, 0, 2, 0, 2, 2, 0];
stageData[5] = [9, 88, 0, 0, 0, 1, 0, 0, 0, 0, 4, 0, 3, 0];
stageData[6] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 3, 0];
stageData[7] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 2, 0];
stageData[8] = [9, 88, 1, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 5];
stageData[9] = [9, 88, 0, 1, 0, 1, 0, 0, 0, 0, 10, 14, 12, 0];
stageData[10] = [9, 88, 0, 2, 0, 0, 0, 0, 0, 0, 11, 12, 0, 13];
stageData[11] = [9, 88, 0, 3, 0, 0, 0, 0, 0, 0, 12, 0, 14, 10];
stageData[12] = [9, 88, 1, 4, 0, 0, 0, 0, 0, 0, 10, 11, 15, 16];
stageData[13] = [9, 88, 0, 0, 0, 1, 0, 0, 0, 4, 4, 4, 2, 0];
stageData[14] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 4, 2, 0, 3, 4];
stageData[15] = [9, 88, 0, 0, 0, 0, 0, 0, 3, 0, 2, 4, 2, 0];
stageData[16] = [9, 88, 1, 0, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0];
stageData[17] = [9, 88, 0, 1, 0, 1, 0, 0, 0, 0, 10, 14, 12, 0];
stageData[18] = [9, 88, 0, 2, 0, 0, 0, 0, 0, 0, 11, 12, 0, 13];
stageData[19] = [9, 88, 0, 6, 0, 0, 0, 0, 0, 0, 10, 11, 10, 15];
stageData[20] = [9, 88, 1, 5, 0, 0, 0, 0, 0, 0, 0, 0, 18];
stageData[21] = [9, 88, 0, 0, 0, 1, 0, 0, 0, 0, 0, 4, 22, 0];
stageData[22] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 0, 22, 0, 22, 0];
stageData[23] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 0, 22, 0, 23, 0];
stageData[24] = [9, 88, 1, 0, 0, 0, 0, 0, 0, 22, 0, 23, 23, 0];
stageData[25] = [9, 88, 0, 0, 0, 1, 0, 0, 0, 0, 4, 22, 25, 0];
stageData[26] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 22, 2, 0, 25, 0];
stageData[27] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 22, 0, 25, 25, 0];
stageData[28] = [9, 88, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 0];
stageData[29] = [9, 88, 0, 0, 0, 1, 0, 0, 0, 4, 0, 0, 38];
stageData[30] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 38];
stageData[31] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 99, 0, 38, 0, 38];
stageData[32] = [9, 88, 1, 0, 0, 0, 0, 0, 34, 0, 0, 0, 0, 0];
stageData[33] = [9, 88, 0, 6.5, 0, 0, 1, 0, 0, 0, 25, 0, 28, 15];
stageData[34] = [9, 88, 0, 7, 0, 0, 0, 0, 0, 24, 24, 0, 29, 28];
stageData[35] = [9, 88, 0, 8, 0, 0, 0, 0, 0, 24, 0, 24, 27, 15];
stageData[36] = [9, 88, 1, 9, 0, 0, 0, 0, 0, 0, 0, 0, 35, 0];
stageData[37] = [9, 88, 0, 21, 0, 1, 0, 0, 0, 25, 0, 0, 39];
stageData[38] = [9, 88, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 40];
stageData[39] = [9, 88, 0, 23, 0, 0, 0, 0, 0, 0, 0, 0, 41];
stageData[40] = [9, 88, 1, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36];
stageData[50] = [9, 88, 0, 0, 0, 1, 0, 0, 0, 0, 0, 20, 0, 0];
stageData[51] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 0];
stageData[52] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 0];
stageData[53] = [9, 88, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13];
stageData[60] = [9, 88, 0, 0, 0, 1, 0, 0, 0, 0, 0, 21, 0, 0];
stageData[100] = [9, 88, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0];
this.onEnterFrame = function () {
if (_global.rDeep > 400) {
_global.rDeep = 100;
}
if (nextStageFlag == 1) {
tempMove = slideMove / 20;
slideMove = slideMove - tempMove;
_root.mapShip._x = _root.mapShip._x - (tempMove / 1.1);
_root.grand._x = _root.grand._x - tempMove;
_root.oldGrand._x = _root.oldGrand._x - tempMove;
i = 1;
while (i < 10) {
_root["e" + i]._x = _root["e" + i]._x - tempMove;
i++;
}
_root.boss._x = _root.boss._x - tempMove;
if (_root.mapShip._x <= 66) {
slideMove = _global.mapMaxX;
this.gameStart();
_root.oldGrand.removeMovieClip();
nextStageFlag = 0;
}
}
};
this.stop();
Instance of Symbol 916 MovieClip "display" in Frame 31
onClipEvent (unload) {
_root.songai = Math.floor(this.getSongai());
}
Instance of Symbol 980 MovieClip in Frame 31
/* no clip actions */
Frame 33
this.gotoAndStop("error");
Frame 40
this.gotoAndStop("error");
Frame 41
function conHitCounter(flag) {
if (flag) {
hitCnt++;
if (hitCnt > maxHitCnt) {
maxHitCnt = hitCnt;
}
if (hitCnt == 1) {
return("HIT!");
}
_root.display.hitDis.setCnt(hitCnt);
return(hitCnt + "HIT!!");
}
_root.display.hitDis.setCnt(0);
hitCnt = 0;
}
function getMaxHit() {
return(maxHitCnt);
}
function setStage(command) {
stageNo = stageData[nowStage][0];
stageName = stageData[nowStage][1];
bossFlag = stageData[nowStage][2];
grandName = stageData[nowStage][3];
if (grandName != 0) {
x = 0;
if (_root.oldGrand != undefined) {
var x = _global.mapMaxX;
}
grandName = "char_grand" + grandName;
_root.attachMovie(grandName, "grand", grandDeep);
_root.grand._x = x;
_root.grand._y = 300;
grandDeep++;
if (grandDeep > 6) {
grandDeep = 2;
}
}
if (bossFlag) {
if (_global.nowStage == 10) {
_root.bgmBox.changeBgm(663);
} else {
_root.bgmBox.changeBgm(44);
}
_root.attachMovie("atcItem_warning", "warning", 30);
_root.warning._x = 320;
_root.warning._y = 149;
}
setSpace = _global.mapMaxX / 10;
if (command == "first") {
setX = 0;
} else {
setX = _global.mapMaxX;
}
enemyNo = 0;
i = 4;
while (i < stageData[nowStage].length) {
no = stageData[nowStage][i];
if (no != 0) {
if (no == 1) {
tempName = "mapShip";
} else {
enemyNo++;
tempName = "e" + enemyNo;
}
_root.attachMovie(charNameList[no], tempName, i + 10);
_root[tempName]._x = setX;
_root[tempName]._y = 300;
if (no == 1) {
var ti = (i + 10);
_root[tempName]._xscale = 10;
_root[tempName]._yscale = 10;
}
if ((no == 2) || (no == 23)) {
_root[tempName]._xscale = -10;
_root[tempName]._yscale = 10;
}
if ((no == 3) || (no == 25)) {
_root[tempName]._xscale = (_root[tempName]._yscale = 15);
}
if (((no == 4) || (no == 22)) || (no == 20)) {
_root[tempName]._xscale = (_root[tempName]._yscale = 15);
}
if (no == 5) {
_root[tempName]._x = 1500;
_root[tempName]._y = 100;
_root[tempName]._name = "boss";
}
if (no == 16) {
_root[tempName]._x = 1232.4;
_root[tempName]._name = "boss";
}
if ((no == 17) || (no == 26)) {
_root[tempName]._xscale = (_root[tempName]._yscale = 30);
_root[tempName]._name = "boss";
}
if (no == 18) {
_root[tempName]._name = "boss";
}
if (no == 34) {
_root[tempName]._name = "boss";
}
if (no == 35) {
_root[tempName]._xscale = (_root[tempName]._yscale = 150);
_root[tempName]._y = 260;
_root[tempName]._name = "boss";
}
if (no == 36) {
_root[tempName]._x = 961;
_root[tempName]._y = 12.5;
_root[tempName]._name = "boss";
}
if (no == 38) {
_root[tempName]._xscale = (_root[tempName]._yscale = 20);
}
if (no == 39) {
_root[tempName]._x = 578;
_root[tempName]._name = "boss";
}
if (no == 41) {
_root[tempName]._x = 1180;
_root[tempName]._name = "boss";
}
}
setX = setX + setSpace;
i++;
}
}
function breakEnemy() {
enemyNo--;
if (enemyNo <= 0) {
nowStage++;
_root.grand._name = "oldGrand";
if (bossFlag) {
_root.attachMovie("scene_clear", "sceneClear", 11);
_root.sceneClear._x = 320;
_root.sceneClear._y = 160;
} else {
i = 100;
while (i < 200) {
var name = ("aircraft" + i);
_root[name].bomb();
i++;
}
_root.mapShip.nextStage();
this.setStage();
}
}
}
function gameStart() {
_root.mapShip.flag = 1;
i = 1;
while (i < 10) {
var name = ("e" + i);
_root[name].flag = 1;
i++;
}
_root.boss.flag = 1;
}
function newStage() {
_root.display.ChangeHpMax();
}
_root.targetSarcle.conMeth(1);
_quality = "MEDIUM";
_global.seaLineY = 300;
_global.rDeep = 100;
_global.nowShip = 0;
_global.gameLv = 2;
hitCnt = 0;
maxHitCnt = 0;
nextStageFlag = 0;
grandDeep = 2;
slideMove = 700;
nowStage = 50;
charNameList = new Array();
charNameList[1] = "char_ship_main";
charNameList[2] = "char_ship_senkan";
charNameList[3] = "char_ship_kubo";
charNameList[4] = "char_ship_kutikiu";
charNameList[5] = "char_aircraft_bakugeki";
charNameList[10] = "char_yousai_hou0";
charNameList[11] = "char_yousai_hou1";
charNameList[12] = "char_yousai_hou2";
charNameList[13] = "char_yousai_kouku0";
charNameList[14] = "char_yousai_kouku1";
charNameList[15] = "char_yousai_kouku2";
charNameList[16] = "char_yousai_sireitou";
charNameList[17] = "char_ship_koukuSenkan";
charNameList[18] = "char_lastBoss1";
charNameList[19] = "char_lastBoss2";
charNameList[20] = "char_ship_hyouteki";
charNameList[38] = "char_ship_youriku";
charNameList[99] = "removeShip";
stageData = new Array();
stageData[50] = [9, 88, 0, 0, 0, 1, 0, 0, 0, 0, 20, 20, 20, 0];
stageData[51] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 20, 20, 20, 20, 0];
stageData[52] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 0];
stageData[53] = [9, 88, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0];
stageData[54] = [9, 88, 0, 99, 0, 0, 0, 0, 0, 0, 0, 2, 3, 0];
stageData[55] = [9, 88, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10];
this.onEnterFrame = function () {
if (_global.rDeep > 400) {
_global.rDeep = 100;
}
if (nextStageFlag == 1) {
tempMove = slideMove / 20;
slideMove = slideMove - tempMove;
_root.mapShip._x = _root.mapShip._x - (tempMove / 1.1);
_root.grand._x = _root.grand._x - tempMove;
_root.oldGrand._x = _root.oldGrand._x - tempMove;
i = 1;
while (i < 10) {
_root["e" + i]._x = _root["e" + i]._x - tempMove;
i++;
}
_root.boss._x = _root.boss._x - tempMove;
if (_root.mapShip._x <= 66) {
slideMove = _global.mapMaxX;
this.dis.play();
this.gameStart();
_root.oldGrand.removeMovieClip();
nextStageFlag = 0;
}
}
};
this.setStage("first");
this.play();
Frame 44
this.display.setEnsyu();
ad = eval (_root.mapShip);
ad.extraWeponFlag = 1;
ad.nowExt = _root.so.data.shipData[8];
ad.atcNameExt = _root.extraWeponData[1][1];
_root.bgmBox.changeBgm(0);
this.gameStart();
this.stop();
Frame 45
this.gotoAndStop("error");
Frame 50
this.gotoAndStop("error");
Frame 51
_root.targetSarcle.conMeth(0);
this.stop();
Instance of Symbol 976 MovieClip "firstDisplay" in Frame 51
onClipEvent (load) {
spMode = 1;
this.stop();
}
onClipEvent (enterFrame) {
scene = 999;
this.stop();
}
Frame 53
this.gotoAndStop("error");
Frame 79
this.gotoAndStop("error");
Frame 80
this.gotoAndStop("error");
Frame 81
_root.targetSarcle.conMeth(0);
_root.allItemClear();
_root.bgmBox.changeBgm(0);
Frame 86
this.gotoAndStop("error");
Frame 87
this.gotoAndStop("error");
Frame 111
this.gotoAndPlay(_currentframe + 5);
Frame 112
this.gotoAndPlay(_currentframe + 5);
Frame 113
this.gotoAndPlay(_currentframe + 5);
Frame 114
this.gotoAndPlay(_currentframe + 5);
Frame 115
this.gotoAndPlay(_currentframe + 5);
Frame 119
this.stop();
Frame 122
this.stop();
Frame 126
this.gotoAndPlay(_currentframe - 5);
Frame 127
this.gotoAndPlay(_currentframe - 5);
Frame 128
this.gotoAndPlay(_currentframe - 5);
Frame 129
this.gotoAndPlay(_currentframe - 5);
Frame 130
this.gotoAndPlay(_currentframe - 5);
Symbol 11 MovieClip Frame 1
_visible = false;
Symbol 19 MovieClip [char_ship_bSenkan] Frame 1
function shot() {
kakudo = ((-((Math.random() * 90) + 90)) * Math.PI) / 180;
sY = power2 * Math.sin(kakudo);
sX = (-power2) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocketB", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + 10;
_root[tamaName]._y = this._y - 10;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot2() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot3() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power3 * Math.sin(kakudo);
sX = (-power3) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_big3", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
score = 50000;
hp = (550 * _global.gameLv) / 2;
shotRnd = 2 + _global.gameLv;
shotRnd2 = 3 + _global.gameLv;
shotRnd3 = 0.5 + _global.gameLv;
power = 7;
power2 = 7;
power3 = 6.5;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
i = 0;
while (i < 3) {
this.shot();
i++;
}
}
rand = Math.random() * 200;
if (rand < shotRnd3) {
this.shot3();
}
rand = Math.random() * 200;
if (rand < shotRnd2) {
this.shot2();
}
}
};
Symbol 19 MovieClip [char_ship_bSenkan] Frame 2
this.stop();
Symbol 19 MovieClip [char_ship_bSenkan] Frame 108
this.showGekitin();
Symbol 19 MovieClip [char_ship_bSenkan] Frame 195
_root.breakEnemy();
this.stop();
Symbol 26 MovieClip [char_ship_youriku] Frame 1
function setEnemy() {
_root.attachMovie(enemyName3, setE, setD);
_root[setE]._x = this._x + 10;
_root[setE]._y = this._y;
}
function setEnemy2() {
if (Math.random() > 0.6) {
e = enemyName;
} else {
e = enemyName2;
}
name = "aricraft" + _global.rDeep;
_root.attachMovie(e, name, _global.rDeep);
_root[name]._x = this._x;
_root[name]._y = this._y - 5;
_global.rDeep++;
}
function shot() {
kakudo = ((-((Math.random() * 90) + 90)) * Math.PI) / 180;
sY = power2 * Math.sin(kakudo);
sX = (-power2) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocket", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + 10;
_root[tamaName]._y = this._y - 10;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("gekitin");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekitin", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
score = 9000;
hp = (80 * _global.gameLv) / 2;
shotRnd = 0.5 + _global.gameLv;
shotRnd2 = 2 + _global.gameLv;
shotRnd3 = 1 + _global.gameLv;
power = 7;
power2 = 7;
flag = 0;
if ((this._name == "e1") || (this._name == "e2")) {
setE = "e3";
setD = 18;
} else if (this._name == "e3") {
setE = "e4";
setD = 19;
}
enemyName = "char_aricraft2";
enemyName2 = "char_aircraft3";
enemyName3 = "char_ship_yourikutei";
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 100;
if ((rand < shotRnd) && (_root[setE] == undefined)) {
this.setEnemy();
}
rand = Math.random() * 100;
if (rand < shotRnd2) {
this.setEnemy2();
}
rand = Math.random() * 200;
if (rand < shotRnd3) {
this.shot();
}
}
};
Symbol 26 MovieClip [char_ship_youriku] Frame 2
this.stop();
Symbol 26 MovieClip [char_ship_youriku] Frame 76
this.showGekitin();
_root.breakEnemy();
Symbol 26 MovieClip [char_ship_youriku] Frame 134
this.stop();
Symbol 30 MovieClip [char_ship_yourikutei] Frame 1
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.bomb();
}
}
}
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.removeMovieClip();
}
hp = (3 * _global.gameLv) / 2;
score = 500;
damage = 80;
flag = 1;
speedX = 5 + (_global.gameLv / 2);
this.onEnterFrame = function () {
this._x = this._x - speedX;
if (this.hitTest(_root.mapShip)) {
_root.display.ChangeHp(damage);
this.bomb();
}
if (this._x < -20) {
this.removeMovieClip();
}
};
Symbol 30 MovieClip [char_ship_yourikutei] Frame 4
this.gotoAndPlay(2);
Symbol 35 MovieClip [char_ship_bSenkan] Frame 1
function shot() {
kakudo = ((-((Math.random() * 90) + 90)) * Math.PI) / 180;
sY = power2 * Math.sin(kakudo);
sX = (-power2) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocketB", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + 10;
_root[tamaName]._y = this._y - 10;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot2() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot3() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power3 * Math.sin(kakudo);
sX = (-power3) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_big3", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekitin", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
score = 50000;
hp = (550 * _global.gameLv) / 2;
shotRnd = 2 + _global.gameLv;
shotRnd2 = 3 + _global.gameLv;
shotRnd3 = 0.5 + _global.gameLv;
power = 7;
power2 = 7;
power3 = 6.5;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
i = 0;
while (i < 3) {
this.shot();
i++;
}
}
rand = Math.random() * 200;
if (rand < shotRnd3) {
this.shot3();
}
rand = Math.random() * 200;
if (rand < shotRnd2) {
this.shot2();
}
}
};
Symbol 35 MovieClip [char_ship_bSenkan] Frame 2
this.stop();
Symbol 35 MovieClip [char_ship_bSenkan] Frame 108
this.showGekitin();
Symbol 35 MovieClip [char_ship_bSenkan] Frame 195
_root.breakEnemy();
this.stop();
Symbol 42 MovieClip Frame 1
this.stop();
Symbol 42 MovieClip Frame 75
_parent.showGekitin();
_root.breakEnemy();
Symbol 42 MovieClip Frame 125
_parent.removeMovieClip();
this.stop();
Symbol 43 MovieClip [char_yousai_rocket2] Frame 1
function shot() {
kakudo = ((-((Math.random() * 90) + 90)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocket", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y - 80;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.hou.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (90 * _global.gameLv) / 2;
score = 9000;
shotRnd = 1 + _global.gameLv;
power = 8;
syasu = 3;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
i = 0;
while (i < syasu) {
this.shot();
i++;
}
}
}
};
Symbol 44 MovieClip [char_yousai_rocket1] Frame 1
function shot() {
kakudo = ((-((Math.random() * 90) + 90)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocket", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y - 50;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit() {
if (hp > 0) {
hp--;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.hou.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (6 * _global.gameLv) / 2;
score = 9000;
shotRnd = 1 + _global.gameLv;
power = 8;
syasu = 3;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
i = 0;
while (i < syasu) {
this.shot();
i++;
}
}
}
};
function shot() {
kakudo = ((-((Math.random() * 90) + 90)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocket", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y - 50;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.hou.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (90 * _global.gameLv) / 2;
score = 9000;
shotRnd = 1 + _global.gameLv;
power = 8;
syasu = 3;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
i = 0;
while (i < syasu) {
this.shot();
i++;
}
}
}
};
Symbol 45 MovieClip [char_yousai_rocket0] Frame 1
function shot() {
kakudo = ((-((Math.random() * 90) + 90)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocket", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y - 30;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.hou.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (90 * _global.gameLv) / 2;
score = 9000;
shotRnd = 1 + _global.gameLv;
power = 8;
syasu = 3;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
i = 0;
while (i < syasu) {
this.shot();
i++;
}
}
}
};
Symbol 51 MovieClip [char_ship_rocketSenkan] Frame 1
function shot() {
kakudo = ((-((Math.random() * 90) + 90)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocket", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + (Math.random() * 0.5);
_root[tamaName]._y = this._y + (Math.random() * 0.5);
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("gekitin");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekitin", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (100 * _global.gameLv) / 2;
score = 10000;
shotRnd = 2 + _global.gameLv;
power = 8;
flag = 0;
syasu = 3;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
i = 0;
while (i < syasu) {
this.shot();
i++;
}
}
}
};
Symbol 51 MovieClip [char_ship_rocketSenkan] Frame 2
this.stop();
Symbol 51 MovieClip [char_ship_rocketSenkan] Frame 86
this.showGekitin();
_root.breakEnemy();
Symbol 51 MovieClip [char_ship_rocketSenkan] Frame 135
this.stop();
Symbol 53 MovieClip [tama_lastBoss_beamExtra] Frame 1
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 300;
_root[tempName]._yscale = 300;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "hitBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
flag = 1;
damage = 600;
while (flag == 1) {
this._x = this._x + ((speedX = speedX * 1.01));
this._y = this._y + ((speedY = speedY * 1.01));
if (this.hitTest(_root.mapShip.dmgArea)) {
flag = 0;
_root.display.ChangeHp(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
flag = 0;
this.bomb();
}
}
Symbol 55 MovieClip [tama_rocketS2] Frame 1
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
damage = 20;
this.onEnterFrame = function () {
this._x = this._x + ((speedX = speedX * 1.01));
this._y = this._y + ((speedY = speedY * 1.01));
if (this.hitTest(_root.mapShip.dmgArea)) {
_root.display.ChangeHp(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
};
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
Symbol 58 MovieClip [tama_beam] Frame 1
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
damage = 40;
this.onEnterFrame = function () {
this._x = this._x + ((speedX = speedX * 1.01));
this._y = this._y + ((speedY = speedY * 1.01));
if (this.hitTest(_root.mapShip.dmgArea)) {
_root.display.ChangeHp(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
};
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
Symbol 59 MovieClip [tama_rocketS] Frame 1
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
damage = 35;
this.onEnterFrame = function () {
this._x = this._x + ((speedX = speedX * 1.01));
this._y = this._y + ((speedY = speedY * 1.01));
if (this.hitTest(_root.mapShip.dmgArea)) {
_root.display.ChangeHp(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
};
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
Symbol 60 MovieClip [tama_rocketB] Frame 1
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
downY = 0.1;
extX = 0.995;
damage = 70;
this.onEnterFrame = function () {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + speedX;
this._y = this._y + speedY;
speedX = speedX * extX;
speedY = speedY + downY;
if (this.hitTest(_root.mapShip.dmgArea)) {
_root.display.ChangeHp(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
};
Symbol 61 MovieClip [tama_rocket] Frame 1
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
downY = 0.1;
extX = 0.995;
damage = 40;
this.onEnterFrame = function () {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + speedX;
this._y = this._y + speedY;
speedX = speedX * extX;
speedY = speedY + downY;
if (this.hitTest(_root.mapShip.dmgArea)) {
_root.display.ChangeHp(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
};
Symbol 64 MovieClip [char_ship_rocket] Frame 1
function shot() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocket", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + (Math.random() * 0.5);
_root[tamaName]._y = this._y + (Math.random() * 0.5);
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("gekitin");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekitin", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (40 * _global.gameLv) / 2;
score = 3000;
shotRnd = 3 + _global.gameLv;
power = 7;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
}
};
Symbol 64 MovieClip [char_ship_rocket] Frame 2
this.stop();
Symbol 64 MovieClip [char_ship_rocket] Frame 76
this.showGekitin();
_root.breakEnemy();
Symbol 64 MovieClip [char_ship_rocket] Frame 111
this.stop();
Symbol 69 MovieClip [char_aircraft_heri2] Frame 1
function shot() {
saX = _root.mapShip._x - this._x;
saY = _root.mapShip._y - this._y;
var tKakudo = ((Math.atan2(saY, saX) / (Math.PI/180)) + ((Math.random() * 20) - 10));
kakudo = (tKakudo * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocketS", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
_root.display.changeScore(score);
this._name = null;
this.gotoAndPlay("bomb");
}
}
}
function setWater() {
tempName = "water" + _global.rDeep;
_root.attachMovie("waterBombForHeri", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_root[tempName].flag = 1;
_global.rDeep++;
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.setWater();
this.removeMovieClip();
}
score = 7000;
hp = (20 * _global.gameLv) / 2;
shotRnd = 1 + (_global.gameLv / 1.5);
power = 5;
flag = 1;
ext = 20;
sa = _root.mapShip._x - this._x;
if (sa < 0) {
tx = (Math.random() * 250) + 30;
} else {
tx = (Math.random() * 250) + 420;
}
ty = (Math.random() * 30) + 100;
this.onEnterFrame = function () {
if (flag) {
this._x = this._x + ((tx - this._x) / ext);
this._y = this._y + ((ty - this._y) / ext);
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
}
};
this.stop();
Symbol 69 MovieClip [char_aircraft_heri2] Frame 10
sp = 0.1;
this.onEnterFrame = function () {
sp = sp + 0.2;
this._y = this._y + sp;
if (this._y > seaLineY) {
this.showGekitin();
}
};
Symbol 69 MovieClip [char_aircraft_heri2] Frame 70
this.stop();
Symbol 73 MovieClip [char_aircraft_heri] Frame 1
function shot() {
saX = _root.mapShip._x - this._x;
saY = _root.mapShip._y - this._y;
var tKakudo = ((Math.atan2(saY, saX) / (Math.PI/180)) + ((Math.random() * 20) - 10));
kakudo = (tKakudo * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocketS", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
_root.display.changeScore(score);
this._name = null;
this.gotoAndPlay("bomb");
}
}
}
function setWater() {
tempName = "water" + _global.rDeep;
_root.attachMovie("waterBombForHeri", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.setWater();
this.removeMovieClip();
}
score = 7000;
hp = (40 * _global.gameLv) / 2;
shotRnd = 1 + _global.gameLv;
power = 5;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
sa = this._x - _root.mapShip._x;
if (sa > 0) {
this._xscale = 100;
} else {
this._xscale = -100;
}
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
}
};
this._y = 100 + (Math.random() * 50);
this.stop();
Symbol 73 MovieClip [char_aircraft_heri] Frame 10
sp = 0.1;
this.onEnterFrame = function () {
sp = sp + 0.2;
this._y = this._y + sp;
if (this._y > seaLineY) {
this.showGekitin();
}
};
Symbol 73 MovieClip [char_aircraft_heri] Frame 70
this.stop();
Symbol 75 MovieClip Frame 1
_visible = false;
Symbol 82 MovieClip Frame 29
this.stop();
Symbol 83 MovieClip [char_g_bTank] Frame 1
function shot() {
kakudo = ((-((Math.random() * 90) + 90)) * Math.PI) / 180;
sY = power2 * Math.sin(kakudo);
sX = (-power2) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocketB", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + 10;
_root[tamaName]._y = this._y - 10;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot2() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot3() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power3 * Math.sin(kakudo);
sX = (-power3) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_big3", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot4() {
kakudo = ((-((Math.random() * 10) + 130)) * Math.PI) / 180;
sY = power3 * Math.sin(kakudo);
sX = (-power3) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_cl", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
score = 100000 /* 0x0186A0 */;
hp = (700 * _global.gameLv) / 2;
shotRnd = 0.5 + _global.gameLv;
shotRnd2 = 1 + _global.gameLv;
shotRnd3 = 0.1 + _global.gameLv;
power = 7;
power2 = 7;
power3 = 6.5;
flag = 0;
shot4Wait = 5000;
waitTime = getTimer() + shot4wait;
this.onEnterFrame = function () {
if (flag) {
if (getTimer() > waitTime) {
this.shot4();
waitTime = getTimer() + shot4wait;
}
rand = Math.random() * 200;
if (rand < shotRnd) {
i = 0;
while (i < 3) {
this.shot();
i++;
}
}
rand = Math.random() * 200;
if (rand < shotRnd3) {
this.shot3();
}
rand = Math.random() * 200;
if (rand < shotRnd2) {
this.shot2();
}
}
};
this.stop();
Symbol 83 MovieClip [char_g_bTank] Frame 66
this.showGekitin();
Symbol 83 MovieClip [char_g_bTank] Frame 108
_root.breakEnemy();
this.stop();
Symbol 89 MovieClip [atcItem_flash] Frame 12
this.removeMovieClip();
this.stop();
Symbol 93 MovieClip [char_ship_hyouteki] Frame 1
function shot() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou2", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + (Math.random() * 0.5);
_root[tamaName]._y = this._y + (Math.random() * 0.5);
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot2() {
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_gyorai", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + (Math.random() * 0.5);
_root[tamaName]._y = this._y + (Math.random() * 0.5);
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("gekitin");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekitin", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = 60;
score = 3000 * _global.gameLv;
shotRnd = 3;
power = 6;
flag = 0;
Symbol 93 MovieClip [char_ship_hyouteki] Frame 2
this.stop();
Symbol 93 MovieClip [char_ship_hyouteki] Frame 76
this.showGekitin();
_root.breakEnemy();
Symbol 93 MovieClip [char_ship_hyouteki] Frame 111
this.stop();
Symbol 99 MovieClip [char_ship_koukuSenkan] Frame 1
function shot() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x - 20;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot2() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou2", tamaName, _global.rDeep);
_root[tamaName]._x = this._x - 20;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function setEnemy() {
name = "aricraft" + _global.rDeep;
_root.attachMovie(enemyName, name, _global.rDeep);
_root[name]._x = this._x + 50;
_root[name]._y = this._y;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekitin", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
score = 40000;
hp = (300 * _global.gameLv) / 2;
shotRnd = 2 + _global.gameLv;
shotRnd2 = 4 + _global.gameLv;
shotRnd3 = 2 + _global.gameLv;
power = 6;
flag = 0;
enemyName = "char_aricraft2";
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
rand = Math.random() * 200;
if (rand < shotRnd3) {
this.shot2();
}
rand = Math.random() * 200;
if (rand < shotRnd2) {
this.setEnemy();
}
}
};
Symbol 99 MovieClip [char_ship_koukuSenkan] Frame 2
this.stop();
Symbol 99 MovieClip [char_ship_koukuSenkan] Frame 108
this.showGekitin();
Symbol 99 MovieClip [char_ship_koukuSenkan] Frame 195
_root.breakEnemy();
this.stop();
Symbol 105 MovieClip [char_ship_kubo2] Frame 1
function setEnemy() {
if (Math.random() > 0.6) {
e = enemyName;
} else {
e = enemyName2;
}
name = "aricraft" + _global.rDeep;
_root.attachMovie(e, name, _global.rDeep);
_root[name]._x = this._x;
_root[name]._y = this._y - 5;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("gekitin");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekitin", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
score = 9000;
hp = (50 * _global.gameLv) / 2;
shotRnd = 0.5 + _global.gameLv;
power = 6;
flag = 0;
enemyName = "char_aricraft2";
enemyName2 = "char_aircraft3";
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 100;
if (rand < shotRnd) {
this.setEnemy();
}
}
};
Symbol 105 MovieClip [char_ship_kubo2] Frame 2
this.stop();
Symbol 105 MovieClip [char_ship_kubo2] Frame 76
this.showGekitin();
_root.breakEnemy();
Symbol 105 MovieClip [char_ship_kubo2] Frame 134
this.stop();
Symbol 111 MovieClip [char_ship_senkan2] Frame 1
function shot() {
var sa = (this._x - mapShip._x);
downY = 0.05;
x = (speedX * extX) * f;
this._y = this._y + speedY;
speedY = speedY + downY;
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + (Math.random() * 0.5);
_root[tamaName]._y = this._y + (Math.random() * 0.5);
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit() {
if (hp > 0) {
hp--;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("gekitin");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekitin", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (20 * _global.gameLv) / 2;
score = 7000;
shotRnd = 4 + _global.gameLv;
syasu = 3;
power = 6;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
i = 0;
while (i < syasu) {
this.shot();
i++;
}
}
}
};
Symbol 111 MovieClip [char_ship_senkan2] Frame 2
this.stop();
Symbol 111 MovieClip [char_ship_senkan2] Frame 86
this.showGekitin();
_root.breakEnemy();
Symbol 111 MovieClip [char_ship_senkan2] Frame 135
this.stop();
Symbol 113 MovieClip [char_ship_main] Frame 1
function setAmo(t) {
if (t == atcTama) {
_root.display.reloadDis.shot();
} else if ((t == "tama_mainChar_cl") || (t == "tama_mainChar_nk")) {
_root.display.reloadDis2.shot();
_root.attachMovie("targetCl_invisble", "tcl", 1201);
_root.tcl._x = _root._xmouse;
_root.tcl._y = _root._ymouse;
} else {
_root.display.reloadDis2.shot();
}
saX = _root._xmouse - this._x;
saY = _root._ymouse - this._y;
var tKakudo = ((Math.atan2(saY, saX) / (Math.PI/180)) + ((Math.random() * sanpu) - (sanpu / 2)));
kakudo = (tKakudo * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = power * Math.cos(kakudo);
var tamaName = ("tama" + _global.rDeep);
_root.attachMovie(t, tamaName, _global.rDeep);
_root[tamaName]._x = this._x + (Math.random() * 0.5);
_root[tamaName]._y = this._y + (Math.random() * 0.5);
_root[tamaName].speedX = sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function setAA() {
_root.display.reloadDis2.shot();
_root.attachMovie("tama_mainChar_AA", "aa", 1200);
_root.aa._x = this._x;
_root.aa._y = this._y;
}
function setExt() {
_root.display.reloadDis2.shot();
_root.attachMovie("tama_mainChar_AA", "aa", 1200);
_root.aa._x = this._x;
_root.aa._y = this._y;
}
function setFlash() {
_root.attachMovie("atcItem_flash", "flash", 35);
_root.flash._y = this._y - 2;
_root.flash._x = this._x + (Math.random() * 5);
_root.flash._xscale = (_root.flash._yscale = 25);
}
function gekitin() {
if (flag) {
flag = 0;
_name = "";
this.gotoAndPlay("gekitin");
}
}
function nextStage() {
_name = "tempMainChar";
flag = 2;
}
function setLe() {
_root.display.reloadDis2.shot();
saX = _root._xmouse - this._x;
saY = _root._ymouse - this._y;
var tKakudo = (Math.atan2(saY, saX) / (Math.PI/180));
_root.attachMovie("tama_mainChar_le", "leg", 1205);
_root.leg._rotation = tKakudo;
_root.leg._x = _root._xmouse;
_root.leg._y = _root._ymouse;
}
function setBakugeki() {
_root.display.reloadDis2.shot();
_root.attachMovie("tama_mainChar_bakugeki", "baku", 1206);
_root.baku._xscale = -70;
_root.baku._yscale = 70;
_root.baku._x = -100;
_root.baku._y = 100;
}
i = 2;
while (i < 7) {
if (_root.shipStatas[_global.nowShip][i] > 10) {
_root.shipStatas[_global.nowShip][i] = 10;
}
i++;
}
syasu = _root.shipStatas[_global.nowShip][2];
souten = _root.shipStatas[_global.nowShip][3];
seikakusa = _root.shipStatas[_global.nowShip][4];
idou = _root.shipStatas[_global.nowShip][5];
taikyu = _root.shipStatas[_global.nowShip][6];
atcTama = "tama1";
subE = _root.so.data.shipData[9];
if (subE != 99) {
if (subE == 7) {
taikyu = taikyu + _root.so.data.extraData[subE];
idou = idou - 1;
} else if (subE == 8) {
souten = souten + _root.so.data.extraData[subE];
idou = idou - 1;
} else if (subE == 9) {
idou = idou + _root.so.data.extraData[subE];
taikyu = taikyu - 1;
} else if (subE == 10) {
seikakusa = -3;
} else if (subE == 11) {
syasu = Math.round(syasu / 2);
atcTama = "tama_mainChar2";
}
}
sanpu = 10 - seikakusa;
moveX = 0.5 + (idou * 0.1);
_root.display.setHp(taikyu);
power = 8;
flag = 0;
moveFlag = 0;
if (_root.so.data.shipData[8] != 99) {
extraWeponFlag = 1;
syasuExt = _root.so.data.shipData[2];
nowExt = _root.so.data.shipData[8];
atcNameExt = _root.extraWeponData[nowExt][1];
} else {
extraWeponFlag = 0;
}
if (_root.so.data.keyMode == 1) {
leftKey = 37;
rightKey = 39;
subKey = 38;
} else {
leftKey = 90;
rightKey = 67;
subKey = 32;
}
this.onEnterFrame = function () {
if (flag == 1) {
if (Key.isDown(subKey) && (extraWeponFlag)) {
if (_root.display.reloadDis2.getFlag()) {
if (nowExt == 0) {
this.setFlash();
this.setAA();
} else if (nowExt == 5) {
this.setFlash();
this.setLe();
} else if (nowExt == 6) {
this.setBakugeki();
} else {
this.setFlash();
this.setAmo(atcNameExt);
}
}
}
if (Key.isDown(leftKey) && (this._x > 0)) {
moveFlag = 1;
this._x = this._x + (-moveX);
} else if (Key.isDown(rightKey) && (this._x < 640)) {
if (!_root.grand.hitTest(this._x, this._y, true)) {
this._x = this._x + moveX;
moveFlag = 1;
}
} else {
moveFlag = 0;
}
} else if (flag == 2) {
this._x = this._x + 5;
if (this._x > 640) {
_root.removeRDeep();
_name = "mapShip";
this._x = 640;
_root.nextStageFlag = 1;
flag = 0;
}
}
};
this.onMouseDown = function () {
if ((flag == 1) && (_root.display.reloadDis.getFlag())) {
this.setFlash();
i = 0;
while (i < syasu) {
this.setAmo(atcTama);
i++;
}
}
};
Symbol 113 MovieClip [char_ship_main] Frame 2
this.stop();
Symbol 113 MovieClip [char_ship_main] Frame 76
this._xscale = (this._yscale = 25);
Symbol 113 MovieClip [char_ship_main] Frame 149
_root.mainCharEnd();
Symbol 113 MovieClip [char_ship_main] Frame 150
this.removeMovieClip();
this.stop();
Symbol 115 MovieClip [tama_bomber] Frame 1
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
downY = 0.05;
extX = 0.993;
damage = 50;
this.onEnterFrame = function () {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + speedX;
this._y = this._y + speedY;
speedX = speedX * extX;
speedY = speedY + downY;
if (this.hitTest(_root.mapShip.dmgArea)) {
_root.display.ChangeHp(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
};
Symbol 117 MovieClip [tama_hou2] Frame 1
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
downY = 0.05;
extX = 0.993;
damage = 40;
this.onEnterFrame = function () {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + speedX;
this._y = this._y + speedY;
speedX = speedX * extX;
speedY = speedY + downY;
if (this.hitTest(_root.mapShip.dmgArea)) {
_root.display.ChangeHp(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
};
Symbol 118 MovieClip [tama_hou] Frame 1
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
downY = 0.05;
extX = 0.993;
damage = 100;
this.onEnterFrame = function () {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + speedX;
this._y = this._y + speedY;
speedX = speedX * extX;
speedY = speedY + downY;
if (this.hitTest(_root.mapShip.dmgArea)) {
_root.display.ChangeHp(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
};
Symbol 120 MovieClip [tama_mainChar_bl] Frame 1
function bomb(command) {
if (command == 1) {
atcName = "hitBomb_noDmg";
} else {
atcName = "waterBomb";
}
_root.conHitCounter(0);
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie(atcName, tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 80;
_root[tempName]._yscale = 80;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "dis" + _global.rDeep;
_root.attachMovie("atcItem_hitDis", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y + 20;
var temp = _root.conHitCounter(1);
_root[tempName].mes = temp;
_global.rDeep++;
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
downY = 0.04;
extX = 0.993;
damage = 5;
this.onEnterFrame = function () {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + (speedX * 1.2);
this._y = this._y + (speedY * 1.2);
speedX = speedX * extX;
speedY = speedY + downY;
i = 1;
while (i < 5) {
var name = ("e" + i);
if (this.hitTest(_root[name])) {
_root[name].hit(damage);
this.hit();
}
i++;
}
if (this.hitTest(_root.boss.damageArea)) {
_root.boss.hit(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
if ((this._x > _global.mapMaxX) || (this._x < 0)) {
this.removeMovieClip();
}
if (_root.grand.hitTest(this._x, this._y, true)) {
this.bomb(1);
this.removeMovieClip();
}
};
Symbol 122 MovieClip [tama_mainChar2] Frame 1
function bomb(command) {
if (command == 1) {
atcName = "hitBomb_noDmg";
} else {
atcName = "waterBomb";
}
_root.conHitCounter(0);
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie(atcName, tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 200;
_root[tempName]._yscale = 200;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "dis" + _global.rDeep;
_root.attachMovie("atcItem_hitDis", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y + 20;
var temp = _root.conHitCounter(1);
_root[tempName].mes = temp;
_global.rDeep++;
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
downY = 0.05;
extX = 0.993;
damage = 24;
this.onEnterFrame = function () {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + speedX;
this._y = this._y + speedY;
speedX = speedX * extX;
speedY = speedY + downY;
i = 1;
while (i < 5) {
var name = ("e" + i);
if (this.hitTest(_root[name])) {
_root[name].hit(damage);
this.hit();
}
i++;
}
if (this.hitTest(_root.boss.damageArea)) {
_root.boss.hit(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
if ((this._x > _global.mapMaxX) || (this._x < 0)) {
this.removeMovieClip();
}
if (_root.grand.hitTest(this._x, this._y, true)) {
this.bomb(1);
this.removeMovieClip();
}
};
Symbol 124 MovieClip [tama1] Frame 1
function bomb(command) {
if (command == 1) {
atcName = "hitBomb_noDmg";
} else {
atcName = "waterBomb";
}
_root.conHitCounter(0);
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie(atcName, tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "dis" + _global.rDeep;
_root.attachMovie("atcItem_hitDis", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y + 20;
var temp = _root.conHitCounter(1);
_root[tempName].mes = temp;
_global.rDeep++;
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
downY = 0.05;
extX = 0.993;
damage = 10;
this.onEnterFrame = function () {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + speedX;
this._y = this._y + speedY;
speedX = speedX * extX;
speedY = speedY + downY;
i = 1;
while (i < 5) {
var name = ("e" + i);
if (this.hitTest(_root[name])) {
_root[name].hit(damage);
this.hit();
}
i++;
}
if (this.hitTest(_root.boss.damageArea)) {
_root.boss.hit(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
if ((this._x > _global.mapMaxX) || (this._x < 0)) {
this.removeMovieClip();
}
if (_root.grand.hitTest(this._x, this._y, true)) {
this.bomb(1);
this.removeMovieClip();
}
};
Symbol 129 MovieClip [hitBomb] Frame 46
this.removeMovieClip();
Symbol 131 MovieClip [waterBombForHeri] Frame 37
if (flag != 1) {
_root.breakEnemy();
}
this.removeMovieClip();
this.stop();
Symbol 137 MovieClip [char_aircraft3] Frame 1
function shot() {
saX = _root.mapShip._x - this._x;
saY = _root.mapShip._y - this._y;
var tKakudo = ((Math.atan2(saY, saX) / (Math.PI/180)) + ((Math.random() * 20) - 10));
kakudo = (tKakudo * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocketS2", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function bomb() {
this.gotoAndPlay("bomb");
}
speed = (Math.random() * 2) + 3;
this._rotation = 80;
nextRo = 30;
flag = 1;
score = 500;
power = 5;
nr1 = -30 + (Math.random() * 5);
nr2 = (Math.random() * 60) - 20;
this.onEnterFrame = function () {
sa = Math.abs(this._x - _root.mapShip._x);
if ((sa < 250) && (flag == 1)) {
this.shot();
flag = 2;
nextRo = nr2;
flag = 2;
}
if ((this.hitTest(_root.aa) && (Math.random() < 0.2)) && (flag != 99)) {
flag = 99;
_root.display.changeScore(score);
this.bomb();
}
if (((this._y < -50) || (this._x < -50)) || (this._x > 750)) {
this.removeMovieClip();
}
this._rotation = this._rotation + ((nextRo - this._rotation) / 30);
kakudo = _rotation * (Math.PI/180);
speedX = (speed * Math.cos(kakudo)) * (this._xscale / 100);
speedY = speed * Math.sin(kakudo);
this._x = this._x - speedX;
this._y = this._y - speedY;
};
this.stop();
Symbol 137 MovieClip [char_aircraft3] Frame 23
this.removeMovieClip();
Symbol 137 MovieClip [char_aircraft3] Frame 25
this.stop();
Symbol 138 MovieClip [char_aricraft2] Frame 1
function setAmo(kakudo) {
kakudo = (kakudo * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (power * Math.cos(kakudo)) * (this._xscale / 100);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_bomber", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + (Math.random() * 0.5);
_root[tamaName]._y = this._y + (Math.random() * 0.5);
_root[tamaName].speedX = sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function bomb() {
this.gotoAndPlay("bomb");
}
speed = (Math.random() * 2) + 3;
this._rotation = 80;
nextRo = 0;
flag = 0;
score = 300;
nr1 = -30 + (Math.random() * 5);
nr2 = (Math.random() * 60) - 20;
power = (-Math.random()) * 3;
this.onEnterFrame = function () {
sa = Math.abs(this._x - _root.mapShip._x);
if ((sa < 200) && (flag == 0)) {
nextRo = nr1;
flag = 1;
}
if ((sa < 100) && (flag == 1)) {
this.setAmo(_rotation);
flag = 2;
nextRo = nr2;
flag = 2;
}
if ((this.hitTest(_root.aa) && (Math.random() < 0.2)) && (flag != 99)) {
flag = 99;
_root.display.changeScore(score);
this.bomb();
}
if (((this._y < -50) || (this._x < -50)) || (this._x > 750)) {
this.removeMovieClip();
}
this._rotation = this._rotation + ((nextRo - this._rotation) / 30);
kakudo = _rotation * (Math.PI/180);
speedX = (speed * Math.cos(kakudo)) * (this._xscale / 100);
speedY = speed * Math.sin(kakudo);
this._x = this._x - speedX;
this._y = this._y - speedY;
};
this.stop();
Symbol 138 MovieClip [char_aricraft2] Frame 23
this.removeMovieClip();
Symbol 138 MovieClip [char_aricraft2] Frame 25
this.stop();
Symbol 139 MovieClip [enemy_aricraft] Frame 1
function setAmo(kakudo) {
kakudo = (kakudo * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (power * Math.cos(kakudo)) * (this._xscale / 100);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_bomber", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + (Math.random() * 0.5);
_root[tamaName]._y = this._y + (Math.random() * 0.5);
_root[tamaName].speedX = sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function bomb() {
this.gotoAndPlay("bomb");
}
speed = (Math.random() * 2) + 3;
this._rotation = 80;
nextRo = 0;
flag = 0;
score = 200;
nr1 = -30 + (Math.random() * 5);
nr2 = (Math.random() * 60) - 20;
power = (-Math.random()) * 3;
this.onEnterFrame = function () {
sa = Math.abs(this._x - _root.mapShip._x);
if ((sa < 200) && (flag == 0)) {
nextRo = nr1;
flag = 1;
}
if ((sa < 100) && (flag == 1)) {
this.setAmo(_rotation);
flag = 2;
nextRo = nr2;
flag = 2;
}
if (((this._y < -50) || (this._x < -50)) || (this._x > 750)) {
this.removeMovieClip();
}
this._rotation = this._rotation + ((nextRo - this._rotation) / 30);
kakudo = _rotation * (Math.PI/180);
speedX = (speed * Math.cos(kakudo)) * (this._xscale / 100);
speedY = speed * Math.sin(kakudo);
this._x = this._x - speedX;
this._y = this._y - speedY;
};
this.stop();
Symbol 140 MovieClip [bomber] Frame 1
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
downY = 0.05;
extX = 0.993;
this.onEnterFrame = function () {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + speedX;
this._y = this._y + speedY;
speedX = speedX * extX;
speedY = speedY + downY;
if (this.hitTest(_root.enemy)) {
this.hit();
} else if (this._y > _global.seaLineY) {
this.bomb();
}
};
Symbol 143 MovieClip [atcItem_hitDis] Frame 1
this._x = this._x + ((Math.random() * 30) - 15);
Symbol 143 MovieClip [atcItem_hitDis] Frame 28
this.removeMovieClip();
Symbol 151 MovieClip [atcItem_gekiha] Frame 47
this.removeMovieClip();
Symbol 152 MovieClip [atcItem_gekitin] Frame 47
this.removeMovieClip();
Symbol 154 MovieClip [tama_mainChar_bakugeki] Frame 1
function setAmo() {
var tamaName = ("tama" + _global.rDeep);
_root.attachMovie("tama_mainChar_big", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y + 10;
_root[tamaName].speedX = 0;
_root[tamaName].speedY = 3;
_global.rDeep++;
}
i = 0;
this._xscale = -70;
theSound = new Sound(this);
theSound.attachSound("SE_aircraft");
theSound.setVolume(250);
theSound.start();
power = 8;
this.onEnterFrame = function () {
if (i > 2) {
i = 0;
this.setAmo();
}
i++;
this._x = this._x + 7;
this._y = this._y - 0.2;
if (this._x > 700) {
this.removeMovieClip();
}
};
Symbol 159 MovieClip Frame 1
this.onEnterFrame = function () {
if (this._y > _global.seaLineY) {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
};
Symbol 161 MovieClip Frame 1
Symbol 164 MovieClip [waterBomb] Frame 37
this.removeMovieClip();
this.stop();
Symbol 165 MovieClip [char_aircraft_bakugeki] Frame 1
function shot() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y + 10;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot2(bType) {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_big", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y + 20;
_root[tamaName].speedX = 0;
_root[tamaName].speedY = 0.5;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
this._x = 800;
this._y = 100;
this._yscale = 100;
this._xscale = 100;
_root.display.changeScore(score);
this.gotoAndPlay("gekitui");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekitin", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (200 * _global.gameLv) / 2;
score = 30000;
shotRnd = 5 + _global.gameLv;
power = 0;
flag = 0;
i = 0;
scaleExt = 0.2;
moveX = -5;
moveY = 0.4;
theSound = new Sound(this);
theSound.attachSound("SE_aircraft");
theSound.setVolume(250);
this.onEnterFrame = function () {
if (flag) {
if (i == 0) {
i++;
theSound.start();
}
this._yscale = this._yscale + scaleExt;
this._x = this._x + moveX;
this._y = this._y + moveY;
if ((this._x < -100) && (moveX < 0)) {
theSound.start();
this._x = -200;
this._xscale = -100;
this._yscale = 100;
moveX = -moveX;
moveY = -moveY;
scaleExt = -scaleExt;
this.gotoAndStop("sita");
}
if ((this._x > 800) && (moveX > 0)) {
theSound.start();
this._x = 900;
this._xscale = 100;
this._yscale = 100;
moveX = -moveX;
moveY = -moveY;
scaleExt = -scaleExt;
this.gotoAndStop("ue");
}
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot2();
}
rand = Math.random() * 200;
if (rand < (shotRnd * 3)) {
this.shot();
}
}
};
Symbol 165 MovieClip [char_aircraft_bakugeki] Frame 2
this.stop();
Symbol 165 MovieClip [char_aircraft_bakugeki] Frame 10
this.stop();
Symbol 165 MovieClip [char_aircraft_bakugeki] Frame 193
_root.breakEnemy();
this.removeMovieClip();
Symbol 165 MovieClip [char_aircraft_bakugeki] Frame 195
this._name = "temp";
this.removeMovieClip();
this.stop();
Symbol 167 MovieClip [tama_mainChar_cl] Frame 1
function bomb(command) {
if (command == 1) {
atcName = "hitBomb_noDmg";
} else {
atcName = "waterBomb";
}
_root.conHitCounter(0);
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie(atcName, tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "dis" + _global.rDeep;
_root.attachMovie("atcItem_hitDis", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y + 20;
var temp = _root.conHitCounter(1);
_root[tempName].mes = temp;
_global.rDeep++;
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
function setAmo() {
saX = _root._xmouse - this._x;
saY = _root._ymouse - this._y;
var tKakudo = ((90 + (Math.random() * 20)) - 10);
kakudo = (tKakudo * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = power * Math.cos(kakudo);
var tamaName = ("tama" + _global.rDeep);
_root.attachMovie("tama1", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + (Math.random() * 0.5);
_root[tamaName]._y = this._y + (Math.random() * 0.5);
_root[tamaName].speedX = sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
downY = 0.04;
extX = 0.995;
damage = 50;
power = 8;
this.onEnterFrame = function () {
if (_currentframe == 1) {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + speedX;
this._y = this._y + speedY;
speedX = speedX * extX;
speedY = speedY + downY;
if (this.hitTest(_root.tcl)) {
i = 0;
while (i < 5) {
this.setAmo();
this.play();
i++;
}
}
i = 1;
while (i < 5) {
var name = ("e" + i);
if (this.hitTest(_root[name])) {
_root[name].hit(damage);
this.hit();
}
i++;
}
if (this.hitTest(_root.boss.damageArea)) {
_root.boss.hit(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
if ((this._x > _global.mapMaxX) || (this._x < 0)) {
this.removeMovieClip();
}
if (_root.grand.hitTest(this._x, this._y, true)) {
this.bomb(1);
this.removeMovieClip();
}
}
};
this.stop();
Symbol 167 MovieClip [tama_mainChar_cl] Frame 14
this.removeMovieClip();
this.stop();
Symbol 172 MovieClip [tama_mainChar_nk] Frame 1
function bomb(command) {
if (command == 1) {
atcName = "hitBomb_noDmg";
} else {
atcName = "waterBomb";
}
_root.conHitCounter(0);
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie(atcName, tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "dis" + _global.rDeep;
_root.attachMovie("atcItem_hitDis", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y + 20;
var temp = _root.conHitCounter(1);
_root[tempName].mes = temp;
_global.rDeep++;
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
downY = 0.06;
extX = 0.995;
damage = 150;
this.onEnterFrame = function () {
if (_currentframe == 1) {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + speedX;
this._y = this._y + speedY;
speedX = speedX * extX;
speedY = speedY + downY;
if (this.hitTest(_root.tcl)) {
i = 0;
while (i < 5) {
this.setAmo();
this.play();
i++;
}
}
i = 1;
while (i < 5) {
var name = ("e" + i);
if (this.hitTest(_root[name])) {
_root[name].hit();
this.hit(damage);
}
i++;
}
if (this.hitTest(_root.boss.damageArea)) {
_root.boss.hit(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
if ((this._x > _global.mapMaxX) || (this._x < 0)) {
this.removeMovieClip();
}
if (_root.grand.hitTest(this._x, this._y, true)) {
this.bomb(1);
this.removeMovieClip();
}
}
};
this.stop();
Symbol 172 MovieClip [tama_mainChar_nk] Frame 2
this.onEnterFrame = null;
Symbol 172 MovieClip [tama_mainChar_nk] Frame 14
_rotation = 0;
Symbol 172 MovieClip [tama_mainChar_nk] Frame 15
_name = "aa";
i = 1;
while (i < 5) {
var name = ("e" + i);
if (this.hitTest(_root[name])) {
_root[name].hit(damage);
}
i++;
}
if (this.hitTest(_root.boss.damageArea)) {
_root.boss.hit(damage);
}
Symbol 172 MovieClip [tama_mainChar_nk] Frame 46
this.removeMovieClip();
this.stop();
Symbol 174 MovieClip [tama_mainChar_big] Frame 1
function bomb(command) {
if (command == 1) {
atcName = "hitBomb_noDmg";
} else {
atcName = "waterBomb";
}
_root.conHitCounter(0);
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie(atcName, tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 300;
_root[tempName]._yscale = 300;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "dis" + _global.rDeep;
_root.attachMovie("atcItem_hitDis", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y + 20;
var temp = _root.conHitCounter(1);
_root[tempName].mes = temp;
_global.rDeep++;
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
downY = 0.06;
extX = 0.993;
damage = 100;
this.onEnterFrame = function () {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + speedX;
this._y = this._y + speedY;
speedX = speedX * extX;
speedY = speedY + downY;
i = 1;
while (i < 5) {
var name = ("e" + i);
if (this.hitTest(_root[name])) {
_root[name].hit(damage);
this.hit();
}
i++;
}
if (this.hitTest(_root.boss.damageArea)) {
_root.boss.hit(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
if ((this._x > _global.mapMaxX) || (this._x < 0)) {
this.removeMovieClip();
}
if (_root.grand.hitTest(this._x, this._y, true)) {
this.bomb(1);
this.removeMovieClip();
}
};
Symbol 176 MovieClip [tama_big3] Frame 1
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 300;
_root[tempName]._yscale = 300;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = _root[tempName]._yscale;
_global.rDeep++;
this.removeMovieClip();
}
downY = 0.04;
extX = 0.993;
damage = 150;
this.onEnterFrame = function () {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + speedX;
this._y = this._y + speedY;
speedX = speedX * extX;
speedY = speedY + downY;
if (this.hitTest(_root.mapShip.dmgArea)) {
_root.display.ChangeHp(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
};
Symbol 178 MovieClip [tama_cl] Frame 1
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 300;
_root[tempName]._yscale = 300;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = _root[tempName]._yscale;
_global.rDeep++;
this.removeMovieClip();
}
function shot4() {
saX = _root.mapShip._x - this._x;
saY = _root.mapShip._y - this._y;
var tKakudo = ((Math.atan2(saY, saX) / (Math.PI/180)) - 40);
i = 0;
while (i < 3) {
tKakudo = tKakudo + 20;
kakudo = (tKakudo * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
i++;
}
}
downY = 0.05;
extX = 0.993;
power = 6;
this.onEnterFrame = function () {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + speedX;
this._y = this._y + speedY;
speedX = speedX * extX;
speedY = speedY + downY;
sa = this._x - _root.mapShip._x;
if ((sa < 20) && (_currentframe == 1)) {
this.shot4();
this.play();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
};
this.stop();
Symbol 178 MovieClip [tama_cl] Frame 12
this.removeMovieClip();
this.stop();
Symbol 179 MovieClip [tama_big] Frame 1
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 300;
_root[tempName]._yscale = 300;
_global.rDeep++;
this.removeMovieClip();
}
function hit() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = _root[tempName]._yscale;
_global.rDeep++;
this.removeMovieClip();
}
downY = 0.05;
extX = 0.993;
damage = 250;
this.onEnterFrame = function () {
_rotation = ((tempKakudo = Math.atan2(speedY, speedX) / (Math.PI/180)));
this._x = this._x + speedX;
this._y = this._y + speedY;
speedX = speedX * extX;
speedY = speedY + downY;
if (this.hitTest(_root.mapShip.dmgArea)) {
_root.display.ChangeHp(damage);
this.hit();
}
if (this._y > _global.seaLineY) {
this.bomb();
}
};
Symbol 190 MovieClip [atcItem_warning] Frame 1
i = 1;
Symbol 190 MovieClip [atcItem_warning] Frame 90
if (i == 2) {
this.removeMovieClip();
this.stop();
} else {
i++;
this.gotoAndPlay(2);
}
Symbol 193 MovieClip [tama_gyorai] Frame 1
function bomb() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("waterBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
function hit() {
tempName = "waterBomb" + _global.rDeep;
_root.attachMovie("hitBomb", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_global.rDeep++;
this.removeMovieClip();
}
damage = 100;
this.onEnterFrame = function () {
this._x = this._x + speedX;
if (this.hitTest(_root.mapShip.dmgArea) && (!_root.mapShip.moveFlag)) {
_root.display.ChangeHp(damage);
this.bomb();
this.hit();
}
if (this._x < -20) {
this.removeMovieClip();
}
};
Symbol 193 MovieClip [tama_gyorai] Frame 4
this.gotoAndPlay(2);
Symbol 207 MovieClip [scene_clear] Frame 106
if (_global.nowStage == 10) {
this.gotoAndPlay("ending");
}
Symbol 207 MovieClip [scene_clear] Frame 121
_root.firstDisplay.sceneChenge(99);
_root.allItemClear();
_root.mapShip.removeMovieClip();
this.removeMovieClip();
this.stop();
Symbol 207 MovieClip [scene_clear] Frame 170
_root.chengeScene("ending");
_root.allItemClear();
Symbol 210 MovieClip Frame 1
this.stop();
Symbol 210 MovieClip Frame 75
_parent.showGekitin();
_root.breakEnemy();
Symbol 210 MovieClip Frame 125
_parent.removeMovieClip();
this.stop();
Symbol 211 MovieClip [char_yousai_hou2] Frame 1
function shot() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y - 80;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.hou.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (60 * _global.gameLv) / 2;
score = 9000;
shotRnd = 1 + _global.gameLv;
power = 6;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
}
};
Symbol 212 MovieClip [char_yousai_hou1] Frame 1
function shot() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y - 50;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.hou.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (60 * _global.gameLv) / 2;
score = 9000;
shotRnd = 1 + _global.gameLv;
power = 6;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
}
};
Symbol 213 MovieClip [char_yousai_hou0] Frame 1
function shot() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y - 30;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.hou.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (60 * _global.gameLv) / 2;
score = 9000;
shotRnd = 1 + _global.gameLv;
power = 6;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
}
};
Symbol 241 MovieClip Frame 1
this.stop();
Symbol 241 MovieClip Frame 70
_parent.showGekitin();
_root.breakEnemy();
Symbol 241 MovieClip Frame 120
_parent.removeMovieClip();
this.stop();
Symbol 242 MovieClip [char_yousai_kouku0] Frame 1
function setEnemy() {
if (Math.random() > 0.6) {
e = enemyName;
} else {
e = enemyName2;
}
name = "aricraft" + _global.rDeep;
_root.attachMovie(e, name, _global.rDeep);
_root[name]._x = this._x;
_root[name]._y = this._y - 30;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.hou.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (50 * _global.gameLv) / 2;
score = 10000;
shotRnd = 1 + _global.gameLv;
power = 6;
flag = 0;
enemyName = "char_aricraft2";
if (_global.nowStage > 5) {
enemyName2 = "char_aircraft3";
} else {
enemyName2 = "char_aircraft2";
}
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 100;
if (rand < shotRnd) {
this.setEnemy();
}
}
};
Symbol 243 MovieClip [char_yousai_kouku2] Frame 1
function setEnemy() {
if (Math.random() > 0.6) {
e = enemyName;
} else {
e = enemyName2;
}
name = "aricraft" + _global.rDeep;
_root.attachMovie(e, name, _global.rDeep);
_root[name]._x = this._x;
_root[name]._y = this._y - 80;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.hou.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (50 * _global.gameLv) / 2;
score = 10000;
shotRnd = 1 + _global.gameLv;
power = 6;
flag = 0;
enemyName = "char_aricraft2";
if (_global.nowStage > 5) {
enemyName2 = "char_aircraft3";
} else {
enemyName2 = "char_aircraft2";
}
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 100;
if (rand < shotRnd) {
this.setEnemy();
}
}
};
Symbol 244 MovieClip [char_yousai_kouku1] Frame 1
function setEnemy() {
if (Math.random() > 0.6) {
e = enemyName;
} else {
e = enemyName2;
}
name = "aricraft" + _global.rDeep;
_root.attachMovie(e, name, _global.rDeep);
_root[name]._x = this._x;
_root[name]._y = this._y - 50;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.hou.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (50 * _global.gameLv) / 2;
score = 10000;
shotRnd = 1 + _global.gameLv;
power = 6;
flag = 0;
enemyName = "char_aricraft2";
if (_global.nowStage > 5) {
enemyName2 = "char_aircraft3";
} else {
enemyName2 = "char_aircraft2";
}
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 100;
if (rand < shotRnd) {
this.setEnemy();
}
}
};
Symbol 247 MovieClip [char_yousai_sireitou] Frame 1
function shot() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_big", tamaName, _global.rDeep);
_root[tamaName]._x = this._x - 40;
_root[tamaName]._y = this._y - 130;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function setEnemy() {
name = "aricraft" + _global.rDeep;
_root.attachMovie("enemy_aricraft", name, _global.rDeep);
_root[name]._x = this._x - 30;
_root[name]._y = this._y - 130;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
this.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (300 * _global.gameLv) / 2;
score = 35000;
shotRnd = 0.5 + _global.gameLv;
shotRnd2 = 2 + _global.gameLv;
power = 6;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
rand = Math.random() * 200;
if (rand < shotRnd2) {
this.setEnemy();
}
}
};
this.stop();
Symbol 247 MovieClip [char_yousai_sireitou] Frame 175
_root.breakEnemy();
this.removeMovieClip();
this.stop();
Symbol 248 MovieClip [removeShip] Frame 20
_root.breakEnemy();
this.removeMovieClip();
Symbol 249 MovieClip [removeItem] Frame 1
this.removeMovieClip();
Symbol 268 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.hitTest(_root.mapShip)) {
_root.display.ChangeHp(800);
this.hit();
}
};
Symbol 268 MovieClip Frame 4
this.gotoAndPlay(2);
Symbol 269 MovieClip Frame 1
function beam() {
this.gotoAndPlay("charge");
}
Symbol 269 MovieClip Frame 2
this.stop();
Symbol 269 MovieClip Frame 10
this.stop();
Instance of Symbol 258 MovieClip in Symbol 269 MovieClip Frame 10
onClipEvent (load) {
cExt = _parent._parent.chargeExt;
}
onClipEvent (enterFrame) {
if (this._xscale > 11) {
this._xscale = (this._yscale = this._yscale + ((10 - this._xscale) / cExt));
} else {
_parent.gotoAndPlay("beam");
}
}
Symbol 269 MovieClip Frame 12
this.stop();
Symbol 269 MovieClip Frame 94
_parent.flag = 1;
Symbol 271 MovieClip Frame 1
this.onEnterFrame = function () {
if ((_parent._currentframe >= 92) && (this._x < 0)) {
if (_parent.moveFlag == 1) {
tempX = this._x;
_parent.moveFlag = 2;
}
if (_parent.moveFlag == 2) {
sa = this._x - tempX;
_parent._x = _parent._x - (sa * (_parent._xscale / 100));
tempX = this._x;
}
}
};
Symbol 277 MovieClip [char_lastBoss1] Frame 1
function shot() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = ((-power) * Math.cos(kakudo)) * muki;
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x - 20;
_root[tamaName]._y = this._y - 50;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot2() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = ((-power) * Math.cos(kakudo)) * muki;
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou2", tamaName, _global.rDeep);
_root[tamaName]._x = this._x - 20;
_root[tamaName]._y = this._y - 50;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot3(bType) {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie(bType, tamaName, _global.rDeep);
if (bType == "tama_hou") {
x = (Math.random() * 100) - 50;
} else {
x = 0;
}
_root[tamaName]._x = this._x + x;
_root[tamaName]._y = this._y - 100;
_root[tamaName].speedX = 0;
_root[tamaName].speedY = 0.5;
_global.rDeep++;
}
function setEnemy() {
name = "aricraft" + _global.rDeep;
_root.attachMovie(enemyName, name, _global.rDeep);
_root[name]._x = this._x;
_root[name]._y = this._y - 50;
_root[name]._xscale = _root[name]._xscale * muki;
_global.rDeep++;
}
function beam() {
flag = 5;
this.body.beam();
}
function change(com) {
if (com == 1) {
this.gotoAndPlay("change");
} else {
this._name = "temp";
_root.attachMovie("char_lastBoss2", "boss", 29);
_root.boss._x = this._x;
_root.boss._y = this._y;
_root.boss.flag = 1;
_root.display.changeScore(score);
this.removeMovieClip();
}
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
this.change(1);
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
score = 50000;
hp = (250 * _global.gameLv) / 2;
shotRnd = 0.5 + _global.gameLv;
shotRnd2 = 2 + _global.gameLv;
shotRnd3 = 1 + _global.gameLv;
power = 6;
chargeExt = 30;
flag = 0;
moveFlag = 0;
enemyName = "char_aricraft2";
this.onEnterFrame = function () {
sa = this._x - _root.mapShip._x;
if (sa > 0) {
muki = 1;
} else {
muki = -1;
}
if (Key.isDown(36)) {
this.gotoAndPlay("walk");
}
if (Key.isDown(33)) {
this.beam();
}
if (flag == 1) {
this.walk();
}
if ((flag != 0) && (flag != 5)) {
if ((sa > -100) && (sa < 100)) {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot3("tama_big");
} else if (rand < (shotRnd + 3)) {
this.shot3("tama_hou");
}
} else {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
rand = Math.random() * 200;
if (rand < shotRnd3) {
this.shot2();
}
rand = Math.random() * 200;
if (rand < shotRnd2) {
this.setEnemy();
}
}
}
};
Symbol 277 MovieClip [char_lastBoss1] Frame 2
this.stop();
Symbol 277 MovieClip [char_lastBoss1] Frame 80
_root.grand.play();
Symbol 277 MovieClip [char_lastBoss1] Frame 96
_root.bgmBox.changeBgm(66);
Symbol 277 MovieClip [char_lastBoss1] Frame 143
this.change(2);
Symbol 283 MovieClip [char_grand5] Frame 1
this.stop();
Symbol 283 MovieClip [char_grand5] Frame 37
this.removeMovieClip();
Symbol 285 MovieClip [scene_ending_mask] Frame 35
_root.allItemClear();
Symbol 285 MovieClip [scene_ending_mask] Frame 49
_root.scene_ending._visible = false;
_root.firstDisplay.sceneChenge(99);
this.removeMovieClip();
this.stop();
Symbol 287 MovieClip [scene_game_mask] Frame 35
_root.allItemClear();
Symbol 287 MovieClip [scene_game_mask] Frame 49
_root.chengeScene("title");
this.removeMovieClip();
this.stop();
Symbol 291 MovieClip [atcItem_MGpart] Frame 13
this.removeMovieClip();
Symbol 292 MovieClip [atcItem_MG] Frame 1
i = 0;
this.onEnterFrame = function () {
saX = _root._xmouse - this._x;
saY = _root._ymouse - this._y;
_rotation = (Math.atan2(saY, saX) / (Math.PI/180));
};
Symbol 292 MovieClip [atcItem_MG] Frame 2
i = 0;
while (i < 5) {
var name = ("aa" + i);
this.attachMovie("atcItem_AApart", name, i);
this[name]._rotation = (Math.random() * 30) - 15;
i++;
}
Symbol 292 MovieClip [atcItem_MG] Frame 6
this.gotoAndPlay(2);
Symbol 294 MovieClip Frame 1
flag = 1;
speed = 13;
kyori = (_parent.kyori + (Math.random() * 120)) - 60;
this.onEnterFrame = function () {
if ((this._x < kyori) && (flag)) {
this._x = this._x + speed;
} else if (flag) {
flag = 0;
_parent._parent._name = "aa";
this.gotoAndPlay("bomb");
}
};
this.stop();
Symbol 294 MovieClip Frame 19
this.removeMovieClip();
Symbol 294 MovieClip Frame 21
this.stop();
Symbol 295 MovieClip [atcItem_AApart] Frame 1
this._rotation = (Math.random() * 30) - 15;
Symbol 296 MovieClip [tama_mainChar_AA] Frame 1
saX = _root._xmouse - this._x;
saY = _root._ymouse - this._y;
_rotation = (Math.atan2(saY, saX) / (Math.PI/180));
var k = (Math.abs(saX) + Math.abs(saY));
kyori = Math.pow(Math.sqrt(k), 2);
if (kyori > 300) {
kyori = 300;
}
Symbol 296 MovieClip [tama_mainChar_AA] Frame 2
i = 0;
while (i < 5) {
tama = "t" + i;
this.attachMovie("atcItem_AApart", tama, i);
this[tama].kyori = kyori;
i++;
}
Symbol 296 MovieClip [tama_mainChar_AA] Frame 60
this.removeMovieClip();
Symbol 298 MovieClip [hitBomb_noDmg] Frame 1
Symbol 298 MovieClip [hitBomb_noDmg] Frame 46
this.removeMovieClip();
Symbol 340 MovieClip Frame 1
this.onEnterFrame = function () {
_rotation = (Math.random() * 360);
};
Symbol 353 MovieClip Frame 1
_visible = 0;
Symbol 365 MovieClip Frame 1
this._rotation = this._rotation + ((Math.random() * 40) - 20);
if (_global.gameLv < 4) {
firstLoop = 2;
} else {
firstLoop = 1;
}
num = 1;
Symbol 365 MovieClip Frame 30
if (num < firstLoop) {
num++;
this.gotoAndPlay("loop");
} else {
this.gotoAndPlay("beam");
}
Symbol 365 MovieClip Frame 35
function shot() {
thePoint = {x:this._x, y:this._y};
_parent.localToGlobal(thePoint);
kakudo = (this._rotation * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_lastBoss_beamExtra", tamaName, _global.rDeep);
_root[tamaName]._x = thePoint.x;
_root[tamaName]._y = thePoint.y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
power = 7;
this.shot();
Symbol 365 MovieClip Frame 52
if (flag) {
_parent.play();
}
this.stop();
Symbol 419 MovieClip Frame 87
this.removeMovieClip();
this.stop();
Symbol 420 MovieClip [char_lastBoss3] Frame 1
function shot() {
kakudo = (((Math.random() * 80) + 90) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = ((-power) * Math.cos(kakudo)) * muki;
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y + 50;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot2() {
kakudo = (((Math.random() * 80) + 90) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = ((-power) * Math.cos(kakudo)) * muki;
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou2", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y + 50;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot3(bType) {
kakudo = (((Math.random() * 90) + 90) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie(bType, tamaName, _global.rDeep);
x = (Math.random() * 120) - 60;
_root[tamaName]._x = this._x + x;
_root[tamaName]._y = this._y + 50;
_root[tamaName].speedX = 0;
_root[tamaName].speedY = 0.5;
_global.rDeep++;
}
function setEnemyExtra() {
var ten = (en + 1);
i = 1;
while (i < ten) {
name = "e" + i;
var ti = (i + 23);
_root.attachMovie("char_aircraft_heri2", name, ti);
_root[name]._x = this._x;
_root[name]._y = this._y + 100;
i++;
}
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this.endEnemy();
_root.bgmBox.changeBgm(9999);
_root.display.changeScore(score);
this._name = null;
this.gotoAndPlay("end1");
}
}
}
function shotBeam1() {
var tkakudo = ((Math.random() * 160) + 10);
kakudo = (tKakudo * Math.PI) / 180;
sY = power2 * Math.sin(kakudo);
sX = (-power2) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_beam", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + 5;
_root[tamaName]._y = this._y + 80;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shotS() {
saX = _root.mapShip._x - this._x;
saY = _root.mapShip._y - this._y;
var tKakudo = ((Math.atan2(saY, saX) / (Math.PI/180)) + ((Math.random() * 20) - 10));
kakudo = (tKakudo * Math.PI) / 180;
sY = power2 * Math.sin(kakudo);
sX = (-power2) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocketS", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + 5;
_root[tamaName]._y = this._y + 80;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
function endEnemy() {
i = 1;
while (i < 5) {
var e = ("e" + i);
_root[e].hit(1000);
i++;
}
}
score = 200000 /* 0x030D40 */;
hp = (600 * _global.gameLv) / 2;
shotRnd = 1 + _global.gameLv;
shotRnd2 = 4 + _global.gameLv;
shotRnd3 = 2 + _global.gameLv;
shotRnd4 = 1 + (_global.gameLv / 2);
power = 6;
power2 = 5;
nowForm = 1;
flag = 0;
form1wait = 10000;
form2wait = 10000;
waitTime = getTimer() + form1wait;
extraEndFlag = 0;
if (_global.gameLv == 1) {
en = 1;
} else if (_global.gameLv <= 3) {
en = 2;
} else if (_global.gameLv <= 6) {
en = 3;
} else {
en = 4;
}
enemyName = "char_aircraft_heri2";
this.onEnterFrame = function () {
if ((getTimer() > waitTime) && (flag == 1)) {
if (nowForm == 1) {
waitTime = getTimer() + form2wait;
nowForm = 2;
this.gotoAndPlay("p2");
} else {
waitTime = getTimer() + form1wait;
nowForm = 1;
this.gotoAndPlay("p3");
}
}
if (flag != 0) {
sa = this._x - _root.mapShip._x;
if (sa > 0) {
muki = 1;
} else {
muki = -1;
}
if (((sa > -40) && (sa < 40)) && (formMode < 3)) {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot3("tama_big");
} else if (rand < (shotRnd + 3)) {
this.shot3("tama_hou");
}
} else if (formMode < 3) {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
rand = Math.random() * 200;
if (rand < shotRnd3) {
this.shot2();
}
rand = Math.random() * 200;
if (rand < shotRnd4) {
this.shotS();
}
}
}
};
Symbol 420 MovieClip [char_lastBoss3] Frame 10
this.stop();
Symbol 420 MovieClip [char_lastBoss3] Frame 40
this.setEnemyExtra();
Symbol 420 MovieClip [char_lastBoss3] Frame 102
this.stop();
Symbol 420 MovieClip [char_lastBoss3] Frame 185
this.gotoAndStop("p1");
Symbol 420 MovieClip [char_lastBoss3] Frame 359
_root.bgmBox.changeBgm(442);
Symbol 420 MovieClip [char_lastBoss3] Frame 397
function formChange(f) {
nowForm = f;
waitTime = getTimer() + form3wait;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
extraEndFlag = 1;
_root.display.changeScore(score);
this._name = null;
this.gotoAndPlay("end2");
}
}
}
_name = "boss";
score = 200000 /* 0x030D40 */;
hp = (1000 * _global.gameLv) / 1.5;
shotRnd = 30 + _global.gameLv;
shotRnd2 = 1 + _global.gameLv;
shotRnd3 = 2 + _global.gameLv;
power = 6;
formMode = 1;
flag = 1;
form1wait = 8000;
form2wait = 9999999 /* 0x98967F */;
form3wait = 5000;
shotRndBase = 200;
nowForm = 1;
waitTime = getTimer() + form1wait;
this.onEnterFrame = function () {
if (flag != 0) {
sa = this._x - _root.mapShip._x;
if (sa > 0) {
muki = 1;
} else {
muki = -1;
}
if (formMode < 3) {
if (flag == 1) {
rand = Math.random() * shotRndBase;
if (rand < shotRnd) {
this.shotBeam1();
}
if (nowForm == 1) {
rand = Math.random() * 200;
if (rand < shotRnd2) {
this.shot();
}
rand = Math.random() * 200;
if (rand < shotRnd3) {
this.shot2();
}
}
}
if ((getTimer() > waitTime) && (nowForm == 1)) {
flag = 2;
nowForm = 2;
this.gotoAndPlay("open");
}
if ((getTimer() > waitTime) && (nowForm == 3)) {
nowForm = 1;
waitTime = getTimer() + form1wait;
this.play();
}
}
}
if ((extraEndFlag == 1) && (_currentframe < 530)) {
this.gotoAndPlay("end2");
}
};
Symbol 420 MovieClip [char_lastBoss3] Frame 402
this.formReset();
this.stop();
Symbol 420 MovieClip [char_lastBoss3] Frame 439
if (_global.gameLv > 3) {
b = 3;
} else {
b = 2;
}
Instance of Symbol 365 MovieClip in Symbol 420 MovieClip [char_lastBoss3] Frame 442
onClipEvent (load) {
flag = 1;
}
Symbol 420 MovieClip [char_lastBoss3] Frame 449
this.stop();
Symbol 420 MovieClip [char_lastBoss3] Frame 450
b--;
if (b > 0) {
this.gotoAndPlay("beam");
}
Symbol 420 MovieClip [char_lastBoss3] Frame 475
flag = 1;
this.formChange(3);
saveShotRnd = shotRnd;
shotRnd = shotRnd * 2;
this.stop();
Symbol 420 MovieClip [char_lastBoss3] Frame 477
shotRnd = saveShotRnd;
Symbol 420 MovieClip [char_lastBoss3] Frame 516
this.gotoAndStop("normal");
Symbol 420 MovieClip [char_lastBoss3] Frame 725
_root.breakEnemy();
Symbol 420 MovieClip [char_lastBoss3] Frame 728
this.removeMovieClip();
Symbol 422 MovieClip [targetCl_invisble] Frame 1
_visible = 0;
Symbol 424 MovieClip Frame 1
_visible = false;
damage = 800;
this.onEnterFrame = function () {
i = 1;
while (i < 5) {
var name = ("e" + i);
if (this.hitTest(_root[name])) {
_root[name].hit(damage);
this.hit();
}
i++;
}
if (this.hitTest(_root.boss.damageArea)) {
_root.boss.hit(damage);
this.hit();
}
};
Symbol 429 MovieClip [tama_mainChar_le] Frame 57
this.removeMovieClip();
this.stop();
Symbol 433 MovieClip [char_aircraft_bHeri2] Frame 1
function shot() {
saX = _root.mapShip._x - this._x;
saY = _root.mapShip._y - this._y;
var tKakudo = ((Math.atan2(saY, saX) / (Math.PI/180)) + ((Math.random() * 20) - 10));
kakudo = (tKakudo * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocketS", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot2() {
kakudo = (((Math.random() * 90) + 90) * Math.PI) / 180;
sY = power2 * Math.sin(kakudo);
sX = ((-power2) * Math.cos(kakudo)) * muki;
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot3(bType) {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power3 * Math.sin(kakudo);
sX = (-power3) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie(bType, tamaName, _global.rDeep);
if (bType == "tama_hou") {
x = (Math.random() * 120) - 60;
} else {
x = 0;
}
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = 0;
_root[tamaName].speedY = 0.5;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
_root.display.changeScore(score);
this._name = null;
this.gotoAndPlay("bomb");
}
}
}
function setWater() {
tempName = "water" + _global.rDeep;
_root.attachMovie("waterBombForHeri", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 600;
_root[tempName]._yscale = 600;
_global.rDeep++;
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.setWater();
this.removeMovieClip();
}
score = 10000;
hp = (400 * _global.gameLv) / 2;
shotRnd = 3 + (_global.gameLv / 1.5);
shotRnd2 = 1 + (_global.gameLv / 1.5);
shotRnd3 = 5 + (_global.gameLv / 1.5);
power = 5;
power2 = 6;
power3 = 5;
flag = 0;
action1wait = 3000;
waitTime = getTimer() + 10000;
this._x = 1050;
this._y = -150;
ext = 30;
tx = 350;
ty = 200;
this.onEnterFrame = function () {
if (flag) {
sa = this._x - _root.mapShip._x;
if (sa > 0) {
muki = 1;
} else {
muki = -1;
}
if (waitTime < getTimer()) {
waitTime = getTimer() + action1wait;
tx = (Math.random() * 500) + 100;
ty = (Math.random() * 80) + 50;
}
moveX = (tx - this._x) / ext;
this._x = this._x + moveX;
this._y = this._y + ((ty - this._y) / ext);
if ((sa > -30) && (sa < 30)) {
rand = Math.random() * 200;
if (rand < shotRnd3) {
this.shot3("tama_big");
} else if (rand < (shotRnd3 + 3)) {
this.shot3("tama_hou");
}
} else {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
rand = Math.random() * 200;
if (rand < shotRnd2) {
this.shot2();
}
}
}
};
this.stop();
Symbol 433 MovieClip [char_aircraft_bHeri2] Frame 10
sp = 0.1;
this.onEnterFrame = function () {
sp = sp + 0.01;
this._y = this._y + sp;
if (this._y > seaLineY) {
this.showGekitin();
}
};
Symbol 433 MovieClip [char_aircraft_bHeri2] Frame 81
this.onEnterFrame = function () {
sp = sp + 0.1;
this._y = this._y + sp;
if (this._y > seaLineY) {
this.showGekitin();
}
};
Symbol 433 MovieClip [char_aircraft_bHeri2] Frame 120
this.stop();
Symbol 434 MovieClip [char_aircraft_bHeri] Frame 1
function shot() {
saX = _root.mapShip._x - this._x;
saY = _root.mapShip._y - this._y;
var tKakudo = ((Math.atan2(saY, saX) / (Math.PI/180)) + ((Math.random() * 20) - 10));
kakudo = (tKakudo * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocketS", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot2() {
kakudo = (((Math.random() * 90) + 90) * Math.PI) / 180;
sY = power2 * Math.sin(kakudo);
sX = ((-power2) * Math.cos(kakudo)) * muki;
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot3(bType) {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power3 * Math.sin(kakudo);
sX = (-power3) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie(bType, tamaName, _global.rDeep);
if (bType == "tama_hou") {
x = (Math.random() * 120) - 60;
} else {
x = 0;
}
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y;
_root[tamaName].speedX = 0;
_root[tamaName].speedY = 0.5;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
_root.display.changeScore(score);
this._name = null;
this.gotoAndPlay("bomb");
}
}
}
function setWater() {
tempName = "water" + _global.rDeep;
_root.attachMovie("waterBombForHeri", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y;
_root[tempName]._xscale = 600;
_root[tempName]._yscale = 600;
_global.rDeep++;
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
this.setWater();
this.removeMovieClip();
}
score = 60000;
hp = (500 * _global.gameLv) / 2;
shotRnd = 8 + (_global.gameLv / 1.5);
shotRnd2 = 2 + (_global.gameLv / 1.5);
shotRnd3 = 10 + (_global.gameLv / 1.5);
power = 5;
power2 = 6;
power3 = 5;
flag = 0;
action1wait = 3000;
waitTime = getTimer() + action1wait;
this._x = 350;
this._y = -200;
ext = 30;
tx = 350;
ty = 100;
this.onEnterFrame = function () {
if (flag) {
sa = this._x - _root.mapShip._x;
if (sa > 0) {
muki = 1;
} else {
muki = -1;
}
if (waitTime < getTimer()) {
waitTime = getTimer() + action1wait;
tx = (Math.random() * 500) + 100;
ty = (Math.random() * 100) + 50;
}
moveX = (tx - this._x) / ext;
this._x = this._x + moveX;
this._y = this._y + ((ty - this._y) / ext);
if ((sa > -30) && (sa < 30)) {
rand = Math.random() * 200;
if (rand < shotRnd3) {
this.shot3("tama_big");
} else if (rand < (shotRnd3 + 3)) {
this.shot3("tama_hou");
}
} else {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
rand = Math.random() * 200;
if (rand < shotRnd2) {
this.shot2();
}
}
}
};
this.stop();
Symbol 434 MovieClip [char_aircraft_bHeri] Frame 10
sp = 0.1;
this.onEnterFrame = function () {
sp = sp + 0.01;
this._y = this._y + sp;
if (this._y > seaLineY) {
this.showGekitin();
}
};
Symbol 434 MovieClip [char_aircraft_bHeri] Frame 81
this.onEnterFrame = function () {
sp = sp + 0.1;
this._y = this._y + sp;
if (this._y > seaLineY) {
this.showGekitin();
}
};
Symbol 434 MovieClip [char_aircraft_bHeri] Frame 120
this.stop();
Symbol 437 MovieClip [char_yousai_gate1] Frame 1
function shot() {
kakudo = ((-((Math.random() * 90) + 150)) * Math.PI) / 180;
sY = power2 * Math.sin(kakudo);
sX = (-power2) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocketB", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + 10;
_root[tamaName]._y = 180;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot2() {
kakudo = ((-((Math.random() * 40) + 150)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = 180;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot3() {
kakudo = ((-((Math.random() * 40) + 150)) * Math.PI) / 180;
sY = power3 * Math.sin(kakudo);
sX = (-power3) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_big3", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = 180;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekitin", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
score = 80000 /* 0x013880 */;
hp = (1000 * _global.gameLv) / 3;
shotRnd = 1 + _global.gameLv;
shotRnd2 = 2 + _global.gameLv;
shotRnd3 = 0.1 + _global.gameLv;
power = 7;
power2 = 7;
power3 = 6.5;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
i = 0;
while (i < 3) {
this.shot();
i++;
}
}
rand = Math.random() * 200;
if (rand < shotRnd3) {
this.shot3();
}
rand = Math.random() * 200;
if (rand < shotRnd2) {
this.shot2();
}
}
};
this.stop();
Symbol 437 MovieClip [char_yousai_gate1] Frame 45
_root.breakEnemy();
this.stop();
Symbol 440 MovieClip [char_yousai_gate2] Frame 1
function setEnemy() {
if (Math.random() > 0.6) {
e = enemyName;
} else {
e = enemyName2;
}
name = "aricraft" + _global.rDeep;
_root.attachMovie(e, name, _global.rDeep);
_root[name]._x = 560;
_root[name]._y = 200;
_global.rDeep++;
}
function shot() {
kakudo = ((-((Math.random() * 90) + 150)) * Math.PI) / 180;
sY = power2 * Math.sin(kakudo);
sX = (-power2) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_rocketB", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + 10;
_root[tamaName]._y = 150;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot2() {
kakudo = ((-((Math.random() * 40) + 150)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = 150;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot3() {
kakudo = ((-((Math.random() * 40) + 150)) * Math.PI) / 180;
sY = power3 * Math.sin(kakudo);
sX = (-power3) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_big3", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = 150;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekitin", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
score = 80000 /* 0x013880 */;
hp = (600 * _global.gameLv) / 3;
shotRnd = 1 + _global.gameLv;
shotRnd2 = 2 + _global.gameLv;
shotRnd3 = 0.1 + _global.gameLv;
shotRnd4 = 0.5 + _global.gameLv;
power = 7;
power2 = 7;
power3 = 6.5;
flag = 0;
enemyName = "char_aricraft2";
enemyName2 = "char_aircraft3";
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
i = 0;
while (i < 3) {
this.shot();
i++;
}
}
rand = Math.random() * 200;
if (rand < shotRnd3) {
this.shot3();
}
rand = Math.random() * 200;
if (rand < shotRnd2) {
this.shot2();
}
rand = Math.random() * 200;
if (rand < shotRnd4) {
this.setEnemy();
}
}
};
this.stop();
Symbol 440 MovieClip [char_yousai_gate2] Frame 85
_root.breakEnemy();
this.stop();
Symbol 444 MovieClip [targetSarcle] Frame 1
function conMeth(c) {
if (c == 1) {
flag = 1;
Mouse.hide();
} else {
flag = 0;
this._x = 0;
this._y = -300;
Mouse.show();
}
}
flag = 0;
this.onEnterFrame = function () {
if (flag) {
this._rotation = this._rotation + 5;
this._x = _root._xmouse;
this._y = _root._ymouse;
}
};
Symbol 444 MovieClip [targetSarcle] Frame 4
this.gotoAndPlay(2);
Symbol 447 MovieClip [char_lastBoss2] Frame 1
function shot() {
kakudo = ((-((Math.random() * 120) + 90)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = ((-power) * Math.cos(kakudo)) * muki;
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y - 110;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot2() {
kakudo = ((-((Math.random() * 120) + 90)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = ((-power) * Math.cos(kakudo)) * muki;
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou2", tamaName, _global.rDeep);
_root[tamaName]._x = this._x;
_root[tamaName]._y = this._y - 110;
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot3(bType) {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie(bType, tamaName, _global.rDeep);
if (bType == "tama_hou") {
x = (Math.random() * 120) - 60;
} else {
x = 0;
}
_root[tamaName]._x = this._x + x;
_root[tamaName]._y = this._y - 100;
_root[tamaName].speedX = 0;
_root[tamaName].speedY = 0.5;
_global.rDeep++;
}
function setEnemy() {
name = "aricraft" + _global.rDeep;
_root.attachMovie(enemyName, name, _global.rDeep);
_root[name]._x = this._x;
_root[name]._y = this._y - 100;
_root[name]._xscale = _root[name]._xscale * muki;
_global.rDeep++;
}
function beam() {
flag = 5;
this._xscale = 100 * muki;
beamTime = getTimer() + 20000;
this.body.beam();
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
_root.display.changeScore(score);
this._name = null;
this.gotoAndPlay("bomb");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekiha", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
function walk() {
var rand = (Math.random() * 100);
if ((this._x < 600) && (rand > 98)) {
this._xscale = -100;
flag = 4;
this.gotoAndPlay("walk");
} else if ((this._x > 100) && (rand > 96)) {
this._xscale = 100;
flag = 4;
this.gotoAndPlay("walk");
}
}
score = 70000 /* 0x011170 */;
hp = (300 * _global.gameLv) / 2;
shotRnd = 1 + _global.gameLv;
shotRnd2 = 4 + _global.gameLv;
shotRnd3 = 2 + _global.gameLv;
power = 6;
chargeExt = 30;
moveFlag = 0;
enemyName = "char_aricraft2";
beamTime = getTimer() + 15000;
this.onEnterFrame = function () {
if ((getTimer() > beamTime) && (flag == 1)) {
this.beam();
}
sa = this._x - _root.mapShip._x;
if (sa > 0) {
muki = 1;
} else {
muki = -1;
}
if (flag == 1) {
this.walk();
}
if ((flag != 0) && (flag != 5)) {
if ((sa > -80) && (sa < 80)) {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot3("tama_big");
} else if (rand < (shotRnd + 3)) {
this.shot3("tama_hou");
}
} else {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
rand = Math.random() * 200;
if (rand < shotRnd3) {
this.shot2();
}
rand = Math.random() * 200;
if (rand < shotRnd2) {
this.setEnemy();
}
}
}
};
Symbol 447 MovieClip [char_lastBoss2] Frame 2
this.stop();
Symbol 447 MovieClip [char_lastBoss2] Frame 26
moveFlag = 0;
Symbol 447 MovieClip [char_lastBoss2] Frame 96
moveFlag = 1;
Symbol 447 MovieClip [char_lastBoss2] Frame 125
moveFlag = 0;
flag = 1;
this.gotoAndStop("normal");
Symbol 447 MovieClip [char_lastBoss2] Frame 350
_root.breakEnemy();
this.removeMovieClip();
this.stop();
Symbol 448 MovieClip [char_ship_kubo] Frame 1
function setEnemy() {
name = "aricraft" + _global.rDeep;
_root.attachMovie(enemyName, name, _global.rDeep);
_root[name]._x = this._x;
_root[name]._y = this._y - 5;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("gekitin");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekitin", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
score = 9000;
hp = (30 * _global.gameLv) / 2;
shotRnd = 0.5 + _global.gameLv;
power = 6;
flag = 0;
enemyName = "char_aricraft2";
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 100;
if (rand < shotRnd) {
this.setEnemy();
}
}
};
Symbol 448 MovieClip [char_ship_kubo] Frame 2
this.stop();
Symbol 448 MovieClip [char_ship_kubo] Frame 76
this.showGekitin();
_root.breakEnemy();
Symbol 448 MovieClip [char_ship_kubo] Frame 134
this.stop();
Symbol 449 MovieClip [char_ship_kutikiu] Frame 1
function shot() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou2", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + (Math.random() * 0.5);
_root[tamaName]._y = this._y + (Math.random() * 0.5);
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function shot2() {
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_gyorai", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + (Math.random() * 0.5);
_root[tamaName]._y = this._y + (Math.random() * 0.5);
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("gekitin");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekitin", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (20 * _global.gameLv) / 2;
score = 3000;
shotRnd = 1 + _global.gameLv;
power = 6;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
if (rand < (shotRnd / 2)) {
this.shot2();
}
}
};
Symbol 449 MovieClip [char_ship_kutikiu] Frame 2
this.stop();
Symbol 449 MovieClip [char_ship_kutikiu] Frame 76
this.showGekitin();
_root.breakEnemy();
Symbol 449 MovieClip [char_ship_kutikiu] Frame 111
this.stop();
Symbol 451 MovieClip [char_ship_senkan] Frame 1
function shot() {
kakudo = ((-((Math.random() * 40) + 130)) * Math.PI) / 180;
sY = power * Math.sin(kakudo);
sX = (-power) * Math.cos(kakudo);
tamaName = "tama" + _global.rDeep;
_root.attachMovie("tama_hou", tamaName, _global.rDeep);
_root[tamaName]._x = this._x + (Math.random() * 0.5);
_root[tamaName]._y = this._y + (Math.random() * 0.5);
_root[tamaName].speedX = -sX;
_root[tamaName].speedY = sY;
_global.rDeep++;
}
function hit(d) {
if (hp > 0) {
hp = hp - d;
if (hp <= 0) {
flag = 0;
this._name = null;
_root.display.changeScore(score);
this.gotoAndPlay("gekitin");
}
}
}
function showGekitin() {
tempName = "gekitin" + _global.rDeep;
_root.attachMovie("atcItem_gekitin", tempName, _global.rDeep);
_root[tempName]._x = this._x;
_root[tempName]._y = this._y - 150;
_root[tempName]._xscale = 150;
_root[tempName]._yscale = 150;
_global.rDeep++;
}
hp = (50 * _global.gameLv) / 2;
score = 7000;
shotRnd = 1 + _global.gameLv;
power = 6;
flag = 0;
this.onEnterFrame = function () {
if (flag) {
rand = Math.random() * 200;
if (rand < shotRnd) {
this.shot();
}
}
};
Symbol 451 MovieClip [char_ship_senkan] Frame 2
this.stop();
Symbol 451 MovieClip [char_ship_senkan] Frame 86
this.showGekitin();
_root.breakEnemy();
Symbol 451 MovieClip [char_ship_senkan] Frame 135
this.stop();
Symbol 474 MovieClip Frame 1
function changeBgm(bgmNo) {
bgmNo = "s" + bgmNo;
theSound.stop();
_root.theSound.stop();
this.gotoAndStop("first");
this.gotoAndStop(bgmNo);
}
function setVol(v) {
theSound.setVolume(v);
}
theSound = new Sound(this);
this.stop();
Symbol 474 MovieClip Frame 35
this.stop();
Symbol 474 MovieClip Frame 45
this.stop();
Symbol 474 MovieClip Frame 55
this.stop();
Symbol 474 MovieClip Frame 65
this.stop();
Symbol 474 MovieClip Frame 75
this.stop();
Symbol 474 MovieClip Frame 85
this.stop();
Symbol 474 MovieClip Frame 95
this.stop();
Symbol 474 MovieClip Frame 106
this.stop();
Symbol 474 MovieClip Frame 116
this.stop();
Symbol 474 MovieClip Frame 126
this.stop();
Symbol 474 MovieClip Frame 136
this.stop();
Symbol 474 MovieClip Frame 146
this.stop();
Symbol 474 MovieClip Frame 156
this.stop();
Symbol 474 MovieClip Frame 167
this.stop();
Symbol 474 MovieClip Frame 176
this.stop();
Symbol 474 MovieClip Frame 186
this.stop();
Symbol 474 MovieClip Frame 216
Symbol 474 MovieClip Frame 227
this.stop();
Symbol 506 Button
on (release) {
_root.gotoAndStop("title");
}
Instance of Symbol 477 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
totalBytes = _root.getBytesTotal();
_parent.total = Math.round(totalBytes / 1000);
}
onClipEvent (enterFrame) {
loadedBytes = _root.getBytesLoaded();
_parent.loaded = Math.round(loadedBytes / 1000);
this._xscale = (loadedBytes / totalBytes) * 100;
if (loadedBytes == totalBytes) {
_parent.gotoAndStop("downLoadEnd");
}
}
Symbol 511 MovieClip Frame 10
this.stop();
Symbol 511 MovieClip Frame 20
this.stop();
Symbol 518 Button
on (release) {
this.changeS("game");
}
on (rollOver, dragOver) {
this.startSe("bOver");
}
Symbol 533 MovieClip Frame 1
if (_root.so.data.hellClearFlag == 1) {
miniMes = "YOU'RE THE BATTLE SHIP MASTER!!";
}
Symbol 537 Button
on (release) {
this.changeS("credit");
}
on (rollOver, dragOver) {
this.startSe("bOver");
}
Symbol 539 Button
on (release) {
getURL ("http://www12.plala.or.jp/nextframe", _blank);
}
on (rollOver, dragOver) {
this.startSe("bOver");
}
Symbol 540 Button
on (release) {
this.changeS("option");
}
on (rollOver, dragOver) {
this.startSe("bOver");
}
Symbol 553 Button
on (release) {
_parent.play();
}
on (rollOver) {
_parent.startSe("bOver");
}
Symbol 558 Button
on (release) {
this.play();
}
on (rollOver) {
this.startSe("bOver");
}
Symbol 560 Button
on (release) {
_parent.startSe("bOk");
_parent.play();
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("sinario");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes(0);
}
Symbol 562 Button
on (release) {
_parent.startSe("bOk");
_parent.gameStart(-1);
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("ensyu");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes(0);
}
Symbol 564 Button
on (release) {
_parent.mode = 2;
_parent.startSe("bOk");
_parent.mode = "stageSelect";
_parent.play();
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("stageSelect");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes(0);
}
Symbol 568 MovieClip Frame 1
this.stop();
Symbol 568 MovieClip Frame 10
_parent.gotoAndPlay("top");
Symbol 569 Button
on (release) {
this.mask.play();
}
on (rollOver) {
this.startSe("bOver");
}
Symbol 571 Button
on (release) {
_parent.gameStart(3);
_parent.startSe("bOk");
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("hard");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes("selectLv");
}
Symbol 573 Button
on (release) {
_parent.gameStart(2);
_parent.startSe("bOk");
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("normal");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes("selectLv");
}
Symbol 575 Button
on (release) {
_parent.gameStart(1);
_parent.startSe("bOk");
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("easy");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes("selectLv");
}
Symbol 577 Button
on (release) {
_parent.gameStart(4);
_parent.startSe("bOk");
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("veryhard");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes("selectLv");
}
Symbol 579 Button
on (release) {
_parent.gameStart(8);
_parent.startSe("bOk");
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("hell");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes("selectLv");
}
Symbol 581 Button
on (release) {
_parent.gameStart(6);
_parent.startSe("bOk");
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("extreme");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes("selectLv");
}
Symbol 583 Button
on (release) {
_parent.play();
}
Symbol 585 Button
on (release) {
_parent.startSe("bOk");
_root.stageSelect(1);
_parent.mode = 1;
_parent.gameStart(0);
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("ensyu");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes(0);
}
Symbol 587 Button
on (release) {
_parent.startSe("bOk");
_root.stageSelect(2);
_parent.mode = 1;
_parent.gameStart(0);
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("ensyu");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes(0);
}
Symbol 589 Button
on (release) {
_parent.startSe("bOk");
_root.stageSelect(3);
_parent.mode = 1;
_parent.gameStart(0);
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("ensyu");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes(0);
}
Symbol 591 Button
on (release) {
_parent.startSe("bOk");
_root.stageSelect(4);
_parent.mode = 1;
_parent.gameStart(0);
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("ensyu");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes(0);
}
Symbol 593 Button
on (release) {
_parent.startSe("bOk");
_root.stageSelect(5);
_parent.mode = 1;
_parent.gameStart(0);
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("ensyu");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes(0);
}
Symbol 595 Button
on (release) {
_parent.startSe("bOk");
_root.stageSelect(6);
_parent.mode = 1;
_parent.gameStart(0);
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("ensyu");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes(0);
}
Symbol 597 Button
on (release) {
_parent.startSe("bOk");
_root.stageSelect(7);
_parent.mode = 1;
_parent.gameStart(0);
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("ensyu");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes(0);
}
Symbol 599 Button
on (release) {
_parent.startSe("bOk");
_root.stageSelect(8);
_parent.mode = 1;
_parent.gameStart(0);
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("ensyu");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes(0);
}
Symbol 601 Button
on (release) {
_parent.startSe("bOk");
_root.stageSelect(9);
_parent.mode = 1;
_parent.gameStart(0);
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("ensyu");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes(0);
}
Symbol 603 Button
on (release) {
_parent.startSe("bOk");
_root.stageSelect(10);
_parent.mode = 1;
_parent.gameStart(0);
}
on (rollOver) {
_parent.startSe("bOver");
_parent.setMes("ensyu");
}
on (rollOut, dragOut, releaseOutside) {
_parent.setMes(0);
}
Symbol 604 MovieClip Frame 1
tl = _global.gameLv - 1;
cls = _root.so.data.clearStageData[tl];
if (cls >= 11) {
cls = 10;
}
s = "s" + cls;
this.gotoAndStop(s);
this.stop();
Symbol 604 MovieClip Frame 5
this.stop();
Symbol 604 MovieClip Frame 10
this.stop();
Symbol 604 MovieClip Frame 15
this.stop();
Symbol 604 MovieClip Frame 20
this.stop();
Symbol 604 MovieClip Frame 25
this.stop();
Symbol 604 MovieClip Frame 30
this.stop();
Symbol 604 MovieClip Frame 35
this.stop();
Symbol 604 MovieClip Frame 40
this.stop();
Symbol 604 MovieClip Frame 45
this.stop();
Symbol 614 Button
on (release) {
_parent._parent.startSe("bOk");
_root.so.data.quality = (_root._quality = "HIGH");
}
on (rollOver) {
_parent._parent.startSe("bOver");
_parent._parent.setMes("gHIGH");
}
on (rollOut, dragOut, releaseOutside) {
_parent._parent.setMes(0);
}
Symbol 616 Button
on (release) {
_parent._parent.startSe("bOk");
_root.so.data.quality = (_root._quality = "MEDIUM");
}
on (rollOver) {
_parent._parent.startSe("bOver");
_parent._parent.setMes("gMEDIUM");
}
on (rollOut, dragOut, releaseOutside) {
_parent._parent.setMes(0);
}
Symbol 618 Button
on (release) {
_parent._parent.startSe("bOk");
_root.so.data.quality = (_root._quality = "LOW");
}
on (rollOver) {
_parent._parent.startSe("bOver");
_parent._parent.setMes("gLOW");
}
on (rollOut, dragOut, releaseOutside) {
_parent._parent.setMes(0);
}
Symbol 621 MovieClip Frame 1
this.onEnterFrame = function () {
f = _root._quality;
this.gotoAndStop(f);
};
Symbol 634 Button
on (press) {
flag = 1;
}
on (release, dragOut, releaseOutside) {
flag = 0;
}
Instance of Symbol 635 MovieClip in Symbol 636 MovieClip Frame 1
onClipEvent (load) {
function slide() {
if (this._x < 0) {
this._x = 0;
} else if (this._x > 200) {
this._x = 200;
}
this._y = 0;
_parent.vol = (vol = Math.floor((200 - this._x) / 2));
_parent.volMask._xscale = vol;
_root.setVol(vol);
}
flag = 0;
_parent.vol = (vol = _root.getVol());
this._x = 200 - (vol * 2);
_parent.volMask._xscale = vol;
}
onClipEvent (enterFrame) {
if (flag) {
endFlag = 1;
this.startDrag();
this.slide();
} else if (endFlag) {
endFlag--;
this.stopDrag();
this.slide();
}
}
Symbol 638 Button
on (release) {
_parent._parent._parent.startSe("bOk");
this.keyChange(2);
}
on (rollOver) {
_parent._parent._parent.startSe("bOver");
_parent._parent._parent.setMes("conTypeA");
}
on (rollOut, dragOut, releaseOutside) {
_parent._parent._parent.setMes(0);
}
Symbol 640 Button
on (release) {
_parent._parent._parent.startSe("bOk");
this.keyChange(1);
}
on (rollOver) {
_parent._parent._parent.startSe("bOver");
_parent._parent._parent.setMes("conTypeB");
}
on (rollOut, dragOut, releaseOutside) {
_parent._parent._parent.setMes(0);
}
Symbol 641 MovieClip Frame 1
function keyChange(c) {
_root.so.data.keyMode = c;
var f = ("key" + c);
this.gotoAndStop(f);
}
if (_root.so.data.keyMode == 1) {
this.gotoAndStop("key1");
} else {
this.gotoAndStop("key2");
}
Symbol 641 MovieClip Frame 2
this.stop();
Symbol 641 MovieClip Frame 10
this.stop();
Symbol 646 Button
on (release) {
_parent.play();
}
Symbol 648 Button
on (release) {
_parent.play();
}
Symbol 657 Button
on (release) {
this.dataDelete();
}
Symbol 660 MovieClip Frame 1
function dataDelete() {
if (delFlag == 1) {
_root.so.data.shipData = null;
_root.so.data.hellClearFlag2 = null;
_root.so.data.extraData = null;
_root.so.data.clearStageData = [1, 1, 1, 1, 0, 1, 0, 1];
_root.chengeScene("priLoad");
}
}
delFlag = 0;
this.onEnterFrame = function () {
if (delFlag != 2) {
if (delKey == "DELETE") {
delFlag = 1;
mes = "\u72B6\u614B\uFF1A\u30AD\u30FC\u5165\u529B\u78BA\u8A8D\u3001\u524A\u9664\u53EF\u80FD";
} else {
delFlag = 0;
mes = "\u72B6\u614B\uFF1A\u30AD\u30FC\u5165\u529B\u306A\u3057\u3001\u524A\u9664\u4E0D\u53EF";
}
} else {
mes = "\u30C7\u30FC\u30BF\u306E\u524A\u9664\u5B8C\u4E86";
}
};
Symbol 661 MovieClip Frame 1
this.stop();
Symbol 661 MovieClip Frame 15
this.stop();
Symbol 675 Button
on (release) {
this.dataReset();
}
Symbol 679 MovieClip Frame 1
function dataReset() {
if (keyMes == "CLEAR") {
_root.shipStatas[11] = ["\u8266\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044", "-", 1, 1, 1, 1, 1, 200, 99, 99];
_root.so.data.shipData = ["\u8266\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044", "-", 1, 1, 1, 1, 1, 200, 99, 99];
_root.so.data.extraData = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
this.onEnterFrame = null;
mes = "\u51E6\u7406\u5B8C\u4E86";
}
}
this.onEnterFrame = function () {
if (keyMes == "CLEAR") {
mes = "\u6E96\u5099\u5B8C\u4E86";
} else {
mes = "\u30AD\u30FC\u5165\u529B\u306A\u3057";
}
};
Symbol 680 Button
on (release) {
this.gotoAndPlay("top");
}
Symbol 681 MovieClip Frame 1
function startSe(n) {
var temp = ("se_" + n);
this[temp].start();
}
function changeS(s) {
if (_currentframe == 18) {
se_bOk.start();
nextS = s;
this.gotoAndPlay(40);
} else if (_currentframe == 39) {
se_bOk.start();
nextS = s;
this.play();
}
}
function gameStart(lv) {
if (lv == -1) {
_global.gameLv = 1;
nextS = "howTo";
} else if (lv != 0) {
_global.gameLv = lv;
nextS = "select";
}
if (mode == 1) {
this.gotoAndPlay("gameStart");
} else {
this.gotoAndPlay("stageSelect");
}
}
function setMes(c) {
if (c == 0) {
this.dis.mes = "\u30D7\u30EC\u30A4\u3059\u308B\u30E2\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002";
} else if (c == "sinario") {
this.dis.mes = "\u30B9\u30C8\u30FC\u30EA\u306B\u305D\u3063\u3066\u30B2\u30FC\u30E0\u3092\u30D7\u30EC\u30A4\u3057\u307E\u3059\u3002";
} else if (c == "selectLv") {
this.dis.mes = "\u30B2\u30FC\u30E0\u306E\u96E3\u6613\u5EA6\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002\n\u4F5C\u6210\u3057\u305F\u8266\u8247\u3084\u30B9\u30B3\u30A2\u306F\u3059\u3079\u3066\u306E\u96E3\u6613\u5EA6\u3067\u5F15\u304D\u7D99\u304C\u308C\u307E\u3059\u3002";
} else if (c == "easy") {
this.dis.mes = "\u7C21\u5358\u306A\u30E2\u30FC\u30C9\u3067\u3059\u3002\u521D\u3081\u3066\u306E\u30D7\u30EC\u30A4\u306A\u3089\u3001\u307E\u305A\u306F\u3053\u3053\u304B\u3089\u59CB\u3081\u3066\u307F\u3066\u304F\u3060\u3055\u3044\u3002\n\u7372\u5F97\u30B9\u30B3\u30A2\u534A\u5206\u3001\u7372\u5F97\u6539\u9020\u30DD\u30A4\u30F3\u30C8\u6E1B\u5C11\u3001\u6575\u5F31\u4F53\u5316";
} else if (c == "normal") {
this.dis.mes = "\u666E\u901A\u306E\u30E2\u30FC\u30C9\u3067\u3059\u3002\u3053\u306E\u30B2\u30FC\u30E0\u306B\u6163\u308C\u3066\u304D\u305F\u3089\u3053\u3061\u3089\u3002\n";
} else if (c == "hard") {
this.dis.mes = "\u96E3\u3057\u3044\u30E2\u30FC\u30C9\u3067\u3059\u3002\u3042\u306A\u305F\u306E\u5F37\u5316\u8266\u3067\u6311\u3093\u3067\u307F\u3066\u304F\u3060\u3055\u3044\u3002\n\u7372\u5F97\u30B9\u30B3\u30A22\u500D\u3001\u7372\u5F97\u6539\u9020\u30DD\u30A4\u30F3\u30C8\u5897\u52A0\u3001\u6575\u5F37\u5316";
} else if (c == "veryhard") {
this.dis.mes = "\u304B\u306A\u308A\u96E3\u3057\u3044\u30E2\u30FC\u30C9\u3067\u3059\u3002\u3042\u306A\u305F\u306F\u751F\u304D\u6B8B\u308C\u308B\u304B\uFF1F\n\u7372\u5F97\u30B9\u30B3\u30A23\u500D\u3001\u7372\u5F97\u6539\u9020\u30DD\u30A4\u30F3\u30C8\u5897\u52A0\u3001\u6575\u66F4\u306B\u5F37\u5316";
} else if (c == "extreme") {
this.dis.mes = "\u4FEE\u7F85\u9053\u306E\u5165\u308A\u53E3\u3002\u30D7\u30EC\u30A4\u306F\u4EFB\u610F\u3067\u3059\u3002\n\u7372\u5F97\u30B9\u30B3\u30A24\u500D\u3001\u7372\u5F97\u6539\u9020\u30DD\u30A4\u30F3\u30C8\u5897\u52A0\u3001\u6575\u76F8\u5F53\u306B\u5F37\u5316";
} else if (c == "hell") {
this.dis.mes = "\u5730\u7344\u306E\u84CB\u3092\u958B\u3051\u305F\u3044\u65B9\u306F\u3069\u3046\u305E";
} else if (c == "ensyu") {
this.dis.mes = "\u64CD\u4F5C\u65B9\u6CD5\u306E\u8AAC\u660E\u3084\u3001\u7DF4\u7FD2\u304C\u884C\u3048\u307E\u3059\u3002";
} else if (c == "taikan") {
this.dis.mes = "\u5F37\u529B\u306A\u6575\u6226\u8266\u30681\u5BFE1\u3067\u5BFE\u6226\u3057\u307E\u3059\u3002\n(\u73FE\u5728\u6E96\u5099\u4E2D\u3067\u3059\u3002)";
} else if (c == "stageSelect") {
this.dis.mes = "\u3044\u307E\u307E\u3067\u30AF\u30EA\u30A2\u3057\u305F\u30B9\u30C6\u30FC\u30B8\u3092\u81EA\u7531\u306B\u9078\u629E\u3067\u304D\u307E\u3059\u3002";
} else if (c == "gHIGH") {
this.dis.mes = "\u9AD8\u753B\u8CEA\u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002\n\u30AF\u30AA\u30EA\u30C6\u30A3\u306F\u6700\u5927\u3067\u3059\u304C\u3001\u51E6\u7406\u304C\u304B\u306A\u308A\u91CD\u304F\u306A\u308A\u307E\u3059\u3002";
} else if (c == "gMEDIUM") {
this.dis.mes = "\u666E\u901A\u753B\u8CEA\u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002\n\u57FA\u672C\u5024\u3067\u3059\u3002\u30D0\u30E9\u30F3\u30B9\u306E\u3068\u308C\u305F\u753B\u8CEA\u3068\u8CA0\u8377\u306B\u306A\u308A\u307E\u3059\u3002";
} else if (c == "gLOW") {
this.dis.mes = "\u4F4E\u753B\u8CEA\u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002\n\u51E6\u7406\u306F\u304B\u306A\u308A\u8EFD\u304F\u306A\u308A\u307E\u3059\u304C\u3001\u753B\u8CEA\u306F\u304B\u306A\u308A\u52A3\u5316\u3057\u307E\u3059\u3002";
} else if (c == "conTypeA") {
this.dis.mes = "\u77E2\u5370\u30AD\u30FC[\u2190] [\u2192]\u30AD\u30FC\u3067\u79FB\u52D5\u3001[\u2191]\u30AD\u30FC\u3067\u8FFD\u52A0\u5175\u88C5\u3092\u767A\u5C04\u3057\u307E\u3059\u3002\n\u30AF\u30EA\u30C3\u30AF\u3059\u308B\u3068\u64CD\u4F5C\u30E2\u30FC\u30C9\u3092\u5207\u308A\u66FF\u3048\u307E\u3059\u3002";
} else if (c == "conTypeB") {
this.dis.mes = "[Z] [C]\u30AD\u30FC\u3067\u79FB\u52D5\u3001[SPACE]\u30AD\u30FC\u3067\u8FFD\u52A0\u5175\u88C5\u3092\u767A\u5C04\u3057\u307E\u3059\u3002\n\u30AF\u30EA\u30C3\u30AF\u3059\u308B\u3068\u64CD\u4F5C\u30E2\u30FC\u30C9\u3092\u5207\u308A\u66FF\u3048\u307E\u3059\u3002";
} else if (c == "chic") {
this.dis.mes = "\u203B\u7279\u6B8A\u3000\u6575\u304B\u3089\u306E\u653B\u6483\u91CF\u306F\u3059\u304F\u306A\u3081\u3067\u3059\u304C\u3001\u4E00\u767A\u306E\u30C0\u30E1\u30FC\u30B8\u304C\u5927\u304D\u304F\u4E0A\u6607\u3057\u307E\u3059\n\u5805\u5B9F\u306A\u64CD\u4F5C\u304C\u8981\u6C42\u3055\u308C\u308B\u30E2\u30FC\u30C9\u3067\u3059\u3002";
}
}
function changeGameLv(lv) {
_global.gameLv = lv;
}
function selectStage() {
}
_root.bgmBox.changeBgm(77);
mode = 1;
se_bOver = new Sound();
se_bOk = new Sound();
se_bOver.attachSound("SE_bOver");
se_bOk.attachSound("SE_bOk");
Symbol 681 MovieClip Frame 18
this.stop();
Symbol 681 MovieClip Frame 39
this.stop();
Symbol 681 MovieClip Frame 54
this.gotoAndPlay(nextS);
Symbol 681 MovieClip Frame 77
this.stop();
Symbol 681 MovieClip Frame 81
this.gotoAndPlay("top");
Symbol 681 MovieClip Frame 99
this.stop();
Symbol 681 MovieClip Frame 109
this.stop();
Symbol 681 MovieClip Frame 118
this.mode = 1;
this.gotoAndStop("gameR");
Symbol 681 MovieClip Frame 125
this.stageData.gotoAndStop(1);
Symbol 681 MovieClip Frame 134
this.stop();
Symbol 681 MovieClip Frame 143
this.gotoAndStop("gameR2");
Symbol 681 MovieClip Frame 159
this.stop();
Symbol 681 MovieClip Frame 168
this.gotoAndPlay("top");
Symbol 681 MovieClip Frame 240
_root.chengeScene(nextS);
Symbol 681 MovieClip Frame 250
this.stop();
Symbol 683 MovieClip Frame 2
url = _url;
ans = url.indexOf("http");
trueUrl = "http://www12.plala.or.jp/nextframe/swf/bs.swf?ver=" + _root.nowVer;
_root.trueUrl = trueUrl;
if (ans != -1) {
if (_url == trueUrl) {
} else {
_root.onEnterFrame = function () {
_root.gotoAndStop("addressError");
};
_root.gotoAndStop("addressError");
}
}
this.stop();
Symbol 691 MovieClip Frame 1
this.stop();
Symbol 704 MovieClip Frame 5
this.stop();
Symbol 704 MovieClip Frame 10
this.stop();
Symbol 704 MovieClip Frame 15
this.stop();
Symbol 704 MovieClip Frame 20
this.stop();
Symbol 704 MovieClip Frame 25
this.stop();
Symbol 704 MovieClip Frame 30
this.stop();
Symbol 704 MovieClip Frame 35
this.stop();
Symbol 704 MovieClip Frame 40
this.stop();
Symbol 704 MovieClip Frame 45
this.stop();
Symbol 704 MovieClip Frame 50
this.stop();
Symbol 712 MovieClip Frame 1
function Shot() {
this.play();
_root.mapShip.setAmo();
}
function SetGun() {
this.gotoAndStop(_currentframe + 1);
}
Symbol 712 MovieClip Frame 2
this.stop();
Symbol 712 MovieClip Frame 3
this.stop();
Symbol 712 MovieClip Frame 21
this.gotoAndStop(2);
Symbol 713 MovieClip Frame 1
rotationExt = 30;
Instance of Symbol 713 MovieClip "b3" in Symbol 714 MovieClip Frame 1
onClipEvent (enterFrame) {
flag = 1;
}
Symbol 725 Button
on (rollOver) {
this.changeHelpMes(55, 1);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 727 Button
on (rollOver) {
this.changeHelpMes(55, 2);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 729 Button
on (rollOver) {
this.changeHelpMes(55, 3);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 731 Button
on (rollOver) {
this.changeHelpMes(55, 4);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 733 Button
on (rollOver) {
this.changeHelpMes(55, 5);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 739 Button
on (release) {
this.dataSave();
_root.chengeScene("game", 0);
}
Symbol 745 Button
on (release) {
this.changeStatas(3, 1);
}
on (rollOver) {
this.changeHelpMes(3, 1);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 748 Button
on (release) {
this.changeStatas(3, 0);
}
on (rollOver) {
this.changeHelpMes(3, 0);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 749 Button
on (release) {
this.changeStatas(4, 1);
}
on (rollOver) {
this.changeHelpMes(4, 1);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 750 Button
on (release) {
this.changeStatas(4, 0);
}
on (rollOver) {
this.changeHelpMes(4, 0);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 751 Button
on (release) {
this.changeStatas(5, 1);
}
on (rollOver) {
this.changeHelpMes(5, 1);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 752 Button
on (release) {
this.changeStatas(5, 0);
}
on (rollOver) {
this.changeHelpMes(5, 0);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 753 Button
on (release) {
this.changeStatas(6, 1);
}
on (rollOver) {
this.changeHelpMes(6, 1);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 754 Button
on (release) {
this.changeStatas(6, 0);
}
on (rollOver) {
this.changeHelpMes(6, 0);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 755 Button
on (release) {
this.changeStatas(2, 1);
}
on (rollOver) {
this.changeHelpMes(2, 1);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 756 Button
on (release) {
this.changeStatas(2, 0);
}
on (rollOver) {
this.changeHelpMes(2, 0);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 765 Button
on (release) {
this.autoMaking(3);
}
on (rollOver) {
this.changeHelpMes(33, 3);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 768 Button
on (release) {
this.autoMaking(0);
}
on (rollOver) {
this.changeHelpMes(33, 0);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 771 Button
on (release) {
this.autoMaking(1);
}
on (rollOver) {
this.changeHelpMes(33, 1);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 774 Button
on (release) {
this.autoMaking(2);
}
on (rollOver) {
this.changeHelpMes(33, 2);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 780 Button
on (release) {
this._visible = 0;
}
Symbol 784 MovieClip Frame 1
this.stop();
Symbol 787 MovieClip Frame 12
this.stop();
Symbol 788 Button
on (release) {
this.dataSave();
_root.chengeScene("game", 0);
}
Symbol 791 Button
on (release) {
backFrame = "firstLoad";
this.dataSave();
this.gotoAndStop("wepon");
}
on (rollOver) {
this.changeHelpMes(44, 0);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 793 MovieClip Frame 1
this.stop();
Symbol 794 Button
on (release) {
if (this.dis._visible == false) {
this.dataSave();
if ((_global.nowStage == 10) || (_global.clearFlag == 1)) {
this.attachMovie("scene_game_mask", "mask", 10);
} else {
_parent.sceneChenge(0);
}
}
}
Symbol 795 Button
on (release) {
backFrame = "normal";
this.dataSave();
this.gotoAndStop("wepon");
}
on (rollOver) {
this.changeHelpMes(44, 0);
}
on (rollOut, dragOut, releaseOutside) {
this.changeHelpMes(0, 0);
}
Symbol 801 MovieClip Frame 3
this.gotoAndPlay(1);
Symbol 814 Button
on (release) {
c = 1;
_parent._parent.conExtraWepon(c, no);
}
on (rollOver, dragOver) {
c = 1;
_parent._parent.setMes(c, useP);
}
on (rollOut, dragOut, releaseOutside) {
_parent._parent.setMes(comment);
}
Symbol 821 MovieClip Frame 6
this.stop();
Symbol 825 Button
on (release) {
c = 2;
_parent._parent.conExtraWepon(c, no);
}
on (rollOver, dragOver) {
c = 2;
_parent._parent.setMes(c, useP);
}
on (rollOut, dragOut, releaseOutside) {
_parent._parent.setMes(comment);
}
Symbol 828 Button
on (release) {
c = 3;
_parent._parent.conExtraWepon(c, no);
}
on (rollOver, dragOver) {
c = 3;
_parent._parent.setMes(c, useP);
}
on (rollOut, dragOut, releaseOutside) {
_parent._parent.setMes(comment);
}
Symbol 835 MovieClip Frame 2
f = "f" + _parent.lv;
this.gotoAndStop(f);
this.stop();
Symbol 841 MovieClip Frame 2
f = "f" + _parent.lv;
this.gotoAndStop(f);
this.stop();
Symbol 844 MovieClip Frame 1
function equipFlagCon(c) {
equipFlag = c;
this.ec._visible = c;
this.ec.gotoAndPlay(1);
}
i = 0;
this.onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (i < 5) {
i++;
_parent._parent.setMes(comment);
this.sc._visible = true;
}
} else if (this.sc._visible == true) {
i = 0;
_parent._parent.setMes(0);
this.sc._visible = false;
}
};
Symbol 844 MovieClip Frame 3
this.stop();
Symbol 844 MovieClip Frame 10
this.stop();
Symbol 844 MovieClip Frame 20
this.stop();
Symbol 844 MovieClip Frame 30
this.stop();
Symbol 844 MovieClip Frame 40
this.stop();
Symbol 852 Button
on (rollOver, dragOver) {
_parent.setMes(99, 0);
}
Symbol 855 Button
on (rollOver, dragOver) {
_parent.setMes(99, 1);
}
on (release) {
this.gotoAndPlay("sub2");
}
Symbol 857 Button
on (rollOver, dragOver) {
_parent.setMes(99, 0);
}
on (release) {
this.gotoAndPlay("sub1");
}
Symbol 858 Button
on (rollOver, dragOver) {
_parent.setMes(99, 1);
}
Instance of Symbol 844 MovieClip "p0" in Symbol 860 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 844 MovieClip "p3" in Symbol 860 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 844 MovieClip "p2" in Symbol 860 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 844 MovieClip "p1" in Symbol 860 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 844 MovieClip "p4" in Symbol 860 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 844 MovieClip "p5" in Symbol 860 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 844 MovieClip "p6" in Symbol 860 MovieClip Frame 1
/* no clip actions */
Symbol 860 MovieClip Frame 2
_parent.setPanel();
_parent.checkWepon();
this.stop();
Instance of Symbol 844 MovieClip "p7" in Symbol 860 MovieClip Frame 10
/* no clip actions */
Instance of Symbol 844 MovieClip "p10" in Symbol 860 MovieClip Frame 10
/* no clip actions */
Instance of Symbol 844 MovieClip "p9" in Symbol 860 MovieClip Frame 10
/* no clip actions */
Instance of Symbol 844 MovieClip "p8" in Symbol 860 MovieClip Frame 10
/* no clip actions */
Instance of Symbol 844 MovieClip "p11" in Symbol 860 MovieClip Frame 10
/* no clip actions */
Symbol 860 MovieClip Frame 11
_parent.setPanel();
_parent.checkWepon();
this.stop();
Symbol 866 Button
on (release) {
_parent.conExtraWepon(99, 99);
}
Symbol 868 MovieClip Frame 1
comment = "\u73FE\u5728\u88C5\u5099\u4E2D\u306E\u8FFD\u52A0\u5175\u88C5\u3092\u89E3\u9664\u3057\u307E\u3059\u3002";
this.onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (i < 5) {
i++;
_parent.setMes(comment);
this.sc._visible = true;
}
} else if (this.sc._visible == true) {
i = 0;
_parent.setMes(0);
this.sc._visible = false;
}
};
Symbol 868 MovieClip Frame 3
this.stop();
Symbol 874 Button
on (release) {
this.gotoAndStop(backFrame);
}
Symbol 875 MovieClip Frame 1
function firstSet() {
}
function dataSave() {
_root.shipStatas[_global.nowShip][0] = name;
_root.shipStatas[11][1] = "ok";
i = 0;
while (i < 8) {
_root.so.data.shipData[i] = _root.shipStatas[11][i];
i++;
}
_root.so.data.score = _global.score;
if (_root.maxHitCnt > _global.allMaxHitCnt) {
_global.allMaxHitCnt = (_root.so.data.allMaxHitCnt = _root.maxHitCnt);
}
}
function setStatas() {
_root.shipStatas[_global.nowShip][i];
_root.shipStatas[_global.nowShip][i];
i = 0;
name = _root.shipStatas[_global.nowShip][i];
i++;
comment = _root.shipStatas[_global.nowShip][i];
i++;
syasu = "x" + _root.shipStatas[_global.nowShip][i];
i = 3;
while (i < 10) {
var tempName = ("s" + _root.shipStatas[_global.nowShip][i]);
this[i].gotoAndStop(tempName);
i++;
}
point = _root.shipStatas[_global.nowShip][7];
if (point == null) {
point = (_root.shipStatas[_global.nowShip][7] = basePoint);
}
}
function changeStatas(statas, com) {
if ((this.dis._visible == false) || (this.dis == undefined)) {
var flag = 0;
needPoint = this.checkNeedPoint(statas, com);
if (com) {
if (_root.shipStatas[_global.nowShip][statas] < 10) {
if (point >= needPoint) {
theSe.start();
this.efMask.gotoAndPlay(2);
_root.shipStatas[_global.nowShip][statas]++;
_root.shipStatas[_global.nowShip][7] = _root.shipStatas[_global.nowShip][7] - needPoint;
flag = 1;
} else {
helpMes = "\u5F37\u5316\u30DD\u30A4\u30F3\u30C8\u304C\u4E0D\u8DB3\u3057\u3066\u3044\u307E\u3059\u3002\u5FC5\u8981\u30DD\u30A4\u30F3\u30C8" + needPoint;
}
} else {
helpMes = "\u3053\u308C\u4EE5\u4E0A\u5F37\u5316\u3067\u304D\u307E\u305B\u3093\u3002";
}
} else if (_root.shipStatas[_global.nowShip][statas] > 1) {
theSe2.start();
_root.shipStatas[_global.nowShip][statas]--;
_root.shipStatas[_global.nowShip][7] = _root.shipStatas[_global.nowShip][7] + needPoint;
flag = 1;
}
if (flag) {
this.changeHelpMes(statas, com);
this.setStatas();
}
}
}
function changeHelpMes(statas, com) {
helpMes = "";
if (statas == 0) {
var rand = Math.round(Math.random() * noMesList.length);
helpMes = noMesList[rand];
} else if (statas == 44) {
helpMes = "\u6B66\u88C5\u30FB\u6027\u80FD\u3092\u5F37\u5316\u3059\u308B\u526F\u5175\u88C5\u3092\u8CFC\u5165\u30FB\u5F37\u5316\u30FB\u88C5\u5099\u3057\u307E\u3059\u3002";
} else if (statas == 33) {
helpMes = autoMakeMesList[com];
} else if (statas == 55) {
helpMes = shipStatasMesList[com];
} else {
helpMes = mesList[statas];
if (com) {
addmes = "\u3092\u5F37\u5316\u3057\u307E\u3059\u3002\u5FC5\u8981\u30DD\u30A4\u30F3\u30C8";
} else {
addMes = "\u3092\u623B\u3057\u307E\u3059\u3002\u9084\u5143\u30DD\u30A4\u30F3\u30C8";
}
p = checkNeedPoint(statas, com);
helpMes = (helpMes + addMes) + p;
}
}
function checkNeedPoint(statas, com) {
var p;
if (statas == 2) {
p = 15;
} else if (com) {
p = _root.shipStatas[_global.nowShip][statas];
} else {
p = _root.shipStatas[_global.nowShip][statas] - 1;
}
return(p);
}
function autoMaking(shipNo) {
i = 2;
while (i < 7) {
_root.shipStatas[_global.nowShip][i] = _root.shipStatas[shipNo][i];
i++;
}
_root.shipStatas[_global.nowShip][7] = _root.shipStatas[shipNo][7];
setStatas();
}
ti = 1;
theSe = new Sound();
theSe.attachSound("SE_powerUp");
theSe2 = new Sound();
theSe2.attachSound("SE_gunSet6");
_root.bgmBox.changeBgm(55);
_global.nowShip = 11;
if ((_global.nowStage == 1) || (firstFlag == 1)) {
if (_root.dataLoadFlag) {
this.gotoAndStop("firstLoad");
} else {
this.gotoAndStop("first");
}
} else {
this.gotoAndStop("normal");
}
mesList = [0, "\u8266\u540D", "\u7832\u306E\u767A\u5C04\u6570", "\u88C5\u586B\u901F\u5EA6", "\u5C04\u6483\u7CBE\u5EA6", "\u6A5F\u52D5\u6027", "\u8010\u4E45\u6027"];
noMesList = new Array();
noMesList[0] = "\u8266\u540D\u306F\u30E9\u30F3\u30AD\u30F3\u30B0\u306A\u3069\u3067\u4F7F\u7528\u3055\u308C\u307E\u3059\u3001\u597D\u307F\u3067\u3069\u3046\u305E";
noMesList[1] = "\u5F37\u5316\u30DD\u30A4\u30F3\u30C8\u3092\u5272\u308A\u632F\u3063\u3066\u3001\u6226\u8266\u3092\u8A2D\u8A08\u3057\u3066\u304F\u3060\u3055\u3044\u3002";
noMesList[2] = "\u8A2D\u8A08\u304C\u5B8C\u4E86\u3057\u305F\u3089\u3001\u300C\u6C7A\u5B9A\u300D\u3092\u62BC\u3057\u3066\u304F\u3060\u3055\u3044\u3002";
noMesList[3] = "\u5FC5\u8981\u30DD\u30A4\u30F3\u30C8\u306F\u5909\u52D5\u3057\u307E\u3059\u3002\u5C04\u6570\u5F37\u5316\u306E\u307F\u4E00\u5F8B15\u30DD\u30A4\u30F3\u30C8\u3067\u3059\u3002";
noMesList[4] = "\u5DE6\u4E0B\u306E\u30DC\u30BF\u30F3\u3067\u81EA\u52D5\u8A2D\u8A08\u3092\u884C\u3046\u4E8B\u304C\u3067\u304D\u307E\u3059\u3002";
noMesList[5] = "\u4F7F\u7528\u3057\u306A\u304B\u3063\u305F\u30DD\u30A4\u30F3\u30C8\u306F\u6B21\u306E\u5F37\u5316\u306B\u6301\u3061\u8D8A\u3055\u308C\u307E\u3059\u3002";
autoMakeMesList = new Array();
autoMakeMesList[0] = "\u653B\u6483\u30FB\u9632\u5FA1\u30FB\u6A5F\u52D5\u3092\u30D0\u30E9\u30F3\u30B9\u826F\u304F\u914D\u5206\u3057\u305F\u8266\u3067\u3059\u3002";
autoMakeMesList[1] = "\u5C04\u6570\u3092\u5F37\u5316\u3057\u3001\u706B\u529B\u3092\u91CD\u8996\u3057\u305F\u8266\u3067\u3059\u3002\u7CBE\u5EA6\u3068\u6A5F\u52D5\u6027\u306F\u4F4E\u3081\u3067\u3059\u3002";
autoMakeMesList[2] = "\u5C04\u6570\u3092\u524A\u3063\u3066\u5C04\u6483\u7CBE\u5EA6\u3092\u5F37\u5316\u3057\u305F\u8266\u3067\u3059\u3002\u9023\u7D9AHIT\u72D9\u3044\u306B\u5411\u304D\u307E\u3059\u3002";
autoMakeMesList[3] = "\u8010\u4E45\u6027\u3092\u91CD\u8996\u3057\u305F\u8266\u3067\u3059\u3002\u7C21\u5358\u306B\u306F\u6C88\u307F\u307E\u305B\u3093\u3002";
extraWeponMesList = new Array();
extraWeponMesList[1] = "\u5BFE\u7A7A\u653B\u6483\u7528\u306E\u9AD8\u89D2\u7832\u3067\u3059\u3002\u822A\u7A7A\u6A5F\u3092\u6483\u589C\u3067\u304D\u307E\u3059\u3002";
extraWeponMesList[2] = "100cm\u7832\u3067\u3059\u3002\u9A5A\u7570\u7684\u5A01\u529B\u3092\u8A87\u308A\u307E\u3059\u3002\u5F3E\u6570\u5236\u9650\u304C\u3042\u308A\u307E\u3059\u3002";
extraWeponMesList[3] = "\u591A\u9023\u88C5\u30ED\u30B1\u30C3\u30C8\u767A\u5C04\u6A5F\u3067\u3059\u3002\u767A\u5C04\u91CF\u304C\u81EA\u6162\u3067\u3059\u304C\u3001\u3070\u3089\u3064\u304D\u307E\u3059\u3002";
extraWeponMesList[4] = "\u5DE8\u5927\u96FB\u78C1\u30EC\u30FC\u30EB\u30AC\u30F3\u3067\u3059\u3002\u767A\u5C04\u3059\u308B\u3068\u81EA\u58CA\u3057\u307E\u3059\u306E\u3067\u5358\u767A\u3067\u3059\u3002";
extraShipMesList = new Array();
extraShipMesList[1] = "\u5C0F\u578B\u6226\u8266\u3067\u3059\u3002\u8239\u4F53\u5C0F\u578B\u5316\u30FB\u6A5F\u52D5\u6027\u4E0A\u6607\u3001\u305D\u306E\u4ED6\u6027\u80FD\u306F\u4F4E\u4E0B\u3002";
extraShipMesList[2] = "\u8D85\u5927\u578B\u6226\u8266\u3067\u3059\u3002\u8239\u4F53\u5927\u578B\u5316\u30FB\u8010\u4E45\u30FB\u706B\u529B\u4E0A\u6607\u3001\u6A5F\u52D5\u6027\u5927\u5E45\u4F4E\u4E0B";
extraShipMesList[3] = "\u7A7A\u6BCD\u3067\u3059\u3002\u706B\u529B\u4F4E\u4E0B\u30FB\u7279\u6B8A\u5175\u88C5\u306B\u822A\u7A7A\u6A5F\u304C\u8FFD\u52A0";
shipStatasMesList = new Array();
shipStatasMesList[1] = "\u4E00\u5EA6\u306E\u5C04\u6483\u3067\u767A\u5C04\u3067\u304D\u308B\u5F3E\u306E\u6570\u3067\u3059\u3002\u653B\u6483\u529B\u3002";
shipStatasMesList[2] = "\u6B21\u5F3E\u767A\u5C04\u307E\u3067\u306E\u6642\u9593\u306B\u5F71\u97FF\u3057\u307E\u3059\u3002\u3053\u306E\u5024\u304C\u9AD8\u3044\u3068\u9023\u7D9A\u3057\u3066\u653B\u6483\u3067\u304D\u307E\u3059\u3002";
shipStatasMesList[3] = "\u5F3E\u306E\u96C6\u5F3E\u6027\u306B\u5F71\u97FF\u3057\u307E\u3059\u3002\u3053\u306E\u5024\u304C\u4F4E\u3044\u3068\u5F3E\u304C\u7167\u6E96\u901A\u308A\u306B\u98DB\u3073\u307E\u305B\u3093\u3002";
shipStatasMesList[4] = "\u79FB\u52D5\u306E\u65E9\u3055\u306B\u5F71\u97FF\u3057\u307E\u3059\u3002\u653B\u6483\u306E\u56DE\u907F\u304C\u3057\u6613\u304F\u306A\u308A\u307E\u3059\u3002";
shipStatasMesList[5] = "\u8010\u4E45\u6027\u306B\u5F71\u97FF\u3057\u307E\u3059\u3002\u3053\u306E\u5024\u304C\u9AD8\u3044\u3068\u3001\u591A\u304F\u306E\u653B\u6483\u306B\u8010\u3048\u3089\u308C\u307E\u3059\u3002";
this.onEnterFrame = function () {
if (Key.isDown(46) && (Key.isDown(18))) {
_root.shipStatas[_global.nowShip][7] = 999;
}
};
nameField.onChanged = function () {
_root.so.data.shipData[0] = (_root.shipStatas[_global.nowShip][0] = name);
};
if (normalFlag) {
this.gotoAndStop("normal");
}
this.setStatas();
Symbol 875 MovieClip Frame 2
this.setStatas();
this.stop();
Symbol 875 MovieClip Frame 10
noMesList = new Array();
noMesList[0] = "\u4F7F\u7528\u3057\u306A\u304B\u3063\u305F\u30DD\u30A4\u30F3\u30C8\u306F\u6B21\u306E\u5F37\u5316\u306B\u6301\u3061\u8D8A\u3055\u308C\u307E\u3059\u3002";
noMesList[1] = "\u5F37\u5316\u30DD\u30A4\u30F3\u30C8\u3092\u5272\u308A\u632F\u3063\u3066\u3001\u6226\u8266\u3092\u5F37\u5316\u3057\u3066\u304F\u3060\u3055\u3044\u3002";
noMesList[2] = "\u5F37\u5316\u304C\u5B8C\u4E86\u3057\u305F\u3089\u3001\u300C\u6C7A\u5B9A\u300D\u3092\u62BC\u3057\u3066\u304F\u3060\u3055\u3044\u3002";
noMesList[3] = "\u5FC5\u8981\u30DD\u30A4\u30F3\u30C8\u306F\u5909\u52D5\u3057\u307E\u3059\u3002\u5C04\u6570\u5F37\u5316\u306E\u307F\u4E00\u5F8B15\u30DD\u30A4\u30F3\u30C8\u3067\u3059\u3002";
this.setStatas();
this.stop();
Instance of Symbol 793 MovieClip "dis" in Symbol 875 MovieClip Frame 10
onClipEvent (load) {
if (_parent.ti == 1) {
_parent.ti = 0;
} else {
this._visible = 0;
}
}
Symbol 875 MovieClip Frame 20
noMesList = new Array();
noMesList[0] = "\u4F7F\u7528\u3057\u306A\u304B\u3063\u305F\u30DD\u30A4\u30F3\u30C8\u306F\u6B21\u306E\u5F37\u5316\u306B\u6301\u3061\u8D8A\u3055\u308C\u307E\u3059\u3002";
noMesList[1] = "\u5F37\u5316\u30DD\u30A4\u30F3\u30C8\u3092\u5272\u308A\u632F\u3063\u3066\u3001\u6226\u8266\u3092\u5F37\u5316\u3057\u3066\u304F\u3060\u3055\u3044\u3002";
noMesList[2] = "\u5F37\u5316\u304C\u5B8C\u4E86\u3057\u305F\u3089\u3001\u300C\u6C7A\u5B9A\u300D\u3092\u62BC\u3057\u3066\u304F\u3060\u3055\u3044\u3002";
noMesList[3] = "\u5FC5\u8981\u30DD\u30A4\u30F3\u30C8\u306F\u5909\u52D5\u3057\u307E\u3059\u3002\u5C04\u6570\u5F37\u5316\u306E\u307F\u4E00\u5F8B15\u30DD\u30A4\u30F3\u30C8\u3067\u3059\u3002";
if (ti == 1) {
ti = 0;
pp = _global.nowStage + _global.gameLv;
this.dis.pp = "+" + pp;
point = (_root.shipStatas[_global.nowShip][7] = _root.shipStatas[_global.nowShip][7] + pp);
} else {
this.dis._visible = 0;
}
this.setStatas();
this.stop();
Symbol 875 MovieClip Frame 30
this.play();
Symbol 875 MovieClip Frame 32
function setPanel() {
i = 0;
while (i < extraWepon.length) {
var tn = ("p" + i);
this.selectTable[tn].no = i;
this.selectTable[tn].wName = extraWepon[i][7];
if (_root.so.data.extraData[i] > 0) {
var lv = _root.so.data.extraData[i];
var gf = ("f" + extraWepon[i][0]);
var up = Number(2 + _root.so.data.extraData[i]);
if (up >= 7) {
tempP = 0;
} else {
tempP = extraWepon[i][up];
}
this.selectTable[tn].useP = tempP;
this.selectTable[tn].lv = lv;
this.selectTable[tn].comment = extraWepon[i][8];
this.selectTable[tn].gotoAndStop(gf);
this.selectTable[tn].gage.gotoAndPlay(1);
} else {
lvFlag = 0;
il = 0;
while (il < 8) {
if (_root.so.data.clearStageData[il] == 11) {
lvFlag = il + 1;
}
il++;
}
var keyLv = extraWepon[i][1];
if (keyLv <= lvFlag) {
this.selectTable[tn].useP = extraWepon[i][2];
this.selectTable[tn].comment = extraWepon[i][8];
this.selectTable[tn].gotoAndStop("f0");
} else {
this.selectTable[tn].comment = "\u6761\u4EF6\u3092\u6E80\u305F\u3057\u3066\u3044\u306A\u3044\u305F\u3081\u3001\u8CFC\u5165\u3067\u304D\u307E\u305B\u3093\u3002";
}
}
i++;
}
updateAfterEvent();
}
function setMes(mt, p) {
if (mt == 0) {
var rand = Math.floor(Math.random() * noMesListE.length);
helpMes = noMesListE[rand];
} else if (mt == 1) {
helpMes = ("\u3053\u306E\u8FFD\u52A0\u5175\u88C5\u3092\u8CFC\u5165\u3057\u307E\u3059\u3002\u3000\u5FC5\u8981\u5F37\u5316\u30DD\u30A4\u30F3\u30C8" + p) + "p";
} else if (mt == 2) {
if (p != 0) {
helpMes = ("\u3053\u306E\u8FFD\u52A0\u5175\u88C5\u3092\u5F37\u5316\u3057\u307E\u3059\u3002\u3000\u5FC5\u8981\u5F37\u5316\u30DD\u30A4\u30F3\u30C8" + p) + "P";
} else {
helpMes = "\u3053\u308C\u4EE5\u4E0A\u5F37\u5316\u3067\u304D\u307E\u305B\u3093\u3002";
}
} else if (mt == 3) {
helpMes = "\u3053\u306E\u8FFD\u52A0\u5175\u88C5\u3092\u88C5\u5099\u3057\u307E\u3059\u3002";
} else {
helpMes = mt;
}
if (mt == 99) {
helpMes = btnMesList[p];
}
}
function equip(e) {
theSe2.start();
i = 0;
while (i < 12) {
var s = ("p" + i);
this.selectTable[s].equipFlagCon(0);
i++;
}
var s = ("p" + e);
this.selectTable[s].equipFlagCon(1);
}
function conExtraWepon(c, no) {
if (c == 1) {
np = 0;
np = extraWepon[no][2];
if (point >= np) {
theSe.start();
_root.so.data.shipData[7] = _root.so.data.shipData[7] - np;
point = (_root.shipStatas[_global.nowShip][7] = _root.so.data.shipData[7]);
_root.so.data.extraData[no]++;
this.setPanel();
}
} else if (c == 2) {
var wLv = _root.so.data.extraData[no];
var upCostNo = (wLv + 2);
np = 0;
np = extraWepon[no][upCostNo];
if ((extraWepon[no][0] == 1) && (_root.so.data.extraData[no] < 5)) {
if (point >= np) {
theSe.start();
_root.so.data.shipData[7] = _root.so.data.shipData[7] - np;
point = (_root.shipStatas[_global.nowShip][7] = _root.so.data.shipData[7]);
_root.so.data.extraData[no]++;
this.setPanel();
}
} else if ((extraWepon[no][0] == 2) && (_root.so.data.extraData[no] < 3)) {
if (point >= np) {
theSe2.start();
_root.so.data.shipData[7] = _root.so.data.shipData[7] - np;
point = (_root.shipStatas[_global.nowShip][7] = _root.so.data.shipData[7]);
_root.so.data.extraData[no]++;
this.setPanel();
}
}
} else if (c == 3) {
_root.so.data.shipData[8] = 99;
_root.so.data.shipData[9] = 99;
tp = extraWepon[no][9];
if (tp == 1) {
_root.so.data.shipData[8] = no;
} else if (tp == 2) {
_root.so.data.shipData[9] = no;
} else if (tp == 3) {
_root.so.data.shipData[9] = no;
}
this.equip(no);
} else if (c == 99) {
_root.so.data.shipData[8] = 99;
_root.so.data.shipData[9] = 99;
this.equip(99);
}
}
function checkWepon() {
if ((_root.so.data.shipData[8] != null) && (_root.so.data.shipData[8] != 99)) {
this.equip(_root.so.data.shipData[8]);
} else if ((_root.so.data.shipData[9] != null) && (_root.so.data.shipData[9] != 99)) {
_root.so.data.shipData[8] = 99;
this.equip(_root.so.data.shipData[9]);
} else {
this.equip(99);
}
}
extraWepon = new Array();
extraWepon[0] = [1, 0, 5, 7, 9, 11, 12, "\u5BFE\u7A7A\u7832", "\u5BFE\u822A\u7A7A\u6A5F\u7528\u306E\u9AD8\u89D2\u7832\u3067\u3059\u3002\u6307\u5B9A\u3057\u305F\u7B87\u6240\u3067\u70B8\u88C2\u3057\u3001\u822A\u7A7A\u6A5F\u3092\u6483\u589C\u3057\u307E\u3059\u3002", 1];
extraWepon[1] = [1, 2, 10, 15, 20, 25, 30, "\u5927\u53E3\u5F84\u81FC\u7832", "\u975E\u5E38\u306B\u5A01\u529B\u306E\u9AD8\u3044\u5927\u578B\u5F3E\u3092\u767A\u5C04\u3057\u307E\u3059\u3002\u88C5\u586B\u901F\u5EA6\u30FB\u7CBE\u5EA6\u306F\u4F4E\u3044\u3067\u3059\u3002", 1];
extraWepon[2] = [1, 0, 5, 10, 15, 20, 30, "\u901F\u5C04\u7832", "\u88C5\u586B\u901F\u5EA6\u304C\u975E\u5E38\u306B\u901F\u3044\u7832\u3067\u3059\u3002\u5A01\u529B\u306F\u5F31\u3044\u3067\u3059\u304C\u3001\u9023\u5C04\u304C\u53EF\u80FD\u3067\u3059\u3002", 1];
extraWepon[3] = [1, 2, 20, 25, 30, 35, 40, "\u62E1\u6563\u5782\u7206\u5F0F\u7832\u5F3E", "\u6307\u5B9A\u3057\u305F\u7B87\u6240\u3067\u70B8\u88C2\u3057\u3001\u76F4\u4E0B\u3092\u653B\u6483\u3067\u304D\u308B\u7279\u6B8A\u5F3E\u3067\u3059\u3002", 1];
extraWepon[4] = [3, 3, 150, 0, 0, 0, 0, "\u71C3\u6599\u6C17\u5316\u7832\u5F3E", "\u6307\u5B9A\u3057\u305F\u7B87\u6240\u3067\u70B8\u88C2\u3057\u3001\u5F37\u529B\u306A\u7BC4\u56F2\u653B\u6483\u3092\u884C\u3044\u307E\u3059\u3002", 1];
extraWepon[5] = [3, 4, 200, 0, 0, 0, 0, "\u7279\u96F6\u5F0F\u8377\u96FB\u7832", "\u5F37\u529B\u7121\u6BD4\u306E\u96FB\u78C1\u30EC\u30FC\u30EB\u30AC\u30F3\u3067\u3059\u3002\u975E\u5E38\u306B\u5F37\u529B\u3067\u3059\u304C\u4E00\u767A\u3057\u304B\u6483\u3066\u307E\u305B\u3093\u3002", 1];
extraWepon[6] = [3, 4, 100, 0, 0, 0, 0, "\u7206\u6483\u652F\u63F4\u8981\u8ACB", "\u53CB\u8ECD\u7206\u6483\u6A5F\u304C\u5F37\u529B\u306A\u652F\u63F4\u653B\u6483\u3092\u884C\u3044\u307E\u3059\u3002", 1];
extraWepon[7] = [2, 0, 20, 40, 80, 0, 0, "\u5897\u52A0\u88C5\u7532", "\u8010\u4E45\u6027\u304C\u4E0A\u6607\u3057\u307E\u3059\u3002\u305F\u3060\u3057\u3001\u6A5F\u52D5\u6027\u304C1\u6E1B\u5C11\u3057\u307E\u3059\u3002", 2];
extraWepon[8] = [2, 4, 20, 40, 80, 0, 0, "\u81EA\u52D5\u88C5\u586B\u88C5\u7F6E", "\u767A\u5C04\u901F\u5EA6\u304C\u4E0A\u6607\u3057\u307E\u3059\u3002\u305F\u3060\u3057\u3001\u6A5F\u52D5\u6027\u304C1\u4F4E\u4E0B\u3057\u307E\u3059\u3002", 2];
extraWepon[9] = [2, 3, 20, 40, 80, 0, 0, "\u65B0\u578B\u6A5F\u95A2", "\u6A5F\u52D5\u6027\u304C\u4E0A\u6607\u3057\u307E\u3059\u3002\u305F\u3060\u3057\u3001\u8010\u4E45\u6027\u304C1\u6E1B\u5C11\u3057\u307E\u3059\u3002", 2];
extraWepon[10] = [3, 1, 10, 0, 0, 0, 0, "\u6563\u5E03\u754C\u5897\u52A0\u88C5\u7F6E", "\u6563\u5E03\u754C\u304C\u5927\u304D\u304F\u306A\u308A\u3001\u7740\u5F3E\u304C\u30D0\u30E9\u3064\u304D\u307E\u3059", 3];
extraWepon[11] = [3, 0, 50, 0, 0, 0, 0, "\u4E3B\u7832\u63DB\u88C5", "\u5C04\u6570\u304C\u534A\u5206\u306B\u306A\u308A\u307E\u3059\u304C\u3001\u4E00\u767A\u306E\u5A01\u529B\u304C2.2\u500D\u306B\u306A\u308A\u307E\u3059\u3002", 3];
noMesListE = new Array();
noMesListE[0] = "\u3053\u3053\u3067\u8FFD\u52A0\u5175\u88C5\u3092\u300C\u8CFC\u5165\u300D\u300C\u5F37\u5316\u300D\u300C\u88C5\u5099\u300D\u53EF\u80FD\u3067\u3059\u3002";
noMesListE[1] = "\u5F37\u5316\u30DD\u30A4\u30F3\u30C8\u3092\u4F7F\u3063\u3066\u3001\u8FFD\u52A0\u5175\u88C5\u3092\u300C\u8CFC\u5165\u300D\u300C\u5F37\u5316\u300D\u3067\u304D\u307E\u3059\u3002";
noMesListE[2] = "\u8FFD\u52A0\u5175\u88C5\u306F\u300C\u6B66\u88C5\u8FFD\u52A0\u300D\u3068\u300C\u6027\u80FD\u5411\u4E0A\u300D\u3068\u300C\u7279\u6B8A\u52B9\u679C\u300D\u306E\u4E09\u30BF\u30A4\u30D7\u304C\u5B58\u5728\u3057\u307E\u3059\u3002";
noMesListE[3] = "\u7279\u5B9A\u306E\u96E3\u6613\u5EA6\u3092\u30AF\u30EA\u30A2\u3057\u306A\u3044\u3068\u3001\u8CFC\u5165\u3067\u304D\u306A\u3044\u5175\u88C5\u3082\u3042\u308A\u307E\u3059\u3002";
noMesListE[4] = "\u4E00\u90E8\u306E\u8FFD\u52A0\u5175\u88C5\u306F\u5F37\u5316\u30DD\u30A4\u30F3\u30C8\u3067\u6027\u80FD\u3092\u5411\u4E0A\u3055\u305B\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002";
btnMesList = new Array();
btnMesList[0] = "\u6575\u3092\u76F4\u63A5\u653B\u6483\u3059\u308B\u526F\u6B66\u88C5\u7FA4\u3067\u3059\u3002";
btnMesList[1] = "\u8266\u306E\u6027\u80FD\u3092\u5411\u4E0A\u3055\u305B\u308B\u526F\u6B66\u88C5\u7FA4\u3067\u3059\u3002";
this.setPanel();
this.checkWepon();
this.stop();
Symbol 889 MovieClip Frame 1
function getFlag() {
return(flag);
}
function shot() {
if (_name == "reloadDis2") {
_parent.amo--;
if (_parent.amo <= 0) {
this.gotoAndStop("noAmo");
} else {
flag = 0;
this.gotoAndStop("reload");
}
} else {
flag = 0;
this.gotoAndStop("reload");
}
}
flag = 1;
reloadBase = 20;
wn = _root.so.data.shipData[8];
if (_name == "reloadDis2") {
lvBonus = (1 * _root.so.data.extraData[wn]) / 1.5;
d = (_root.extraWeponData[wn][5] * 1.5) + lvBonus;
reloadPower = reloadBase - d;
} else {
reloadPower = reloadBase - (_root.shipStatas[_global.nowShip][3] * 1.5);
}
if (reloadPower < 1) {
reloadPower = 1.1;
}
this.onEnterFrame = function () {
if (this.bar._xscale < 98) {
this.bar._xscale = this.bar._xscale + ((100 - this.bar._xscale) / reloadPower);
} else {
flag = 1;
this.gotoAndPlay("ok");
}
};
Symbol 889 MovieClip Frame 4
this.stop();
Symbol 889 MovieClip Frame 11
this.stop();
Symbol 889 MovieClip Frame 21
function getFlag() {
return(false);
}
this.onEnterFrame = null;
this.stop();
Symbol 900 MovieClip Frame 1
this.stop();
Symbol 900 MovieClip Frame 2
this.dis.mes = dCnt + "HIT!!";
Symbol 900 MovieClip Frame 5
this.stop();
Symbol 900 MovieClip Frame 6
b = Math.round((Math.pow(dCnt, 1.2) * 100) * (_global.gameLv / 1.5));
_root.display.changeScore(b);
Instance of Symbol 899 MovieClip in Symbol 900 MovieClip Frame 7
onClipEvent (load) {
mes = "+" + _parent.b;
}
Symbol 916 MovieClip Frame 2
function setEnsyu() {
this.gotoAndStop("ext");
wn = 1;
amo = 30;
this.reloadDis2.reloadPower = 20;
baseHp = (disHp = (hp = 999999999));
}
function setHp(v) {
baseHp = (disHp = (hp = 500 + (v * 120)));
}
function setExtWeponData(a) {
amo = a;
}
function ChangeHp(point) {
var dmg = (point + (point * (_global.gameLv / 6)));
hp = hp - dmg;
this.bar._xscale = (hp / baseHp) * 100;
if (hp < 0) {
hp = -1E-5;
this.bar._xscale = 0;
_root.mapShip.gekitin();
}
}
function changeScore(s) {
if (_root._currentframe < 40) {
score = (_global.score = _global.score + (s * ext));
}
}
function getSongai() {
songai = baseHp - hp;
if (songai == 0) {
songai = -1000;
} else if (songai > baseHp) {
songai = baseHp;
}
return(songai);
}
function ChangeHpMax() {
disHp = (hp = baseHp);
this.bar._xscale = 100;
this.bar2._xscale = 100;
}
wn = _root.so.data.shipData[8];
baseAmo = _root.extraWeponData[wn][6];
amo = baseAmo + ((baseAmo * _root.so.data.extraData[wn]) / 2);
amo = Math.floor(amo);
score = _global.score;
if (_global.gameLv == 1) {
ext = 0.5;
} else if (ext == 1) {
ext = 1;
} else if (_global.gameLv == 3) {
ext = 2;
} else {
ext = _global.gameLv - 1;
}
this.onEnterFrame = function () {
if (this.bar2._xscale > this.bar._xscale) {
this.bar2._xscale = this.bar2._xscale - 0.25;
}
};
if (_root.so.data.shipData[8] != 99) {
no = _root.so.data.shipData[8];
lv = _root.so.data.extraData[no];
this.gotoAndStop("ext");
} else {
this.stop();
}
Instance of Symbol 900 MovieClip "hitDis" in Symbol 916 MovieClip Frame 2
onClipEvent (load) {
function setCnt(cnt) {
if (cnt == 0) {
if (_currentframe != 1) {
this.play();
} else {
this.gotoAndStop(1);
}
} else {
dCnt = cnt;
this.gotoAndPlay(2);
}
}
}
Symbol 916 MovieClip Frame 10
this.stop();
Symbol 916 MovieClip Frame 20
this.stop();
Symbol 930 Button
on (release) {
this.sceneChenge(1);
}
Symbol 933 MovieClip Frame 9
this.stop();
Symbol 968 Button
on (release) {
if (_root.scene_ending._visible != true) {
this.sceneChenge(-1);
}
}
Symbol 972 MovieClip Frame 99
_parent.sceneChenge(2);
Symbol 972 MovieClip Frame 100
this.stop();
Symbol 975 MovieClip Frame 60
sceneChenge(2);
this.stop();
Symbol 976 MovieClip Frame 1
function sceneChenge(tempScene) {
if (tempScene == -1) {
this.gotoAndStop("kyouka");
} else if (tempScene == 0) {
scene = 0;
_root.bgmBox.changeBgm(33);
if (_global.nowStage == 10) {
this.attachMovie("scene_game_mask", "mask");
} else {
_root.bgmBox.changeBgm(33);
_global.nowStage++;
var ts = _global.nowStageData;
var tl = (_global.gameLv - 1);
if (_global.nowStage > _root.so.data.clearStageData[tl]) {
_root.so.data.clearStageData[tl] = _global.nowStage;
}
var nFrame = ("s" + _global.nowStage);
this.gotoAndStop(nFrame);
}
}
if (tempScene == 1) {
_root.targetSarcle.conMeth(1);
_root.display.gotoAndPlay(1);
_root.newStage();
_root.bgmBox.changeBgm(_global.nowStage);
scene = tempScene;
_root.setStage("first");
wait = getTimer() + scene1wait;
this.gotoAndStop("ready");
}
if (tempScene == 2) {
scene = tempScene;
wait = getTimer() + scene2wait;
_root.gameStart();
this.gotoAndStop("go");
}
if (tempScene == 99) {
_root.targetSarcle.conMeth(0);
scene = 0;
_root.display.hitDis.setCnt(0);
_root.bgmBox.changeBgm(22);
clearB = ((50000 * _global.nowStage) * _global.gameLv) / 2;
hit = _root.getMaxHit();
hitB = hit * 10000;
if (spMode == 1) {
songai = Math.round(_root.songai);
songaiB = _root.songai * -100;
} else {
songai = Math.round(_root.display.getSongai());
songaiB = songai * -100;
}
total = (clearB + hitB) + songaiB;
_root.display.changeScore(total);
_root.hitCnt = 0;
_root.maxHitCnt = 0;
this.gotoAndStop("houkoku");
}
}
_root.bgmBox.changeBgm(33);
scene = "s" + _global.nowStage;
this.gotoAndStop(scene);
Symbol 976 MovieClip Frame 2
scene = 0;
scene1wait = 2500;
scene2wait = 99999 /* 0x01869F */;
wait = getTimer() + scene0wait;
this.onEnterFrame = function () {
if (scene == 1) {
if (wait < getTimer()) {
this.sceneChenge(2);
}
} else if (scene == 2) {
if (wait < getTimer()) {
this.gotoAndStop("end");
this.onEnterFrame = null;
}
}
};
this.stop();
Symbol 976 MovieClip Frame 10
this.stop();
Symbol 976 MovieClip Frame 20
this.stop();
Symbol 976 MovieClip Frame 30
this.stop();
Symbol 976 MovieClip Frame 40
this.stop();
Symbol 976 MovieClip Frame 50
this.stop();
Symbol 976 MovieClip Frame 58
this.stop();
Symbol 976 MovieClip Frame 68
this.stop();
Symbol 976 MovieClip Frame 78
this.stop();
Symbol 976 MovieClip Frame 88
this.stop();
Symbol 976 MovieClip Frame 98
this.stop();
Symbol 976 MovieClip Frame 109
this.stop();
Instance of Symbol 875 MovieClip in Symbol 976 MovieClip Frame 109
onClipEvent (load) {
normalFlag = 1;
}
Symbol 976 MovieClip Frame 118
this.stop();
Symbol 976 MovieClip Frame 128
this.stop();
Instance of Symbol 979 MovieClip in Symbol 980 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Symbol 992 Button
on (release) {
_root.chengeScene("title");
}
Symbol 993 MovieClip Frame 1
this.stop();
Symbol 993 MovieClip Frame 2
this.stop();
Symbol 993 MovieClip Frame 3
this.stop();
Symbol 993 MovieClip Frame 4
this.stop();
Symbol 993 MovieClip Frame 5
this.stop();
Symbol 993 MovieClip Frame 6
this.stop();
Symbol 993 MovieClip Frame 7
this.stop();
Symbol 1025 MovieClip Frame 2
function end() {
flag = 0;
this.attachMovie("scene_ending_mask", "mask", 999);
}
_root.bgmBox.changeBgm(99);
i = 0;
flag = 1;
_global.clearFlag = 1;
lv = _global.gameLv - 1;
_root.so.data.clearStageData[lv] = 11;
if (_global.gameLv == 8) {
_root.so.data.hellClearFlag2 = 1;
}
this.onMouseDown = function () {
i++;
if ((i > 3) && (flag == 1)) {
flag = 0;
this.end();
this.stop();
}
};
Symbol 1025 MovieClip Frame 3
_root.bgmBox.changeBgm(99);
Instance of Symbol 447 MovieClip [char_lastBoss2] in Symbol 1025 MovieClip Frame 299
onClipEvent (load) {
flag = 0;
}
Symbol 1025 MovieClip Frame 626
flag = 0;
this.end();
Symbol 1025 MovieClip Frame 675
this.stop();
Symbol 1033 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 1043 Button
on (release) {
getURL ("http://www12.plala.or.jp/nextframe", _blank);
}
Symbol 1046 MovieClip Frame 1
url = _url;
url2 = (trueUrl = "http://www12.plala.or.jp/nextframe/swf/seventhSky.swf?ver=" + _root.nowVer);
this.stop();