Frame 1
play();
First = 0;
Spawn = 0;
Checkpoint = 1;
Frame 2
ifFrameLoaded (289) {
gotoAndPlay (5);
}
play();
Frame 4
gotoAndPlay (2);
Frame 5
play();
Frame 7
stop();
Frame 18
stop();
Frame 25
play();
Frame 36
Life = 500;
Frame 118
play();
Elevator = 1;
Slide = 0;
EnemyAttack = 0;
if (Number(First) == 0) {
if ((Number(Weapon) < 1) or (5 < Number(Weapon))) {
Weapon = 1;
}
Music = 0;
tellTarget ("/Talking") {
gotoAndPlay (1);
};
MX = 50;
MY = 530;
if (Number(Checkpoint) == 1) {
Diff = 2;
Debug = 1;
Weapon = 5;
SpecialMode = 0;
Weapon = 4;
Screen = 11;
MV = 0;
Falling = 2;
Facing = 1;
}
if (Number(Checkpoint) == 2) {
Diff = 2;
Debug = 1;
Weapon = 5;
SpecialMode = 0;
Weapon = 4;
Screen = 13;
MV = 0;
Falling = 2;
Facing = 1;
}
First = 1;
ShotMax = 1;
EnemyMax = 5;
if (0 >= Number(Life)) {
Life = 500;
}
if (Number(Diff) == 1) {
Damage = 50;
Roll = 90;
Constant = 11;
D = "E";
}
if (Number(Diff) == 2) {
Damage = 100;
Roll = 100;
Constant = 13;
D = "E";
}
if (Number(Diff) == 3) {
Damage = 100;
Roll = 120;
Constant = 15;
D = "H";
}
Ammo1 = 0;
Ammo2 = 0;
Ammo3 = 0;
Ammo4 = 0;
}
if ((Number(SpecialMode) == 1) or (Number(SpecialMode) == 4)) {
Roll = 0;
}
if (Number(SpecialMode) == 2) {
Damage = 0;
}
if (Number(SpecialMode) == 3) {
Roll = 29;
}
Condiag = Constant * 0.7077106;
CI = 0;
Stun = 2;
if (((((Number(Screen) == 2435) or (Number(Screen) == 1931)) or (Number(Screen) == 2031)) or (Number(Screen) == 1825)) or (Number(Screen) == 1725)) {
Location = 1;
}
if (Number(Screen) == 1625) {
Location = 2;
}
if (Number(Screen) == 973) {
Location = 4;
gotoAndPlay (118);
}
play();
N = 1;
while (13 >= Number(N)) {
Set("IX" add n, -1000);
Set("IY" add n, -1000);
Set("ISX" add n, 0);
Set("ISY" add n, 0);
N = Number(N) + 1;
}
MaxShot = 1;
Wind = 0;
Snap = 5;
DoubleJump = 0;
ValidMove = 0;
SY0 = -10000;
SY0 = -10000;
N = 1;
while (Number(N) < 8) {
Set("SX" add n, -1000);
Set("SY" add n, -1000);
Set("ST" add n, 0);
Set("S" add n, 0);
N = Number(N) + 1;
}
Damage1 = 2.5;
Damage2 = 1.25;
Damage3 = 6.00001;
Damage4 = 6;
Damage5 = 10;
W1Speed = 25;
W2Speed = 30;
W3Speed = 15;
WSpeed = 15;
W1Diag = W1Speed * 0.7077106;
W2Diag = W2Speed * 0.7077106;
W3Diag = W3Speed * 0.7077106;
WDiag = WSpeed * 0.7077106;
Changed = 1;
MFire = 0;
if (Number(SpecialMode) == 4) {
Damage = 500;
Damage1 = 50;
Damage2 = 51;
Damage3 = 52;
Damage4 = 53;
Damage5 = 50;
}
N = 1;
while (6 >= Number(N)) {
Set("KX" add N, -10000);
Set("KY" add N, -10000);
Set("KType" add N, 0);
Set("KVX" add N, 0);
Set("KHY" add N, 0);
Set("KHY" add N, 0);
Set("KV" add N, 0);
Set("KL" add N, -100);
Set("KT" add N, random(30));
N = Number(N) + 1;
}
EnemyMax = 1;
X = "S";
Alert = 0;
KX0 = -1000;
KY0 = -1000;
KW0 = 10;
KH0 = 10;
Width = 10;
Height = 90;
Movement = 0;
Special = 0;
ChangeDelay = 0;
Exit = 0;
AviorSpecial = 0;
if (Number(SpecialMode) == 3) {
if (Number(Screen) == 1313) {
Ammo1 = 0;
Ammo2 = 100;
Ammo3 = 0;
Ammo4 = 0;
if (Number(Diff) == 3) {
Ammo2 = 350;
}
}
if (Number(Screen) == 805) {
Ammo1 = 0;
Ammo2 = 0;
Ammo3 = 5;
Ammo4 = 0;
}
if ((Number(Screen) == 805) and (Number(Checkpoint) < 10)) {
Ammo1 = 0;
Ammo2 = 150;
Ammo3 = 0;
Ammo4 = 0;
if (Number(Diff) == 3) {
Ammo2 = 350;
}
}
if (Number(Screen) == 151) {
Ammo1 = 0;
Ammo2 = 0;
Ammo3 = 0;
Ammo4 = 25;
if (Number(Diff) == 3) {
Ammo4 = 50;
}
}
if (Number(Screen) == 553) {
Ammo1 = 0;
Ammo2 = 0;
Ammo3 = 0;
Ammo4 = 25;
if (Number(Diff) == 3) {
Ammo4 = 50;
}
}
if (Number(Screen) == 971) {
Ammo1 = 0;
Ammo2 = 0;
Ammo3 = 0;
Ammo4 = 25;
}
if (Number(Screen) == 1145) {
Ammo1 = 50;
Ammo2 = 0;
Ammo3 = 0;
Ammo4 = 0;
}
if (Number(Screen) == 1549) {
Ammo1 = 100;
Ammo2 = 0;
Ammo3 = 0;
Ammo4 = 0;
if (Number(Diff) == 3) {
Ammo1 = 150;
}
}
if (Number(Screen) == 1931) {
Ammo1 = 100;
Ammo2 = 0;
Ammo3 = 0;
Ammo4 = 0;
}
if (Number(Screen) == 1929) {
Ammo1 = 100;
Ammo2 = 0;
Ammo3 = 0;
Ammo4 = 0;
}
if (Number(Screen) == 1611) {
Ammo1 = 50;
Ammo2 = 0;
Ammo3 = 0;
Ammo4 = 0;
}
if (Number(Screen) == 1609) {
Ammo1 = 0;
Ammo2 = 0;
Ammo3 = 50;
Ammo4 = 0;
if (Number(Diff) == 3) {
Ammo3 = 60;
}
}
}
Frame 119
if (Number(MX) < 200) {
DoorLeft = 1;
}
if (600 < Number(MX)) {
DoorRight = 1;
}
Left = 0;
Up = 0;
Down = 0;
Right = 0;
Jump = 0;
Attack = 0;
tellTarget ("/S") {
gotoAndStop(int(/:Screen));
};
tellTarget ("/SG") {
gotoAndStop(int(/:Screen));
};
tellTarget ("/SF") {
gotoAndStop(int(/:Screen));
};
MPlat = 0;
Frame 120
Test = 0;
MCeil = 0;
N = 1;
while (Number(N) < 99) {
Test = eval (("_level0/S/C" add N) add ":E");
if (Number(Test) == 1) {
MCeil = N;
} else {
N = 99;
}
N = Number(N) + 1;
}
N = 1;
while (Number(MCeil) >= Number(N)) {
Set("CL" add N, eval (("_level0/S/C" add N) add ":X"));
Set("CY" add N, eval (("_level0/S/C" add N) add ":Y"));
Set("CR" add N, eval (("_level0/S/CR" add N) add ":X"));
N = Number(N) + 1;
}
Test = 0;
MPlat = 0;
N = 1;
if ((Number(Special) == 1) or (Number(Special) == 4)) {
Set("PL" add N, eval (("_level0/SMap/P" add N) add ":X"));
Set("PY" add N, eval (("_level0/SMap/P" add N) add ":Y"));
Set("PR" add N, eval (("_level0/SMap/PR" add N) add ":X"));
MPlat = 1;
N = 2;
}
while (Number(N) < 99) {
Test = eval (("_level0/S/P" add N) add ":E");
if (Number(Test) == 1) {
MPlat = N;
} else {
N = 99;
}
N = Number(N) + 1;
}
N = 1;
if ((Number(Special) == 1) or (Number(Special) == 4)) {
N = 2;
}
while (Number(MPlat) >= Number(N)) {
Set("PL" add N, eval (("_level0/S/P" add N) add ":X"));
Set("PY" add N, eval (("_level0/S/P" add N) add ":Y"));
Set("PYL" add N, eval (("_level0/S/P" add N) add ":Y"));
Set("PYR" add N, eval (("_level0/S/PR" add N) add ":Y"));
Set("PR" add N, eval (("_level0/S/PR" add N) add ":X"));
N = Number(N) + 1;
}
Test = 0;
MWall = 0;
N = 1;
if ((Number(Special) == 2) or (Number(Special) == 4)) {
Set("WX" add N, eval (("_level0/SMap/W" add N) add ":X"));
Set("WT" add N, eval (("_level0/SMap/W" add N) add ":Y"));
Set("WB" add N, eval (("_level0/SMap/WB" add N) add ":Y"));
Set("WF" add N, eval (("_level0/SMap/W" add N) add ":F"));
N = 2;
Set("WX" add N, eval (("_level0/SMap/W" add N) add ":X"));
Set("WT" add N, eval (("_level0/SMap/W" add N) add ":Y"));
Set("WB" add N, eval (("_level0/SMap/WB" add N) add ":Y"));
Set("WF" add N, eval (("_level0/SMap/W" add N) add ":F"));
N = 3;
MWall = 2;
}
while (Number(N) < 99) {
Test = eval (("_level0/S/W" add N) add ":E");
if (Number(Test) == 1) {
MWall = N;
} else {
N = 99;
}
N = Number(N) + 1;
}
N = 1;
if ((Number(Special) == 2) or (Number(Special) == 4)) {
N = 3;
}
while (Number(MWall) >= Number(N)) {
Set("WX" add N, eval (("_level0/S/W" add N) add ":X"));
Set("WT" add N, eval (("_level0/S/W" add N) add ":Y"));
Set("WB" add N, eval (("_level0/S/WB" add N) add ":Y"));
Set("WF" add N, eval (("_level0/S/W" add N) add ":F"));
N = Number(N) + 1;
}
if ((Number(Key1) == 0) and (Number(Screen) == 621)) {
KX0 = 553;
KY0 = 390;
tellTarget ("/K0") {
gotoAndStop (29);
};
}
if ((Number(Key2) == 0) and (Number(Screen) == 1219)) {
KX0 = 415;
KY0 = 500;
tellTarget ("/K0") {
gotoAndStop (29);
};
}
if ((Number(Key3) == 0) and (Number(Screen) == 533)) {
KX0 = 626;
KY0 = 400;
tellTarget ("/K0") {
gotoAndStop (29);
};
}
if (Number(MX) < 200) {
DoorLeft = 1;
}
if (600 < Number(MX)) {
DoorRight = 1;
}
if (((Number(Special) == 1) or (Number(Special) == 2)) or (Number(Special) == 4)) {
tellTarget ("/SMap") {
gotoAndStop(int(/:Screen));
};
}
if (Number(Spawn) == 1) {
First = 0;
Spawn = 0;
gotoAndPlay (118);
}
Frame 121
N = 1;
EnemyMax = 0;
while (Number(N) < 99) {
Test = eval ((((("_level0/" add X) add "/") add D) add N) add ":Type");
if (Number(Test) >= 1) {
EnemyMax = N;
} else {
N = 99;
}
N = Number(N) + 1;
}
if ((Number(Checkpoint) < 1) and (Number(EnemyMax) == 6)) {
EnemyMax = 5;
}
Frame 122
N = 1;
Timer = Number(Timer) + 1;
tellTarget ("/Lifebar2") {
gotoAndStop(int(/:KL1));
};
if (0 >= Number(KL1)) {
tellTarget ("/Lifebar2") {
gotoAndStop (121);
};
}
if ((0 >= Number(Life)) and (Number(-100) < Number(Life))) {
Stun = 1000;
Life = -100;
tellTarget ("/mike") {
gotoAndPlay (70);
};
tellTarget ("/Lifebar") {
gotoAndStop (501);
};
} else {
tellTarget ("/Lifebar") {
gotoAndStop(int(/:Life));
};
}
if (Number(Stun) == 950) {
Exit = 5;
stopAllSounds();
Music = 0;
}
if (((Number(SpecialMode) == 1) and (2 < Number(Life))) and (Number(Location) != 21)) {
Life = Life - SpeedDrain;
}
if (((Number(SpecialMode) == 1) and (2 < Number(Life))) and (Number(Location) == 21)) {
Life = Life - (SpeedDrain / 2);
}
if (Number(SpecialMode) != 3) {
if (Number(Weapon) != 1) {
tellTarget ("/Ammo") {
gotoAndStop (1);
};
} else {
tellTarget ("/Ammo") {
gotoAndStop (6);
};
tellTarget ("/Ammo/Charge") {
gotoAndStop(int(/:Charge / 0.1));
};
if (Number(Charge) == 0) {
tellTarget ("/Ammo/Charge") {
gotoAndStop (1);
};
}
}
} else if (Number(Weapon) != 1) {
tellTarget ("/Ammo") {
gotoAndStop(Number(_level0:Weapon) + 1);
};
} else {
tellTarget ("/Ammo") {
gotoAndStop (2);
};
tellTarget ("/Ammo/Charge") {
gotoAndStop(int(/:Charge / 0.1));
};
if (Number(Charge) == 0) {
tellTarget ("/Ammo/Charge") {
gotoAndStop (1);
};
}
}
if (Number(Checkpoint) < 4) {
tellTarget ("/Changer") {
gotoAndStop (1);
};
}
if ((Number(Checkpoint) >= 4) and (Number(Checkpoint) < 7)) {
tellTarget ("/Changer") {
gotoAndStop (2);
};
}
if ((Number(Checkpoint) >= 7) and (Number(Checkpoint) < 9)) {
tellTarget ("/Changer") {
gotoAndStop (3);
};
}
if (Number(Checkpoint) >= 9) {
tellTarget ("/Changer") {
gotoAndStop (4);
};
}
if ((((((Number(Screen) == 1029) and (Number(Checkpoint) >= 9)) and (Number(Standing) == 1)) and (Number(MY) == 407.8)) and (Number(Down) == 1)) and (Number(Elevator) == 1)) {
tellTarget ("/SMap") {
gotoAndPlay ("1029Top2");
};
Elevator = 0;
}
if ((((((Number(Screen) == 1229) and (Number(Checkpoint) >= 9)) and (Number(Standing) == 1)) and (Number(Up) == 1)) and (Number(MY) == 318.2)) and (Number(Elevator) == 1)) {
tellTarget ("/SMap") {
gotoAndPlay ("1229Up2");
};
Elevator = 0;
}
Height = 45;
Width = 10;
if (40 < Number(Stun)) {
Left = 0;
Right = 0;
}
if ((Number(Stun) < 41) and (Number(Slide) == 0)) {
if (Number(Jump) == 1) {
Jump = 2;
if ((Number(Falling) == 0) or (Number(Falling) == 3)) {
Falling = 1;
MV = 30;
tellTarget ("/Sound") {
gotoAndPlay (10);
};
}
}
if ((Number(Left) == 1) and (Number(Right) == 1)) {
Left = 0;
Right = 0;
}
if (0 < Number(WallJump)) {
Left = 0;
Right = 0;
Attack = 0;
}
if (Number(Left) == 1) {
Movement = 1;
MX = MX - 9;
}
if (Number(Right) == 1) {
Movement = 1;
MX = Number(MX) + 9;
}
if (Number(KX1) < Number(MX)) {
Facing = 1;
} else {
Facing = 2;
}
}
if ((Number(Left) == 0) and (Number(Right) == 0)) {
NoMove = 1;
} else {
NoMove = 0;
}
if (Number(Facing) == 2) {
if ((Number(Falling) == 1) or (Number(Falling) == 2)) {
if (Number(Up) == 1) {
if (Number(Right) == 1) {
Position = 8;
Aiming = 3;
} else {
Position = 10;
Aiming = 4;
}
} else if (Number(Down) == 1) {
if (Number(Right) == 1) {
Position = 5;
Aiming = 2;
} else {
Position = 6;
Aiming = 9;
}
} else {
Position = 2;
Aiming = 1;
}
} else if (Number(Movement) == 1) {
if (Number(Up) == 1) {
Position = 7;
Aiming = 3;
} else if (Number(Down) == 1) {
Position = 4;
Aiming = 2;
} else {
Position = 3;
Aiming = 1;
}
} else if (Number(Up) == 1) {
Position = 9;
Aiming = 4;
} else if (Number(Down) == 1) {
Position = 11;
Aiming = 11;
} else {
Position = 1;
Aiming = 1;
}
} else if ((Number(Falling) == 1) or (Number(Falling) == 2)) {
if (Number(Up) == 1) {
if (Number(Left) == 1) {
Position = 18;
Aiming = 7;
} else {
Position = 21;
Aiming = 8;
}
} else if (Number(Down) == 1) {
if (Number(Left) == 1) {
Position = 16;
Aiming = 6;
} else {
Position = 17;
Aiming = 10;
}
} else {
Position = 13;
Aiming = 5;
}
} else if (Number(Movement) == 1) {
if (Number(Up) == 1) {
Position = 19;
Aiming = 7;
} else if (Number(Down) == 1) {
Position = 15;
Aiming = 6;
} else {
Position = 14;
Aiming = 5;
}
} else if (Number(Up) == 1) {
Position = 20;
Aiming = 8;
} else if (Number(Down) == 1) {
Position = 22;
Aiming = 12;
} else {
Position = 12;
Aiming = 5;
}
if ((Number(Position) == 11) or (Number(Position) == 22)) {
Height = 66;
} else {
Height = 90;
}
if (Number(Weapon) == 2) {
Position = Number(Position) + 22;
}
if (Number(Weapon) == 3) {
Position = Number(Position) + 44;
}
if (Number(Weapon) == 4) {
Position = Number(Position) + 66;
}
if (Number(Weapon) == 5) {
Position = Number(Position) + 88;
}
if (0 < Number(WallJump)) {
Position = Number(200 + Number(Weapon * 2)) + Number(Facing);
}
if ((40 < Number(Stun)) and (Number(Stun) < 8000)) {
Attack = 0;
if (Number(Facing) == 2) {
Position = 110 + Number(Weapon);
} else {
Position = 115 + Number(Weapon);
}
}
tellTarget ("/mike/Spin") {
gotoAndStop(int(/:Position));
};
if (0 < Number(Slide)) {
if (Number(Facing) == 1) {
Position = 153 + Number(Weapon);
} else {
Position = 149 + Number(Weapon);
}
}
if (((SpecialMode == 3) and (0 >= eval ("Ammo" add Weapon))) and (Attack == 1)) {
Attack = 0;
}
if ((Number(Attack) == 0) and (Number(MFire) == 1)) {
MFire = 0;
tellTarget ("/SoundP") {
gotoAndStop (150);
};
}
if (0 < Number(WallJump)) {
WallJump = WallJump - 3;
}
L = 1;
while (Number(MCeil) >= Number(L)) {
if ((eval ("CY" add L) >= (MY - 90)) and (MY >= eval ("CY" add L))) {
if (((MX >= (eval ("CL" add L) - 10)) and ((eval ("CR" add L) + 10) >= MX)) and (eval ("CY" add L) < (LastY - 90))) {
MY = eval ("CY" add L) + 93;
if (0 < Number(MV)) {
MV = 0;
}
}
}
L = Number(L) + 1;
}
Standing = 0;
LastFall = Falling;
if (0 < Number(Slide)) {
IsSliding = 1;
} else {
IsSliding = 0;
}
if ((Number(Special) == 1) or (Number(Special) == 4)) {
N = 1;
Set("PL" add N, eval (("_level0/SMap/P" add N) add ":X"));
Set("PY" add N, eval (("_level0/SMap/P" add N) add ":Y"));
Set("PR" add N, eval (("_level0/SMap/PR" add N) add ":X"));
}
if (Number(Special) == 3) {
if ((Number(PL1 - 5) < Number(MX)) and (Number(MX) < Number(Number(PR1) + 5))) {
Percent = (MX - PL1) / (PR1 - PL1);
PY1 = Percent * PYR1;
Percent = 1 - Percent;
PY1 = Number(PY1) + Number(Percent * PYL1);
}
}
Land = 0;
L = 1;
while (Number(Mplat) >= Number(L)) {
if (eval ("PY" add L) < (LastY + 30)) {
if (((MY >= ((eval ("PY" add L) - Snap) - (5 * IsSliding))) and (((eval ("PY" add L) + 8) + (-1 * MV)) >= MY)) and (1 < Falling)) {
if ((MX >= (eval ("PL" add L) - 5)) and ((eval ("PR" add L) + 5) >= MX)) {
if ((Land == 0) or (eval ("PY" add L) < MY)) {
MY = eval ("PY" add L);
}
Land = 1;
Falling = 3;
MV = 0;
Standing = L;
DoubleJump = 1;
}
}
}
L = Number(L) + 1;
}
if ((Number(Special) == 5) and ((((Number(Standing) == 2) or (Number(Standing) == 4)) or (Number(Standing) == 6)) or (Number(Standing) == 8))) {
MX = MX - 3.45;
if ((Number(MX) < 0) and (Number(Facing) == 2)) {
MX = 0;
}
}
if ((Number(Special) == 5) and ((((Number(Standing) == 9) or (Number(Standing) == 3)) or (Number(Standing) == 5)) or (Number(Standing) == 7))) {
MX = Number(MX) + 3.45;
if ((800 < Number(MX)) and (Number(Facing) == 1)) {
MX = 800;
}
}
if ((Number(Falling) == 3) and (Number(Land) == 0)) {
Falling = 2;
Slide = 0;
}
if ((Number(Standing) == 1) and (Number(Wind) == 1)) {
MX = Number(MX) + 2.6;
}
if ((Number(Special) == 2) or (Number(Special) == 4)) {
N = 1;
Set("WX" add N, eval (("_level0/SMap/W" add N) add ":X"));
Set("WT" add N, eval (("_level0/SMap/W" add N) add ":Y"));
Set("WB" add N, eval (("_level0/SMap/WB" add N) add ":Y"));
Set("WF" add N, eval (("_level0/SMap/W" add N) add ":F"));
N = 2;
Set("WX" add N, eval (("_level0/SMap/W" add N) add ":X"));
Set("WT" add N, eval (("_level0/SMap/W" add N) add ":Y"));
Set("WB" add N, eval (("_level0/SMap/WB" add N) add ":Y"));
Set("WF" add N, eval (("_level0/SMap/W" add N) add ":F"));
}
WallHit = 0;
L = 1;
while (Number(MWall) >= Number(L)) {
if ((MX >= (eval ("WX" add L) - Width)) and ((eval ("WX" add L) + Width) >= MX)) {
if ((MY >= eval ("WT" add L)) and ((eval ("WB" add L) + 80) >= MY)) {
WallHit = 1;
if (eval ("WF" add L) == 1) {
MX = eval ("WX" add L) - 11;
} else {
MX = eval ("WX" add L) + 11;
}
if ((Number(LastFall) == 3) and ((Number(Special) != 1) and (Number(Special) != 4))) {
MY = LastY;
}
CI = 0;
Slide = 0;
MVX = 0;
}
}
L = Number(L) + 1;
}
N = 0;
if (eval ("ST" add N) == 1) {
Set("SW" add N, 19);
Set("SX" add N, eval ("SX" add N) - eval ("SSX" add N));
setProperty("S" add N, _x , eval ("SX" add N));
setProperty("S" add N, _y , eval ("SY" add N));
}
if (1 < eval ("ST" add N)) {
ST0 = Number(ST0) + 1;
}
if (eval ("ST" add N) == 30) {
SY0 = -10000;
SY0 = -10000;
setProperty("S" add N, _x , eval ("SX" add N));
setProperty("S" add N, _y , eval ("SY" add N));
}
N = 1;
while (Number(ShotMax) >= Number(N)) {
if (((eval ("ST" add N) == 1) or (eval ("ST" add N) == 50)) or ((190 < eval ("ST" add N)) and (201 >= eval ("ST" add N)))) {
Set("SX" add N, eval ("SX" add N) - eval ("SSX" add N));
Set("SY" add N, eval ("SY" add N) - eval ("SSY" add N));
}
if (((1 < eval ("ST" add N)) and (eval ("ST" add N) != 50)) and (eval ("ST" add N) != 201)) {
Set("ST" add N, eval ("ST" add N) + 1);
}
if ((((((((830 < eval ("SX" add N)) or (eval ("SX" add N) < -30)) or (eval ("SY" add N) < -30)) or (630 < eval ("SY" add N))) or (eval ("ST" add N) == 8)) or (eval ("ST" add N) == 70)) or (eval ("ST" add N) == 130)) or (eval ("ST" add N) == 208)) {
Set("S" add N, 0);
Set("SY" add N, 1000);
Set("SSX" add N, 0);
Set("SSY" add N, 0);
Set("ST" add N, 0);
if (Number(Number(N) + 1) == Number(ShotMax)) {
ShotMax = ShotMax - 1;
}
}
if ((((((Attack == 1) and (eval ("S" add N) == 0)) and (0 >= Dlay1)) and (N < 8)) and (CI == 0)) and (Slide == 0)) {
if ((Number(Weapon) == 1) and (Number(Charge) < 1.5)) {
Set("SW" add N, 10);
tellTarget ("S" add N) {
gotoAndStop (1);
};
tellTarget ("/SoundP") {
gotoAndStop (110);
};
}
if (((Number(Weapon) == 1) and (Number(Charge) >= 1.5)) and (3.5 >= Number(Charge))) {
Set("SW" add N, 12);
tellTarget ("S" add N) {
gotoAndStop (5);
};
tellTarget ("/SoundP") {
gotoAndPlay (160);
};
}
if (((Number(Weapon) == 1) and (Number(Charge) >= 3.5)) and (Number(Charge) < 5)) {
Set("SW" add N, 14);
tellTarget ("S" add N) {
gotoAndStop (6);
};
tellTarget ("/SoundP") {
gotoAndPlay (170);
};
}
if ((Number(Weapon) == 1) and (Number(Charge) >= 5)) {
Set("SW" add N, 19);
tellTarget ("S" add N) {
gotoAndStop (7);
};
tellTarget ("/SoundP") {
gotoAndPlay (180);
};
}
Set("S" add N, 1);
Set("SD" add N, eval ("Damage" add Weapon) + Charge);
Charge = 0;
if (Number(N) == Number(ShotMax)) {
ShotMax = Number(ShotMax) + 1;
}
tellTarget ("/mike/Spin/G") {
gotoAndPlay (2);
};
if (Number(Changed) == 1) {
tellTarget ("S" add N) {
gotoAndStop(int(/:Weapon));
};
}
if ((Number(Aiming) == 1) or (Number(Aiming) == 11)) {
setProperty("S" add N, _rotation , 0);
}
if (Number(Aiming) == 2) {
setProperty("S" add N, _rotation , 45);
}
if ((Number(Aiming) == 9) or (Number(Aiming) == 10)) {
setProperty("S" add N, _rotation , 90);
}
if (Number(Aiming) == 6) {
setProperty("S" add N, _rotation , 135);
}
if ((Number(Aiming) == 5) or (Number(Aiming) == 12)) {
setProperty("S" add N, _rotation , 180);
}
if (Number(Aiming) == 7) {
setProperty("S" add N, _rotation , 225);
}
if ((Number(Aiming) == 4) or (Number(Aiming) == 8)) {
setProperty("S" add N, _rotation , 270);
}
if (Number(Aiming) == 3) {
setProperty("S" add N, _rotation , 315);
}
tellTarget (("S" add N) add "/Missile") {
gotoAndPlay (1);
};
if (Number(Weapon) == 1) {
Alert = 1;
Ammo1 = Ammo1 - 1;
Set("SA" add N, Aiming);
Dlay1 = 9;
Attack = 0;
Set("ST" add N, 1);
if (Number(Aiming) == 1) {
Set("SSX" add N, -1 * W1Speed);
Set("SSY" add N, 0);
Set("SX" add n, Number(MX) + 36);
Set("SY" add n, MY - 56);
if (Number(Location) == 5) {
MVX = Number(MVX) + 1;
}
}
if (Number(Aiming) == 2) {
Set("SSX" add N, -1 * W1Diag);
Set("SSY" add N, -1 * W1Diag);
Set("SX" add n, Number(MX) + 33);
Set("SY" add n, MY - 34);
if (Number(Location) == 5) {
MVX = Number(MVX) + 0.5;
MV = Number(MV) + 0.5;
}
}
if (Number(Aiming) == 3) {
Set("SSX" add N, -1 * W1Diag);
Set("SSY" add N, W1Diag);
Set("SX" add n, Number(MX) + 33);
Set("SY" add n, MY - 103);
if (Number(Location) == 5) {
MVX = Number(MVX) + 0.5;
MV = MV - 0.5;
}
}
if (Number(Aiming) == 4) {
Set("SSX" add N, 0);
Set("SSY" add N, W1Speed);
Set("SX" add n, Number(MX) + 12);
Set("SY" add n, MY - 105);
if (Number(Location) == 5) {
MV = MV - 1;
}
}
if (Number(Aiming) == 5) {
Set("SSX" add N, W1Speed);
Set("SSY" add N, 0);
Set("SX" add n, MX - 36);
Set("SY" add n, MY - 56);
if (Number(Location) == 5) {
MVX = MVX - 1;
}
}
if (Number(Aiming) == 6) {
Set("SSX" add N, W1Diag);
Set("SSY" add N, -1 * W1Diag);
Set("SX" add n, MX - 33);
Set("SY" add n, MY - 34);
if (Number(Location) == 5) {
MVX = MVX - 0.5;
MV = Number(MV) + 0.5;
}
}
if (Number(Aiming) == 7) {
Set("SSX" add N, W1Diag);
Set("SSY" add N, W1Diag);
Set("SX" add n, MX - 33);
Set("SY" add n, MY - 103);
if (Number(Location) == 5) {
MVX = MVX - 0.5;
MV = MV - 0.5;
}
}
if (Number(Aiming) == 8) {
Set("SSX" add N, 0);
Set("SSY" add N, W1Speed);
Set("SX" add n, MX - 12);
Set("SY" add n, MY - 105);
if (Number(Location) == 5) {
MV = MV - 1;
}
}
if (Number(Aiming) == 9) {
Set("SSX" add N, 0);
Set("SSY" add N, -1 * W1Speed);
Set("SX" add n, Number(MX) + 1);
Set("SY" add n, Number(MY) + 6);
if (Number(Location) == 5) {
MV = Number(MV) + 1;
}
}
if (Number(Aiming) == 10) {
Set("SSX" add N, 0);
Set("SSY" add N, -1 * W1Speed);
Set("SX" add n, MX - 1);
Set("SY" add n, Number(MY) + 6);
if (Number(Location) == 5) {
MV = Number(MV) + 1;
}
}
if (Number(Aiming) == 11) {
Set("SSX" add N, -1 * W1Speed);
Set("SSY" add N, 0);
Set("SX" add n, Number(MX) + 39);
Set("SY" add n, MY - 32);
if (Number(Location) == 5) {
MVX = Number(MVX) + 1;
}
}
if (Number(Aiming) == 12) {
Set("SSX" add N, W1Speed);
Set("SSY" add N, 0);
Set("SX" add n, MX - 39);
Set("SY" add n, MY - 32);
if (Number(Location) == 5) {
MVX = MVX - 1;
}
}
}
if (Number(Weapon) == 2) {
tellTarget ("S" add N) {
gotoAndStop (8);
};
Set("ST" add N, 201);
if (Number(MFire) == 0) {
tellTarget ("/SoundP") {
gotoAndStop (120);
};
MFire = 1;
}
Ammo2 = Ammo2 - 1;
Dlay1 = 4;
Set("SW" add N, 10);
if (Number(Aiming) == 1) {
Set("SSX" add N, -1 * W2Speed);
Set("SSY" add N, 0);
Set("SX" add n, Number(MX) + 36);
Set("SY" add n, MY - 56);
}
if (Number(Aiming) == 2) {
Set("SSX" add N, -1 * W2Diag);
Set("SSY" add N, -1 * W2Diag);
Set("SX" add n, Number(MX) + 33);
Set("SY" add n, MY - 34);
}
if (Number(Aiming) == 3) {
Set("SSX" add N, -1 * W2Diag);
Set("SSY" add N, W2Diag);
Set("SX" add n, Number(MX) + 33);
Set("SY" add n, MY - 103);
}
if (Number(Aiming) == 4) {
Set("SSX" add N, 0);
Set("SSY" add N, W2Speed);
Set("SX" add n, Number(MX) + 12);
Set("SY" add n, MY - 105);
if (Number(Checkpoint) >= 10) {
Set("SX" add n, Number(MX) + 9);
}
}
if (Number(Aiming) == 5) {
Set("SSX" add N, W2Speed);
Set("SSY" add N, 0);
Set("SX" add n, MX - 36);
Set("SY" add n, MY - 56);
}
if (Number(Aiming) == 6) {
Set("SSX" add N, W2Diag);
Set("SSY" add N, -1 * W2Diag);
Set("SX" add n, MX - 33);
Set("SY" add n, MY - 34);
}
if (Number(Aiming) == 7) {
Set("SSX" add N, W2Diag);
Set("SSY" add N, W2Diag);
Set("SX" add n, MX - 33);
Set("SY" add n, MY - 103);
}
if (Number(Aiming) == 8) {
Set("SSX" add N, 0);
Set("SSY" add N, W2Speed);
Set("SX" add n, MX - 12);
Set("SY" add n, MY - 105);
if (Number(Checkpoint) >= 10) {
Set("SX" add n, MX - 11);
}
}
if (Number(Aiming) == 9) {
Set("SSX" add N, 0);
Set("SSY" add N, -1 * W2Speed);
Set("SX" add n, Number(MX) + 1);
Set("SY" add n, Number(MY) + 6);
}
if (Number(Aiming) == 10) {
Set("SSX" add N, 0);
Set("SSY" add N, -1 * W2Speed);
Set("SX" add n, MX - 1);
Set("SY" add n, Number(MY) + 6);
}
if (Number(Aiming) == 11) {
Set("SSX" add N, -1 * W2Speed);
Set("SSY" add N, 0);
Set("SX" add n, Number(MX) + 39);
Set("SY" add n, MY - 32);
if (Number(Checkpoint) >= 10) {
Set("SY" add n, MY - 33);
}
}
if (Number(Aiming) == 12) {
Set("SSX" add N, W2Speed);
Set("SSY" add N, 0);
Set("SX" add n, MX - 39);
Set("SY" add n, MY - 32);
if (Number(Checkpoint) >= 10) {
Set("SY" add n, MY - 33);
}
}
}
if (Number(Weapon) == 3) {
Alert = 1;
tellTarget ("S" add N) {
gotoAndStop (3);
};
tellTarget ("/SoundP") {
gotoAndStop (130);
};
Ammo3 = Ammo3 - 1;
Dlay1 = 20;
Attack = 0;
Set("ST" add N, 50);
Set("SW" add N, 10);
if (Number(Aiming) == 1) {
Set("SSX" add N, -1 * W3Speed);
Set("SSY" add N, 0);
Set("SX" add n, Number(MX) + 75);
Set("SY" add n, MY - 69);
if (Number(Location) == 5) {
MVX = Number(MVX) + 3;
}
}
if (Number(Aiming) == 2) {
Set("SSX" add N, -1 * W3Diag);
Set("SSY" add N, -1 * W3Diag);
Set("SX" add n, Number(MX) + 53);
Set("SY" add n, MY - 14);
if (Number(Location) == 5) {
MVX = Number(MVX) + 1.5;
MV = Number(MV) + 1.5;
}
}
if (Number(Aiming) == 3) {
Set("SSX" add N, -1 * W3Diag);
Set("SSY" add N, W3Diag);
Set("SX" add n, Number(MX) + 51);
Set("SY" add n, MY - 124);
if (Number(Location) == 5) {
MVX = Number(MVX) + 1.5;
MV = MV - 1.5;
}
}
if (Number(Aiming) == 4) {
Set("SSX" add N, 0);
Set("SSY" add N, W3Speed);
Set("SX" add n, Number(MX) + 12);
Set("SY" add n, MY - 129);
if (Number(Location) == 5) {
MV = MV - 3;
}
}
if (Number(Aiming) == 5) {
Set("SSX" add N, W3Speed);
Set("SSY" add N, 0);
Set("SX" add n, MX - 75);
Set("SY" add n, MY - 69);
if (Number(Location) == 5) {
MVX = MVX - 3;
}
}
if (Number(Aiming) == 6) {
Set("SSX" add N, W3Diag);
Set("SSY" add N, -1 * W3Diag);
Set("SX" add n, MX - 53);
Set("SY" add n, MY - 14);
if (Number(Location) == 5) {
MVX = MVX - 1.5;
MV = Number(MV) + 1.5;
}
}
if (Number(Aiming) == 7) {
Set("SSX" add N, W3Diag);
Set("SSY" add N, W3Diag);
Set("SX" add n, MX - 51);
Set("SY" add n, MY - 124);
if (Number(Location) == 5) {
MVX = MVX - 1.5;
MV = MV - 1.5;
}
}
if (Number(Aiming) == 8) {
Set("SSX" add N, 0);
Set("SSY" add N, W3Speed);
Set("SX" add n, MX - 12);
Set("SY" add n, MY - 129);
if (Number(Location) == 5) {
MV = MV - 3;
}
}
if (Number(Aiming) == 9) {
Set("SSX" add N, 0);
Set("SSY" add N, -1 * W3Speed);
Set("SX" add n, Number(MX) + 19);
Set("SY" add n, Number(MY) + 25);
if (Number(Location) == 5) {
MV = Number(MV) + 3;
}
}
if (Number(Aiming) == 10) {
Set("SSX" add N, 0);
Set("SSY" add N, -1 * W3Speed);
Set("SX" add n, MX - 19);
Set("SY" add n, Number(MY) + 25);
if (Number(Location) == 5) {
MV = Number(MV) + 3;
}
}
if (Number(Aiming) == 11) {
Set("SSX" add N, -1 * W3Speed);
Set("SSY" add N, 0);
Set("SX" add n, Number(MX) + 79);
Set("SY" add n, MY - 46);
if (Number(Location) == 5) {
MVX = Number(MVX) + 3;
}
}
if (Number(Aiming) == 12) {
Set("SSX" add N, W3Speed);
Set("SSY" add N, 0);
Set("SX" add n, MX - 79);
Set("SY" add n, MY - 46);
if (Number(Location) == 5) {
MVX = MVX - 3;
}
}
}
if (Number(Weapon) == 4) {
Alert = 1;
tellTarget ("/SoundP") {
gotoAndStop (140);
};
Ammo4 = Ammo4 - 1;
Set("ST" add N, 101);
Dlay1 = 17;
Attack = 0;
Set("SSX" add N, 0);
Set("SSY" add N, 0);
Set("SW" add N, 60);
if (Number(Aiming) == 1) {
Set("SX" add n, Number(MX) + 36);
Set("SY" add n, MY - 60);
if (Number(Location) == 5) {
MVX = Number(MVX) + 2;
}
}
if (Number(Aiming) == 2) {
Set("SX" add n, Number(MX) + 62);
Set("SY" add n, Number(MY) + 8);
if (Number(Location) == 5) {
MVX = Number(MVX) + 1;
MV = Number(MV) + 1;
}
}
if (Number(Aiming) == 3) {
Set("SX" add n, Number(MX) + 75);
Set("SY" add n, MY - 133);
if (Number(Location) == 5) {
MVX = Number(MVX) + 1;
MV = MV - 1;
}
}
if (Number(Aiming) == 4) {
Set("SX" add n, Number(MX) + 5);
Set("SY" add n, MY - 165);
if (Number(Location) == 5) {
MV = MV - 2;
}
}
if (Number(Aiming) == 5) {
Set("SX" add n, MX - 36);
Set("SY" add n, MY - 60);
if (Number(Location) == 5) {
MVX = MVX - 2;
}
}
if (Number(Aiming) == 6) {
Set("SX" add n, MX - 62);
Set("SY" add n, Number(MY) + 8);
if (Number(Location) == 5) {
MVX = MVX - 1;
MV = Number(MV) + 1;
}
}
if (Number(Aiming) == 7) {
Set("SX" add n, MX - 75);
Set("SY" add n, MY - 133);
if (Number(Location) == 5) {
MVX = MVX - 1;
MV = MV - 1;
}
}
if (Number(Aiming) == 8) {
Set("SX" add n, MX - 5);
Set("SY" add n, MY - 165);
if (Number(Location) == 5) {
MV = MV - 2;
}
}
if (Number(Aiming) == 9) {
Set("SX" add n, Number(MX) + 7);
Set("SY" add n, Number(MY) + 49);
if (Number(Location) == 5) {
MV = Number(MV) + 2;
}
}
if (Number(Aiming) == 10) {
Set("SX" add n, MX - 7);
Set("SY" add n, Number(MY) + 49);
if (Number(Location) == 5) {
MV = Number(MV) + 2;
}
}
if (Number(Aiming) == 11) {
Set("SX" add n, Number(MX) + 101);
Set("SY" add n, MY - 37);
if (Number(Location) == 5) {
MVX = Number(MVX) + 2;
}
}
if (Number(Aiming) == 12) {
Set("SX" add n, MX - 101);
Set("SY" add n, MY - 37);
if (Number(Location) == 5) {
MVX = MVX - 2;
}
}
}
}
setProperty("S" add N, _x , eval ("SX" add N));
setProperty("S" add N, _y , eval ("SY" add N));
if (eval ("SD" add N) == Damage3) {
Set("SSX" add N, eval ("SSX" add N) * 1.05);
Set("SSY" add N, eval ("SSY" add N) * 1.05);
}
N = Number(N) + 1;
}
if ((Number(ShotMax) == 1) and (Number(Changed) == 1)) {
Changed = 0;
N = 1;
while (Number(N) < 8) {
Set("SD" add N, eval ("Damage" add Weapon));
tellTarget ("S" add N) {
gotoAndStop(int(/:Weapon));
};
N = Number(N) + 1;
}
}
if (0 < Number(ChangeDelay)) {
ChangeDelay = ChangeDelay - 1;
}
Dlay1 = Dlay1 - 1;
if ((((Number(Weapon) == 1) and (Number(Charge) < 5)) and (Number(Stun) == 0)) and (Number(Dlay1) < Number(-2))) {
Charge = Number(Charge) + 0.1;
}
if ((Number(Weapon) != 1) or (20 < Number(Stun))) {
Charge = 0;
}
if (Number(SpecialMode) == 3) {
tellTarget ("/Ammo") {
gotoAndStop(int(Number(/:Weapon) + 1));
};
}
if (Number(Spawn) == 2) {
N = 1;
while (Number(N) < 5) {
Set("KType" add N, eval ((((("_level0/" add X) add "/") add D) add N) add ":Type"));
N = Number(N) + 1;
}
}
N = 1;
while (((Number(EnemyMax) >= Number(N)) and (Number(Spawn) == 0)) or ((4 >= Number(N)) and (Number(Spawn) == 2))) {
Set("KType" add N, eval ((((("_level0/" add X) add "/") add D) add N) add ":Type"));
Set("KX" add N, eval ((((("_level0/" add X) add "/") add D) add N) add ":X"));
Set("KY" add N, eval ((((("_level0/" add X) add "/") add D) add N) add ":Y"));
if (eval ("KType" add N) == 48) {
Set("KL" add N, -100);
Set("KG" add N, 0);
Set("KF" add N, 1);
Set("KFall" add N, 0);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (60);
};
Set("KW" add N, 0);
Set("KH" add N, 0);
Set("KT" add N, -1);
}
if (eval ("KType" add N) == 1) {
Set("KL" add N, 9999);
Set("KG" add N, 0);
Set("KF" add N, eval ((("_level0/S/" add D) add N) add ":F"));
Set("KFall" add N, 3);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (55);
};
Set("KW" add N, 20);
Set("KH" add N, 47);
}
if (eval ("KType" add N) == 2) {
Set("KL" add N, 9999);
Set("KG" add N, 0);
Set("KF" add N, eval ((("_level0/S/" add D) add N) add ":F"));
Set("KFall" add N, 3);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (56);
};
Set("KW" add N, 20);
Set("KH" add N, 47);
}
if (eval ("KType" add N) == 4) {
Set("KL" add N, 9999);
Set("KF" add N, 1);
Set("KG" add N, 0);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (60);
};
Set("KW" add N, 300);
Set("KH" add N, 15);
}
if (eval ("KType" add N) == 3) {
Set("KL" add N, 9999);
Set("KG" add N, 0);
Set("KF" add N, 1);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (60);
};
Set("KW" add N, 7);
Set("KH" add N, 234);
}
if (eval ("KType" add N) == 5) {
Set("KL" add N, 5);
Set("KG" add N, 1);
if (eval ("KX" add N) < MX) {
Set("KF" add N, 2);
} else {
Set("KF" add N, 1);
}
Set("KFall" add N, 2);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (27);
};
Set("KW" add N, 19);
Set("KH" add N, 28);
}
if (eval ("KType" add N) == 6) {
Set("KL" add N, 5);
Set("KG" add N, 1);
Set("KF" add N, 1);
Set("KFall" add N, 2);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (12);
};
Set("KW" add N, 28);
Set("KH" add N, 28);
}
if ((eval ("KType" add N) == 7) or (eval ("KType" add N) == 8)) {
Set("KL" add N, 6);
Set("KG" add N, 0.5);
Set("KD" add N, eval ((("_level0/S/" add D) add N) add ":F"));
if (eval ("KX" add N) < 400) {
Set("KF" add N, 2);
} else {
Set("KF" add N, 1);
}
tellTarget (("K" add N) add "/Q") {
gotoAndStop (8);
};
Set("KW" add N, 18);
Set("KH" add N, 33);
}
if ((eval ("KType" add N) >= 9) and (13 >= eval ("KType" add N))) {
Set("KT" add N, 0);
Set("KL" add N, 12);
Set("KG" add N, 0);
Set("KF" add N, eval ((("_level0/S/" add D) add N) add ":F"));
Set("KFall" add N, 1);
if (eval ("KType" add N) == 9) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (22);
};
}
if (eval ("KType" add N) == 10) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (23);
};
}
if (eval ("KType" add N) == 11) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (24);
};
}
if (eval ("KType" add N) == 12) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (25);
};
}
if (eval ("KType" add N) == 13) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (26);
};
}
Set("KW" add N, 36);
Set("KH" add N, 36);
}
if ((eval ("KType" add N) == 14) or (eval ("KType" add N) == 15)) {
Set("KL" add N, 5);
Set("KG" add N, 1);
Set("KF" add N, eval ((("_level0/S/" add D) add N) add ":F"));
Set("KFall" add N, 2);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (21);
};
if (eval ("KType" add N) == 14) {
Set("KFall" add N, 3);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (20);
};
}
Set("KW" add N, 18);
Set("KH" add N, 20);
}
if (eval ("KType" add N) == 16) {
Set("KL" add N, 5);
Set("KG" add N, 0.25);
Set("KF" add N, eval ((("_level0/S/" add D) add N) add ":F"));
Set("KFall" add N, 2);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (21);
};
Set("KW" add N, 18);
Set("KH" add N, 20);
}
if ((eval ("KType" add N) == 17) or (eval ("KType" add N) == 18)) {
Set("KT" add N, eval ((("_level0/S/" add D) add N) add ":F"));
Set("KL" add N, 15);
if (Number(Diff) == 1) {
Set("KL" add N, 7.5);
}
Set("KG" add N, 0);
if (eval ("KX" add N) < MX) {
Set("KF" add N, 2);
} else {
Set("KF" add N, 1);
}
Set("KFall" add N, 0);
Set("KW" add N, 20);
Set("KH" add N, 40);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (28);
};
}
if ((eval ("KType" add N) >= 19) and (22 >= eval ("KType" add N))) {
Set("KVY" add N, 1.95);
Set("KVYD" add N, 0);
Set("KT" add N, 30);
Set("KL" add N, 15);
Set("KG" add N, 0);
Set("KF" add N, eval ((("_level0/S/" add D) add N) add ":F"));
Set("KFall" add N, 1);
if (eval ("KType" add N) == 19) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (3);
};
}
if (eval ("KType" add N) == 20) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (4);
};
}
if (eval ("KType" add N) == 21) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (5);
};
}
if (eval ("KType" add N) == 22) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (6);
};
}
Set("KW" add N, 35);
Set("KH" add N, 35);
}
if ((eval ("KType" add N) == 23) or (eval ("KType" add N) == 24)) {
Set("KL" add N, 6);
Set("KG" add N, 0.5);
Set("KVY" add N, 4.75);
Set("KVYD" add N, 0);
Set("KVXX" add N, 4.875);
Set("KTar" add N, eval ("KY" add N));
if (eval ("KType" add N) == 23) {
Set("KVXX" add N, 4.9375);
}
Set("KVXD" add N, 0);
Set("KF" add N, 1);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (2);
};
Set("KW" add N, 18);
Set("KH" add N, 27);
}
if (eval ("KType" add N) == 25) {
Set("KL" add N, 12);
Set("KF" add N, 1);
Set("KT" add N, random(21));
Set("KTar" add N, eval ("KY" add N));
Set("KG" add N, 0.5);
Set("KFall" add N, 2);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (33);
};
Set("KW" add N, 32);
Set("KH" add N, 54);
}
if ((eval ("KType" add N) >= 26) and (30 >= eval ("KType" add N))) {
Set("KL" add N, 6);
Set("KF" add N, eval ((("_level0/S/" add D) add N) add ":F"));
Set("KT" add N, 8000);
Set("KG" add N, 0.5);
Set("KFall" add N, 2);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (29);
};
if (eval ("KType" add N) == 28) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (30);
};
}
if (eval ("KType" add N) == 29) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (31);
};
}
if (eval ("KType" add N) == 30) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (32);
};
}
Set("KW" add N, -5);
Set("KH" add N, -5);
}
if (eval ("KType" add N) == 31) {
Set("KL" add N, 6);
Set("KF" add N, eval ((("_level0/S/" add D) add N) add ":F"));
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) + random(500));
} else {
Set("KX" add N, eval ("KX" add N) - random(500));
}
Set("KT" add N, 10000);
Set("KG" add N, 0.5);
Set("KFall" add N, 2);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (29);
};
Set("KW" add N, 30);
Set("KH" add N, 30);
}
if (eval ("KType" add N) == 33) {
Set("KL" add N, 20);
Set("KF" add N, 1);
Set("KT" add N, random(21));
Set("KG" add N, 0);
Set("KFall" add N, 0);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (35);
};
Set("KW" add N, 17);
Set("KH" add N, 25);
}
if (eval ("KType" add N) == 34) {
Set("KL" add N, 24);
Set("KG" add N, 1);
Set("KF" add N, eval ((("_level0/S/" add D) add N) add ":F"));
Set("KFall" add N, 2);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (13);
};
Set("KW" add N, 79);
Set("KH" add N, 73);
}
if (eval ("KType" add N) == 35) {
Set("KX" add N, -180);
Set("KT" add N, 1);
Set("KY" add N, 428);
Set("KL" add N, 100);
Set("KF" add N, 2);
Set("KG" add N, 0);
Set("KFall" add N, 2);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (15);
};
Set("KW" add N, 143);
Set("KH" add N, 106);
}
if (eval ("KType" add N) == 36) {
Set("KX" add N, 0);
Set("KT" add N, 10);
Set("KY" add N, -99);
Set("KL" add N, 2000);
Set("KF" add N, 2);
Set("KG" add N, 0);
Set("KFall" add N, 2);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (16);
};
Set("KW" add N, 18);
Set("KH" add N, 15);
}
if ((eval ("KType" add N) == 37) or (eval ("KType" add N) == 44)) {
Set("KL" add N, 6);
Set("KG" add N, 0.5);
Set("KVY" add N, random(9) - 4);
Set("KVYD" add N, 0);
Set("KTar" add N, eval ("KY" add N));
Set("KF" add N, eval ((("_level0/S/" add D) add N) add ":F"));
tellTarget (("K" add N) add "/Q") {
gotoAndStop (36);
};
Set("KW" add N, 14);
Set("KH" add N, 44);
}
if (eval ("KType" add N) == 38) {
Set("KL" add N, 24);
Set("KG" add N, 1);
Set("KF" add N, eval ((("_level0/S/" add D) add N) add ":F"));
Set("KFall" add N, 2);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (14);
};
Set("KW" add N, 48);
Set("KH" add N, 69);
}
if (eval ("KType" add N) == 39) {
Set("KL" add N, 24);
Set("KF" add N, 1);
Set("KT" add N, 0);
Set("KG" add N, 0);
Set("KFall" add N, 0);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (37);
};
Set("KW" add N, 80);
Set("KH" add N, 42);
}
if (eval ("KType" add N) == 40) {
Set("KL" add N, 5);
Set("KF" add N, 1);
Set("KT" add N, random(21));
Set("KTar" add N, eval ("KY" add N));
Set("KG" add N, 0.5);
Set("KFall" add N, 2);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (11);
};
Set("KW" add N, 30);
Set("KH" add N, 8);
}
if (eval ("KType" add N) == 41) {
Set("KVY" add N, 1.4);
Set("KVYD" add N, 0);
Set("KL" add N, 15);
Set("KF" add N, eval ((("_level0/S/" add D) add N) add ":F"));
Set("KG" add N, 0.5);
Set("KFall" add N, 2);
Set("KW" add N, 58);
Set("KH" add N, 36);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (102);
};
}
if (eval ("KType" add N) == 42) {
Set("KL" add N, 7.5);
Set("KF" add N, eval ((("_level0/S/" add D) add N) add ":F"));
if (eval ("KF" add N) == 2) {
Set("KTar" add N, 5);
} else {
Set("KTar" add N, -5);
}
Set("KG" add N, 1);
Set("KFall" add N, 2);
Set("KW" add N, 51);
Set("KH" add N, 36);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (10);
};
}
if (eval ("KType" add N) == 43) {
Set("KVY" add N, 0.9);
Set("KVYD" add N, 0);
Set("KL" add N, 24);
Set("KF" add N, 1);
Set("KG" add N, 0.5);
Set("KFall" add N, 2);
Set("KW" add N, 61);
Set("KH" add N, 61);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (17);
};
}
if (eval ("KType" add N) == 1001) {
Set("KL" add N, 999999999) /* 0x3B9AC9FF */;
Set("KT" add N, eval ((("_level0/S/" add D) add N) add ":F"));
if (50 < eval ("KT" add N)) {
Set("KX" add N, eval ("KX" add N) - 2000);
}
Set("KG" add N, 0);
Set("KF" add N, 1);
Set("KFall" add N, 0);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (49);
};
Set("KW" add N, 3);
Set("KH" add N, 67);
}
if (eval ("KType" add N) == 1002) {
Set("KL" add N, 999999999) /* 0x3B9AC9FF */;
Set("KT" add N, eval ((("_level0/S/" add D) add N) add ":F"));
if (50 < eval ("KT" add N)) {
Set("KX" add N, eval ("KX" add N) - 2000);
}
Set("KG" add N, 0);
Set("KF" add N, 1);
Set("KFall" add N, 0);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (50);
};
Set("KW" add N, 67);
Set("KH" add N, 3);
Set("KType" add N, 1001);
}
if ((eval ("KType" add N) == 1005) or (eval ("KType" add N) == 1006)) {
Set("KL" add N, 999999999) /* 0x3B9AC9FF */;
Set("KG" add N, 0);
Set("KF" add N, 1);
Set("KFall" add N, 0);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (19);
};
if (eval ("KType" add N) == 1006) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (34);
};
}
Set("KW" add N, 30);
Set("KH" add N, 33);
}
if (eval ("KType" add N) >= 1007) {
if (Number(Facing) == 1) {
Set("KX" add N, Number(MX) + 30);
} else {
Set("KX" add N, MX - 30);
}
Set("KY" add N, MY - 46);
if (30 >= Number(MY)) {
Set("KY" add N, MY - 190);
Set("KX" add N, MX);
}
if ((Number(Screen) == 1925) and (Number(Checkpoint) == 2.5)) {
Set("KY" add N, MY - 390);
Checkpoint = 2.7;
}
if (Number(Screen) == 1927) {
Set("KX" add N, 300);
Set("KY" add N, -500);
}
if ((Number(Screen) == 2031) and (Number(Checkpoint) == 2.5)) {
Set("KY" add N, 1000);
}
Set("KL" add N, 50);
Set("KF" add N, 0);
Set("KG" add N, 1);
Set("KFall" add N, Falling);
Set("KV" add N, MV);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (7);
};
if (eval ("KType" add N) >= 1008) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (75);
};
}
Set("KW" add N, 12);
Set("KH" add N, 48);
}
if ((eval ("KType" add N) >= 49) and (99 >= eval ("KType" add N))) {
Set("KT" add N, random(50));
Set("KL" add N, 120);
Set("KF" add N, eval ((((("_level0/" add X) add "/") add D) add N) add ":F"));
Set("KG" add N, 1);
Set("KFall" add N, 2);
Set("KW" add N, 12);
Set("KH" add N, 48);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (43);
};
if ((((eval ("KType" add N) == 51) or (eval ("KType" add N) == 52)) or (eval ("KType" add N) == 59)) or (eval ("KType" add N) == 67)) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (47);
};
}
if ((((eval ("KType" add N) == 53) or (eval ("KType" add N) == 56)) or (eval ("KType" add N) == 49)) or (eval ("KType" add N) == 65)) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (45);
};
}
if (eval ("KType" add N) == 54) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (46);
};
}
if (eval ("KType" add N) == 58) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (48);
};
}
if ((eval ("KType" add N) == 62) or (eval ("KType" add N) == 66)) {
Set("KT" add N, random(20));
tellTarget (("K" add N) add "/Q") {
gotoAndStop (44);
};
}
if (eval ("KType" add N) == 60) {
Set("KW" add N, 17);
Set("KH" add N, 35);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (113);
};
}
if (eval ("KType" add N) == 73) {
Set("KW" add N, 20);
Set("KH" add N, 35);
Set("KT" add N, N * 2);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (124);
};
}
if (eval ("KType" add N) == 64) {
Set("KW" add N, 17);
Set("KH" add N, 35);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (114);
};
}
if ((((((eval ("KType" add N) == 54) or (eval ("KType" add N) == 55)) or (eval ("KType" add N) == 57)) or (eval ("KType" add N) == 59)) or (eval ("KType" add N) == 61)) or (eval ("KType" add N) == 65)) {
Set("KG" add N, 1.5);
}
if ((eval ("KType" add N) == 71) or (eval ("KType" add N) == 75)) {
tellTarget (("K" add N) add "/Q") {
gotoAndStop (123);
};
}
if (eval ("KType" add N) == 70) {
Set("KL" add N, 120);
Set("KW" add N, 17);
Set("KH" add N, 35);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (121);
};
}
if (eval ("KType" add N) == 74) {
Set("KL" add N, 120);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (122);
};
}
if (eval ("KType" add N) == 72) {
Set("KL" add N, 6);
Set("KF" add N, 1);
Set("KTar" add N, 15);
Set("KT" add N, 0);
Set("KG" add N, 0);
Set("KFall" add N, 0);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (120);
};
Set("KW" add N, 15);
Set("KH" add N, 10);
}
}
if ((SpecialMode == 4) and (2 < eval ("KType" add N))) {
Set("KL" add N, 1);
}
N = Number(N) + 1;
}
Spawn = 1;
N = 1;
while (Number(EnemyMax) >= Number(N)) {
if (((((eval ("KType" add N) == 61) or (eval ("KType" add N) == 62)) or (eval ("KType" add N) == 63)) or (eval ("KType" add N) == 67)) and (eval ("KT" add N) == -1)) {
Set("KX" add N, eval ((((("_level0/" add X) add "/") add D) add N) add ":X"));
Set("KY" add N, eval ((((("_level0/" add X) add "/") add D) add N) add ":Y"));
Set("KL" add N, 5);
Set("KF" add N, eval ((((("_level0/" add X) add "/") add D) add N) add ":F"));
Set("KT" add N, random(50));
Set("KG" add N, 1);
Set("KFall" add N, 2);
Set("KW" add N, 12);
Set("KH" add N, 48);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (43);
};
if (eval ("KType" add N) == 61) {
Set("KG" add N, 1.5);
}
if (eval ("KType" add N) == 62) {
Set("KT" add N, random(20));
tellTarget (("K" add N) add "/Q") {
gotoAndStop (44);
};
}
if (eval ("KType" add N) == 67) {
Set("KT" add N, random(20));
tellTarget (("K" add N) add "/Q") {
gotoAndStop (47);
};
}
if ((SpecialMode == 4) and (2 < eval ("KType" add N))) {
Set("KL" add N, 1);
}
}
if ((eval ("KType" add N) == 31) and (eval ("KT" add N) == -1)) {
Set("KF" add N, eval ((((("_level0/" add X) add "/") add D) add N) add ":F"));
Set("KX" add N, eval ((((("_level0/" add X) add "/") add D) add N) add ":X"));
Set("KY" add N, eval ((((("_level0/" add X) add "/") add D) add N) add ":Y"));
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) + random(300));
} else {
Set("KX" add N, eval ("KX" add N) - random(300));
}
Set("KL" add N, 6);
Set("KT" add N, 10000);
Set("KG" add N, 0.5);
Set("KFall" add N, 2);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (29);
};
Set("KW" add N, 30);
Set("KH" add N, 30);
}
if ((eval ("KType" add N) == 44) and (eval ("KT" add N) == -1)) {
Set("KX" add N, eval ((((("_level0/" add X) add "/") add D) add N) add ":X"));
Set("KY" add N, eval ((((("_level0/" add X) add "/") add D) add N) add ":Y"));
Set("KL" add N, 6);
Set("KG" add N, 0.5);
Set("KT" add N, 0);
Set("KVY" add N, random(9) - 4);
Set("KVYD" add N, 0);
Set("KTar" add N, eval ("KY" add N));
Set("KF" add N, eval ((((("_level0/" add X) add "/") add D) add N) add ":F"));
tellTarget (("K" add N) add "/Q") {
gotoAndStop (36);
};
Set("KW" add N, 20);
Set("KH" add N, 30);
}
N = Number(N) + 1;
}
N = 1;
while (Number(EnemyMax) >= Number(N)) {
if (eval ("KType" add N) < 49) {
if (eval ("KT" add N) != -1) {
Transform = 0;
Set("KL2X" add N, eval ("KLX" add N));
Set("KLX" add N, eval ("KX" add N));
Set("KLY" add N, eval ("KY" add N) - eval ("KH" add N));
Set("KMoving" add N, 0);
EnemyAnim = 0;
EStanding = 0;
if ((0 < eval ("KL" add N)) or (eval ("KT" add N) >= 40)) {
if (eval ("KType" add N) < 3) {
if (eval ("KL" add N) < 900) {
Set("KL" add N, 999);
}
}
if (eval ("KType" add N) == 5) {
if (eval ("KX" add N) < MX) {
Set("KF" add N, 2);
} else {
Set("KF" add N, 1);
}
if ((eval ("KT" add N) == 40) and (eval ("KFall" add N) == 3)) {
Set("KV" add N, 30);
Set("KFall" add N, 1);
} else if ((eval ("KT" add N) == 40) and (eval ("KFall" add N) < 3)) {
Set("KT" add N, 30);
}
if (eval ("KT" add N) == 55) {
AttackType = 1;
EnemyAttack = 1;
Q = N;
Set("KT" add N, 0);
}
}
if (eval ("KType" add N) == 6) {
if (eval ("KFall" add N) < 3) {
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 5);
} else {
Set("KX" add N, eval ("KX" add N) + 5);
}
}
if (eval ("KFall" add N) == 3) {
if (eval ("KX" add N) < MX) {
Set("KF" add N, 2);
} else {
Set("KF" add N, 1);
}
Set("KT" add N, 40);
}
if ((eval ("KT" add N) == 40) and (eval ("KFall" add N) == 3)) {
Set("KV" add N, 36);
Set("KFall" add N, 1);
} else if ((eval ("KT" add N) == 40) and (eval ("KFall" add N) < 3)) {
Set("KT" add N, 30);
}
if (eval ("KT" add N) == 55) {
Set("KT" add N, 0);
}
}
if ((eval ("KType" add N) == 7) or (eval ("KType" add N) == 8)) {
if (eval ("KType" add N) == 7) {
if (eval ("KD" add N) == 1) {
Set("KY" add N, eval ("KY" add N) - 7);
}
if (eval ("KD" add N) == 0) {
Set("KY" add N, eval ("KY" add N) + 7);
}
if (575 < eval ("KY" add N)) {
Set("KD" add N, 1);
}
if (eval ("KY" add N) < 25) {
Set("KD" add N, 0);
}
}
if (eval ("KType" add N) == 8) {
if ((MY - (Height / 2)) < eval ("KY" add N)) {
Set("KY" add N, eval ("KY" add N) - 7);
}
if (eval ("KY" add N) < (MY - (Height / 2))) {
Set("KY" add N, eval ("KY" add N) + 7);
}
}
if (((1 < Diff) and (eval ("KT" add N) == 70)) or ((Diff == 1) and (eval ("KT" add N) == 90))) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 5);
} else {
EnemyAttack = 1;
AttackType = eval ("KF" add N) + 69;
Q = N;
Set("KT" add N, 20);
}
}
}
if (eval ("KType" add N) == 9) {
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 2);
} else {
Set("KX" add N, eval ("KX" add N) + 2);
}
if ((eval ("KT" add N) >= 60) and (eval ("KT" add N) < 75)) {
Set("KX" add N, eval ("KX" add N) - 12);
Set("KY" add N, eval ("KY" add N) - 12);
}
if ((eval ("KT" add N) >= 75) and (eval ("KT" add N) < 90)) {
Set("KX" add N, eval ("KX" add N) + 12);
Set("KY" add N, eval ("KY" add N) + 12);
}
if (eval ("KT" add N) == 90) {
Set("KT" add N, 0);
}
}
if (eval ("KType" add N) == 10) {
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 2);
} else {
Set("KX" add N, eval ("KX" add N) + 2);
}
if ((eval ("KT" add N) >= 60) and (eval ("KT" add N) < 75)) {
Set("KX" add N, eval ("KX" add N) + 12);
Set("KY" add N, eval ("KY" add N) - 12);
}
if ((eval ("KT" add N) >= 75) and (eval ("KT" add N) < 90)) {
Set("KX" add N, eval ("KX" add N) - 12);
Set("KY" add N, eval ("KY" add N) + 12);
}
if (eval ("KT" add N) == 90) {
Set("KT" add N, 0);
}
}
if (eval ("KType" add N) == 11) {
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 2);
} else {
Set("KX" add N, eval ("KX" add N) + 2);
}
if ((eval ("KT" add N) >= 60) and (eval ("KT" add N) < 75)) {
Set("KX" add N, eval ("KX" add N) - 12);
Set("KY" add N, eval ("KY" add N) + 12);
}
if ((eval ("KT" add N) >= 75) and (eval ("KT" add N) < 90)) {
Set("KX" add N, eval ("KX" add N) + 12);
Set("KY" add N, eval ("KY" add N) - 12);
}
if (eval ("KT" add N) == 90) {
Set("KT" add N, 0);
}
}
if (eval ("KType" add N) == 12) {
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 2);
} else {
Set("KX" add N, eval ("KX" add N) + 2);
}
if ((eval ("KT" add N) >= 60) and (eval ("KT" add N) < 75)) {
Set("KX" add N, eval ("KX" add N) + 12);
Set("KY" add N, eval ("KY" add N) + 12);
}
if ((eval ("KT" add N) >= 75) and (eval ("KT" add N) < 90)) {
Set("KX" add N, eval ("KX" add N) - 12);
Set("KY" add N, eval ("KY" add N) - 12);
}
if (eval ("KT" add N) == 90) {
Set("KT" add N, 0);
}
}
if (eval ("KType" add N) == 13) {
if (eval ("KT" add N) == 90) {
Set("KT" add N, 0);
}
if ((eval ("KT" add N) == 75) and (Diff == 3)) {
EnemyAttack = 1;
AttackType = 1;
Q = N;
}
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 2);
} else {
Set("KX" add N, eval ("KX" add N) + 2);
}
if (eval ("KX" add N) < 50) {
KF1 = 2;
KF2 = 2;
KF3 = 2;
KF4 = 2;
KF5 = 2;
}
if (750 < eval ("KX" add N)) {
KF1 = 1;
KF2 = 1;
KF3 = 1;
KF4 = 1;
KF5 = 1;
}
}
if (((eval ("KType" add N) == 15) or (eval ("KType" add N) == 14)) or (eval ("KType" add N) == 16)) {
if ((eval ("KF" add N) == 1) and (eval ("KFall" add N) != 2)) {
Set("KX" add N, eval ("KX" add N) - 10);
Set("KMoving" add N, 1);
}
if ((eval ("KF" add N) == 2) and (eval ("KFall" add N) != 2)) {
Set("KX" add N, eval ("KX" add N) + 10);
Set("KMoving" add N, 1);
}
if (eval ("KType" add N) == 14) {
if ((eval ("KV" add N) < 0) and (eval ("KG" add N) == 0.25)) {
Set("KX" add N, eval ("KX" add N) - 2);
}
if ((0 < eval ("KV" add N)) and (eval ("KG" add N) == 1)) {
Set("KX" add N, eval ("KX" add N) + 2);
}
if (-16 >= eval ("KV" add N)) {
Set("KG" add N, 0.25);
Set("KF" add N, 1);
Set("KX" add N, eval ("KX" add N) - 2);
}
if (eval ("KV" add N) >= 16) {
Set("KG" add N, 1);
Set("KF" add N, 2);
Set("KX" add N, eval ("KX" add N) + 2);
}
}
}
if (eval ("KType" add N) == 17) {
if ((((eval ("KX" add N) - 35) < MX) and (MX < (eval ("KX" add N) + 35))) and (eval ("KT" add N) < 9960)) {
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
Set("KT" add N, 9960);
}
if ((eval ("KT" add N) == 9000) or (eval ("KT" add N) == 10010)) {
Set("KT" add N, 0);
}
if ((eval ("KT" add N) >= 9960) and (eval ("KT" add N) < 9970)) {
Set("KY" add N, eval ("KY" add N) + 22);
}
if ((eval ("KT" add N) >= 9970) and (eval ("KT" add N) < 9980)) {
Set("KY" add N, eval ("KY" add N) - 22);
}
}
if (eval ("KType" add N) == 18) {
if (eval ("KT" add N) == 160) {
Set("KT" add N, 110);
}
if (eval ("KT" add N) == 110) {
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
if ((eval ("KT" add N) >= 110) and (eval ("KT" add N) < 120)) {
Set("KY" add N, eval ("KY" add N) + 22);
}
if ((eval ("KT" add N) >= 120) and (eval ("KT" add N) < 130)) {
Set("KY" add N, eval ("KY" add N) - 22);
}
}
if ((eval ("KType" add N) >= 19) and (22 >= eval ("KType" add N))) {
if (eval ("KVYD" add N) == 0) {
Set("KVY" add N, eval ("KVY" add N) + 0.05);
} else {
Set("KVY" add N, eval ("KVY" add N) - 0.05);
}
if (eval ("KVY" add N) >= 2) {
Set("KVYD" add N, 1);
}
if (-2 >= eval ("KVY" add N)) {
Set("KVYD" add N, 0);
}
Set("KY" add N, eval ("KY" add N) + eval ("KVY" add N));
if ((eval ("KT" add N) == 50) and (eval ("KType" add N) == 19)) {
EnemyAttack = 1;
AttackType = 74;
Q = N;
}
if ((eval ("KT" add N) == 60) and (eval ("KType" add N) == 20)) {
EnemyAttack = 1;
AttackType = 75;
Q = N;
}
if ((eval ("KT" add N) == 70) and (eval ("KType" add N) == 21)) {
EnemyAttack = 1;
AttackType = 76;
Q = N;
}
if ((eval ("KT" add N) == 80) and (eval ("KType" add N) == 22)) {
EnemyAttack = 1;
AttackType = 77;
Q = N;
}
if (eval ("KT" add N) == 85) {
Set("KT" add N, 45);
}
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 2);
} else {
Set("KX" add N, eval ("KX" add N) + 2);
}
if (eval ("KX" add N) < 50) {
BlueChanger = 2;
}
if (750 < eval ("KX" add N)) {
BlueChanger = 1;
}
}
if ((eval ("KType" add N) == 23) or (eval ("KType" add N) == 24)) {
if (eval ("KY" add N) < 0) {
Set("KY" add N, eval ("KY" add N) + 1);
}
if (eval ("KVXD" add N) == 0) {
Set("KVXX" add N, eval ("KVXX" add N) + 0.125);
} else {
Set("KVXX" add N, eval ("KVXX" add N) - 0.125);
}
if (eval ("KVXX" add N) >= 5) {
Set("KVXD" add N, 1);
}
if (-5 >= eval ("KVXX" add N)) {
Set("KVXD" add N, 0);
}
if (eval ("KType" add N) == 23) {
Set("KX" add N, eval ("KX" add N) + (eval ("KVXX" add N) / 2));
if (eval ("KX" add N) < (MX - 200)) {
Set("KX" add N, eval ("KX" add N) + 1);
}
if ((MX + 200) < eval ("KX" add N)) {
Set("KX" add N, eval ("KX" add N) - 1);
}
}
if (eval ("KType" add N) == 24) {
Set("KX" add N, eval ("KX" add N) + eval ("KVXX" add N));
}
if (eval ("KVYD" add N) == 0) {
Set("KVY" add N, eval ("KVY" add N) + 0.25);
} else {
Set("KVY" add N, eval ("KVY" add N) - 0.25);
}
if (eval ("KVY" add N) >= 5) {
Set("KVYD" add N, 1);
}
if (-5 >= eval ("KVY" add N)) {
Set("KVYD" add N, 0);
}
Set("KY" add N, eval ("KY" add N) + eval ("KVY" add N));
if (((eval ("KT" add N) >= 70) and ((0 < eval ("KX" add N)) and (eval ("KX" add N) < 800))) and ((0 < eval ("KY" add N)) and (eval ("KY" add N) < 600))) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 5);
} else {
EnemyAttack = 1;
AttackType = 80;
Q = N;
Set("KT" add N, 0);
}
}
}
if (eval ("KType" add N) == 25) {
if (eval ("KT" add N) == 30) {
Set("KTar" add N, MY - 45);
}
if (eval ("KX" add N) < MX) {
Set("KF" add N, 2);
} else {
Set("KF" add N, 1);
}
Difference = (eval ("KY" add N) - eval ("KTar" add N)) / 10;
Set("KY" add N, eval ("KY" add N) - Difference);
if (eval ("KT" add N) >= 60) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 1);
} else {
EnemyAttack = 1;
AttackType = eval ("KF" add N) + 82;
Q = N;
Set("KT" add N, 0);
}
}
}
if ((eval ("KType" add N) >= 26) and (30 >= eval ("KType" add N))) {
if (eval ("KType" add N) == 27) {
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 5);
} else {
Set("KX" add N, eval ("KX" add N) + 5);
}
}
if (eval ("KT" add N) == 8200) {
Set("KT" add N, 0);
}
if ((eval ("KT" add N) == 8030) and (N == 1)) {
Set("KT" add N, 10000);
}
if (eval ("KT" add N) == 10001) {
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
Set("KW" add N, 30);
Set("KH" add N, 30);
}
if (eval ("KT" add N) >= 10025) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 1);
} else {
EnemyAttack = 1;
AttackType = 1;
Q = N;
Set("KT" add N, 10002);
}
}
}
if (eval ("KType" add N) == 31) {
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 5);
} else {
Set("KX" add N, eval ("KX" add N) + 5);
}
if (eval ("KT" add N) == 10001) {
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
Set("KT" add N, Number(random(40)) + 10002);
}
if (((eval ("KT" add N) >= 10090) and (0 < eval ("KX" add N))) and (eval ("KX" add N) < 800)) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 1);
} else {
EnemyAttack = 1;
AttackType = 1;
Q = N;
Set("KT" add N, 10040);
}
}
}
if (eval ("KType" add N) == 33) {
if (((MX - 50) < eval ("KX" add N)) and (eval ("KL" add N) == 20)) {
Set("KL" add N, 10);
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
if ((eval ("KL" add N) < 20) and (10 < eval ("KL" add N))) {
Set("KL" add N, 10);
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
if (eval ("KL" add N) < 20) {
Set("KL" add N, eval ("KL" add N) - 1);
EnemyAttack = 1;
AttackType = 47;
Q = N;
}
}
if (eval ("KType" add N) == 34) {
if (eval ("KVX" add N) < -2) {
Set("KVX" add N, eval ("KVX" add N) + 1);
}
if (2 < eval ("KVX" add N)) {
Set("KVX" add N, eval ("KVX" add N) - 1);
}
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 2);
} else {
Set("KX" add N, eval ("KX" add N) + 2);
}
if (eval ("KT" add N) == 38) {
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
if (eval ("KT" add N) >= 50) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 1);
} else {
EnemyAttack = 1;
AttackType = eval ("KF" add N) + 84;
Q = N;
Set("KT" add N, 0);
}
}
}
if (eval ("KType" add N) == 35) {
if (eval ("KX" add N) < 50) {
Set("KX" add N, eval ("KX" add N) + 2.5);
}
if (((eval ("KT" add N) == 50) or (eval ("KT" add N) == 80)) or (eval ("KT" add N) == 110)) {
KX2 = Number(KX1) + 170;
KY2 = Number(KY1) + 69;
KL2 = 2000;
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
if (eval ("KT" add N) == 140) {
KT1 = 40;
}
}
if (eval ("KType" add N) == 36) {
Set("KX" add N, eval ("KX" add N) + 25);
}
if ((eval ("KType" add N) == 37) or (eval ("KType" add N) == 44)) {
if (eval ("KVX" add N) != 0) {
EnemyAnim = 7;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
Set("KT" add N, 35);
}
if (eval ("KY" add N) < 0) {
Set("KY" add N, eval ("KY" add N) + 1);
}
if (eval ("KX" add N) < MX) {
Set("KF" add N, 2);
Set("KTar" add N, MX - 200);
} else {
Set("KF" add N, 1);
Set("KTar" add N, Number(MX) + 200);
}
if (780 < eval ("KTar" add N)) {
Set("KTar" add N, 780);
}
if (eval ("KTar" add N) < 20) {
Set("KTar" add N, 20);
}
Set("KTar" add N, (eval ("KX" add N) - eval ("KTar" add N)) / 20);
Set("KX" add N, eval ("KX" add N) - eval ("KTar" add N));
if (eval ("KVYD" add N) == 0) {
Set("KVY" add N, eval ("KVY" add N) + 0.2);
} else {
Set("KVY" add N, eval ("KVY" add N) - 0.2);
}
if (eval ("KVY" add N) >= 5) {
Set("KVYD" add N, 1);
}
if (-5 >= eval ("KVY" add N)) {
Set("KVYD" add N, 0);
}
Set("KY" add N, eval ("KY" add N) + eval ("KVY" add N));
if (((eval ("KT" add N) >= 40) and ((0 < eval ("KX" add N)) and (eval ("KX" add N) < 800))) and ((0 < eval ("KY" add N)) and (eval ("KY" add N) < 600))) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 5);
} else {
EnemyAttack = 1;
AttackType = eval ("KF" add N) + 9;
Q = N;
Set("KT" add N, 0);
if (Number(AttackType) == 10) {
AttackType = 11;
} else {
AttackType = 10;
}
}
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
}
if (eval ("KType" add N) == 38) {
if (eval ("KVX" add N) < -2) {
Set("KVX" add N, eval ("KVX" add N) + 1);
}
if (2 < eval ("KVX" add N)) {
Set("KVX" add N, eval ("KVX" add N) - 1);
}
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 1.8);
Set("KMoving" add N, 1);
} else {
Set("KX" add N, eval ("KX" add N) + 1.8);
Set("KMoving" add N, 1);
}
if (eval ("KT" add N) >= 50) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 1);
} else {
EnemyAttack = 1;
AttackType = eval ("KF" add N) + 1;
Q = N;
Set("KT" add N, 30);
}
}
}
if (eval ("KType" add N) == 39) {
if (eval ("KT" add N) == 22) {
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
if (((((eval ("KT" add N) == 25) or (eval ("KT" add N) == 29)) or (eval ("KT" add N) == 33)) or (eval ("KT" add N) == 37)) or (eval ("KT" add N) == 41)) {
EnemyAttack = 1;
AttackType = 100;
Q = N;
}
if (eval ("KT" add N) == 80) {
Set("KT" add N, 21);
}
}
if (eval ("KType" add N) == 40) {
if (eval ("KT" add N) == 20) {
Set("KTar" add N, MY - 45);
}
if (eval ("KX" add N) < MX) {
Set("KF" add N, 2);
} else {
Set("KF" add N, 1);
}
Difference = (eval ("KY" add N) - eval ("KTar" add N)) / 20;
Set("KY" add N, eval ("KY" add N) - Difference);
if (eval ("KT" add N) >= 40) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 1);
} else {
EnemyAttack = 1;
AttackType = eval ("KF" add N) + 26;
Q = N;
Set("KT" add N, 0);
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
}
}
if (eval ("KType" add N) == 41) {
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 9);
} else {
Set("KX" add N, eval ("KX" add N) + 9);
}
Set("KFall" add N, 3);
if (eval ("KVYD" add N) == 0) {
Set("KVY" add N, eval ("KVY" add N) + 0.2);
} else {
Set("KVY" add N, eval ("KVY" add N) - 0.2);
}
if (eval ("KVY" add N) >= 2) {
Set("KVYD" add N, 1);
}
if (-2 >= eval ("KVY" add N)) {
Set("KVYD" add N, 0);
}
Set("KY" add N, eval ("KY" add N) + eval ("KVY" add N));
if (eval ("KT" add N) >= 60) {
if (((eval ("KF" add N) == 1) and (MX < eval ("KX" add N))) or ((eval ("KF" add N) == 2) and (eval ("KX" add N) < MX))) {
EnemyAttack = 1;
AttackType = 1;
Set("KT" add N, 0);
Q = N;
} else {
Set("KT" add N, eval ("KT" add N) - 10);
}
}
}
if (eval ("KType" add N) == 42) {
if (eval ("KX" add N) < MX) {
Set("KF" add N, 2);
Set("KTar" add N, eval ("KTar" add N) + 0.5);
} else {
Set("KF" add N, 1);
Set("KTar" add N, eval ("KTar" add N) - 0.5);
}
Set("KX" add N, eval ("KX" add N) + eval ("KTar" add N));
if (25 < eval ("KTar" add N)) {
Set("KTar" add N, 25);
}
if (eval ("KTar" add N) < -25) {
Set("KTar" add N, -25);
}
if (eval ("KT" add N) >= 40) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 1);
} else {
EnemyAttack = 1;
AttackType = eval ("KF" add N) + 1;
Q = N;
Set("KT" add N, 0);
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
}
}
if (eval ("KType" add N) == 43) {
if (eval ("KX" add N) < MX) {
Set("KX" add N, eval ("KX" add N) + 2);
}
if (MX < eval ("KX" add N)) {
Set("KX" add N, eval ("KX" add N) - 2);
}
if ((eval ("KY" add N) < (MY - 90)) and (eval ("KF" add N) == 1)) {
Set("KY" add N, eval ("KY" add N) + 1);
} else {
Set("KF" add N, 2);
}
Set("KFall" add N, 3);
if (eval ("KVYD" add N) == 0) {
Set("KVY" add N, eval ("KVY" add N) + 0.1);
} else {
Set("KVY" add N, eval ("KVY" add N) - 0.1);
}
if (eval ("KVY" add N) >= 1) {
Set("KVYD" add N, 1);
}
if (-1 >= eval ("KVY" add N)) {
Set("KVYD" add N, 0);
}
Set("KY" add N, eval ("KY" add N) + eval ("KVY" add N));
if (eval ("KT" add N) >= 60) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 1);
} else {
EnemyAttack = 1;
AttackType = 42;
Q = N;
Set("KT" add N, 0);
}
}
}
}
if (((0.75 < eval ("KG" add N)) or (eval ("KG" add N) == -1)) or (eval ("KG" add N) == 0.25)) {
Set("Land" add N, 0);
L = 1;
if ((Number(Special) == 3) and (Number(L) == 1)) {
if ((PL1 < eval ("KX" add N)) and (eval ("KX" add N) < PR1)) {
Percent = (eval ("KX" add N) - PL1) / (PR1 - PL1);
PY1 = Percent * PYR1;
Percent = 1 - Percent;
PY1 = Number(PY1) + Number(Percent * PYL1);
} else if (eval ("KX" add N) < PL1) {
PY1 = PYL1;
} else if (PR1 < eval ("KX" add N)) {
PY1 = PYR1;
}
}
while (Number(Mplat) >= Number(L)) {
if ((eval ("KG" add N) == 1.5) and (eval ("KType" add N) != 9)) {
if (((eval ("KY" add N) >= ((eval ("PY" add L) - eval ("KH" add N)) - 5)) and ((((eval ("PY" add L) - eval ("KH" add N)) + 10) + (-1 * eval ("KV" add N))) >= eval ("KY" add N))) and (1 < eval ("KFall" add N))) {
if ((eval ("KX" add N) >= eval ("PL" add L)) and (eval ("PR" add L) >= eval ("KX" add N))) {
Set("Land" add N, 1);
Set("KFall" add N, 3);
EStanding = L;
Set("KV" add N, 0);
Set("KY" add N, eval ("PY" add L) - eval ("KH" add N));
}
}
} else if (((eval ("KY" add N) >= ((eval ("PY" add L) - eval ("KH" add N)) - 5)) and (((eval ("PY" add L) - eval ("KH" add N)) + ((-1 * eval ("KV" add N)) + 10)) >= eval ("KY" add N))) and (1 < eval ("KFall" add N))) {
if ((eval ("KX" add N) >= (eval ("PL" add L) - eval ("KW" add N))) and ((eval ("PR" add L) + eval ("KW" add N)) >= eval ("KX" add N))) {
if (eval ("KG" add N) != 0.25) {
Set("Land" add N, 1);
Set("KFall" add N, 3);
EStanding = L;
Set("KV" add N, 0);
Set("KY" add N, eval ("PY" add L) - eval ("KH" add N));
}
if ((eval ("KType" add N) == 16) and (10 < eval ("KT" add N))) {
Set("KType" add N, 15);
Set("KG" add N, 1);
Set("KFall" add N, 3);
}
}
}
if (eval ("Land" add N) == 1) {
L = 99;
}
L = Number(L) + 1;
}
if ((Number(Special) == 5) and ((((Number(EStanding) == 2) or (Number(EStanding) == 4)) or (Number(EStanding) == 6)) or (Number(EStanding) == 8))) {
Set("KX" add N, eval ("KX" add N) - 3.45);
}
if ((Number(Special) == 5) and ((((Number(EStanding) == 9) or (Number(EStanding) == 3)) or (Number(EStanding) == 5)) or (Number(EStanding) == 7))) {
Set("KX" add N, eval ("KX" add N) + 3.45);
}
if ((eval ("KFall" add N) == 3) and (eval ("Land" add N) == 0)) {
if ((eval ("KG" add N) == 1.5) and (eval ("KVX" add N) == 0)) {
if (eval ("KType" add N) == 9999) {
Set("KV" add N, 16);
Set("KFall" add N, 1);
EnemyAnim = 5;
} else {
if (eval ("KF" add N) == 1) {
Set("KF" add N, 2);
Set("KX" add N, eval ("KLX" add N));
if ((Number(EStanding) == 1) and (Number(Special) == 3)) {
Set("KY" add N, eval ("KY" add N) - 1);
}
} else {
Set("KF" add N, 1);
Set("KX" add N, eval ("KLX" add N));
if ((Number(EStanding) == 1) and (Number(Special) == 3)) {
Set("KY" add N, eval ("KY" add N) - 1);
}
}
Set("KFall" add N, 3);
}
} else {
Set("KFall" add N, 2);
}
}
}
if ((eval ("KG" add N) >= 0.75) or (eval ("KG" add N) == -1)) {
if (((eval ("KFall" add N) == 1) or (eval ("KFall" add N) == 2)) and (eval ("KG" add N) != -5)) {
Set("KV" add N, eval ("KV" add N) - 2);
}
if ((eval ("KFall" add N) == 1) and (0 >= eval ("KV" add N))) {
Set("KFall" add N, 2);
}
if (eval ("KV" add N) < -20) {
Set("KV" add N, -20);
}
if (20 < eval ("KV" add N)) {
Set("KY" add N, eval ("KY" add N) - 20);
} else if (Number(Location) == 26) {
Set("KY" add N, eval ("KY" add N) - (eval ("KV" add N) / 2));
} else {
Set("KY" add N, eval ("KY" add N) - eval ("KV" add N));
}
if ((eval ("KFall" add N) == 0) or (eval ("KFall" add N) == 3)) {
Set("KV" add N, 0);
}
}
if (eval ("KG" add N) == 0.5) {
if (Number(Location) == 26) {
Set("KY" add N, eval ("KY" add N) - (eval ("KV" add N) / 2));
} else {
Set("KY" add N, eval ("KY" add N) - eval ("KV" add N));
}
if ((1 >= eval ("KV" add N)) and (eval ("KV" add N) >= -1)) {
Set("KV" add N, 0);
}
if (0 < eval ("KV" add N)) {
Set("KV" add N, eval ("KV" add N) - 2);
} else if (eval ("KV" add N) < 0) {
Set("KV" add N, eval ("KV" add N) + 2);
}
}
if ((eval ("KG" add N) == 0.25) or (eval ("KG" add N) == -0.25)) {
Set("KV" add N, eval ("KV" add N) + 2);
if (eval ("KV" add N) < -20) {
Set("KV" add N, -20);
}
if (eval ("KV" add N) >= 0) {
Set("KFall" add N, 2);
}
if (20 < eval ("KV" add N)) {
Set("KY" add N, eval ("KY" add N) - 20);
} else {
Set("KY" add N, eval ("KY" add N) - eval ("KV" add N));
}
if ((eval ("KFall" add N) == 0) or (eval ("KFall" add N) == 3)) {
Set("KV" add N, 0);
}
}
if ((0 < eval ("KG" add N)) or (eval ("KG" add N) == -5)) {
if (Number(Location) == 26) {
Set("KX" add N, eval ("KX" add N) - (eval ("KVX" add N) / 3));
} else {
Set("KX" add N, eval ("KX" add N) - eval ("KVX" add N));
}
if ((eval ("KVX" add N) < 2) and (-2 < eval ("KVX" add N))) {
Set("KVX" add N, 0);
}
if (0 < eval ("KVX" add N)) {
Set("KVX" add N, eval ("KVX" add N) - 2);
}
if (eval ("KVX" add N) < 0) {
Set("KVX" add N, eval ("KVX" add N) + 2);
}
}
L = 1;
while (Number(MWall) >= Number(L)) {
if (((((eval (("_level0/S/W" add L) add ":F") == 1) and (eval ("WX" add L) >= ((eval ("KLX" add N) + eval ("KW" add N)) - 5))) or ((eval (("_level0/S/W" add L) add ":F") == 2) and (((eval ("KLX" add N) - eval ("KW" add N)) + 5) >= eval ("WX" add L)))) or (eval ("KG" add N) == 0.5)) and (eval ("KG" add N) != 0)) {
if ((eval ("KX" add N) >= (eval ("WX" add L) - eval ("KW" add N))) and ((eval ("WX" add L) + eval ("KW" add N)) >= eval ("KX" add N))) {
if (((eval ("KY" add N) >= (eval ("WT" add L) - eval ("KH" add N))) and (eval ("WB" add L) >= eval ("KY" add N))) and (eval ("KG" add N) < 2)) {
Set("KF" add N, eval ("WF" add L));
if (eval ("KF" add N) == 1) {
Set("KX" add N, (eval ("WX" add L) - eval ("KW" add N)) - 1);
}
if (eval ("KF" add N) == 2) {
Set("KX" add N, (eval ("WX" add L) + eval ("KW" add N)) + 1);
}
if (eval ("KVX" add N) != 0) {
Set("KVX" add N, 0);
}
if ((eval ("KType" add N) == 15) or (eval ("KType" add N) == 16)) {
Set("KV" add N, 10);
Set("KFall" add N, 1);
if (eval ("KType" add N) == 16) {
Set("KV" add N, -12);
}
if (eval ("KF" add N) == 2) {
Set("KF" add N, 1);
Set("KX" add N, eval ("KX" add N) - 3);
} else {
Set("KF" add N, 2);
Set("KX" add N, eval ("KX" add N) + 3);
}
}
if ((eval ("KType" add N) == 42) and (0 < eval ("KL" add N))) {
Set("KTar" add N, 0);
if (eval ("KX" add N) < MX) {
EnemyAnim = 1;
} else {
EnemyAnim = 51;
}
if (eval ("KFall" add N) != 3) {
EnemyAnim = Number(EnemyAnim) + 4;
}
}
}
}
}
L = Number(L) + 1;
}
if (eval ("KG" add N) != 0) {
if (eval ("KX" add N) < 0) {
Set("KF" add N, 2);
if (eval ("KVX" add N) != 0) {
Set("KX" add N, 0);
Set("KVX" add N, 0);
}
if (eval ("KType" add N) == 15) {
Set("KT" add N, 0);
Set("KX" add N, 0);
Set("KType" add N, 16);
Set("KG" add N, 0.25);
Set("KFall" add N, 1);
} else if (eval ("KType" add N) == 16) {
Set("KT" add N, 0);
Set("KX" add N, 0);
Set("KType" add N, 15);
Set("KG" add N, 1);
Set("KFall" add N, 2);
}
}
if (800 < eval ("KX" add N)) {
Set("KF" add N, 1);
if (eval ("KVX" add N) != 0) {
Set("KX" add N, 800);
Set("KVX" add N, 0);
}
if (eval ("KType" add N) == 15) {
Set("KT" add N, 0);
Set("KX" add N, 800);
Set("KType" add N, 16);
Set("KG" add N, 0.25);
Set("KFall" add N, 1);
} else if (eval ("KType" add N) == 16) {
Set("KT" add N, 0);
Set("KX" add N, 800);
Set("KType" add N, 15);
Set("KG" add N, 1);
Set("KFall" add N, 2);
}
}
}
L = 1;
Land = 0;
while (Number(MCeil) >= Number(L)) {
if ((((eval ("CY" add L) < eval ("KLY" add N)) and (eval ("KG" add N) != 0.25)) or ((eval ("KFall" add N) == 2) and (eval ("KG" add N) == 0.25))) and (eval ("KG" add N) != 0)) {
if (((eval ("KX" add N) >= (eval ("CL" add L) - eval ("KW" add N))) and ((eval ("CR" add L) + eval ("KW" add N)) >= eval ("KX" add N))) and ((eval ("CY" add L) >= (eval ("KY" add N) - eval ("KH" add N))) and ((eval ("KY" add N) + eval ("KH" add N)) >= (eval ("CY" add L) - 50)))) {
if ((eval ("KV" add N) >= 0) or ((eval ("KG" add N) == 0.25) and (eval ("KFall" add N) == 2))) {
Set("KV" add N, 0);
Set("KY" add N, (eval ("CY" add L) + eval ("KH" add N)) + 1);
if (eval ("KG" add N) == 0.25) {
Set("KFall" add N, 3);
Land = 1;
}
if ((eval ("KType" add N) == 15) and (10 < eval ("KT" add N))) {
Set("KType" add N, 16);
Set("KG" add N, 0.25);
Set("KFall" add N, 2);
}
}
if (eval ("KVY" add N) < 0) {
Set("KVY" add N, 0);
Set("KVYD" add N, 0);
}
}
}
L = Number(L) + 1;
}
if (((eval ("KG" add N) == 0.25) and (Land == 0)) and (eval ("KV" add N) >= 0)) {
Set("KFall" add N, 2);
}
if ((((((((MX >= ((eval ("KX" add N) - Width) - eval ("KW" add N))) and (((eval ("KX" add N) + Width) + eval ("KW" add N)) >= MX)) and ((MY >= (eval ("KY" add N) - eval ("KH" add N))) and (((eval ("KY" add N) + Height) + eval ("KH" add N)) >= MY))) and (0 < eval ("KL" add N))) and (Stun == 0)) and (0 < Life)) and (1 < eval ("KType" add N))) and ((eval ("KType" add N) < 26) or (31 < eval ("KType" add N)))) {
if (eval ("KType" add N) == 2) {
Set("KL" add N, 0);
ValidMove = 1;
tellTarget ("/SMap") {
play();
};
} else {
Life = Life - Damage;
CI = 20;
Stun = 60;
Slide = 0;
tellTarget ("/mike") {
gotoAndPlay (2);
};
tellTarget ("/Sound") {
gotoAndPlay (30);
};
if (Number(Location) == 5) {
MVX = MVX * -1;
MV = MV * -1;
}
}
}
L = 1;
if (1 < Number(Checkpoint)) {
L = 0;
}
while (Number(L) < Number(ShotMax)) {
if ((eval ("SX" add L) >= ((eval ("KX" add N) - eval ("SW" add L)) - eval ("KW" add N))) and (((eval ("KX" add N) + eval ("SW" add L)) + eval ("KW" add N)) >= eval ("SX" add L))) {
if ((((((eval ("SY" add L) >= ((eval ("KY" add N) - eval ("SW" add L)) - eval ("KH" add N))) and (((eval ("KY" add N) + eval ("SW" add L)) + eval ("KH" add N)) >= eval ("SY" add L))) and (0 < eval ("KL" add N))) and ((((eval ("ST" add L) == 1) or (eval ("ST" add L) == 50)) or (eval ("ST" add L) == 101)) or (eval ("ST" add L) == 201))) and (eval ("KType" add N) != 2)) and (eval ("KType" add N) < 100)) {
ValidHit = 1;
if (Number(SpecialMode) == 2) {
ValidHit = 0.5;
if (0 < eval ("KL" add N)) {
tellTarget ("K" add N) {
gotoAndPlay (2);
};
}
}
if (eval ("KType" add N) == 1) {
ValidHit = 2;
}
if ((eval ("KType" add N) == 3) or (eval ("KType" add N) == 4)) {
ValidHit = 0;
if (eval ("ST" add L) == 50) {
Set("ST" add L, 51);
Set("KL" add N, 0);
ValidMove = 1;
tellTarget ("/SMap") {
play();
};
tellTarget (("S" add L) add "/Missile") {
gotoAndPlay (50);
};
}
}
if ((((eval ("KType" add N) == 9) or (eval ("KType" add N) == 10)) or (eval ("KType" add N) == 11)) or (eval ("KType" add N) == 12)) {
ValidHit = 0;
if (eval ("ST" add L) == 101) {
Set("ST" add L, 102);
}
}
if (((eval ("KType" add N) >= 26) and (30 >= eval ("KType" add N))) and (10001 >= eval ("KT" add N))) {
ValidHit = 0;
}
if ((eval ("KType" add N) == 28) and (eval ("ST" add L) != 1)) {
ValidHit = 0;
}
if ((eval ("KType" add N) == 29) and (eval ("ST" add L) != 201)) {
ValidHit = 0;
}
if ((eval ("KType" add N) == 30) and (eval ("ST" add L) != 101)) {
ValidHit = 0;
}
if (Number(ValidHit) == 0) {
if (eval ("ST" add L) == 201) {
Set("SX" add L, -10000);
Set("SY" add L, -10000);
Set("ST" add L, 202);
}
}
if (Number(ValidHit) == 1) {
Set("KL" add N, eval ("KL" add N) - eval ("SD" add L));
if (0 < eval ("KL" add N)) {
tellTarget ("K" add N) {
gotoAndPlay (2);
};
}
if (Number(SpecialMode) == 1) {
Life = Life + (eval ("SD" add L) * 2);
if (500 < Number(Life)) {
Life = 500;
}
}
}
if (Number(ValidHit) != 2) {
if (eval ("ST" add L) == 1) {
Set("ST" add L, 2);
if ((eval ("KType" add N) == 1) and (2.5 < eval ("SD" add L))) {
Set("KL" add N, 0);
ValidMove = 1;
tellTarget ("/SMap") {
play();
};
}
}
if (eval ("ST" add L) == 50) {
Set("ST" add L, 51);
}
if (eval ("ST" add L) == 201) {
Set("ST" add L, 197);
}
tellTarget (("S" add L) add "/Missile") {
gotoAndPlay (50);
};
} else if (((eval ("ST" add L) == 1) and (eval ("KType" add N) == 1)) and (2.5 < eval ("SD" add L))) {
Set("ST" add L, 2);
Set("KL" add N, 0);
ValidMove = 1;
tellTarget ("/SMap") {
play();
};
tellTarget (("S" add L) add "/Missile") {
gotoAndPlay (50);
};
}
if (((eval ("ST" add L) == 2) and (0 < eval ("KG" add N))) and (0 < ValidHit)) {
if ((eval ("SA" add L) == 1) or (eval ("SA" add L) == 11)) {
Set("KVX" add N, -1 * WSpeed);
}
if (eval ("SA" add L) == 2) {
Set("KVX" add N, -1 * WDiag);
Set("KV" add N, eval ("KV" add N) + (-1 * WDiag));
}
if (eval ("SA" add L) == 3) {
Set("KVX" add N, -1 * WDiag);
Set("KV" add N, eval ("KV" add N) + WDiag);
}
if ((eval ("SA" add L) == 4) or (eval ("SA" add L) == 8)) {
Set("KV" add N, eval ("KV" add N) + WSpeed);
}
if ((eval ("SA" add L) == 5) or (eval ("SA" add L) == 12)) {
Set("KVX" add N, WSpeed);
}
if (eval ("SA" add L) == 6) {
Set("KVX" add N, WDiag);
Set("KV" add N, eval ("KV" add N) + (-1 * WDiag));
}
if (eval ("SA" add L) == 7) {
Set("KVX" add N, WDiag);
Set("KV" add N, eval ("KV" add N) + WDiag);
}
if ((eval ("SA" add L) == 9) or (eval ("SA" add L) == 10)) {
Set("KV" add N, eval ("KV" add N) + (-1 * WSpeed));
}
if (0 < eval ("KV" add N)) {
Set("KFall" add N, 1);
}
}
if (((eval ("SD" add L) == Damage3) and (0 < eval ("KG" add N))) and (0 < ValidHit)) {
if ((eval ("KType" add N) == 27) and (eval ("KG" add N) == 0.5)) {
Set("KG" add N, 1);
Set("KVY" add N, 0);
Set("KT" add N, 35);
Set("KV" add N, 0);
}
Set("KVX" add N, eval ("SSX" add L));
if (37 < eval ("KVX" add N)) {
Set("KVX" add N, 37);
}
if (eval ("KVX" add N) < -37) {
Set("KVX" add N, -37);
}
if (0 >= eval ("KV" add N)) {
Set("KV" add N, (eval ("KV" add N) / 2) + eval ("SSY" add L));
} else {
Set("KV" add N, eval ("KV" add N) + eval ("SSY" add L));
}
if (0 < eval ("KV" add N)) {
Set("KFall" add N, 1);
}
}
}
}
L = Number(L) + 1;
}
if ((0 >= eval ("KL" add N)) and (-90 < eval ("KL" add N))) {
Set("KL" add N, -100);
Set("KT" add N, -100);
if ((eval ("KType" add N) == 3) or (eval ("KType" add N) == 4)) {
tellTarget ("/S/I") {
play();
};
tellTarget ("/SMap") {
play();
};
}
if (eval ("KType" add N) == 13) {
N = 1;
while (Number(N) < 5) {
Set("KL" add N, -100);
Set("KT" add N, -100);
Set("KG" add N, 1);
Set("KV" add N, 0);
Set("KFall" add N, 2);
N = Number(N) + 1;
}
}
if ((eval ("KType" add N) >= 26) and (30 >= eval ("KType" add N))) {
if (Number(N) < 5) {
P = Number(N) + 1;
Set("KT" add P, 10000);
}
if (Number(N) == 5) {
tellTarget ("/SMap") {
play();
};
}
}
if (eval ("KF" add N) == 1) {
EnemyAnim = 100;
} else {
EnemyAnim = 200;
}
if (eval ("KG" add N) == 0.75) {
Set("KG" add N, 1);
}
Random = random(Roll);
if ((((((KX0 == -1000) and (Random < 15)) and (Roll != 0)) and (4 < eval ("KType" add N))) and (eval ("KType" add N) != 72)) and (eval ("KType" add N) != 36)) {
KX0 = eval ("KX" add N);
KY0 = eval ("KY" add N);
tellTarget ("/K0") {
gotoAndPlay (1);
};
}
if (Number(SpecialMode) == 1) {
Life = Number(Life) + Number(SpeedBonus);
if (500 < Number(Life)) {
Life = 500;
}
}
}
if ((0 >= eval ("KL" add N)) and (EnemyAnim < 100)) {
EnemyAnim = 0;
}
if ((0 < eval ("KL" add N)) and (EnemyAnim == 0)) {
if ((eval ("KFall" add N) == 1) or (eval ("KFall" add N) == 2)) {
EnemyAnim = 5;
} else if (eval ("KMoving" add N) == 1) {
EnemyAnim = 3;
} else {
EnemyAnim = 1;
}
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
tellTarget (("K" add N) add "/Q/Z") {
gotoAndPlay(int(/:EnemyAnim));
};
setProperty("K" add N, _x , eval ("KX" add N));
setProperty("K" add N, _y , eval ("KY" add N));
Set("KT" add N, eval ("KT" add N) + 1);
}
}
N = Number(N) + 1;
}
if (Number(BlueChanger) == 1) {
BlueChanger = 0;
KF2 = 1;
KF3 = 1;
KF4 = 1;
KF5 = 1;
}
if (Number(BlueChanger) == 2) {
BlueChanger = 0;
KF2 = 2;
KF3 = 2;
KF4 = 2;
KF5 = 2;
}
W1Diag = 7;
W1Speed = 10;
N = 1;
while (Number(EnemyMax) >= Number(N)) {
if (eval ("KType" add N) >= 49) {
if (eval ("KT" add N) != -1) {
Set("KL2X" add N, eval ("KLX" add N));
Set("KLX" add N, eval ("KX" add N));
Set("KLY" add N, eval ("KY" add N) - eval ("KH" add N));
Set("KMoving" add N, 0);
EnemyAnim = 0;
if (1200 < eval ("KY" add N)) {
Set("KT" add N, -2);
}
if ((0 < eval ("KL" add N)) or (eval ("KT" add N) >= 40)) {
if (eval ("KType" add N) == 49) {
if (eval ("KX" add N) < MX) {
Set("KF" add N, 2);
} else {
Set("KF" add N, 1);
}
if ((((eval ("KT" add N) >= 60) and ((-5 < eval ("KX" add N)) and (eval ("KX" add N) < 805))) and ((-5 < eval ("KY" add N)) and (eval ("KY" add N) < 605))) and (eval ("KVX" add N) == 0)) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 1);
} else {
EnemyAttack = 1;
AttackType = eval ("KF" add N) + 7;
Q = N;
Set("KT" add N, 25);
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
}
if (eval ("KVX" add N) != 0) {
EnemyAnim = 7;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
}
if (eval ("KType" add N) == 65) {
if (eval ("KVX" add N) == 0) {
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 4);
} else {
Set("KX" add N, eval ("KX" add N) + 4);
}
}
if (((eval ("KF" add N) == 1) and (MX < eval ("KX" add N))) and (((eval ("KY" add N) - 30) < (MY - 45)) and ((MY - 45) < (eval ("KY" add N) + 30)))) {
Alert = 1;
}
if (((eval ("KF" add N) == 2) and (eval ("KX" add N) < MX)) and (((eval ("KY" add N) - 30) < (MY - 45)) and ((MY - 45) < (eval ("KY" add N) + 30)))) {
Alert = 1;
}
if (Number(Alert) == 1) {
if (Number(Diff) == 3) {
Set("KType" add N, 56);
Set("KT" add N, 75);
Set("KG" add N, 1);
} else {
Alert = 0;
Set("KType" add N, 55);
Set("KT" add N, 80);
Set("KG" add N, 1.5);
tellTarget (("K" add N) add "/Q") {
gotoAndStop (43);
};
}
}
}
if (((((eval ("KType" add N) == 50) or (eval ("KType" add N) == 55)) or (eval ("KType" add N) == 57)) or (eval ("KType" add N) == 61)) or (eval ("KType" add N) == 63)) {
if ((eval ("KVX" add N) == 0) and (((eval ("KT" add N) < 70) or (eval ("KType" add N) == 55)) or (eval ("KType" add N) == 61))) {
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 9);
Set("KMoving" add N, 1);
} else {
Set("KX" add N, eval ("KX" add N) + 9);
Set("KMoving" add N, 1);
}
}
if (((eval ("KT" add N) >= 70) and (eval ("KType" add N) != 55)) and (eval ("KType" add N) != 61)) {
if (eval ("KY" add N) < (MY - 100)) {
EnemyAnim = 11;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
if ((MY + 150) < eval ("KY" add N)) {
EnemyAnim = 9;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
if ((eval ("KFall" add N) != 3) and (EnemyAnim != 0)) {
EnemyAnim = Number(EnemyAnim) + 4;
}
}
if ((((eval ("KT" add N) == 80) and ((-20 < eval ("KX" add N)) and (eval ("KX" add N) < 820))) and ((-5 < eval ("KY" add N)) and (eval ("KY" add N) < 605))) and (eval ("KVX" add N) == 0)) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 1);
} else {
EnemyAttack = 1;
AttackType = eval ("KF" add N) + 7;
if ((Number(EnemyAnim) == 9) or (Number(EnemyAnim) == 13)) {
AttackType = 12;
}
if ((Number(EnemyAnim) == 11) or (Number(EnemyAnim) == 15)) {
AttackType = 10;
}
if ((Number(EnemyAnim) == 59) or (Number(EnemyAnim) == 63)) {
AttackType = 13;
}
if ((Number(EnemyAnim) == 61) or (Number(EnemyAnim) == 65)) {
AttackType = 11;
}
Q = N;
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
}
if (eval ("KT" add N) == 100) {
Set("KT" add N, random(30));
}
if (eval ("KVX" add N) != 0) {
EnemyAnim = 7;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
}
if (((eval ("KType" add N) == 51) or (eval ("KType" add N) == 52)) or (eval ("KType" add N) == 67)) {
if (eval ("KVX" add N) == 0) {
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 9);
} else {
Set("KX" add N, eval ("KX" add N) + 9);
}
}
if ((((eval ("KT" add N) == 50) and (eval ("KFall" add N) == 3)) and (eval ("KVX" add N) == 0)) and (eval ("KType" add N) == 51)) {
Set("KT" add N, random(10));
Set("KV" add N, 22);
Set("KFall" add N, 1);
}
if (eval ("KVX" add N) != 0) {
EnemyAnim = 7;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
}
if ((eval ("KType" add N) == 53) or (eval ("KType" add N) == 56)) {
if (MX < eval ("KX" add N)) {
Set("KF" add N, 1);
}
if (eval ("KX" add N) < MX) {
Set("KF" add N, 2);
}
if (((MY < eval ("KY" add N)) and (eval ("KFall" add N) == 3)) and (eval ("KT" add N) == 45)) {
Set("KV" add N, 22);
Set("KFall" add N, 1);
Set("KT" add N, 10);
}
if (eval ("KT" add N) < 45) {
if ((eval ("KF" add N) == 1) and ((MX + 50) < eval ("KX" add N))) {
Set("KX" add N, eval ("KX" add N) - 4);
} else if ((eval ("KF" add N) == 2) and (eval ("KX" add N) < (MX - 50))) {
Set("KX" add N, eval ("KX" add N) + 4);
}
}
if ((((eval ("KT" add N) == 50) and ((-5 < eval ("KX" add N)) and (eval ("KX" add N) < 805))) and ((-5 < eval ("KY" add N)) and (eval ("KY" add N) < 605))) and (eval ("KVX" add N) == 0)) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 1);
} else {
EnemyAttack = 1;
AttackType = eval ("KF" add N) + 7;
Q = N;
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
}
if (eval ("KT" add N) == 59) {
Set("KT" add N, random(30));
}
if (eval ("KVX" add N) != 0) {
EnemyAnim = 7;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
}
if (eval ("KType" add N) == 54) {
if ((eval ("KVX" add N) == 0) and (eval ("KT" add N) < 70)) {
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 9);
} else {
Set("KX" add N, eval ("KX" add N) + 9);
}
}
if ((((eval ("KT" add N) == 80) and ((-5 < eval ("KX" add N)) and (eval ("KX" add N) < 805))) and ((-5 < eval ("KY" add N)) and (eval ("KY" add N) < 605))) and (eval ("KVX" add N) == 0)) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 1);
} else {
EnemyAttack = 1;
AttackType = eval ("KF" add N) + 5;
if (eval ("KFall" add N) != 3) {
AttackType = eval ("KF" add N) + 7;
}
Q = N;
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
}
if (eval ("KT" add N) >= 100) {
Set("KT" add N, random(20));
}
if (eval ("KVX" add N) != 0) {
EnemyAnim = 7;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
}
if (eval ("KType" add N) == 58) {
if (eval ("KVX" add N) == 0) {
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 4);
} else {
Set("KX" add N, eval ("KX" add N) + 4);
}
}
if ((((((eval ("KT" add N) == 80) or (eval ("KT" add N) == 85)) or (eval ("KT" add N) == 90)) and ((-5 < eval ("KX" add N)) and (eval ("KX" add N) < 805))) and ((-5 < eval ("KY" add N)) and (eval ("KY" add N) < 605))) and (eval ("KVX" add N) == 0)) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 1);
} else {
EnemyAttack = 1;
AttackType = eval ("KF" add N) + 1;
Q = N;
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
}
if (eval ("KT" add N) == 100) {
Set("KT" add N, random(30));
}
if (eval ("KVX" add N) != 0) {
EnemyAnim = 7;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
}
if (eval ("KType" add N) == 59) {
if (eval ("KVX" add N) == 0) {
if (eval ("KF" add N) == 1) {
Set("KX" add N, eval ("KX" add N) - 9);
} else {
Set("KX" add N, eval ("KX" add N) + 9);
}
}
if (eval ("KFall" add N) == 2) {
Set("KT" add N, 0);
}
if (((eval ("KT" add N) == 90) and (eval ("KFall" add N) == 3)) and (eval ("KVX" add N) == 0)) {
Set("KT" add N, 0);
Set("KV" add N, 22);
Set("KFall" add N, 1);
}
if (eval ("KVX" add N) != 0) {
EnemyAnim = 7;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
}
if (eval ("KType" add N) == 60) {
if (eval ("KX" add N) < MX) {
Set("KF" add N, 2);
} else {
Set("KF" add N, 1);
}
if ((((eval ("KT" add N) >= 70) and ((-5 < eval ("KX" add N)) and (eval ("KX" add N) < 805))) and ((-5 < eval ("KY" add N)) and (eval ("KY" add N) < 605))) and (eval ("KVX" add N) == 0)) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, eval ("KT" add N) - 1);
} else {
EnemyAttack = 1;
AttackType = eval ("KF" add N) + 47;
Q = N;
Set("KT" add N, 40);
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
}
if (eval ("KVX" add N) != 0) {
EnemyAnim = 7;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
}
if ((eval ("KType" add N) == 62) or (eval ("KType" add N) == 66)) {
if (eval ("KVX" add N) == 0) {
if (eval ("KX" add N) < 50) {
Set("KX" add N, eval ("KX" add N) + 9);
Set("KF" add N, 2);
}
if (750 < eval ("KX" add N)) {
Set("KX" add N, eval ("KX" add N) - 9);
Set("KF" add N, 1);
}
}
if (eval ("KT" add N) == 51) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, 50);
} else {
Set("KT" add N, 21);
tellTarget ("/Sound") {
gotoAndPlay (180);
};
AttackType = eval ("KF" add N) + 32;
EnemyAttack = 1;
Q = N;
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
}
if (eval ("KVX" add N) != 0) {
EnemyAnim = 7;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
}
if (eval ("KType" add N) == 64) {
if (eval ("KX" add N) < MX) {
Set("KF" add N, 2);
} else {
Set("KF" add N, 1);
}
if (eval ("KVX" add N) == 0) {
if (eval ("KX" add N) < 50) {
Set("KX" add N, eval ("KX" add N) + 9);
Set("KF" add N, 2);
}
if (750 < eval ("KX" add N)) {
Set("KX" add N, eval ("KX" add N) - 9);
Set("KF" add N, 1);
}
}
if (eval ("KT" add N) == 80) {
if (Number(EnemyAttack) == 1) {
Set("KT" add N, 79);
} else {
Set("KT" add N, 30);
AttackType = eval ("KF" add N) + 50;
EnemyAttack = 1;
Q = N;
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
}
if (eval ("KVX" add N) != 0) {
EnemyAnim = 7;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
}
if ((eval ("KType" add N) == 74) or (eval ("KType" add N) == 70)) {
if (MX < eval ("KX" add N)) {
Set("KF" add N, 1);
}
if (eval ("KX" add N) < MX) {
Set("KF" add N, 2);
}
if ((eval ("KVX" add N) == 0) and (eval ("KType" add N) == 74)) {
if ((eval ("KF" add N) == 1) and ((MX + 50) < eval ("KX" add N))) {
Set("KX" add N, eval ("KX" add N) - 9);
} else if ((eval ("KF" add N) == 2) and (eval ("KX" add N) < (MX - 50))) {
Set("KX" add N, eval ("KX" add N) + 9);
}
if ((eval ("KFall" add N) != 3) and (EnemyAnim != 0)) {
EnemyAnim = Number(EnemyAnim) + 4;
}
}
if (eval ("KT" add N) == 59) {
if (Number(KVX1) != 0) {
KT1 = 58;
} else if ((Number(MX) < Number(KX1 - 200)) or (Number(Number(KX1) + 200) < Number(MX))) {
Set("KV" add N, 30);
Set("KFall" add N, 1);
Set("KT" add N, 0);
}
}
if ((eval ("KT" add N) == 60) and (eval ("KVX" add N) == 0)) {
Set("KW" add N, 100);
Set("KG" add N, 2);
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
tellTarget ("/Sound") {
gotoAndPlay (260);
};
}
if (eval ("KT" add N) >= 63) {
Set("KT" add N, 30);
Set("KW" add N, 17);
if (eval ("KType" add N) == 74) {
Set("KW" add N, 14);
}
Set("KG" add N, 1);
}
if (eval ("KVX" add N) != 0) {
EnemyAnim = 7;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
}
if ((eval ("KType" add N) == 71) or (eval ("KType" add N) == 75)) {
if (MX < eval ("KX" add N)) {
Set("KF" add N, 1);
}
if (eval ("KX" add N) < MX) {
Set("KF" add N, 2);
}
if ((eval ("KVX" add N) == 0) and (eval ("KType" add N) == 71)) {
if ((eval ("KF" add N) == 1) and ((MX + 150) < eval ("KX" add N))) {
Set("KX" add N, eval ("KX" add N) - 4);
} else if ((eval ("KF" add N) == 2) and (eval ("KX" add N) < (MX - 150))) {
Set("KX" add N, eval ("KX" add N) + 4);
}
if ((eval ("KFall" add N) != 3) and (EnemyAnim != 0)) {
EnemyAnim = Number(EnemyAnim) + 4;
}
}
if ((eval ("KT" add N) >= 60) and (eval ("KVX" add N) == 0)) {
if (eval ("KF" add N) == 1) {
KX1 = KX2 - 20;
KY1 = KY2 - 10;
KTar1 = 15;
KT1 = 1;
} else {
KX1 = Number(KX2) + 20;
KY1 = KY2 - 10;
KTar1 = -15;
KT1 = 1;
}
KF1 = KF2;
KL1 = 6;
KT2 = 0;
tellTarget ("/K1/Q/Z/G") {
gotoAndPlay (2);
};
tellTarget ("/K2/Q/Z/G") {
gotoAndPlay (2);
};
tellTarget ("/Sound") {
gotoAndPlay (260);
};
}
if (eval ("KVX" add N) != 0) {
EnemyAnim = 7;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
}
if (eval ("KType" add N) == 72) {
Set("KX" add N, eval ("KX" add N) - eval ("KTar" add N));
Set("KTar" add N, eval ("KTar" add N) * 1.05);
}
if (eval ("KType" add N) == 73) {
if ((((((eval ("KT" add N) == 75) or (eval ("KT" add N) == 90)) or (eval ("KT" add N) == 105)) and ((-5 < eval ("KX" add N)) and (eval ("KX" add N) < 805))) and ((-5 < eval ("KY" add N)) and (eval ("KY" add N) < 605))) and (eval ("KVX" add N) == 0)) {
EnemyAttack = 1;
AttackType = eval ("KF" add N) + 47;
Q = N;
}
if (eval ("KT" add N) == 62) {
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
}
if ((eval ("KT" add N) < 61) and (MX < eval ("KX" add N))) {
Set("KF" add N, 1);
}
if ((eval ("KT" add N) < 61) and (eval ("KX" add N) < MX)) {
Set("KF" add N, 2);
}
if (eval ("KT" add N) == 120) {
Set("KT" add N, 1);
}
if (eval ("KVX" add N) != 0) {
Set("KT" add N, 1);
EnemyAnim = 7;
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
}
if (eval ("KType" add N) == 1001) {
if (eval ("KT" add N) == 121) {
Set("KT" add N, 1);
}
if (eval ("KT" add N) == 1) {
Set("KX" add N, eval ("KX" add N) + 2000);
}
if (eval ("KT" add N) == 51) {
Set("KX" add N, eval ("KX" add N) - 2000);
}
}
if (eval ("KType" add N) == 1007) {
if (eval ("KY" add N) < (MY - 190)) {
if ((MX + 5) < eval ("KX" add N)) {
Set("KX" add N, eval ("KX" add N) - 9);
Set("KF" add N, 1);
} else if (eval ("KX" add N) < (MX - 5)) {
Set("KX" add N, eval ("KX" add N) + 9);
Set("KF" add N, 2);
}
} else if (eval ("KFall" add N) == 3) {
if ((MX + 100) < eval ("KX" add N)) {
Set("KX" add N, eval ("KX" add N) - 9);
Set("KF" add N, 1);
}
if (eval ("KX" add N) < (MX - 100)) {
Set("KX" add N, eval ("KX" add N) + 9);
Set("KF" add N, 2);
}
if ((MY + 60) < eval ("KY" add N)) {
Set("KV" add N, 22);
Set("KFall" add N, 1);
}
} else {
if ((MX + 30) < eval ("KX" add N)) {
Set("KX" add N, eval ("KX" add N) - 9);
Set("KF" add N, 1);
}
if (eval ("KX" add N) < (MX - 30)) {
Set("KX" add N, eval ("KX" add N) + 9);
Set("KF" add N, 2);
}
}
}
if (eval ("KType" add N) == 1010) {
if ((AviorTarget + 5) < eval ("KX" add N)) {
Set("KX" add N, eval ("KX" add N) - 9);
Set("KF" add N, 1);
}
if (eval ("KX" add N) < (AviorTarget - 5)) {
Set("KX" add N, eval ("KX" add N) + 9);
Set("KF" add N, 2);
}
if ((eval ("KX" add N) >= (AviorTarget - 5)) and ((AviorTarget + 5) >= eval ("KX" add N))) {
Set("KX" add N, AviorTarget);
Set("KF" add N, AviorF);
EnemyAnim = 9;
if (eval ("KF" add N) == 1) {
EnemyAnim = 59;
}
Set("KType" add N, 1011);
}
}
if (eval ("KType" add N) == 1011) {
EnemyAnim = 9;
if (eval ("KF" add N) == 1) {
EnemyAnim = 59;
}
}
if ((eval ("KType" add N) == 1008) or (eval ("KType" add N) == 1009)) {
if ((eval ("KT" add N) == 100) and (eval ("KType" add N) == 1008)) {
if (eval ("KF" add N) == 1) {
Set("KF" add N, 2);
} else {
Set("KF" add N, 1);
}
}
if (eval ("KT" add N) == 110) {
if (eval ("KFall" add N) == 3) {
if (eval ("KF" add N) == 2) {
SSX0 = -1 * W1Speed;
SX0 = eval ("KX" add N) + 36;
setProperty("S0", _rotation , 0);
} else {
SSX0 = W1Speed;
SX0 = eval ("KX" add N) - 36;
setProperty("S0", _rotation , 180);
}
SY0 = eval ("KY" add N) - 11;
S0 = 1;
SD0 = 7.5;
ST0 = 1;
tellTarget (("K" add N) add "/Q/Z/G") {
gotoAndPlay (2);
};
tellTarget ("S0/Missile") {
gotoAndPlay (1);
};
tellTarget ("/Sound") {
gotoAndPlay (250);
};
} else {
Set("KT" add N, 109);
}
}
if (eval ("KT" add N) == 125) {
Set("KT" add N, 0);
}
if (eval ("KT" add N) < 100) {
if (eval ("KFall" add N) == 3) {
if ((MX + 100) < eval ("KX" add N)) {
Set("KX" add N, eval ("KX" add N) - 9);
Set("KF" add N, 1);
}
if (eval ("KX" add N) < (MX - 100)) {
Set("KX" add N, eval ("KX" add N) + 9);
Set("KF" add N, 2);
}
if ((MY + 60) < eval ("KY" add N)) {
Set("KV" add N, 22);
Set("KFall" add N, 1);
}
} else {
if ((MX + 30) < eval ("KX" add N)) {
Set("KX" add N, eval ("KX" add N) - 9);
Set("KF" add N, 1);
}
if (eval ("KX" add N) < (MX - 30)) {
Set("KX" add N, eval ("KX" add N) + 9);
Set("KF" add N, 2);
}
}
}
}
}
if ((0.75 < eval ("KG" add N)) or (eval ("KG" add N) == -1)) {
Set("Land" add N, 0);
L = 1;
if ((Number(Special) == 3) and (Number(L) == 1)) {
if ((PL1 < eval ("KX" add N)) and (eval ("KX" add N) < PR1)) {
Percent = (eval ("KX" add N) - PL1) / (PR1 - PL1);
PY1 = Percent * PYR1;
Percent = 1 - Percent;
PY1 = Number(PY1) + Number(Percent * PYL1);
} else if (eval ("KX" add N) < PL1) {
PY1 = PYL1;
} else if (PR1 < eval ("KX" add N)) {
PY1 = PYR1;
}
}
while (Number(Mplat) >= Number(L)) {
if ((eval ("KG" add N) == 1.5) and (eval ("KType" add N) != 9)) {
if (((((eval ("KX" add N) >= eval ("PL" add L)) and (eval ("PR" add L) >= eval ("KX" add N))) and (eval ("KY" add N) >= ((eval ("PY" add L) - eval ("KH" add N)) - 5))) and ((((eval ("PY" add L) - eval ("KH" add N)) + 10) + (-1 * eval ("KV" add N))) >= eval ("KY" add N))) and (1 < eval ("KFall" add N))) {
Set("Land" add N, 1);
Set("KFall" add N, 3);
Set("KV" add N, 0);
Set("KY" add N, eval ("PY" add L) - eval ("KH" add N));
}
} else if (((((eval ("KX" add N) >= (eval ("PL" add L) - eval ("KW" add N))) and ((eval ("PR" add L) + eval ("KW" add N)) >= eval ("KX" add N))) and (eval ("KY" add N) >= ((eval ("PY" add L) - eval ("KH" add N)) - 5))) and (((eval ("PY" add L) - eval ("KH" add N)) + ((-1 * eval ("KV" add N)) + 10)) >= eval ("KY" add N))) and (1 < eval ("KFall" add N))) {
Set("Land" add N, 1);
Set("KFall" add N, 3);
EStanding = L;
Set("EStanding" add N, L);
Set("KV" add N, 0);
Set("KY" add N, eval ("PY" add L) - eval ("KH" add N));
}
if (eval ("Land" add N) == 1) {
L = 99;
}
L = Number(L) + 1;
}
if ((eval ("KFall" add N) == 3) and (eval ("Land" add N) == 0)) {
if ((eval ("KG" add N) == 1.5) and (eval ("KVX" add N) == 0)) {
if (((((eval ("KType" add N) == 3) or (eval ("KType" add N) == 9)) or (eval ("KType" add N) == 55)) or (eval ("KType" add N) == 59)) or (eval ("KType" add N) == 61)) {
Set("KV" add N, 16);
Set("KFall" add N, 1);
} else if ((eval ("KType" add N) == 53) or (eval ("KType" add N) == 56)) {
Set("KV" add N, 22);
Set("KT" add N, 10);
Set("KFall" add N, 1);
} else {
if (eval ("KF" add N) == 1) {
Set("KF" add N, 2);
Set("KX" add N, eval ("KLX" add N));
if ((Number(EStanding) == 1) and (Number(Special) == 3)) {
Set("KY" add N, eval ("KY" add N) - 1);
}
} else {
Set("KF" add N, 1);
Set("KX" add N, eval ("KLX" add N));
if ((Number(EStanding) == 1) and (Number(Special) == 3)) {
Set("KY" add N, eval ("KY" add N) - 1);
}
}
Set("KFall" add N, 3);
}
} else {
Set("KFall" add N, 2);
}
}
}
if ((eval ("KG" add N) >= 0.75) or (eval ("KG" add N) == -1)) {
if ((eval ("KFall" add N) == 1) or (eval ("KFall" add N) == 2)) {
Set("KV" add N, eval ("KV" add N) - 2);
}
if ((eval ("KFall" add N) == 1) and (0 >= eval ("KV" add N))) {
Set("KFall" add N, 2);
}
if (eval ("KV" add N) < -20) {
Set("KV" add N, -20);
}
if (20 < eval ("KV" add N)) {
Set("KY" add N, eval ("KY" add N) - 20);
} else if (Number(Location) == 26) {
Set("KY" add N, eval ("KY" add N) - (eval ("KV" add N) / 2));
} else {
Set("KY" add N, eval ("KY" add N) - eval ("KV" add N));
}
if ((eval ("KFall" add N) == 0) or (eval ("KFall" add N) == 3)) {
Set("KV" add N, 0);
}
}
if (eval ("KG" add N) == 0.5) {
if (Number(Location) == 26) {
Set("KY" add N, eval ("KY" add N) - (eval ("KV" add N) / 2));
} else {
Set("KY" add N, eval ("KY" add N) - eval ("KV" add N));
}
if ((1 >= eval ("KV" add N)) and (eval ("KV" add N) >= -1)) {
Set("KV" add N, 0);
}
if (0 < eval ("KV" add N)) {
Set("KV" add N, eval ("KV" add N) - 2);
} else if (eval ("KV" add N) < 0) {
Set("KV" add N, eval ("KV" add N) + 2);
}
}
if ((eval ("KG" add N) == 0.25) or (eval ("KG" add N) == -0.25)) {
if ((eval ("KFall" add N) == 1) or (eval ("KFall" add N) == 2)) {
Set("KV" add N, eval ("KV" add N) + 2);
}
if ((eval ("KFall" add N) == 2) and (eval ("KV" add N) >= 0)) {
Set("KFall" add N, 1);
}
if (eval ("KV" add N) < -20) {
Set("KV" add N, -20);
}
if (20 < eval ("KV" add N)) {
Set("KY" add N, eval ("KY" add N) - 20);
} else {
Set("KY" add N, eval ("KY" add N) - eval ("KV" add N));
}
if ((eval ("KFall" add N) == 0) or (eval ("KFall" add N) == 3)) {
Set("KV" add N, 0);
}
}
if (0 < eval ("KG" add N)) {
if (Number(Location) == 26) {
Set("KX" add N, eval ("KX" add N) - (eval ("KVX" add N) / 3));
} else {
Set("KX" add N, eval ("KX" add N) - eval ("KVX" add N));
}
if ((eval ("KVX" add N) < 2) and (-2 < eval ("KVX" add N))) {
Set("KVX" add N, 0);
}
if (0 < eval ("KVX" add N)) {
Set("KVX" add N, eval ("KVX" add N) - 2);
}
if (eval ("KVX" add N) < 0) {
Set("KVX" add N, eval ("KVX" add N) + 2);
}
}
L = 1;
while (Number(MWall) >= Number(L)) {
if ((((eval ("KX" add N) >= (eval ("WX" add L) - eval ("KW" add N))) and ((eval ("WX" add L) + eval ("KW" add N)) >= eval ("KX" add N))) and ((eval ("KY" add N) >= (eval ("WT" add L) - eval ("KH" add N))) and (eval ("WB" add L) >= eval ("KY" add N)))) and (eval ("KG" add N) < 2)) {
Set("KF" add N, eval ("WF" add L));
if (eval ("KF" add N) == 1) {
Set("KX" add N, (eval ("WX" add L) - eval ("KW" add N)) - 1);
}
if (eval ("KF" add N) == 2) {
Set("KX" add N, (eval ("WX" add L) + eval ("KW" add N)) + 1);
}
if (eval ("KVX" add N) != 0) {
Set("KVX" add N, 0);
}
if ((eval ("KType" add N) >= 1007) and (MY < eval ("KY" add N))) {
Set("KV" add N, 16);
Set("KFall" add N, 1);
EnemyAnim = 7;
if (eval ("KF" add N) == 2) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
if ((((((eval ("KType" add N) == 56) or (eval ("KType" add N) == 71)) or (eval ("KType" add N) == 74)) or (eval ("KType" add N) >= 1007)) and (0 < eval ("KL" add N))) and (EnemyAnim == 0)) {
if (eval ("KX" add N) < MX) {
EnemyAnim = 1;
} else {
EnemyAnim = 51;
}
if (eval ("KFall" add N) != 3) {
EnemyAnim = Number(EnemyAnim) + 4;
}
}
}
L = Number(L) + 1;
}
if (((eval ("KX" add N) < 0) and (eval ("KType" add N) != 280)) and (eval ("KType" add N) != 290)) {
Set("KF" add N, 2);
if (eval ("KVX" add N) != 0) {
Set("KX" add N, 0);
Set("KVX" add N, 0);
}
}
if (((800 < eval ("KX" add N)) and (eval ("KType" add N) != 280)) and (eval ("KType" add N) != 290)) {
Set("KF" add N, 1);
if (eval ("KVX" add N) != 0) {
Set("KX" add N, 800);
Set("KVX" add N, 0);
}
}
L = 1;
while (Number(MCeil) >= Number(L)) {
if ((((eval ("KX" add N) >= (eval ("CL" add L) - eval ("KW" add N))) and ((eval ("CR" add L) + eval ("KW" add N)) >= eval ("KX" add N))) and ((eval ("CY" add L) >= (eval ("KY" add N) - eval ("KH" add N))) and ((eval ("KY" add N) + eval ("KH" add N)) >= (eval ("CY" add L) - 50)))) and (eval ("CY" add L) < eval ("KLY" add N))) {
if (eval ("KV" add N) >= 0) {
Set("KV" add N, 0);
Set("KY" add N, (eval ("CY" add L) + eval ("KH" add N)) + 1);
}
if (eval ("KVY" add N) < 0) {
Set("KVY" add N, 0);
Set("KVYD" add N, 0);
}
if (eval ("KG" add N) == 0.75) {
Set("KG" add N, 1);
}
}
L = Number(L) + 1;
}
if (((MX >= ((eval ("KX" add N) - Width) - eval ("KW" add N))) and (((eval ("KX" add N) + Width) + eval ("KW" add N)) >= MX)) and (KT1 >= 60)) {
if (((((MY >= (eval ("KY" add N) - eval ("KH" add N))) and (((eval ("KY" add N) + Height) + eval ("KH" add N)) >= MY)) and (0 < eval ("KL" add N))) and (Stun == 0)) and (eval ("KType" add N) < 1007)) {
Life = Life - Damage;
CI = 20;
Stun = 60;
Slide = 0;
tellTarget ("/mike") {
gotoAndPlay (2);
};
tellTarget ("/Sound") {
gotoAndPlay (30);
};
if (eval ("KType" add N) == 72) {
Set("KL" add N, 0);
}
}
}
L = 1;
while (Number(L) < Number(ShotMax)) {
if ((eval ("SX" add L) >= ((eval ("KX" add N) - eval ("SW" add L)) - eval ("KW" add N))) and (((eval ("KX" add N) + eval ("SW" add L)) + eval ("KW" add N)) >= eval ("SX" add L))) {
if (((((eval ("SY" add L) >= ((eval ("KY" add N) - eval ("SW" add L)) - eval ("KH" add N))) and (((eval ("KY" add N) + eval ("SW" add L)) + eval ("KH" add N)) >= eval ("SY" add L))) and (0 < eval ("KL" add N))) and ((((eval ("ST" add L) == 1) or (eval ("ST" add L) == 50)) or (eval ("ST" add L) == 101)) or (eval ("ST" add L) == 201))) and (eval ("KType" add N) < 500)) {
ValidHit = 1;
if (Number(SpecialMode) == 2) {
ValidHit = 0;
if (0 < eval ("KL" add N)) {
tellTarget ("K" add N) {
gotoAndPlay (2);
};
}
}
if ((eval ("KType" add N) == 73) and (eval ("KT" add N) < 62)) {
ValidHit = 0;
Set("KT" add N, random(20));
}
if (Number(ValidHit) == 0) {
if (eval ("ST" add L) == 201) {
Set("SX" add L, -10000);
Set("SY" add L, -10000);
Set("ST" add L, 202);
}
}
if (Number(ValidHit) == 1) {
Set("KL" add N, eval ("KL" add N) - eval ("SD" add L));
if (0 < eval ("KL" add N)) {
tellTarget ("K" add N) {
gotoAndPlay (2);
};
}
}
if (Number(SpecialMode) == 2) {
ValidHit = 1;
}
if (eval ("ST" add L) == 1) {
Set("ST" add L, 2);
}
if (eval ("ST" add L) == 50) {
Set("ST" add L, 51);
}
if (eval ("ST" add L) == 201) {
Set("ST" add L, 197);
}
tellTarget (("S" add L) add "/Missile") {
gotoAndPlay (50);
};
if (Number(ValidHit) == 1) {
if (Number(Facing) == 2) {
Set("KVX" add N, -18);
KT1 = 53;
if (Number(KType1) == 53) {
KT1 = 35;
}
}
if (Number(Facing) == 1) {
Set("KVX" add N, 18);
KT1 = 53;
if (Number(KType1) == 53) {
KT1 = 35;
}
}
}
}
}
L = Number(L) + 1;
}
if ((0 >= eval ("KL" add N)) and (-90 < eval ("KL" add N))) {
Set("KL" add N, -100);
Set("KT" add N, -100);
if ((eval ("KType" add N) == 1) or (eval ("KType" add N) == 2)) {
tellTarget ("/S/I") {
play();
};
tellTarget ("/SMap") {
play();
};
}
if (eval ("KF" add N) == 1) {
EnemyAnim = 100;
} else {
EnemyAnim = 200;
}
if (eval ("KG" add N) == 0.75) {
Set("KG" add N, 1);
}
}
if ((0 < eval ("KL" add N)) and (EnemyAnim == 0)) {
if ((eval ("KFall" add N) == 1) or (eval ("KFall" add N) == 2)) {
EnemyAnim = 5;
} else if ((int(eval ("KLX" add N)) != int(eval ("KX" add N))) or (eval ("KMoving" add N) == 1)) {
EnemyAnim = 3;
} else {
EnemyAnim = 1;
}
if (eval ("KF" add N) == 1) {
EnemyAnim = Number(EnemyAnim) + 50;
}
}
tellTarget (("K" add N) add "/Q/Z") {
gotoAndPlay(int(/:EnemyAnim));
};
setProperty("K" add N, _x , eval ("KX" add N));
setProperty("K" add N, _y , eval ("KY" add N));
Set("KT" add N, eval ("KT" add N) + 1);
}
}
N = Number(N) + 1;
}
N = 1;
while (Number(N) < 14) {
Set("IX" add N, eval ("IX" add N) - eval ("ISX" add N));
Set("IY" add N, eval ("IY" add N) - eval ("ISY" add N));
if (int(eval ("IG" add N)) == 1) {
Set("IV" add N, eval ("IV" add N) - 2);
if (eval ("IV" add N) < -20) {
Set("IV" add N, -20);
}
if (30 < eval ("IV" add N)) {
Set("IY" add N, eval ("IY" add N) - 30);
} else {
Set("IY" add N, eval ("IY" add N) - eval ("IV" add N));
}
}
if (int(eval ("IG" add N)) == 2) {
Set("IV" add N, eval ("IV" add N) - 1);
if (-12 >= eval ("IV" add N)) {
Set("IV" add N, -12);
Set("IG" add N, 3);
}
Set("IY" add N, eval ("IY" add N) - eval ("IV" add N));
} else if (int(eval ("IG" add N)) == 3) {
Set("IV" add N, eval ("IV" add N) + 1);
if (eval ("IV" add N) >= 12) {
Set("IV" add N, 12);
Set("IG" add N, 2);
}
Set("IY" add N, eval ("IY" add N) - eval ("IV" add N));
}
if (((((850 < eval ("IX" add N)) or (eval ("IX" add N) < -50)) or (650 < eval ("IY" add N))) or (eval ("IY" add N) < -50)) or (eval ("IT" add N) >= 500)) {
Set("ISX" add N, 0);
Set("ISY" add N, 0);
Set("IX" add N, -1000);
Set("IT" add N, 0);
}
if (((EnemyAttack == 1) and (eval ("ISX" add N) == 0)) and (eval ("ISY" add N) == 0)) {
tellTarget ("I" add N) {
gotoAndStop (1);
};
EnemyAttack = 0;
Set("IG" add N, 0);
Set("IX" add N, eval ("KX" add Q));
Set("IY" add N, eval ("KY" add Q));
if ((((Number(AttackType) == 1) or (Number(AttackType) == 57)) or (Number(AttackType) == 58)) or (Number(AttackType) == 100)) {
if (Number(AttackType) == 1) {
tellTarget ("/Sound") {
gotoAndPlay (50);
};
}
if (Number(AttackType) == 57) {
Set("IX" add N, eval ("KX" add Q) - 21);
tellTarget ("/Sound") {
gotoAndPlay (50);
};
}
if (Number(AttackType) == 58) {
Set("IX" add N, eval ("KX" add Q) + 21);
tellTarget ("/Sound") {
gotoAndPlay (50);
};
}
if (Number(AttackType) == 100) {
Set("IX" add N, eval ("IX" add N) - 53);
Set("IY" add N, eval ("IY" add N) + 20);
tellTarget ("I" add N) {
gotoAndStop (42);
};
}
SDX = eval ("IX" add N) - MX;
SDY = (eval ("IY" add N) - MY) + (Height - 6);
Root = Number(SDX * SDX) + Number(SDY * SDY);
N2 = 1;
counter = 0;
while (Number(counter) < 11) {
N2 = N2 - (((N2 * N2) - Root) / (2 * N2));
counter = Number(counter) + 1;
}
Set("ISX" add N, (Constant * SDX) / N2);
Set("ISY" add N, (Constant * SDY) / N2);
}
if (((((((((((Number(AttackType) == 2) or (Number(AttackType) == 6)) or (Number(AttackType) == 8)) or (Number(AttackType) == 14)) or (Number(AttackType) == 20)) or (Number(AttackType) == 27)) or (Number(AttackType) == 43)) or (Number(AttackType) == 45)) or (Number(AttackType) == 48)) or (Number(AttackType) == 53)) or (Number(AttackType) == 55)) {
Set("ISX" add N, Constant);
Set("ISY" add N, 0);
if (Number(AttackType) == 2) {
Set("IX" add N, eval ("IX" add N) - 53);
Set("IY" add N, eval ("IY" add N) - 27);
tellTarget ("I" add N) {
gotoAndStop (2);
};
tellTarget ("/Sound") {
gotoAndPlay (90);
};
}
if (Number(AttackType) == 6) {
Set("IX" add N, eval ("IX" add N) - 41);
Set("IY" add N, eval ("IY" add N) + 3);
tellTarget ("/Sound") {
gotoAndPlay (90);
};
}
if (Number(AttackType) == 8) {
Set("IX" add N, eval ("IX" add N) - 44);
Set("IY" add N, eval ("IY" add N) - 27);
tellTarget ("/Sound") {
gotoAndPlay (90);
};
}
if (Number(AttackType) == 14) {
Set("IX" add N, eval ("IX" add N) - 30);
Set("IY" add N, eval ("IY" add N) - 32);
tellTarget ("I" add N) {
gotoAndStop (20);
};
}
if (Number(AttackType) == 20) {
Set("IX" add N, eval ("IX" add N));
Set("IY" add N, eval ("IY" add N));
tellTarget ("I" add N) {
gotoAndStop (19);
};
if (Number(Location) == 28) {
tellTarget ("I" add N) {
gotoAndStop (25);
};
}
}
if (Number(AttackType) == 27) {
Set("IX" add N, eval ("IX" add N) - 30);
Set("IY" add N, eval ("IY" add N) + 3);
tellTarget ("I" add N) {
gotoAndStop (1);
};
tellTarget ("/Sound") {
gotoAndPlay (90);
};
}
if (Number(AttackType) == 43) {
tellTarget ("I" add N) {
gotoAndStop (24);
};
}
if (Number(AttackType) == 45) {
tellTarget ("I" add N) {
gotoAndStop (27);
};
tellTarget ("/Sound") {
gotoAndPlay (210);
};
Set("IX" add N, eval ("KX" add Q) - 29);
Set("IY" add N, eval ("KY" add Q) + 6);
}
if (Number(AttackType) == 48) {
Set("IX" add N, eval ("KX" add Q) - 36);
Set("IY" add N, eval ("KY" add Q) - 10);
tellTarget ("/Sound") {
gotoAndPlay (90);
};
}
if (Number(AttackType) == 53) {
Set("IX" add N, eval ("IX" add N) - 36);
Set("IY" add N, eval ("IY" add N) + 60);
tellTarget ("/Sound") {
gotoAndPlay (90);
};
tellTarget ("I" add N) {
gotoAndStop (27);
};
}
if (Number(AttackType) == 55) {
Set("IX" add N, eval ("IX" add N) - 36);
Set("IY" add N, eval ("IY" add N) - 10);
tellTarget ("/Sound") {
gotoAndPlay (90);
};
tellTarget ("I" add N) {
gotoAndStop (27);
};
}
}
if (((((((((((Number(AttackType) == 3) or (Number(AttackType) == 7)) or (Number(AttackType) == 9)) or (Number(AttackType) == 15)) or (Number(AttackType) == 21)) or (Number(AttackType) == 28)) or (Number(AttackType) == 44)) or (Number(AttackType) == 46)) or (Number(AttackType) == 49)) or (Number(AttackType) == 54)) or (Number(AttackType) == 56)) {
Set("ISX" add N, -1 * Constant);
Set("ISY" add N, 0);
if (Number(AttackType) == 3) {
Set("IX" add N, eval ("IX" add N) + 53);
Set("IY" add N, eval ("IY" add N) - 27);
tellTarget ("I" add N) {
gotoAndStop (2);
};
tellTarget ("/Sound") {
gotoAndPlay (90);
};
}
if (Number(AttackType) == 7) {
Set("IX" add N, eval ("IX" add N) + 39);
Set("IY" add N, eval ("IY" add N) + 3);
tellTarget ("/Sound") {
gotoAndPlay (90);
};
}
if (Number(AttackType) == 9) {
Set("IX" add N, eval ("IX" add N) + 44);
Set("IY" add N, eval ("IY" add N) - 27);
tellTarget ("/Sound") {
gotoAndPlay (90);
};
}
if (Number(AttackType) == 15) {
Set("IX" add N, eval ("IX" add N) + 30);
Set("IY" add N, eval ("IY" add N) - 32);
tellTarget ("I" add N) {
gotoAndStop (21);
};
}
if (Number(AttackType) == 21) {
tellTarget ("I" add N) {
gotoAndStop (19);
};
if (Number(Location) == 28) {
tellTarget ("I" add N) {
gotoAndStop (25);
};
}
}
if (Number(AttackType) == 28) {
Set("IX" add N, eval ("IX" add N) + 30);
Set("IY" add N, eval ("IY" add N) + 3);
tellTarget ("I" add N) {
gotoAndStop (1);
};
tellTarget ("/Sound") {
gotoAndPlay (90);
};
}
if (Number(AttackType) == 44) {
tellTarget ("I" add N) {
gotoAndStop (24);
};
}
if (Number(AttackType) == 46) {
tellTarget ("I" add N) {
gotoAndStop (26);
};
tellTarget ("/Sound") {
gotoAndPlay (210);
};
Set("IX" add N, eval ("KX" add Q) + 29);
Set("IY" add N, eval ("KY" add Q) + 6);
}
if (Number(AttackType) == 49) {
Set("IX" add N, eval ("KX" add Q) + 36);
Set("IY" add N, eval ("KY" add Q) - 10);
tellTarget ("/Sound") {
gotoAndPlay (90);
};
}
if (Number(AttackType) == 54) {
Set("IX" add N, eval ("IX" add N) + 36);
Set("IY" add N, eval ("IY" add N) + 60);
tellTarget ("/Sound") {
gotoAndPlay (90);
};
tellTarget ("I" add N) {
gotoAndStop (26);
};
}
if (Number(AttackType) == 56) {
Set("IX" add N, eval ("IX" add N) + 36);
Set("IY" add N, eval ("IY" add N) - 10);
tellTarget ("/Sound") {
gotoAndPlay (90);
};
tellTarget ("I" add N) {
gotoAndStop (26);
};
}
}
if ((((Number(AttackType) == 10) or (Number(AttackType) == 19)) or (Number(AttackType) == 52)) or (Number(AttackType) == 77)) {
Set("ISX" add N, -1 * Condiag);
Set("ISY" add N, -1 * Condiag);
if (Number(AttackType) == 77) {
Set("IX" add N, eval ("IX" add N) + 28);
Set("IY" add N, eval ("IY" add N) + 28);
tellTarget ("I" add N) {
gotoAndStop (37);
};
}
if (Number(AttackType) == 10) {
Set("IX" add N, eval ("IX" add N) + 25);
Set("IY" add N, eval ("IY" add N) + 7);
}
if (Number(AttackType) == 19) {
EnemyAttack = 1;
AttackType = 21;
tellTarget ("I" add N) {
gotoAndStop (19);
};
if (Number(Location) == 28) {
tellTarget ("I" add N) {
gotoAndStop (25);
};
}
}
if (Number(AttackType) == 52) {
Set("IX" add N, eval ("KX" add Q) + 40);
Set("IY" add N, eval ("KY" add Q) + 41);
tellTarget ("I" add N) {
gotoAndStop (1);
};
}
tellTarget ("/Sound") {
gotoAndPlay (90);
};
}
if ((((Number(AttackType) == 11) or (Number(AttackType) == 18)) or (Number(AttackType) == 51)) or (Number(AttackType) == 76)) {
Set("ISX" add N, Condiag);
Set("ISY" add N, -1 * Condiag);
if (Number(AttackType) == 76) {
Set("IX" add N, eval ("IX" add N) - 28);
Set("IY" add N, eval ("IY" add N) + 28);
tellTarget ("I" add N) {
gotoAndStop (36);
};
}
if (Number(AttackType) == 11) {
Set("IX" add N, eval ("IX" add N) - 29);
Set("IY" add N, eval ("IY" add N) + 7);
}
if (Number(AttackType) == 18) {
EnemyAttack = 1;
AttackType = 20;
tellTarget ("I" add N) {
gotoAndStop (19);
};
if (Number(Location) == 28) {
tellTarget ("I" add N) {
gotoAndStop (25);
};
}
}
if (Number(AttackType) == 51) {
Set("IX" add N, eval ("KX" add Q) - 40);
Set("IY" add N, eval ("KY" add Q) + 41);
tellTarget ("I" add N) {
gotoAndStop (1);
};
}
tellTarget ("/Sound") {
gotoAndPlay (90);
};
}
if (((Number(AttackType) == 12) or (Number(AttackType) == 17)) or (Number(AttackType) == 75)) {
Set("ISX" add N, -1 * Condiag);
Set("ISY" add N, Condiag);
if (Number(AttackType) == 75) {
Set("IX" add N, eval ("IX" add N) + 28);
Set("IY" add N, eval ("IY" add N) - 28);
tellTarget ("I" add N) {
gotoAndStop (35);
};
}
if (Number(AttackType) == 12) {
Set("IX" add N, eval ("IX" add N) + 21);
Set("IY" add N, eval ("IY" add N) - 50);
}
if (Number(AttackType) == 17) {
EnemyAttack = 1;
AttackType = 19;
tellTarget ("I" add N) {
gotoAndStop (19);
};
if (Number(Location) == 28) {
tellTarget ("I" add N) {
gotoAndStop (25);
};
}
}
tellTarget ("/Sound") {
gotoAndPlay (90);
};
}
if (((Number(AttackType) == 13) or (Number(AttackType) == 16)) or (Number(AttackType) == 74)) {
Set("ISX" add N, Condiag);
Set("ISY" add N, Condiag);
if (Number(AttackType) == 74) {
Set("IX" add N, eval ("IX" add N) - 28);
Set("IY" add N, eval ("IY" add N) - 28);
tellTarget ("I" add N) {
gotoAndStop (34);
};
}
if (Number(AttackType) == 13) {
Set("IX" add N, eval ("IX" add N) - 26);
Set("IY" add N, eval ("IY" add N) - 51);
}
if (Number(AttackType) == 16) {
EnemyAttack = 1;
AttackType = 18;
tellTarget ("I" add N) {
gotoAndStop (19);
};
if (Number(Location) == 28) {
tellTarget ("I" add N) {
gotoAndStop (25);
};
}
}
tellTarget ("/Sound") {
gotoAndPlay (90);
};
}
if (Number(AttackType) == 61) {
Set("IX" add N, eval ("IX" add N) - 25);
Set("IY" add N, eval ("IY" add N) - 10);
Set("ISX" add N, 0);
Set("ISY" add N, Constant);
tellTarget ("I" add N) {
gotoAndStop (28);
};
}
if (Number(AttackType) == 4) {
Set("IX" add N, eval ("IX" add N) + 25);
Set("IY" add N, eval ("IY" add N) - 10);
Set("ISX" add N, 0);
Set("ISY" add N, Constant);
tellTarget ("/Sound") {
gotoAndPlay (90);
};
tellTarget ("I" add N) {
gotoAndStop (28);
};
EnemyAttack = 1;
AttackType = 61;
}
if (Number(AttackType) == 62) {
Set("IX" add N, eval ("IX" add N) - 25);
Set("IY" add N, eval ("IY" add N) + 10);
Set("ISX" add N, 0);
Set("ISY" add N, -1 * Constant);
tellTarget ("I" add N) {
gotoAndStop (28);
};
}
if (Number(AttackType) == 5) {
Set("IX" add N, eval ("IX" add N) + 25);
Set("IY" add N, eval ("IY" add N) + 10);
Set("ISX" add N, 0);
Set("ISY" add N, -1 * Constant);
tellTarget ("/Sound") {
gotoAndPlay (90);
};
tellTarget ("I" add N) {
gotoAndStop (28);
};
EnemyAttack = 1;
AttackType = 62;
}
if (Number(AttackType) == 81) {
Set("IV" add N, 0);
Set("IY" add N, eval ("IY" add N) - 30);
Set("IX" add N, eval ("IX" add N) - 30);
Set("ISX" add N, Constant / 2);
Set("ISY" add N, 0);
Set("IG" add N, 2);
tellTarget ("I" add N) {
gotoAndStop (38);
};
}
if (Number(AttackType) == 82) {
Set("IV" add N, 0);
Set("IY" add N, eval ("IY" add N) - 30);
Set("IX" add N, eval ("IX" add N) + 30);
Set("ISX" add N, (-1 * Constant) / 2);
Set("ISY" add N, 0);
Set("IG" add N, 2);
tellTarget ("I" add N) {
gotoAndStop (38);
};
}
if (Number(AttackType) == 83) {
Set("IV" add N, 0);
Set("IY" add N, eval ("IY" add N) + 30);
Set("IX" add N, eval ("IX" add N) - 30);
Set("ISX" add N, Constant / 2);
Set("ISY" add N, 0);
Set("IG" add N, 3);
tellTarget ("I" add N) {
gotoAndStop (38);
};
tellTarget ("/Sound") {
gotoAndPlay (160);
};
EnemyAttack = 1;
AttackType = 81;
}
if (Number(AttackType) == 84) {
Set("IV" add N, 0);
Set("IY" add N, eval ("IY" add N) + 30);
Set("IX" add N, eval ("IX" add N) + 30);
Set("ISX" add N, (-1 * Constant) / 2);
Set("ISY" add N, 0);
Set("IG" add N, 3);
tellTarget ("I" add N) {
gotoAndStop (38);
};
tellTarget ("/Sound") {
gotoAndPlay (160);
};
EnemyAttack = 1;
AttackType = 82;
}
if (Number(AttackType) == 78) {
Set("IY" add N, eval ("IY" add N) + 20);
Set("ISX" add N, Constant / 4);
Set("ISY" add N, -1 * Constant);
tellTarget ("I" add N) {
gotoAndStop (1);
};
tellTarget ("/Sound") {
gotoAndPlay (220);
};
}
if (Number(AttackType) == 79) {
Set("IY" add N, eval ("IY" add N) + 20);
Set("ISX" add N, -1 * (Constant / 4));
Set("ISY" add N, -1 * Constant);
tellTarget ("I" add N) {
gotoAndStop (1);
};
EnemyAttack = 1;
AttackType = 78;
}
if (Number(AttackType) == 80) {
Set("IY" add N, eval ("IY" add N) + 20);
Set("ISX" add N, 0);
Set("ISY" add N, -1 * Constant);
tellTarget ("I" add N) {
gotoAndStop (1);
};
EnemyAttack = 1;
AttackType = 79;
}
if (Number(AttackType) == 35) {
Set("IX" add N, eval ("IX" add N) + 50);
Set("IY" add N, eval ("IY" add N) - 50);
Set("ISX" add N, -1 * Condiag);
Set("ISY" add N, Condiag);
tellTarget ("I" add N) {
gotoAndStop (21);
};
}
if (Number(AttackType) == 36) {
Set("IX" add N, eval ("IX" add N) - 50);
Set("IY" add N, eval ("IY" add N) + 50);
Set("ISX" add N, Condiag);
Set("ISY" add N, -1 * Condiag);
EnemyAttack = 1;
AttackType = 35;
tellTarget ("I" add N) {
gotoAndStop (21);
};
}
if (Number(AttackType) == 37) {
Set("IX" add N, eval ("IX" add N) + 50);
Set("IY" add N, eval ("IY" add N) + 50);
Set("ISX" add N, -1 * Condiag);
Set("ISY" add N, -1 * Condiag);
EnemyAttack = 1;
AttackType = 36;
tellTarget ("I" add N) {
gotoAndStop (21);
};
}
if (Number(AttackType) == 38) {
Set("IX" add N, eval ("IX" add N) - 50);
Set("IY" add N, eval ("IY" add N) - 50);
Set("ISX" add N, Condiag);
Set("ISY" add N, Condiag);
EnemyAttack = 1;
AttackType = 37;
tellTarget ("I" add N) {
gotoAndStop (21);
};
}
if (Number(AttackType) == 39) {
Set("IX" add N, eval ("IX" add N) - 50);
Set("ISX" add N, Constant);
Set("ISY" add N, 0);
EnemyAttack = 1;
AttackType = 38;
tellTarget ("I" add N) {
gotoAndStop (21);
};
}
if (Number(AttackType) == 40) {
Set("IX" add N, eval ("IX" add N) + 50);
Set("ISX" add N, -1 * Constant);
Set("ISY" add N, 0);
EnemyAttack = 1;
AttackType = 39;
tellTarget ("I" add N) {
gotoAndStop (21);
};
}
if (Number(AttackType) == 41) {
Set("IY" add N, eval ("IY" add N) + 50);
Set("ISX" add N, 0);
Set("ISY" add N, -1 * Constant);
EnemyAttack = 1;
AttackType = 40;
tellTarget ("I" add N) {
gotoAndStop (21);
};
}
if (Number(AttackType) == 42) {
Set("IY" add N, eval ("IY" add N) - 50);
Set("ISX" add N, 0);
Set("ISY" add N, Constant);
EnemyAttack = 1;
AttackType = 41;
tellTarget ("I" add N) {
gotoAndStop (21);
};
}
if (Number(AttackType) == 69) {
Set("IX" add N, eval ("IX" add N) - 10);
Set("IY" add N, eval ("IY" add N) + 30);
Set("ISX" add N, Constant);
tellTarget ("I" add N) {
gotoAndStop (24);
};
}
if (Number(AttackType) == 68) {
Set("IX" add N, eval ("IX" add N) - 10);
Set("IY" add N, eval ("IY" add N) - 30);
Set("ISX" add N, Constant);
tellTarget ("I" add N) {
gotoAndStop (24);
};
EnemyAttack = 1;
AttackType = 69;
}
if (Number(AttackType) == 70) {
Set("IX" add N, eval ("IX" add N) - 10);
Set("ISX" add N, Constant);
tellTarget ("I" add N) {
gotoAndStop (24);
};
EnemyAttack = 1;
AttackType = 68;
}
if (Number(AttackType) == 73) {
Set("IX" add N, eval ("IX" add N) + 10);
Set("IY" add N, eval ("IY" add N) + 30);
Set("ISX" add N, Constant * -1);
tellTarget ("I" add N) {
gotoAndStop (24);
};
}
if (Number(AttackType) == 72) {
Set("IX" add N, eval ("IX" add N) + 10);
Set("IY" add N, eval ("IY" add N) - 30);
Set("ISX" add N, Constant * -1);
tellTarget ("I" add N) {
gotoAndStop (24);
};
EnemyAttack = 1;
AttackType = 73;
}
if (Number(AttackType) == 71) {
Set("IX" add N, eval ("IX" add N) + 10);
Set("ISX" add N, Constant * -1);
tellTarget ("I" add N) {
gotoAndStop (24);
};
EnemyAttack = 1;
AttackType = 72;
}
if (Number(AttackType) == 63) {
Set("IX" add N, eval ("IX" add N) - 35);
Set("ISX" add N, Constant);
Set("ISY" add N, 0);
tellTarget ("I" add N) {
gotoAndStop (21);
};
}
if (Number(AttackType) == 64) {
Set("IX" add N, eval ("IX" add N) + 35);
Set("ISX" add N, -1 * Constant);
Set("ISY" add N, 0);
EnemyAttack = 1;
AttackType = 63;
tellTarget ("I" add N) {
gotoAndStop (21);
};
tellTarget ("/Sound") {
gotoAndPlay (240);
};
}
if (Number(AttackType) == 65) {
Set("IY" add N, eval ("IY" add N) + 35);
Set("ISX" add N, 0);
Set("ISY" add N, -1 * Constant);
EnemyAttack = 1;
AttackType = 64;
tellTarget ("I" add N) {
gotoAndStop (21);
};
}
if (Number(AttackType) == 66) {
Set("IY" add N, eval ("IY" add N) - 35);
Set("ISX" add N, 0);
Set("ISY" add N, Constant);
EnemyAttack = 1;
AttackType = 65;
tellTarget ("I" add N) {
gotoAndStop (21);
};
}
if (Number(AttackType) == 32) {
Set("ISX" add N, 1E-9);
Set("IV" add N, 40);
Set("ISY" add N, 0);
Set("IG" add N, 1);
tellTarget ("/Sound") {
gotoAndPlay (120);
};
tellTarget ("I" add N) {
gotoAndStop (23);
};
}
if (Number(AttackType) == 31) {
Set("ISX" add N, -10);
Set("IV" add N, 32);
Set("ISY" add N, 0);
Set("IG" add N, 1);
tellTarget ("/Sound") {
gotoAndPlay (120);
};
tellTarget ("I" add N) {
gotoAndStop (23);
};
}
if (Number(AttackType) == 30) {
EnemyAttack = 1;
AttackType = 31;
Set("ISX" add N, 10);
Set("IV" add N, 32);
Set("ISY" add N, 0);
Set("IG" add N, 1);
tellTarget ("/Sound") {
gotoAndPlay (120);
};
tellTarget ("I" add N) {
gotoAndStop (23);
};
}
if (Number(AttackType) == 25) {
Set("ISX" add N, 1E-7);
Set("IV" add N, 0);
Set("ISY" add N, 0);
Set("IG" add N, 1);
tellTarget ("/Sound") {
gotoAndPlay (120);
};
tellTarget ("I" add N) {
gotoAndStop (23);
};
}
if (Number(AttackType) == 24) {
EnemyAttack = 1;
AttackType = 25;
Set("ISX" add N, -10);
Set("IV" add N, 0);
Set("ISY" add N, 0);
Set("IG" add N, 1);
tellTarget ("I" add N) {
gotoAndStop (23);
};
}
if (Number(AttackType) == 23) {
EnemyAttack = 1;
AttackType = 24;
Set("ISX" add N, 10);
Set("IV" add N, 0);
Set("ISY" add N, 0);
Set("IG" add N, 1);
tellTarget ("/Sound") {
gotoAndPlay (120);
};
tellTarget ("I" add N) {
gotoAndStop (23);
};
}
if (Number(AttackType) == 33) {
Set("IX" add N, eval ("IX" add N) - 11);
Set("IY" add N, eval ("IY" add N) + 1);
tellTarget ("/Sound") {
gotoAndPlay (170);
};
Set("ISX" add N, Number(random(12)) + 5);
Set("IV" add N, 20);
Set("IT" add N, 10);
Set("ISY" add N, 0);
Set("IG" add N, 1);
tellTarget ("I" add N) {
gotoAndStop (3);
};
}
if (Number(AttackType) == 34) {
Set("IX" add N, eval ("IX" add N) + 11);
Set("IY" add N, eval ("IY" add N) + 1);
tellTarget ("/Sound") {
gotoAndPlay (170);
};
Set("ISX" add N, (Number(random(12)) + 5) * -1);
Set("IV" add N, 20);
Set("IT" add N, 10);
Set("ISY" add N, 0);
Set("IG" add N, 1);
tellTarget ("I" add N) {
gotoAndStop (3);
};
}
if (Number(AttackType) == 59) {
Set("IX" add N, eval ("IX" add N) - 29);
Set("IY" add N, eval ("IY" add N) - 29);
tellTarget ("/Sound") {
gotoAndPlay (170);
};
Set("ISX" add N, Number(random(15)) + 5);
Set("IV" add N, 22);
Set("IT" add N, 10);
Set("ISY" add N, 0);
Set("IG" add N, 1);
tellTarget ("I" add N) {
gotoAndStop (3);
};
}
if (Number(AttackType) == 60) {
Set("IX" add N, eval ("IX" add N) + 29);
Set("IY" add N, eval ("IY" add N) - 29);
tellTarget ("/Sound") {
gotoAndPlay (170);
};
Set("ISX" add N, (Number(random(15)) + 5) * -1);
Set("IV" add N, 22);
Set("IT" add N, 10);
Set("ISY" add N, 0);
Set("IG" add N, 1);
tellTarget ("I" add N) {
gotoAndStop (3);
};
}
if (Number(AttackType) == 85) {
Set("IX" add N, eval ("IX" add N) - 40);
Set("IY" add N, eval ("IY" add N) - 50);
tellTarget ("/Sound") {
gotoAndPlay (170);
};
Set("ISX" add N, Number(random(15)) + 5);
Set("IV" add N, 22);
Set("IT" add N, 10);
Set("ISY" add N, 0);
Set("IG" add N, 1);
tellTarget ("I" add N) {
gotoAndStop (3);
};
}
if (Number(AttackType) == 86) {
Set("IX" add N, eval ("IX" add N) + 40);
Set("IY" add N, eval ("IY" add N) - 50);
tellTarget ("/Sound") {
gotoAndPlay (170);
};
Set("ISX" add N, (Number(random(15)) + 5) * -1);
Set("IV" add N, 22);
Set("IT" add N, 10);
Set("ISY" add N, 0);
Set("IG" add N, 1);
tellTarget ("I" add N) {
gotoAndStop (3);
};
}
if (Number(AttackType) == 47) {
Set("IY" add N, eval ("IY" add N) + 30);
Set("ISX" add N, (random(130) - 60) / 10);
Set("IV" add N, 0);
Set("IT" add N, 30);
Set("ISY" add N, 0);
Set("IG" add N, 1);
tellTarget ("I" add N) {
gotoAndStop (3);
};
}
}
if (0 < eval ("IT" add N)) {
Set("IT" add N, eval ("IT" add N) + 1);
}
if (30 < eval ("IT" add N)) {
if ((((eval ("IT" add N) < 450) and ((PY2 - 20) < eval ("IY" add N))) and ((PL2 - 5) < eval ("IX" add N))) and (eval ("IX" add N) < (PR2 + 5))) {
Set("IT" add N, 486);
Set("ISX" add N, 0.01);
tellTarget ("I" add N) {
gotoAndPlay (4);
};
Set("IG" add N, 0);
}
}
setProperty("I" add N, _x , eval ("IX" add N));
setProperty("I" add N, _y , eval ("IY" add N));
if ((MX >= ((eval ("IX" add N) - Width) - 7)) and (((eval ("IX" add N) + Width) + 7) >= MX)) {
if ((((MY >= (eval ("IY" add N) - 7)) and (((eval ("IY" add N) + Height) + 7) >= MY)) and (Stun == 0)) and (0 < Life)) {
Life = Life - Damage;
CI = 20;
Slide = 0;
Stun = 60;
tellTarget ("/mike") {
gotoAndPlay (2);
};
tellTarget ("/Sound") {
gotoAndPlay (30);
};
if (Number(Location) == 5) {
MVX = MVX * -1;
MV = MV * -1;
}
}
}
N = Number(N) + 1;
}
EnemyAttack = 0;
Q = 0;
Q2 = 0;
N = 0;
if (((MX >= ((eval ("KX" add N) - Width) - eval ("KW" add N))) and (((eval ("KX" add N) + Width) + eval ("KW" add N)) >= MX)) and ((MY >= (eval ("KY" add N) - eval ("KH" add N))) and (((eval ("KY" add N) + Height) + eval ("KH" add N)) >= MY))) {
if ((Number(Key1) == 0) and (Number(Screen) == 621)) {
Key1 = 1;
Checkpoint = 7.1;
if (Number(SpecialMode) == 3) {
Ammo2 = 100;
}
} else if ((Number(Key2) == 0) and (Number(Screen) == 1219)) {
Key2 = 1;
Checkpoint = 7.2;
if (Number(SpecialMode) == 3) {
Ammo3 = 25;
}
} else if ((Number(Key3) == 0) and (Number(Screen) == 533)) {
Key3 = 1;
Checkpoint = 7.3;
if (Number(SpecialMode) == 3) {
Ammo4 = 25;
}
} else {
Life = Number(Life) + Number(Damage);
}
tellTarget ("/Sound") {
gotoAndPlay (80);
};
if (500 < Number(Life)) {
Life = 500;
}
KX0 = -1000;
KY0 = -1000;
}
setProperty("K" add N, _x , eval ("KX" add N));
setProperty("K" add N, _y , eval ("KY" add N));
setProperty("/mike", _x , MX);
setProperty("/mike", _y , MY);
LastY = MY;
if (0 < Number(Stun)) {
Stun = Stun - 1;
}
if (Number(CI) == 1) {
MVX = 0;
MV = 0;
}
if ((0 < Number(CI)) and (0 < Number(Life))) {
CI = CI - 1;
if (Number(Location) != 5) {
if ((Number(Facing) == 1) and (Number(MX) < 790)) {
MX = Number(MX) + 3;
} else if ((Number(Facing) == 2) and (10 < Number(MX))) {
MX = MX - 3;
}
}
Jump = 0;
}
if ((Number(Falling) == 1) or (Number(Falling) == 2)) {
MV = MV - 2;
}
if ((Number(Falling) == 1) and (0 >= Number(MV))) {
Falling = 2;
}
if (Number(MV) < Number(-20)) {
MV = -20;
}
if ((20 < Number(MV)) and (Number(Location) == 5)) {
MV = 20;
}
if ((20 < Number(MVX)) and (Number(Location) == 5)) {
MVX = 20;
}
if ((Number(MVX) < Number(-20)) and (Number(Location) == 5)) {
MVX = -20;
}
if (((Number(Stun) < 8000) and (Number(WallJump) < 100)) and (Number(Location) != 26)) {
MY = MY - MV;
}
if (((Number(Stun) < 8000) and (Number(WallJump) < 100)) and (Number(Location) == 26)) {
MY = MY - (MV / 1.5);
}
if ((Number(Falling) == 0) or (Number(Faling) == 3)) {
MV = 0;
}
Movement = 0;
if (Number(Falling) != 3) {
Slide = 0;
}
if (0 < Number(Slide)) {
Height = 30;
Width = 14;
if (Number(Facing) == 1) {
Position = 153 + Number(Weapon);
} else {
Position = 149 + Number(Weapon);
}
tellTarget ("/mike/Spin") {
gotoAndStop(int(/:Position));
};
}
LastX = MX;
if ((800 < Number(MX)) and (0 < Number(Life))) {
Exit = 1;
}
if ((Number(MX) < 0) and (0 < Number(Life))) {
Exit = 3;
}
if ((Number(MY) < 0) and (0 < Number(Life))) {
Exit = 4;
}
if ((650 < Number(MY)) and (0 < Number(Life))) {
Exit = 2;
}
if (Number(Exit) >= 1) {
tellTarget ("/SMap") {
stop();
};
}
if ((Number(KT1) == Number(-1)) and (Number(Checkpoint) == 2)) {
Exit = 6;
Checkpoint = 3;
}
if ((Number(KT1) == Number(-1)) and (Number(Checkpoint) == 1)) {
Exit = 6;
Checkpoint = 2;
}
play();
if ((Number(MaxCheckpointE) < Number(Checkpoint)) and (Number(Diff) == 1)) {
MaxCheckpointE = Checkpoint;
}
if ((Number(MaxCheckpoint) < Number(Checkpoint)) and (Number(Diff) == 2)) {
MaxCheckpoint = Checkpoint;
}
if ((Number(MaxCheckpointH) < Number(Checkpoint)) and (Number(Diff) == 3)) {
MaxCheckpointH = Checkpoint;
}
Instance of Symbol 310 MovieClip "mike" in Frame 122
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
_root.Left = 1;
} else {
_root.Left = 0;
}
if (Key.isDown(Key.RIGHT)) {
_root.Right = 1;
} else {
_root.Right = 0;
}
if (Key.isDown(90)) {
if (_root.Attack == 0) {
_root.Attack = 1;
}
} else {
_root.Attack = 0;
}
if (Key.isDown(Key.UP)) {
if (_root.Jump == 0) {
_root.Jump = 1;
}
} else {
_root.Jump = 0;
}
}
Frame 123
if (Number(Exit) < 1) {
prevFrame();
} else {
tellTarget ("/S") {
stop();
};
}
Frame 124
if (Number(MFire) == 1) {
MFire = 0;
tellTarget ("/SoundP") {
gotoAndStop (150);
};
}
Frame 129
if (Number(Exit) == 1) {
Screen = Number(Screen) + 2;
MX = 20;
MY = MY - 5;
}
if (Number(Exit) == 2) {
Screen = Number(Screen) + 100;
MY = 20;
}
if (Number(Exit) == 3) {
Screen = Screen - 2;
MX = 780;
MY = MY - 5;
}
if (Number(Exit) == 4) {
Screen = Screen - 100;
MY = 600;
if (Number(Location) != 5) {
MV = 22;
}
Falling = 1;
}
if (Number(Screen) == 503) {
Screen = 3;
}
if (Number(Exit) == 5) {
First = 0;
}
Spawn = 0;
if (Number(Exit) != 6) {
gotoAndPlay (118);
if (((Number(SpecialMode) == 7) or (Number(Checkpoint) < Number(-10))) and (Number(Exit) == 5)) {
gotoAndPlay (118);
}
}
if ((Number(Exit) == 6) and (Number(Checkpoint) == 2)) {
gotoAndPlay (130);
}
if ((Number(Exit) == 6) and (Number(Checkpoint) == 3)) {
gotoAndPlay (234);
}
if (Number(Exit) == 5) {
gotoAndPlay (268);
}
Frame 130
play();
Screen = 13;
First = 0;
Life = 500;
play();
Frame 212
gotoAndPlay (118);
Frame 234
play();
Frame 245
stop();
Frame 256
stopAllSounds();
gotoAndPlay (1);
Frame 268
play();
stopAllSounds();
Frame 279
stop();
Frame 290
stopAllSounds();
gotoAndPlay (1);
Symbol 9 Button
on (keyPress "Z") {
play();
}
on (keyPress "z") {
play();
}
Symbol 12 Button
on (keyPress "<Right>") {
nextFrame();
}
on (keyPress "Z") {
gotoAndPlay (25);
}
on (keyPress "z") {
gotoAndPlay (25);
}
Symbol 23 MovieClip Frame 7
stop();
Symbol 24 Button
on (keyPress "<Left>") {
prevFrame();
}
on (keyPress "<Down>") {
nextFrame();
}
on (keyPress "Z") {
gotoAndPlay (25);
}
on (keyPress "z") {
gotoAndPlay (25);
}
Symbol 26 Button
on (keyPress "<Up>") {
prevFrame();
}
on (keyPress "<Right>") {
nextFrame();
}
on (keyPress "Z") {
gotoAndPlay (25);
}
on (keyPress "z") {
gotoAndPlay (25);
}
Symbol 28 Button
on (keyPress "<Left>") {
prevFrame();
}
on (keyPress "<Right>") {
nextFrame();
}
on (keyPress "Z") {
gotoAndPlay (25);
}
on (keyPress "z") {
gotoAndPlay (25);
}
Symbol 30 Button
on (keyPress "<Left>") {
prevFrame();
}
on (keyPress "<Up>") {
nextFrame();
}
on (keyPress "Z") {
gotoAndPlay (25);
}
on (keyPress "z") {
gotoAndPlay (25);
}
Symbol 32 Button
on (keyPress "<Down>") {
prevFrame();
}
on (keyPress "<Right>") {
nextFrame();
}
on (keyPress "Z") {
gotoAndPlay (25);
}
on (keyPress "z") {
gotoAndPlay (25);
}
Symbol 34 Button
on (keyPress "<Left>") {
prevFrame();
}
on (keyPress "Z") {
gotoAndPlay (25);
}
on (keyPress "z") {
gotoAndPlay (25);
}
Symbol 45 Button
on (rollOver) {
play();
}
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 10
play();
Symbol 72 MovieClip Frame 11
stop();
Symbol 72 MovieClip Frame 20
play();
Symbol 72 MovieClip Frame 21
stop();
Symbol 72 MovieClip Frame 30
play();
Symbol 72 MovieClip Frame 31
stop();
Symbol 72 MovieClip Frame 40
play();
Symbol 72 MovieClip Frame 41
stop();
Symbol 72 MovieClip Frame 50
play();
Symbol 72 MovieClip Frame 51
stop();
Symbol 72 MovieClip Frame 60
play();
Symbol 72 MovieClip Frame 61
stop();
Symbol 72 MovieClip Frame 70
play();
Symbol 72 MovieClip Frame 71
stop();
Symbol 72 MovieClip Frame 80
play();
Symbol 72 MovieClip Frame 81
stop();
Symbol 72 MovieClip Frame 90
play();
Symbol 72 MovieClip Frame 91
stop();
Symbol 72 MovieClip Frame 100
play();
Symbol 72 MovieClip Frame 101
stop();
Symbol 72 MovieClip Frame 110
play();
Symbol 72 MovieClip Frame 111
stop();
Symbol 72 MovieClip Frame 120
play();
Symbol 72 MovieClip Frame 121
stop();
Symbol 72 MovieClip Frame 130
play();
Symbol 72 MovieClip Frame 131
stop();
Symbol 72 MovieClip Frame 140
play();
Symbol 72 MovieClip Frame 141
stop();
Symbol 72 MovieClip Frame 150
play();
Symbol 72 MovieClip Frame 154
stop();
Symbol 72 MovieClip Frame 160
play();
Symbol 72 MovieClip Frame 161
stop();
Symbol 72 MovieClip Frame 170
play();
Symbol 72 MovieClip Frame 171
stop();
Symbol 72 MovieClip Frame 180
play();
Symbol 72 MovieClip Frame 181
stop();
Symbol 72 MovieClip Frame 190
play();
Symbol 72 MovieClip Frame 191
stop();
Symbol 72 MovieClip Frame 200
play();
Symbol 72 MovieClip Frame 201
stop();
Symbol 72 MovieClip Frame 210
play();
Symbol 72 MovieClip Frame 211
stop();
Symbol 72 MovieClip Frame 220
play();
Symbol 72 MovieClip Frame 221
stop();
Symbol 72 MovieClip Frame 230
play();
Symbol 72 MovieClip Frame 240
play();
Symbol 72 MovieClip Frame 250
play();
Symbol 72 MovieClip Frame 251
stop();
Symbol 72 MovieClip Frame 260
play();
Symbol 72 MovieClip Frame 261
stop();
Symbol 72 MovieClip Frame 270
play();
Symbol 72 MovieClip Frame 271
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 140
play();
Symbol 74 MovieClip Frame 141
stop();
Symbol 82 MovieClip Frame 1
X = _x;
Y = _y;
Symbol 84 MovieClip Frame 1
X = _x;
Y = _y;
E = true;
F = 2;
Symbol 86 MovieClip Frame 1
X = _x;
Y = _y;
E = true;
F = 1;
Symbol 88 MovieClip Frame 1
X = _x;
Y = _y;
E = 1;
Symbol 92 MovieClip Frame 1
X = _x;
Y = _y;
F = 1;
Type = 74;
Symbol 92 MovieClip Frame 2
stop();
Symbol 98 MovieClip Frame 1
X = _x;
Y = _y;
F = 1;
Type = 53;
Symbol 98 MovieClip Frame 2
stop();
Symbol 115 MovieClip Frame 1
X = _x;
Y = _y;
E = 1;
Symbol 115 MovieClip Frame 2
gotoAndPlay (1);
Symbol 117 MovieClip Frame 1
X = _x;
Y = _y;
Symbol 117 MovieClip Frame 2
gotoAndPlay (1);
Symbol 125 MovieClip Frame 1
X = _x;
Y = _y;
E = true;
F = 2;
Symbol 125 MovieClip Frame 2
gotoAndPlay (1);
Symbol 127 MovieClip Frame 1
X = _x;
Y = _y;
E = true;
F = 1;
Symbol 127 MovieClip Frame 2
gotoAndPlay (1);
Symbol 165 MovieClip Frame 10
stop();
Symbol 174 MovieClip Frame 1
X = _x;
F = 1;
Symbol 174 MovieClip Frame 2
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 10
gotoAndStop (1);
Symbol 194 MovieClip Frame 2
stop();
Symbol 194 MovieClip Frame 4
stop();
Symbol 194 MovieClip Frame 6
stop();
Symbol 194 MovieClip Frame 8
stop();
Symbol 194 MovieClip Frame 10
stop();
Symbol 194 MovieClip Frame 52
stop();
Symbol 194 MovieClip Frame 54
stop();
Symbol 194 MovieClip Frame 56
stop();
Symbol 194 MovieClip Frame 58
stop();
Symbol 194 MovieClip Frame 60
stop();
Symbol 195 MovieClip Frame 1
X = _x;
Y = _y;
Type = 1007;
Symbol 195 MovieClip Frame 2
stop();
Symbol 197 MovieClip Frame 1
X = _x;
Y = _y;
F = 1;
Type = 48;
Symbol 197 MovieClip Frame 2
stop();
Symbol 201 MovieClip Frame 1
X = _x;
Y = _y;
F = 2;
Type = 50;
Symbol 201 MovieClip Frame 2
stop();
Symbol 204 MovieClip Frame 1
X = _x;
Y = _y;
F = 2;
Type = 55;
Symbol 204 MovieClip Frame 2
stop();
Symbol 206 MovieClip Frame 1
X = _x;
Y = _y;
F = 2;
Type = 52;
Symbol 206 MovieClip Frame 2
stop();
Symbol 209 MovieClip Frame 1
X = _x;
F = 2;
Symbol 209 MovieClip Frame 2
stop();
Symbol 210 MovieClip Frame 1
X = _x;
Y = _y;
F = 1;
Type = 55;
Symbol 210 MovieClip Frame 2
stop();
Symbol 212 MovieClip Frame 1
X = _x;
Y = _y;
F = 1;
Type = 50;
Symbol 212 MovieClip Frame 2
stop();
Symbol 215 MovieClip Frame 1
X = _x;
Y = _y;
F = 1;
Type = 59;
Symbol 215 MovieClip Frame 2
stop();
Symbol 221 MovieClip Frame 1
X = _x;
Y = _y;
F = 2;
Type = 49;
Symbol 221 MovieClip Frame 2
stop();
Symbol 226 MovieClip Frame 1
X = _x;
Y = _y;
F = 1;
Type = 67;
Symbol 226 MovieClip Frame 2
stop();
Symbol 228 MovieClip Frame 1
X = _x;
Y = _y;
F = 2;
Type = 63;
Symbol 228 MovieClip Frame 2
stop();
Symbol 229 MovieClip Frame 1
X = _x;
Y = _y;
F = 2;
Type = 67;
Symbol 229 MovieClip Frame 2
stop();
Symbol 233 MovieClip Frame 1
X = _x;
Y = _y;
F = 2;
Type = 56;
Symbol 233 MovieClip Frame 2
stop();
Symbol 236 MovieClip Frame 1
X = _x;
Y = _y;
F = 1;
Type = 58;
Symbol 236 MovieClip Frame 2
stop();
Symbol 238 MovieClip Frame 1
X = _x;
Y = _y;
F = 2;
Type = 61;
Symbol 238 MovieClip Frame 2
stop();
Symbol 240 MovieClip Frame 1
X = _x;
Y = _y;
F = 1;
Type = 63;
Symbol 240 MovieClip Frame 2
stop();
Symbol 246 MovieClip Frame 1
X = _x;
Y = _y;
F = 2;
Type = 2;
Symbol 246 MovieClip Frame 2
stop();
Symbol 247 MovieClip Frame 2
stop();
Symbol 247 MovieClip Frame 415
gotoAndPlay (1);
Symbol 247 MovieClip Frame 817
stop();
Symbol 247 MovieClip Frame 818
if (Number(_level0:ValidMove) == 0) {
prevFrame();
}
Symbol 247 MovieClip Frame 849
stop();
Symbol 247 MovieClip Frame 850
prevFrame();
Symbol 247 MovieClip Frame 1225
stop();
Symbol 247 MovieClip Frame 1226
if (Number(_level0:ValidMove) == 0) {
prevFrame();
}
Symbol 247 MovieClip Frame 1256
stop();
Symbol 247 MovieClip Frame 1257
prevFrame();
Symbol 247 MovieClip Frame 1333
stop();
Symbol 247 MovieClip Frame 1334
if (Number(_level0:ValidMove) == 0) {
prevFrame();
}
Symbol 247 MovieClip Frame 1352
stop();
Symbol 247 MovieClip Frame 1353
prevFrame();
Symbol 247 MovieClip Frame 1519
stop();
Symbol 247 MovieClip Frame 1520
if (Number(_level0:ValidMove) == 0) {
prevFrame();
}
Symbol 247 MovieClip Frame 1521
stop();
Symbol 247 MovieClip Frame 1522
prevFrame();
Symbol 247 MovieClip Frame 1613
stop();
Symbol 247 MovieClip Frame 1614
if (Number(_level0:ValidMove) == 0) {
prevFrame();
}
Symbol 247 MovieClip Frame 1615
stop();
Symbol 247 MovieClip Frame 1616
prevFrame();
Symbol 247 MovieClip Frame 1835
stop();
Symbol 247 MovieClip Frame 1836
if (Number(_level0:ValidMove) == 0) {
prevFrame();
}
Symbol 247 MovieClip Frame 1849
stop();
Symbol 247 MovieClip Frame 1850
prevFrame();
Symbol 247 MovieClip Frame 1927
gotoAndStop (4608);
Symbol 247 MovieClip Frame 2031
gotoAndPlay (4544);
Symbol 247 MovieClip Frame 2035
gotoAndPlay (4229);
Symbol 247 MovieClip Frame 2129
gotoAndPlay (3545);
Symbol 247 MovieClip Frame 2131
gotoAndPlay (3848);
Symbol 247 MovieClip Frame 2133
gotoAndPlay (4087);
Symbol 247 MovieClip Frame 2229
gotoAndPlay (3157);
Symbol 247 MovieClip Frame 2329
gotoAndPlay (3014);
Symbol 247 MovieClip Frame 2429
gotoAndPlay (2662);
Symbol 247 MovieClip Frame 2431
gotoAndPlay (2440);
Symbol 247 MovieClip Frame 2468
if (Number(_level0:EStanding5) == 4) {
Set("_level0:KType5", 1010);
} else {
gotoAndPlay (2440);
}
Symbol 247 MovieClip Frame 2530
Set("_level0:Spawn", 2);
Symbol 247 MovieClip Frame 2549
Set("_level0:KType5", 1007);
Symbol 247 MovieClip Frame 2640
stop();
Symbol 247 MovieClip Frame 2641
prevFrame();
Symbol 247 MovieClip Frame 2674
if (Number(_level0:EStanding5) == 3) {
Set("_level0:KType5", 1010);
} else {
gotoAndPlay (2662);
}
Symbol 247 MovieClip Frame 2703
Set("_level0:Spawn", 2);
Symbol 247 MovieClip Frame 2799
Set("_level0:KType5", 1007);
Symbol 247 MovieClip Frame 2876
if ((Number(_level0:Standing) == 1) and (Number(_level0:EStanding5) == 1)) {
play();
} else {
gotoAndPlay (2855);
}
Symbol 247 MovieClip Frame 3000
gotoAndPlay (2799);
Symbol 247 MovieClip Frame 3149
gotoAndPlay (3014);
Symbol 247 MovieClip Frame 3207
Set("_level0:KType5", 1010);
Symbol 247 MovieClip Frame 3315
Set("_level0:Spawn", 2);
Symbol 247 MovieClip Frame 3358
Set("_level0:KType5", 1007);
Symbol 247 MovieClip Frame 3369
if ((Number(_level0:Standing) == 1) and (Number(_level0:EStanding5) == 1)) {
play();
} else {
gotoAndPlay (3358);
}
Symbol 247 MovieClip Frame 3529
gotoAndPlay (3358);
Symbol 247 MovieClip Frame 3585
if (Number(_level0:EStanding5) == 1) {
Set("_level0:KType5", 1010);
} else {
gotoAndPlay (3579);
}
Symbol 247 MovieClip Frame 3638
Set("_level0:Spawn", 2);
Symbol 247 MovieClip Frame 3814
Set("_level0:KType5", 1007);
Symbol 247 MovieClip Frame 3837
stop();
Symbol 247 MovieClip Frame 3838
prevFrame();
Symbol 247 MovieClip Frame 3854
if (Number(_level0:EStanding5) == 2) {
Set("_level0:KType5", 1010);
} else {
gotoAndPlay (3848);
}
Symbol 247 MovieClip Frame 3872
Set("_level0:Spawn", 2);
Symbol 247 MovieClip Frame 4036
Set("_level0:KType5", 1007);
Symbol 247 MovieClip Frame 4075
stop();
Symbol 247 MovieClip Frame 4076
prevFrame();
Symbol 247 MovieClip Frame 4093
if ((Number(_level0:EStanding5) == 1) and (Number(_level0:KX5) < 300)) {
Set("_level0:KType5", 1010);
} else {
gotoAndPlay (4087);
}
Symbol 247 MovieClip Frame 4125
Set("_level0:KType5", 1007);
Symbol 247 MovieClip Frame 4128
Set("_level0:Spawn", 2);
Symbol 247 MovieClip Frame 4210
stop();
Symbol 247 MovieClip Frame 4211
prevFrame();
Symbol 247 MovieClip Frame 4237
if ((Number(_level0:EStanding5) == 2) and (100 < Number(_level0:KX5))) {
Set("_level0:KType5", 1010);
} else {
gotoAndPlay (4229);
}
Symbol 247 MovieClip Frame 4269
Set("_level0:Spawn", 2);
Symbol 247 MovieClip Frame 4512
Set("_level0:KType5", 1007);
Symbol 247 MovieClip Frame 4530
stop();
Symbol 247 MovieClip Frame 4531
prevFrame();
Symbol 247 MovieClip Frame 4574
if (Number(_level0:Checkpoint) != 2.5) {
gotoAndStop (4544);
}
Symbol 247 MovieClip Frame 4592
stop();
Symbol 247 MovieClip Frame 4593
prevFrame();
Symbol 247 MovieClip Frame 4608
stop();
Symbol 247 MovieClip Frame 4609
if (Number(_level0:ValidMove) == 0) {
prevFrame();
}
Symbol 247 MovieClip Frame 4636
Set("_level0:KType5", 0);
Symbol 247 MovieClip Frame 4677
Set("_level0:KType5", 1010);
Symbol 247 MovieClip Frame 4682
Set("_level0:Spawn", 2);
Symbol 247 MovieClip Frame 4684
Set("_level0:KLife1", 0);
Symbol 247 MovieClip Frame 4762
Set("_level0:KType5", 1007);
Symbol 247 MovieClip Frame 4771
stop();
Symbol 247 MovieClip Frame 4772
prevFrame();
Symbol 249 MovieClip Frame 2
stop();
Symbol 250 MovieClip Frame 2
stop();
Symbol 261 MovieClip Frame 28
gotoAndPlay (1);
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 10
play();
Symbol 269 MovieClip Frame 11
stop();
Symbol 269 MovieClip Frame 20
play();
Symbol 269 MovieClip Frame 21
stop();
Symbol 269 MovieClip Frame 30
play();
Symbol 269 MovieClip Frame 31
stop();
Symbol 269 MovieClip Frame 40
play();
Symbol 269 MovieClip Frame 41
stop();
Symbol 269 MovieClip Frame 50
play();
Symbol 269 MovieClip Frame 51
stop();
Symbol 269 MovieClip Frame 60
play();
Symbol 269 MovieClip Frame 61
stop();
Symbol 269 MovieClip Frame 70
play();
Symbol 269 MovieClip Frame 71
stop();
Symbol 269 MovieClip Frame 80
play();
Symbol 269 MovieClip Frame 81
stop();
Symbol 269 MovieClip Frame 90
play();
Symbol 269 MovieClip Frame 91
stop();
Symbol 269 MovieClip Frame 100
play();
Symbol 269 MovieClip Frame 101
stop();
Symbol 269 MovieClip Frame 110
play();
Symbol 269 MovieClip Frame 111
stop();
Symbol 269 MovieClip Frame 120
play();
Symbol 269 MovieClip Frame 121
stop();
Symbol 269 MovieClip Frame 130
play();
Symbol 269 MovieClip Frame 131
stop();
Symbol 269 MovieClip Frame 140
play();
Symbol 269 MovieClip Frame 141
stop();
Symbol 269 MovieClip Frame 150
play();
Symbol 269 MovieClip Frame 151
stop();
Symbol 269 MovieClip Frame 160
play();
Symbol 269 MovieClip Frame 161
stop();
Symbol 269 MovieClip Frame 200
play();
Symbol 269 MovieClip Frame 201
stop();
Symbol 269 MovieClip Frame 210
play();
Symbol 269 MovieClip Frame 211
stop();
Symbol 269 MovieClip Frame 220
play();
Symbol 269 MovieClip Frame 221
stop();
Symbol 275 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 2
stop();
Symbol 295 MovieClip Frame 4
stop();
Symbol 295 MovieClip Frame 6
stop();
Symbol 295 MovieClip Frame 21
stop();
Symbol 295 MovieClip Frame 52
stop();
Symbol 295 MovieClip Frame 54
stop();
Symbol 295 MovieClip Frame 56
stop();
Symbol 295 MovieClip Frame 74
stop();
Symbol 295 MovieClip Frame 111
stop();
Symbol 295 MovieClip Frame 211
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 15
stop();
Symbol 301 MovieClip Frame 2
stop();
Symbol 301 MovieClip Frame 4
stop();
Symbol 301 MovieClip Frame 6
stop();
Symbol 301 MovieClip Frame 8
stop();
Symbol 301 MovieClip Frame 52
stop();
Symbol 301 MovieClip Frame 54
stop();
Symbol 301 MovieClip Frame 56
stop();
Symbol 301 MovieClip Frame 58
stop();
Symbol 301 MovieClip Frame 111
stop();
Symbol 301 MovieClip Frame 211
stop();
Symbol 302 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 2
play();
Symbol 303 MovieClip Frame 3
gotoAndStop (1);
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 62
if (0 < Number(_level0:Stun)) {
gotoAndPlay (58);
} else {
gotoAndStop (1);
}
Symbol 310 MovieClip Frame 101
stop();
Symbol 314 MovieClip Frame 7
stop();
Symbol 314 MovieClip Frame 56
stop();
Symbol 317 MovieClip Frame 6
stop();
Symbol 317 MovieClip Frame 54
stop();
Symbol 324 MovieClip Frame 49
stop();
Symbol 324 MovieClip Frame 70
stop();
Symbol 326 MovieClip Frame 22
stop();
Symbol 328 MovieClip Frame 7
stop();
Symbol 328 MovieClip Frame 56
stop();
Symbol 330 MovieClip Frame 7
stop();
Symbol 330 MovieClip Frame 56
stop();
Symbol 333 MovieClip Frame 7
stop();
Symbol 333 MovieClip Frame 57
stop();
Symbol 335 MovieClip Frame 4
stop();
Symbol 335 MovieClip Frame 55
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 5
stop();
Symbol 345 MovieClip Frame 1
stop();
Symbol 356 Button
on (release) {
play();
}
on (keyPress "Z") {
play();
}
on (keyPress "z") {
play();
}