Frame 1
function SndPlay(no, flg) {
if (SndFlg == 0) {
if (SoundCtt[no] != SND_LOOP) {
nSound[no].start();
}
if (no <= SND_B11) {
trace("start : " + no);
}
SoundCtt[no] = flg;
}
}
function SndStop(no) {
if (SndFlg == 0) {
if (SoundCtt[no] != 0) {
trace("stop : " + no);
SoundCtt[no] = 0;
nSound[no].stop();
}
}
}
function StopSnd() {
if (SoundCtt[this.sno] == SND_LOOP) {
if (SND_B04 == this.sno) {
trace("n : " + this.sno);
}
SoundCtt[this.sno] = 0;
SndPlay(this.sno, SND_LOOP);
} else {
SoundCtt[this.sno] = 0;
}
}
function BgChangeCheck() {
if (BgChangeStop()) {
return(bgc_ctt);
}
return(-1);
}
function BgChangeStop() {
return((Startmenu_sele != STARTMENU_GAME) || (PauseFlg > 0));
}
function FadeLoop() {
return(fade_flg);
}
function FadeFlg() {
if (fade_flg != 0) {
return(undefined);
}
fade_flg = 1;
fade_ctt = 0;
attachMovie("Fade", "FadeBg", 100000);
with (FadeBg) {
_x = 0;
_y = 0;
_width = 320;
_height = 332;
_alpha = 0;
}
}
Stage.showMenu = false;
gScore = 0;
SndFlg = 0;
LaFlg = 1;
fade_flg = 0;
fade_ctt = 1;
CLOUD_MOVEX0 = 0;
CLOUD_MOVEX1 = 400;
BGCHANGE_CTT = 6;
bgc_ctt = 1;
PauseFlg = 0;
Startmenu_sele = STARTMENU_MENU;
StSub_E = [6, 6, 12, 8, 20, 10, 30, 10, 40, 8];
StSet_E = new Array();
i = 0;
while (i < 48) {
StSet_E[i] = new Array();
i++;
}
StSet_E[0] = [0, 0, 1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1];
StSet_E[1] = [0, 1, 8, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1];
StSet_E[2] = [0, 2, 1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1];
StSet_E[3] = [0, 3, 8, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1];
StSet_E[4] = [0, 4, 1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1];
StSet_E[5] = [0, 5, 8, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1];
StSet_E[6] = [1, 0, 1, 10, 0, 8, 20, -1, -1, -1, -1, -1, -1];
StSet_E[7] = [0, 0, 1, 10, 0, 8, 10, -1, -1, -1, -1, -1, -1];
StSet_E[8] = [0, 1, 0, 10, 1, 7, 10, -1, -1, -1, -1, -1, -1];
StSet_E[9] = [1, 1, 1, 10, 1, 8, 20, -1, -1, -1, -1, -1, -1];
StSet_E[10] = [1, 0, 1, 20, 0, 8, 30, 0, 9, 10, -1, -1, -1];
StSet_E[11] = [1, 0, 0, 20, 0, 2, 10, 0, 7, 10, -1, -1, -1];
StSet_E[12] = [1, 0, 5, 20, -1, -1, -1, -1, -1, -1, -1, -1, -1];
StSet_E[13] = [1, 1, 5, 20, -1, -1, -1, -1, -1, -1, -1, -1, -1];
StSet_E[14] = [1, 2, 5, 20, -1, -1, -1, -1, -1, -1, -1, -1, -1];
StSet_E[15] = [1, 0, 5, 20, 0, 12, 10, -1, -1, -1, -1, -1, -1];
StSet_E[16] = [1, 2, 8, 20, 2, 1, 10, -1, -1, -1, -1, -1, -1];
StSet_E[17] = [1, 0, 5, 40, 0, 12, 30, 0, 0, 10, -1, -1, -1];
StSet_E[18] = [1, 0, 12, 30, 0, 1, 10, -1, -1, -1, -1, -1, -1];
StSet_E[19] = [1, 0, 5, 30, 0, 1, 10, -1, -1, -1, -1, -1, -1];
StSet_E[20] = [0, 2, 0, 10, 2, 7, 20, -1, -1, -1, -1, -1, -1];
StSet_E[21] = [1, 1, 1, 20, 1, 8, 30, 1, 0, 10, -1, -1, -1];
StSet_E[22] = [1, 1, 5, 30, 1, 12, 40, 1, 0, 10, -1, -1, -1];
StSet_E[23] = [1, 0, 4, 10, 0, 11, 30, 0, 5, 40, -1, -1, -1];
StSet_E[24] = [0, 0, 1, 10, 0, 8, 10, 0, 0, 30, 0, 7, 30];
StSet_E[25] = [0, 1, 1, 10, 1, 8, 10, 1, 0, 30, 1, 7, 30];
StSet_E[26] = [1, 2, 1, 10, 2, 12, 20, -1, -1, -1, -1, -1, -1];
StSet_E[27] = [1, 2, 1, 10, 2, 8, 30, 2, 0, 40, -1, -1, -1];
StSet_E[28] = [0, 3, 1, 20, 3, 7, 10, -1, -1, -1, -1, -1, -1];
StSet_E[29] = [1, 3, 4, 30, 3, 8, 10, -1, -1, -1, -1, -1, -1];
StSet_E[30] = [0, 1, 1, 10, 1, 8, 10, 1, 0, 30, 1, 7, 30];
StSet_E[31] = [1, 2, 1, 30, 2, 12, 20, 2, 8, 10, -1, -1, -1];
StSet_E[32] = [0, 0, 1, 10, 0, 8, 10, 0, 5, 40, 0, 12, 40];
StSet_E[33] = [0, 1, 1, 10, 1, 8, 10, 1, 5, 40, 1, 12, 40];
StSet_E[34] = [1, 3, 1, 10, 3, 8, 20, 3, 0, 40, -1, -1, -1];
StSet_E[35] = [1, 3, 1, 20, 3, 8, 10, 3, 5, 40, -1, -1, -1];
StSet_E[36] = [0, 4, 1, 10, 4, 8, 20, -1, -1, -1, -1, -1, -1];
StSet_E[37] = [0, 5, 1, 10, 5, 8, 20, -1, -1, -1, -1, -1, -1];
StSet_E[38] = [1, 4, 1, 10, 4, 9, 10, 4, 7, 30, -1, -1, -1];
StSet_E[39] = [1, 5, 1, 10, 5, 9, 10, 5, 7, 20, -1, -1, -1];
StSet_E[40] = [1, 2, 1, 20, 2, 9, 30, 2, 7, 40, 2, 0, 10];
StSet_E[41] = [1, 0, 5, 10, 0, 12, 30, 0, 4, 40, 0, 11, 50];
StSet_E[42] = [1, 1, 5, 10, 1, 12, 30, 1, 4, 40, 1, 11, 50];
StSet_E[43] = [1, 3, 2, 10, 3, 1, 20, 3, 9, 30, 3, 8, 40];
StSet_E[44] = [1, 3, 2, 10, 3, 5, 40, 3, 9, 50, 3, 12, 80];
StSet_E[45] = [1, 4, 0, 10, 4, 5, 30, 4, 8, 30, -1, -1, -1];
StSet_E[46] = [1, 5, 1, 10, 5, 5, 30, 5, 8, 30, -1, -1, -1];
StSet_E[47] = [1, 5, 0, 20, 5, 12, 40, 5, 7, 20, 5, 1, 10];
StSub_N = [6, 7, 13, 9, 22, 8, 30, 8, 38, 8];
StSet_N = new Array();
i = 0;
while (i < 46) {
StSet_N[i] = new Array();
i++;
}
StSet_N[0] = [0, 0, 2, 10, 0, 7, 30, -1, -1, -1, -1, -1, -1];
StSet_N[1] = [0, 1, 0, 30, 1, 9, 10, -1, -1, -1, -1, -1, -1];
StSet_N[2] = [0, 2, 2, 10, 2, 7, 30, -1, -1, -1, -1, -1, -1];
StSet_N[3] = [0, 3, 0, 30, 3, 9, 10, -1, -1, -1, -1, -1, -1];
StSet_N[4] = [0, 4, 2, 10, 4, 7, 40, -1, -1, -1, -1, -1, -1];
StSet_N[5] = [0, 5, 0, 30, 5, 9, 10, -1, -1, -1, -1, -1, -1];
StSet_N[6] = [1, 0, 5, 40, 0, 12, 30, 1, 8, 10, -1, -1, -1];
StSet_N[7] = [1, 2, 5, 40, 1, 12, 30, 0, 8, 10, -1, -1, -1];
StSet_N[8] = [1, 1, 5, 40, 1, 12, 30, 2, 8, 10, -1, -1, -1];
StSet_N[9] = [1, 2, 1, 40, 2, 12, 30, 2, 8, 10, -1, -1, -1];
StSet_N[10] = [0, 3, 1, 10, 2, 8, 10, -1, -1, -1, -1, -1, -1];
StSet_N[11] = [0, 4, 1, 10, 2, 8, 10, -1, -1, -1, -1, -1, -1];
StSet_N[12] = [0, 4, 1, 20, 3, 8, 10, -1, -1, -1, -1, -1, -1];
StSet_N[13] = [0, 5, 1, 20, 3, 8, 10, -1, -1, -1, -1, -1, -1];
StSet_N[14] = [0, 5, 1, 20, 4, 8, 10, -1, -1, -1, -1, -1, -1];
StSet_N[15] = [1, 2, 5, 30, 2, 8, 10, 1, 12, 20, -1, -1, -1];
StSet_N[16] = [1, 2, 5, 40, 2, 8, 10, 4, 12, 20, -1, -1, -1];
StSet_N[17] = [1, 2, 5, 40, 3, 8, 10, 4, 12, 30, -1, -1, -1];
StSet_N[18] = [1, 2, 5, 40, 2, 8, 10, 5, 12, 20, -1, -1, -1];
StSet_N[19] = [1, 0, 5, 30, 0, 8, 10, 1, 1, 30, 1, 12, 50];
StSet_N[20] = [1, 1, 5, 30, 1, 8, 10, 2, 1, 30, 2, 12, 50];
StSet_N[21] = [1, 1, 1, 10, 2, 8, 20, 2, 0, 20, 2, 12, 40];
StSet_N[22] = [1, 0, 1, 20, 1, 8, 10, 2, 5, 50, 3, 12, 40];
StSet_N[23] = [1, 1, 1, 10, 1, 8, 30, 2, 5, 50, 3, 12, 30];
StSet_N[24] = [1, 2, 5, 10, 1, 8, 30, 2, 5, 50, 3, 11, 30];
StSet_N[25] = [0, 1, 5, 10, 1, 12, 10, 3, 1, 30, 3, 8, 30];
StSet_N[26] = [1, 2, 5, 30, 3, 8, 10, 2, 12, 40, 3, 11, 10];
StSet_N[27] = [1, 1, 4, 10, 1, 11, 20, 4, 5, 40, 4, 12, 50];
StSet_N[28] = [1, 2, 1, 10, 2, 5, 50, 2, 12, 40, 4, 8, 30];
StSet_N[29] = [1, 2, 5, 40, 2, 12, 50, 3, 1, 10, 4, 8, 10];
StSet_N[30] = [1, 2, 5, 40, 2, 12, 50, 4, 1, 10, 4, 8, 10];
StSet_N[31] = [1, 2, 5, 30, 3, 8, 10, 4, 1, 20, 3, 12, 50];
StSet_N[32] = [1, 3, 1, 10, 3, 4, 40, 3, 8, 20, 3, 11, 50];
StSet_N[33] = [1, 4, 0, 40, 4, 12, 30, 4, 7, 30, 4, 8, 10];
StSet_N[34] = [1, 3, 4, 10, 4, 12, 20, 4, 5, 40, 3, 11, 30];
StSet_N[35] = [1, 2, 8, 10, 2, 1, 20, 5, 12, 40, 5, 5, 30];
StSet_N[36] = [1, 4, 1, 10, 1, 8, 20, 2, 5, 30, 6, 13, 30];
StSet_N[37] = [1, 0, 1, 10, 2, 5, 20, 5, 8, 30, 6, 13, 30];
StSet_N[38] = [1, 4, 8, 10, 4, 12, 40, 4, 5, 40, 2, 1, 20];
StSet_N[39] = [1, 4, 8, 10, 4, 12, 40, 5, 5, 30, 5, 1, 10];
StSet_N[40] = [1, 5, 1, 20, 5, 0, 10, 5, 7, 20, 5, 8, 30];
StSet_N[41] = [0, 4, 7, 10, 4, 0, 10, 5, 7, 10, 5, 0, 10];
StSet_N[42] = [1, 2, 7, 20, 3, 11, 30, 4, 5, 10, 5, 0, 20];
StSet_N[43] = [1, 3, 8, 10, 3, 1, 20, 5, 3, 30, 5, 10, 30];
StSet_N[44] = [1, 3, 8, 10, 3, 1, 10, 6, 6, 30, 6, 13, 40];
StSet_N[45] = [1, 2, 1, 10, 5, 8, 30, 6, 6, 20, 6, 13, 30];
StSub_H = [7, 5, 12, 8, 20, 9, 29, 8, 37, 8];
StSet_H = new Array();
i = 0;
while (i < 45) {
StSet_H[i] = new Array();
i++;
}
StSet_H[0] = [0, 0, 1, 10, 0, 0, 20, 0, 7, 20, 0, 8, 10];
StSet_H[1] = [0, 1, 1, 10, 1, 0, 20, 1, 7, 20, 1, 8, 10];
StSet_H[2] = [0, 2, 1, 10, 2, 0, 20, 2, 7, 20, 2, 8, 10];
StSet_H[3] = [0, 3, 1, 10, 3, 1, 30, 3, 8, 40, 3, 8, 20];
StSet_H[4] = [0, 4, 1, 10, 4, 0, 30, 4, 7, 40, 4, 8, 20];
StSet_H[5] = [0, 5, 1, 10, 5, 0, 20, 5, 7, 20, 5, 8, 10];
StSet_H[6] = [0, 6, 13, 10, 6, 6, 10, -1, -1, -1, -1, -1, -1];
StSet_H[7] = [1, 1, 5, 40, 2, 12, 30, 2, 8, 10, -1, -1, -1];
StSet_H[8] = [1, 0, 5, 10, 0, 12, 10, 0, 5, 40, 0, 12, 30];
StSet_H[9] = [1, 1, 5, 10, 1, 12, 10, 1, 5, 40, 1, 12, 30];
StSet_H[10] = [1, 2, 1, 20, 2, 8, 10, 2, 5, 30, 2, 12, 40];
StSet_H[11] = [1, 0, 5, 30, 1, 12, 20, 1, 8, 10, -1, -1, -1];
StSet_H[12] = [1, 0, 8, 10, 1, 12, 20, 0, 1, 20, 1, 5, 30];
StSet_H[13] = [1, 1, 8, 10, 2, 12, 40, 1, 1, 20, 2, 5, 30];
StSet_H[14] = [1, 0, 5, 10, 0, 5, 20, 1, 12, 10, 1, 12, 20];
StSet_H[15] = [0, 0, 5, 10, 2, 4, 20, 0, 12, 10, 2, 11, 20];
StSet_H[16] = [1, 1, 1, 20, 3, 5, 10, 2, 12, 20, -1, -1, -1];
StSet_H[17] = [1, 2, 1, 10, 3, 5, 10, 2, 12, 10, -1, -1, -1];
StSet_H[18] = [1, 3, 1, 20, 3, 8, 10, 2, 11, 20, -1, -1, -1];
StSet_H[19] = [1, 1, 1, 10, 3, 4, 10, 1, 8, 20, 3, 11, 30];
StSet_H[20] = [0, 2, 12, 30, 2, 5, 30, 3, 1, 10, 3, 8, 10];
StSet_H[21] = [1, 1, 12, 20, 2, 1, 20, 3, 4, 10, 4, 7, 30];
StSet_H[22] = [0, 0, 1, 10, 0, 8, 10, 4, 5, 10, 4, 12, 10];
StSet_H[23] = [1, 1, 12, 10, 4, 5, 30, 4, 5, 10, 2, 12, 20];
StSet_H[24] = [1, 3, 1, 10, 3, 4, 30, 3, 8, 30, 3, 11, 50];
StSet_H[25] = [1, 3, 1, 10, 2, 5, 30, 4, 7, 30, 5, 12, 40];
StSet_H[26] = [1, 2, 12, 10, 3, 8, 10, 3, 4, 30, 4, 12, 50];
StSet_H[27] = [1, 0, 5, 10, 1, 1, 10, 2, 8, 20, 6, 6, 20];
StSet_H[28] = [1, 2, 5, 20, 1, 1, 20, 3, 8, 10, 6, 6, 20];
StSet_H[29] = [1, 2, 5, 20, 2, 1, 30, 4, 8, 10, 4, 12, 30];
StSet_H[30] = [1, 3, 4, 20, 4, 11, 40, 3, 5, 10, 4, 12, 30];
StSet_H[31] = [1, 4, 1, 40, 4, 5, 20, 4, 8, 30, 4, 0, 10];
StSet_H[32] = [1, 2, 12, 10, 2, 5, 20, 5, 7, 30, 5, 0, 30];
StSet_H[33] = [1, 5, 12, 20, 5, 1, 10, 5, 8, 20, 5, 5, 30];
StSet_H[34] = [1, 2, 12, 20, 4, 1, 30, 4, 8, 10, 5, 5, 30];
StSet_H[35] = [1, 3, 5, 10, 2, 1, 10, 2, 8, 20, 6, 6, 20];
StSet_H[36] = [1, 2, 12, 10, 2, 5, 20, 6, 6, 20, 6, 13, 30];
StSet_H[37] = [1, 3, 8, 10, 4, 5, 30, 4, 12, 10, 5, 0, 20];
StSet_H[38] = [1, 3, 1, 10, 3, 8, 20, 5, 5, 10, 5, 12, 20];
StSet_H[39] = [1, 5, 1, 10, 5, 8, 20, 4, 4, 10, 4, 11, 20];
StSet_H[40] = [1, 2, 5, 20, 3, 1, 10, 6, 6, 20, 6, 13, 10];
StSet_H[41] = [1, 2, 12, 10, 4, 5, 20, 6, 6, 30, 6, 13, 20];
StSet_H[42] = [1, 2, 1, 10, 5, 8, 20, 6, 6, 20, 6, 13, 40];
StSet_H[43] = [1, 3, 8, 10, 3, 11, 10, 6, 6, 10, 6, 13, 30];
StSet_H[44] = [1, 3, 8, 10, 4, 1, 20, 6, 6, 30, 6, 13, 10];
SND_B01 = 0;
SND_B03 = 1;
SND_B04 = 2;
SND_B09 = 3;
SND_B10 = 4;
SND_B11 = 5;
SND_S01 = 6;
SND_S03 = 7;
SND_S04 = 8;
SND_S05 = 9;
SND_S06 = 10;
SND_S07 = 11;
SND_S08 = 12;
SND_S09 = 13;
SND_S10 = 14;
SND_S11 = 15;
SND_S12 = 16;
SND_S13 = 17;
SND_S14 = 18;
SND_S15 = 19;
SND_S16 = 20;
SND_S17 = 21;
SND_S18 = 22;
SND_S19 = 23;
SND_S20 = 24;
SND_S21 = 25;
SND_S22 = 26;
SND_S23 = 27;
SND_S24 = 28;
SND_S25 = 29;
SND_S26 = 30;
SND_MAX = 31;
SND_LOOP = 1;
SND_END = 2;
nSound = new Array();
SoundCtt = new Array();
i = 0;
while (i < SND_MAX) {
SoundCtt[i] = 0;
createEmptyMovieClip("snd_" + i, 10 + i);
nSound[i] = new Sound("snd_" + i);
nSound[i].sno = i;
nSound[i].onSoundComplete = StopSnd;
nSound[i].setVolume(70);
if (i < 6) {
nSound[i].attachSound("bgm" + (i + 1));
} else {
nSound[i].attachSound("se" + (i - 5));
}
i++;
}
this.onEnterFrame = function () {
if (fade_flg == 1) {
fade_ctt++;
FadeBg._alpha = fade_ctt * 20;
if (fade_ctt >= 5) {
fade_flg = 2;
}
} else if (fade_flg == 2) {
fade_ctt--;
FadeBg._alpha = fade_ctt * 20;
if (fade_ctt == 0) {
FadeBg.removeMovieClip();
fade_flg = 0;
}
}
if (BgChangeStop()) {
return(undefined);
}
bgc_ctt++;
if (bgc_ctt >= 3600) {
bgc_ctt = 0;
}
};
Frame 3
Cutin_Flg = 0;
Cutin_Ctt = 0;
Cutin_Skip = 0;
Instance of Symbol 1845 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_parent.Cutin_Skip == 1) {
if (_parent.FadeLoop() == 2) {
if (_parent.CutIn != null) {
_parent.CutIn.removeMovieClip();
}
_parent.Cutin_Flg = 0;
_parent.Cutin_Ctt = 0;
_parent.Cutin_Skip = 0;
_parent.gotoAndPlay("title");
return(undefined);
}
if (_parent.FadeLoop() == 0) {
_parent.FadeFlg();
}
}
if (_parent.Cutin_Flg == 0) {
if (_parent.Cutin_Ctt == 0) {
_parent.attachMovie("cutin0", "CutIn", 99998);
_parent.CutIn._x = 159.9;
_parent.CutIn._y = 166;
}
_parent.Cutin_Ctt++;
if (((_parent.Cutin_Ctt == 13) || (_parent.Cutin_Ctt == 15)) || (_parent.Cutin_Ctt == 17)) {
_parent.SndPlay(_parent.SND_S17, _parent.SND_END);
}
if (_parent.Cutin_Ctt == 51) {
_parent.SndPlay(_parent.SND_S15, _parent.SND_END);
}
if (_parent.Cutin_Ctt >= 60) {
_parent.Cutin_Ctt = 0;
_parent.Cutin_Flg = 1;
_parent.CutIn.removeMovieClip();
}
} else if (_parent.Cutin_Flg == 1) {
if (_parent.Cutin_Ctt == 0) {
_parent.attachMovie("cutin1", "CutIn", 99998);
_parent.CutIn._x = 160;
_parent.CutIn._y = 166;
_parent.CLOUD_MOVEX0 = -160;
_parent.CLOUD_MOVEX1 = 240;
}
_parent.Cutin_Ctt++;
if ((_parent.Cutin_Ctt == 5) || (_parent.Cutin_Ctt == 7)) {
_parent.SndPlay(_parent.SND_S13, _parent.SND_END);
}
if (_parent.Cutin_Ctt == 13) {
_parent.SndPlay(_parent.SND_S25, _parent.SND_END);
}
if (_parent.Cutin_Ctt == 26) {
_parent.SndPlay(_parent.SND_S20, _parent.SND_END);
}
if (_parent.Cutin_Ctt == 43) {
_parent.SndPlay(_parent.SND_S16, _parent.SND_END);
}
if (_parent.Cutin_Ctt >= 56) {
_parent.Cutin_Ctt = 0;
_parent.Cutin_Flg = 2;
_parent.CutIn.removeMovieClip();
}
} else if (_parent.Cutin_Flg == 2) {
if (_parent.Cutin_Ctt == 0) {
_parent.attachMovie("cutin2", "CutIn", 99998);
_parent.CutIn._x = 159.9;
_parent.CutIn._y = 165.9;
}
_parent.Cutin_Ctt++;
if (((_parent.Cutin_Ctt % 2) == 0) && (((_parent.Cutin_Ctt >= 4) && (_parent.Cutin_Ctt <= 12)) || ((_parent.Cutin_Ctt >= 16) && (_parent.Cutin_Ctt <= 24)))) {
_parent.SndPlay(_parent.SND_S22, _parent.SND_END);
}
if (_parent.Cutin_Ctt == 45) {
_parent.SndPlay(_parent.SND_S14, _parent.SND_END);
}
if (_parent.Cutin_Ctt == 68) {
_parent.SndPlay(_parent.SND_S24, _parent.SND_END);
}
if (_parent.Cutin_Ctt >= 90) {
_parent.Cutin_Ctt = 0;
_parent.Cutin_Flg = 3;
_parent.CutIn.removeMovieClip();
_parent.gotoAndPlay("title");
}
}
if (Key.isDown(13) || (Key.isDown(32))) {
_parent.Cutin_Skip = 1;
}
}
Frame 5
gotoAndPlay(_currentframe - 1);
Instance of Symbol 490 MovieClip "hiscore_connector" in Frame 6
//component parameters
onClipEvent (construct) {
GameTitle = "Ninja Ninja";
ScoreDes = "points";
GameID = "nninja";
scoreData = "_root.gScore";
passWord = "shockwave";
FunctionType = "view";
}
Instance of Symbol 1845 MovieClip in Frame 6
onClipEvent (load) {
trace("title_load");
_parent.SndPlay(_parent.SND_B01, _parent.SND_LOOP);
_parent.Cutin_Ctt = 0;
}
onClipEvent (enterFrame) {
if (_parent.GStartFlg == _parent.STARTMENU_HOWTO) {
if (_parent.FadeLoop() == 2) {
_parent.gotoAndPlay("howto");
} else if (_parent.FadeLoop() == 0) {
_parent.FadeFlg();
}
return(undefined);
}
if (_parent.GStartFlg == _parent.STARTMENU_CUTIN) {
if (_parent.FadeLoop() == 2) {
_parent.SndStop(_parent.SND_B01);
_parent.gotoAndPlay("Cutin");
} else if (_parent.FadeLoop() == 0) {
_parent.FadeFlg();
}
}
if (_parent.FadeLoop() != 0) {
return(undefined);
}
if (_parent.menu_count == 0) {
_parent.Cutin_Ctt++;
if (_parent.Cutin_Ctt >= 600) {
_parent.GStartFlg = _parent.STARTMENU_CUTIN;
_parent.Cutin_Ctt = 0;
return(undefined);
}
if (_parent.KeyCount < 16) {
_parent.KeyCount++;
}
if (Key.isDown(32) || (Key.isDown(13))) {
if (_parent.KeyCount > 15) {
_parent.KeyCount = 0;
_parent.menu_count = 1;
_parent.SndPlay(_parent.SND_S01, _parent.SND_END);
return(undefined);
}
} else if (Key.isDown(38) && (_parent.KeyCount > 15)) {
if (_parent.Startmenu_sele != _parent.STARTMENU_MENU) {
_parent.SndPlay(_parent.SND_S04, _parent.SND_END);
}
if (_parent.Startmenu_sele == _parent.STARTMENU_HOWTO) {
_parent.Startmenu_sele = _parent.STARTMENU_MENU;
} else if (_parent.Startmenu_sele == _parent.STARTMENU_OPTION) {
_parent.Startmenu_sele = _parent.STARTMENU_HOWTO;
}
_parent.KeyCount = _parent.KeyCount - 6;
_parent.Cutin_Ctt = _parent.Cutin_Ctt - 6;
} else if (Key.isDown(40) && (_parent.KeyCount > 15)) {
if (_parent.Startmenu_sele != _parent.STARTMENU_OPTION) {
_parent.SndPlay(_parent.SND_S04, _parent.SND_END);
}
if (_parent.Startmenu_sele == _parent.STARTMENU_MENU) {
_parent.Startmenu_sele = _parent.STARTMENU_HOWTO;
} else if (_parent.Startmenu_sele == _parent.STARTMENU_HOWTO) {
_parent.Startmenu_sele = _parent.STARTMENU_OPTION;
}
_parent.KeyCount = _parent.KeyCount - 6;
_parent.Cutin_Ctt = _parent.Cutin_Ctt - 6;
}
} else {
_parent.menu_count++;
if (_parent.menu_count > 18) {
_parent.menu_count = 0;
_parent.GStartFlg = _parent.Startmenu_sele;
if (_parent.GStartFlg == _parent.STARTMENU_MENU) {
_parent.gotoAndPlay("menu");
} else if (_parent.GStartFlg == _parent.STARTMENU_HOWTO) {
} else if (_parent.GStartFlg == _parent.STARTMENU_OPTION) {
_parent.gotoAndPlay("option");
}
}
}
}
Frame 7
function PauseStop() {
if (_root.PauseFlg > 0) {
pfl = 1;
return(1);
}
if (pfl == 1) {
pfl = 0;
return(2);
}
return(0);
}
STARTMENU_TITLE = 0;
STARTMENU_MENU = 1;
STARTMENU_GAME = 2;
STARTMENU_HOWTO = 3;
STARTMENU_OPTION = 4;
STARTMENU_HSCORE = 5;
STARTMENU_SOUND = 6;
STARTMENU_LANGUAGE = 7;
STARTMENU_BACK = 8;
STARTMENU_SSCORE = 9;
STARTMENU_CUTIN = 10;
Startmenu_sele = STARTMENU_MENU;
menu_count = 0;
DIFFICULTY_EASY = 0;
DIFFICULTY_NORMAL = 1;
DIFFICULTY_HARD = 2;
DIFFICULTY_BACK = 3;
StageRaFlg = 1;
Weapon_rTim = [10, 8, 6, 10, 5, 14, 20, 14, 10];
Weapon_rCtt = [7, 12, 50, 40, 48, 57, 12, 40, 12];
Weapon_rUse = [0, 20, 20, 15, 25, 15, 2, 10, 1];
Pl_MOVE_SPEED_X = 4.8;
Cp_MOVE_SPEED_X = 4.8;
Pl_MOVE_COUNT_Y = 26;
Cp_MOVE_COUNT_Y = 26;
KILL_COUNTMAX = 3;
EXCPU_CTT = 10;
Cp_ExFlg = 0;
Cp_ExAdd = 0;
Cp_ExCtt = 0;
BONUS_SCORE = 7777;
GStartFlg = 0;
GOverFlg = 0;
CompleteFlg = 0;
PauseFlg = 0;
PauseMenu = 0;
U_END = 0;
D_END = 288;
L_END = 0;
R_END = 288;
STATUS_NORMAL = 0;
STATUS_INVICI = 5;
STATUS_START = 9;
STATUS_DEATH = 1;
KeyCount = 0;
KillCount = 0;
FallItem = 0;
itMov_addY = 0;
itMov_Ctt = 0;
Pl_PICSIZE = 32;
Pl_WEPMAX = 10;
Pl_life = 3;
Pl_Status = [0];
Pl_Way = [0];
Pl_Jump = [0];
Pl_beCtt = [0];
Pl_AtkCtt = [0];
Pl_Xadd1 = [0];
Pl_Xadd2 = [0];
Pl_Yadd1 = [0];
Pl_Yadd2 = [0];
Pl_Yadd3 = [0];
Pl_WepEq = [0];
Pl_WepUse = [0];
Pl_WepCtt = [0];
Pl_WepXadd = new Array();
Pl_WepYadd = new Array();
Pl_Wep_rCtt = new Array();
Pl_Wep_eFlg = new Array();
WEPTYPE_NOR = 0;
WEPTYPE_SPD = 1;
WEPTYPE_NIF = 2;
WEPTYPE_ARW = 3;
WEPTYPE_SHI = 4;
WEPTYPE_ROL = 5;
WEPTYPE_ALL = 6;
WEPTYPE_BOM = 7;
WEPTYPE_BLA = 8;
i = 0;
while (i < Pl_WEPMAX) {
Pl_WepXadd[i] = 0;
Pl_WepYadd[i] = 0;
Pl_Wep_rCtt[i] = 0;
Pl_Wep_eFlg[i] = 0;
i++;
}
CPU_MAX = 4;
CPUCONT_L = 1;
CPUCONT_R = 2;
CPUCONT_JL = 3;
CPUCONT_JR = 4;
CPUCONT_A = 5;
CPUCONT_D = 6;
Cp_Status = new Array();
Cp_Way = new Array();
Cp_Jump = new Array();
Cp_Xadd1 = new Array();
Cp_Xadd2 = new Array();
Cp_Yadd1 = new Array();
Cp_Yadd2 = new Array();
Cp_Yadd3 = new Array();
Cp_beFlg = new Array();
Cp_beAct = new Array();
Cp_beCtt = new Array();
Cp_PatNo = new Array();
Cp_AtkCtt = new Array();
Cp_WepXadd = new Array();
Cp_WepYadd = new Array();
CpuAct = [50, 50, 24, 50, 40, 50];
i = 0;
while (i < CPU_MAX) {
Cp_Status[i] = STATUS_DEATH;
Cp_Way[i] = 0;
Cp_Jump[i] = 0;
Cp_Xadd1[i] = 0;
Cp_Xadd2[i] = 0;
Cp_Yadd1[i] = 0;
Cp_Yadd2[i] = 0;
Cp_Yadd3[i] = 0;
Cp_beFlg[i] = 0;
Cp_beAct[i] = 1;
Cp_beCtt[i] = 0;
Cp_PatNo[i] = 0;
Cp_AtkCtt[i] = 0;
Cp_WepXadd[i] = new Array();
Cp_WepYadd[i] = new Array();
i++;
}
Cp_WEPMAX = 3;
i = 0;
while (i < CPU_MAX) {
j = 0;
while (j < Cp_WEPMAX) {
Cp_WepXadd[i][j] = 0;
Cp_WepYadd[i][j] = 0;
j++;
}
i++;
}
STAGE_MAX = 50;
CP_FWAIT = 20;
NowStage = 0;
GamePlay = [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1];
GameStage = new Array();
i = 0;
while (i < STAGE_MAX) {
GameStage[i] = -1;
i++;
}
MainScore = 0;
MainScore_h = -1;
Sc_pCtt1 = 0;
Sc_pCtt2 = 0;
Sc_subFlg = 0;
ScoreSet = new Array();
i = 0;
while (i < 10) {
ScoreSet[i] = 0;
i++;
}
ATTPIC_CTT = 8;
PL_ATTPIC_CTT = 4;
DEPTH_PATT = 9500;
DEPTH_CATT = 9300;
DEPTH_ITEM = 9200;
DEPTH_PLAYER = 10000;
DEPTH_CPU = 10010;
DEPTH_CPUEX = 10090;
DEPTH_LEVEL = 57000;
DEPTH_MSCORE = 58000;
DEPTH_LIFE = 59000;
DEPTH_EQWEP = 59500;
DEPTH_STATUS = 59900;
DEPTH_SCORE = 60000;
DEPTH_SCOREX = 70000 /* 0x011170 */;
DEPTH_PAUSE = 99999 /* 0x01869F */;
bgc_ctt = 1;
pfl = 0;
Frame 9
gotoAndPlay(_currentframe - 1);
Instance of Symbol 1845 MovieClip in Frame 10
onClipEvent (load) {
trace("menu_load");
}
onClipEvent (enterFrame) {
if (_parent.Startmenu_sele == _parent.STARTMENU_GAME) {
if (_parent.FadeLoop() == 2) {
_parent.SndPlay(_parent.SND_B03, _parent.SND_END);
_parent.gotoAndPlay("game");
} else if (_parent.FadeLoop() == 0) {
_parent.FadeFlg();
}
return(undefined);
}
if (_parent.FadeLoop() != 0) {
return(undefined);
}
if (_parent.menu_count == 0) {
if (_parent.KeyCount < 16) {
_parent.KeyCount++;
}
if (Key.isDown(32) || (Key.isDown(13))) {
if (_parent.KeyCount > 15) {
_parent.KeyCount = 0;
_parent.menu_count = 1;
if (_parent.StageRaFlg == _parent.DIFFICULTY_BACK) {
_parent.SndPlay(_parent.SND_S03, _parent.SND_END);
} else {
_parent.SndPlay(_parent.SND_S01, _parent.SND_END);
}
}
}
if (Key.isDown(38)) {
if ((_parent.StageRaFlg > 0) && (_parent.KeyCount > 15)) {
_parent.StageRaFlg--;
_parent.KeyCount = _parent.KeyCount - 6;
_parent.SndPlay(_parent.SND_S04, _parent.SND_END);
}
}
if (Key.isDown(40)) {
if ((_parent.StageRaFlg < 3) && (_parent.KeyCount > 15)) {
_parent.StageRaFlg++;
_parent.KeyCount = _parent.KeyCount - 6;
_parent.SndPlay(_parent.SND_S04, _parent.SND_END);
}
}
} else {
_parent.menu_count++;
if (_parent.menu_count > 18) {
_parent.menu_count = 0;
_parent.GStartFlg = _parent.STARTMENU_TITLE;
if (_parent.StageRaFlg == _parent.DIFFICULTY_EASY) {
_parent.Pl_MOVE_SPEED_X = 4.8;
_parent.Pl_MOVE_COUNT_Y = 26;
_parent.Cp_MOVE_SPEED_X = 3.9;
_parent.Cp_MOVE_COUNT_Y = 32;
_parent.Weapon_rUse[1] = 20;
_parent.Weapon_rUse[2] = 25;
_parent.Weapon_rUse[3] = 20;
_parent.Weapon_rUse[4] = 50;
_parent.Weapon_rUse[5] = 20;
_parent.Weapon_rUse[6] = 3;
_parent.Weapon_rUse[7] = 20;
_parent.KILL_COUNTMAX = 4;
_parent.Pl_life = 5;
} else if (_parent.StageRaFlg == _parent.DIFFICULTY_NORMAL) {
_parent.Pl_MOVE_SPEED_X = 4.8;
_parent.Pl_MOVE_COUNT_Y = 26;
_parent.Cp_MOVE_SPEED_X = 4.8;
_parent.Cp_MOVE_COUNT_Y = 26;
_parent.Weapon_rUse[1] = 15;
_parent.Weapon_rUse[2] = 20;
_parent.Weapon_rUse[3] = 15;
_parent.Weapon_rUse[4] = 25;
_parent.Weapon_rUse[5] = 15;
_parent.Weapon_rUse[6] = 2;
_parent.Weapon_rUse[7] = 10;
_parent.Pl_life = 3;
} else if (_parent.StageRaFlg == _parent.DIFFICULTY_HARD) {
_parent.Pl_MOVE_SPEED_X = 4.8;
_parent.Pl_MOVE_COUNT_Y = 26;
_parent.Cp_MOVE_SPEED_X = 4.8;
_parent.Cp_MOVE_COUNT_Y = 26;
_parent.KILL_COUNTMAX = 6;
_parent.Weapon_rUse[1] = 10;
_parent.Weapon_rUse[2] = 12;
_parent.Weapon_rUse[3] = 10;
_parent.Weapon_rUse[4] = 12;
_parent.Weapon_rUse[5] = 7;
_parent.Weapon_rUse[6] = 1;
_parent.Weapon_rUse[7] = 5;
_parent.Pl_life = 3;
}
if (_parent.StageRaFlg == _parent.DIFFICULTY_BACK) {
_parent.gotoAndPlay("title");
} else {
_parent.Startmenu_sele = _parent.STARTMENU_GAME;
}
}
}
}
Frame 13
gotoAndPlay(_currentframe - 1);
Instance of Symbol 1845 MovieClip in Frame 14
onClipEvent (load) {
_parent.Startmenu_sele = _parent.STARTMENU_HSCORE;
trace("option_load");
}
onClipEvent (enterFrame) {
if (_parent.GStartFlg == _parent.STARTMENU_LANGUAGE) {
if (_parent.FadeLoop() == 2) {
if (_parent.LaFlg == 0) {
_parent.LaFlg = 1;
} else {
_parent.LaFlg = 0;
}
_parent.GStartFlg = 0;
} else if (_parent.FadeLoop() == 0) {
_parent.FadeFlg();
}
return(undefined);
}
if (_parent.FadeLoop() != 0) {
return(undefined);
}
if (_parent.menu_count == 0) {
if (_parent.KeyCount < 16) {
_parent.KeyCount++;
}
if (Key.isDown(32) || (Key.isDown(13))) {
if (_parent.KeyCount > 15) {
_parent.KeyCount = 0;
_parent.menu_count = 1;
if (_parent.Startmenu_sele == _parent.STARTMENU_BACK) {
_parent.SndPlay(_parent.SND_S03, _parent.SND_END);
} else {
_parent.SndPlay(_parent.SND_S01, _parent.SND_END);
}
}
}
if (Key.isDown(38) && (_parent.KeyCount > 15)) {
if (_parent.Startmenu_sele != _parent.STARTMENU_HSCORE) {
_parent.SndPlay(_parent.SND_S04, _parent.SND_END);
}
if (_parent.Startmenu_sele == _parent.STARTMENU_SOUND) {
_parent.Startmenu_sele = _parent.STARTMENU_HSCORE;
} else if (_parent.Startmenu_sele == _parent.STARTMENU_LANGUAGE) {
_parent.Startmenu_sele = _parent.STARTMENU_SOUND;
} else if (_parent.Startmenu_sele == _parent.STARTMENU_BACK) {
_parent.Startmenu_sele = _parent.STARTMENU_LANGUAGE;
}
_parent.KeyCount = _parent.KeyCount - 6;
}
if (Key.isDown(40) && (_parent.KeyCount > 15)) {
if (_parent.Startmenu_sele != _parent.STARTMENU_BACK) {
_parent.SndPlay(_parent.SND_S04, _parent.SND_END);
}
if (_parent.Startmenu_sele == _parent.STARTMENU_HSCORE) {
_parent.Startmenu_sele = _parent.STARTMENU_SOUND;
} else if (_parent.Startmenu_sele == _parent.STARTMENU_SOUND) {
_parent.Startmenu_sele = _parent.STARTMENU_LANGUAGE;
} else if (_parent.Startmenu_sele == _parent.STARTMENU_LANGUAGE) {
_parent.Startmenu_sele = _parent.STARTMENU_BACK;
}
_parent.KeyCount = _parent.KeyCount - 6;
}
} else {
_parent.menu_count++;
if (_parent.menu_count > 18) {
_parent.menu_count = 0;
if (_parent.Startmenu_sele == _parent.STARTMENU_SOUND) {
if (_parent.SndFlg == 0) {
_parent.SndStop(_parent.SND_B01);
_parent.SndFlg = 1;
} else {
_parent.SndFlg = 0;
_parent.SndPlay(_parent.SND_B01, _parent.SND_LOOP);
}
} else if (_parent.Startmenu_sele == _parent.STARTMENU_LANGUAGE) {
_parent.GStartFlg = _parent.Startmenu_sele;
} else {
_parent.GStartFlg = _parent.Startmenu_sele;
}
if (_parent.GStartFlg == _parent.STARTMENU_BACK) {
_parent.gotoAndPlay("title");
} else if (_parent.GStartFlg == _parent.STARTMENU_HSCORE) {
trace("yes");
_root.hiscore_connector.connectHiscore("view");
_parent.GStartFlg = _parent.STARTMENU_OPTION;
}
}
}
}
Frame 17
this.gotoAndPlay(_currentframe - 1);
Instance of Symbol 1845 MovieClip in Frame 18
onClipEvent (load) {
function rand(num) {
return(Math.floor(Math.random() * num));
}
function cSin(r) {
var _local2 = 0;
var _local3 = 1;
if (r >= 360) {
r = r % 360;
}
if (r >= 180) {
r = r - 180;
_local3 = -1;
}
if (r < 90) {
_local2 = Math.sin((r * Math.PI) / 180);
}
if ((r >= 90) && (r < 180)) {
_local2 = Math.sin(((180 - r) * Math.PI) / 180);
}
return(_local2 * _local3);
}
function cCos(r) {
var _local2 = 0;
var _local3 = 1;
if (r >= 360) {
r = r % 360;
}
if (r >= 180) {
r = r - 180;
_local3 = -1;
}
if (r < 90) {
_local2 = Math.sin(((90 - r) * Math.PI) / 180);
}
if ((r >= 90) && (r < 180)) {
_local2 = -Math.sin(((r - 90) * Math.PI) / 180);
}
return(_local2 * _local3);
}
function P_MoveStart(pname, name, no) {
var _local4 = 0;
if (_parent[name + "Jump"][no] > 0) {
_local4 = _parent.D_END - (cSin(_parent[name + "Yadd2"][no] * (180 / _parent[name + "Yadd3"][no])) * _parent[name + "Yadd1"][no]);
if (_local4 > _parent.D_END) {
_parent[pname]._y = _parent.D_END;
} else {
_parent[pname]._y = _local4;
}
_parent[name + "Yadd2"][no]++;
}
_parent[pname]._x = _parent[pname]._x + _parent[name + "Xadd1"][no];
_parent[name + "Xadd1"][no] = _parent[name + "Xadd1"][no] + _parent[name + "Xadd2"][no];
if (_parent[name + "Xadd1"][no] == 0) {
_parent[name + "Xadd2"][no] = 0;
}
}
function P_MoveCheck(pname, name, no) {
if (_parent[pname]._x < _parent.L_END) {
_parent[pname]._x = _parent.L_END;
}
if (_parent[pname]._x > _parent.R_END) {
_parent[pname]._x = _parent.R_END;
}
if (_parent[pname]._y < _parent.U_END) {
_parent[pname]._y = _parent.U_END;
}
if (_parent[pname]._y > _parent.D_END) {
_parent[pname]._y = _parent.D_END;
}
if (_parent[pname]._y >= _parent.D_END) {
if ((_parent[name + "Jump"][no] == 1) || (_parent[name + "Jump"][no] == 3)) {
if (name == "Pl_") {
_parent.SndPlay(_parent.SND_S05, _parent.SND_END);
} else {
_parent.SndPlay(_parent.SND_S06, _parent.SND_END);
}
}
_parent[name + "Xadd1"][no] = 0;
_parent[name + "Xadd2"][no] = 0;
_parent[name + "Yadd1"][no] = 0;
_parent[name + "Yadd2"][no] = 0;
_parent[name + "Yadd3"][no] = 0;
_parent[name + "Jump"][no] = 0;
if (_parent[name + "Way"][no] < 4) {
_parent[name + "Way"][no] = _parent[name + "Way"][no] % 2;
}
}
}
function WeaponBeing(no) {
var _local2 = 0;
while (_local2 < _parent.Pl_WEPMAX) {
if (_parent.Pl_Wep_rCtt[_local2] < 1) {
} else if (_parent.Pl_Wep_eFlg[_local2] == no) {
return(true);
}
_local2++;
}
return(false);
}
function WeaponErase(no) {
_parent["wep_pl" + no].removeMovieClip();
_parent.Pl_Wep_rCtt[no] = 0;
_parent.Pl_WepCtt[0]--;
if ((_parent.Pl_Wep_eFlg[no] == _parent.WEPTYPE_SHI) && (!WeaponBeing(_parent.WEPTYPE_SHI))) {
_parent.SndStop(_parent.SND_S14);
} else if ((_parent.Pl_Wep_eFlg[no] == _parent.WEPTYPE_ROL) && (!WeaponBeing(_parent.WEPTYPE_ROL))) {
_parent.SndStop(_parent.SND_S16);
}
}
function WeaponCheck() {
if (_parent.Pl_WepCtt[0] < 1) {
return(undefined);
}
var _local2 = 0;
while (_local2 < _parent.Pl_WEPMAX) {
if (_parent.Pl_Wep_rCtt[_local2] < 1) {
} else {
if ((((_parent.Pl_Wep_eFlg[_local2] == _parent.WEPTYPE_NOR) || (_parent.Pl_Wep_eFlg[_local2] == _parent.WEPTYPE_SPD)) || (_parent.Pl_Wep_eFlg[_local2] == _parent.WEPTYPE_ARW)) || (_parent.Pl_Wep_eFlg[_local2] == _parent.WEPTYPE_NIF)) {
_parent["wep_pl" + _local2]._x = _parent["wep_pl" + _local2]._x + _parent.Pl_WepXadd[_local2];
_parent["wep_pl" + _local2]._y = _parent["wep_pl" + _local2]._y + _parent.Pl_WepYadd[_local2];
if ((_parent["wep_pl" + _local2]._x < (_parent.L_END - 32)) || (_parent["wep_pl" + _local2]._x > (_parent.R_END + 32))) {
_parent.Pl_Wep_rCtt[_local2] = 1;
}
} else if (_parent.Pl_Wep_eFlg[_local2] == _parent.WEPTYPE_SHI) {
_parent["wep_pl" + _local2]._x = _parent.pic_pl._x + (cSin((_parent.Pl_Wep_rCtt[_local2] * 24) % 360) * 56);
_parent["wep_pl" + _local2]._y = _parent.pic_pl._y - (cCos((_parent.Pl_Wep_rCtt[_local2] * 24) % 360) * 56);
} else if (_parent.Pl_Wep_eFlg[_local2] == _parent.WEPTYPE_ROL) {
if ((_parent.Pl_Wep_rCtt[_local2] % 24) < 18) {
_parent["wep_pl" + _local2]._x = _parent["wep_pl" + _local2]._x + (_parent.Pl_WepXadd[_local2] * cSin((_parent.Pl_Wep_rCtt[_local2] % 24) * 10));
_parent["wep_pl" + _local2]._y = _parent.Pl_WepYadd[_local2] + (cSin((_parent.Pl_Wep_rCtt[_local2] % 24) * 10) * 64);
} else {
if (_parent.Pl_WepXadd[_local2] > 0) {
_parent["wep_pl" + _local2]._x = _parent["wep_pl" + _local2]._x - (Math.abs((_parent.Pl_Wep_rCtt[_local2] % 6) - 3) * 3);
} else {
_parent["wep_pl" + _local2]._x = _parent["wep_pl" + _local2]._x + (Math.abs((_parent.Pl_Wep_rCtt[_local2] % 6) - 3) * 3);
}
if ((_parent.Pl_Wep_rCtt[_local2] % 24) < 21) {
_parent["wep_pl" + _local2]._y = _parent["wep_pl" + _local2]._y + (Math.abs((_parent.Pl_Wep_rCtt[_local2] % 6) - 3) * 2);
}
if ((_parent.Pl_Wep_rCtt[_local2] % 24) >= 21) {
_parent["wep_pl" + _local2]._y = _parent["wep_pl" + _local2]._y - (Math.abs((_parent.Pl_Wep_rCtt[_local2] % 6) - 3) * 2);
}
}
if ((_parent["wep_pl" + _local2]._x < (_parent.L_END - 64)) || (_parent["wep_pl" + _local2]._x > (_parent.R_END + 64))) {
_parent.Pl_Wep_rCtt[_local2] = 1;
}
} else if (_parent.Pl_Wep_eFlg[_local2] == _parent.WEPTYPE_ALL) {
} else if (_parent.Pl_Wep_eFlg[_local2] == _parent.WEPTYPE_BOM) {
_parent["wep_pl" + _local2]._x = _parent["wep_pl" + _local2]._x + _parent.Pl_WepXadd[_local2];
_parent["wep_pl" + _local2]._y = _parent["wep_pl" + _local2]._y + _parent.Pl_WepYadd[_local2];
_parent.Pl_WepYadd[_local2] = _parent.Pl_WepYadd[_local2] + 3.7;
if (((_parent["wep_pl" + _local2]._y > _parent.D_END) || (_parent["wep_pl" + _local2]._x > _parent.R_END)) || (_parent["wep_pl" + _local2]._x < _parent.L_END)) {
if (_parent.Pl_Wep_rCtt[_local2] != 1) {
BomBlast(_parent["wep_pl" + _local2]._x, _parent["wep_pl" + _local2]._y);
}
_parent.Pl_Wep_rCtt[_local2] = 1;
}
}
_parent.Pl_Wep_rCtt[_local2]--;
if (_parent.Pl_Wep_rCtt[_local2] < 1) {
WeaponErase(_local2);
}
}
_local2++;
}
}
function Weapon_Use(wno) {
if ((_parent.Pl_Status[0] == _parent.STATUS_NORMAL) || (_parent.Pl_Status[0] == _parent.STATUS_INVICI)) {
_parent.Pl_WepUse[0]--;
var i = 0;
while (i < _parent.Pl_WEPMAX) {
if (_parent.Pl_Wep_rCtt[i] > 0) {
} else {
_parent.Pl_Wep_eFlg[i] = wno;
_parent.Pl_Wep_rCtt[i] = _parent.Weapon_rCtt[wno];
if (wno == _parent.WEPTYPE_NOR) {
_parent.SndPlay(_parent.SND_S11, _parent.SND_END);
} else if (wno == _parent.WEPTYPE_SPD) {
_parent.SndPlay(_parent.SND_S11, _parent.SND_END);
} else if (wno == _parent.WEPTYPE_NIF) {
_parent.SndPlay(_parent.SND_S13, _parent.SND_END);
} else if (wno == _parent.WEPTYPE_ARW) {
_parent.SndPlay(_parent.SND_S15, _parent.SND_END);
} else if (wno == _parent.WEPTYPE_SHI) {
_parent.SndPlay(_parent.SND_S14, _parent.SND_LOOP);
} else if (wno == _parent.WEPTYPE_ROL) {
_parent.SndPlay(_parent.SND_S16, _parent.SND_LOOP);
} else if (wno == _parent.WEPTYPE_ALL) {
_parent.SndPlay(_parent.SND_S19, _parent.SND_END);
} else if (wno == _parent.WEPTYPE_BOM) {
_parent.SndPlay(_parent.SND_S17, _parent.SND_END);
}
if ((((wno == _parent.WEPTYPE_NOR) || (wno == _parent.WEPTYPE_SPD)) || (wno == _parent.WEPTYPE_ARW)) || (wno == _parent.WEPTYPE_NIF)) {
if (wno == _parent.WEPTYPE_NIF) {
_parent.Pl_WepXadd[i] = (((_parent.Pl_Way[0] % 2) == 0) ? 10 : -10);
} else {
_parent.Pl_WepXadd[i] = (((_parent.Pl_Way[0] % 2) == 0) ? 16 : -16);
}
_parent.Pl_WepYadd[i] = 0;
if ((wno == _parent.WEPTYPE_NOR) || (wno == _parent.WEPTYPE_SPD)) {
_parent.attachMovie("weapon_p00", "wep_pl" + i, _parent.DEPTH_PATT + i);
} else {
_parent.attachMovie(("weapon_p" + wno) + (_parent.Pl_Way[0] % 2), "wep_pl" + i, _parent.DEPTH_PATT + i);
}
with (_parent["wep_pl" + i]) {
_x = (((_parent.Pl_Way[0] % 2) == 0) ? (16 + _parent.pic_pl._x) : (-16 + _parent.pic_pl._x));
_y = _parent.pic_pl._y;
}
_parent.Pl_WepCtt[0]++;
} else if (wno == _parent.WEPTYPE_SHI) {
_parent.Pl_WepXadd[i] = 0;
_parent.Pl_WepYadd[i] = 0;
_parent.attachMovie("weapon_p00", "wep_pl" + i, _parent.DEPTH_PATT + i);
with (_parent["wep_pl" + i]) {
_x = _parent.pic_pl._x;
_y = _parent.pic_pl._y - 56;
}
_parent.Pl_WepCtt[0]++;
} else if (wno == _parent.WEPTYPE_ALL) {
_parent.Pl_WepXadd[i] = 0;
_parent.Pl_WepYadd[i] = 0;
_parent.attachMovie("weapon_p60", "wep_pl" + i, _parent.DEPTH_PATT + i);
with (_parent["wep_pl" + i]) {
_x = _parent.pic_pl._x + 16;
_y = _parent.pic_pl._y + 16;
}
_parent.Pl_WepCtt[0]++;
} else if (wno == _parent.WEPTYPE_ROL) {
_parent.Pl_WepXadd[i] = (((_parent.Pl_Way[0] % 2) == 0) ? 12 : -12);
_parent.Pl_WepYadd[i] = _parent.pic_pl._y - 64;
_parent.attachMovie("weapon_p5" + (_parent.Pl_Way[0] % 2), "wep_pl" + i, _parent.DEPTH_PATT + i);
with (_parent["wep_pl" + i]) {
_x = (((_parent.Pl_Way[0] % 2) == 0) ? 24 : -24) + _parent.pic_pl._x;
_y = _parent.pic_pl._y;
}
_parent.Pl_WepCtt[0]++;
} else if (wno == _parent.WEPTYPE_BOM) {
_parent.Pl_WepXadd[i] = (((_parent.Pl_Way[0] % 2) == 0) ? 10 : -10);
_parent.Pl_WepYadd[i] = -14.8;
_parent.attachMovie("weapon_p7" + (_parent.Pl_Way[0] % 2), "wep_pl" + i, _parent.DEPTH_PATT + i);
with (_parent["wep_pl" + i]) {
_x = (((_parent.Pl_Way[0] % 2) == 0) ? 16 : -16) + _parent.pic_pl._x;
_y = _parent.pic_pl._y;
}
_parent.Pl_WepCtt[0]++;
}
return;
}
i++;
}
}
}
function BomBlast(x, y) {
var num = 2;
_parent.SndPlay(_parent.SND_S18, _parent.SND_END);
var i = 0;
while (i < _parent.Pl_WEPMAX) {
if (_parent.Pl_Wep_rCtt[i] > 0) {
} else {
if (num <= 0) {
return;
}
num--;
_parent.Pl_WepXadd[i] = 0;
_parent.Pl_WepYadd[i] = 0;
_parent.Pl_Wep_eFlg[i] = _parent.WEPTYPE_BLA;
_parent.Pl_Wep_rCtt[i] = _parent.Weapon_rCtt[_parent.WEPTYPE_BLA];
_parent.attachMovie("weapon_p80", "wep_pl" + i, _parent.DEPTH_PATT + i);
with (_parent["wep_pl" + i]) {
_x = x + ((rand(8) - 4) * 8);
_y = y + ((rand(8) - 4) * 8);
if (_x < _parent.L_END) {
_x = _parent.L_END;
}
if (_x > _parent.R_END) {
_x = _parent.R_END;
}
if (_y > _parent.D_END) {
_y = _parent.D_END;
}
}
_parent.Pl_WepCtt[0]++;
}
i++;
}
}
function CP_WeaponCheck(no) {
if (_parent.Cp_PatNo[i] != 6) {
if ((_parent.Cp_AtkCtt[no] + 2) == Math.floor(_parent.ATTPIC_CTT / 2)) {
CP_WeaponUse(no);
}
} else if (_parent.Cp_AtkCtt[no] == 1) {
CP_WeaponUse_AI3(no);
}
var i = 0;
while (i < _parent.Cp_WEPMAX) {
if (_parent["wep_cp" + ((_parent.Cp_WEPMAX * no) + i)] == null) {
} else {
with (_parent["wep_cp" + ((_parent.Cp_WEPMAX * no) + i)]) {
_x = _x + _parent.Cp_WepXadd[no][i];
_y = _y + _parent.Cp_WepYadd[no][i];
if ((((_x < _parent.L_END) || (_x > (_parent.R_END + 24))) || (_y < _parent.U_END)) || (_y > (_parent.D_END + 24))) {
removeMovieClip();
}
}
}
i++;
}
}
function CP_WeaponUse(no) {
if ((_parent.Cp_Status[no] != _parent.STATUS_NORMAL) || (_parent.pic_pl == null)) {
return(undefined);
}
var i = 0;
while (i < 3) {
if (_parent["wep_cp" + ((_parent.Cp_WEPMAX * no) + i)] != null) {
} else {
var ra = Math.atan2(_parent.pic_pl._x - _parent["pic_cp" + no]._x, _parent.pic_pl._y - _parent["pic_cp" + no]._y);
_parent.SndPlay(_parent.SND_S12, _parent.SND_END);
_parent.Cp_WepXadd[no][i] = Math.sin(ra) * 8;
_parent.Cp_WepYadd[no][i] = Math.cos(ra) * 8;
_parent.attachMovie("weapon_c90", "wep_cp" + ((_parent.Cp_WEPMAX * no) + i), _parent.DEPTH_CATT + ((_parent.Cp_WEPMAX * no) + i));
with (_parent["wep_cp" + ((_parent.Cp_WEPMAX * no) + i)]) {
_x = _parent["pic_cp" + no]._x + ((_parent["pic_cp" + no]._x < _parent.pic_pl._x) ? 16 : -16);
_y = _parent["pic_cp" + no]._y;
}
return(undefined);
}
i++;
}
}
function HitCheck() {
var _local2 = 0;
while (_local2 < _parent.CPU_MAX) {
var _local3 = 0;
while (_local3 < _parent.Cp_WEPMAX) {
if (_parent["wep_cp" + ((_local2 * _parent.Cp_WEPMAX) + _local3)] == null) {
} else {
if ((_parent.Pl_Status[0] == _parent.STATUS_NORMAL) && (_parent.pic_pl.hitTest(_parent["wep_cp" + ((_local2 * _parent.Cp_WEPMAX) + _local3)]))) {
_parent.Pl_Status[0] = _parent.STATUS_DEATH;
_parent.Pl_beCtt[0] = 30;
Control_Down("Pl_", 0);
_parent["wep_cp" + ((_local2 * _parent.Cp_WEPMAX) + _local3)].removeMovieClip();
}
var _local4 = 0;
while (_local4 < _parent.Pl_WEPMAX) {
if (_parent.Pl_Wep_rCtt[_local4] < 1) {
} else if (_parent["wep_pl" + _local4].hit.hitTest(_parent["wep_cp" + ((_local2 * _parent.Cp_WEPMAX) + _local3)])) {
_parent["wep_cp" + ((_local2 * _parent.Cp_WEPMAX) + _local3)].removeMovieClip();
if ((_parent.Pl_Wep_eFlg[_local4] == _parent.WEPTYPE_BOM) && (_parent.Pl_Wep_rCtt[_local4] != 1)) {
BomBlast(_parent["wep_pl" + _local4]._x, _parent["wep_pl" + _local4]._y);
}
if ((((_parent.Pl_Wep_eFlg[_local4] != _parent.WEPTYPE_ARW) && (_parent.Pl_Wep_eFlg[_local4] != _parent.WEPTYPE_ROL)) && (_parent.Pl_Wep_eFlg[_local4] != _parent.WEPTYPE_ALL)) && (_parent.Pl_Wep_eFlg[_local4] != _parent.WEPTYPE_BLA)) {
WeaponErase(_local4);
}
}
_local4++;
}
}
_local3++;
}
if ((_parent.Cp_beFlg[_local2] == 0) || (_parent.Pl_Status[0] == _parent.STATUS_DEATH)) {
} else {
_local3 = 0;
for ( ; _local3 < _parent.Pl_WEPMAX ; _local3++) {
if (_parent.Pl_Wep_rCtt[_local3] < 1) {
} else if ((_parent.Cp_ExFlg > 10) && (_parent["wep_pl" + _local3].hit.hitTest(_parent.EnemyEx.hit))) {
_parent.Cp_ExFlg = (_parent.Cp_ExFlg % 2) + 2;
_parent.Cp_ExCtt = 0;
if ((_parent.StageRaFlg % 3) == _parent.DIFFICULTY_EASY) {
ScoreSetEx(_parent.EnemyEx._x, _parent.EnemyEx._y);
} else if ((_parent.StageRaFlg % 3) == _parent.DIFFICULTY_NORMAL) {
ScoreSetEx(_parent.EnemyEx._x, _parent.EnemyEx._y);
} else if ((_parent.StageRaFlg % 3) == _parent.DIFFICULTY_HARD) {
ScoreSetEx(_parent.EnemyEx._x, _parent.EnemyEx._y);
}
if ((_parent.Pl_Wep_eFlg[_local3] == _parent.WEPTYPE_BOM) && (_parent.Pl_Wep_rCtt[_local3] != 1)) {
BomBlast(_parent["wep_pl" + _local3]._x, _parent["wep_pl" + _local3]._y);
}
if ((((_parent.Pl_Wep_eFlg[_local3] != _parent.WEPTYPE_ARW) && (_parent.Pl_Wep_eFlg[_local3] != _parent.WEPTYPE_ROL)) && (_parent.Pl_Wep_eFlg[_local3] != _parent.WEPTYPE_ALL)) && (_parent.Pl_Wep_eFlg[_local3] != _parent.WEPTYPE_BLA)) {
WeaponErase(_local3);
continue;
}
} else if ((_parent["pic_cp" + _local2]._y > (_parent.U_END + 32)) && (_parent.Cp_Status[_local2] != _parent.STATUS_DEATH)) {
if (((_parent.Cp_PatNo[_local2] == 6) && (_parent["wep_pl" + _local3].hit.hitTest(_parent["pic_cp" + _local2].hit))) || ((_parent.Cp_PatNo[_local2] <= 5) && (_parent["wep_pl" + _local3].hit.hitTest(_parent["pic_cp" + _local2])))) {
_parent.Cp_Status[_local2] = _parent.STATUS_DEATH;
_parent.Cp_beCtt[_local2] = 30;
if (_parent.Cp_PatNo[_local2] != 6) {
Control_Down("Cp_", _local2);
} else {
_parent.SndPlay(_parent.SND_S22, _parent.SND_END);
}
if ((_parent.StageRaFlg % 3) == _parent.DIFFICULTY_EASY) {
ScoreSet(100 * (_parent.Cp_PatNo[_local2] + 1), _parent["pic_cp" + _local2]._x, _parent["pic_cp" + _local2]._y);
} else if ((_parent.StageRaFlg % 3) == _parent.DIFFICULTY_NORMAL) {
ScoreSet(120 * (_parent.Cp_PatNo[_local2] + 1), _parent["pic_cp" + _local2]._x, _parent["pic_cp" + _local2]._y);
} else if ((_parent.StageRaFlg % 3) == _parent.DIFFICULTY_HARD) {
ScoreSet(150 * (_parent.Cp_PatNo[_local2] + 1), _parent["pic_cp" + _local2]._x, _parent["pic_cp" + _local2]._y);
}
if ((_parent.Pl_Wep_eFlg[_local3] == _parent.WEPTYPE_BOM) && (_parent.Pl_Wep_rCtt[_local3] != 1)) {
BomBlast(_parent["wep_pl" + _local3]._x, _parent["wep_pl" + _local3]._y);
}
if ((((_parent.Pl_Wep_eFlg[_local3] != _parent.WEPTYPE_ARW) && (_parent.Pl_Wep_eFlg[_local3] != _parent.WEPTYPE_ROL)) && (_parent.Pl_Wep_eFlg[_local3] != _parent.WEPTYPE_ALL)) && (_parent.Pl_Wep_eFlg[_local3] != _parent.WEPTYPE_BLA)) {
WeaponErase(_local3);
}
}
}
}
if (((_parent.Cp_Status[_local2] == _parent.STATUS_NORMAL) || (_parent.Cp_Status[_local2] == _parent.STATUS_START)) && (_parent.Pl_Status[0] == _parent.STATUS_NORMAL)) {
if (((_parent.Cp_PatNo[_local2] == 6) && (_parent.pic_pl.hitTest(_parent["pic_cp" + _local2].hit))) || ((_parent.Cp_PatNo[_local2] <= 5) && (_parent.pic_pl.hitTest(_parent["pic_cp" + _local2])))) {
_parent.Pl_Status[0] = _parent.STATUS_DEATH;
_parent.Pl_beCtt[0] = 30;
Control_Down("Pl_", 0);
}
}
}
_local2++;
}
}
function Control_Right(name, no) {
_parent[name + "Xadd1"][no] = _parent[name + "MOVE_SPEED_X"];
_parent[name + "Xadd2"][no] = -_parent[name + "MOVE_SPEED_X"];
if ((_parent[name + "Way"][no] % 2) == 1) {
_parent[name + "Way"][no]--;
}
}
function Control_Left(name, no) {
_parent[name + "Xadd1"][no] = -_parent[name + "MOVE_SPEED_X"];
_parent[name + "Xadd2"][no] = _parent[name + "MOVE_SPEED_X"];
if ((_parent[name + "Way"][no] % 2) == 0) {
_parent[name + "Way"][no]++;
}
}
function Control_Jump(name, no) {
if (_parent[name + "Jump"][no] != 0) {
return(undefined);
}
if (name == "Pl_") {
_parent.SndPlay(_parent.SND_S07, _parent.SND_END);
} else {
_parent.SndPlay(_parent.SND_S08, _parent.SND_END);
}
_parent[name + "Jump"][no] = 1;
_parent[name + "Yadd1"][no] = 140;
_parent[name + "Yadd2"][no] = 1;
_parent[name + "Yadd3"][no] = _parent[name + "MOVE_COUNT_Y"];
_parent[name + "Way"][no] = (_parent[name + "Way"][no] % 2) + 2;
}
function Control_Down(name, no) {
if (_parent[name + "Jump"][no] == 2) {
return(undefined);
}
if (name == "Pl_") {
_parent.SndPlay(_parent.SND_S21, _parent.SND_END);
} else {
_parent.SndPlay(_parent.SND_S22, _parent.SND_END);
}
_parent[name + "Jump"][no] = 2;
_parent[name + "Xadd1"][no] = (((_parent[name + "Way"][no] % 2) == 0) ? -6 : 6);
_parent[name + "Xadd2"][no] = 0;
if (name == "Pl_") {
_parent[name + "Yadd1"][no] = (_parent.D_END - _parent.pic_pl._y) + 16;
} else {
_parent[name + "Yadd1"][no] = (_parent.D_END - _parent["pic_cp" + no]._y) + 16;
}
_parent[name + "Yadd3"][no] = (Math.floor(_parent[name + "Yadd1"][no] / 16) * 2) + 4;
_parent[name + "Yadd2"][no] = (_parent[name + "Yadd3"][no] / 2) - 2;
_parent[name + "Way"][no] = (_parent[name + "Way"][no] % 2) + 4;
}
function ItemSet(x, y) {
_parent.KillCount++;
if (_parent.KillCount > _parent.KILL_COUNTMAX) {
_parent.SndPlay(_parent.SND_S09, _parent.SND_END);
_parent.KillCount = 0;
_parent.FallItem = rand(_parent.WEPTYPE_BOM) + 1;
_parent.attachMovie("fall_item", "f_item", _parent.DEPTH_ITEM);
with (_parent.f_item) {
_x = x;
_y = y - 2;
}
_parent.itMov_addY = -13.8;
_parent.itMov_Ctt = 120;
}
}
function ItemMov() {
if (_parent.FallItem == 0) {
return(undefined);
}
_parent.itMov_Ctt--;
with (_parent.f_item) {
if (_y <= (_parent.D_END - 2)) {
_parent.itMov_addY = _parent.itMov_addY + 4.6;
_y = _y + _parent.itMov_addY;
if (_y > (_parent.D_END - 2)) {
_y = _parent.D_END;
}
}
if (((_y == _parent.D_END) && (_parent.pic_pl.hitTest(_parent.f_item))) && (_parent.Pl_Status[0] != _parent.STATUS_DEATH)) {
if (_parent.FallItem == _parent.WEPTYPE_SPD) {
_parent.SndPlay(_parent.SND_S20, _parent.SND_END);
} else {
_parent.SndPlay(_parent.SND_S10, _parent.SND_END);
}
removeMovieClip();
_parent.Pl_WepEq[0] = _parent.FallItem;
_parent.Pl_WepUse[0] = _parent.Weapon_rUse[_parent.Pl_WepEq[0]];
_parent.FallItem = 0;
return(undefined);
}
if ((_parent.itMov_Ctt <= 60) && (_parent.itMov_Ctt > 30)) {
if ((_parent.itMov_Ctt % 6) < 4) {
_alpha = 80;
} else {
_alpha = 20;
}
} else if (_parent.itMov_Ctt <= 30) {
if ((_parent.itMov_Ctt % 4) < 3) {
_alpha = 60;
} else {
_alpha = 10;
}
}
if (_parent.itMov_Ctt <= 0) {
removeMovieClip();
_parent.FallItem = 0;
}
}
}
function Enemy_AI_0(no) {
if (_parent["pic_cp" + no]._x <= (_parent.L_END + 2)) {
_parent.Cp_beAct[no] = _parent.CPUCONT_R;
}
if (_parent["pic_cp" + no]._x >= (_parent.R_END - 2)) {
_parent.Cp_beAct[no] = _parent.CPUCONT_L;
}
_parent.Cp_beCtt[no]--;
if (0 >= _parent.Cp_beCtt[no]) {
if (_parent.Cp_PatNo[no] == 1) {
_parent.Cp_AtkCtt[no] = _parent.ATTPIC_CTT;
}
_parent.Cp_beCtt[no] = _parent.CpuAct[_parent.Cp_PatNo[no]];
if ((_parent.Cp_beAct[no] == _parent.CPUCONT_L) || (_parent.Cp_beAct[no] == _parent.CPUCONT_R)) {
_parent.Cp_beAct[no] = _parent.Cp_beAct[no] + 2;
}
}
}
function Enemy_AI_1(no) {
if (_parent.Cp_beCtt[no] <= 20) {
_parent.Cp_beAct[no] = 0;
} else {
if (_parent["pic_cp" + no]._x <= (_parent.L_END + 2)) {
_parent.Cp_beAct[no] = _parent.CPUCONT_R;
}
if (_parent["pic_cp" + no]._x >= (_parent.R_END - 2)) {
_parent.Cp_beAct[no] = _parent.CPUCONT_L;
}
}
if (_parent.Cp_beCtt[no] == 20) {
_parent.Cp_AtkCtt[no] = _parent.ATTPIC_CTT;
}
if (_parent.Cp_beCtt[no] == 14) {
_parent.Cp_AtkCtt[no] = _parent.ATTPIC_CTT;
}
if (_parent.Cp_beCtt[no] == 8) {
_parent.Cp_AtkCtt[no] = _parent.ATTPIC_CTT;
}
_parent.Cp_beCtt[no]--;
if (_parent.Cp_AtkCtt[no] > 0) {
_parent.Cp_Way[no] = ((_parent["pic_cp" + no]._x < _parent.pic_pl._x) ? 0 : 1);
}
if (0 >= _parent.Cp_beCtt[no]) {
_parent.Cp_beCtt[no] = _parent.CpuAct[_parent.Cp_PatNo[no]];
_parent.Cp_beAct[no] = ((_parent.Cp_Way[no] == 0) ? (_parent.CPUCONT_R) : (_parent.CPUCONT_L));
}
}
function Enemy_AI_2(no) {
if ((_parent.Cp_beAct[no] == _parent.CPUCONT_R) || (_parent.Cp_beAct[no] == _parent.CPUCONT_L)) {
_parent.Cp_beAct[no] = _parent.Cp_beAct[no] + 2;
}
if (_parent["pic_cp" + no]._x <= (_parent.L_END + 2)) {
_parent.Cp_beAct[no] = _parent.CPUCONT_JR;
}
if (_parent["pic_cp" + no]._x >= (_parent.R_END - 2)) {
_parent.Cp_beAct[no] = _parent.CPUCONT_JL;
}
}
function Player_Reset() {
if (_parent.pic_pl == null) {
_parent.attachMovie("ninja_p", "pic_pl", _parent.DEPTH_PLAYER);
}
with (_parent.pic_pl) {
gotoAndPlay("r_wait");
_x = _parent.L_END - 32;
_y = _parent.D_END;
_alpha = 100;
_width = 32;
_height = 32;
}
_parent.KillCount = 0;
_parent.Cp_ExAdd = 0;
_parent.Pl_AtkCtt[0] = 0;
_parent.Pl_life--;
if (_parent.Pl_life < 0) {
_parent.SndStop(_parent.SND_B04);
_parent.SndPlay(_parent.SND_B09, _parent.SND_END);
_parent.CompleteFlg = 0;
_parent.GOverFlg = 100;
_parent.KeyCount = 0;
_parent.SndStop(_parent.SND_S14);
_parent.SndStop(_parent.SND_S16);
_parent.pic_pl.removeMovieClip();
}
_parent.Pl_Status[0] = _parent.STATUS_START;
_parent.Pl_Jump[0] = 9;
_parent.Pl_beCtt[0] = 70;
_parent.Pl_Way[0] = 0;
_parent.Pl_Xadd1[0] = 0;
_parent.Pl_Xadd2[0] = 0;
_parent.Pl_Yadd1[0] = 0;
_parent.Pl_Yadd2[0] = 0;
_parent.Pl_Yadd3[0] = 0;
_parent.Pl_WepUse[0] = 0;
_parent.Pl_WepEq[0] = _parent.WEPTYPE_NOR;
_parent.Pl_WepCtt[0] = 0;
_parent.SndStop(_parent.SND_S14);
_parent.SndStop(_parent.SND_S16);
var i = 0;
while (i < _parent.Pl_WEPMAX) {
if (_parent["wep_pl" + i] != null) {
_parent["wep_pl" + i].removeMovieClip();
}
_parent.Pl_WepXadd[i] = 0;
_parent.Pl_WepYadd[i] = 0;
_parent.Pl_Wep_rCtt[i] = 0;
i++;
}
}
function Player_Start() {
if (_parent.Pl_Status[0] != _parent.STATUS_START) {
return(undefined);
}
if (_parent.pic_pl_y > _parent.D_END) {
_parent.pic_pl._y = _parent.D_END;
}
if ((_parent.pic_pl._y >= _parent.D_END) && (_parent.Pl_Jump[0] != 9)) {
_parent.Pl_Xadd1[0] = 0;
_parent.Pl_Xadd2[0] = 0;
_parent.Pl_Yadd1[0] = 0;
_parent.Pl_Yadd2[0] = 0;
_parent.Pl_Yadd3[0] = 0;
_parent.Pl_Jump[0] = 0;
_parent.SndPlay(_parent.SND_S05, _parent.SND_END);
_parent.Pl_Status[0] = _parent.STATUS_INVICI;
if (_parent.Pl_Way[0] < 4) {
_parent.Pl_Way[0] = _parent.Pl_Way[0] % 2;
}
return(undefined);
}
Control_Right("Pl_", 0);
if (_parent.Pl_Jump[0] == 9) {
_parent.Pl_Jump[0] = 0;
Control_Jump("Pl_", 0);
}
}
function ScoreSet(score, x, y) {
var i = 0;
while (i < 9) {
if (!(_parent.Sc_pCtt1 & (1 << i))) {
_parent.ScoreSet[i] = score;
_parent.attachMovie("all_num", "num_a" + i, _parent.DEPTH_SCORE + (i * 10));
with (_parent["num_a" + i]) {
if (x < 8) {
_x = x + 8;
} else {
_x = x;
}
_y = y;
}
_parent.Sc_pCtt1 = _parent.Sc_pCtt1 + (1 << i);
return;
}
i++;
}
}
function ScoreSetEx(x, y) {
_parent.attachMovie("all_numEx", "num_aEx", _parent.DEPTH_SCOREX);
with (_parent.num_aEx) {
_x = 132;
_y = 160;
}
}
function GameStageSet() {
if ((_parent.StageRaFlg % 3) == _parent.DIFFICULTY_EASY) {
nam = "_E";
}
if ((_parent.StageRaFlg % 3) == _parent.DIFFICULTY_NORMAL) {
nam = "_N";
}
if ((_parent.StageRaFlg % 3) == _parent.DIFFICULTY_HARD) {
nam = "_H";
}
var _local2 = 0;
while (_local2 < 50) {
if (_local2 < _parent["StSub" + nam][0]) {
_parent.GameStage[_local2] = _local2;
} else {
st = _parent["StSub" + nam][Math.floor(_local2 / 10) * 2] + rand(_parent["StSub" + nam][(Math.floor(_local2 / 10) * 2) + 1]);
if ((rand(2) == 0) && (_parent["StSet" + nam][st][0] == 1)) {
st = st * -1;
}
var _local4 = 0;
var _local3 = _local2 - 1;
while (_local3 >= 0) {
if (_parent.GameStage[_local3] == st) {
_local2--;
_local4 = 1;
break;
}
_local3--;
}
if (_local4 == 0) {
_parent.GameStage[_local2] = st;
}
}
_local2++;
}
}
function StageNext() {
var _local3 = 0;
var _local2 = 0;
while (_local2 < _parent.CPU_MAX) {
if (_parent.Cp_beFlg[_local2] != 0) {
_local3 = 1;
}
_local2++;
}
if (_local3 == 0) {
_parent.NowStage++;
if (_parent.NowStage >= _parent.STAGE_MAX) {
_parent.SndStop(_parent.SND_B04);
_parent.SndPlay(_parent.SND_B11, _parent.SND_END);
_parent.CompleteFlg = 1;
_parent.GOverFlg = 100;
_parent.SndStop(_parent.SND_S14);
_parent.SndStop(_parent.SND_S16);
_parent.KeyCount = 0;
} else {
_parent.SndPlay(_parent.SND_S25, _parent.SND_END);
StageSetting();
if (_parent.NowStage < (_parent.STAGE_MAX - 1)) {
ExtraEnemy_Entry();
}
}
}
}
function StageSetting() {
var nwflg = [0, 0, 0, 0];
if (_parent.num_a0.sCtt != null) {
_parent.num_a0.sCtt = 3;
}
_parent.status.level_pic.gotoAndPlay(1);
if ((_parent.StageRaFlg % 3) == _parent.DIFFICULTY_EASY) {
nam = "_E";
}
if ((_parent.StageRaFlg % 3) == _parent.DIFFICULTY_NORMAL) {
nam = "_N";
}
if ((_parent.StageRaFlg % 3) == _parent.DIFFICULTY_HARD) {
nam = "_H";
}
if (_parent.GameStage[_parent.NowStage] >= 0) {
var i = 0;
while (i < _parent.CPU_MAX) {
_parent.GamePlay[(i * 3) + 0] = _parent["StSet" + nam][_parent.GameStage[_parent.NowStage]][(i * 3) + 1];
_parent.GamePlay[(i * 3) + 1] = _parent["StSet" + nam][_parent.GameStage[_parent.NowStage]][(i * 3) + 2];
_parent.GamePlay[(i * 3) + 2] = _parent["StSet" + nam][_parent.GameStage[_parent.NowStage]][(i * 3) + 3];
i++;
}
} else {
var i = 0;
while (i < _parent.CPU_MAX) {
_parent.GamePlay[(i * 3) + 0] = _parent["StSet" + nam][-_parent.GameStage[_parent.NowStage]][(i * 3) + 1];
_parent.GamePlay[(i * 3) + 1] = (7 + _parent["StSet" + nam][-_parent.GameStage[_parent.NowStage]][(i * 3) + 2]) % 14;
_parent.GamePlay[(i * 3) + 2] = _parent["StSet" + nam][-_parent.GameStage[_parent.NowStage]][(i * 3) + 3];
i++;
}
}
if (((_parent.StageRaFlg == _parent.DIFFICULTY_NORMAL) && (_parent.NowStage >= 30)) || ((_parent.NowStage >= _parent.StSub_H[0]) && (_parent.StageRaFlg == _parent.DIFFICULTY_HARD))) {
if (rand(2) == 0) {
nwflg[rand(4)] = 1;
}
}
if (((_parent.StageRaFlg == _parent.DIFFICULTY_NORMAL) && (_parent.NowStage >= 40)) || ((_parent.NowStage >= _parent.StSub_H[0]) && (_parent.StageRaFlg == _parent.DIFFICULTY_HARD))) {
if (rand(5) == 0) {
nwflg[rand(4)] = 1;
}
}
var i = 0;
while (i < _parent.CPU_MAX) {
if (_parent.GamePlay[(i * 3) + 0] == -1) {
_parent.Cp_beFlg[i] = 0;
_parent.Cp_Status[i] = _parent.STATUS_DEATH;
} else {
_parent.Cp_PatNo[i] = _parent.GamePlay[(i * 3) + 0];
_parent.Cp_beFlg[i] = 1;
_parent.Cp_Status[i] = _parent.STATUS_START;
_parent.Cp_beCtt[i] = _parent.GamePlay[(i * 3) + 2];
_parent.Cp_AtkCtt[i] = 0;
_parent.Cp_Jump[i] = 0;
_parent.Cp_Way[i] = 0;
if (_parent.GamePlay[(i * 3) + 1] == 13) {
_parent.Cp_Way[i] = 1;
}
_parent.Cp_Xadd1[i] = 0;
_parent.Cp_Xadd2[i] = 0;
_parent.Cp_Yadd1[i] = 0;
_parent.Cp_Yadd2[i] = 0;
_parent.Cp_Yadd3[i] = 0;
if ((nwflg[i] == 1) && (_parent.Cp_PatNo[i] != 6)) {
_parent.attachMovie("ninja_e9", "pic_cp" + i, _parent.DEPTH_CPU + i);
} else {
_parent.attachMovie("ninja_e" + _parent.Cp_PatNo[i], "pic_cp" + i, _parent.DEPTH_CPU + i);
}
with (_parent["pic_cp" + i]) {
gotoAndPlay("r_wait");
_alpha = 100;
if (_parent.Cp_PatNo[i] == 6) {
_width = 48;
_height = 48;
} else {
_width = 32;
_height = 32;
}
if (_parent.GamePlay[(i * 3) + 1] <= 2) {
_x = _parent.L_END - (_parent.Pl_PICSIZE * 2);
_y = _parent.U_END;
} else if ((_parent.GamePlay[(i * 3) + 1] >= 7) && (_parent.GamePlay[(i * 3) + 1] <= 9)) {
_x = _parent.R_END + (_parent.Pl_PICSIZE * 2);
_y = _parent.U_END;
} else if ((_parent.GamePlay[(i * 3) + 1] >= 3) && (_parent.GamePlay[(i * 3) + 1] <= 5)) {
_x = _parent.L_END - (_parent.Pl_PICSIZE * (14 - _parent.GamePlay[(i * 3) + 1]));
_y = _parent.D_END;
} else if ((_parent.GamePlay[(i * 3) + 1] >= 10) && (_parent.GamePlay[(i * 3) + 1] <= 12)) {
_x = _parent.R_END + (_parent.Pl_PICSIZE * (21 - _parent.GamePlay[(i * 3) + 1]));
_y = _parent.D_END;
} else if (_parent.GamePlay[(i * 3) + 1] == 6) {
_x = (_parent.L_END - _width) - 24;
_y = 160;
} else if (_parent.GamePlay[(i * 3) + 1] == 13) {
_x = (_parent.R_END + 32) + 24;
_y = 160;
}
}
}
i++;
}
}
function Enemy_Start(no) {
if (_parent.Cp_beCtt[no] == -1) {
if (_parent["pic_cp" + no]._y >= _parent.D_END) {
_parent.SndPlay(_parent.SND_S06, _parent.SND_END);
_parent["pic_cp" + no]._y = _parent.D_END;
_parent.Cp_Xadd1[no] = 0;
_parent.Cp_Xadd2[no] = 0;
_parent.Cp_Yadd1[no] = 0;
_parent.Cp_Yadd2[no] = 0;
_parent.Cp_Yadd3[no] = 0;
_parent.Cp_Jump[no] = 0;
if (_parent.Cp_Way[no] < 4) {
_parent.Cp_Way[no] = _parent.Cp_Way[no] % 2;
}
_parent.Cp_beCtt[no] = 25;
_parent.Cp_beAct[no] = ((_parent["pic_cp" + no]._x > _parent.pic_pl._x) ? (_parent.CPUCONT_L) : (_parent.CPUCONT_R));
_parent.Cp_Status[no] = _parent.STATUS_NORMAL;
}
return(undefined);
}
if (_parent.GamePlay[(no * 3) + 1] <= 2) {
if (_parent.Cp_beCtt[no] > 0) {
_parent.Cp_beCtt[no]--;
}
if (_parent.Cp_beCtt[no] < -1) {
_parent.Cp_beCtt[no]++;
}
if (_parent.Cp_beCtt[no] == 0) {
if ((_parent.Pl_PICSIZE * _parent.GamePlay[(no * 3) + 1]) <= _parent["pic_cp" + no]._x) {
_parent.Cp_beCtt[no] = -10;
} else {
_parent.Cp_Xadd1[no] = 6.4;
_parent.Cp_Xadd2[no] = -6.4;
_parent.Cp_Way[no] = 0;
}
} else if (_parent.Cp_beCtt[no] == -1) {
_parent.Cp_Jump[no] = 3;
_parent.Cp_Yadd1[no] = _parent.D_END - _parent["pic_cp" + no]._y;
_parent.Cp_Yadd2[no] = _parent.Cp_MOVE_COUNT_Y;
_parent.Cp_Yadd3[no] = _parent.Cp_MOVE_COUNT_Y * 2;
_parent.Cp_Way[no] = _parent.Cp_Way[no] + 2;
}
} else if ((_parent.GamePlay[(no * 3) + 1] >= 7) && ((_parent.GamePlay[(no * 3) + 1] % 7) <= 2)) {
if (_parent.Cp_beCtt[no] > 0) {
_parent.Cp_beCtt[no]--;
}
if (_parent.Cp_beCtt[no] < -1) {
_parent.Cp_beCtt[no]++;
}
if (_parent.Cp_beCtt[no] == 0) {
if ((_parent.R_END - (_parent.Pl_PICSIZE * (_parent.GamePlay[(no * 3) + 1] % 7))) >= _parent["pic_cp" + no]._x) {
_parent.Cp_beCtt[no] = -10;
} else {
_parent.Cp_Xadd1[no] = -6.4;
_parent.Cp_Xadd2[no] = 6.4;
_parent.Cp_Way[no] = 1;
}
} else if (_parent.Cp_beCtt[no] == -1) {
_parent.Cp_Jump[no] = 3;
_parent.Cp_Yadd1[no] = _parent.D_END - _parent["pic_cp" + no]._y;
_parent.Cp_Yadd2[no] = _parent.Cp_MOVE_COUNT_Y;
_parent.Cp_Yadd3[no] = _parent.Cp_MOVE_COUNT_Y * 2;
_parent.Cp_Way[no] = _parent.Cp_Way[no] + 2;
}
} else if (((_parent.GamePlay[(no * 3) + 1] % 7) >= 3) && ((_parent.GamePlay[(no * 3) + 1] % 7) <= 5)) {
if (_parent.Cp_beCtt[no] > 0) {
_parent.Cp_beCtt[no]--;
}
if (_parent.Cp_beCtt[no] == 0) {
_parent.Cp_beCtt[no] = -1;
_parent.Cp_Xadd1[no] = ((_parent.GamePlay[(no * 3) + 1] < 7) ? 16 : -16);
_parent.Cp_Xadd2[no] = 0;
_parent.Cp_Jump[no] = 3;
_parent.Cp_Yadd1[no] = _parent.D_END - _parent.Pl_PICSIZE;
_parent.Cp_Yadd2[no] = 1;
_parent.Cp_Yadd3[no] = 36;
_parent.Cp_Way[no] = ((_parent.GamePlay[(no * 3) + 1] < 7) ? 2 : 3);
}
} else if ((_parent.GamePlay[(no * 3) + 1] % 7) == 6) {
if (_parent.Cp_beCtt[no] > 0) {
_parent.Cp_beCtt[no]--;
}
if (_parent.Cp_beCtt[no] == 0) {
_parent.Cp_beAct[no] = -1;
_parent.Cp_AtkCtt[no] = 0;
_parent.Cp_Status[no] = _parent.STATUS_NORMAL;
}
}
}
function CharacterPict(pname, name, no) {
if (_parent[pname] == null) {
return(undefined);
}
var fr = 0;
with (_parent[pname]) {
if (((_parent[name + "Status"][no] == _parent.STATUS_NORMAL) || (_parent[name + "Status"][no] == _parent.STATUS_INVICI)) && (_parent[name + "AtkCtt"][no] > 0)) {
_parent[name + "AtkCtt"][no]--;
if ((_parent[name + "Yadd1"][no] == 0) && (_parent[name + "Yadd2"][no] == 0)) {
if ((_parent[name + "Way"][no] % 2) == 1) {
if (l_jump_d_attack != null) {
fr = l_jump_d_attack._currentframe;
}
if (r_attack != null) {
fr = r_attack._currentframe;
}
gotoAndPlay("l_attack");
if (fr > 0) {
l_attack.gotoAndPlay(fr);
}
} else {
if (r_jump_d_attack != null) {
fr = r_jump_d_attack._currentframe;
}
if (l_attack != null) {
fr = l_attack._currentframe;
}
gotoAndPlay("r_attack");
if (fr > 0) {
r_attack.gotoAndPlay(fr);
}
}
} else if (_parent[name + "Yadd1"][no] < 0) {
if ((_parent[name + "Way"][no] % 2) == 1) {
if (l_attack != null) {
fr = l_attack._currentframe;
}
if (r_jump_u_attack != null) {
fr = r_jump_u_attack._currentframe;
}
gotoAndPlay("l_jump_u_attack");
if (fr > 0) {
l_jump_u_attack.gotoAndPlay(fr);
}
} else {
if (r_attack != null) {
fr = r_attack._currentframe;
}
if (l_jump_u_attack != null) {
fr = l_jump_u_attack._currentframe;
}
gotoAndPlay("r_jump_u_attack");
if (fr > 0) {
r_jump_u_attack.gotoAndPlay(fr);
}
}
} else if ((_parent[name + "Way"][no] % 2) == 1) {
if (l_jump_u_attack != null) {
fr = l_jump_u_attack._currentframe;
}
if (r_jump_d_attack != null) {
fr = r_jump_d_attack._currentframe;
}
gotoAndPlay("l_jump_d_attack");
if (fr > 0) {
l_jump_d_attack.gotoAndPlay(fr);
}
} else {
if (r_jump_u_attack != null) {
fr = r_jump_u_attack._currentframe;
}
if (l_jump_d_attack != null) {
fr = l_jump_d_attack._currentframe;
}
gotoAndPlay("r_jump_d_attack");
if (fr > 0) {
r_jump_d_attack.gotoAndPlay(fr);
}
}
return(undefined);
}
if (_parent[name + "Status"][no] == _parent.STATUS_DEATH) {
if (_parent[name + "Yadd2"][no] == 0) {
if ((_parent[name + "Way"][no] % 2) == 1) {
gotoAndPlay("l_down02");
} else {
gotoAndPlay("r_down02");
}
} else if ((_parent[name + "Way"][no] % 2) == 1) {
gotoAndPlay("l_down01");
} else {
gotoAndPlay("r_down01");
}
} else if ((_parent[name + "Xadd1"][no] == 0) && (_parent[name + "Yadd2"][no] == 0)) {
if ((_parent[name + "Way"][no] % 2) == 1) {
gotoAndPlay("l_wait");
} else {
gotoAndPlay("r_wait");
}
} else if ((_parent[name + "Xadd1"][no] != 0) && (_parent[name + "Yadd2"][no] == 0)) {
if ((_parent[name + "Way"][no] % 2) == 1) {
gotoAndPlay("l_walk");
} else {
gotoAndPlay("r_walk");
}
} else if (_parent[name + "Yadd3"][no] == _parent[name + "Yadd2"][no]) {
if ((_parent[name + "Way"][no] % 2) == 1) {
gotoAndPlay("l_land");
} else {
gotoAndPlay("r_land");
}
} else if ((_parent[name + "Yadd3"][no] / 2) > _parent[name + "Yadd2"][no]) {
if ((_parent[name + "Way"][no] % 2) == 1) {
gotoAndPlay("l_jump_u");
} else {
gotoAndPlay("r_jump_u");
}
} else if ((_parent[name + "Yadd3"][no] / 2) == _parent[name + "Yadd2"][no]) {
if ((_parent[name + "Way"][no] % 2) == 1) {
gotoAndPlay("l_sky");
} else {
gotoAndPlay("r_sky");
}
} else if ((_parent[name + "Yadd3"][no] / 2) < _parent[name + "Yadd2"][no]) {
if ((_parent[name + "Way"][no] % 2) == 1) {
gotoAndPlay("l_jump_d");
} else {
gotoAndPlay("r_jump_d");
}
}
}
}
function ExtraEnemy_Entry() {
if ((_parent.Cp_ExAdd > _parent.EXCPU_CTT) && (_parent.Cp_ExFlg == 0)) {
_parent.Cp_ExAdd = 0;
_parent.Cp_ExFlg = 11;
_parent.Cp_ExCtt = 0;
_parent.attachMovie("ninja_ex", "EnemyEx", _parent.DEPTH_CPUEX);
with (_parent.EnemyEx) {
_x = _parent.R_END + 32;
_y = (_parent.Pl_PICSIZE * 4) - 30;
_width = 48;
_height = 48;
}
}
}
function ExtraEnemy_Move() {
if (_parent.Cp_ExFlg == 0) {
return(undefined);
}
if (_parent.Cp_ExFlg < 10) {
if (_parent.Cp_ExCtt == 0) {
_parent.SndPlay(_parent.SND_S22, _parent.SND_END);
}
_parent.Cp_ExCtt++;
if (_parent.Cp_ExCtt > 20) {
_parent.Cp_ExCtt = 0;
_parent.Cp_ExFlg = 0;
_parent.EnemyEx.removeMovieClip();
}
return(undefined);
}
_parent.Cp_ExCtt++;
if ((_parent.Cp_ExFlg == 13) && (_parent.EnemyEx._x <= _parent.Pl_PICSIZE)) {
_parent.EnemyEx._x = _parent.EnemyEx._x - 8;
if (_parent.EnemyEx._x <= ((-_parent.Pl_PICSIZE) * 2)) {
_parent.EnemyEx.removeMovieClip();
_parent.Cp_ExCtt = 0;
_parent.Cp_ExFlg = 0;
}
} else {
if ((_parent.Cp_ExCtt >= 0) && (30 > _parent.Cp_ExCtt)) {
_parent.Cp_ExFlg = 11;
_parent.EnemyEx._x = _parent.EnemyEx._x - 2;
} else {
if ((_parent.Cp_ExFlg % 2) == 0) {
_parent.EnemyEx._x = _parent.EnemyEx._x + 4;
} else {
_parent.EnemyEx._x = _parent.EnemyEx._x - 4;
}
_parent.EnemyEx._y = ((Math.sin(((_parent.Cp_ExCtt + 15) * 4) * (Math.PI/180)) * 60) - 30) + (_parent.Pl_PICSIZE * 4);
}
if ((((_parent.Cp_ExFlg % 2) == 1) && (_parent.EnemyEx._x <= ((-_parent.Pl_PICSIZE) * 2))) || (((_parent.Cp_ExFlg % 2) == 0) && (_parent.EnemyEx._x >= (_parent.R_END + (_parent.Pl_PICSIZE * 2))))) {
_parent.Cp_ExFlg++;
}
}
}
function ExtraEnemy_Pict() {
if (_parent.Cp_ExFlg == 0) {
return(undefined);
}
with (_parent.EnemyEx) {
if ((_parent.Cp_ExFlg > 10) && ((_parent.Cp_ExFlg % 2) == 1)) {
gotoAndPlay("l_flying");
} else if ((_parent.Cp_ExFlg > 10) && ((_parent.Cp_ExFlg % 2) == 0)) {
gotoAndPlay("r_flying");
} else if (_parent.Cp_ExFlg == 3) {
gotoAndPlay("l_down");
} else if (_parent.Cp_ExFlg == 2) {
gotoAndPlay("r_down");
}
}
}
function Enemy_AI_3(no) {
if (_parent["pic_cp" + no]._x <= ((-_parent["pic_cp" + no]._width) - 32)) {
_parent.Cp_Way[no] = 0;
}
if (_parent["pic_cp" + no]._x >= (320 + _parent["pic_cp" + no]._width)) {
_parent.Cp_Way[no] = 1;
}
if (_parent.Cp_Way[no] == 0) {
_parent.Cp_Xadd1[no] = 3;
_parent.Cp_Xadd2[no] = -3;
} else if (_parent.Cp_Way[no] == 1) {
_parent.Cp_Xadd1[no] = -3;
_parent.Cp_Xadd2[no] = 3;
}
if (_parent.Cp_Yadd2[no] == _parent.Cp_Yadd3[no]) {
if (_parent.Cp_Jump[no] == -2) {
_parent.Cp_Jump[no] = -1;
_parent.Cp_Yadd1[no] = 32;
_parent.Cp_Yadd3[no] = 40;
_parent.Cp_Yadd2[no] = 0;
} else {
_parent.Cp_Jump[no] = -2;
_parent.Cp_Yadd1[no] = -64;
_parent.Cp_Yadd3[no] = 40;
_parent.Cp_Yadd2[no] = 0;
}
}
if (_parent.Cp_Yadd2[no] != _parent.Cp_Yadd3[no]) {
nnum = 160 - (cSin(_parent.Cp_Yadd2[no] * (180 / _parent.Cp_Yadd3[no])) * _parent.Cp_Yadd1[no]);
_parent["pic_cp" + no]._y = nnum;
_parent.Cp_Yadd2[no]++;
}
if (_parent.Cp_AtkCtt[no] > 0) {
_parent.Cp_AtkCtt[no]++;
if (_parent.Cp_AtkCtt[no] >= 8) {
_parent.Cp_AtkCtt[no] = 0;
}
}
_parent.Cp_beCtt[no]++;
if (_parent.Cp_beCtt[no] == 20) {
_parent.Cp_beAct[no] = 42 + rand(9);
}
if (_parent.Cp_beCtt[no] == _parent.Cp_beAct[no]) {
_parent.Cp_AtkCtt[no] = 1;
_parent.Cp_beAct[no] = _parent.Cp_beAct[no] + (10 + rand(9));
if (_parent.Cp_beAct[no] >= 60) {
_parent.Cp_beAct[no] = -1;
}
}
if (_parent.Cp_beCtt[no] >= 80) {
_parent.Cp_beCtt[no] = 0;
_parent.Cp_beAct[no] = -1;
}
}
function CharacterPict_AI3(no) {
if (_parent["pic_cp" + no] == null) {
return(undefined);
}
var rl = ((_parent.Cp_Way[no] == 0) ? "r_" : "l_");
with (_parent["pic_cp" + no]) {
if (_parent.Cp_Status[i] == _parent.STATUS_DEATH) {
gotoAndPlay(rl + "down");
} else if (_parent.Cp_AtkCtt[no] > 0) {
gotoAndPlay(rl + "attack");
} else if (_parent.Cp_beAct[no] > 0) {
if ((_currentframe <= 4) || (_currentframe >= 13)) {
gotoAndPlay(rl + "attack_standby");
} else if ((_currentframe >= 9) || (_currentframe <= 12)) {
gotoAndPlay(rl + "attack_idle");
}
} else if (_parent.Cp_beAct[no] == -1) {
gotoAndPlay(rl + "flying");
}
}
}
function CP_WeaponUse_AI3(no) {
if ((_parent.Cp_Status[no] != _parent.STATUS_NORMAL) || (_parent.pic_pl == null)) {
return(undefined);
}
var i = 0;
while (i < 3) {
if (_parent["wep_cp" + ((_parent.Cp_WEPMAX * no) + i)] != null) {
} else {
_parent.SndPlay(_parent.SND_S26, _parent.SND_END);
_parent.Cp_WepXadd[no][i] = 0;
_parent.Cp_WepYadd[no][i] = 8;
_parent.attachMovie("weapon_c91", "wep_cp" + ((_parent.Cp_WEPMAX * no) + i), _parent.DEPTH_CATT + ((_parent.Cp_WEPMAX * no) + i));
with (_parent["wep_cp" + ((_parent.Cp_WEPMAX * no) + i)]) {
_x = _parent["pic_cp" + no]._x + ((_parent.Cp_Way[no] == 0) ? 46 : -4);
_y = _parent["pic_cp" + no]._y + 34;
}
return(undefined);
}
i++;
}
}
function AllPic_Alpha(al) {
var _local3 = 0;
while (_local3 < _parent.Pl_WEPMAX) {
if (_parent["wep_pl" + _local3] != null) {
_parent["wep_pl" + _local3]._alpha = al;
}
_local3++;
}
_local3 = 0;
while (_local3 < _parent.CPU_MAX) {
if (_parent["pic_cp" + _local3] != null) {
_parent["pic_cp" + _local3]._alpha = al;
}
_local3++;
}
_local3 = 0;
while (_local3 < _parent.Cp_WEPMAX) {
j = 0;
while (j < _parent.CPU_MAX) {
if (_parent["wep_cp" + ((_parent.Cp_WEPMAX * j) + _local3)] != null) {
_parent["wep_cp" + ((_parent.Cp_WEPMAX * j) + _local3)]._alpha = al;
}
j++;
}
_local3++;
}
_local3 = 0;
while (_local3 < 9) {
if (_parent["num_a" + _local3] != null) {
_parent["num_a" + _local3]._alpha = al;
}
_local3++;
}
if (_parent.num_aEx != null) {
_parent.num_aEx._alpha = al;
}
if (_parent.EnemyEx != null) {
_parent.EnemyEx._alpha = al;
}
if (_parent.pic_pl != null) {
_parent.pic_pl._alpha = al;
}
if (_parent.f_item != null) {
_parent.f_item._alpha = al;
}
if (_parent.status.level_pic != null) {
_parent.status.level_pic._alpha = al;
}
if (_parent.status.level_num0 != null) {
_parent.status.level_num0._alpha = al;
}
if (_parent.status.level_num1 != null) {
_parent.status.level_num1._alpha = al;
}
}
function AllPic_remove() {
var _local2 = 0;
while (_local2 < _parent.Pl_WEPMAX) {
if (_parent["wep_pl" + _local2] != null) {
_parent["wep_pl" + _local2].removeMovieClip();
}
_local2++;
}
_local2 = 0;
while (_local2 < _parent.CPU_MAX) {
if (_parent["pic_cp" + _local2] != null) {
_parent["pic_cp" + _local2].removeMovieClip();
}
_local2++;
}
_local2 = 0;
while (_local2 < _parent.Cp_WEPMAX) {
j = 0;
while (j < _parent.CPU_MAX) {
if (_parent["wep_cp" + ((_parent.Cp_WEPMAX * j) + _local2)] != null) {
_parent["wep_cp" + ((_parent.Cp_WEPMAX * j) + _local2)].removeMovieClip();
}
j++;
}
_local2++;
}
_local2 = 0;
while (_local2 < 9) {
if (_parent["num_a" + _local2] != null) {
_parent["num_a" + _local2].removeMovieClip();
}
_local2++;
}
if (_parent.num_aEx != null) {
_parent.num_aEx.removeMovieClip();
}
if (_parent.EnemyEx != null) {
_parent.EnemyEx.removeMovieClip();
}
if (_parent.pic_pl != null) {
_parent.pic_pl.removeMovieClip();
}
if (_parent.f_item != null) {
_parent.f_item.removeMovieClip();
}
}
function Fade_PauseMenu() {
if (_parent.PauseMenu == -1) {
if (_parent.FadeLoop() == 2) {
_parent.SndStop(_parent.SND_B04);
AllPic_remove();
_parent.pause.removeMovieClip();
_parent.status.removeMovieClip();
_parent.gotoAndPlay("title");
} else if (_parent.FadeLoop() == 0) {
_parent.FadeFlg();
}
return(true);
}
if (_parent.FadeLoop() != 0) {
return(true);
}
if (_parent.GOverFlg != 0) {
return(false);
}
if (_parent.PauseFlg > 0) {
if (_parent.menu_count == 0) {
if (_parent.PauseFlg > 1) {
_parent.PauseFlg--;
}
if (Key.isDown(27) && (_parent.PauseFlg == 1)) {
_parent.SndPlay(_parent.SND_S23, _parent.SND_END);
if (_parent.num_aEx != null) {
_parent.num_aEx._alpha = 100;
}
_parent.PauseFlg = -16;
_parent.pause.removeMovieClip();
if (WeaponBeing(_parent.WEPTYPE_SHI)) {
_parent.SndPlay(_parent.SND_S14, _parent.SND_LOOP);
} else if (WeaponBeing(_parent.WEPTYPE_ROL)) {
_parent.SndPlay(_parent.SND_S16, _parent.SND_LOOP);
}
} else if (_parent.PauseMenu == 0) {
if (Key.isDown(40) && (_parent.PauseFlg == 1)) {
_parent.SndPlay(_parent.SND_S04, _parent.SND_END);
_parent.PauseMenu = 1;
_parent.PauseFlg = _parent.PauseFlg + 5;
} else if ((Key.isDown(13) || (Key.isDown(32))) && (_parent.PauseFlg == 1)) {
_parent.SndPlay(_parent.SND_S23, _parent.SND_END);
if (_parent.num_aEx != null) {
_parent.num_aEx._alpha = 100;
}
_parent.PauseFlg = -16;
_parent.pause.removeMovieClip();
if (WeaponBeing(_parent.WEPTYPE_SHI)) {
_parent.SndPlay(_parent.SND_S14, _parent.SND_LOOP);
} else if (WeaponBeing(_parent.WEPTYPE_ROL)) {
_parent.SndPlay(_parent.SND_S16, _parent.SND_LOOP);
}
}
} else if (Key.isDown(38) && (_parent.PauseFlg == 1)) {
_parent.SndPlay(_parent.SND_S04, _parent.SND_END);
_parent.PauseMenu = 0;
_parent.PauseFlg = _parent.PauseFlg + 5;
} else if ((Key.isDown(13) || (Key.isDown(32))) && (_parent.PauseFlg == 1)) {
_parent.SndPlay(_parent.SND_S01, _parent.SND_END);
_parent.menu_count = 1;
}
} else {
_parent.menu_count++;
if (_parent.menu_count > 18) {
_parent.menu_count = 0;
_parent.PauseMenu = -1;
}
}
return(true);
}
if (_parent.PauseFlg < 0) {
_parent.PauseFlg++;
}
if ((Key.isDown(13) || (Key.isDown(27))) && (_parent.PauseFlg == 0)) {
_parent.SndPlay(_parent.SND_S23, _parent.SND_END);
_parent.PauseFlg = 8;
if (_parent.num_aEx != null) {
_parent.num_aEx._alpha = 0;
}
if (_parent.LaFlg == 0) {
_parent.attachMovie("pause", "pause", _parent.DEPTH_PAUSE);
} else {
_parent.attachMovie("j_pause", "pause", _parent.DEPTH_PAUSE);
}
with (_parent.pause) {
_x = _parent.L_END;
_y = _parent.U_END;
}
_parent.SndStop(_parent.SND_S14);
_parent.SndStop(_parent.SND_S16);
_parent.menu_count = 0;
_parent.PauseMenu = 0;
return(true);
}
return(false);
}
_parent.MainScore = 0;
_parent.MainScore_h = -1;
_parent.GOverFlg = 0;
GameStageSet();
StageSetting();
Player_Reset();
_parent.SndStop(_parent.SND_B01);
_parent.SndPlay(_parent.SND_B04, _parent.SND_LOOP);
_parent.attachMovie("status0", "status", _parent.DEPTH_STATUS);
with (_parent.status) {
_x = _parent.L_END;
_y = _parent.U_END;
}
}
onClipEvent (enterFrame) {
if (Fade_PauseMenu()) {
return(undefined);
}
CharacterPict("pic_pl", "Pl_", 0);
if (_parent.GOverFlg == 0) {
P_MoveStart("pic_pl", "Pl_", 0);
if (_parent.Pl_Status[0] != _parent.STATUS_START) {
P_MoveCheck("pic_pl", "Pl_", 0);
}
Player_Start();
if ((_parent.Pl_Status[0] == _parent.STATUS_NORMAL) || (_parent.Pl_Status[0] == _parent.STATUS_INVICI)) {
if (Key.isDown(39)) {
Control_Right("Pl_", 0);
} else if (Key.isDown(37)) {
Control_Left("Pl_", 0);
}
if (Key.isDown(38)) {
if (_parent.Pl_Jump[0] == 0) {
if ((_parent.Pl_Way[0] % 2) == 1) {
_parent.pic_pl.gotoAndPlay("l_standby");
} else {
_parent.pic_pl.gotoAndPlay("r_standby");
}
}
Control_Jump("Pl_", 0);
}
if (_parent.Pl_WepEq[0] == _parent.WEPTYPE_SPD) {
_parent.Pl_Xadd1[0] = _parent.Pl_Xadd1[0] * 2;
_parent.Pl_Xadd2[0] = _parent.Pl_Xadd2[0] * 2;
}
if (_parent.KeyCount > 0) {
_parent.KeyCount++;
if (_parent.KeyCount >= _parent.Weapon_rTim[_parent.Pl_WepEq[0]]) {
_parent.KeyCount = 0;
}
}
if (Key.isDown(32) && (_parent.KeyCount == 0)) {
_parent.KeyCount = 1;
if (_parent.Pl_WepCtt[0] < _parent.Pl_WEPMAX) {
_parent.Pl_AtkCtt[0] = _parent.PL_ATTPIC_CTT;
Weapon_Use(_parent.Pl_WepEq[0]);
}
}
} else if (_parent.Pl_Status[0] == _parent.STATUS_DEATH) {
if (_parent.Pl_Jump[0] == 0) {
_parent.Pl_beCtt[0]--;
if (_parent.Pl_beCtt[0] < 30) {
_parent.pic_pl._alpha = (_parent.Pl_beCtt[0] * 3) + 10;
}
if (_parent.Pl_beCtt[0] < 0) {
Player_Reset();
}
}
}
if (_parent.Pl_Status[0] == _parent.STATUS_INVICI) {
_parent.Pl_beCtt[0]--;
if ((_parent.Pl_beCtt[0] % 10) < 5) {
_parent.pic_pl._alpha = 30;
} else {
_parent.pic_pl._alpha = 100;
}
if (_parent.Pl_beCtt[0] < 0) {
_parent.Pl_Status[0] = _parent.STATUS_NORMAL;
_parent.pic_pl._alpha = 100;
}
}
} else if ((_parent.CompleteFlg == 1) && (_parent.Pl_Status[0] != _parent.STATUS_DEATH)) {
_parent.pic_pl._alpha = 100;
PlayerPict();
P_MoveStart("pic_pl", "Pl_", 0);
if (_parent.Pl_Status[0] != _parent.STATUS_START) {
P_MoveCheck("pic_pl", "Pl_", 0);
}
if (_parent.KeyCount < 64) {
_parent.KeyCount++;
}
if ((_parent.KeyCount >= 64) && (Key.isDown(32) || (Key.isDown(13)))) {
_parent.KeyCount = 0;
AllPic_remove();
_parent.CompleteFlg = 2;
_parent.status.level_pic.removeMovieClip();
_parent.gotoAndPlay("g_end");
return(undefined);
}
} else {
if (_parent.KeyCount < 64) {
_parent.KeyCount++;
}
if (_parent.GOverFlg > 1) {
_parent.GOverFlg--;
}
if (((_parent.KeyCount >= 64) && (Key.isDown(32) || (Key.isDown(13)))) || (_parent.GOverFlg <= 1)) {
_parent.KeyCount = 0;
AllPic_remove();
_parent.CompleteFlg = 2;
_parent.status.level_pic.removeMovieClip();
_parent.gotoAndPlay("g_end");
return(undefined);
}
}
var i = 0;
while (i < _parent.CPU_MAX) {
if (_parent.Cp_PatNo[i] != 6) {
CharacterPict("pic_cp" + i, "Cp_", i);
} else {
CharacterPict_AI3(i);
}
i++;
}
WeaponCheck();
HitCheck();
ItemMov();
ExtraEnemy_Move();
ExtraEnemy_Pict();
var i = 0;
for ( ; i < _parent.CPU_MAX ; i++) {
CP_WeaponCheck(i);
if (_parent.Cp_beFlg[i] == 0) {
} else {
P_MoveStart("pic_cp" + i, "Cp_", i);
if (_parent.Cp_Status[i] == _parent.STATUS_START) {
Enemy_Start(i);
} else {
if (_parent.Cp_PatNo[i] != 6) {
P_MoveCheck("pic_cp" + i, "Cp_", i);
}
if (_parent.Cp_Status[i] == _parent.STATUS_DEATH) {
if ((_parent.Cp_PatNo[i] != 6) && (_parent["pic_cp" + i]._y >= _parent.D_END)) {
_parent.Cp_beCtt[i]--;
} else {
_parent.Cp_beCtt[i]--;
}
if (_parent.Cp_beCtt[i] < 30) {
_parent["pic_cp" + i]._alpha = (_parent.Cp_beCtt[i] * 3) + 10;
}
if (_parent.Cp_beCtt[i] < 0) {
_parent.Cp_beFlg[i] = 0;
if (_parent.Cp_PatNo[i] != 6) {
ItemSet(_parent["pic_cp" + i]._x, _parent["pic_cp" + i]._y);
}
_parent["pic_cp" + i].removeMovieClip();
StageNext();
}
} else {
if (_parent.Cp_PatNo[i] == 0) {
Enemy_AI_0(i);
} else if (_parent.Cp_PatNo[i] == 1) {
Enemy_AI_0(i);
} else if (_parent.Cp_PatNo[i] == 2) {
Enemy_AI_2(i);
} else if (_parent.Cp_PatNo[i] == 3) {
Enemy_AI_1(i);
} else if (_parent.Cp_PatNo[i] == 4) {
Enemy_AI_0(i);
} else if (_parent.Cp_PatNo[i] == 5) {
Enemy_AI_2(i);
} else if (_parent.Cp_PatNo[i] == 6) {
Enemy_AI_3(i);
continue;
}
if ((_parent.Cp_beAct[i] == _parent.CPUCONT_R) || (_parent.Cp_beAct[i] == _parent.CPUCONT_JR)) {
Control_Right("Cp_", i);
} else if ((_parent.Cp_beAct[i] == _parent.CPUCONT_L) || (_parent.Cp_beAct[i] == _parent.CPUCONT_JL)) {
Control_Left("Cp_", i);
}
if ((_parent.Cp_beAct[i] > 0) && (_parent.Cp_beAct[i] <= _parent.CPUCONT_JR)) {
if ((_parent.Cp_PatNo[i] == 4) || (_parent.Cp_PatNo[i] == 5)) {
_parent.Cp_Xadd1[i] = _parent.Cp_Xadd1[i] * 2.2;
_parent.Cp_Xadd2[i] = _parent.Cp_Xadd2[i] * 2.2;
}
}
if ((_parent.Cp_beAct[i] == _parent.CPUCONT_JR) || (_parent.Cp_beAct[i] == _parent.CPUCONT_JL)) {
if (_parent.Cp_Jump[i] == 0) {
if ((_parent.Cp_Way[i] % 2) == 1) {
_parent["pic_cp" + i].gotoAndPlay("l_standby");
} else {
_parent["pic_cp" + i].gotoAndPlay("r_standby");
}
}
_parent.Cp_beAct[i] = _parent.Cp_beAct[i] - 2;
Control_Jump("Cp_", i);
}
}
}
}
}
}
Frame 21
this.gotoAndPlay(_currentframe - 1);
Instance of Symbol 1845 MovieClip in Frame 22
onClipEvent (load) {
trace((("highScore" + _root.gScore) + " ") + _parent.MainScore);
}
onClipEvent (enterFrame) {
if (_parent.GStartFlg != -1) {
if (_parent.FadeLoop() == 2) {
if (_parent.status != null) {
_parent.status.removeMovieClip();
}
_parent.gotoAndPlay("title");
} else if (_parent.FadeLoop() == 0) {
if (_parent.GStartFlg == _parent.STARTMENU_SSCORE) {
_root.gScore = _parent.MainScore;
trace("HighScore : " + _root.gScore);
_root.hiscore_connector.connectHiscore("submit");
}
_parent.FadeFlg();
}
return(undefined);
}
if (_parent.FadeLoop() != 0) {
return(undefined);
}
if (_parent.menu_count == 0) {
if (_parent.KeyCount < 16) {
_parent.KeyCount++;
}
if (Key.isDown(32) || (Key.isDown(13))) {
if (_parent.KeyCount > 15) {
_parent.KeyCount = 0;
_parent.menu_count = 1;
_parent.SndPlay(_parent.SND_S01, _parent.SND_END);
}
}
if (Key.isDown(38) && (_parent.KeyCount > 15)) {
if (_parent.Startmenu_sele != _parent.STARTMENU_SSCORE) {
_parent.SndPlay(_parent.SND_S04, _parent.SND_END);
}
_parent.Startmenu_sele = _parent.STARTMENU_SSCORE;
_parent.KeyCount = _parent.KeyCount - 6;
}
if (Key.isDown(40) && (_parent.KeyCount > 15)) {
if (_parent.Startmenu_sele != _parent.STARTMENU_TITLE) {
_parent.SndPlay(_parent.SND_S04, _parent.SND_END);
}
_parent.Startmenu_sele = _parent.STARTMENU_TITLE;
_parent.KeyCount = _parent.KeyCount - 6;
}
} else {
_parent.menu_count++;
if (_parent.menu_count > 18) {
_parent.menu_count = 0;
_parent.GStartFlg = _parent.Startmenu_sele;
}
}
}
Frame 23
_root.gScore = MainScore;
Startmenu_sele = STARTMENU_SSCORE;
GStartFlg = -1;
menu_count = 0;
SndStop(SND_B11);
SndStop(SND_B09);
Frame 25
this.gotoAndPlay(_currentframe - 1);
Instance of Symbol 1845 MovieClip in Frame 26
onClipEvent (load) {
function rand(num) {
return(Math.floor(Math.random() * num));
}
function cSin(r) {
var _local2 = 0;
var _local3 = 1;
if (r >= 360) {
r = r % 360;
}
if (r >= 180) {
r = r - 180;
_local3 = -1;
}
if (r < 90) {
_local2 = Math.sin((r * Math.PI) / 180);
}
if ((r >= 90) && (r < 180)) {
_local2 = Math.sin(((180 - r) * Math.PI) / 180);
}
return(_local2 * _local3);
}
function HWT_CharacterInit() {
var _local2 = 0;
while (_local2 < 8) {
if (_parent["pic_cp" + _local2] != null) {
_parent["pic_cp" + _local2].removeMovieClip();
}
_local2++;
}
if (_parent.pic_pl != null) {
_parent.pic_pl.removeMovieClip();
}
if (_parent.wep_pl != null) {
_parent.wep_pl.removeMovieClip();
}
}
function HWT_PlayerPic() {
var i = 0;
while (i < 8) {
if (_parent["pic_cp" + i] != null) {
_parent["pic_cp" + i].removeMovieClip();
}
i++;
}
_parent.attachMovie("ninja_p", "pic_pl", _parent.DEPTH_PLAYER);
with (_parent.pic_pl) {
_width = 32;
_height = 32;
_x = 144;
_y = -32;
}
}
function HWT_EnemyPic() {
if (_parent.pic_pl != null) {
_parent.pic_pl.removeMovieClip();
}
if (_parent.wep_pl != null) {
_parent.wep_pl.removeMovieClip();
}
if (_parent.pic_cp6 != null) {
_parent.pic_cp6.removeMovieClip();
}
if (_parent.pic_cp7 != null) {
_parent.pic_cp7.removeMovieClip();
}
nn = rand(6);
var i = 0;
while (i < 6) {
if (i == nn) {
_parent.attachMovie("ninja_e9", "pic_cp" + i, _parent.DEPTH_CPU + i);
} else {
_parent.attachMovie("ninja_e" + i, "pic_cp" + i, _parent.DEPTH_CPU + i);
}
with (_parent["pic_cp" + i]) {
_width = 32;
_height = 32;
_x = 40 + (i * 40);
_y = 88;
}
i++;
}
if (rand(3) <= 1) {
_parent.attachMovie("ninja_e6", "pic_cp6", _parent.DEPTH_CPU + 6);
with (_parent.pic_cp6) {
_width = 48;
_height = 48;
_x = -56;
_y = 72;
gotoAndPlay("r_flying");
}
} else {
_parent.attachMovie("ninja_ex", "pic_cp7", _parent.DEPTH_CPU + 7);
with (_parent.pic_cp7) {
_width = 48;
_height = 48;
_x = _parent.R_END + 40;
_y = 80;
gotoAndPlay("l_flying");
}
}
}
function HWT_PlayerPat() {
if (_parent.pic_pl == null) {
return(undefined);
}
with (_parent.pic_pl) {
if (_parent.HowToPage == 0) {
if (_parent.HowTo_Pl_c == 15) {
gotoAndPlay("l_land");
} else if (_parent.HowTo_Pl_c > 0) {
gotoAndPlay("l_jump_d");
} else {
gotoAndPlay("l_wait");
}
} else if (_parent.HowToPage == 1) {
if ((_parent.P1_FLG0S < _parent.HowToCtt) && (_parent.HowToCtt < _parent.P1_FLG0E)) {
gotoAndPlay("l_walk");
} else if ((_parent.P1_FLG0E <= _parent.HowToCtt) && (_parent.HowToCtt < _parent.P1_FLG1S)) {
gotoAndPlay("l_wait");
} else if (_parent.HowToCtt == _parent.P1_FLG1S) {
gotoAndPlay("r_wait");
} else if ((_parent.P1_FLG1S < _parent.HowToCtt) && (_parent.HowToCtt < _parent.P1_FLG1E)) {
gotoAndPlay("r_walk");
} else if ((_parent.P1_FLG1E <= _parent.HowToCtt) && (_parent.HowToCtt < _parent.P1_FLG2S)) {
gotoAndPlay("r_wait");
} else if (_parent.HowToCtt == _parent.P1_FLG2S) {
gotoAndPlay("l_wait");
} else if ((_parent.P1_FLG2S < _parent.HowToCtt) && (_parent.HowToCtt < _parent.P1_FLG2E)) {
gotoAndPlay("l_walk");
} else {
gotoAndPlay("l_wait");
}
} else if (_parent.HowToPage == 2) {
if (_parent.P2_FLG0S == _parent.HowToCtt) {
gotoAndPlay("l_standby");
} else if ((_parent.HowTo_Pl_c > 0) && (_parent.HowTo_Pl_c < 10)) {
gotoAndPlay("l_jump_u");
} else if (_parent.HowTo_Pl_c == 10) {
gotoAndPlay("l_sky");
} else if (_parent.HowTo_Pl_c == 20) {
gotoAndPlay("l_land");
} else if (_parent.HowTo_Pl_c > 10) {
gotoAndPlay("l_jump_d");
} else {
gotoAndPlay("l_wait");
}
} else if (_parent.HowToPage == 3) {
if ((_parent.HowToCtt == _parent.P3_FLG0M) || (_parent.HowToCtt == _parent.P3_FLG1M)) {
gotoAndPlay("l_attack");
} else if ((_parent.HowToCtt < _parent.P3_FLG0M) || (_parent.HowTo_Pl_c == -1)) {
gotoAndPlay("l_wait");
}
}
}
}
trace("howto_load " + _parent._currentframe);
}
onClipEvent (unload) {
trace("howtounload " + _parent._currentframe);
_parent.SndStop(_parent.SND_B10);
}
onClipEvent (enterFrame) {
if (_parent.GStartFlg == _parent.STARTMENU_TITLE) {
if (_parent.FadeLoop() == 2) {
_parent.gotoAndPlay("title");
} else if (_parent.FadeLoop() == 0) {
_parent.FadeFlg();
}
return(undefined);
}
if (_parent.FadeLoop() != 0) {
return(undefined);
}
HWT_PlayerPat();
if ((_parent.HowToCtt == 0) && (_parent.HowToPage == 0)) {
HWT_PlayerPic();
} else if ((_parent.HowToCtt == 0) && (_parent.HowToPage == 4)) {
HWT_EnemyPic();
}
_parent.HowToCtt++;
if (_parent.HowToPage < 4) {
if (_parent.HowToCtt > _parent["PAGE_CHANGE" + _parent.HowToPage]) {
_parent.HowToCtt = 0;
_parent.HowToPage++;
if (_parent.HowToPage == 4) {
_parent.HowToPage = 1;
}
_parent.HowTo_Pl_c = 0;
}
} else if (_parent.HowToCtt > _parent.PAGE_CHANGE4) {
_parent.HowToCtt = 0;
}
if (_parent.HowToChange > 0) {
_parent.HowToChange--;
if (_parent.HowToChange == 0) {
_parent.HowToCtt = 0;
_parent.HowTo_Pl_c = 0;
if (((_parent.HowToSele == 0) && (_parent.HowToPage < 4)) || ((_parent.HowToSele == 1) && (_parent.HowToPage == 4))) {
_parent.GStartFlg = _parent.STARTMENU_TITLE;
HWT_CharacterInit();
} else if (_parent.HowToPage == 4) {
_parent.HowToPage = 0;
} else {
_parent.HowToPage = 4;
}
_parent.HowToSele = 1;
}
} else {
if (_parent.KeyCount < 16) {
_parent.KeyCount++;
}
if (Key.isDown(39) && (_parent.KeyCount >= 16)) {
if (_parent.HowToSele != 1) {
_parent.SndPlay(_parent.SND_S04, _parent.SND_END);
}
_parent.KeyCount = _parent.KeyCount - 4;
_parent.HowToSele = 1;
} else if (Key.isDown(37) && (_parent.KeyCount >= 16)) {
if (_parent.HowToSele != 0) {
_parent.SndPlay(_parent.SND_S04, _parent.SND_END);
}
_parent.KeyCount = _parent.KeyCount - 4;
_parent.HowToSele = 0;
} else if ((Key.isDown(32) || (Key.isDown(13))) && (_parent.KeyCount >= 16)) {
_parent.KeyCount = 0;
_parent.HowToChange = 16;
if (_parent.HowToSele == 0) {
_parent.SndPlay(_parent.SND_S03, _parent.SND_END);
} else {
_parent.SndPlay(_parent.SND_S01, _parent.SND_END);
}
}
}
if (_parent.HowToPage == 0) {
var nnum = 0;
if (_parent.HowTo_Pl_c >= 15) {
_parent.HowTo_Pl_c = -1;
if (_parent.pic_pl._y != _parent.HowTo_DOWNS) {
_parent.SndPlay(_parent.SND_S05, _parent.SND_END);
}
_parent.pic_pl._y = _parent.HowTo_DOWNS;
} else if (_parent.HowTo_Pl_c >= 0) {
nnum = _parent.HowTo_DOWNS - (cSin((_parent.HowTo_Pl_c + 15) * 6) * (_parent.HowTo_DOWNS + 32));
if (nnum > _parent.HowTo_DOWNS) {
_parent.pic_pl._y = _parent.HowTo_DOWNS;
} else {
_parent.pic_pl._y = nnum;
}
_parent.HowTo_Pl_c++;
}
} else if (_parent.HowToPage == 1) {
_parent.pic_pl._y = _parent.HowTo_DOWNS;
if ((_parent.P1_FLG0S < _parent.HowToCtt) && (_parent.HowToCtt < _parent.P1_FLG0E)) {
_parent.pic_pl._x = _parent.pic_pl._x - _parent.Pl_MOVE_SPEED_X;
} else if ((_parent.P1_FLG1S < _parent.HowToCtt) && (_parent.HowToCtt < _parent.P1_FLG1E)) {
_parent.pic_pl._x = _parent.pic_pl._x + _parent.Pl_MOVE_SPEED_X;
} else if ((_parent.P1_FLG2S < _parent.HowToCtt) && (_parent.HowToCtt < _parent.P1_FLG2E)) {
_parent.pic_pl._x = _parent.pic_pl._x - _parent.Pl_MOVE_SPEED_X;
}
} else if (_parent.HowToPage == 2) {
var nnum = 0;
if ((_parent.P2_FLG0S < _parent.HowToCtt) && (_parent.HowTo_Pl_c >= 0)) {
if (_parent.HowTo_Pl_c >= 20) {
_parent.HowTo_Pl_c = -1;
if (_parent.pic_pl._y != _parent.HowTo_DOWNS) {
_parent.SndPlay(_parent.SND_S05, _parent.SND_END);
}
_parent.pic_pl._y = _parent.HowTo_DOWNS;
} else {
if (_parent.HowTo_Pl_c == 0) {
_parent.SndPlay(_parent.SND_S07, _parent.SND_END);
}
nnum = _parent.HowTo_DOWNS - (cSin(_parent.HowTo_Pl_c * 9) * 56);
if (nnum > _parent.HowTo_DOWNS) {
_parent.pic_pl._y = _parent.HowTo_DOWNS;
} else {
_parent.pic_pl._y = nnum;
}
_parent.HowTo_Pl_c++;
}
}
} else if (_parent.HowToPage == 3) {
_parent.pic_pl._y = _parent.HowTo_DOWNS;
if ((_parent.HowToCtt == _parent.P3_FLG0M) || (_parent.HowToCtt == _parent.P3_FLG1M)) {
_parent.HowTo_Pl_c = 0;
_parent.SndPlay(_parent.SND_S11, _parent.SND_END);
_parent.attachMovie("weapon_p00", "wep_pl", _parent.DEPTH_PATT);
with (_parent.wep_pl) {
_x = _parent.pic_pl._x - 16;
_y = _parent.pic_pl._y;
}
} else if ((_parent.HowToCtt > _parent.P3_FLG0M) || (_parent.HowToCtt > _parent.P3_FLG1M)) {
if (_parent.HowTo_Pl_c >= 0) {
_parent.wep_pl._x = _parent.wep_pl._x - 16;
_parent.HowTo_Pl_c++;
if (_parent.HowTo_Pl_c > 3) {
_parent.HowTo_Pl_c = -1;
_parent.wep_pl.removeMovieClip();
}
}
}
} else if (_parent.HowToPage == 4) {
if ((_parent.HowToCtt > 0) && (_parent.HowToCtt <= 65)) {
if ((_parent.HowToCtt % 10) == 0) {
_parent["pic_cp" + (Math.floor(_parent.HowToCtt / 10) - 1)].gotoAndPlay("r_wait");
}
if (_parent.pic_cp6 != null) {
if (_parent.pic_cp6._x < -16) {
_parent.pic_cp6._x++;
}
}
if (_parent.pic_cp7 != null) {
if (_parent.pic_cp7._x > _parent.R_END) {
_parent.pic_cp7._x--;
}
}
} else {
if (((_parent.HowToCtt - 60) % 10) == 0) {
_parent["pic_cp" + (6 - Math.floor((_parent.HowToCtt - 60) / 10))].gotoAndPlay("l_wait");
}
if (_parent.pic_cp6 != null) {
if (_parent.pic_cp6._x > -56) {
_parent.pic_cp6._x--;
}
}
if (_parent.pic_cp7 != null) {
if (_parent.pic_cp7._x < (_parent.R_END + 40)) {
_parent.pic_cp7._x++;
}
}
}
}
}
Frame 27
PAGE_CHANGE0 = 40;
PAGE_CHANGE1 = 90;
PAGE_CHANGE2 = 50;
PAGE_CHANGE3 = 60;
PAGE_CHANGE4 = 120;
P1_FLG0S = 10;
P1_FLG0E = 20;
P1_FLG1S = 30;
P1_FLG1E = 49;
P1_FLG2S = 60;
P1_FLG2E = 70;
P2_FLG0S = 10;
P2_FLG0E = 20;
P3_FLG0S = 10;
P3_FLG0M = 13;
P3_FLG0E = 15;
P3_FLG1S = 35;
P3_FLG1M = 38;
P3_FLG1E = 40;
HowToPage = 0;
HowToCtt = 0;
HowTo_Pl_x = 0;
HowTo_Pl_y = 0;
HowTo_Pl_c = 0;
HowTo_DOWNS = 164;
HowToSele = 1;
HowToChange = 0;
SndStop(SND_B01);
SndPlay(SND_B10, SND_LOOP);
Frame 29
this.gotoAndPlay(_currentframe - 1);
Symbol 38 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 52 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 55 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 56 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 67 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 76 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 77 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 78 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 78 MovieClip Frame 5
stop();
Symbol 79 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 80 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 80 MovieClip Frame 10
stop();
Symbol 104 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 104 MovieClip Frame 14
stop();
Symbol 143 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 143 MovieClip Frame 14
stop();
Symbol 144 MovieClip [ninja_e6] Frame 2
gotoAndPlay(_currentframe - 1);
Symbol 144 MovieClip [ninja_e6] Frame 4
gotoAndPlay(_currentframe - 1);
Symbol 144 MovieClip [ninja_e6] Frame 6
if (this.l_attack0._currentframe == 5) {
gotoAndPlay ("l_attack_idle");
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 144 MovieClip [ninja_e6] Frame 8
if (this.r_attack0._currentframe == 5) {
gotoAndPlay ("r_attack_idle");
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 144 MovieClip [ninja_e6] Frame 10
gotoAndPlay(_currentframe - 1);
Symbol 144 MovieClip [ninja_e6] Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 144 MovieClip [ninja_e6] Frame 14
gotoAndPlay(_currentframe - 1);
Symbol 144 MovieClip [ninja_e6] Frame 16
gotoAndPlay(_currentframe - 1);
Symbol 144 MovieClip [ninja_e6] Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 144 MovieClip [ninja_e6] Frame 20
gotoAndPlay(_currentframe - 1);
Symbol 151 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 156 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 170 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 172 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 173 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 174 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 175 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 176 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 179 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 207 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 207 MovieClip Frame 14
stop();
Symbol 237 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 237 MovieClip Frame 14
stop();
Symbol 238 MovieClip [ninja_ex] Frame 2
gotoAndPlay(_currentframe - 1);
Symbol 238 MovieClip [ninja_ex] Frame 4
gotoAndPlay(_currentframe - 1);
Symbol 238 MovieClip [ninja_ex] Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 238 MovieClip [ninja_ex] Frame 8
gotoAndPlay(_currentframe - 1);
Symbol 249 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 264 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 285 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 368 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 371 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 371 MovieClip Frame 12
stop();
Symbol 378 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 378 MovieClip Frame 7
stop();
Symbol 397 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 398 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 402 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 411 MovieClip [ninja_e9] Frame 2
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 4
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 8
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 10
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 14
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 16
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 20
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 22
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 24
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 26
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 28
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 30
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 32
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 34
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 36
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 38
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 40
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 42
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 44
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 46
gotoAndPlay(_currentframe - 1);
Symbol 411 MovieClip [ninja_e9] Frame 48
gotoAndPlay(_currentframe - 1);
Symbol 417 MovieClip [j_level] Frame 40
stop();
Symbol 426 MovieClip [j_gameover] Frame 48
stop();
Symbol 429 MovieClip [j_gameclear] Frame 32
stop();
Symbol 456 MovieClip Frame 80
stop();
Symbol 463 MovieClip Frame 1
this.onEnterFrame = function () {
no = _root.BgChangeCheck();
if (no != -1) {
gotoAndPlay(no);
}
};
Symbol 467 MovieClip Frame 1
this.onEnterFrame = function () {
no = _root.BgChangeCheck();
if (no != -1) {
gotoAndPlay(no);
}
};
Symbol 473 MovieClip Frame 1
this.onEnterFrame = function () {
no = _root.BgChangeCheck();
if (no != -1) {
gotoAndPlay(no);
}
};
Symbol 479 MovieClip Frame 1
this.onEnterFrame = function () {
no = _root.BgChangeCheck();
if (no != -1) {
gotoAndPlay(no);
}
};
Symbol 485 MovieClip Frame 1
this.onEnterFrame = function () {
no = _root.BgChangeCheck();
if (no != -1) {
gotoAndPlay(no);
}
};
Symbol 489 MovieClip Frame 1
this.onEnterFrame = function () {
no = _root.BgChangeCheck();
if (no != -1) {
gotoAndPlay(no);
}
};
Symbol 490 MovieClip Frame 1
function connectHiscore(FunctionType) {
trace("connectHiscore...");
trace("FunctionType=" + FunctionType);
parameter = (((((((("GameID=" + GameID) + ",FunctionType=") + FunctionType) + ",Score=") + eval (scoreData)) + ",Title1=") + GameTitle) + ",ScoreDes=") + scoreDes;
sendParameter = encrypt(parameter);
getURL (("JavaScript:openHiscore('/content/highscores/hs-connector.html?" + sendParameter) + "');");
}
function encrypt(myText) {
result = "";
code = 0;
charCount = 0;
while (charCount <= passWord.length) {
if (charCount == passWord.length) {
code = code + 0;
} else {
code = code + passWord.substr(charCount, 1).charCodeAt(0);
}
charCount++;
}
charCount = 0;
while (charCount <= myText.length) {
if (charCount == myText.length) {
code = code + 0;
} else {
encChar = myText.substr(charCount, 1).charCodeAt(0) + code;
}
result = result + (encChar + "_");
charCount++;
}
outPut = result.substr(0, result.length - 1);
return(outPut);
}
Symbol 490 MovieClip Frame 2
stop();
Instance of Symbol 490 MovieClip in Symbol 491 MovieClip [cutin2] Frame 70
//component parameters
onClipEvent (construct) {
GameTitle = "Ninja";
ScoreDes = "points";
GameID = "ninjaninja";
scoreData = "_root.gScore";
passWord = "shockwave";
FunctionType = "view";
}
Symbol 491 MovieClip [cutin2] Frame 90
stop();
Instance of Symbol 540 MovieClip in Symbol 572 MovieClip [cutin1] Frame 13
onClipEvent (enterFrame) {
this._x = this._x + 20;
if (this._x > _parent._parent.CLOUD_MOVEX1) {
this._x = _parent._parent.CLOUD_MOVEX0;
}
}
Instance of Symbol 540 MovieClip in Symbol 572 MovieClip [cutin1] Frame 13
onClipEvent (enterFrame) {
this._x = this._x + 30;
if (this._x > _parent._parent.CLOUD_MOVEX1) {
this._x = _parent._parent.CLOUD_MOVEX0;
}
}
Instance of Symbol 540 MovieClip in Symbol 572 MovieClip [cutin1] Frame 13
onClipEvent (enterFrame) {
this._x = this._x + 55;
if (this._x > _parent._parent.CLOUD_MOVEX1) {
this._x = _parent._parent.CLOUD_MOVEX0;
}
}
Instance of Symbol 540 MovieClip in Symbol 572 MovieClip [cutin1] Frame 13
onClipEvent (enterFrame) {
this._x = this._x + 25;
if (this._x > _parent._parent.CLOUD_MOVEX1) {
this._x = _parent._parent.CLOUD_MOVEX0;
}
}
Instance of Symbol 540 MovieClip in Symbol 572 MovieClip [cutin1] Frame 13
onClipEvent (enterFrame) {
this._x = this._x + 50;
if (this._x > _parent._parent.CLOUD_MOVEX1) {
this._x = _parent._parent.CLOUD_MOVEX0;
}
}
Instance of Symbol 541 MovieClip in Symbol 572 MovieClip [cutin1] Frame 13
onClipEvent (enterFrame) {
this._x = this._x + 40;
if (this._x > _parent._parent.CLOUD_MOVEX1) {
this._x = _parent._parent.CLOUD_MOVEX0;
}
}
Instance of Symbol 540 MovieClip in Symbol 572 MovieClip [cutin1] Frame 13
onClipEvent (enterFrame) {
this._x = this._x + 55;
if (this._x > _parent._parent.CLOUD_MOVEX1) {
this._x = _parent._parent.CLOUD_MOVEX0;
}
}
Instance of Symbol 540 MovieClip in Symbol 572 MovieClip [cutin1] Frame 13
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this._x < _parent._parent.CLOUD_MOVEX0) {
this._x = _parent._parent.CLOUD_MOVEX1;
}
}
Instance of Symbol 540 MovieClip in Symbol 572 MovieClip [cutin1] Frame 13
onClipEvent (enterFrame) {
this._x = this._x - 30;
if (this._x < _parent._parent.CLOUD_MOVEX0) {
this._x = _parent._parent.CLOUD_MOVEX1;
}
}
Instance of Symbol 540 MovieClip in Symbol 572 MovieClip [cutin1] Frame 13
onClipEvent (enterFrame) {
this._x = this._x - 55;
if (this._x < _parent._parent.CLOUD_MOVEX0) {
this._x = _parent._parent.CLOUD_MOVEX1;
}
}
Instance of Symbol 540 MovieClip in Symbol 572 MovieClip [cutin1] Frame 13
onClipEvent (enterFrame) {
this._x = this._x - 25;
if (this._x < _parent._parent.CLOUD_MOVEX0) {
this._x = _parent._parent.CLOUD_MOVEX1;
}
}
Instance of Symbol 540 MovieClip in Symbol 572 MovieClip [cutin1] Frame 13
onClipEvent (enterFrame) {
this._x = this._x - 50;
if (this._x < _parent._parent.CLOUD_MOVEX0) {
this._x = _parent._parent.CLOUD_MOVEX1;
}
}
Instance of Symbol 540 MovieClip in Symbol 572 MovieClip [cutin1] Frame 13
onClipEvent (enterFrame) {
this._x = this._x - 40;
if (this._x < _parent._parent.CLOUD_MOVEX0) {
this._x = _parent._parent.CLOUD_MOVEX1;
}
}
Instance of Symbol 540 MovieClip in Symbol 572 MovieClip [cutin1] Frame 13
onClipEvent (enterFrame) {
this._x = this._x - 55;
if (this._x < _parent._parent.CLOUD_MOVEX0) {
this._x = _parent._parent.CLOUD_MOVEX1;
}
}
Symbol 604 MovieClip [gameover] Frame 57
stop();
Symbol 607 MovieClip [gameclear] Frame 32
stop();
Symbol 610 MovieClip [level] Frame 40
stop();
Symbol 678 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 683 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 692 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 753 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 756 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 756 MovieClip Frame 8
stop();
Symbol 775 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 775 MovieClip Frame 9
stop();
Symbol 795 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 796 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 797 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 798 MovieClip [ninja_p] Frame 2
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 4
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 8
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 10
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 14
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 16
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 20
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 22
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 24
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 26
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 28
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 30
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 32
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 34
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 36
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 38
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 40
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 42
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 44
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 46
gotoAndPlay(_currentframe - 1);
Symbol 798 MovieClip [ninja_p] Frame 48
gotoAndPlay(_currentframe - 1);
Symbol 807 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 820 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 840 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 911 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 912 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 912 MovieClip Frame 12
stop();
Symbol 919 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 919 MovieClip Frame 7
stop();
Symbol 936 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 937 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 941 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 950 MovieClip [ninja_e3] Frame 2
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 4
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 8
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 10
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 14
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 16
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 20
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 22
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 24
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 26
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 28
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 30
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 32
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 34
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 36
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 38
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 40
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 42
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 44
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 46
gotoAndPlay(_currentframe - 1);
Symbol 950 MovieClip [ninja_e3] Frame 48
gotoAndPlay(_currentframe - 1);
Symbol 959 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 972 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 992 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1063 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1064 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1064 MovieClip Frame 12
stop();
Symbol 1071 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1071 MovieClip Frame 7
stop();
Symbol 1088 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1089 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1093 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1102 MovieClip [ninja_e2] Frame 2
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 4
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 8
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 10
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 14
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 16
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 20
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 22
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 24
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 26
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 28
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 30
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 32
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 34
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 36
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 38
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 40
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 42
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 44
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 46
gotoAndPlay(_currentframe - 1);
Symbol 1102 MovieClip [ninja_e2] Frame 48
gotoAndPlay(_currentframe - 1);
Symbol 1111 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1124 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1144 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1215 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1216 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1216 MovieClip Frame 12
stop();
Symbol 1223 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1223 MovieClip Frame 7
stop();
Symbol 1240 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1241 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1245 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1254 MovieClip [ninja_e5] Frame 2
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 4
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 8
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 10
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 14
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 16
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 20
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 22
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 24
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 26
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 28
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 30
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 32
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 34
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 36
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 38
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 40
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 42
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 44
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 46
gotoAndPlay(_currentframe - 1);
Symbol 1254 MovieClip [ninja_e5] Frame 48
gotoAndPlay(_currentframe - 1);
Symbol 1263 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1276 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1296 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1367 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1368 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1368 MovieClip Frame 12
stop();
Symbol 1375 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1375 MovieClip Frame 7
stop();
Symbol 1392 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1393 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1397 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1406 MovieClip [ninja_e4] Frame 2
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 4
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 8
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 10
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 14
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 16
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 20
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 22
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 24
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 26
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 28
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 30
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 32
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 34
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 36
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 38
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 40
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 42
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 44
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 46
gotoAndPlay(_currentframe - 1);
Symbol 1406 MovieClip [ninja_e4] Frame 48
gotoAndPlay(_currentframe - 1);
Symbol 1416 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1429 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1449 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1520 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1521 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1521 MovieClip Frame 12
stop();
Symbol 1527 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1527 MovieClip Frame 7
stop();
Symbol 1544 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1545 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1549 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1558 MovieClip [ninja_e0] Frame 2
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 4
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 8
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 10
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 14
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 16
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 20
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 22
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 24
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 26
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 28
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 30
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 32
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 34
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 36
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 38
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 40
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 42
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 44
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 46
gotoAndPlay(_currentframe - 1);
Symbol 1558 MovieClip [ninja_e0] Frame 48
gotoAndPlay(_currentframe - 1);
Symbol 1567 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1580 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1600 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1672 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1673 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1673 MovieClip Frame 12
stop();
Symbol 1679 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1679 MovieClip Frame 7
stop();
Symbol 1696 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1697 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1701 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1710 MovieClip [ninja_e1] Frame 2
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 4
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 8
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 10
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 14
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 16
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 20
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 22
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 24
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 26
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 28
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 30
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 32
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 34
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 36
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 38
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 40
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 42
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 44
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 46
gotoAndPlay(_currentframe - 1);
Symbol 1710 MovieClip [ninja_e1] Frame 48
gotoAndPlay(_currentframe - 1);
Symbol 1712 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1724 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1731 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1732 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1734 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1737 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
if (ac == _currentframe) {
return(undefined);
}
n = _root.PauseStop();
if ((n == 0) && (ac != _currentframe)) {
ac = _currentframe;
}
gotoAndPlay(ac);
};
Symbol 1755 MovieClip [fall_item] Frame 1
this.onEnterFrame = function () {
if (_parent.DEPTH_EQWEP == null) {
return(undefined);
}
if (_parent.FallItem == _parent.WEPTYPE_NOR) {
this.gotoAndPlay("it0");
} else if (_parent.FallItem == _parent.WEPTYPE_SPD) {
this.gotoAndPlay("it1");
} else if (_parent.FallItem == _parent.WEPTYPE_NIF) {
this.gotoAndPlay("it2");
} else if (_parent.FallItem == _parent.WEPTYPE_ARW) {
this.gotoAndPlay("it3");
} else if (_parent.FallItem == _parent.WEPTYPE_SHI) {
this.gotoAndPlay("it4");
} else if (_parent.FallItem == _parent.WEPTYPE_ROL) {
this.gotoAndPlay("it5");
} else if (_parent.FallItem == _parent.WEPTYPE_ALL) {
this.gotoAndPlay("it6");
} else if (_parent.FallItem == _parent.WEPTYPE_BOM) {
this.gotoAndPlay("it7");
}
};
Symbol 1755 MovieClip [fall_item] Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 1755 MovieClip [fall_item] Frame 6
this.gotoAndPlay(_currentframe - 1);
Symbol 1755 MovieClip [fall_item] Frame 9
this.gotoAndPlay(_currentframe - 1);
Symbol 1755 MovieClip [fall_item] Frame 12
this.gotoAndPlay(_currentframe - 1);
Symbol 1755 MovieClip [fall_item] Frame 15
this.gotoAndPlay(_currentframe - 1);
Symbol 1755 MovieClip [fall_item] Frame 18
this.gotoAndPlay(_currentframe - 1);
Symbol 1755 MovieClip [fall_item] Frame 21
this.gotoAndPlay(_currentframe - 1);
Symbol 1755 MovieClip [fall_item] Frame 24
this.gotoAndPlay(_currentframe - 1);
Symbol 1758 MovieClip [all_numEx] Frame 1
sCtt = 32;
var Sc_place = 0;
var bz = 1;
Sc_place = 0;
while (Sc_place < 9) {
if ((_parent.BONUS_SCORE / bz) < 1) {
break;
}
bz = bz * 10;
Sc_place++;
}
if (Sc_place > 8) {
Sc_place = 8;
}
bz = 1;
i = 0;
while (i < Sc_place) {
if (_parent.LaFlg == 0) {
this.attachMovie("num_" + (Math.floor(_parent.BONUS_SCORE / bz) % 10), "Sc_PicEx" + i, (_parent.DEPTH_SCOREX + 1) + i);
} else {
this.attachMovie("j_num_" + (Math.floor(_parent.BONUS_SCORE / bz) % 10), "Sc_PicEx" + i, (_parent.DEPTH_SCOREX + 1) + i);
}
with (this["Sc_PicEx" + i]) {
_width = 14;
_height = 14;
_x = 6 + (((Sc_place - 1) - i) * _width);
_y = 0;
_alpha = 0;
}
bz = bz * 10;
i++;
}
this.attachMovie("bonus_all", "Sc_PicExb", _parent.DEPTH_SCOREX + 10);
with (this.Sc_PicExb) {
_x = 28;
_y = -24;
}
if (_x < (_root.L_END + 6)) {
_x = (_root.L_END + 6);
}
if (_x > (((_root.R_END + 32) + 6) - (Sc_place * 12))) {
_x = (((_root.R_END + 32) + 6) - (Sc_place * 12));
}
this.onUnload = function () {
_parent.MainScore = _parent.MainScore + _parent.BONUS_SCORE;
i = 0;
while (i < Sc_place) {
if (this["Sc_PicEx" + i] != null) {
this["Sc_PicEx" + i].removeMovieClip();
}
i++;
}
if (this.Sc_PicExb != null) {
this.Sc_PicExb.removeMovieClip();
}
};
this.onEnterFrame = function () {
if (_parent.PauseFlg <= 0) {
if (sCtt <= 10) {
i = 0;
while (i < Sc_place) {
this["Sc_PicEx" + i]._alpha = this["Sc_PicEx" + i]._alpha - 10;
i++;
}
}
if ((sCtt >= 17) && (sCtt <= 26)) {
i = 0;
while (i < Sc_place) {
this["Sc_PicEx" + i]._alpha = this["Sc_PicEx" + i]._alpha + 10;
i++;
}
}
sCtt--;
if (sCtt <= 0) {
this.removeMovieClip();
}
}
};
Symbol 1758 MovieClip [all_numEx] Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1759 MovieClip [all_num] Frame 1
sCtt = 60;
var Sc_lno = (Math.floor(this.getDepth() - _parent.DEPTH_SCORE) / 10);
var Sc_place = 0;
var bz = 1;
var Sc_UpY = 0;
var Sc_addX = 0;
var Sc_addY = 0;
if ((_parent.Sc_subFlg == 1) && (Sc_lno == 0)) {
_parent.Sc_subFlg = 0;
sCtt = 30;
Sc_UpY = -18;
} else {
_parent.Sc_pCtt2 = _parent.Sc_pCtt2 + (1 << Sc_lno);
}
Sc_place = 0;
while (Sc_place < 9) {
if ((_parent.ScoreSet[Sc_lno] / bz) < 1) {
break;
}
bz = bz * 10;
Sc_place++;
}
if (Sc_place > 8) {
Sc_place = 8;
}
bz = 1;
i = 0;
while (i < Sc_place) {
if (_parent.LaFlg == 0) {
this.attachMovie("num_" + (Math.floor(_parent.ScoreSet[Sc_lno] / bz) % 10), ("Sc_Pic" + Sc_lno) + i, ((_parent.DEPTH_SCORE + (Sc_lno * 10)) + 1) + i);
} else {
this.attachMovie("j_num_" + (Math.floor(_parent.ScoreSet[Sc_lno] / bz) % 10), ("Sc_Pic" + Sc_lno) + i, ((_parent.DEPTH_SCORE + (Sc_lno * 10)) + 1) + i);
}
with (this[("Sc_Pic" + Sc_lno) + i]) {
_width = 12;
_height = 12;
_x = ((Sc_place - 1) - i) * _width;
_y = Sc_UpY;
}
bz = bz * 10;
i++;
}
if (_x < (_root.L_END + 6)) {
_x = (_root.L_END + 6);
}
if (_x > (((_root.R_END + 32) + 6) - (Sc_place * 12))) {
_x = (((_root.R_END + 32) + 6) - (Sc_place * 12));
}
if (Sc_lno != 0) {
num = Math.sqrt(Math.pow(_parent.num_a0._x - this._x, 2) + Math.pow(_parent.num_a0._y - this._y, 2));
Sc_addX = ((_parent.num_a0._x - this._x) / num) * (Math.floor(num / 30) + 2);
Sc_addY = ((_parent.num_a0._y - this._y) / num) * (Math.floor(num / 30) + 2);
}
this.onUnload = function () {
if ((Sc_lno == 0) || (!(_parent.Sc_pCtt1 & 1))) {
_parent.MainScore = _parent.MainScore + _parent.ScoreSet[Sc_lno];
}
i = 0;
while (i < Sc_place) {
if (this[("Sc_Pic" + Sc_lno) + i] != null) {
this[("Sc_Pic" + Sc_lno) + i].removeMovieClip();
}
i++;
}
_parent.Sc_pCtt1 = _parent.Sc_pCtt1 - (1 << Sc_lno);
_parent.Sc_pCtt2 = _parent.Sc_pCtt2 - (1 << Sc_lno);
};
this.onEnterFrame = function () {
if (_parent.PauseFlg <= 0) {
i = 0;
while (i < Sc_place) {
this[("Sc_Pic" + Sc_lno) + i]._y = Sc_UpY;
i++;
}
if (Sc_lno == 0) {
if ((_parent.Sc_pCtt2 > 1) && (sCtt < 45)) {
sCtt++;
}
var i = 1;
while (i < 9) {
if (!(_parent.Sc_pCtt2 & (1 << i))) {
} else if (((((this._x - 15) < _parent["num_a" + i]._x) && ((this._x + 15) > _parent["num_a" + i]._x)) && ((this._y - 15) < _parent["num_a" + i]._y)) && ((this._y + 15) > _parent["num_a" + i]._y)) {
_parent.SndPlay(_parent.SND_S24, _parent.SND_END);
_parent.Cp_ExAdd++;
_parent["num_a" + i].removeMovieClip();
_parent.ScoreSet[0] = (_parent.ScoreSet[0] * 2) + _parent.ScoreSet[i];
_parent.Sc_subFlg = 1;
gotoAndPlay(_currentframe - 1);
}
i++;
}
} else if (!(_parent.Sc_pCtt1 & 1)) {
Sc_addX = 0;
Sc_addY = 0;
}
sCtt--;
if (sCtt > 0) {
if (sCtt > 50) {
Sc_UpY = Sc_UpY - 2;
} else {
this._x = this._x + (Sc_addX * 2);
this._y = this._y + (Sc_addY * 2);
}
} else {
this.removeMovieClip();
}
}
};
Symbol 1759 MovieClip [all_num] Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1775 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if (_parent._parent.PauseMenu == 0) {
if (_parent._parent.LaFlg == 0) {
if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("select");
}
} else if (gnum != 11) {
gnum = 11;
this.gotoAndPlay("j_select");
}
} else if (_parent._parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 10) {
gnum = 10;
this.gotoAndPlay("j_wait");
}
};
Symbol 1775 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1775 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1775 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 1775 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1775 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 1775 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1775 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 1786 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if ((_parent._parent.PauseMenu == 1) && (_parent._parent.menu_count > 0)) {
if (_parent._parent.LaFlg == 0) {
if (gnum != 2) {
gnum = 2;
this.gotoAndPlay("click");
}
} else if (gnum != 12) {
gnum = 12;
this.gotoAndPlay("j_click");
}
} else if (_parent._parent.PauseMenu == 1) {
if (_parent._parent.LaFlg == 0) {
if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("select");
}
} else if (gnum != 11) {
gnum = 11;
this.gotoAndPlay("j_select");
}
} else if (_parent._parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 10) {
gnum = 10;
this.gotoAndPlay("j_wait");
}
};
Symbol 1786 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1786 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1786 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 1786 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1786 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 1786 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1786 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 1791 MovieClip [status0] Frame 1
var bef_lv = -1;
var bef_wnum = -1;
if (this.ScorePic == null) {
if (_parent.LaFlg == 0) {
this.attachMovie("score_pic", "ScorePic", _parent.DEPTH_MSCORE - 1);
with (this.ScorePic) {
_x = 4;
_y = 53;
_width = 48;
_height = 12;
}
} else {
this.attachMovie("j_score_pic", "ScorePic", _parent.DEPTH_MSCORE - 1);
with (this.ScorePic) {
_x = 4;
_y = 53;
_width = 48;
_height = 12;
}
}
}
if (this.level_pic == null) {
if (_parent.LaFlg == 0) {
this.attachMovie("level", "level_pic", _parent.DEPTH_LEVEL);
with (this.level_pic) {
_width = 82;
_height = 22;
_x = 120;
_y = 110;
}
} else {
this.attachMovie("j_level", "level_pic", _parent.DEPTH_LEVEL);
with (this.level_pic) {
_width = 85;
_height = 28;
_x = 116;
_y = 107;
}
}
}
if (this.life_c == null) {
this.attachMovie("life_c", "life_c", _parent.DEPTH_LIFE);
with (this.life_c) {
_width = 20;
_height = 16;
_x = 4;
_y = 70;
}
}
i = 0;
while (i <= _parent.Pl_life) {
if (this["life" + i] == null) {
this.attachMovie("life", "life" + i, (_parent.DEPTH_LIFE + 1) + i);
with (this["life" + i]) {
_width = 8;
_height = 16;
_x = 28 + (i * _width);
_y = 70;
}
}
i++;
}
if (this.use_weapon == null) {
this.attachMovie("fall_item", "use_weapon", _parent.DEPTH_EQWEP);
with (this.use_weapon) {
_x = _parent._parent.R_END;
_y = 44;
}
}
this.onEnterFrame = function () {
if (_parent.GOverFlg != 0) {
_parent.MainScore_h = _parent.MainScore;
}
if (_parent.MainScore > 9999999) {
_parent.MainScore = 9999999 /* 0x98967F */;
}
if (_parent.MainScore_h != _parent.MainScore) {
if ((_parent.MainScore_h + 1000) < _parent.MainScore) {
_parent.MainScore_h = _parent.MainScore_h + 1000;
} else if ((_parent.MainScore_h + 100) < _parent.MainScore) {
_parent.MainScore_h = _parent.MainScore_h + 100;
} else if (_parent.MainScore_h < _parent.MainScore) {
_parent.MainScore_h = _parent.MainScore_h + 10;
} else {
_parent.MainScore_h = _parent.MainScore;
}
var n = 1;
var num = 0;
var i = 0;
while (i < 8) {
num = Math.floor(_parent.MainScore_h / n);
if ((i != 0) && (num == 0)) {
if (this["MainScore_n" + i] != null) {
this["MainScore_n" + i].removeMovieClip();
}
} else {
if (_parent.LaFlg == 0) {
this.attachMovie("num_" + (num % 10), "MainScore_n" + i, _parent.DEPTH_MSCORE + i);
} else {
this.attachMovie("j_num_" + (num % 10), "MainScore_n" + i, _parent.DEPTH_MSCORE + i);
}
with (this["MainScore_n" + i]) {
_width = 12;
_height = 14;
_x = 130 - (i * _width);
_y = 59;
}
n = n * 10;
}
i++;
}
}
if (_parent.GOverFlg == 0) {
num = _parent.NowStage;
if (num > 49) {
num = 49;
}
if (bef_lv != num) {
bef_lv = num;
if (_parent.LaFlg == 0) {
this.attachMovie("num_" + ((num + 1) % 10), "level_num0", _parent.DEPTH_LEVEL + 1);
} else {
this.attachMovie("j_num_" + ((num + 1) % 10), "level_num0", _parent.DEPTH_LEVEL + 1);
}
with (this.level_num0) {
_width = 16;
_height = 16;
_x = 196;
_y = 115;
}
if (num >= 9) {
if (_parent.LaFlg == 0) {
this.attachMovie("num_" + (Math.floor((num + 1) / 10) % 10), "level_num1", _parent.DEPTH_LEVEL + 2);
} else {
this.attachMovie("j_num_" + (Math.floor((num + 1) / 10) % 10), "level_num1", _parent.DEPTH_LEVEL + 2);
}
with (this.level_num1) {
_width = 16;
_height = 16;
_x = 196 - _width;
_y = 115;
}
}
}
} else {
if (this.level_num0 != null) {
this.level_num0.removeMovieClip();
}
if (this.level_num1 != null) {
this.level_num1.removeMovieClip();
}
if (_parent.CompleteFlg == 0) {
if (_parent.LaFlg == 0) {
if (this.level_pic._x != 70) {
this.attachMovie("gameover", "level_pic", _parent.DEPTH_LEVEL);
with (this.level_pic) {
_x = 70;
_y = 144;
}
}
} else if (this.level_pic._x != 95) {
this.attachMovie("j_gameover", "level_pic", _parent.DEPTH_LEVEL);
with (this.level_pic) {
_x = 95;
_y = 144;
}
}
} else if (_parent.CompleteFlg == 1) {
if (_parent.LaFlg == 0) {
if (this.level_pic._x != 73) {
this.attachMovie("gameclear", "level_pic", _parent.DEPTH_LEVEL);
with (this.level_pic) {
_x = 73;
_y = 144;
}
}
} else if (this.level_pic._x != 98) {
this.attachMovie("j_gameclear", "level_pic", _parent.DEPTH_LEVEL);
with (this.level_pic) {
_x = 98;
_y = 144;
}
}
}
}
this.use_weapon.gotoAndPlay("it" + _parent.Pl_WepEq[0]);
if ((_parent.Pl_WepUse[0] > 0) && (_parent.Pl_WepEq[0] != 0)) {
if (bef_wnum != _parent.Pl_WepUse[0]) {
bef_wnum = _parent.Pl_WepUse[0];
if (_parent.LaFlg == 0) {
this.attachMovie("num_" + (_parent.Pl_WepUse[0] % 10), "use_weapon_n1", _parent.DEPTH_EQWEP + 1);
} else {
this.attachMovie("j_num_" + (_parent.Pl_WepUse[0] % 10), "use_weapon_n1", _parent.DEPTH_EQWEP + 1);
}
with (this.use_weapon_n1) {
_width = 12;
_height = 16;
_x = _parent._parent.R_END - 8;
_y = 62;
}
if (_parent.Pl_WepUse[0] >= 10) {
if (_parent.LaFlg == 0) {
this.attachMovie("num_" + Math.floor(_parent.Pl_WepUse[0] / 10), "use_weapon_n2", _parent.DEPTH_EQWEP + 2);
} else {
this.attachMovie("j_num_" + Math.floor(_parent.Pl_WepUse[0] / 10), "use_weapon_n2", _parent.DEPTH_EQWEP + 2);
}
with (this.use_weapon_n2) {
_width = 12;
_height = 16;
_x = (_parent._parent.R_END - 8) - _width;
_y = 62;
}
} else if (this.use_weapon_n2 != null) {
this.use_weapon_n2.removeMovieClip();
}
}
} else {
bef_wnum = -1;
_parent.Pl_WepEq[0] = 0;
if (this.use_weapon_n1 != null) {
this.use_weapon_n1.removeMovieClip();
}
if (this.use_weapon_n2 != null) {
this.use_weapon_n2.removeMovieClip();
}
}
};
this.onUnload = function () {
var _local2;
if (this.ScorePic != null) {
this.ScorePic.removeMovieClip();
}
_local2 = 0;
while (_local2 < 8) {
if (this["MainScore_n" + _local2] != null) {
this["MainScore_n" + _local2].removeMovieClip();
}
_local2++;
}
if (this.level_pic != null) {
this.level_pic.removeMovieClip();
}
if (this.level_num0 != null) {
this.level_num0.removeMovieClip();
}
if (this.level_num1 != null) {
this.level_num1.removeMovieClip();
}
_local2 = 0;
while (_local2 < 5) {
if (this["life" + _local2] != null) {
this["life" + _local2].removeMovieClip();
}
_local2++;
}
if (this.life_c != null) {
this.life_c.removeMovieClip();
}
if (this.use_weapon != null) {
this.use_weapon.removeMovieClip();
}
if (this.use_weapon_n1 != null) {
this.use_weapon_n1.removeMovieClip();
}
if (this.use_weapon_n2 != null) {
this.use_weapon_n2.removeMovieClip();
}
};
Symbol 1791 MovieClip [status0] Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1800 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
n = _root.PauseStop();
if (n == 0) {
ac++;
}
gotoAndStop(ac);
};
Symbol 1800 MovieClip Frame 32
stop();
Symbol 1811 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
n = _root.PauseStop();
if (n == 0) {
ac++;
}
gotoAndStop(ac);
};
Symbol 1811 MovieClip Frame 34
stop();
Symbol 1812 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
n = _root.PauseStop();
if (n == 0) {
ac++;
}
gotoAndStop(ac);
};
Symbol 1812 MovieClip Frame 32
stop();
Symbol 1813 MovieClip Frame 1
ac = 1;
this.onEnterFrame = function () {
n = _root.PauseStop();
if (n == 0) {
ac++;
}
gotoAndStop(ac);
};
Symbol 1813 MovieClip Frame 34
stop();
Symbol 1814 MovieClip [bonus_all] Frame 1
gnow = -1;
this.onEnterFrame = function () {
if (_root.SndFlg == 0) {
if (_root.LaFlg == 0) {
if (gnow != 0) {
gnow = 0;
gotoAndPlay ("us");
}
} else if (gnow != 1) {
gnow = 1;
gotoAndPlay ("jp");
}
} else if (_root.LaFlg == 0) {
if (gnow != 2) {
gnow = 2;
gotoAndPlay ("us_no");
}
} else if (gnow != 3) {
gnow = 3;
gotoAndPlay ("jp_no");
}
};
Symbol 1814 MovieClip [bonus_all] Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1814 MovieClip [bonus_all] Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1814 MovieClip [bonus_all] Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 1814 MovieClip [bonus_all] Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1814 MovieClip [bonus_all] Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 1842 MovieClip Frame 35
stop();
Symbol 1843 MovieClip [life] Frame 1
lflg = -1;
this.onEnterFrame = function () {
lf = this.getDepth() - (_parent._parent.DEPTH_LIFE + 1);
if (_parent._parent.Pl_life < lf) {
if (lflg != 1) {
lflg = 1;
gotoAndPlay ("life2");
}
}
};
Symbol 1843 MovieClip [life] Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1843 MovieClip [life] Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1848 MovieClip Frame 1
this.onEnterFrame = function () {
no = _root.BgChangeCheck();
if (no != -1) {
gotoAndPlay(no);
}
};
Symbol 1859 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if ((_parent.Startmenu_sele == _parent.STARTMENU_MENU) && (_parent.menu_count > 0)) {
if (_parent.LaFlg == 0) {
if (gnum != 2) {
gnum = 2;
this.gotoAndPlay("click");
}
} else if (gnum != 12) {
gnum = 12;
this.gotoAndPlay("j_click");
}
} else if (_parent.Startmenu_sele == _parent.STARTMENU_MENU) {
if (_parent.LaFlg == 0) {
if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("select");
}
} else if (gnum != 11) {
gnum = 11;
this.gotoAndPlay("j_select");
}
} else if (_parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 10) {
gnum = 10;
this.gotoAndPlay("j_wait");
}
};
Symbol 1859 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1859 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1859 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 1859 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1859 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 1859 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1859 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 1870 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if ((_parent.Startmenu_sele == _parent.STARTMENU_HOWTO) && (_parent.menu_count > 0)) {
if (_parent.LaFlg == 0) {
if (gnum != 2) {
gnum = 2;
this.gotoAndPlay("click");
}
} else if (gnum != 12) {
gnum = 12;
this.gotoAndPlay("j_click");
}
} else if (_parent.Startmenu_sele == _parent.STARTMENU_HOWTO) {
if (_parent.LaFlg == 0) {
if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("select");
}
} else if (gnum != 11) {
gnum = 11;
this.gotoAndPlay("j_select");
}
} else if (_parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 10) {
gnum = 10;
this.gotoAndPlay("j_wait");
}
};
Symbol 1870 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1870 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1870 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 1870 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1870 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 1870 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1870 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 1883 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if ((_parent.Startmenu_sele == _parent.STARTMENU_OPTION) && (_parent.menu_count > 0)) {
if (_parent.LaFlg == 0) {
if (gnum != 2) {
gnum = 2;
this.gotoAndPlay("click");
}
} else if (gnum != 12) {
gnum = 12;
this.gotoAndPlay("j_click");
}
} else if (_parent.Startmenu_sele == _parent.STARTMENU_OPTION) {
if (_parent.LaFlg == 0) {
if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("select");
}
} else if (gnum != 11) {
gnum = 11;
this.gotoAndPlay("j_select");
}
} else if (_parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 10) {
gnum = 10;
this.gotoAndPlay("j_wait");
}
};
Symbol 1883 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1883 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1883 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 1883 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1883 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 1883 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1883 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 1912 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if (_parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("wait_jp");
}
};
Symbol 1912 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1912 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1912 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 1923 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if ((_parent.StageRaFlg == _parent.DIFFICULTY_EASY) && (_parent.menu_count > 0)) {
if (_parent.LaFlg == 0) {
if (gnum != 2) {
gnum = 2;
this.gotoAndPlay("click");
}
} else if (gnum != 12) {
gnum = 12;
this.gotoAndPlay("j_click");
}
} else if (_parent.StageRaFlg == _parent.DIFFICULTY_EASY) {
if (_parent.LaFlg == 0) {
if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("select");
}
} else if (gnum != 11) {
gnum = 11;
this.gotoAndPlay("j_select");
}
} else if (_parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 10) {
gnum = 10;
this.gotoAndPlay("j_wait");
}
};
Symbol 1923 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1923 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1923 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 1923 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1923 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 1923 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1923 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 1934 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if ((_parent.StageRaFlg == _parent.DIFFICULTY_NORMAL) && (_parent.menu_count > 0)) {
if (_parent.LaFlg == 0) {
if (gnum != 2) {
gnum = 2;
this.gotoAndPlay("click");
}
} else if (gnum != 12) {
gnum = 12;
this.gotoAndPlay("j_click");
}
} else if (_parent.StageRaFlg == _parent.DIFFICULTY_NORMAL) {
if (_parent.LaFlg == 0) {
if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("select");
}
} else if (gnum != 11) {
gnum = 11;
this.gotoAndPlay("j_select");
}
} else if (_parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 10) {
gnum = 10;
this.gotoAndPlay("j_wait");
}
};
Symbol 1934 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1934 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1934 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 1934 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1934 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 1934 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1934 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 1945 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if ((_parent.StageRaFlg == _parent.DIFFICULTY_HARD) && (_parent.menu_count > 0)) {
if (_parent.LaFlg == 0) {
if (gnum != 2) {
gnum = 2;
this.gotoAndPlay("click");
}
} else if (gnum != 12) {
gnum = 12;
this.gotoAndPlay("j_click");
}
} else if (_parent.StageRaFlg == _parent.DIFFICULTY_HARD) {
if (_parent.LaFlg == 0) {
if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("select");
}
} else if (gnum != 11) {
gnum = 11;
this.gotoAndPlay("j_select");
}
} else if (_parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 10) {
gnum = 10;
this.gotoAndPlay("j_wait");
}
};
Symbol 1945 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1945 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1945 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 1945 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1945 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 1945 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1945 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 1956 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if (((_parent.StageRaFlg == _parent.DIFFICULTY_BACK) || (_parent.Startmenu_sele == _parent.STARTMENU_BACK)) && (_parent.menu_count > 0)) {
if (_parent.LaFlg == 0) {
if (gnum != 2) {
gnum = 2;
this.gotoAndPlay("click");
}
} else if (gnum != 12) {
gnum = 12;
this.gotoAndPlay("j_click");
}
} else if ((_parent.StageRaFlg == _parent.DIFFICULTY_BACK) || (_parent.Startmenu_sele == _parent.STARTMENU_BACK)) {
if (_parent.LaFlg == 0) {
if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("select");
}
} else if (gnum != 11) {
gnum = 11;
this.gotoAndPlay("j_select");
}
} else if (_parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 10) {
gnum = 10;
this.gotoAndPlay("j_wait");
}
};
Symbol 1956 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1956 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1956 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 1956 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1956 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 1956 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1956 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 1963 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.LaFlg == 0) {
this.gotoAndPlay("wait");
} else {
this.gotoAndPlay("j_wait");
}
};
Symbol 1963 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1963 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1963 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 1974 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if ((_parent.Startmenu_sele == _parent.STARTMENU_HSCORE) && (_parent.menu_count > 0)) {
if (_parent.LaFlg == 0) {
if (gnum != 2) {
gnum = 2;
this.gotoAndPlay("click");
}
} else if (gnum != 12) {
gnum = 12;
this.gotoAndPlay("j_click");
}
} else if (_parent.Startmenu_sele == _parent.STARTMENU_HSCORE) {
if (_parent.LaFlg == 0) {
if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("select");
}
} else if (gnum != 11) {
gnum = 11;
this.gotoAndPlay("j_select");
}
} else if (_parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 10) {
gnum = 10;
this.gotoAndPlay("j_wait");
}
};
Symbol 1974 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1974 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1974 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 1974 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1974 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 1974 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1974 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 1997 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if (_parent.SndFlg == 0) {
if ((_parent.Startmenu_sele == _parent.STARTMENU_SOUND) && (_parent.menu_count > 0)) {
if (_parent.LaFlg == 0) {
if (gnum != 2) {
gnum = 2;
this.gotoAndPlay("click");
}
} else if (gnum != 12) {
gnum = 12;
this.gotoAndPlay("j_click");
}
} else if (_parent.Startmenu_sele == _parent.STARTMENU_SOUND) {
if (_parent.LaFlg == 0) {
if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("select");
}
} else if (gnum != 11) {
gnum = 11;
this.gotoAndPlay("j_select");
}
} else if (_parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 10) {
gnum = 10;
this.gotoAndPlay("j_wait");
}
} else if ((_parent.Startmenu_sele == _parent.STARTMENU_SOUND) && (_parent.menu_count > 0)) {
if (_parent.LaFlg == 0) {
if (gnum != 5) {
gnum = 5;
this.gotoAndPlay("click2");
}
} else if (gnum != 15) {
gnum = 15;
this.gotoAndPlay("j_click2");
}
} else if (_parent.Startmenu_sele == _parent.STARTMENU_SOUND) {
if (_parent.LaFlg == 0) {
if (gnum != 4) {
gnum = 4;
this.gotoAndPlay("select2");
}
} else if (gnum != 14) {
gnum = 14;
this.gotoAndPlay("j_select2");
}
} else if (_parent.LaFlg == 0) {
if (gnum != 3) {
gnum = 3;
this.gotoAndPlay("wait2");
}
} else if (gnum != 13) {
gnum = 13;
this.gotoAndPlay("j_wait2");
}
};
Symbol 1997 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 1997 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 1997 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 1997 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 1997 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 1997 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 1997 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 1997 MovieClip Frame 24
gotoAndPlay(_currentframe - 1);
Symbol 1997 MovieClip Frame 27
gotoAndPlay(_currentframe - 1);
Symbol 1997 MovieClip Frame 30
gotoAndPlay(_currentframe - 1);
Symbol 1997 MovieClip Frame 33
gotoAndPlay(_currentframe - 1);
Symbol 1997 MovieClip Frame 36
gotoAndPlay(_currentframe - 1);
Symbol 1997 MovieClip Frame 39
gotoAndPlay(_currentframe - 1);
Symbol 2014 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if ((_parent.Startmenu_sele == _parent.STARTMENU_LANGUAGE) && (_parent.menu_count > 0)) {
if (_parent.LaFlg == 0) {
if (gnum != 2) {
gnum = 2;
this.gotoAndPlay("click");
}
} else if (gnum != 12) {
gnum = 12;
this.gotoAndPlay("j_click");
}
} else if (_parent.Startmenu_sele == _parent.STARTMENU_LANGUAGE) {
if (_parent.LaFlg == 0) {
if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("select");
}
} else if (gnum != 11) {
gnum = 11;
this.gotoAndPlay("j_select");
}
} else if (_parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 10) {
gnum = 10;
this.gotoAndPlay("j_wait");
}
};
Symbol 2014 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 2014 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 2014 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 2014 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 2014 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 2014 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 2014 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 2025 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if ((_parent.Startmenu_sele == _parent.STARTMENU_SSCORE) && (_parent.menu_count > 0)) {
if (_parent.LaFlg == 0) {
if (gnum != 2) {
gnum = 2;
this.gotoAndPlay("click");
}
} else if (gnum != 12) {
gnum = 12;
this.gotoAndPlay("j_click");
}
} else if (_parent.Startmenu_sele == _parent.STARTMENU_SSCORE) {
if (_parent.LaFlg == 0) {
if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("select");
}
} else if (gnum != 11) {
gnum = 11;
this.gotoAndPlay("j_select");
}
} else if (_parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 10) {
gnum = 10;
this.gotoAndPlay("j_wait");
}
};
Symbol 2025 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 2025 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 2025 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 2025 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 2025 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 2025 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 2025 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 2026 MovieClip Frame 1
var gnum = -1;
this.onEnterFrame = function () {
if ((_parent.Startmenu_sele == _parent.STARTMENU_TITLE) && (_parent.menu_count > 0)) {
if (_parent.LaFlg == 0) {
if (gnum != 2) {
gnum = 2;
this.gotoAndPlay("click");
}
} else if (gnum != 12) {
gnum = 12;
this.gotoAndPlay("j_click");
}
} else if (_parent.Startmenu_sele == _parent.STARTMENU_TITLE) {
if (_parent.LaFlg == 0) {
if (gnum != 1) {
gnum = 1;
this.gotoAndPlay("select");
}
} else if (gnum != 11) {
gnum = 11;
this.gotoAndPlay("j_select");
}
} else if (_parent.LaFlg == 0) {
if (gnum != 0) {
gnum = 0;
this.gotoAndPlay("wait");
}
} else if (gnum != 10) {
gnum = 10;
this.gotoAndPlay("j_wait");
}
};
Symbol 2026 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 2026 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 2026 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 2026 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 2026 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 2026 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 2026 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 2091 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.LaFlg == 0) {
this.gotoAndPlay("howto_menu" + _parent.HowToPage);
} else {
this.gotoAndPlay("j_howto_menu" + _parent.HowToPage);
}
};
Symbol 2091 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 2091 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 2091 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 2091 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 2091 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 2091 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 2091 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 2091 MovieClip Frame 24
gotoAndPlay(_currentframe - 1);
Symbol 2091 MovieClip Frame 27
gotoAndPlay(_currentframe - 1);
Symbol 2091 MovieClip Frame 30
gotoAndPlay(_currentframe - 1);
Symbol 2091 MovieClip Frame 33
gotoAndPlay(_currentframe - 1);
Symbol 2105 MovieClip Frame 1
Symbol 2106 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.HowToPage >= 4) {
this.gotoAndPlay("howto_key5");
} else if (_parent.HowToPage == 3) {
if (((_parent.P3_FLG0S < _parent.HowToCtt) && (_parent.HowToCtt < _parent.P3_FLG0E)) || ((_parent.P3_FLG1S < _parent.HowToCtt) && (_parent.HowToCtt < _parent.P3_FLG1E))) {
this.gotoAndPlay("howto_key1");
} else {
this.gotoAndPlay("howto_key0");
}
} else if (_parent.HowToPage == 2) {
if ((_parent.P2_FLG0S < _parent.HowToCtt) && (_parent.HowToCtt < _parent.P2_FLG0E)) {
this.gotoAndPlay("howto_key4");
} else {
this.gotoAndPlay("howto_key0");
}
} else if (_parent.HowToPage == 1) {
if ((_parent.P1_FLG0S < _parent.HowToCtt) && (_parent.HowToCtt < _parent.P1_FLG0E)) {
this.gotoAndPlay("howto_key2");
} else if ((_parent.P1_FLG1S < _parent.HowToCtt) && (_parent.HowToCtt < _parent.P1_FLG1E)) {
this.gotoAndPlay("howto_key3");
} else if ((_parent.P1_FLG2S < _parent.HowToCtt) && (_parent.HowToCtt < _parent.P1_FLG2E)) {
this.gotoAndPlay("howto_key2");
} else {
this.gotoAndPlay("howto_key0");
}
} else if (_parent.HowToPage == 0) {
this.gotoAndPlay("howto_key0");
}
};
Symbol 2106 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 2106 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 2106 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 2106 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 2106 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 2106 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.LaFlg == 0) {
if (_parent.HowToPage < 4) {
if (_parent.HowToSele == 0) {
if (_parent.HowToChange == 0) {
this.gotoAndPlay("howto_but1");
} else {
this.gotoAndPlay("howto_but2");
}
} else if (_parent.HowToChange == 0) {
this.gotoAndPlay("howto_but3");
} else {
this.gotoAndPlay("howto_but4");
}
} else if (_parent.HowToSele == 0) {
if (_parent.HowToChange == 0) {
this.gotoAndPlay("howto_but5");
} else {
this.gotoAndPlay("howto_but6");
}
} else if (_parent.HowToChange == 0) {
this.gotoAndPlay("howto_but7");
} else {
this.gotoAndPlay("howto_but8");
}
} else if (_parent.HowToPage < 4) {
if (_parent.HowToSele == 0) {
if (_parent.HowToChange == 0) {
this.gotoAndPlay("j_howto_but1");
} else {
this.gotoAndPlay("j_howto_but2");
}
} else if (_parent.HowToChange == 0) {
this.gotoAndPlay("j_howto_but3");
} else {
this.gotoAndPlay("j_howto_but4");
}
} else if (_parent.HowToSele == 0) {
if (_parent.HowToChange == 0) {
this.gotoAndPlay("j_howto_but5");
} else {
this.gotoAndPlay("j_howto_but6");
}
} else if (_parent.HowToChange == 0) {
this.gotoAndPlay("j_howto_but7");
} else {
this.gotoAndPlay("j_howto_but8");
}
};
Symbol 2137 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 9
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 12
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 15
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 18
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 21
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 24
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 27
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 30
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 33
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 36
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 39
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 42
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 45
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 48
gotoAndPlay(_currentframe - 1);
Symbol 2137 MovieClip Frame 51
gotoAndPlay(_currentframe - 1);