Frame 1
stopAllSounds();
Frame 2
var kdash;
var kjump;
var kattack;
var kspec;
var kcrush;
var kup;
var kdown;
var kleft;
var kright;
var kpause;
kdash = 65;
kjump = 83;
kattack = 68;
kspec = 69;
kcrush = 13;
kup = 38;
kdown = 40;
kleft = 37;
kright = 39;
kpause = 8;
if (_totalframes > _framesloaded) {
gotoAndPlay (1);
}
Frame 3
var xz;
var pd;
var ps;
var pe;
var px;
var py;
var pl;
var pi;
var charge;
var crusher;
var ptime;
var pwall;
var pw;
var pf;
var sx;
var sy;
var weap;
var wenergy;
var wmax;
var lmax;
boss = new Array(8);
enhan = new Array(8);
heart = new Array(8);
rc = new Array(5);
var psn;
pst = new Array(3);
psd = new Array(3);
psx = new Array(3);
psy = new Array(3);
psf = new Array(3);
bt = new Array(10);
bg = new Array(10);
bd = new Array(10);
bs = new Array(10);
bj = new Array(10);
bx = new Array(10);
by = new Array(10);
bl = new Array(10);
btime = new Array(10);
bf = new Array(10);
var bsn;
bst = new Array(6);
bsd = new Array(6);
bsx = new Array(6);
bsy = new Array(6);
bsf = new Array(6);
blt = new Array(15);
blx = new Array(15);
bly = new Array(15);
blsx = new Array(15);
blsy = new Array(15);
var money;
var f;
var lives;
var timer;
var pace;
var camx;
var camy;
var dif;
var game;
var h1;
var h2;
var h3;
var h4;
var checkp;
h1 = 1;
while (h1 < 9) {
enhan[h1] = 0;
heart[h1] = 0;
h1++;
}
h1 = 1;
boom1 = new Sound(this);
boom1.attachSound("6_boom1.au");
boom2 = new Sound(this);
boom2.attachSound("6_boom2.au");
boom3 = new Sound(this);
boom3.attachSound("6_boom3.au");
bossdeath = new Sound(this);
bossdeath.attachSound("6_bossdeath.wav");
buster = new Sound(this);
buster.attachSound("6_buster.au");
electric = new Sound(this);
electric.attachSound("6_electricity.wav");
herodeath = new Sound(this);
herodeath.attachSound("6_herodeath.wav");
jump = new Sound(this);
jump.attachSound("6_jump.au");
laser = new Sound(this);
laser.attachSound("6_laser.wav");
melee = new Sound(this);
melee.attachSound("6_melee.au");
metal = new Sound(this);
metal.attachSound("6_metalcrunch.wav");
multibeep = new Sound(this);
multibeep.attachSound("6_multiplebeep.au");
rocket = new Sound(this);
rocket.attachSound("6_rocket.au");
shothit = new Sound(this);
shothit.attachSound("6_shothit.au");
lilbuster = new Sound(this);
lilbuster.attachSound("6_LittleBuster.wav");
midbuster = new Sound(this);
midbuster.attachSound("6_MidBuster.wav");
maxbuster = new Sound(this);
maxbuster.attachSound("6_MaxBuster.wav");
lifeupsfx = new Sound(this);
lifeupsfx.attachSound("6_Blip4.wav");
teleportsfx = new Sound(this);
teleportsfx.attachSound("6_Teleport1.wav");
zeroswing = new Sound(this);
zeroswing.attachSound("6_ElectricZap2.mp3");
deliaswing = new Sound(this);
deliaswing.attachSound("6_ElectricZap.mp3");
sinattack = new Sound(this);
sinattack.attachSound("6_pacmandies.wav");
lightning = new Sound(this);
lightning.attachSound("6_lightning.mp3");
xcharge = new Sound(this);
xcharge.attachSound("6_X Charge.wav");
deflect = new Sound(this);
deflect.attachSound("6_Deflect.mp3");
stopAllSounds();
schk = false;
stul = "http://uploads.ungrounded.net/";
if (_url.substr(0, stul.length) == stul) {
schk = true;
}
if (schk == false) {
gotoAndStop (1);
}
if (schk == true) {
gotoAndPlay (4);
}
Frame 4
stopAllSounds();
gotoAndPlay (2845);
Frame 10
f = 11;
timer = 1;
pace = 1;
csetup();
bt[1] = 1;
bl[1] = 4;
bx[1] = 260;
by[1] = -60;
bt[2] = 1;
bl[2] = 4;
bx[2] = 380;
by[2] = -100;
bt[3] = 1;
bl[3] = 4;
bx[3] = 640;
by[3] = -240;
bt[4] = 9;
bl[4] = 4;
bx[4] = 400;
by[4] = -330;
bt[5] = 9;
bl[5] = 4;
bx[5] = 710;
by[5] = -350;
blt[1] = 1;
blx[1] = 220;
bly[1] = -20;
blsx[1] = 220;
blsy[1] = 20;
blt[2] = 4;
blx[2] = 320;
bly[2] = -80;
blsx[2] = 120;
blsy[2] = 40;
blt[3] = 1;
blx[3] = 620;
bly[3] = -120;
blsx[3] = 180;
blsy[3] = 120;
blt[4] = 1;
blx[4] = 500;
bly[4] = -310;
blsx[4] = 20;
blsy[4] = 70;
blt[5] = 5;
blx[5] = 580;
bly[5] = -260;
blsx[5] = 60;
blsy[5] = 20;
blt[6] = 1;
blx[6] = 610;
bly[6] = -420;
blsx[6] = 30;
blsy[6] = 80;
blt[7] = 1;
blx[7] = 760;
bly[7] = -370;
blsx[7] = 40;
blsy[7] = 130;
prsc();
Frame 11
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 20;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 8) {
cbl1();
cbl4();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg9();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 4) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 1) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 9) {
cbb1();
cbb4();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 640) and (px < 720)) and (py < -460)) {
px = px - 600;
py = -10;
gotoAndPlay (20);
}
cxyz();
h1 = 1;
while (h1 < 300) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 12
gotoAndPlay (11);
Frame 20
f = 21;
timer = 1;
pace = 1;
csetup();
bt[1] = 1;
bl[1] = 4;
bx[1] = 230;
by[1] = -100;
bt[2] = 16;
bl[2] = 4;
bx[2] = 300;
by[2] = -100;
bt[3] = 9;
bl[3] = 4;
bx[3] = 500;
by[3] = -160;
bt[4] = 16;
bl[4] = 4;
bx[4] = 200;
by[4] = -440;
blt[1] = 6;
blx[1] = 500;
bly[1] = -80;
blsx[1] = 20;
blsy[1] = 20;
blt[2] = 7;
blx[2] = 780;
bly[2] = -160;
blsx[2] = 20;
blsy[2] = 20;
blt[3] = 6;
blx[3] = 540;
bly[3] = -360;
blsx[3] = 20;
blsy[3] = 20;
blt[4] = 9;
blx[4] = 480;
bly[4] = -420;
blsx[4] = 20;
blsy[4] = 20;
blt[5] = 3;
blx[5] = 270;
bly[5] = -220;
blsx[5] = 10;
blsy[5] = 40;
blt[6] = 2;
blx[6] = 750;
bly[6] = -440;
blsx[6] = 10;
blsy[6] = 60;
blt[7] = 1;
blx[7] = 280;
bly[7] = -50;
blsx[7] = 160;
blsy[7] = 50;
blt[8] = 1;
blx[8] = 20;
bly[8] = -250;
blsx[8] = 20;
blsy[8] = 250;
blt[9] = 1;
blx[9] = 150;
bly[9] = -310;
blsx[9] = 110;
blsy[9] = 130;
prsc();
Frame 21
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 140;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 10) {
cbl1();
cbl2();
cbl3();
cbl6_2();
cbl7_2();
cbl9_2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 5) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg9();
cbg16();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 2) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 1) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 10) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 40) and (px < 120)) and (py > -10)) {
px = px + 600;
py = -460;
gotoAndPlay (10);
}
if (((px > 740) and (px < 760)) and (py < -460)) {
px = px - 700;
py = -20;
gotoAndPlay (30);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
if (heart[1] == 0) {
htank._x = 100 + (70 - camx);
htank._y = 100 + (-450 - camy);
if (((((px + 8) > 70) and ((px - 8) < 70)) and (py > -450)) and ((py - 25) < -450)) {
lifeupsfx.start();
heart[1] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
htank._x = -2000;
htank._y = -2000;
}
}
h1 = 1;
while (h1 < 300) {
h3 = h1 + random(100);
h1++;
}
dscn();
block1._x = 100 + (blx[1] - camx);
block1._y = 100 + (bly[1] - camy);
block2._x = 100 + (blx[2] - camx);
block2._y = 100 + (bly[2] - camy);
block3._x = 100 + (blx[3] - camx);
block3._y = 100 + (bly[3] - camy);
block4._x = 100 + (blx[4] - camx);
block4._y = 100 + (bly[4] - camy);
Frame 22
gotoAndPlay (21);
Frame 30
f = 31;
timer = 1;
pace = 1;
csetup();
bt[1] = 16;
bl[1] = 4;
bx[1] = 160;
by[1] = -140;
bt[2] = 21;
bl[2] = 20;
bx[2] = 350;
by[2] = -200;
bt[3] = 9;
bl[3] = 4;
bx[3] = 480;
by[3] = -260;
bt[4] = 21;
bl[4] = 20;
bx[4] = 520;
by[4] = -260;
blt[1] = 2;
blx[1] = 50;
bly[1] = -90;
blsx[1] = 10;
blsy[1] = 90;
blt[2] = 2;
blx[2] = 630;
bly[2] = -120;
blsx[2] = 10;
blsy[2] = 120;
blt[3] = 1;
blx[3] = 140;
bly[3] = -120;
blsx[3] = 80;
blsy[3] = 20;
blt[4] = 1;
blx[4] = 380;
bly[4] = -160;
blsx[4] = 80;
blsy[4] = 20;
blt[5] = 1;
blx[5] = 570;
bly[5] = -140;
blsx[5] = 30;
blsy[5] = 140;
blt[6] = 1;
blx[6] = 730;
bly[6] = -250;
blsx[6] = 70;
blsy[6] = 250;
prsc();
Frame 31
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 80;
py = -140;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
cbl2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 5) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg9();
cbg16();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 40) and (px < 60)) and (py > -10)) {
px = px + 700;
py = -460;
gotoAndPlay (20);
}
if (((px > 600) and (px < 660)) and (py > -10)) {
px = px - 560;
py = -460;
gotoAndPlay (40);
}
cxyz();
h1 = 1;
while (h1 < 300) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 32
gotoAndPlay (31);
Frame 40
f = 41;
timer = 1;
pace = 1;
csetup();
bt[1] = 16;
bl[1] = 4;
bx[1] = 160;
by[1] = -380;
bt[2] = 9;
bl[2] = 4;
bx[2] = 260;
by[2] = -440;
bt[3] = 16;
bl[3] = 4;
bx[3] = 260;
by[3] = -240;
bt[4] = 16;
bl[4] = 4;
bx[4] = 400;
by[4] = -100;
bt[5] = 9;
bl[5] = 4;
bx[5] = 480;
by[5] = -180;
bt[6] = 16;
bl[6] = 4;
bx[6] = 570;
by[6] = -240;
bt[7] = 10;
bl[7] = 4;
bx[7] = 320;
by[7] = -240;
bt[8] = 10;
bl[8] = 4;
bx[8] = 740;
by[8] = -400;
blt[1] = 2;
blx[1] = 70;
bly[1] = -470;
blsx[1] = 10;
blsy[1] = 30;
blt[2] = 1;
blx[2] = 20;
bly[2] = -250;
blsx[2] = 20;
blsy[2] = 250;
blt[3] = 1;
blx[3] = 120;
bly[3] = -190;
blsx[3] = 80;
blsy[3] = 190;
blt[4] = 1;
blx[4] = 260;
bly[4] = -120;
blsx[4] = 60;
blsy[4] = 120;
blt[5] = 1;
blx[5] = 400;
bly[5] = -50;
blsx[5] = 80;
blsy[5] = 50;
blt[6] = 1;
blx[6] = 540;
bly[6] = -120;
blsx[6] = 60;
blsy[6] = 120;
blt[7] = 1;
blx[7] = 680;
bly[7] = -200;
blsx[7] = 80;
blsy[7] = 200;
blt[8] = 1;
blx[8] = 780;
bly[8] = -250;
blsx[8] = 20;
blsy[8] = 250;
blt[9] = 1;
blx[9] = 400;
bly[9] = -480;
blsx[9] = 300;
blsy[9] = 20;
blt[10] = 1;
blx[10] = 410;
bly[10] = -380;
blsx[10] = 130;
blsy[10] = 80;
blt[11] = 1;
blx[11] = 400;
bly[11] = -230;
blsx[11] = 20;
blsy[11] = 70;
prsc();
Frame 41
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 60;
py = -380;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 12) {
cbl1();
cbl2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg9();
cbg10();
cbg16();
mbad();
}
}
h2++;
}
cbgs();
h2 = 7;
while (h2 < 9) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 10) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 12) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 40) and (px < 100)) and (py < -460)) {
px = px + 560;
py = -30;
gotoAndPlay (30);
}
if (((px > 700) and (px < 760)) and (py < -460)) {
px = px - 660;
py = -30;
gotoAndPlay (50);
}
cxyz();
h1 = 1;
while (h1 < 300) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 42
gotoAndPlay (41);
Frame 50
f = 51;
timer = 1;
pace = 1;
csetup();
bt[1] = 11;
bl[1] = 12;
bx[1] = 280;
by[1] = -200;
blt[1] = 3;
blx[1] = 480;
bly[1] = -410;
blsx[1] = 20;
blsy[1] = 90;
blt[2] = 3;
blx[2] = 480;
bly[2] = -130;
blsx[2] = 20;
blsy[2] = 130;
blt[3] = 8;
blx[3] = 240;
bly[3] = -110;
blsx[3] = 20;
blsy[3] = 10;
blt[4] = 9;
blx[4] = 320;
bly[4] = -370;
blsx[4] = 20;
blsy[4] = 10;
blt[5] = 9;
blx[5] = 420;
bly[5] = -410;
blsx[5] = 20;
blsy[5] = 10;
blt[6] = 9;
blx[6] = 520;
bly[6] = -410;
blsx[6] = 20;
blsy[6] = 10;
blt[7] = 1;
blx[7] = 20;
bly[7] = -50;
blsx[7] = 20;
blsy[7] = 50;
blt[8] = 1;
blx[8] = 150;
bly[8] = -50;
blsx[8] = 50;
blsy[8] = 50;
blt[9] = 1;
blx[9] = 710;
bly[9] = -390;
blsx[9] = 90;
blsy[9] = 30;
prsc();
Frame 51
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 120;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 10) {
cbl1();
cbl3();
cbl8_2();
cbl9_2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 2) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg11();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 40) and (px < 100)) and (py > -10)) {
px = px + 660;
py = -460;
gotoAndPlay (40);
}
if (((px > 790) and (py < -419)) and (py > -500)) {
px = px - 780;
py = -420;
gotoAndPlay (60);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
h1 = 1;
while (h1 < 300) {
h3 = h1 + random(100);
h1++;
}
dscn();
block3._x = 100 + (blx[3] - camx);
block3._y = 100 + (bly[3] - camy);
block4._x = 100 + (blx[4] - camx);
block4._y = 100 + (bly[4] - camy);
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
Frame 52
gotoAndPlay (51);
Frame 60
f = 61;
timer = 1;
pace = 1;
csetup();
bt[1] = 16;
bl[1] = 4;
bx[1] = 180;
by[1] = -420;
bt[2] = 9;
bl[2] = 4;
bx[2] = 300;
by[2] = -480;
bt[3] = 16;
bl[3] = 4;
bx[3] = 700;
by[3] = -400;
bt[4] = 9;
bl[4] = 4;
bx[4] = 440;
by[4] = -420;
bt[5] = 20;
bl[5] = 6;
bx[5] = 400;
by[5] = -360;
bt[6] = 20;
bl[6] = 6;
bx[6] = 540;
by[6] = -380;
bt[7] = 20;
bl[7] = 8;
bx[7] = 600;
by[7] = -400;
bt[8] = 20;
bl[8] = 6;
bx[8] = 260;
by[8] = -400;
blt[1] = 4;
blx[1] = 540;
bly[1] = -380;
blsx[1] = 60;
blsy[1] = 20;
blt[2] = 5;
blx[2] = 290;
bly[2] = -390;
blsx[2] = 90;
blsy[2] = 30;
blt[3] = 1;
blx[3] = 100;
bly[3] = -210;
blsx[3] = 100;
blsy[3] = 210;
blt[4] = 1;
blx[4] = 400;
bly[4] = -180;
blsx[4] = 200;
blsy[4] = 180;
blt[5] = 1;
blx[5] = 700;
bly[5] = -200;
blsx[5] = 100;
blsy[5] = 200;
prsc();
Frame 61
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -420;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 6) {
cbl1();
cbl4();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg9();
cbg16();
cbg20();
mbad();
}
}
h2++;
}
cbgs();
h2 = 5;
while (h2 < 9) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 20) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 6) {
cbb1();
cbb4();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px < 10) and (py < -419)) and (py > -500)) {
px = px + 780;
gotoAndPlay (50);
}
if (((px > 790) and (py < -399)) and (py > -500)) {
px = px - 780;
py = py + 360;
gotoAndPlay (70);
}
cxyz();
h1 = 1;
while (h1 < 300) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 62
gotoAndPlay (61);
Frame 70
f = 71;
timer = 1;
pace = 1;
csetup();
bt[1] = 9;
bl[1] = 4;
bx[1] = 200;
by[1] = -120;
bt[2] = 9;
bl[2] = 4;
bx[2] = 740;
by[2] = -240;
bt[3] = 9;
bl[3] = 4;
bx[3] = 660;
by[3] = -380;
bt[4] = 9;
bl[4] = 4;
bx[4] = 320;
by[4] = -100;
bt[5] = 20;
bl[5] = 6;
bx[5] = 300;
by[5] = -40;
bt[6] = 1;
bl[6] = 4;
bx[6] = 320;
by[6] = -40;
bt[7] = 20;
bl[7] = 6;
bx[7] = 480;
by[7] = -60;
bt[8] = 1;
bl[8] = 4;
bx[8] = 620;
by[8] = -120;
blt[1] = 4;
blx[1] = 510;
bly[1] = -70;
blsx[1] = 90;
blsy[1] = 30;
blt[2] = 1;
blx[2] = 300;
bly[2] = -20;
blsx[2] = 300;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 620;
bly[3] = -60;
blsx[3] = 20;
blsy[3] = 60;
blt[4] = 1;
blx[4] = 780;
bly[4] = -250;
blsx[4] = 20;
blsy[4] = 250;
blt[5] = 1;
blx[5] = 620;
bly[5] = -350;
blsx[5] = 20;
blsy[5] = 150;
blt[6] = 1;
blx[6] = 740;
bly[6] = -160;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 1;
blx[7] = 720;
bly[7] = -280;
blsx[7] = 40;
blsy[7] = 20;
blt[8] = 1;
blx[8] = 660;
bly[8] = -400;
blsx[8] = 20;
blsy[8] = 20;
prsc();
Frame 71
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
cbl4();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg9();
cbg20();
mbad();
}
}
h2++;
}
cbgs();
h2 = 5;
while (h2 < 9) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if (((bt[h2] == 1) or (bt[h2] == 20)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 9) {
cbb1();
cbb4();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px < 10) and (py < -39)) and (py > -500)) {
px = px + 780;
py = py - 360;
gotoAndPlay (60);
}
if (((px > 640) and (px < 760)) and (py < -460)) {
px = px - 560;
py = -30;
gotoAndPlay (80);
}
cxyz();
h1 = 1;
while (h1 < 300) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 72
gotoAndPlay (71);
Frame 80
f = 81;
timer = 1;
pace = 1;
csetup();
bt[1] = 21;
bl[1] = 20;
bx[1] = 200;
by[1] = -150;
bt[2] = 9;
bl[2] = 4;
bx[2] = 110;
by[2] = -320;
bt[3] = 9;
bl[3] = 4;
bx[3] = 400;
by[3] = -350;
bt[4] = 21;
bl[4] = 20;
bx[4] = 560;
by[4] = -300;
bt[5] = 9;
bl[5] = 4;
bx[5] = 700;
by[5] = -360;
blt[1] = 1;
blx[1] = 60;
bly[1] = -180;
blsx[1] = 20;
blsy[1] = 180;
blt[2] = 1;
blx[2] = 140;
bly[2] = -430;
blsx[2] = 100;
blsy[2] = 70;
blt[3] = 1;
blx[3] = 220;
bly[3] = -130;
blsx[3] = 20;
blsy[3] = 130;
blt[4] = 1;
blx[4] = 170;
bly[4] = -120;
blsx[4] = 30;
blsy[4] = 20;
blt[5] = 1;
blx[5] = 120;
bly[5] = -220;
blsx[5] = 40;
blsy[5] = 20;
blt[6] = 1;
blx[6] = 220;
bly[6] = -340;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 1;
blx[7] = 310;
bly[7] = -230;
blsx[7] = 10;
blsy[7] = 10;
blt[8] = 1;
blx[8] = 410;
bly[8] = -250;
blsx[8] = 10;
blsy[8] = 10;
blt[9] = 1;
blx[9] = 510;
bly[9] = -270;
blsx[9] = 10;
blsy[9] = 10;
blt[10] = 1;
blx[10] = 570;
bly[10] = -270;
blsx[10] = 10;
blsy[10] = 10;
blt[11] = 1;
blx[11] = 650;
bly[11] = -290;
blsx[11] = 10;
blsy[11] = 10;
blt[12] = 1;
blx[12] = 760;
bly[12] = -240;
blsx[12] = 40;
blsy[12] = 20;
prsc();
Frame 81
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 160;
py = -140;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 13) {
cbl1();
h1++;
}
dfall();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg9();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 80) and (px < 200)) and (py > -10)) {
px = px + 560;
py = -460;
gotoAndPlay (70);
}
if (((px > 790) and (py < -259)) and (py > -500)) {
px = px - 780;
gotoAndPlay (90);
}
cxyz();
h1 = 1;
while (h1 < 300) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 82
gotoAndPlay (81);
Frame 90
f = 91;
timer = 1;
pace = 1;
csetup();
bt[1] = 21;
bl[1] = 20;
bx[1] = 120;
by[1] = -280;
bt[2] = 5;
bl[2] = 4;
bx[2] = 170;
by[2] = -330;
bt[3] = 5;
bl[3] = 4;
bx[3] = 350;
by[3] = -320;
bt[4] = 5;
bl[4] = 4;
bx[4] = 470;
by[4] = -300;
bt[5] = 16;
bl[5] = 4;
bx[5] = 530;
by[5] = -240;
bt[6] = 16;
bl[6] = 4;
bx[6] = 660;
by[6] = -320;
bt[7] = 9;
bl[7] = 4;
bx[7] = 620;
by[7] = -300;
blt[1] = 1;
blx[1] = 40;
bly[1] = -240;
blsx[1] = 40;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 150;
bly[2] = -290;
blsx[2] = 10;
blsy[2] = 10;
blt[3] = 1;
blx[3] = 250;
bly[3] = -270;
blsx[3] = 10;
blsy[3] = 10;
blt[4] = 1;
blx[4] = 310;
bly[4] = -250;
blsx[4] = 10;
blsy[4] = 10;
blt[5] = 1;
blx[5] = 390;
bly[5] = -250;
blsx[5] = 10;
blsy[5] = 10;
blt[6] = 1;
blx[6] = 520;
bly[6] = -230;
blsx[6] = 40;
blsy[6] = 10;
blt[7] = 1;
blx[7] = 600;
bly[7] = -200;
blsx[7] = 80;
blsy[7] = 20;
blt[8] = 1;
blx[8] = 660;
bly[8] = -90;
blsx[8] = 20;
blsy[8] = 90;
blt[9] = 1;
blx[9] = 780;
bly[9] = -250;
blsx[9] = 20;
blsy[9] = 250;
blt[10] = 1;
blx[10] = 660;
bly[10] = -440;
blsx[10] = 20;
blsy[10] = 60;
blt[11] = 1;
blx[11] = 660;
bly[11] = -270;
blsx[11] = 20;
blsy[11] = 50;
prsc();
Frame 91
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -260;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 12) {
cbl1();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg5();
cbg9();
cbg16();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
if (((px < 10) and (py < -259)) and (py > -500)) {
px = px + 780;
gotoAndPlay (80);
}
if (((px > 680) and (px < 760)) and (py > -10)) {
px = 200;
py = -170;
if ((boss[1] != 0) or (game == 5)) {
gotoAndPlay (2556);
}
if ((boss[1] == 0) and (game != 5)) {
gotoAndPlay (95);
}
}
cxyz();
h1 = 1;
while (h1 < 300) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 92
gotoAndPlay (91);
Frame 100
f = 101;
timer = 1;
pace = 1;
csetup();
bt[1] = 51;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 150 + (200 - dif);
bx[1] = 300;
by[1] = -40;
bf[1] = 300;
bx[10] = 18;
by[10] = 55;
blt[1] = 1;
blx[1] = 10;
bly[1] = -100;
blsx[1] = 10;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 390;
bly[2] = -100;
blsx[2] = 10;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 200;
bly[3] = -20;
blsx[3] = 180;
blsy[3] = 20;
Frame 101
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 200;
py = -170;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 4) {
cbl1();
h1++;
}
dfall();
boss1();
h1 = 1;
while (h1 < 320) {
h3 = h1 + random(100);
h1++;
}
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 395) {
px = 395;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 300) {
camx = 300;
}
camy = py;
if (camy < -100) {
camy = -100;
}
if (camy > -50) {
camy = -50;
}
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
Frame 102
gotoAndPlay (101);
Frame 110
f = 111;
timer = 1;
pace = 1;
csetup();
bt[1] = 4;
bl[1] = 4;
bx[1] = 230;
by[1] = -370;
bt[2] = 2;
bl[2] = 4;
bx[2] = 280;
by[2] = -340;
bt[3] = 4;
bl[3] = 4;
bx[3] = 400;
by[3] = -30;
bt[4] = 4;
bl[4] = 4;
bx[4] = 680;
by[4] = -400;
bt[5] = 2;
bl[5] = 4;
bx[5] = 720;
by[5] = -400;
bt[6] = 19;
bd[6] = 1;
bl[6] = 6;
bx[6] = 540;
by[6] = -320;
blt[1] = 5;
blx[1] = 250;
bly[1] = -350;
blsx[1] = 150;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 50;
bly[2] = -200;
blsx[2] = 50;
blsy[2] = 200;
blt[3] = 1;
blx[3] = 320;
bly[3] = -150;
blsx[3] = 220;
blsy[3] = 150;
blt[4] = 1;
blx[4] = 670;
bly[4] = -200;
blsx[4] = 130;
blsy[4] = 200;
prsc();
Frame 111
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -400;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 5) {
cbl1();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg2();
cbg4();
cbg19();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 6) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if (((bt[h2] == 2) or (bt[h2] == 4)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 5) {
cbb1();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -399)) and (py > -500)) {
px = 20;
gotoAndPlay (115);
}
cxyz();
h1 = 1;
while (h1 < 270) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 112
gotoAndPlay (111);
Frame 120
f = 121;
timer = 1;
pace = 1;
csetup();
bt[1] = 2;
bl[1] = 4;
bx[1] = 160;
by[1] = -400;
bt[2] = 2;
bl[2] = 4;
bx[2] = 600;
by[2] = -40;
bt[3] = 3;
bl[3] = 4;
bx[3] = 200;
by[3] = -460;
bt[4] = 19;
bl[4] = 6;
bx[4] = 200;
by[4] = -370;
bt[5] = 3;
bl[5] = 4;
bx[5] = 300;
by[5] = -440;
bt[6] = 19;
bl[6] = 6;
bx[6] = 320;
by[6] = -350;
bt[7] = 3;
bl[7] = 4;
bx[7] = 460;
by[7] = -420;
bt[8] = 21;
bl[8] = 20;
bx[8] = 560;
by[8] = -370;
bt[9] = 21;
bl[9] = 20;
bx[9] = 680;
by[9] = -260;
blt[1] = 1;
blx[1] = 100;
bly[1] = -200;
blsx[1] = 100;
blsy[1] = 200;
blt[2] = 1;
blx[2] = 280;
bly[2] = -190;
blsx[2] = 40;
blsy[2] = 190;
blt[3] = 1;
blx[3] = 440;
bly[3] = -180;
blsx[3] = 40;
blsy[3] = 180;
blt[4] = 1;
blx[4] = 640;
bly[4] = -20;
blsx[4] = 160;
blsy[4] = 20;
prsc();
Frame 121
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -400;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 5) {
cbl1();
h1++;
}
dfall();
h2 = 1;
while (h2 < 10) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg2();
cbg3();
cbg19();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 3) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 2) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 5) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -39)) and (py > -140)) {
px = 20;
gotoAndPlay (125);
}
if (((px < 10) and (py < -399)) and (py > -500)) {
px = 780;
gotoAndPlay (105);
}
cxyz();
h1 = 1;
while (h1 < 270) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 122
gotoAndPlay (121);
Frame 130
f = 131;
timer = 1;
pace = 1;
csetup();
bt[1] = 3;
bl[1] = 4;
bx[1] = 160;
by[1] = -100;
bt[2] = 3;
bl[2] = 4;
bx[2] = 200;
by[2] = -240;
bt[3] = 3;
bl[3] = 4;
bx[3] = 500;
by[3] = -160;
bt[4] = 3;
bl[4] = 4;
bx[4] = 620;
by[4] = -180;
bt[5] = 4;
bl[5] = 4;
bx[5] = 380;
by[5] = -200;
bt[6] = 4;
bl[6] = 4;
bx[6] = 420;
by[6] = -180;
blt[1] = 1;
blx[1] = 100;
bly[1] = -20;
blsx[1] = 100;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 330;
bly[2] = -100;
blsx[2] = 50;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 500;
bly[3] = -60;
blsx[3] = 120;
blsy[3] = 60;
blt[4] = 1;
blx[4] = 750;
bly[4] = -60;
blsx[4] = 50;
blsy[4] = 60;
blt[5] = 5;
blx[5] = 500;
bly[5] = -160;
blsx[5] = 120;
blsy[5] = 40;
blt[6] = 2;
blx[6] = 270;
bly[6] = -140;
blsx[6] = 10;
blsy[6] = 100;
prsc();
Frame 131
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
cbl2();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg3();
cbg4();
mbad();
}
}
h2++;
}
cbgs();
h2 = 5;
while (h2 < 7) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 4) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 7) {
cbb1();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -119)) and (py > -210)) {
px = 20;
py = py + 20;
gotoAndPlay (135);
}
if (((px < 10) and (py < -39)) and (py > -140)) {
px = 780;
gotoAndPlay (115);
}
cxyz();
h1 = 1;
while (h1 < 270) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 132
gotoAndPlay (131);
Frame 140
f = 141;
timer = 1;
pace = 1;
csetup();
bt[1] = 3;
bl[1] = 4;
bx[1] = 140;
by[1] = -180;
bt[2] = 21;
bl[2] = 20;
bx[2] = 130;
by[2] = -120;
bt[3] = 8;
bl[3] = 4;
bx[3] = 250;
by[3] = -200;
bt[4] = 11;
bl[4] = 12;
bx[4] = 330;
by[4] = -140;
bt[5] = 3;
bl[5] = 4;
bx[5] = 400;
by[5] = -200;
bt[6] = 8;
bl[6] = 4;
bx[6] = 500;
by[6] = -200;
bt[7] = 19;
bl[7] = 4;
bd[7] = 1;
bx[7] = 600;
by[7] = -150;
blt[1] = 1;
blx[1] = 50;
bly[1] = -50;
blsx[1] = 50;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 200;
bly[2] = -70;
blsx[2] = 40;
blsy[2] = 70;
blt[3] = 1;
blx[3] = 330;
bly[3] = -110;
blsx[3] = 50;
blsy[3] = 30;
blt[4] = 1;
blx[4] = 330;
bly[4] = -10;
blsx[4] = 30;
blsy[4] = 10;
blt[5] = 1;
blx[5] = 480;
bly[5] = -70;
blsx[5] = 40;
blsy[5] = 70;
blt[6] = 1;
blx[6] = 700;
bly[6] = -90;
blsx[6] = 100;
blsy[6] = 90;
blt[7] = 4;
blx[7] = 710;
bly[7] = -210;
blsx[7] = 90;
blsy[7] = 30;
prsc();
Frame 141
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 8) {
cbl1();
cbl4();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg3();
cbg8();
cbg11();
cbg19();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 790) and (py < -229)) and (py > -340)) {
px = 20;
py = py + 45;
gotoAndPlay (145);
}
if (((px < 10) and (py < -99)) and (py > -200)) {
px = 780;
py = py - 20;
gotoAndPlay (125);
}
cxyz();
if (heart[2] == 0) {
htank._x = 100 + (330 - camx);
htank._y = 100 + (-30 - camy);
if (((((px + 8) > 330) and ((px - 8) < 330)) and (py > -30)) and ((py - 25) < -30)) {
lifeupsfx.start();
heart[2] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
htank._x = -2000;
htank._y = -2000;
}
}
h1 = 1;
while (h1 < 270) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 142
gotoAndPlay (141);
Frame 150
f = 151;
timer = 1;
pace = 1;
csetup();
bt[1] = 2;
bl[1] = 4;
bx[1] = 180;
by[1] = -200;
bt[2] = 2;
bl[2] = 4;
bx[2] = 640;
by[2] = -200;
bt[3] = 3;
bl[3] = 4;
bx[3] = 540;
by[3] = -240;
bt[4] = 3;
bl[4] = 4;
bx[4] = 300;
by[4] = -240;
blt[1] = 1;
blx[1] = 100;
bly[1] = -100;
blsx[1] = 100;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 680;
bly[2] = -100;
blsx[2] = 120;
blsy[2] = 100;
blt[3] = 10;
blx[3] = 260;
bly[3] = -180;
blsx[3] = 20;
blsy[3] = 20;
blt[4] = 10;
blx[4] = 340;
bly[4] = -180;
blsx[4] = 20;
blsy[4] = 20;
blt[5] = 10;
blx[5] = 420;
bly[5] = -180;
blsx[5] = 20;
blsy[5] = 20;
blt[6] = 10;
blx[6] = 500;
bly[6] = -180;
blsx[6] = 20;
blsy[6] = 20;
prsc();
Frame 151
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
cbl30();
cbl11_29();
cbl10();
h1++;
}
dfall();
h2 = 1;
while (h2 < 5) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg2();
cbg3();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 3) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 2) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 7) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -199)) and (py > -300)) {
px = 20;
gotoAndPlay (155);
}
if (((px < 10) and (py < -199)) and (py > -300)) {
px = 780;
py = py - 25;
gotoAndPlay (135);
}
cxyz();
h1 = 1;
while (h1 < 270) {
h3 = h1 + random(100);
h1++;
}
dscn();
block3._x = 100 + (blx[3] - camx);
block3._y = 100 + (bly[3] - camy);
block4._x = 100 + (blx[4] - camx);
block4._y = 100 + (bly[4] - camy);
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
Frame 152
gotoAndPlay (151);
Frame 160
f = 161;
timer = 1;
pace = 1;
csetup();
bt[1] = 4;
bl[1] = 4;
bx[1] = 160;
by[1] = -200;
bt[2] = 2;
bl[2] = 4;
bx[2] = 260;
by[2] = -180;
bt[3] = 4;
bl[3] = 4;
bx[3] = 290;
by[3] = -170;
bt[4] = 4;
bl[4] = 4;
bx[4] = 600;
by[4] = -255;
bt[5] = 6;
bl[5] = 8;
bx[5] = 200;
by[5] = -260;
bt[6] = 19;
bd[6] = 1;
bl[6] = 6;
bx[6] = 440;
by[6] = -180;
bt[7] = 6;
bl[7] = 4;
bx[7] = 600;
by[7] = -270;
blt[1] = 1;
blx[1] = 100;
bly[1] = -100;
blsx[1] = 100;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 290;
bly[2] = -70;
blsx[2] = 90;
blsy[2] = 70;
blt[3] = 5;
blx[3] = 290;
bly[3] = -170;
blsx[3] = 90;
blsy[3] = 30;
blt[4] = 1;
blx[4] = 640;
bly[4] = -20;
blsx[4] = 160;
blsy[4] = 20;
blt[5] = 5;
blx[5] = 600;
bly[5] = -80;
blsx[5] = 120;
blsy[5] = 40;
blt[6] = 1;
blx[6] = 460;
bly[6] = -60;
blsx[6] = 20;
blsy[6] = 60;
blt[7] = 1;
blx[7] = 620;
bly[7] = -190;
blsx[7] = 180;
blsy[7] = 10;
blt[8] = 4;
blx[8] = 560;
bly[8] = -240;
blsx[8] = 120;
blsy[8] = 40;
blt[9] = 1;
blx[9] = 740;
bly[9] = -240;
blsx[9] = 60;
blsy[9] = 40;
prsc();
Frame 161
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 10) {
cbl1();
cbl4();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg2();
cbg4();
cbg6();
cbg19();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 5) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if (((bt[h2] == 2) or (bt[h2] == 4)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 10) {
cbb1();
cbb4();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -279)) and (py > -380)) {
px = 20;
py = py + 240;
gotoAndPlay (165);
}
if (((px > 790) and (py < -39)) and (py > -120)) {
px = 20;
gotoAndPlay (175);
}
if (((px < 10) and (py < -199)) and (py > -300)) {
px = 780;
gotoAndPlay (145);
}
cxyz();
h1 = 1;
while (h1 < 270) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 162
gotoAndPlay (161);
Frame 170
f = 171;
timer = 1;
pace = 1;
csetup();
bt[1] = 19;
bd[1] = 1;
bl[1] = 8;
bx[1] = 200;
by[1] = -60;
bt[2] = 19;
bd[2] = 1;
bl[2] = 8;
bx[2] = 200;
by[2] = -100;
bt[3] = 3;
bl[3] = 4;
bx[3] = 520;
by[3] = -180;
bt[4] = 2;
bl[4] = 4;
bx[4] = 350;
by[4] = -120;
bt[5] = 2;
bl[5] = 4;
bx[5] = 460;
by[5] = -100;
bt[6] = 4;
bl[6] = 4;
bx[6] = 520;
by[6] = -80;
bt[7] = 7;
bl[7] = 4;
bx[7] = 260;
by[7] = -120;
blt[1] = 1;
blx[1] = 100;
bly[1] = -20;
blsx[1] = 100;
blsy[1] = 20;
blt[2] = 5;
blx[2] = 580;
bly[2] = -60;
blsx[2] = 180;
blsy[2] = 60;
blt[3] = 1;
blx[3] = 300;
bly[3] = -60;
blsx[3] = 100;
blsy[3] = 60;
prsc();
Frame 171
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 14) {
cbl1();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg2();
cbg3();
cbg4();
cbg7();
cbg19();
mbad();
}
}
h2++;
}
cbgs();
h2 = 4;
while (h2 < 8) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((((bt[h2] == 2) or (bt[h2] == 4)) or (bt[h2] == 7)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 4) {
cbb1();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 700) and (px < 810)) and (py > -10)) {
px = px - 600;
py = -450;
gotoAndPlay (185);
}
if (((px < 10) and (py < -39)) and (py > -140)) {
px = 780;
py = py - 240;
gotoAndPlay (155);
}
cxyz();
h1 = 1;
while (h1 < 270) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 172
gotoAndPlay (171);
Frame 180
f = 181;
timer = 1;
pace = 1;
csetup();
bt[1] = 16;
bl[1] = 4;
bx[1] = 280;
by[1] = -60;
bt[2] = 2;
bl[2] = 4;
bx[2] = 180;
by[2] = -40;
bt[3] = 2;
bl[3] = 4;
bx[3] = 400;
by[3] = -40;
bt[4] = 4;
bl[4] = 4;
bx[4] = 460;
by[4] = -40;
bt[5] = 7;
bl[5] = 4;
bx[5] = 600;
by[5] = -40;
blt[1] = 4;
blx[1] = 230;
bly[1] = -50;
blsx[1] = 30;
blsy[1] = 10;
blt[2] = 5;
blx[2] = 330;
bly[2] = -50;
blsx[2] = 30;
blsy[2] = 10;
blt[3] = 1;
blx[3] = 400;
bly[3] = -310;
blsx[3] = 400;
blsy[3] = 190;
blt[4] = 1;
blx[4] = 400;
bly[4] = -20;
blsx[4] = 400;
blsy[4] = 20;
blt[5] = 1;
blx[5] = 280;
bly[5] = -50;
blsx[5] = 20;
blsy[5] = 10;
blt[6] = 1;
blx[6] = 590;
bly[6] = -110;
blsx[6] = 70;
blsy[6] = 10;
prsc();
Frame 181
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
cbl4();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg2();
cbg4();
cbg7();
cbg16();
mbad();
}
}
h2++;
}
cbgs();
h2 = 2;
while (h2 < 6) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((((bt[h2] == 2) or (bt[h2] == 4)) or (bt[h2] == 7)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 7) {
cbb1();
cbb4();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -39)) and (py > -120)) {
px = 20;
gotoAndPlay (185);
}
if (((px < 10) and (py < -39)) and (py > -120)) {
px = 780;
gotoAndPlay (155);
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
camy = -50;
if (camy > -50) {
}
h1 = 1;
while (h1 < 270) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 182
gotoAndPlay (181);
Frame 190
f = 191;
timer = 1;
pace = 1;
csetup();
bt[1] = 3;
bl[1] = 4;
bx[1] = 400;
by[1] = -460;
bt[2] = 3;
bl[2] = 4;
bx[2] = 340;
by[2] = -340;
bt[3] = 3;
bl[3] = 4;
bx[3] = 440;
by[3] = -260;
bt[4] = 4;
bl[4] = 4;
bx[4] = 200;
by[4] = -40;
bt[5] = 2;
bl[5] = 4;
bx[5] = 320;
by[5] = -40;
bt[6] = 2;
bl[6] = 4;
bx[6] = 500;
by[6] = -80;
blt[1] = 5;
blx[1] = 180;
bly[1] = -440;
blsx[1] = 180;
blsy[1] = 60;
blt[2] = 4;
blx[2] = 530;
bly[2] = -90;
blsx[2] = 150;
blsy[2] = 50;
blt[3] = 1;
blx[3] = 180;
bly[3] = -250;
blsx[3] = 180;
blsy[3] = 130;
blt[4] = 1;
blx[4] = 440;
bly[4] = -320;
blsx[4] = 20;
blsy[4] = 180;
blt[5] = 1;
blx[5] = 400;
bly[5] = -20;
blsx[5] = 400;
blsy[5] = 20;
blt[6] = 1;
blx[6] = 740;
bly[6] = -90;
blsx[6] = 60;
blsy[6] = 50;
prsc();
Frame 191
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
cbl4();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg2();
cbg3();
cbg4();
mbad();
}
}
h2++;
}
cbgs();
h2 = 4;
while (h2 < 7) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if (((bt[h2] == 2) or (bt[h2] == 4)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 7) {
cbb1();
cbb4();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -139)) and (py > -240)) {
px = 20;
py = py + 120;
if ((boss[2] != 0) or (game == 5)) {
gotoAndPlay (2556);
}
if ((boss[2] == 0) and (game != 5)) {
gotoAndPlay (195);
}
}
if (((px < 10) and (py < -39)) and (py > -120)) {
px = 780;
gotoAndPlay (175);
}
if (((px > 50) and (px < 180)) and (py < -460)) {
px = px + 540;
py = -30;
gotoAndPlay (165);
}
cxyz();
h1 = 1;
while (h1 < 270) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 192
gotoAndPlay (191);
Frame 200
f = 201;
timer = 1;
pace = 1;
csetup();
bt[1] = 52;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 150 + (200 - dif);
bx[1] = 180;
by[1] = -20;
bf[1] = 300;
bx[10] = 6;
by[10] = 24;
blt[1] = 1;
blx[1] = 150;
bly[1] = 0;
blsx[1] = 160;
blsy[1] = 20;
Frame 201
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 100;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 2) {
cbl1();
h1++;
}
dfall();
boss2();
h1 = 1;
while (h1 < 290) {
h3 = h1 + random(100);
h1++;
}
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 295) {
px = 295;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 200) {
camx = 200;
}
camy = -50;
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
Frame 202
gotoAndPlay (201);
Frame 210
f = 211;
timer = 1;
pace = 1;
csetup();
bt[1] = 17;
bl[1] = 4;
bx[1] = 600;
by[1] = -380;
bt[2] = 17;
bl[2] = 4;
bx[2] = 490;
by[2] = -180;
bt[3] = 17;
bl[3] = 4;
bx[3] = 40;
by[3] = -180;
blt[1] = 1;
blx[1] = 400;
bly[1] = -450;
blsx[1] = 400;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 250;
bly[2] = -300;
blsx[2] = 250;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 690;
bly[3] = -160;
blsx[3] = 110;
blsy[3] = 160;
blt[4] = 1;
blx[4] = 540;
bly[4] = -50;
blsx[4] = 40;
blsy[4] = 50;
blt[5] = 1;
blx[5] = 50;
bly[5] = -50;
blsx[5] = 50;
blsy[5] = 50;
blt[6] = 10;
blx[6] = 230;
bly[6] = -100;
blsx[6] = 70;
blsy[6] = 20;
blt[7] = 10;
blx[7] = 340;
bly[7] = -100;
blsx[7] = 40;
blsy[7] = 40;
blt[8] = 10;
blx[8] = 400;
bly[8] = -80;
blsx[8] = 20;
blsy[8] = 20;
blt[9] = 10;
blx[9] = 460;
bly[9] = -80;
blsx[9] = 40;
blsy[9] = 20;
prsc();
Frame 211
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 770;
py = -320;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 10) {
cbl1();
cbl30();
cbl11_29();
cbl10();
h1++;
}
dfall();
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg17();
cbg18();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 4) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 18) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 10) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px < 10) and (py < -99)) and (py > -200)) {
px = 780;
py = py - 100;
gotoAndPlay (215);
}
cxyz();
h1 = 1;
while (h1 < 200) {
h3 = h1 + random(100);
h1++;
}
dscn();
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
Frame 212
gotoAndPlay (211);
Frame 220
f = 221;
timer = 1;
pace = 1;
csetup();
bt[1] = 17;
bl[1] = 4;
bx[1] = 600;
by[1] = -280;
bt[2] = 17;
bl[2] = 4;
bx[2] = 420;
by[2] = -180;
bt[3] = 19;
bl[3] = 4;
bx[3] = 440;
by[3] = -210;
bt[4] = 19;
bl[4] = 4;
bx[4] = 280;
by[4] = -120;
blt[1] = 1;
blx[1] = 140;
bly[1] = -250;
blsx[1] = 140;
blsy[1] = 250;
blt[2] = 1;
blx[2] = 390;
bly[2] = -460;
blsx[2] = 110;
blsy[2] = 40;
blt[3] = 1;
blx[3] = 360;
bly[3] = -270;
blsx[3] = 80;
blsy[3] = 70;
blt[4] = 1;
blx[4] = 650;
bly[4] = -400;
blsx[4] = 150;
blsy[4] = 100;
blt[5] = 1;
blx[5] = 430;
bly[5] = -50;
blsx[5] = 70;
blsy[5] = 50;
blt[6] = 1;
blx[6] = 700;
bly[6] = -100;
blsx[6] = 100;
blsy[6] = 100;
blt[7] = 10;
blx[7] = 550;
bly[7] = -150;
blsx[7] = 50;
blsy[7] = 50;
prsc();
Frame 221
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 770;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 8) {
cbl1();
cbl30();
cbl11_29();
cbl10();
h1++;
}
dfall();
h2 = 1;
while (h2 < 5) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg17();
cbg18();
cbg19();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 3) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 18) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 8) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px < 360) and (px > 280)) and (py > -10)) {
px = px + 80;
py = -450;
gotoAndPlay (225);
}
if (((px > 790) and (py < -199)) and (py > -300)) {
px = 20;
py = py + 100;
gotoAndPlay (205);
}
cxyz();
if (heart[3] == 0) {
htank._x = 100 + (310 - camx);
htank._y = 100 + (-350 - camy);
if (((((px + 8) > 310) and ((px - 8) < 310)) and (py > -350)) and ((py - 25) < -350)) {
lifeupsfx.start();
heart[3] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
htank._x = -2000;
htank._y = -2000;
}
}
h1 = 1;
while (h1 < 200) {
h3 = h1 + random(100);
h1++;
}
dscn();
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
Frame 222
gotoAndPlay (221);
Frame 230
f = 231;
timer = 1;
pace = 1;
csetup();
bt[1] = 17;
bl[1] = 4;
bx[1] = 320;
by[1] = -380;
bt[2] = 17;
bl[2] = 4;
bx[2] = 260;
by[2] = -180;
bt[3] = 17;
bl[3] = 4;
bx[3] = 520;
by[3] = -120;
bt[4] = 17;
bl[4] = 4;
bx[4] = 500;
by[4] = -380;
bt[5] = 17;
bl[5] = 4;
bx[5] = 600;
by[5] = -380;
bt[6] = 21;
bl[6] = 20;
bx[6] = 180;
by[6] = -300;
bt[7] = 21;
bl[7] = 20;
bx[7] = 630;
by[7] = -280;
bt[8] = 19;
bl[8] = 4;
bx[8] = 340;
by[8] = -40;
blt[1] = 1;
blx[1] = 180;
bly[1] = -450;
blsx[1] = 180;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 620;
bly[2] = -450;
blsx[2] = 180;
blsy[2] = 50;
blt[3] = 1;
blx[3] = 70;
bly[3] = -260;
blsx[3] = 70;
blsy[3] = 140;
blt[4] = 1;
blx[4] = 120;
bly[4] = -60;
blsx[4] = 120;
blsy[4] = 60;
blt[5] = 1;
blx[5] = 290;
bly[5] = -40;
blsx[5] = 50;
blsy[5] = 40;
blt[6] = 1;
blx[6] = 260;
bly[6] = -240;
blsx[6] = 40;
blsy[6] = 40;
blt[7] = 1;
blx[7] = 440;
bly[7] = -230;
blsx[7] = 140;
blsy[7] = 90;
blt[8] = 1;
blx[8] = 600;
bly[8] = -180;
blsx[8] = 20;
blsy[8] = 80;
blt[9] = 1;
blx[9] = 700;
bly[9] = -130;
blsx[9] = 20;
blsy[9] = 130;
blt[10] = 1;
blx[10] = 760;
bly[10] = -200;
blsx[10] = 40;
blsy[10] = 200;
blt[11] = 1;
blx[11] = 540;
bly[11] = -20;
blsx[11] = 140;
blsy[11] = 20;
prsc();
Frame 231
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 400;
py = -320;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 12) {
cbl1();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg17();
cbg18();
cbg19();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 6) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 18) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 12) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px < 400) and (px > 340)) and (py > -10)) {
px = px - 40;
py = -450;
gotoAndPlay (235);
}
if (((px < 440) and (px > 360)) and (py < -460)) {
px = px - 80;
py = -20;
gotoAndPlay (215);
}
cxyz();
h1 = 1;
while (h1 < 200) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 232
gotoAndPlay (231);
Frame 240
f = 241;
timer = 1;
pace = 1;
csetup();
bt[1] = 17;
bl[1] = 4;
bx[1] = 420;
by[1] = -400;
bt[2] = 10;
bl[2] = 4;
bx[2] = 520;
by[2] = -300;
bt[3] = 17;
bl[3] = 4;
bx[3] = 600;
by[3] = -160;
bt[4] = 10;
bl[4] = 4;
bx[4] = 420;
by[4] = -80;
bt[5] = 19;
bl[5] = 4;
bx[5] = 640;
by[5] = -200;
blt[1] = 1;
blx[1] = 150;
bly[1] = -430;
blsx[1] = 150;
blsy[1] = 70;
blt[2] = 1;
blx[2] = 580;
bly[2] = -460;
blsx[2] = 220;
blsy[2] = 40;
blt[3] = 1;
blx[3] = 170;
bly[3] = -180;
blsx[3] = 170;
blsy[3] = 180;
blt[4] = 1;
blx[4] = 460;
bly[4] = -210;
blsx[4] = 120;
blsy[4] = 70;
blt[5] = 5;
blx[5] = 460;
bly[5] = -320;
blsx[5] = 120;
blsy[5] = 40;
blt[6] = 1;
blx[6] = 610;
bly[6] = -210;
blsx[6] = 30;
blsy[6] = 30;
blt[7] = 3;
blx[7] = 610;
bly[7] = -250;
blsx[7] = 30;
blsy[7] = 10;
blt[8] = 1;
blx[8] = 750;
bly[8] = -210;
blsx[8] = 50;
blsy[8] = 210;
blt[9] = 3;
blx[9] = 670;
bly[9] = -90;
blsx[9] = 30;
blsy[9] = 10;
blt[10] = 1;
blx[10] = 550;
bly[10] = -40;
blsx[10] = 150;
blsy[10] = 40;
prsc();
Frame 241
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 330;
py = -360;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 11) {
cbl1();
cbl3();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg10();
cbg17();
cbg18();
cbg19();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 5) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if (((bt[h2] == 10) or (bt[h2] == 18)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 11) {
cbb1();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px < 400) and (px > 340)) and (py > -10)) {
px = px - 240;
py = -450;
gotoAndPlay (245);
}
if (((px < 360) and (px > 300)) and (py < -460)) {
px = px + 40;
py = -20;
gotoAndPlay (225);
}
cxyz();
h1 = 1;
while (h1 < 200) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 242
gotoAndPlay (241);
Frame 250
f = 251;
timer = 1;
pace = 1;
csetup();
bt[1] = 17;
bl[1] = 4;
bx[1] = 200;
by[1] = -380;
bt[2] = 17;
bl[2] = 4;
bx[2] = 670;
by[2] = -380;
bt[3] = 17;
bl[3] = 4;
bx[3] = 740;
by[3] = -380;
blt[1] = 1;
blx[1] = 50;
bly[1] = -440;
blsx[1] = 50;
blsy[1] = 60;
blt[2] = 1;
blx[2] = 480;
bly[2] = -450;
blsx[2] = 320;
blsy[2] = 50;
blt[3] = 1;
blx[3] = 150;
bly[3] = -280;
blsx[3] = 70;
blsy[3] = 40;
blt[4] = 1;
blx[4] = 710;
bly[4] = -260;
blsx[4] = 90;
blsy[4] = 40;
blt[5] = 10;
blx[5] = 260;
bly[5] = -280;
blsx[5] = 20;
blsy[5] = 20;
blt[6] = 10;
blx[6] = 340;
bly[6] = -260;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 10;
blx[7] = 440;
bly[7] = -280;
blsx[7] = 40;
blsy[7] = 20;
blt[8] = 10;
blx[8] = 520;
bly[8] = -280;
blsx[8] = 40;
blsy[8] = 20;
prsc();
Frame 251
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 120;
py = -320;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
cbl30();
cbl11_29();
cbl10();
h1++;
}
dfall();
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg17();
cbg18();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 4) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 18) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 9) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -299)) and (py > -400)) {
px = 20;
gotoAndPlay (255);
}
if (((px < 160) and (px > 100)) and (py < -460)) {
px = px + 240;
py = -20;
gotoAndPlay (235);
}
cxyz();
h1 = 1;
while (h1 < 200) {
h3 = h1 + random(100);
h1++;
}
dscn();
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
Frame 252
gotoAndPlay (251);
Frame 260
f = 261;
timer = 1;
pace = 1;
csetup();
bt[1] = 7;
bl[1] = 4;
bx[1] = 380;
by[1] = -280;
bt[2] = 21;
bl[2] = 20;
bx[2] = 200;
by[2] = -350;
bt[3] = 21;
bl[3] = 20;
bx[3] = 750;
by[3] = -330;
blt[1] = 1;
blx[1] = 100;
bly[1] = -450;
blsx[1] = 100;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 100;
bly[2] = -250;
blsx[2] = 100;
blsy[2] = 50;
blt[3] = 1;
blx[3] = 350;
bly[3] = -270;
blsx[3] = 10;
blsy[3] = 10;
blt[4] = 1;
blx[4] = 730;
bly[4] = -450;
blsx[4] = 70;
blsy[4] = 50;
blt[5] = 1;
blx[5] = 730;
bly[5] = -260;
blsx[5] = 70;
blsy[5] = 40;
blt[6] = 10;
blx[6] = 260;
bly[6] = -260;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 10;
blx[7] = 600;
bly[7] = -260;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 6;
blx[8] = 400;
bly[8] = -270;
blsx[8] = 20;
blsy[8] = 10;
prsc();
Frame 261
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -300;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
cbl6();
cbl30();
cbl11_29();
cbl10();
h1++;
}
dfall();
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg7();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 2) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 7) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 9) {
cbb1();
cbb6_9();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -299)) and (py > -400)) {
px = 20;
py = py + 100;
gotoAndPlay (265);
}
if (((px < 10) and (py < -299)) and (py > -400)) {
px = 780;
gotoAndPlay (245);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
h1 = 1;
while (h1 < 200) {
h3 = h1 + random(100);
h1++;
}
dscn();
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
Frame 262
gotoAndPlay (261);
Frame 270
f = 271;
timer = 1;
pace = 1;
csetup();
bt[1] = 7;
bl[1] = 4;
bx[1] = 150;
by[1] = -200;
bt[2] = 7;
bl[2] = 4;
bx[2] = 700;
by[2] = -60;
bt[3] = 17;
bl[3] = 4;
bx[3] = 400;
by[3] = -340;
bt[4] = 17;
bl[4] = 4;
bx[4] = 440;
by[4] = -340;
bt[5] = 17;
bl[5] = 4;
bx[5] = 600;
by[5] = -140;
bt[6] = 19;
bd[6] = 1;
bl[6] = 4;
bx[6] = 340;
by[6] = -200;
blt[1] = 1;
blx[1] = 50;
bly[1] = -400;
blsx[1] = 50;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 50;
bly[2] = -100;
blsx[2] = 50;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 450;
bly[3] = -430;
blsx[3] = 110;
blsy[3] = 70;
blt[4] = 1;
blx[4] = 680;
bly[4] = -330;
blsx[4] = 120;
blsy[4] = 170;
blt[5] = 1;
blx[5] = 410;
bly[5] = -210;
blsx[5] = 70;
blsy[5] = 50;
blt[6] = 4;
blx[6] = 400;
bly[6] = -280;
blsx[6] = 60;
blsy[6] = 20;
blt[7] = 1;
blx[7] = 480;
bly[7] = -280;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 1;
blx[8] = 680;
bly[8] = -30;
blsx[8] = 120;
blsy[8] = 30;
blt[9] = 8;
blx[9] = 520;
bly[9] = -10;
blsx[9] = 20;
blsy[9] = 10;
blt[10] = 6;
blx[10] = 150;
bly[10] = -190;
blsx[10] = 20;
blsy[10] = 10;
prsc();
Frame 271
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 11) {
cbl1();
cbl4();
cbl6();
cbl8();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg7();
cbg17();
cbg18();
cbg19();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 6) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if (((bt[h2] == 7) or (bt[h2] == 18)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 11) {
cbb1();
cbb4();
cbb6_9();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -59)) and (py > -160)) {
px = 20;
gotoAndPlay (275);
}
if (((px < 10) and (py < -199)) and (py > -300)) {
px = 780;
py = py - 100;
gotoAndPlay (255);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
h1 = 1;
while (h1 < 200) {
h3 = h1 + random(100);
h1++;
}
dscn();
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
block10._x = 100 + (blx[10] - camx);
block10._y = 100 + (bly[10] - camy);
Frame 272
gotoAndPlay (271);
Frame 280
f = 281;
timer = 1;
pace = 1;
csetup();
bt[1] = 21;
bl[1] = 20;
bx[1] = 700;
by[1] = -150;
bt[2] = 21;
bl[2] = 20;
bx[2] = 700;
by[2] = -250;
bt[3] = 21;
bl[3] = 20;
bx[3] = 700;
by[3] = -350;
bt[4] = 21;
bl[4] = 20;
bx[4] = 160;
by[4] = -170;
bt[5] = 21;
bl[5] = 20;
bx[5] = 80;
by[5] = -300;
bt[6] = 21;
bl[6] = 20;
bx[6] = 150;
by[6] = -370;
blt[1] = 1;
blx[1] = 100;
bly[1] = -30;
blsx[1] = 100;
blsy[1] = 30;
blt[2] = 1;
blx[2] = 520;
bly[2] = -340;
blsx[2] = 120;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 590;
bly[3] = -160;
blsx[3] = 50;
blsy[3] = 160;
blt[4] = 1;
blx[4] = 750;
bly[4] = -50;
blsx[4] = 50;
blsy[4] = 50;
blt[5] = 2;
blx[5] = 650;
bly[5] = -200;
blsx[5] = 10;
blsy[5] = 200;
blt[6] = 10;
blx[6] = 260;
bly[6] = -60;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 10;
blx[7] = 340;
bly[7] = -120;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 10;
blx[8] = 240;
bly[8] = -180;
blsx[8] = 20;
blsy[8] = 20;
blt[9] = 10;
blx[9] = 140;
bly[9] = -240;
blsx[9] = 20;
blsy[9] = 20;
blt[10] = 10;
blx[10] = 240;
bly[10] = -300;
blsx[10] = 20;
blsy[10] = 20;
blt[11] = 10;
blx[11] = 340;
bly[11] = -300;
blsx[11] = 20;
blsy[11] = 20;
prsc();
Frame 281
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -60;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 12) {
cbl1();
cbl2();
cbl30();
cbl11_29();
cbl10();
h1++;
}
dfall();
h2 = 1;
while (h2 < 11) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
if (((px < 700) and (px > 640)) and (py > -10)) {
px = px - 580;
py = -450;
gotoAndPlay (285);
}
if (((px < 10) and (py < -59)) and (py > -160)) {
px = 780;
gotoAndPlay (265);
}
cxyz();
h1 = 1;
while (h1 < 200) {
h3 = h1 + random(100);
h1++;
}
dscn();
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
block10._x = 100 + (blx[10] - camx);
block10._y = 100 + (bly[10] - camy);
block11._x = 100 + (blx[11] - camx);
block11._y = 100 + (bly[11] - camy);
Frame 282
gotoAndPlay (281);
Frame 290
f = 291;
timer = 1;
pace = 1;
csetup();
bt[1] = 17;
bl[1] = 4;
bx[1] = 180;
by[1] = -420;
bt[2] = 21;
bl[2] = 20;
bx[2] = 250;
by[2] = -220;
bt[3] = 21;
bl[3] = 20;
bx[3] = 400;
by[3] = -350;
bt[4] = 21;
bl[4] = 20;
bx[4] = 580;
by[4] = -320;
blt[1] = 2;
blx[1] = 70;
bly[1] = -440;
blsx[1] = 10;
blsy[1] = 60;
blt[2] = 1;
blx[2] = 30;
bly[2] = -250;
blsx[2] = 30;
blsy[2] = 250;
blt[3] = 1;
blx[3] = 140;
bly[3] = -160;
blsx[3] = 80;
blsy[3] = 160;
blt[4] = 1;
blx[4] = 160;
bly[4] = -470;
blsx[4] = 40;
blsy[4] = 30;
blt[5] = 1;
blx[5] = 390;
bly[5] = -440;
blsx[5] = 190;
blsy[5] = 60;
blt[6] = 1;
blx[6] = 690;
bly[6] = -420;
blsx[6] = 110;
blsy[6] = 80;
blt[7] = 1;
blx[7] = 340;
bly[7] = -280;
blsx[7] = 60;
blsy[7] = 40;
blt[8] = 1;
blx[8] = 600;
bly[8] = -140;
blsx[8] = 200;
blsy[8] = 140;
blt[9] = 3;
blx[9] = 90;
bly[9] = -330;
blsx[9] = 30;
blsy[9] = 10;
blt[10] = 3;
blx[10] = 230;
bly[10] = -370;
blsx[10] = 30;
blsy[10] = 10;
blt[11] = 3;
blx[11] = 440;
bly[11] = -290;
blsx[11] = 40;
blsy[11] = 10;
blt[12] = 3;
blx[12] = 520;
bly[12] = -370;
blsx[12] = 60;
blsy[12] = 10;
prsc();
Frame 291
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 160;
py = -320;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 13) {
cbl1();
cbl2();
cbl3();
h1++;
}
dfall();
h2 = 1;
while (h2 < 5) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg17();
cbg18();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 2) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 18) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 13) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -279)) and (py > -340)) {
px = 40;
py = py + 240;
if ((boss[3] != 0) or (game == 5)) {
gotoAndPlay (2556);
}
if ((boss[3] == 0) and (game != 5)) {
gotoAndPlay (295);
}
}
if (((px < 120) and (px > 60)) and (py < -460)) {
px = px + 580;
py = -20;
gotoAndPlay (275);
}
cxyz();
h1 = 1;
while (h1 < 200) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 292
gotoAndPlay (291);
Frame 300
f = 301;
timer = 1;
pace = 1;
csetup();
bt[1] = 53;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 150 + (200 - dif);
bx[1] = 150;
by[1] = -40;
bf[1] = 300;
bx[10] = 18;
by[10] = 62;
blt[1] = 1;
blx[1] = 10;
bly[1] = -100;
blsx[1] = 10;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 390;
bly[2] = -100;
blsx[2] = 10;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 200;
bly[3] = -20;
blsx[3] = 180;
blsy[3] = 20;
Frame 301
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 80;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 4) {
cbl1();
h1++;
}
dfall();
boss3();
h1 = 1;
while (h1 < 190) {
h3 = h1 + random(100);
h1++;
}
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 395) {
px = 395;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 300) {
camx = 300;
}
camy = py;
if (camy < -100) {
camy = -100;
}
if (camy > -50) {
camy = -50;
}
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
stage2._x = 300 - (camx / 2);
stage2._y = -37 - (camy / 2);
Frame 302
gotoAndPlay (301);
Frame 310
f = 311;
timer = 1;
pace = 1;
csetup();
bt[1] = 1;
bl[1] = 4;
bx[1] = 460;
by[1] = -100;
bt[2] = 15;
bl[2] = 6;
bx[2] = 400;
by[2] = -100;
bt[3] = 8;
bl[3] = 4;
bx[3] = 600;
by[3] = -300;
blt[1] = 1;
blx[1] = 100;
bly[1] = -20;
blsx[1] = 100;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 540;
bly[2] = -20;
blsx[2] = 260;
blsy[2] = 20;
blt[3] = 4;
blx[3] = 400;
bly[3] = -80;
blsx[3] = 120;
blsy[3] = 40;
blt[4] = 4;
blx[4] = 610;
bly[4] = -230;
blsx[4] = 90;
blsy[4] = 30;
blt[5] = 1;
blx[5] = 660;
bly[5] = -120;
blsx[5] = 140;
blsy[5] = 80;
blt[6] = 1;
blx[6] = 750;
bly[6] = -230;
blsx[6] = 50;
blsy[6] = 30;
prsc();
Frame 311
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
cbl4();
h1++;
}
dfall();
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg8();
cbg15();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 2) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 1) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 7) {
cbb1();
cbb4();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -259)) and (py > -360)) {
px = 20;
py = py + 60;
gotoAndPlay (315);
}
cxyz();
h1 = 1;
while (h1 < 150) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 312
gotoAndPlay (311);
Frame 320
f = 321;
timer = 1;
pace = 1;
csetup();
bt[1] = 15;
bl[1] = 6;
bx[1] = 200;
by[1] = -200;
bt[2] = 8;
bl[2] = 4;
bx[2] = 480;
by[2] = -380;
bt[3] = 8;
bl[3] = 4;
bx[3] = 460;
by[3] = -460;
blt[1] = 5;
blx[1] = 220;
bly[1] = -160;
blsx[1] = 120;
blsy[1] = 40;
blt[2] = 1;
blx[2] = 50;
bly[2] = -100;
blsx[2] = 50;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 240;
bly[3] = -60;
blsx[3] = 140;
blsy[3] = 60;
blt[4] = 2;
blx[4] = 770;
bly[4] = -440;
blsx[4] = 10;
blsy[4] = 60;
blt[5] = 8;
blx[5] = 440;
bly[5] = -140;
blsx[5] = 20;
blsy[5] = 20;
blt[6] = 9;
blx[6] = 520;
bly[6] = -380;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 6;
blx[7] = 600;
bly[7] = -390;
blsx[7] = 20;
blsy[7] = 10;
prsc();
Frame 321
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 8) {
cbl1();
cbl2();
cbl5();
cbl6();
cbl8();
cbl9();
h1++;
}
dfall();
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg8();
cbg15();
mbad();
}
}
h2++;
}
cbgs();
if (((py < -460) and (px < 780)) and (px > 760)) {
px = px - 720;
py = -20;
gotoAndPlay (325);
}
if (((px < 10) and (py < -199)) and (py > -300)) {
px = 780;
py = py - 60;
gotoAndPlay (305);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
h1 = 1;
while (h1 < 150) {
h3 = h1 + random(100);
h1++;
}
dscn();
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
Frame 322
gotoAndPlay (321);
Frame 330
f = 331;
timer = 1;
pace = 1;
csetup();
bt[1] = 15;
bl[1] = 6;
bx[1] = 140;
by[1] = -300;
bt[2] = 8;
bl[2] = 4;
bx[2] = 240;
by[2] = -380;
bt[3] = 15;
bl[3] = 6;
bx[3] = 300;
by[3] = -300;
bt[4] = 8;
bl[4] = 4;
bx[4] = 650;
by[4] = -460;
bt[5] = 1;
bl[5] = 4;
bx[5] = 620;
by[5] = -360;
bt[6] = 1;
bl[6] = 4;
bx[6] = 500;
by[6] = -320;
blt[1] = 2;
blx[1] = 50;
bly[1] = -170;
blsx[1] = 10;
blsy[1] = 170;
blt[2] = 1;
blx[2] = 110;
bly[2] = -280;
blsx[2] = 50;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 620;
bly[3] = -280;
blsx[3] = 180;
blsy[3] = 20;
blt[4] = 4;
blx[4] = 560;
bly[4] = -340;
blsx[4] = 120;
blsy[4] = 40;
blt[5] = 1;
blx[5] = 740;
bly[5] = -360;
blsx[5] = 60;
blsy[5] = 60;
blt[6] = 9;
blx[6] = 240;
bly[6] = -340;
blsx[6] = 40;
blsy[6] = 20;
blt[7] = 8;
blx[7] = 360;
bly[7] = -220;
blsx[7] = 40;
blsy[7] = 20;
prsc();
Frame 331
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 80;
py = -300;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 8) {
cbl1();
cbl2();
cbl4();
cbl8();
cbl9();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg8();
cbg15();
mbad();
}
}
h2++;
}
cbgs();
h2 = 5;
while (h2 < 7) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 1) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 8) {
cbb1();
cbb4();
cbb6_9();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -419)) and (py > -500)) {
px = 20;
gotoAndPlay (335);
}
if (((py > -10) and (px < 60)) and (px > 40)) {
px = px + 720;
py = -450;
gotoAndPlay (315);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
h1 = 1;
while (h1 < 150) {
h3 = h1 + random(100);
h1++;
}
dscn();
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
Frame 332
gotoAndPlay (331);
Frame 340
f = 341;
timer = 1;
pace = 1;
csetup();
bt[1] = 14;
bl[1] = 4;
bx[1] = 300;
by[1] = -400;
bt[2] = 8;
bl[2] = 4;
bx[2] = 540;
by[2] = -300;
bt[3] = 8;
bl[3] = 4;
bx[3] = 680;
by[3] = -280;
bt[4] = 1;
bl[4] = 4;
bx[4] = 280;
by[4] = -360;
bt[5] = 1;
bl[5] = 4;
bx[5] = 400;
by[5] = -280;
bt[6] = 20;
bl[6] = 6;
bx[6] = 510;
by[6] = -240;
bt[7] = 1;
bl[7] = 4;
bx[7] = 700;
by[7] = -220;
blt[1] = 5;
blx[1] = 460;
bly[1] = -260;
blsx[1] = 120;
blsy[1] = 40;
blt[2] = 5;
blx[2] = 220;
bly[2] = -380;
blsx[2] = 120;
blsy[2] = 40;
blt[3] = 1;
blx[3] = 50;
bly[3] = -310;
blsx[3] = 50;
blsy[3] = 110;
blt[4] = 1;
blx[4] = 220;
bly[4] = -270;
blsx[4] = 120;
blsy[4] = 70;
blt[5] = 1;
blx[5] = 570;
bly[5] = -110;
blsx[5] = 230;
blsy[5] = 110;
prsc();
Frame 341
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -420;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 6) {
cbl1();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg8();
cbg14();
cbg20();
mbad();
}
}
h2++;
}
cbgs();
h2 = 4;
while (h2 < 8) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if (((bt[h2] == 1) or (bt[h2] == 20)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 6) {
cbb1();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -219)) and (py > -320)) {
px = 20;
py = py + 20;
gotoAndPlay (345);
}
if (((px < 10) and (py < -419)) and (py > -500)) {
px = 780;
gotoAndPlay (325);
}
cxyz();
h1 = 1;
while (h1 < 150) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 342
gotoAndPlay (341);
Frame 350
f = 351;
timer = 1;
pace = 1;
csetup();
bt[1] = 15;
bl[1] = 6;
bx[1] = 200;
by[1] = -200;
bt[2] = 15;
bl[2] = 6;
bx[2] = 300;
by[2] = -180;
bt[3] = 8;
bl[3] = 4;
bx[3] = 620;
by[3] = -260;
bt[4] = 8;
bl[4] = 4;
bx[4] = 480;
by[4] = -440;
bt[5] = 7;
bl[5] = 4;
bx[5] = 420;
by[5] = -140;
blt[1] = 5;
blx[1] = 230;
bly[1] = -170;
blsx[1] = 90;
blsy[1] = 30;
blt[2] = 1;
blx[2] = 230;
bly[2] = -70;
blsx[2] = 90;
blsy[2] = 70;
blt[3] = 1;
blx[3] = 70;
bly[3] = -100;
blsx[3] = 70;
blsy[3] = 100;
blt[4] = 2;
blx[4] = 430;
bly[4] = -430;
blsx[4] = 10;
blsy[4] = 70;
blt[5] = 8;
blx[5] = 400;
bly[5] = -130;
blsx[5] = 40;
blsy[5] = 10;
blt[6] = 6;
blx[6] = 480;
bly[6] = -190;
blsx[6] = 20;
blsy[6] = 10;
blt[7] = 9;
blx[7] = 700;
bly[7] = -320;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 7;
blx[8] = 620;
bly[8] = -370;
blsx[8] = 20;
blsy[8] = 10;
prsc();
Frame 351
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
cbl2();
cbl5();
cbl6();
cbl7();
cbl8();
cbl9();
h1++;
}
dfall();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg7();
cbg8();
cbg15();
mbad();
}
}
h2++;
}
cbgs();
h2 = 5;
while (h2 < 6) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 7) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 9) {
cbb1();
cbb5();
cbb6_9();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((py < -460) and (px < 440)) and (px > 420)) {
px = px + 320;
py = -20;
gotoAndPlay (355);
}
if (((px < 10) and (py < -199)) and (py > -300)) {
px = 780;
py = py - 20;
gotoAndPlay (335);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
h1 = 1;
while (h1 < 150) {
h3 = h1 + random(100);
h1++;
}
dscn();
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
Frame 352
gotoAndPlay (351);
Frame 360
f = 361;
timer = 1;
pace = 1;
csetup();
bt[1] = 1;
bl[1] = 4;
bx[1] = 620;
by[1] = -380;
bt[2] = 15;
bl[2] = 6;
bx[2] = 500;
by[2] = -380;
bt[3] = 8;
bl[3] = 4;
bx[3] = 440;
by[3] = -440;
bt[4] = 5;
bl[4] = 4;
bx[4] = 380;
by[4] = -440;
bt[5] = 15;
bl[5] = 6;
bx[5] = 300;
by[5] = -380;
bt[6] = 15;
bl[6] = 6;
bx[6] = 150;
by[6] = -380;
blt[1] = 1;
blx[1] = 10;
bly[1] = -280;
blsx[1] = 20;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 670;
bly[2] = -360;
blsx[2] = 70;
blsy[2] = 20;
blt[3] = 2;
blx[3] = 750;
bly[3] = -210;
blsx[3] = 10;
blsy[3] = 210;
blt[4] = 2;
blx[4] = 90;
bly[4] = -460;
blsx[4] = 10;
blsy[4] = 40;
blt[5] = 6;
blx[5] = 120;
bly[5] = -360;
blsx[5] = 80;
blsy[5] = 20;
blt[6] = 7;
blx[6] = 500;
bly[6] = -360;
blsx[6] = 60;
blsy[6] = 20;
prsc();
Frame 361
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 750;
py = -60;
pd = 14;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
cbl2();
cbl6();
cbl7();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg5();
cbg8();
cbg15();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 2) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 1) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 7) {
cbb1();
cbb6_9();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((py < -460) and (px < 100)) and (px > 80)) {
px = px - 40;
py = -20;
gotoAndPlay (365);
}
if (((py > -10) and (px < 760)) and (px > 740)) {
px = px - 320;
py = -450;
gotoAndPlay (345);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
if (heart[4] == 0) {
htank._x = 100 + (10 - camx);
htank._y = 100 + (-310 - camy);
if (((((px + 8) > 10) and ((px - 8) < 10)) and (py > -310)) and ((py - 25) < -310)) {
lifeupsfx.start();
heart[4] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
htank._x = -2000;
htank._y = -2000;
}
}
h1 = 1;
while (h1 < 150) {
h3 = h1 + random(100);
h1++;
}
dscn();
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
Frame 362
gotoAndPlay (361);
Frame 370
f = 371;
timer = 1;
pace = 1;
csetup();
bt[1] = 14;
bl[1] = 4;
bx[1] = 250;
by[1] = -200;
bt[2] = 14;
bl[2] = 4;
bx[2] = 100;
by[2] = -240;
bt[3] = 14;
bl[3] = 4;
bx[3] = 300;
by[3] = -280;
bt[4] = 15;
bl[4] = 6;
bx[4] = 640;
by[4] = -220;
bt[5] = 15;
bl[5] = 6;
bx[5] = 640;
by[5] = -260;
bt[6] = 1;
bl[6] = 4;
bx[6] = 260;
by[6] = -140;
bt[7] = 1;
bl[7] = 4;
bx[7] = 380;
by[7] = -120;
bt[8] = 1;
bl[8] = 4;
bx[8] = 440;
by[8] = -100;
bt[9] = 1;
bl[9] = 4;
bx[9] = 500;
by[9] = -80;
bt[10] = 1;
bl[10] = 4;
bx[10] = 560;
by[10] = -100;
blt[1] = 4;
blx[1] = 150;
bly[1] = -110;
blsx[1] = 90;
blsy[1] = 30;
blt[2] = 5;
blx[2] = 410;
bly[2] = -110;
blsx[2] = 90;
blsy[2] = 30;
blt[3] = 4;
blx[3] = 560;
bly[3] = -100;
blsx[3] = 60;
blsy[3] = 20;
blt[4] = 1;
blx[4] = 430;
bly[4] = -50;
blsx[4] = 370;
blsy[4] = 30;
blt[5] = 1;
blx[5] = 280;
bly[5] = -110;
blsx[5] = 40;
blsy[5] = 30;
blt[6] = 2;
blx[6] = 50;
bly[6] = -60;
blsx[6] = 10;
blsy[6] = 60;
blt[7] = 1;
blx[7] = 710;
bly[7] = -150;
blsx[7] = 90;
blsy[7] = 70;
blt[8] = 1;
blx[8] = 710;
bly[8] = -410;
blsx[8] = 90;
blsy[8] = 90;
prsc();
Frame 371
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 90;
py = -90;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
cbl2();
cbl4();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 11) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg14();
cbg15();
mbad();
}
}
h2++;
}
cbgs();
h2 = 6;
while (h2 < 11) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 1) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 9) {
cbb1();
cbb4();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -219)) and (py > -320)) {
px = 20;
py = py + 180;
gotoAndPlay (375);
}
if (((py > -10) and (px < 60)) and (px > 40)) {
px = px + 40;
py = -450;
gotoAndPlay (355);
}
cxyz();
h1 = 1;
while (h1 < 50) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 372
gotoAndPlay (371);
Frame 380
f = 381;
timer = 1;
pace = 1;
csetup();
bs[10] = 40;
blt[1] = 1;
blx[1] = 150;
bly[1] = -170;
blsx[1] = 150;
blsy[1] = 30;
blt[2] = 1;
blx[2] = 150;
bly[2] = -20;
blsx[2] = 150;
blsy[2] = 20;
prsc();
Frame 381
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 3) {
cbl1();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 500)) and (bx[h2] < (camx + 500))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg5();
mbad();
}
}
h2++;
}
cbgs();
if (bs[10] > 0) {
if (pace == 3) {
if ((bl[1] < 1) and (bt[1] < 110)) {
bt[1] = 1;
bd[1] = 1;
bg[1] = 0;
btime[1] = 5;
bj[1] = 4;
bs[1] = 0;
bl[1] = 4;
bx[1] = 80;
by[1] = -120;
bf[1] = 1;
bs[10] = bs[10] - 1;
}
if ((bl[2] < 1) and (bt[2] < 110)) {
bt[2] = 1;
bd[2] = 1;
bg[2] = 0;
btime[2] = 5;
bj[2] = 4;
bs[2] = 0;
bl[2] = 4;
bx[2] = 220;
by[2] = -120;
bf[2] = 1;
bs[10] = bs[10] - 1;
}
}
if (pace == 8) {
if ((bl[3] < 1) and (bt[3] < 110)) {
bt[3] = 5;
bd[3] = 0;
bg[3] = 0;
btime[3] = 5;
bj[3] = 4;
bs[3] = 0;
bl[3] = 4;
bx[3] = 80;
by[3] = -120;
bf[3] = 1;
bs[10] = bs[10] - 1;
}
if ((bl[4] < 1) and (bt[4] < 110)) {
bt[4] = 1;
bd[4] = 1;
bg[4] = 0;
btime[4] = 5;
bj[4] = 4;
bs[4] = 0;
bl[4] = 4;
bx[4] = 220;
by[4] = -120;
bf[4] = 1;
bs[10] = bs[10] - 1;
}
}
if (pace == 14) {
if ((bl[5] < 1) and (bt[5] < 110)) {
bt[5] = 5;
bd[5] = 0;
bg[5] = 0;
btime[5] = 5;
bj[5] = 4;
bs[5] = 0;
bl[5] = 4;
bx[5] = 80;
by[5] = -120;
bf[5] = 1;
bs[10] = bs[10] - 1;
}
if ((bl[6] < 1) and (bt[6] < 110)) {
bt[6] = 1;
bd[6] = 1;
bg[6] = 0;
btime[6] = 5;
bj[6] = 4;
bs[6] = 0;
bl[6] = 4;
bx[6] = 220;
by[6] = -120;
bf[6] = 1;
bs[10] = bs[10] - 1;
}
}
}
h2 = 1;
while (h2 < 7) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 1) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 3) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (bs[10] > 0) {
if (px < 20) {
px = 20;
}
if (px > 280) {
px = 280;
}
}
if (bs[10] < 1) {
if (((px > 290) and (py < -39)) and (py > -140)) {
px = 20;
py = py - 60;
gotoAndPlay (385);
}
if (((px < 10) and (py < -39)) and (py > -140)) {
px = 780;
py = py - 180;
gotoAndPlay (365);
}
lockedsign._x = -2000;
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 150) {
timer = 1;
bs[10] = bs[10] - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 200) {
camx = 200;
}
camy = -70;
h1 = 1;
while (h1 < 150) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 382
gotoAndPlay (381);
Frame 390
f = 391;
timer = 1;
pace = 1;
csetup();
bt[1] = 15;
bl[1] = 6;
bx[1] = 200;
by[1] = -100;
bt[2] = 13;
bl[2] = 10;
bx[2] = 200;
by[2] = -180;
bt[3] = 13;
bl[3] = 10;
bx[3] = 260;
by[3] = -180;
bt[4] = 15;
bl[4] = 6;
bx[4] = 300;
by[4] = -100;
bt[5] = 19;
bd[5] = 1;
bl[5] = 4;
bx[5] = 500;
by[5] = -100;
bt[6] = 13;
bl[6] = 10;
bx[6] = 460;
by[6] = -380;
bt[7] = 13;
bl[7] = 10;
bx[7] = 600;
by[7] = -380;
bt[8] = 13;
bl[8] = 10;
bx[8] = 680;
by[8] = -380;
bt[9] = 1;
bl[9] = 4;
bx[9] = 640;
by[9] = -300;
blt[1] = 2;
blx[1] = 490;
bly[1] = -240;
blsx[1] = 10;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 250;
bly[2] = -50;
blsx[2] = 250;
blsy[2] = 50;
blt[3] = 1;
blx[3] = 650;
bly[3] = -150;
blsx[3] = 150;
blsy[3] = 150;
blt[4] = 1;
blx[4] = 220;
bly[4] = -350;
blsx[4] = 220;
blsy[4] = 150;
blt[5] = 1;
blx[5] = 620;
bly[5] = -450;
blsx[5] = 180;
blsy[5] = 50;
prsc();
Frame 391
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 6) {
cbl1();
cbl2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 10) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg13();
cbg15();
cbg19();
mbad();
}
}
h2++;
}
cbgs();
h2 = 9;
while (h2 < 10) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 1) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 6) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -299)) and (py > -400)) {
px = 40;
py = py + 260;
if ((boss[4] != 0) or (game == 5)) {
gotoAndPlay (2556);
}
if ((boss[4] == 0) and (game != 5)) {
gotoAndPlay (395);
}
}
if (((px < 10) and (py < -99)) and (py > -200)) {
px = 280;
py = py + 60;
gotoAndPlay (375);
}
cxyz();
h1 = 1;
while (h1 < 150) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 392
gotoAndPlay (391);
Frame 400
f = 401;
timer = 1;
pace = 1;
csetup();
bt[1] = 54;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 150 + (200 - dif);
bx[1] = 150;
by[1] = -40;
bf[1] = 300;
bx[10] = 20;
by[10] = 70;
blt[1] = 1;
blx[1] = 10;
bly[1] = -100;
blsx[1] = 10;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 390;
bly[2] = -100;
blsx[2] = 10;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 200;
bly[3] = -20;
blsx[3] = 180;
blsy[3] = 20;
Frame 401
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 4) {
cbl1();
h1++;
}
dfall();
boss4();
h1 = 1;
while (h1 < 150) {
h3 = h1 + random(100);
h1++;
}
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 395) {
px = 395;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 300) {
camx = 300;
}
camy = py;
if (camy < -100) {
camy = -100;
}
if (camy > -50) {
camy = -50;
}
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
Frame 402
gotoAndPlay (401);
Frame 410
f = 411;
timer = 1;
pace = 1;
csetup();
bt[1] = 10;
bl[1] = 4;
bx[1] = 240;
by[1] = -80;
bt[2] = 10;
bl[2] = 4;
bx[2] = 380;
by[2] = -80;
bt[3] = 3;
bl[3] = 4;
bx[3] = 460;
by[3] = -300;
blt[1] = 1;
blx[1] = 50;
bly[1] = -20;
blsx[1] = 50;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 190;
bly[2] = -30;
blsx[2] = 30;
blsy[2] = 30;
blt[3] = 1;
blx[3] = 720;
bly[3] = -280;
blsx[3] = 80;
blsy[3] = 20;
blt[4] = 31;
blx[4] = 340;
bly[4] = -50;
blsx[4] = 100;
blsy[4] = 10;
blt[5] = 43;
blx[5] = 500;
bly[5] = -280;
blsx[5] = 20;
blsy[5] = 20;
blt[6] = 43;
blx[6] = 500;
bly[6] = -20;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 44;
blx[7] = 580;
bly[7] = -280;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 44;
blx[8] = 580;
bly[8] = -20;
blsx[8] = 20;
blsy[8] = 20;
prsc();
Frame 411
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
cbl31();
cbl43();
cbl44();
h1++;
}
dfall();
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg3();
cbg10();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 3) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 10) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 9) {
cbb1();
cbb31_32();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -299)) and (py > -400)) {
px = 20;
py = py + 200;
gotoAndPlay (415);
}
cxyz();
h1 = 1;
while (h1 < 100) {
h3 = h1 + random(100);
h1++;
}
dscn();
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
Frame 412
gotoAndPlay (411);
Frame 420
f = 421;
timer = 1;
pace = 1;
csetup();
bt[1] = 11;
bl[1] = 12;
bx[1] = 250;
by[1] = -140;
bt[2] = 11;
bl[2] = 12;
bx[2] = 540;
by[2] = -200;
bt[3] = 11;
bl[3] = 12;
bx[3] = 700;
by[3] = -360;
bt[4] = 10;
bl[4] = 4;
bx[4] = 400;
by[4] = -180;
bt[5] = 10;
bl[5] = 4;
bx[5] = 700;
by[5] = -300;
blt[1] = 1;
blx[1] = 80;
bly[1] = -80;
blsx[1] = 80;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 700;
bly[2] = -150;
blsx[2] = 100;
blsy[2] = 150;
blt[3] = 2;
blx[3] = 590;
bly[3] = -270;
blsx[3] = 10;
blsy[3] = 70;
blt[4] = 32;
blx[4] = 270;
bly[4] = -110;
blsx[4] = 50;
blsy[4] = 10;
blt[5] = 32;
blx[5] = 550;
bly[5] = -150;
blsx[5] = 50;
blsy[5] = 10;
blt[6] = 31;
blx[6] = 410;
bly[6] = -150;
blsx[6] = 50;
blsy[6] = 10;
prsc();
Frame 421
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
cbl2();
cbl31();
cbl32();
h1++;
}
dfall();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg10();
cbg11();
mbad();
}
}
h2++;
}
cbgs();
h2 = 4;
while (h2 < 6) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 10) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 7) {
cbb1();
cbb31_32();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -299)) and (py > -400)) {
px = 20;
py = py - 100;
gotoAndPlay (425);
}
if (((px < 10) and (py < -99)) and (py > -200)) {
px = 780;
py = py - 200;
gotoAndPlay (405);
}
cxyz();
h1 = 1;
while (h1 < 100) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 422
gotoAndPlay (421);
Frame 430
f = 431;
timer = 1;
pace = 1;
csetup();
bt[1] = 3;
bl[1] = 4;
bx[1] = 240;
by[1] = -460;
bt[2] = 21;
bl[2] = 20;
bx[2] = 700;
by[2] = -140;
bt[3] = 3;
bl[3] = 4;
bx[3] = 550;
by[3] = -460;
bt[4] = 21;
bl[4] = 20;
bx[4] = 300;
by[4] = -160;
bt[5] = 10;
bl[5] = 4;
bx[5] = 500;
by[5] = -420;
bt[6] = 10;
bl[6] = 4;
bx[6] = 600;
by[6] = -420;
bt[7] = 10;
bl[7] = 4;
bx[7] = 400;
by[7] = -100;
bt[8] = 10;
bl[8] = 4;
bx[8] = 650;
by[8] = -100;
blt[1] = 1;
blx[1] = 100;
bly[1] = -200;
blsx[1] = 100;
blsy[1] = 200;
blt[2] = 1;
blx[2] = 720;
bly[2] = -380;
blsx[2] = 80;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 740;
bly[3] = -40;
blsx[3] = 60;
blsy[3] = 40;
blt[4] = 6;
blx[4] = 260;
bly[4] = -380;
blsx[4] = 20;
blsy[4] = 20;
blt[5] = 31;
blx[5] = 350;
bly[5] = -40;
blsx[5] = 150;
blsy[5] = 40;
blt[6] = 32;
blx[6] = 540;
bly[6] = -380;
blsx[6] = 100;
blsy[6] = 20;
blt[7] = 32;
blx[7] = 630;
bly[7] = -40;
blsx[7] = 50;
blsy[7] = 40;
prsc();
Frame 431
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -400;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 8) {
cbl1();
cbl6();
cbl31();
cbl32();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg3();
cbg10();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
h2 = 5;
while (h2 < 9) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 10) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 8) {
cbb1();
cbb6_9();
cbb31_32();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -399)) and (py > -500)) {
px = 20;
py = py + 300;
gotoAndPlay (435);
}
if (((px > 790) and (py < -79)) and (py > -180)) {
px = 20;
py = py - 20;
gotoAndPlay (445);
}
if (((px < 10) and (py < -399)) and (py > -500)) {
px = 780;
py = py + 100;
gotoAndPlay (415);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
h1 = 1;
while (h1 < 100) {
h3 = h1 + random(100);
h1++;
}
dscn();
block4._x = 100 + (blx[4] - camx);
block4._y = 100 + (bly[4] - camy);
Frame 432
gotoAndPlay (431);
Frame 440
f = 441;
timer = 1;
pace = 1;
csetup();
bt[1] = 11;
bl[1] = 12;
bx[1] = 200;
by[1] = -140;
bt[2] = 11;
bl[2] = 12;
bx[2] = 250;
by[2] = -180;
bt[3] = 8;
bl[3] = 4;
bx[3] = 230;
by[3] = -180;
bt[4] = 11;
bl[4] = 12;
bx[4] = 440;
by[4] = -180;
bt[5] = 8;
bl[5] = 4;
bx[5] = 600;
by[5] = -180;
bt[6] = 11;
bl[6] = 12;
bx[6] = 650;
by[6] = -160;
blt[1] = 1;
blx[1] = 50;
bly[1] = -80;
blsx[1] = 50;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 340;
bly[2] = -30;
blsx[2] = 40;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 640;
bly[3] = -50;
blsx[3] = 60;
blsy[3] = 50;
blt[4] = 2;
blx[4] = 710;
bly[4] = -70;
blsx[4] = 10;
blsy[4] = 70;
blt[5] = 3;
blx[5] = 340;
bly[5] = -80;
blsx[5] = 40;
blsy[5] = 20;
blt[6] = 31;
blx[6] = 200;
bly[6] = -80;
blsx[6] = 100;
blsy[6] = 20;
blt[7] = 32;
blx[7] = 480;
bly[7] = -80;
blsx[7] = 100;
blsy[7] = 20;
prsc();
Frame 441
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 8) {
cbl1();
cbl2();
cbl3_2();
cbl31();
cbl32();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg8();
cbg11();
mbad();
}
}
h2++;
}
cbgs();
if (((py > -10) and (px < 800)) and (px > 700)) {
px = px - 120;
py = -450;
gotoAndPlay (445);
}
if (((px < 10) and (py < -99)) and (py > -200)) {
px = 780;
py = py - 300;
gotoAndPlay (425);
}
cxyz();
h1 = 1;
while (h1 < 100) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 442
gotoAndPlay (441);
Frame 450
f = 451;
timer = 1;
pace = 1;
csetup();
bt[1] = 3;
bl[1] = 4;
bx[1] = 200;
by[1] = -160;
bt[2] = 11;
bl[2] = 12;
bx[2] = 300;
by[2] = -140;
bt[3] = 11;
bl[3] = 12;
bx[3] = 650;
by[3] = -360;
bt[4] = 21;
bl[4] = 20;
bx[4] = 750;
by[4] = -400;
blt[1] = 1;
blx[1] = 80;
bly[1] = -50;
blsx[1] = 80;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 560;
bly[2] = -410;
blsx[2] = 20;
blsy[2] = 90;
blt[3] = 1;
blx[3] = 670;
bly[3] = -230;
blsx[3] = 130;
blsy[3] = 30;
blt[4] = 2;
blx[4] = 590;
bly[4] = -400;
blsx[4] = 10;
blsy[4] = 100;
blt[5] = 31;
blx[5] = 260;
bly[5] = -60;
blsx[5] = 100;
blsy[5] = 20;
blt[6] = 43;
blx[6] = 420;
bly[6] = -220;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 44;
blx[7] = 500;
bly[7] = -400;
blsx[7] = 20;
blsy[7] = 20;
prsc();
Frame 451
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 8) {
cbl1();
cbl2();
cbl31();
cbl43();
cbl44();
h1++;
}
dfall();
h2 = 1;
while (h2 < 5) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg3();
cbg11();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 790) and (py < -259)) and (py > -360)) {
px = 20;
py = py + 160;
gotoAndPlay (455);
}
if (((py < -460) and (px < 680)) and (px > 580)) {
px = px + 120;
py = -20;
gotoAndPlay (435);
}
if (((px < 10) and (py < -99)) and (py > -200)) {
px = 780;
py = py + 20;
gotoAndPlay (425);
}
cxyz();
h1 = 1;
while (h1 < 100) {
h3 = h1 + random(100);
h1++;
}
dscn();
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
Frame 452
gotoAndPlay (451);
Frame 460
f = 461;
timer = 1;
pace = 1;
csetup();
bt[1] = 10;
bl[1] = 4;
bx[1] = 240;
by[1] = -120;
bt[2] = 10;
bl[2] = 4;
bx[2] = 460;
by[2] = -160;
bt[3] = 8;
bl[3] = 4;
bx[3] = 340;
by[3] = -170;
bt[4] = 11;
bl[4] = 12;
bx[4] = 700;
by[4] = -240;
bt[5] = 11;
bl[5] = 12;
bx[5] = 650;
by[5] = -360;
blt[1] = 1;
blx[1] = 90;
bly[1] = -70;
blsx[1] = 90;
blsy[1] = 30;
blt[2] = 1;
blx[2] = 600;
bly[2] = -370;
blsx[2] = 20;
blsy[2] = 130;
blt[3] = 1;
blx[3] = 750;
bly[3] = -380;
blsx[3] = 50;
blsy[3] = 20;
blt[4] = 1;
blx[4] = 470;
bly[4] = -30;
blsx[4] = 30;
blsy[4] = 10;
blt[5] = 31;
blx[5] = 270;
bly[5] = -90;
blsx[5] = 50;
blsy[5] = 10;
blt[6] = 32;
blx[6] = 430;
bly[6] = -130;
blsx[6] = 50;
blsy[6] = 10;
blt[7] = 32;
blx[7] = 650;
bly[7] = -150;
blsx[7] = 50;
blsy[7] = 10;
blt[8] = 32;
blx[8] = 770;
bly[8] = -210;
blsx[8] = 30;
blsy[8] = 10;
blt[9] = 31;
blx[9] = 670;
bly[9] = -270;
blsx[9] = 50;
blsy[9] = 10;
blt[10] = 43;
blx[10] = 540;
bly[10] = -140;
blsx[10] = 20;
blsy[10] = 20;
prsc();
Frame 461
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 11) {
cbl1();
cbl31();
cbl32();
cbl43();
h1++;
}
dfall();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg8();
cbg10();
cbg11();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 3) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 10) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 11) {
cbb1();
cbb31_32();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -399)) and (py > -500)) {
px = 20;
gotoAndPlay (465);
}
if (((px < 10) and (py < -99)) and (py > -200)) {
px = 780;
py = py - 160;
gotoAndPlay (445);
}
cxyz();
if (heart[5] == 0) {
htank._x = 100 + (470 - camx);
htank._y = 100 + (-50 - camy);
if (((((px + 8) > 470) and ((px - 8) < 470)) and (py > -50)) and ((py - 25) < -50)) {
lifeupsfx.start();
heart[5] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
htank._x = -2000;
htank._y = -2000;
}
}
h1 = 1;
while (h1 < 100) {
h3 = h1 + random(100);
h1++;
}
dscn();
block10._x = 100 + (blx[10] - camx);
block10._y = 100 + (bly[10] - camy);
Frame 462
gotoAndPlay (461);
Frame 470
f = 471;
timer = 1;
pace = 1;
csetup();
bt[1] = 4;
bl[1] = 4;
bx[1] = 400;
by[1] = -420;
bt[2] = 4;
bl[2] = 4;
bx[2] = 550;
by[2] = -200;
bt[3] = 4;
bl[3] = 4;
bx[3] = 400;
by[3] = -80;
bt[4] = 3;
bl[4] = 4;
bx[4] = 600;
by[4] = -440;
bt[5] = 21;
bl[5] = 20;
bx[5] = 500;
by[5] = -220;
bt[6] = 3;
bl[6] = 4;
bx[6] = 420;
by[6] = -240;
bt[7] = 3;
bl[7] = 4;
bx[7] = 220;
by[7] = -220;
bt[8] = 21;
bl[8] = 20;
bx[8] = 500;
by[8] = -100;
blt[1] = 1;
blx[1] = 150;
bly[1] = -380;
blsx[1] = 150;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 370;
bly[2] = -310;
blsx[2] = 250;
blsy[2] = 50;
blt[3] = 1;
blx[3] = 170;
bly[3] = -130;
blsx[3] = 50;
blsy[3] = 130;
blt[4] = 1;
blx[4] = 740;
bly[4] = -320;
blsx[4] = 60;
blsy[4] = 180;
blt[5] = 1;
blx[5] = 700;
bly[5] = -20;
blsx[5] = 100;
blsy[5] = 20;
blt[6] = 5;
blx[6] = 560;
bly[6] = -380;
blsx[6] = 60;
blsy[6] = 20;
blt[7] = 5;
blx[7] = 630;
bly[7] = -50;
blsx[7] = 30;
blsy[7] = 10;
blt[8] = 31;
blx[8] = 400;
bly[8] = -380;
blsx[8] = 100;
blsy[8] = 20;
blt[9] = 32;
blx[9] = 480;
bly[9] = -160;
blsx[9] = 200;
blsy[9] = 20;
blt[10] = 31;
blx[10] = 410;
bly[10] = -30;
blsx[10] = 190;
blsy[10] = 30;
prsc();
Frame 471
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -400;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 11) {
cbl1();
cbl5();
cbl31();
cbl32();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg3();
cbg4();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 4) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 4) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 11) {
cbb1();
cbb5();
cbb31_32();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -39)) and (py > -140)) {
px = 20;
py = py - 60;
gotoAndPlay (475);
}
if (((px < 20) and (py < -399)) and (py > -500)) {
px = 780;
gotoAndPlay (455);
}
cxyz();
h1 = 1;
while (h1 < 100) {
h3 = h1 + random(100);
h1++;
}
dscn();
Frame 472
gotoAndPlay (471);
Frame 480
f = 481;
timer = 1;
pace = 1;
csetup();
bt[1] = 21;
bl[1] = 20;
bx[1] = 200;
by[1] = -150;
bt[2] = 21;
bl[2] = 20;
bx[2] = 300;
by[2] = -360;
bt[3] = 21;
bl[3] = 20;
bx[3] = 380;
by[3] = -250;
bt[4] = 21;
bl[4] = 20;
bx[4] = 520;
by[4] = -200;
bt[5] = 21;
bl[5] = 20;
bx[5] = 700;
by[5] = -400;
blt[1] = 1;
blx[1] = 100;
bly[1] = -350;
blsx[1] = 100;
blsy[1] = 150;
blt[2] = 1;
blx[2] = 100;
bly[2] = -50;
blsx[2] = 100;
blsy[2] = 50;
blt[3] = 2;
blx[3] = 770;
bly[3] = -450;
blsx[3] = 10;
blsy[3] = 50;
blt[4] = 43;
blx[4] = 260;
bly[4] = -80;
blsx[4] = 20;
blsy[4] = 20;
blt[5] = 44;
blx[5] = 340;
bly[5] = -320;
blsx[5] = 20;
blsy[5] = 20;
blt[6] = 44;
blx[6] = 420;
bly[6] = -400;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 43;
blx[7] = 500;
bly[7] = -200;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 44;
blx[8] = 580;
bly[8] = -140;
blsx[8] = 20;
blsy[8] = 20;
blt[9] = 44;
blx[9] = 660;
bly[9] = -220;
blsx[9] = 20;
blsy[9] = 20;
blt[10] = 43;
blx[10] = 740;
bly[10] = -300;
blsx[10] = 20;
blsy[10] = 20;
prsc();
Frame 481
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 11) {
cbl1();
cbl2();
cbl43();
cbl44();
h1++;
}
dfall();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
if (((py < -460) and (px < 780)) and (px > 760)) {
px = px - 620;
py = -20;
gotoAndPlay (485);
}
if (((px < 10) and (py < -99)) and (py > -200)) {
px = 780;
py = py + 60;
gotoAndPlay (465);
}
cxyz();
h1 = 1;
while (h1 < 100) {
h3 = h1 + random(100);
h1++;
}
dscn();
block4._x = 100 + (blx[4] - camx);
block4._y = 100 + (bly[4] - camy);
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
block10._x = 100 + (blx[10] - camx);
block10._y = 100 + (bly[10] - camy);
Frame 482
gotoAndPlay (481);
Frame 490
f = 491;
timer = 1;
pace = 1;
csetup();
bt[1] = 3;
bl[1] = 4;
bx[1] = 260;
by[1] = -200;
bt[2] = 3;
bl[2] = 4;
bx[2] = 360;
by[2] = -180;
bt[3] = 3;
bl[3] = 4;
bx[3] = 460;
by[3] = -220;
bt[4] = 4;
bl[4] = 4;
bx[4] = 700;
by[4] = -380;
blt[1] = 2;
blx[1] = 150;
bly[1] = -100;
blsx[1] = 10;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 180;
bly[2] = -140;
blsx[2] = 20;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 700;
bly[3] = -470;
blsx[3] = 100;
blsy[3] = 30;
blt[4] = 1;
blx[4] = 700;
bly[4] = -340;
blsx[4] = 100;
blsy[4] = 40;
blt[5] = 9;
blx[5] = 300;
bly[5] = -180;
blsx[5] = 20;
blsy[5] = 20;
blt[6] = 9;
blx[6] = 420;
bly[6] = -180;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 43;
blx[7] = 500;
bly[7] = -420;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 41;
blx[8] = 580;
bly[8] = -280;
blsx[8] = 20;
blsy[8] = 20;
prsc();
Frame 491
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 180;
py = -160;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
cbl2();
cbl9();
cbl41();
cbl43();
h1++;
}
dfall();
h2 = 1;
while (h2 < 5) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg3();
cbg4();
mbad();
}
}
h2++;
}
cbgs();
h2 = 4;
while (h2 < 5) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 4) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 9) {
cbb1();
cbb6_9();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -379)) and (py > -440)) {
px = 10;
py = py + 360;
if ((boss[5] != 0) or (game == 5)) {
gotoAndPlay (2556);
}
if ((boss[5] == 0) and (game != 5)) {
gotoAndPlay (495);
}
}
if (((py > -10) and (px < 160)) and (px > 140)) {
px = px + 620;
py = -450;
gotoAndPlay (475);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
h1 = 1;
while (h1 < 100) {
h3 = h1 + random(100);
h1++;
}
dscn();
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
Frame 492
gotoAndPlay (491);
Frame 500
f = 501;
timer = 1;
pace = 1;
csetup();
bt[1] = 55;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 150 + (200 - dif);
bx[1] = 200;
by[1] = 20;
bf[1] = 300;
bx[10] = 10;
by[10] = 130;
blt[1] = 1;
blx[1] = 20;
bly[1] = -10;
blsx[1] = 20;
blsy[1] = 10;
blt[2] = 1;
blx[2] = 135;
bly[2] = -10;
blsx[2] = 35;
blsy[2] = 10;
blt[3] = 1;
blx[3] = 265;
bly[3] = -10;
blsx[3] = 35;
blsy[3] = 10;
blt[4] = 1;
blx[4] = 380;
bly[4] = -10;
blsx[4] = 20;
blsy[4] = 10;
Frame 501
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 20;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 5) {
cbl1();
h1++;
}
dfall();
boss5();
h1 = 1;
while (h1 < 80) {
h3 = h1 + random(100);
h1++;
}
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 395) {
px = 395;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 300) {
camx = 300;
}
camy = py;
if (camy < -100) {
camy = -100;
}
if (camy > -50) {
camy = -50;
}
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
Frame 502
gotoAndPlay (501);
Frame 510
f = 511;
timer = 1;
pace = 1;
csetup();
bt[1] = 14;
bl[1] = 3;
bx[1] = 240;
by[1] = -380;
bt[2] = 14;
bl[2] = 3;
bx[2] = 400;
by[2] = -370;
bt[3] = 5;
bl[3] = 4;
bx[3] = 650;
by[3] = -380;
bt[4] = 22;
bl[4] = 4;
bx[4] = 460;
by[4] = -200;
bt[5] = 22;
bl[5] = 4;
bx[5] = 560;
by[5] = -200;
blt[1] = 1;
blx[1] = 50;
bly[1] = -200;
blsx[1] = 50;
blsy[1] = 200;
blt[2] = 1;
blx[2] = 220;
bly[2] = -240;
blsx[2] = 120;
blsy[2] = 40;
blt[3] = 1;
blx[3] = 450;
bly[3] = -100;
blsx[3] = 350;
blsy[3] = 100;
blt[4] = 1;
blx[4] = 690;
bly[4] = -240;
blsx[4] = 110;
blsy[4] = 40;
blt[5] = 1;
blx[5] = 780;
bly[5] = -310;
blsx[5] = 20;
blsy[5] = 30;
blt[6] = 5;
blx[6] = 220;
bly[6] = -320;
blsx[6] = 120;
blsy[6] = 40;
blt[7] = 4;
blx[7] = 670;
bly[7] = -310;
blsx[7] = 90;
blsy[7] = 30;
blt[8] = 3;
blx[8] = 460;
bly[8] = -220;
blsx[8] = 120;
blsy[8] = 20;
blt[9] = 10;
blx[9] = 380;
bly[9] = -260;
blsx[9] = 40;
blsy[9] = 20;
blt[10] = 10;
blx[10] = 460;
bly[10] = -260;
blsx[10] = 40;
blsy[10] = 20;
blt[11] = 10;
blx[11] = 540;
bly[11] = -260;
blsx[11] = 40;
blsy[11] = 20;
prsc();
Frame 511
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -400;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 12) {
cbl1();
cbl3_2();
cbl4();
cbl5();
cbl30();
cbl11_29();
cbl10();
h1++;
}
dfall();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 150))) {
cblu();
cbg5();
cbg14();
cbg22();
mbad();
}
}
h2++;
}
cbgs();
h2 = 4;
while (h2 < 6) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 22) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 12) {
cbb1();
cbb4();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -339)) and (py > -440)) {
px = 20;
gotoAndPlay (515);
}
cxyz();
dscn();
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
block10._x = 100 + (blx[10] - camx);
block10._y = 100 + (bly[10] - camy);
block11._x = 100 + (blx[11] - camx);
block11._y = 100 + (bly[11] - camy);
Frame 512
gotoAndPlay (511);
Frame 520
f = 521;
timer = 1;
pace = 1;
csetup();
bt[1] = 22;
bl[1] = 4;
bx[1] = 140;
by[1] = -300;
bt[2] = 22;
bl[2] = 4;
bx[2] = 240;
by[2] = -300;
bt[3] = 22;
bl[3] = 4;
bx[3] = 280;
by[3] = -300;
bt[4] = 2;
bl[4] = 4;
bx[4] = 520;
by[4] = -300;
bt[5] = 2;
bl[5] = 4;
bx[5] = 640;
by[5] = -260;
bt[6] = 21;
bl[6] = 20;
bx[6] = 400;
by[6] = -370;
bt[7] = 14;
bl[7] = 3;
bx[7] = 400;
by[7] = -380;
blt[1] = 1;
blx[1] = 50;
bly[1] = -170;
blsx[1] = 50;
blsy[1] = 170;
blt[2] = 1;
blx[2] = 200;
bly[2] = -150;
blsx[2] = 100;
blsy[2] = 150;
blt[3] = 1;
blx[3] = 200;
bly[3] = -320;
blsx[3] = 20;
blsy[3] = 20;
blt[4] = 1;
blx[4] = 350;
bly[4] = -170;
blsx[4] = 50;
blsy[4] = 170;
blt[5] = 1;
blx[5] = 600;
bly[5] = -130;
blsx[5] = 200;
blsy[5] = 130;
blt[6] = 5;
blx[6] = 520;
bly[6] = -300;
blsx[6] = 120;
blsy[6] = 40;
blt[7] = 3;
blx[7] = 140;
bly[7] = -320;
blsx[7] = 40;
blsy[7] = 20;
blt[8] = 3;
blx[8] = 260;
bly[8] = -320;
blsx[8] = 40;
blsy[8] = 20;
prsc();
Frame 521
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -340;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
cbl3_2();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 150))) {
cblu();
cbg2();
cbg14();
cbg21();
cbg22();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 6) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if (((bt[h2] == 2) or (bt[h2] == 22)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 9) {
cbb1();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -259)) and (py > -360)) {
px = 20;
py = py + 160;
gotoAndPlay (525);
}
if (((px < 10) and (py < -339)) and (py > -440)) {
px = 780;
gotoAndPlay (505);
}
cxyz();
dscn();
Frame 522
gotoAndPlay (521);
Frame 530
f = 531;
timer = 1;
pace = 1;
csetup();
bt[1] = 5;
bl[1] = 4;
bx[1] = 240;
by[1] = -170;
bt[2] = 5;
bl[2] = 4;
bx[2] = 400;
by[2] = -170;
bt[3] = 5;
bl[3] = 4;
bx[3] = 500;
by[3] = -170;
bt[4] = 5;
bl[4] = 4;
bx[4] = 650;
by[4] = -170;
blt[1] = 1;
blx[1] = 100;
bly[1] = -50;
blsx[1] = 100;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 500;
bly[2] = -20;
blsx[2] = 300;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 780;
bly[3] = -200;
blsx[3] = 20;
blsy[3] = 100;
blt[4] = 2;
blx[4] = 750;
bly[4] = -250;
blsx[4] = 10;
blsy[4] = 90;
blt[5] = 6;
blx[5] = 280;
bly[5] = -110;
blsx[5] = 40;
blsy[5] = 10;
blt[6] = 7;
blx[6] = 720;
bly[6] = -110;
blsx[6] = 40;
blsy[6] = 10;
blt[7] = 3;
blx[7] = 500;
bly[7] = -70;
blsx[7] = 300;
blsy[7] = 30;
prsc();
Frame 531
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 8) {
cbl1();
cbl2();
cbl3_2();
cbl6_2();
cbl7();
h1++;
}
dfall();
h2 = 1;
while (h2 < 5) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 150))) {
cblu();
cbg5();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 790) and (py < -299)) and (py > -400)) {
px = 20;
py = py + 100;
gotoAndPlay (535);
}
if (((px < 10) and (py < -99)) and (py > -200)) {
px = 780;
py = py - 160;
gotoAndPlay (515);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
Frame 532
gotoAndPlay (531);
Frame 540
f = 541;
timer = 1;
pace = 1;
csetup();
bt[1] = 21;
bl[1] = 20;
bx[1] = 600;
by[1] = -240;
bt[2] = 14;
bl[2] = 3;
bx[2] = 200;
by[2] = -240;
bt[3] = 21;
bl[3] = 20;
bx[3] = 440;
by[3] = -220;
bt[4] = 7;
bl[4] = 4;
bx[4] = 480;
by[4] = -180;
bt[5] = 7;
bl[5] = 4;
bx[5] = 560;
by[5] = -140;
bt[6] = 7;
bl[6] = 4;
bx[6] = 700;
by[6] = -200;
bt[7] = 2;
bl[7] = 4;
bx[7] = 160;
by[7] = -180;
blt[1] = 1;
blx[1] = 50;
bly[1] = -100;
blsx[1] = 50;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 220;
bly[2] = -60;
blsx[2] = 120;
blsy[2] = 60;
blt[3] = 1;
blx[3] = 770;
bly[3] = -130;
blsx[3] = 30;
blsy[3] = 130;
blt[4] = 5;
blx[4] = 220;
bly[4] = -160;
blsx[4] = 120;
blsy[4] = 40;
blt[5] = 3;
blx[5] = 360;
bly[5] = -60;
blsx[5] = 20;
blsy[5] = 60;
blt[6] = 9;
blx[6] = 440;
bly[6] = -80;
blsx[6] = 60;
blsy[6] = 100;
blt[7] = 8;
blx[7] = 560;
bly[7] = 0;
blsx[7] = 60;
blsy[7] = 100;
blt[8] = 9;
blx[8] = 680;
bly[8] = -100;
blsx[8] = 60;
blsy[8] = 100;
prsc();
Frame 541
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
cbl3();
cbl5();
cbl8();
cbl9();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 150))) {
cblu();
cbg2();
cbg7();
cbg14();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
h2 = 4;
while (h2 < 8) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if (((bt[h2] == 2) or (bt[h2] == 7)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 9) {
cbb1();
cbb5();
cbb6_9();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -259)) and (py > -360)) {
px = 20;
gotoAndPlay (545);
}
if (((px < 10) and (py < -199)) and (py > -300)) {
px = 780;
py = py - 100;
gotoAndPlay (525);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
Frame 542
gotoAndPlay (541);
Frame 550
f = 551;
timer = 1;
pace = 1;
csetup();
bt[1] = 22;
bl[1] = 4;
bx[1] = 140;
by[1] = -160;
bt[2] = 22;
bl[2] = 4;
bx[2] = 220;
by[2] = -160;
bt[3] = 22;
bl[3] = 4;
bx[3] = 460;
by[3] = -160;
bt[4] = 2;
bl[4] = 4;
bx[4] = 700;
by[4] = -260;
bt[5] = 14;
bl[5] = 3;
bx[5] = 550;
by[5] = -320;
blt[1] = 1;
blx[1] = 50;
bly[1] = -130;
blsx[1] = 50;
blsy[1] = 130;
blt[2] = 1;
blx[2] = 450;
bly[2] = -80;
blsx[2] = 350;
blsy[2] = 80;
blt[3] = 1;
blx[3] = 690;
bly[3] = -210;
blsx[3] = 110;
blsy[3] = 10;
blt[4] = 1;
blx[4] = 780;
bly[4] = -250;
blsx[4] = 20;
blsy[4] = 30;
blt[5] = 4;
blx[5] = 670;
bly[5] = -250;
blsx[5] = 90;
blsy[5] = 30;
blt[6] = 10;
blx[6] = 180;
bly[6] = -220;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 10;
blx[7] = 300;
bly[7] = -220;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 10;
blx[8] = 400;
bly[8] = -220;
blsx[8] = 20;
blsy[8] = 20;
blt[9] = 10;
blx[9] = 520;
bly[9] = -220;
blsx[9] = 20;
blsy[9] = 20;
blt[10] = 3;
blx[10] = 450;
bly[10] = -180;
blsx[10] = 350;
blsy[10] = 20;
prsc();
Frame 551
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -260;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 11) {
cbl1();
cbl3_2();
cbl4();
cbl30();
cbl11_29();
cbl10();
h1++;
}
dfall();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 150))) {
cblu();
cbg2();
cbg14();
cbg22();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 5) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if (((bt[h2] == 2) or (bt[h2] == 22)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 11) {
cbb1();
cbb4();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -279)) and (py > -380)) {
px = 20;
py = py + 140;
gotoAndPlay (555);
}
if (((px < 10) and (py < -259)) and (py > -360)) {
px = 780;
gotoAndPlay (535);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
Frame 552
gotoAndPlay (551);
Frame 560
f = 561;
timer = 1;
pace = 1;
csetup();
bt[1] = 22;
bl[1] = 4;
bx[1] = 360;
by[1] = -40;
bt[2] = 22;
bl[2] = 4;
bx[2] = 550;
by[2] = -200;
bt[3] = 14;
bl[3] = 3;
bx[3] = 360;
by[3] = -300;
blt[1] = 1;
blx[1] = 50;
bly[1] = -110;
blsx[1] = 50;
blsy[1] = 30;
blt[2] = 1;
blx[2] = 400;
bly[2] = -20;
blsx[2] = 400;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 650;
bly[3] = -120;
blsx[3] = 150;
blsy[3] = 80;
blt[4] = 1;
blx[4] = 750;
bly[4] = -280;
blsx[4] = 50;
blsy[4] = 40;
blt[5] = 7;
blx[5] = 320;
bly[5] = -110;
blsx[5] = 20;
blsy[5] = 10;
blt[6] = 8;
blx[6] = 420;
bly[6] = -110;
blsx[6] = 20;
blsy[6] = 10;
blt[7] = 7;
blx[7] = 600;
bly[7] = -270;
blsx[7] = 20;
blsy[7] = 10;
blt[8] = 3;
blx[8] = 250;
bly[8] = -60;
blsx[8] = 250;
blsy[8] = 20;
blt[9] = 3;
blx[9] = 480;
bly[9] = -130;
blsx[9] = 20;
blsy[9] = 90;
blt[10] = 3;
blx[10] = 640;
bly[10] = -220;
blsx[10] = 160;
blsy[10] = 20;
prsc();
Frame 561
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -140;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 11) {
cbl1();
cbl3();
cbl7();
cbl8();
h1++;
}
dfall();
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 150))) {
cblu();
cbg14();
cbg22();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 3) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 22) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 11) {
cbb1();
cbb6_9();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -319)) and (py > -420)) {
px = 20;
py = py - 40;
gotoAndPlay (565);
}
if (((px < 10) and (py < -139)) and (py > -240)) {
px = 780;
py = py - 140;
gotoAndPlay (545);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
Frame 562
gotoAndPlay (561);
Frame 570
f = 571;
timer = 1;
pace = 1;
csetup();
bt[1] = 21;
bl[1] = 20;
bx[1] = 280;
by[1] = -340;
bt[2] = 19;
bl[2] = 4;
bx[2] = 180;
by[2] = -240;
bt[3] = 19;
bd[3] = 1;
bl[3] = 4;
bx[3] = 260;
by[3] = -180;
bt[4] = 17;
bl[4] = 4;
bx[4] = 140;
by[4] = -420;
bt[5] = 17;
bl[5] = 4;
bx[5] = 280;
by[5] = -420;
bt[6] = 17;
bl[6] = 4;
bx[6] = 290;
by[6] = -140;
bt[7] = 22;
bl[7] = 4;
bx[7] = 230;
by[7] = -40;
bt[8] = 17;
bl[8] = 4;
bx[8] = 500;
by[8] = -120;
bt[9] = 17;
bl[9] = 4;
bx[9] = 650;
by[9] = -120;
blt[1] = 1;
blx[1] = 90;
bly[1] = -180;
blsx[1] = 90;
blsy[1] = 180;
blt[2] = 1;
blx[2] = 450;
bly[2] = -470;
blsx[2] = 350;
blsy[2] = 30;
blt[3] = 1;
blx[3] = 560;
bly[3] = -290;
blsx[3] = 240;
blsy[3] = 150;
blt[4] = 1;
blx[4] = 210;
bly[4] = -300;
blsx[4] = 30;
blsy[4] = 20;
blt[5] = 1;
blx[5] = 290;
bly[5] = -190;
blsx[5] = 30;
blsy[5] = 30;
blt[6] = 1;
blx[6] = 290;
bly[6] = -60;
blsx[6] = 50;
blsy[6] = 20;
blt[7] = 1;
blx[7] = 490;
bly[7] = -20;
blsx[7] = 310;
blsy[7] = 20;
blt[8] = 5;
blx[8] = 400;
bly[8] = -60;
blsx[8] = 60;
blsy[8] = 20;
blt[9] = 3;
blx[9] = 210;
bly[9] = -60;
blsx[9] = 30;
blsy[9] = 20;
prsc();
Frame 571
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -360;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 10) {
cbl1();
cbl3();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 10) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 150))) {
cblu();
cbg17();
cbg18();
cbg19();
cbg21();
cbg22();
mbad();
}
}
h2++;
}
cbgs();
h2 = 4;
while (h2 < 10) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if (((bt[h2] == 18) or (bt[h2] == 22)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 10) {
cbb1();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -39)) and (py > -140)) {
px = 20;
gotoAndPlay (575);
}
if (((px < 10) and (py < -359)) and (py > -460)) {
px = 780;
py = py + 40;
gotoAndPlay (555);
}
cxyz();
dscn();
Frame 572
gotoAndPlay (571);
Frame 580
f = 581;
timer = 1;
pace = 1;
csetup();
bt[1] = 2;
bl[1] = 4;
bx[1] = 380;
by[1] = -80;
bt[2] = 2;
bl[2] = 4;
bx[2] = 240;
by[2] = -220;
bt[3] = 2;
bl[3] = 4;
bx[3] = 440;
by[3] = -320;
bt[4] = 2;
bl[4] = 4;
bx[4] = 300;
by[4] = -400;
blt[1] = 1;
blx[1] = 100;
bly[1] = -20;
blsx[1] = 100;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 100;
bly[2] = -320;
blsx[2] = 100;
blsy[2] = 180;
blt[3] = 1;
blx[3] = 650;
bly[3] = -250;
blsx[3] = 150;
blsy[3] = 250;
blt[4] = 1;
blx[4] = 380;
bly[4] = -20;
blsx[4] = 120;
blsy[4] = 20;
blt[5] = 4;
blx[5] = 380;
bly[5] = -80;
blsx[5] = 120;
blsy[5] = 40;
blt[6] = 1;
blx[6] = 360;
bly[6] = -160;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 1;
blx[7] = 240;
bly[7] = -180;
blsx[7] = 40;
blsy[7] = 40;
blt[8] = 1;
blx[8] = 420;
bly[8] = -280;
blsx[8] = 80;
blsy[8] = 20;
blt[9] = 4;
blx[9] = 440;
bly[9] = -320;
blsx[9] = 60;
blsy[9] = 20;
blt[10] = 1;
blx[10] = 300;
bly[10] = -380;
blsx[10] = 100;
blsy[10] = 20;
blt[11] = 2;
blx[11] = 210;
bly[11] = -470;
blsx[11] = 10;
blsy[11] = 30;
bly[15] = 50;
prsc();
Frame 581
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 12) {
cbl1();
cbl2();
cbl3();
cbl4();
h1++;
}
dfall();
h2 = 1;
while (h2 < 5) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 150))) {
cblu();
cbg2();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 5) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 2) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 12) {
cbb1();
cbb4();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((py < -460) and (px < 260)) and (px > 200)) {
px = px + 100;
py = -20;
bly[15] = 100;
gotoAndPlay (585);
}
if (((px < 10) and (py < -39)) and (py > -140)) {
px = 780;
bly[15] = 100;
gotoAndPlay (565);
}
cxyz();
dscn();
if (py > bly[15]) {
pl = pl - 5;
}
if ((py - 80) > bly[15]) {
pl = -10;
}
bly[15] = bly[15] - 2;
if (pace > 12) {
bly[15] = bly[15] - 1;
}
risindoom._y = 100 + (bly[15] - camy);
Frame 582
gotoAndPlay (581);
Frame 590
f = 591;
timer = 1;
pace = 1;
csetup();
bt[1] = 21;
bl[1] = 20;
bx[1] = 360;
by[1] = -230;
bt[2] = 21;
bl[2] = 20;
bx[2] = 320;
by[2] = -250;
bt[3] = 21;
bl[3] = 20;
bx[3] = 680;
by[3] = -310;
blt[1] = 2;
blx[1] = 310;
bly[1] = -70;
blsx[1] = 10;
blsy[1] = 70;
blt[2] = 1;
blx[2] = 360;
bly[2] = -80;
blsx[2] = 40;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 150;
bly[3] = -220;
blsx[3] = 150;
blsy[3] = 220;
blt[4] = 1;
blx[4] = 360;
bly[4] = -180;
blsx[4] = 60;
blsy[4] = 20;
blt[5] = 1;
blx[5] = 700;
bly[5] = -140;
blsx[5] = 100;
blsy[5] = 140;
blt[6] = 1;
blx[6] = 610;
bly[6] = -420;
blsx[6] = 190;
blsy[6] = 80;
blt[7] = 1;
blx[7] = 400;
bly[7] = -280;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 1;
blx[8] = 320;
bly[8] = -340;
blsx[8] = 20;
blsy[8] = 20;
blt[9] = 3;
blx[9] = 320;
bly[9] = -380;
blsx[9] = 20;
blsy[9] = 20;
blt[10] = 3;
blx[10] = 400;
bly[10] = -320;
blsx[10] = 20;
blsy[10] = 20;
blt[11] = 6;
blx[11] = 440;
bly[11] = -70;
blsx[11] = 20;
blsy[11] = 10;
prsc();
Frame 591
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 340;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 12) {
cbl1();
cbl2();
cbl3_2();
cbl6();
h1++;
}
dfall();
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 150))) {
cblu();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 790) and (py < -279)) and (py > -340)) {
px = 30;
py = py + 240;
if ((boss[6] != 0) or (game == 5)) {
gotoAndPlay (2556);
}
if ((boss[6] == 0) and (game != 5)) {
gotoAndPlay (595);
}
}
if (((py > -10) and (px < 360)) and (px > 300)) {
px = px - 100;
py = -450;
gotoAndPlay (575);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
if (heart[6] == 0) {
htank._x = 100 + (50 - camx);
htank._y = 100 + (-450 - camy);
if (((((px + 8) > 50) and ((px - 8) < 50)) and (py > -450)) and ((py - 25) < -450)) {
lifeupsfx.start();
heart[6] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
htank._x = -2000;
htank._y = -2000;
}
}
dscn();
block11._x = 100 + (blx[11] - camx);
block11._y = 100 + (bly[11] - camy);
Frame 592
gotoAndPlay (591);
Frame 600
f = 601;
timer = 1;
pace = 1;
csetup();
bt[1] = 56;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 150 + (200 - dif);
bx[1] = 150;
by[1] = -40;
bf[1] = 300;
bx[10] = 18;
by[10] = 62;
blt[1] = 1;
blx[1] = 10;
bly[1] = -100;
blsx[1] = 10;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 290;
bly[2] = -100;
blsx[2] = 10;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 150;
bly[3] = -20;
blsx[3] = 150;
blsy[3] = 20;
Frame 601
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 4) {
cbl1();
h1++;
}
dfall();
boss6();
h1 = 1;
while (h1 < 80) {
h3 = h1 + random(100);
h1++;
}
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 295) {
px = 295;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 200) {
camx = 200;
}
camy = py;
if (camy < -100) {
camy = -100;
}
if (camy > -50) {
camy = -50;
}
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
Frame 602
gotoAndPlay (601);
Frame 610
f = 611;
timer = 1;
pace = 1;
csetup();
bt[1] = 15;
bl[1] = 6;
bx[1] = 300;
by[1] = -200;
bt[2] = 13;
bl[2] = 10;
bx[2] = 380;
by[2] = -280;
bt[3] = 13;
bl[3] = 10;
bx[3] = 460;
by[3] = -280;
bt[4] = 15;
bl[4] = 6;
bx[4] = 600;
by[4] = -200;
blt[1] = 1;
blx[1] = 400;
bly[1] = -400;
blsx[1] = 400;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 20;
bly[2] = -250;
blsx[2] = 20;
blsy[2] = 50;
blt[3] = 1;
blx[3] = 300;
bly[3] = -280;
blsx[3] = 20;
blsy[3] = 20;
blt[4] = 1;
blx[4] = 540;
bly[4] = -280;
blsx[4] = 20;
blsy[4] = 20;
blt[5] = 1;
blx[5] = 400;
bly[5] = -100;
blsx[5] = 400;
blsy[5] = 100;
blt[6] = 1;
blx[6] = 780;
bly[6] = -280;
blsx[6] = 20;
blsy[6] = 20;
prsc();
Frame 611
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 80;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
h1++;
}
dfall();
h2 = 1;
while (h2 < 5) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg13();
cbg15();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 790) and (py < -199)) and (py > -300)) {
px = 20;
gotoAndPlay (615);
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = -220;
dscn();
st5._x = st5._x - 25;
if (st5._x < -70) {
st5._x = 230 + random(20);
st5._y = 10 + random(130);
}
st6._x = st6._x - 25;
if (st6._x < -70) {
st6._x = 230 + random(20);
st6._y = 10 + random(130);
}
st7._x = st7._x - 25;
if (st7._x < -70) {
st7._x = 230 + random(20);
st7._y = 10 + random(130);
}
Frame 612
gotoAndPlay (611);
Frame 620
f = 621;
timer = 1;
pace = 1;
csetup();
bt[1] = 13;
bl[1] = 10;
bx[1] = 100;
by[1] = -280;
bt[2] = 13;
bl[2] = 10;
bx[2] = 200;
by[2] = -280;
bt[3] = 13;
bl[3] = 10;
bx[3] = 280;
by[3] = -280;
bt[4] = 13;
bl[4] = 10;
bx[4] = 380;
by[4] = -280;
bt[5] = 13;
bl[5] = 10;
bx[5] = 460;
by[5] = -280;
bt[6] = 8;
bl[6] = 4;
bx[6] = 410;
by[6] = -270;
bt[7] = 10;
bl[7] = 4;
bx[7] = 650;
by[7] = -200;
bt[8] = 10;
bl[8] = 4;
bx[8] = 170;
by[8] = -200;
blt[1] = 1;
blx[1] = 400;
bly[1] = -400;
blsx[1] = 400;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 400;
bly[2] = -100;
blsx[2] = 400;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 20;
bly[3] = -280;
blsx[3] = 20;
blsy[3] = 20;
blt[4] = 1;
blx[4] = 240;
bly[4] = -280;
blsx[4] = 20;
blsy[4] = 20;
blt[5] = 1;
blx[5] = 500;
bly[5] = -280;
blsx[5] = 20;
blsy[5] = 20;
blt[6] = 1;
blx[6] = 780;
bly[6] = -280;
blsx[6] = 20;
blsy[6] = 20;
prsc();
Frame 621
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg8();
cbg10();
cbg13();
mbad();
}
}
h2++;
}
cbgs();
h2 = 7;
while (h2 < 9) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 10) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 7) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -199)) and (py > -300)) {
px = 20;
py = py + 160;
gotoAndPlay (625);
}
if (((px < 10) and (py < -199)) and (py > -300)) {
px = 780;
gotoAndPlay (605);
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = -220;
dscn();
st5._x = st5._x - 25;
if (st5._x < -70) {
st5._x = 230 + random(20);
st5._y = 10 + random(130);
}
st6._x = st6._x - 25;
if (st6._x < -70) {
st6._x = 230 + random(20);
st6._y = 10 + random(130);
}
st7._x = st7._x - 25;
if (st7._x < -70) {
st7._x = 230 + random(20);
st7._y = 10 + random(130);
}
Frame 622
gotoAndPlay (621);
Frame 630
f = 631;
timer = 1;
pace = 1;
csetup();
bt[1] = 7;
bl[1] = 4;
bx[1] = 540;
by[1] = -40;
bt[2] = 7;
bl[2] = 4;
bx[2] = 330;
by[2] = -40;
bt[3] = 13;
bl[3] = 10;
bx[3] = 280;
by[3] = -120;
bt[4] = 8;
bl[4] = 4;
bx[4] = 450;
by[4] = -100;
bt[5] = 13;
bl[5] = 10;
bx[5] = 100;
by[5] = -120;
bt[6] = 13;
bl[6] = 10;
bx[6] = 710;
by[6] = -120;
blt[1] = 1;
blx[1] = 20;
bly[1] = -120;
blsx[1] = 20;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 60;
bly[2] = -160;
blsx[2] = 60;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 70;
bly[3] = -20;
blsx[3] = 70;
blsy[3] = 20;
blt[4] = 1;
blx[4] = 330;
bly[4] = -160;
blsx[4] = 110;
blsy[4] = 20;
blt[5] = 1;
blx[5] = 330;
bly[5] = -120;
blsx[5] = 30;
blsy[5] = 20;
blt[6] = 1;
blx[6] = 330;
bly[6] = -20;
blsx[6] = 110;
blsy[6] = 20;
blt[7] = 1;
blx[7] = 710;
bly[7] = -160;
blsx[7] = 90;
blsy[7] = 20;
blt[8] = 1;
blx[8] = 700;
bly[8] = -20;
blsx[8] = 100;
blsy[8] = 20;
blt[9] = 8;
blx[9] = 520;
bly[9] = -20;
blsx[9] = 40;
blsy[9] = 20;
prsc();
Frame 631
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 10) {
cbl1();
cbl8();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg7();
cbg8();
cbg13();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 3) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 7) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 10) {
cbb1();
cbb6_9();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -39)) and (py > -140)) {
px = 20;
gotoAndPlay (635);
}
if (((px < 10) and (py < -39)) and (py > -140)) {
px = 780;
py = py - 160;
gotoAndPlay (615);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
st5._x = st5._x - 25;
if (st5._x < -70) {
st5._x = 230 + random(20);
st5._y = 10 + random(130);
}
st6._x = st6._x - 25;
if (st6._x < -70) {
st6._x = 230 + random(20);
st6._y = 10 + random(130);
}
st7._x = st7._x - 25;
if (st7._x < -70) {
st7._x = 230 + random(20);
st7._y = 10 + random(130);
}
Frame 632
gotoAndPlay (631);
Frame 640
f = 641;
timer = 1;
pace = 1;
csetup();
bt[1] = 10;
bl[1] = 4;
bx[1] = 200;
by[1] = -40;
bt[2] = 10;
bl[2] = 4;
bx[2] = 620;
by[2] = -200;
bt[3] = 6;
bl[3] = 6;
bx[3] = 500;
by[3] = -200;
bt[4] = 6;
bl[4] = 6;
bx[4] = 600;
by[4] = -260;
bt[5] = 16;
bl[5] = 4;
bx[5] = 260;
by[5] = -40;
blt[1] = 1;
blx[1] = 140;
bly[1] = -160;
blsx[1] = 140;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 260;
bly[2] = -120;
blsx[2] = 20;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 150;
bly[3] = -20;
blsx[3] = 150;
blsy[3] = 20;
blt[4] = 1;
blx[4] = 590;
bly[4] = -60;
blsx[4] = 210;
blsy[4] = 60;
blt[5] = 1;
blx[5] = 740;
bly[5] = -170;
blsx[5] = 60;
blsy[5] = 50;
blt[6] = 4;
blx[6] = 530;
bly[6] = -170;
blsx[6] = 150;
blsy[6] = 50;
prsc();
Frame 641
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
cbl4();
h1++;
}
dfall();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg6();
cbg10();
cbg16();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 3) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 10) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 7) {
cbb1();
cbb4();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -219)) and (py > -320)) {
px = 20;
py = py + 120;
gotoAndPlay (645);
}
if (((px < 10) and (py < -39)) and (py > -140)) {
px = 780;
gotoAndPlay (625);
}
cxyz();
dscn();
st5._x = st5._x - 25;
if (st5._x < -70) {
st5._x = 230 + random(20);
st5._y = 10 + random(130);
}
st6._x = st6._x - 25;
if (st6._x < -70) {
st6._x = 230 + random(20);
st6._y = 10 + random(130);
}
st7._x = st7._x - 25;
if (st7._x < -70) {
st7._x = 230 + random(20);
st7._y = 10 + random(130);
}
Frame 642
gotoAndPlay (641);
Frame 650
f = 651;
timer = 1;
pace = 1;
csetup();
bt[1] = 6;
bl[1] = 6;
bx[1] = 150;
by[1] = -170;
bt[2] = 6;
bl[2] = 6;
bx[2] = 540;
by[2] = -270;
bt[3] = 6;
bl[3] = 6;
bx[3] = 380;
by[3] = -260;
bt[4] = 10;
bl[4] = 4;
bx[4] = 270;
by[4] = -190;
bt[5] = 10;
bl[5] = 4;
bx[5] = 550;
by[5] = -190;
bt[6] = 10;
bl[6] = 4;
bx[6] = 750;
by[6] = -140;
blt[1] = 1;
blx[1] = 50;
bly[1] = -50;
blsx[1] = 50;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 410;
bly[2] = -80;
blsx[2] = 230;
blsy[2] = 80;
blt[3] = 1;
blx[3] = 410;
bly[3] = -190;
blsx[3] = 50;
blsy[3] = 30;
blt[4] = 1;
blx[4] = 750;
bly[4] = -70;
blsx[4] = 50;
blsy[4] = 70;
blt[5] = 2;
blx[5] = 170;
bly[5] = -130;
blsx[5] = 10;
blsy[5] = 70;
blt[6] = 4;
blx[6] = 270;
bly[6] = -190;
blsx[6] = 90;
blsy[6] = 30;
blt[7] = 5;
blx[7] = 550;
bly[7] = -190;
blsx[7] = 90;
blsy[7] = 30;
prsc();
Frame 651
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 8) {
cbl1();
cbl2();
cbl4();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg6();
cbg10();
mbad();
}
}
h2++;
}
cbgs();
h2 = 4;
while (h2 < 7) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 10) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 8) {
cbb1();
cbb4();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -139)) and (py > -240)) {
px = 20;
py = py - 60;
gotoAndPlay (655);
}
if (((px < 10) and (py < -99)) and (py > -200)) {
px = 780;
py = py - 120;
gotoAndPlay (635);
}
cxyz();
dscn();
st5._x = st5._x - 25;
if (st5._x < -70) {
st5._x = 230 + random(20);
st5._y = 10 + random(130);
}
st6._x = st6._x - 25;
if (st6._x < -70) {
st6._x = 230 + random(20);
st6._y = 10 + random(130);
}
st7._x = st7._x - 25;
if (st7._x < -70) {
st7._x = 230 + random(20);
st7._y = 10 + random(130);
}
Frame 652
gotoAndPlay (651);
Frame 660
f = 661;
timer = 1;
pace = 1;
csetup();
bt[1] = 8;
bl[1] = 4;
bx[1] = 200;
by[1] = -260;
bt[2] = 8;
bl[2] = 4;
bx[2] = 230;
by[2] = -280;
bt[3] = 19;
bd[3] = 1;
bl[3] = 4;
bx[3] = 500;
by[3] = -210;
bt[4] = 8;
bl[4] = 4;
bx[4] = 600;
by[4] = -300;
bt[5] = 6;
bl[5] = 6;
bx[5] = 610;
by[5] = -310;
bt[6] = 10;
bl[6] = 4;
bx[6] = 210;
by[6] = -200;
bt[7] = 10;
bl[7] = 4;
bx[7] = 620;
by[7] = -240;
blt[1] = 1;
blx[1] = 150;
bly[1] = -100;
blsx[1] = 150;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 440;
bly[2] = -140;
blsx[2] = 60;
blsy[2] = 60;
blt[3] = 1;
blx[3] = 440;
bly[3] = -10;
blsx[3] = 60;
blsy[3] = 10;
blt[4] = 1;
blx[4] = 650;
bly[4] = -120;
blsx[4] = 150;
blsy[4] = 120;
blt[5] = 10;
blx[5] = 340;
bly[5] = -160;
blsx[5] = 40;
blsy[5] = 40;
prsc();
Frame 661
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 6) {
cbl1();
cbl30();
cbl11_29();
cbl10();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg6();
cbg8();
cbg10();
cbg19();
mbad();
}
}
h2++;
}
cbgs();
h2 = 6;
while (h2 < 8) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 10) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 6) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -239)) and (py > -340)) {
px = 20;
gotoAndPlay (665);
}
if (((px < 10) and (py < -199)) and (py > -300)) {
px = 780;
py = py + 60;
gotoAndPlay (645);
}
cxyz();
if (heart[7] == 0) {
htank._x = 100 + (470 - camx);
htank._y = 100 + (-30 - camy);
if (((((px + 8) > 470) and ((px - 8) < 470)) and (py > -30)) and ((py - 25) < -30)) {
lifeupsfx.start();
heart[7] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
htank._x = -2000;
htank._y = -2000;
}
}
dscn();
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
st5._x = st5._x - 25;
if (st5._x < -70) {
st5._x = 230 + random(20);
st5._y = 10 + random(130);
}
st6._x = st6._x - 25;
if (st6._x < -70) {
st6._x = 230 + random(20);
st6._y = 10 + random(130);
}
st7._x = st7._x - 25;
if (st7._x < -70) {
st7._x = 230 + random(20);
st7._y = 10 + random(130);
}
Frame 662
gotoAndPlay (661);
Frame 670
f = 671;
timer = 1;
pace = 1;
csetup();
bt[1] = 8;
bl[1] = 4;
bx[1] = 200;
by[1] = -300;
bt[2] = 8;
bl[2] = 4;
bx[2] = 640;
by[2] = -340;
bt[3] = 7;
bl[3] = 4;
bx[3] = 240;
by[3] = -220;
bt[4] = 7;
bl[4] = 4;
bx[4] = 360;
by[4] = -100;
bt[5] = 7;
bl[5] = 4;
bx[5] = 600;
by[5] = -140;
blt[1] = 1;
blx[1] = 60;
bly[1] = -120;
blsx[1] = 60;
blsy[1] = 120;
blt[2] = 1;
blx[2] = 760;
bly[2] = -200;
blsx[2] = 40;
blsy[2] = 20;
blt[3] = 9;
blx[3] = 160;
bly[3] = -200;
blsx[3] = 20;
blsy[3] = 20;
blt[4] = 6;
blx[4] = 240;
bly[4] = -200;
blsx[4] = 20;
blsy[4] = 20;
blt[5] = 7;
blx[5] = 360;
bly[5] = -80;
blsx[5] = 20;
blsy[5] = 20;
blt[6] = 8;
blx[6] = 440;
bly[6] = -80;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 9;
blx[7] = 520;
bly[7] = -320;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 6;
blx[8] = 520;
bly[8] = -60;
blsx[8] = 20;
blsy[8] = 20;
blt[9] = 8;
blx[9] = 600;
bly[9] = -120;
blsx[9] = 20;
blsy[9] = 20;
blt[10] = 9;
blx[10] = 680;
bly[10] = -280;
blsx[10] = 20;
blsy[10] = 20;
prsc();
Frame 671
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -240;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 11) {
cbl1();
cbl6();
cbl7();
cbl8();
cbl9();
h1++;
}
dfall();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg7();
cbg8();
mbad();
}
}
h2++;
}
cbgs();
h2 = 3;
while (h2 < 6) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 7) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 11) {
cbb1();
cbb6_9();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -219)) and (py > -320)) {
px = 20;
gotoAndPlay (675);
}
if (((px < 10) and (py < -239)) and (py > -340)) {
px = 780;
gotoAndPlay (655);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
st5._x = st5._x - 25;
if (st5._x < -70) {
st5._x = 230 + random(20);
st5._y = 10 + random(130);
}
st6._x = st6._x - 25;
if (st6._x < -70) {
st6._x = 230 + random(20);
st6._y = 10 + random(130);
}
st7._x = st7._x - 25;
if (st7._x < -70) {
st7._x = 230 + random(20);
st7._y = 10 + random(130);
}
block3._x = 100 + (blx[3] - camx);
block3._y = 100 + (bly[3] - camy);
block4._x = 100 + (blx[4] - camx);
block4._y = 100 + (bly[4] - camy);
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
block10._x = 100 + (blx[10] - camx);
block10._y = 100 + (bly[10] - camy);
Frame 672
gotoAndPlay (671);
Frame 680
f = 681;
timer = 1;
pace = 1;
csetup();
bt[1] = 6;
bl[1] = 6;
bx[1] = 200;
by[1] = -260;
bt[2] = 6;
bl[2] = 6;
bx[2] = 240;
by[2] = -220;
bt[3] = 8;
bl[3] = 4;
bx[3] = 220;
by[3] = -240;
bt[4] = 15;
bl[4] = 6;
bx[4] = 500;
by[4] = -140;
bt[5] = 8;
bl[5] = 4;
bx[5] = 500;
by[5] = -200;
bt[6] = 21;
bl[6] = 20;
bx[6] = 730;
by[6] = -150;
bt[7] = 21;
bl[7] = 20;
bx[7] = 750;
by[7] = -190;
blt[1] = 1;
blx[1] = 50;
bly[1] = -110;
blsx[1] = 50;
blsy[1] = 110;
blt[2] = 1;
blx[2] = 220;
bly[2] = -70;
blsx[2] = 120;
blsy[2] = 70;
blt[3] = 1;
blx[3] = 720;
bly[3] = -70;
blsx[3] = 80;
blsy[3] = 70;
blt[4] = 1;
blx[4] = 730;
bly[4] = -260;
blsx[4] = 70;
blsy[4] = 20;
blt[5] = 5;
blx[5] = 220;
bly[5] = -180;
blsx[5] = 120;
blsy[5] = 40;
blt[6] = 6;
blx[6] = 430;
bly[6] = -70;
blsx[6] = 50;
blsy[6] = 70;
prsc();
Frame 681
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -220;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
cbl5();
cbl6();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg6();
cbg8();
cbg15();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 790) and (py < -139)) and (py > -240)) {
px = 20;
py = py + 100;
gotoAndPlay (685);
}
if (((px < 10) and (py < -219)) and (py > -320)) {
px = 780;
gotoAndPlay (665);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
st5._x = st5._x - 25;
if (st5._x < -70) {
st5._x = 230 + random(20);
st5._y = 10 + random(130);
}
st6._x = st6._x - 25;
if (st6._x < -70) {
st6._x = 230 + random(20);
st6._y = 10 + random(130);
}
st7._x = st7._x - 25;
if (st7._x < -70) {
st7._x = 230 + random(20);
st7._y = 10 + random(130);
}
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
Frame 682
gotoAndPlay (681);
Frame 690
f = 691;
timer = 1;
pace = 1;
csetup();
bt[1] = 13;
bl[1] = 10;
bx[1] = 140;
by[1] = -120;
bt[2] = 16;
bl[2] = 4;
bx[2] = 180;
by[2] = -40;
bt[3] = 13;
bl[3] = 10;
bx[3] = 290;
by[3] = -120;
bt[4] = 13;
bl[4] = 10;
bx[4] = 330;
by[4] = -120;
bt[5] = 15;
bl[5] = 4;
bx[5] = 400;
by[5] = -40;
bt[6] = 8;
bl[6] = 4;
bx[6] = 550;
by[6] = -100;
bt[7] = 13;
bl[7] = 10;
bx[7] = 480;
by[7] = -120;
bt[8] = 13;
bl[8] = 10;
bx[8] = 640;
by[8] = -120;
bt[9] = 10;
bl[9] = 4;
bx[9] = 680;
by[9] = -40;
blt[1] = 1;
blx[1] = 400;
bly[1] = -20;
blsx[1] = 400;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 350;
bly[2] = -170;
blsx[2] = 350;
blsy[2] = 30;
blt[3] = 1;
blx[3] = 180;
bly[3] = -120;
blsx[3] = 20;
blsy[3] = 20;
blt[4] = 1;
blx[4] = 440;
bly[4] = -120;
blsx[4] = 20;
blsy[4] = 20;
blt[5] = 1;
blx[5] = 680;
bly[5] = -120;
blsx[5] = 20;
blsy[5] = 20;
blt[6] = 1;
blx[6] = 780;
bly[6] = -120;
blsx[6] = 20;
blsy[6] = 80;
blt[7] = 2;
blx[7] = 750;
bly[7] = -140;
blsx[7] = 10;
blsy[7] = 60;
prsc();
Frame 691
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 8) {
cbl1();
cbl2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 10) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg8();
cbg10();
cbg13();
cbg15();
cbg16();
mbad();
}
}
h2++;
}
cbgs();
h2 = 9;
while (h2 < 10) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 10) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 8) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((py < -160) and (px < 760)) and (px > 700)) {
px = 50;
py = -20;
pd = 0;
if ((boss[7] != 0) or (game == 5)) {
gotoAndPlay (2556);
}
if ((boss[7] == 0) and (game != 5)) {
gotoAndPlay (695);
}
}
if (((px < 10) and (py < -39)) and (py > -140)) {
px = 780;
py = py - 100;
gotoAndPlay (675);
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = -70;
dscn();
st5._x = st5._x - 25;
if (st5._x < -70) {
st5._x = 230 + random(20);
st5._y = 10 + random(130);
}
st6._x = st6._x - 25;
if (st6._x < -70) {
st6._x = 230 + random(20);
st6._y = 10 + random(130);
}
st7._x = st7._x - 25;
if (st7._x < -70) {
st7._x = 230 + random(20);
st7._y = 10 + random(130);
}
Frame 692
gotoAndPlay (691);
Frame 700
f = 701;
timer = 1;
pace = 1;
csetup();
bt[1] = 57;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 150 + (200 - dif);
bx[1] = 170;
by[1] = -20;
bf[1] = 300;
bx[10] = 20;
by[10] = 42;
blt[1] = 1;
blx[1] = 150;
bly[1] = 0;
blsx[1] = 160;
blsy[1] = 20;
Frame 701
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 50;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 2) {
cbl1();
h1++;
}
dfall();
boss7();
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 295) {
px = 295;
}
if (bx[1] < 30) {
bx[1] = 30;
}
if (bx[1] > 270) {
bx[1] = 270;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 200) {
camx = 200;
}
camy = -50;
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
st5._x = st5._x - 25;
if (st5._x < -70) {
st5._x = 230 + random(20);
st5._y = 10 + random(130);
}
st6._x = st6._x - 25;
if (st6._x < -70) {
st6._x = 230 + random(20);
st6._y = 10 + random(130);
}
st7._x = st7._x - 25;
if (st7._x < -70) {
st7._x = 230 + random(20);
st7._y = 10 + random(130);
}
Frame 702
gotoAndPlay (701);
Frame 710
f = 711;
timer = 1;
pace = 1;
csetup();
bt[1] = 11;
bl[1] = 12;
bx[1] = 250;
by[1] = -150;
bt[2] = 19;
bd[2] = 1;
bl[2] = 4;
bx[2] = 400;
by[2] = -160;
bt[3] = 19;
bd[3] = 1;
bl[3] = 4;
bx[3] = 400;
by[3] = -220;
bt[4] = 11;
bl[4] = 12;
bx[4] = 600;
by[4] = -400;
bt[5] = 4;
bl[5] = 4;
bx[5] = 440;
by[5] = -340;
blt[1] = 1;
blx[1] = 200;
bly[1] = -50;
blsx[1] = 200;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 600;
bly[2] = -150;
blsx[2] = 200;
blsy[2] = 150;
blt[3] = 1;
blx[3] = 380;
bly[3] = -120;
blsx[3] = 20;
blsy[3] = 20;
blt[4] = 1;
blx[4] = 360;
bly[4] = -280;
blsx[4] = 40;
blsy[4] = 20;
blt[5] = 1;
blx[5] = 680;
bly[5] = -340;
blsx[5] = 120;
blsy[5] = 40;
blt[6] = 4;
blx[6] = 440;
bly[6] = -340;
blsx[6] = 120;
blsy[6] = 40;
blt[7] = 33;
blx[7] = 300;
bly[7] = -680;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 34;
blx[8] = 240;
bly[8] = -760;
blsx[8] = 20;
blsy[8] = 20;
prsc();
Frame 711
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
cbl4();
cbl33_36();
h1++;
}
dfall();
cbla();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg4();
cbg11();
cbg19();
mbad();
}
}
h2++;
}
cbgs();
h2 = 5;
while (h2 < 6) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 4) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 9) {
cbb1();
cbb4();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -379)) and (py > -480)) {
px = 20;
py = py + 180;
gotoAndPlay (715);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
Frame 712
gotoAndPlay (711);
Frame 720
f = 721;
timer = 1;
pace = 1;
csetup();
bt[1] = 3;
bl[1] = 4;
bx[1] = 340;
by[1] = -280;
bt[2] = 3;
bl[2] = 4;
bx[2] = 460;
by[2] = -340;
bt[3] = 3;
bl[3] = 4;
bx[3] = 600;
by[3] = -360;
bt[4] = 4;
bl[4] = 4;
bx[4] = 730;
by[4] = -300;
blt[1] = 1;
blx[1] = 50;
bly[1] = -100;
blsx[1] = 50;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 720;
bly[2] = -260;
blsx[2] = 80;
blsy[2] = 40;
blt[3] = 33;
blx[3] = 160;
bly[3] = -680;
blsx[3] = 20;
blsy[3] = 20;
blt[4] = 34;
blx[4] = 260;
bly[4] = -720;
blsx[4] = 20;
blsy[4] = 20;
blt[5] = 35;
blx[5] = 320;
bly[5] = -700;
blsx[5] = 20;
blsy[5] = 20;
blt[6] = 36;
blx[6] = 380;
bly[6] = -280;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 33;
blx[7] = 420;
bly[7] = -760;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 34;
blx[8] = 520;
bly[8] = -740;
blsx[8] = 20;
blsy[8] = 20;
blt[9] = 35;
blx[9] = 560;
bly[9] = -780;
blsx[9] = 20;
blsy[9] = 20;
prsc();
Frame 721
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 10) {
cbl1();
cbl33_36();
h1++;
}
dfall();
cbla();
h2 = 1;
while (h2 < 5) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg3();
cbg4();
mbad();
}
}
h2++;
}
cbgs();
h2 = 4;
while (h2 < 5) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 4) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 10) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -299)) and (py > -400)) {
px = 20;
gotoAndPlay (725);
}
if (((px < 10) and (py < -199)) and (py > -300)) {
px = 780;
py = py - 180;
gotoAndPlay (705);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block3._x = 100 + (blx[3] - camx);
block3._y = 100 + (bly[3] - camy);
block4._x = 100 + (blx[4] - camx);
block4._y = 100 + (bly[4] - camy);
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
Frame 722
gotoAndPlay (721);
Frame 730
f = 731;
timer = 1;
pace = 1;
csetup();
bt[1] = 11;
bl[1] = 12;
bx[1] = 500;
by[1] = -100;
bt[2] = 11;
bl[2] = 12;
bx[2] = 200;
by[2] = -340;
bt[3] = 3;
bl[3] = 4;
bx[3] = 380;
by[3] = -280;
bt[4] = 3;
bl[4] = 4;
bx[4] = 380;
by[4] = -240;
bt[5] = 3;
bl[5] = 4;
bx[5] = 440;
by[5] = -230;
bt[6] = 4;
bl[6] = 4;
bx[6] = 220;
by[6] = -280;
bt[7] = 4;
bl[7] = 4;
bx[7] = 600;
by[7] = -40;
blt[1] = 1;
blx[1] = 80;
bly[1] = -260;
blsx[1] = 80;
blsy[1] = 40;
blt[2] = 1;
blx[2] = 250;
bly[2] = -220;
blsx[2] = 90;
blsy[2] = 20;
blt[3] = 5;
blx[3] = 250;
bly[3] = -270;
blsx[3] = 90;
blsy[3] = 30;
blt[4] = 1;
blx[4] = 580;
bly[4] = -20;
blsx[4] = 220;
blsy[4] = 20;
blt[5] = 2;
blx[5] = 350;
bly[5] = -180;
blsx[5] = 10;
blsy[5] = 100;
prsc();
Frame 731
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -300;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 6) {
cbl1();
cbl2();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg3();
cbg4();
cbg11();
mbad();
}
}
h2++;
}
cbgs();
h2 = 6;
while (h2 < 8) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 4) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 6) {
cbb1();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -39)) and (py > -140)) {
px = 20;
gotoAndPlay (735);
}
if (((px < 10) and (py < -299)) and (py > -400)) {
px = 780;
gotoAndPlay (715);
}
cxyz();
dscn();
Frame 732
gotoAndPlay (731);
Frame 740
f = 741;
timer = 1;
pace = 1;
csetup();
bt[1] = 4;
bl[1] = 4;
bx[1] = 180;
by[1] = -40;
bt[2] = 4;
bl[2] = 4;
bx[2] = 750;
by[2] = -420;
bt[3] = 4;
bl[3] = 4;
bx[3] = 530;
by[3] = -230;
bt[4] = 11;
bl[4] = 12;
bx[4] = 320;
by[4] = -100;
bt[5] = 11;
bl[5] = 12;
bx[5] = 660;
by[5] = -280;
blt[1] = 1;
blx[1] = 150;
bly[1] = -20;
blsx[1] = 150;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 620;
bly[2] = -180;
blsx[2] = 180;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 660;
bly[3] = -230;
blsx[3] = 40;
blsy[3] = 30;
blt[4] = 1;
blx[4] = 770;
bly[4] = -400;
blsx[4] = 30;
blsy[4] = 20;
blt[5] = 3;
blx[5] = 750;
bly[5] = -220;
blsx[5] = 50;
blsy[5] = 20;
blt[6] = 4;
blx[6] = 530;
bly[6] = -230;
blsx[6] = 90;
blsy[6] = 30;
blt[7] = 33;
blx[7] = 360;
bly[7] = -540;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 34;
blx[8] = 440;
bly[8] = -560;
blsx[8] = 20;
blsy[8] = 20;
blt[9] = 35;
blx[9] = 380;
bly[9] = -640;
blsx[9] = 20;
blsy[9] = 20;
blt[10] = 33;
blx[10] = 760;
bly[10] = -800;
blsx[10] = 20;
blsy[10] = 20;
blt[11] = 34;
blx[11] = 680;
bly[11] = -860;
blsx[11] = 20;
blsy[11] = 20;
prsc();
Frame 741
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 12) {
cbl1();
cbl3();
cbl4();
cbl33_36();
h1++;
}
dfall();
cbla();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg4();
cbg11();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 4) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 4) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 12) {
cbb1();
cbb4();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -419)) and (py > -500)) {
px = 20;
gotoAndPlay (745);
}
if (((px < 10) and (py < -39)) and (py > -140)) {
px = 780;
gotoAndPlay (725);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
block10._x = 100 + (blx[10] - camx);
block10._y = 100 + (bly[10] - camy);
block11._x = 100 + (blx[11] - camx);
block11._y = 100 + (bly[11] - camy);
Frame 742
gotoAndPlay (741);
Frame 750
f = 751;
timer = 1;
pace = 1;
csetup();
bt[1] = 11;
bl[1] = 12;
bx[1] = 200;
by[1] = -350;
bt[2] = 3;
bl[2] = 4;
bx[2] = 360;
by[2] = -300;
bt[3] = 3;
bl[3] = 4;
bx[3] = 400;
by[3] = -300;
bt[4] = 3;
bl[4] = 4;
bx[4] = 730;
by[4] = -170;
bt[5] = 3;
bl[5] = 4;
bx[5] = 730;
by[5] = -70;
bt[6] = 1;
bl[6] = 4;
bx[6] = 620;
by[6] = -240;
blt[1] = 1;
blx[1] = 50;
bly[1] = -400;
blsx[1] = 50;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 350;
bly[2] = -220;
blsx[2] = 50;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 610;
bly[3] = -220;
blsx[3] = 70;
blsy[3] = 20;
blt[4] = 2;
blx[4] = 690;
bly[4] = -140;
blsx[4] = 10;
blsy[4] = 140;
blt[5] = 10;
blx[5] = 460;
bly[5] = -200;
blsx[5] = 20;
blsy[5] = 20;
blt[6] = 44;
blx[6] = 160;
bly[6] = -460;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 43;
blx[7] = 240;
bly[7] = -40;
blsx[7] = 20;
blsy[7] = 20;
prsc();
Frame 751
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -420;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 8) {
cbl1();
cbl2();
cbl30();
cbl11_29();
cbl10();
cbl43();
cbl44();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg3();
cbg11();
mbad();
}
}
h2++;
}
cbgs();
h2 = 6;
while (h2 < 7) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 1) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 8) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((py > -10) and (px < 700)) and (px > 680)) {
px = px - 600;
py = -450;
gotoAndPlay (755);
}
if (((px < 10) and (py < -419)) and (py > -500)) {
px = 780;
gotoAndPlay (735);
}
cxyz();
dscn();
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
Frame 752
gotoAndPlay (751);
Frame 760
f = 761;
timer = 1;
pace = 1;
csetup();
bt[1] = 11;
bl[1] = 12;
bx[1] = 340;
by[1] = -400;
bt[2] = 1;
bl[2] = 4;
bx[2] = 260;
by[2] = -360;
bt[3] = 1;
bl[3] = 4;
bx[3] = 250;
by[3] = -200;
bt[4] = 4;
bl[4] = 4;
bx[4] = 150;
by[4] = -200;
bt[5] = 1;
bl[5] = 4;
bx[5] = 200;
by[5] = -40;
bt[6] = 4;
bl[6] = 4;
bx[6] = 500;
by[6] = -40;
bt[7] = 1;
bl[7] = 4;
bx[7] = 550;
by[7] = -40;
blt[1] = 2;
blx[1] = 90;
bly[1] = -450;
blsx[1] = 10;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 150;
bly[2] = -330;
blsx[2] = 150;
blsy[2] = 30;
blt[3] = 1;
blx[3] = 30;
bly[3] = -170;
blsx[3] = 30;
blsy[3] = 130;
blt[4] = 1;
blx[4] = 400;
bly[4] = -20;
blsx[4] = 400;
blsy[4] = 20;
blt[5] = 1;
blx[5] = 260;
bly[5] = -170;
blsx[5] = 120;
blsy[5] = 30;
blt[6] = 1;
blx[6] = 440;
bly[6] = -320;
blsx[6] = 60;
blsy[6] = 180;
blt[7] = 1;
blx[7] = 700;
bly[7] = -90;
blsx[7] = 100;
blsy[7] = 50;
blt[8] = 1;
blx[8] = 750;
bly[8] = -190;
blsx[8] = 50;
blsy[8] = 50;
blt[9] = 1;
blx[9] = 750;
bly[9] = -400;
blsx[9] = 50;
blsy[9] = 40;
blt[10] = 3;
blx[10] = 230;
bly[10] = -380;
blsx[10] = 50;
blsy[10] = 20;
blt[11] = 3;
blx[11] = 220;
bly[11] = -280;
blsx[11] = 40;
blsy[11] = 20;
blt[12] = 3;
blx[12] = 90;
bly[12] = -60;
blsx[12] = 30;
blsy[12] = 20;
blt[13] = 3;
blx[13] = 260;
bly[13] = -60;
blsx[13] = 20;
blsy[13] = 20;
prsc();
Frame 761
cp1u();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -360;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 14) {
cbl1();
cbl2();
cbl3();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg4();
cbg11();
mbad();
}
}
h2++;
}
cbgs();
h2 = 2;
while (h2 < 8) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 1) or (bt[h2] == 4)) {
h4 = 0;
h1 = 1;
while (h1 < 14) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 7;
}
}
}
h2++;
}
if (((px > 780) and (py < -239)) and (py > -340)) {
px = 20;
gotoAndPlay (765);
}
if (((py < -460) and (px < 100)) and (px > 80)) {
px = px + 600;
py = -20;
gotoAndPlay (745);
}
cxyz();
if (heart[8] == 0) {
htank._x = 100 + (770 - camx);
htank._y = 100 + (-450 - camy);
if (((((px + 8) > 770) and ((px - 8) < 770)) and (py > -450)) and ((py - 25) < -450)) {
lifeupsfx.start();
heart[8] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
htank._x = -2000;
htank._y = -2000;
}
}
dscn();
st1._y = st1._y - 7;
st1._x = (st1._x - 3) + random(7);
if (((st1._y < -20) or (st1._x < -20)) or (st1._x > 220)) {
st1._x = 20 + random(161);
st1._y = 160;
}
st2._y = st2._y - 11;
st2._x = (st2._x - 5) + random(11);
if (((st2._y < -20) or (st2._x < -20)) or (st2._x > 220)) {
st2._x = 20 + random(161);
st2._y = 160;
}
st3._y = st3._y - 9;
st3._x = (st3._x - 4) + random(9);
if (((st3._y < -20) or (st3._x < -20)) or (st3._x > 220)) {
st3._x = 20 + random(161);
st3._y = 160;
}
Frame 762
gotoAndPlay (761);
Frame 770
f = 771;
timer = 1;
pace = 1;
csetup();
bt[1] = 11;
bl[1] = 12;
bx[1] = 240;
by[1] = -300;
bt[2] = 11;
bl[2] = 12;
bx[2] = 700;
by[2] = -300;
bt[3] = 11;
bl[3] = 12;
bx[3] = 720;
by[3] = -290;
bt[4] = 11;
bl[4] = 12;
bx[4] = 740;
by[4] = -280;
bt[5] = 11;
bl[5] = 12;
bx[5] = 710;
by[5] = -270;
blt[1] = 1;
blx[1] = 100;
bly[1] = -400;
blsx[1] = 100;
blsy[1] = 40;
blt[2] = 1;
blx[2] = 100;
bly[2] = -120;
blsx[2] = 100;
blsy[2] = 120;
blt[3] = 1;
blx[3] = 590;
bly[3] = -310;
blsx[3] = 30;
blsy[3] = 90;
blt[4] = 1;
blx[4] = 710;
bly[4] = -240;
blsx[4] = 90;
blsy[4] = 20;
blt[5] = 1;
blx[5] = 750;
bly[5] = -370;
blsx[5] = 50;
blsy[5] = 30;
blt[6] = 33;
blx[6] = 280;
bly[6] = -760;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 34;
blx[7] = 360;
bly[7] = -860;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 35;
blx[8] = 480;
bly[8] = -860;
blsx[8] = 20;
blsy[8] = 20;
prsc();
Frame 771
cp1u();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -240;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
cbl33_36();
h1++;
}
dfall();
cbla();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg11();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 780) and (py < -259)) and (py > -340)) {
px = 20;
py = py + 60;
gotoAndPlay (775);
}
if (((px < 10) and (py < -239)) and (py > -340)) {
px = 780;
gotoAndPlay (755);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
st1._y = st1._y - 7;
st1._x = (st1._x - 3) + random(7);
if (((st1._y < -20) or (st1._x < -20)) or (st1._x > 220)) {
st1._x = 20 + random(161);
st1._y = 160;
}
st2._y = st2._y - 11;
st2._x = (st2._x - 5) + random(11);
if (((st2._y < -20) or (st2._x < -20)) or (st2._x > 220)) {
st2._x = 20 + random(161);
st2._y = 160;
}
st3._y = st3._y - 9;
st3._x = (st3._x - 4) + random(9);
if (((st3._y < -20) or (st3._x < -20)) or (st3._x > 220)) {
st3._x = 20 + random(161);
st3._y = 160;
}
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
Frame 772
gotoAndPlay (771);
Frame 780
f = 781;
timer = 1;
pace = 1;
csetup();
bt[1] = 13;
bl[1] = 10;
bx[1] = 320;
by[1] = -420;
bt[2] = 13;
bl[2] = 10;
bx[2] = 560;
by[2] = -420;
bt[3] = 13;
bl[3] = 10;
bx[3] = 320;
by[3] = -120;
bt[4] = 13;
bl[4] = 10;
bx[4] = 560;
by[4] = -120;
bt[5] = 19;
bl[5] = 4;
bx[5] = 220;
by[5] = -320;
bt[6] = 19;
bl[6] = 4;
bx[6] = 220;
by[6] = -150;
bt[7] = 11;
bl[7] = 12;
bx[7] = 680;
by[7] = -230;
bt[8] = 1;
bl[8] = 4;
bx[8] = 450;
by[8] = -340;
bt[9] = 1;
bl[9] = 4;
bx[9] = 450;
by[9] = -40;
blt[1] = 1;
blx[1] = 110;
bly[1] = -390;
blsx[1] = 110;
blsy[1] = 110;
blt[2] = 1;
blx[2] = 110;
bly[2] = -100;
blsx[2] = 110;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 440;
bly[3] = -470;
blsx[3] = 220;
blsy[3] = 30;
blt[4] = 1;
blx[4] = 440;
bly[4] = -240;
blsx[4] = 140;
blsy[4] = 100;
blt[5] = 1;
blx[5] = 440;
bly[5] = -20;
blsx[5] = 220;
blsy[5] = 20;
blt[6] = 1;
blx[6] = 730;
bly[6] = -100;
blsx[6] = 70;
blsy[6] = 100;
blt[7] = 1;
blx[7] = 680;
bly[7] = -390;
blsx[7] = 20;
blsy[7] = 110;
blt[8] = 1;
blx[8] = 780;
bly[8] = -350;
blsx[8] = 20;
blsy[8] = 150;
blt[9] = 2;
blx[9] = 730;
bly[9] = -380;
blsx[9] = 10;
blsy[9] = 120;
prsc();
Frame 781
cp1u();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 10) {
cbl1();
cbl2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 10) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg11();
cbg13();
cbg19();
mbad();
}
}
h2++;
}
cbgs();
h2 = 8;
while (h2 < 10) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 1) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 10) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 7;
}
}
}
h2++;
}
if (((py < -460) and (px < 760)) and (px > 700)) {
py = -20;
gotoAndPlay (785);
}
if (((px < 10) and (py < -199)) and (py > -280)) {
px = 780;
py = py - 60;
gotoAndPlay (765);
}
cxyz();
dscn();
st1._y = st1._y - 7;
st1._x = (st1._x - 3) + random(7);
if (((st1._y < -20) or (st1._x < -20)) or (st1._x > 220)) {
st1._x = 20 + random(161);
st1._y = 160;
}
st2._y = st2._y - 11;
st2._x = (st2._x - 5) + random(11);
if (((st2._y < -20) or (st2._x < -20)) or (st2._x > 220)) {
st2._x = 20 + random(161);
st2._y = 160;
}
st3._y = st3._y - 9;
st3._x = (st3._x - 4) + random(9);
if (((st3._y < -20) or (st3._x < -20)) or (st3._x > 220)) {
st3._x = 20 + random(161);
st3._y = 160;
}
Frame 782
gotoAndPlay (781);
Frame 790
f = 791;
timer = 1;
pace = 1;
csetup();
bt[1] = 11;
bl[1] = 12;
bx[1] = 720;
by[1] = -160;
bt[2] = 11;
bl[2] = 12;
bx[2] = 780;
by[2] = -160;
blt[1] = 1;
blx[1] = 50;
bly[1] = -380;
blsx[1] = 50;
blsy[1] = 120;
blt[2] = 1;
blx[2] = 50;
bly[2] = -100;
blsx[2] = 50;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 680;
bly[3] = -60;
blsx[3] = 20;
blsy[3] = 60;
blt[4] = 1;
blx[4] = 780;
bly[4] = -60;
blsx[4] = 20;
blsy[4] = 60;
blt[5] = 2;
blx[5] = 730;
bly[5] = -90;
blsx[5] = 10;
blsy[5] = 90;
blt[6] = 33;
blx[6] = 160;
bly[6] = -700;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 36;
blx[7] = 220;
bly[7] = -240;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 35;
blx[8] = 280;
bly[8] = -760;
blsx[8] = 20;
blsy[8] = 20;
blt[9] = 34;
blx[9] = 380;
bly[9] = -780;
blsx[9] = 20;
blsy[9] = 20;
blt[10] = 33;
blx[10] = 480;
bly[10] = -780;
blsx[10] = 20;
blsy[10] = 20;
blt[11] = 36;
blx[11] = 580;
bly[11] = -300;
blsx[11] = 20;
blsy[11] = 20;
blt[12] = 35;
blx[12] = 680;
bly[12] = -780;
blsx[12] = 20;
blsy[12] = 20;
blt[13] = 34;
blx[13] = 680;
bly[13] = -740;
blsx[13] = 20;
blsy[13] = 20;
blt[14] = 33;
blx[14] = 600;
bly[14] = -660;
blsx[14] = 20;
blsy[14] = 20;
prsc();
Frame 791
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 790;
py = -120;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 15) {
cbl1();
cbl2();
cbl33_36();
h1++;
}
dfall();
cbla();
h2 = 1;
while (h2 < 3) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg11();
mbad();
}
}
h2++;
}
cbgs();
if (((px < 10) and (py < -199)) and (py > -260)) {
px = 370;
py = py + 160;
if ((boss[8] != 0) or (game == 5)) {
gotoAndPlay (2556);
}
if ((boss[8] == 0) and (game != 5)) {
gotoAndPlay (795);
}
}
if (((py > -10) and (px < 760)) and (px > 700)) {
py = -450;
gotoAndPlay (775);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
block10._x = 100 + (blx[10] - camx);
block10._y = 100 + (bly[10] - camy);
block11._x = 100 + (blx[11] - camx);
block11._y = 100 + (bly[11] - camy);
block12._x = 100 + (blx[12] - camx);
block12._y = 100 + (bly[12] - camy);
block13._x = 100 + (blx[13] - camx);
block13._y = 100 + (bly[13] - camy);
block14._x = 100 + (blx[14] - camx);
block14._y = 100 + (bly[14] - camy);
Frame 792
gotoAndPlay (791);
Frame 800
f = 801;
timer = 1;
pace = 1;
csetup();
bt[1] = 58;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 150 + (200 - dif);
bx[1] = 200;
by[1] = -40;
bf[1] = 300;
bx[10] = 18;
by[10] = 62;
blt[1] = 1;
blx[1] = 10;
bly[1] = -100;
blsx[1] = 10;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 390;
bly[2] = -100;
blsx[2] = 10;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 200;
bly[3] = -20;
blsx[3] = 180;
blsy[3] = 20;
Frame 801
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 300;
py = -40;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 4) {
cbl1();
h1++;
}
dfall();
boss8();
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 395) {
px = 395;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 300) {
camx = 300;
}
camy = py;
if (camy < -100) {
camy = -100;
}
if (camy > -50) {
camy = -50;
}
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
Frame 802
gotoAndPlay (801);
Frame 810
f = 811;
timer = 1;
pace = 1;
csetup();
bt[1] = 3;
bl[1] = 4;
bx[1] = 200;
by[1] = -280;
bt[2] = 3;
bl[2] = 4;
bx[2] = 350;
by[2] = -300;
bt[3] = 3;
bl[3] = 4;
bx[3] = 490;
by[3] = -300;
bt[4] = 3;
bl[4] = 4;
bx[4] = 620;
by[4] = -280;
blt[1] = 1;
blx[1] = 400;
bly[1] = -420;
blsx[1] = 400;
blsy[1] = 80;
blt[2] = 1;
blx[2] = 100;
bly[2] = -100;
blsx[2] = 100;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 420;
bly[3] = -60;
blsx[3] = 220;
blsy[3] = 60;
blt[4] = 1;
blx[4] = 720;
bly[4] = -100;
blsx[4] = 80;
blsy[4] = 100;
blt[5] = 3;
blx[5] = 420;
bly[5] = -160;
blsx[5] = 220;
blsy[5] = 40;
blt[6] = 8;
blx[6] = 280;
bly[6] = -150;
blsx[6] = 40;
blsy[6] = 10;
blt[7] = 9;
blx[7] = 420;
bly[7] = -270;
blsx[7] = 40;
blsy[7] = 10;
blt[8] = 8;
blx[8] = 560;
bly[8] = -150;
blsx[8] = 40;
blsy[8] = 10;
prsc();
Frame 811
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
cbl3_2();
cbl8();
cbl9();
h1++;
}
dfall();
h2 = 1;
while (h2 < 5) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg3();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 790) and (py < -199)) and (py > -300)) {
px = 20;
gotoAndPlay (815);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
Frame 812
gotoAndPlay (811);
Frame 820
f = 821;
timer = 1;
pace = 1;
csetup();
bt[1] = 17;
bl[1] = 4;
bx[1] = 200;
by[1] = -320;
bt[2] = 14;
bl[2] = 3;
bx[2] = 500;
by[2] = -420;
bt[3] = 14;
bl[3] = 3;
bx[3] = 520;
by[3] = -380;
bt[4] = 15;
bl[4] = 6;
bx[4] = 220;
by[4] = -240;
bt[5] = 15;
bl[5] = 4;
bx[5] = 320;
by[5] = -280;
blt[1] = 1;
blx[1] = 230;
bly[1] = -100;
blsx[1] = 230;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 480;
bly[2] = -160;
blsx[2] = 20;
blsy[2] = 160;
blt[3] = 4;
blx[3] = 280;
bly[3] = -260;
blsx[3] = 180;
blsy[3] = 60;
blt[4] = 1;
blx[4] = 150;
bly[4] = -420;
blsx[4] = 150;
blsy[4] = 80;
blt[5] = 1;
blx[5] = 750;
bly[5] = -420;
blsx[5] = 50;
blsy[5] = 20;
blt[6] = 33;
blx[6] = 560;
bly[6] = -860;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 34;
blx[7] = 560;
bly[7] = -900;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 35;
blx[8] = 640;
bly[8] = -900;
blsx[8] = 20;
blsy[8] = 20;
prsc();
Frame 821
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
cbl4();
cbl33_36();
h1++;
}
dfall();
cbla();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg14();
cbg15();
cbg17();
cbg18();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 2) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
if (bt[h2] == 18) {
h4 = 0;
h1 = 1;
while (h1 < 9) {
cbb1();
cbb4();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -439)) and (py > -500)) {
px = 20;
gotoAndPlay (825);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
Frame 822
gotoAndPlay (821);
Frame 830
f = 831;
timer = 1;
pace = 1;
csetup();
blt[1] = 1;
blx[1] = 50;
bly[1] = -420;
blsx[1] = 50;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 630;
bly[2] = -350;
blsx[2] = 10;
blsy[2] = 150;
blt[3] = 1;
blx[3] = 720;
bly[3] = -390;
blsx[3] = 80;
blsy[3] = 110;
blt[4] = 1;
blx[4] = 750;
bly[4] = -100;
blsx[4] = 50;
blsy[4] = 100;
blt[5] = 1;
blx[5] = 670;
bly[5] = -100;
blsx[5] = 30;
blsy[5] = 20;
blt[6] = 9;
blx[6] = 160;
bly[6] = -410;
blsx[6] = 20;
blsy[6] = 10;
blt[7] = 7;
blx[7] = 320;
bly[7] = -210;
blsx[7] = 20;
blsy[7] = 10;
blt[8] = 9;
blx[8] = 320;
bly[8] = -250;
blsx[8] = 20;
blsy[8] = 10;
blt[9] = 8;
blx[9] = 420;
bly[9] = -210;
blsx[9] = 20;
blsy[9] = 10;
blt[10] = 6;
blx[10] = 340;
bly[10] = -290;
blsx[10] = 20;
blsy[10] = 10;
blt[11] = 9;
blx[11] = 580;
bly[11] = -250;
blsx[11] = 20;
blsy[11] = 10;
prsc();
Frame 831
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -440;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 12) {
cbl1();
cbl6_2();
cbl7_2();
cbl8_2();
cbl9_2();
h1++;
}
dfall();
if (((px > 790) and (py < -199)) and (py > -280)) {
px = 20;
gotoAndPlay (835);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
block10._x = 100 + (blx[10] - camx);
block10._y = 100 + (bly[10] - camy);
block11._x = 100 + (blx[11] - camx);
block11._y = 100 + (bly[11] - camy);
Frame 832
gotoAndPlay (831);
Frame 840
f = 841;
timer = 1;
pace = 1;
csetup();
bt[1] = 6;
bl[1] = 6;
bx[1] = 200;
by[1] = -300;
bt[2] = 6;
bl[2] = 6;
bx[2] = 320;
by[2] = -340;
bt[3] = 6;
bl[3] = 6;
bx[3] = 420;
by[3] = -320;
bt[4] = 6;
bl[4] = 6;
bx[4] = 500;
by[4] = -360;
bt[5] = 6;
bl[5] = 6;
bx[5] = 600;
by[5] = -360;
blt[1] = 1;
blx[1] = 50;
bly[1] = -390;
blsx[1] = 50;
blsy[1] = 110;
blt[2] = 1;
blx[2] = 50;
bly[2] = -100;
blsx[2] = 50;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 760;
bly[3] = -430;
blsx[3] = 40;
blsy[3] = 70;
blt[4] = 1;
blx[4] = 760;
bly[4] = -240;
blsx[4] = 40;
blsy[4] = 40;
blt[5] = 31;
blx[5] = 590;
bly[5] = -250;
blsx[5] = 50;
blsy[5] = 10;
blt[6] = 33;
blx[6] = 160;
bly[6] = -700;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 34;
blx[7] = 240;
bly[7] = -740;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 35;
blx[8] = 280;
bly[8] = -740;
blsx[8] = 20;
blsy[8] = 20;
blt[9] = 33;
blx[9] = 380;
bly[9] = -760;
blsx[9] = 20;
blsy[9] = 20;
blt[10] = 36;
blx[10] = 380;
bly[10] = -220;
blsx[10] = 20;
blsy[10] = 20;
blt[11] = 34;
blx[11] = 480;
bly[11] = -700;
blsx[11] = 20;
blsy[11] = 20;
blt[12] = 35;
blx[12] = 520;
bly[12] = -740;
blsx[12] = 20;
blsy[12] = 20;
prsc();
Frame 841
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 13) {
cbl1();
cbl31();
cbl32();
cbl33_36();
h1++;
}
dfall();
cbla();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg6();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 790) and (py < -279)) and (py > -360)) {
px = 20;
gotoAndPlay (845);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
block10._x = 100 + (blx[10] - camx);
block10._y = 100 + (bly[10] - camy);
block11._x = 100 + (blx[11] - camx);
block11._y = 100 + (bly[11] - camy);
block12._x = 100 + (blx[12] - camx);
block12._y = 100 + (bly[12] - camy);
Frame 842
gotoAndPlay (841);
Frame 850
f = 851;
timer = 1;
pace = 1;
csetup();
bt[1] = 8;
bl[1] = 4;
bx[1] = 300;
by[1] = -340;
bt[2] = 6;
bl[2] = 6;
bx[2] = 340;
by[2] = -320;
bt[3] = 15;
bl[3] = 6;
bx[3] = 340;
by[3] = -200;
bt[4] = 21;
bl[4] = 20;
bx[4] = 400;
by[4] = -340;
bt[5] = 21;
bl[5] = 20;
bx[5] = 650;
by[5] = -170;
bt[6] = 21;
bl[6] = 20;
bx[6] = 650;
by[6] = -200;
bt[7] = 21;
bl[7] = 20;
bx[7] = 550;
by[7] = -220;
bt[8] = 15;
bl[8] = 6;
bx[8] = 440;
by[8] = -240;
bt[9] = 8;
bl[9] = 4;
bx[9] = 600;
by[9] = -280;
bt[10] = 8;
bl[10] = 4;
bx[10] = 500;
by[10] = -200;
blt[1] = 1;
blx[1] = 100;
bly[1] = -430;
blsx[1] = 100;
blsy[1] = 70;
blt[2] = 1;
blx[2] = 120;
bly[2] = -140;
blsx[2] = 120;
blsy[2] = 140;
blt[3] = 1;
blx[3] = 720;
bly[3] = -370;
blsx[3] = 80;
blsy[3] = 130;
blt[4] = 1;
blx[4] = 720;
bly[4] = -80;
blsx[4] = 80;
blsy[4] = 80;
blt[5] = 31;
blx[5] = 340;
bly[5] = -250;
blsx[5] = 100;
blsy[5] = 30;
blt[6] = 32;
blx[6] = 540;
bly[6] = -130;
blsx[6] = 100;
blsy[6] = 30;
prsc();
Frame 851
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -280;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
if (blt[h1] == 32) {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 38;
pj = 2;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and Key.isDown(37)) {
pd = 12;
}
if ((px < blx[h1]) and Key.isDown(39)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
px = px - 3;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
py = py - 2;
}
if ((timer > 60) and (timer < 121)) {
py = py + 2;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
bly[h1] = bly[h1] - 2;
}
if ((timer > 60) and (timer < 121)) {
bly[h1] = bly[h1] + 2;
}
}
if (blt[h1] == 31) {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 38;
pj = 2;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and Key.isDown(37)) {
pd = 12;
}
if ((px < blx[h1]) and Key.isDown(39)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
px = px + 3;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
py = py + 2;
}
if ((timer > 60) and (timer < 121)) {
py = py - 2;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
bly[h1] = bly[h1] + 2;
}
if ((timer > 60) and (timer < 121)) {
bly[h1] = bly[h1] - 2;
}
}
h1++;
}
dfall();
h2 = 1;
while (h2 < 11) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg6();
cbg8();
cbg15();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 790) and (py < -159)) and (py > -240)) {
px = 20;
gotoAndPlay (855);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
Frame 852
gotoAndPlay (851);
Frame 860
f = 861;
timer = 1;
pace = 1;
csetup();
bt[1] = 10;
bl[1] = 4;
bx[1] = 300;
by[1] = -125;
bt[2] = 14;
bl[2] = 3;
bx[2] = 320;
by[2] = -200;
bt[3] = 14;
bl[3] = 3;
bx[3] = 330;
by[3] = -180;
bt[4] = 19;
bd[4] = 1;
bl[4] = 4;
bx[4] = 380;
by[4] = -180;
bt[5] = 19;
bd[5] = 1;
bl[5] = 4;
bx[5] = 500;
by[5] = -120;
bt[6] = 15;
bl[6] = 6;
bx[6] = 500;
by[6] = -60;
blt[1] = 1;
blx[1] = 400;
bly[1] = -370;
blsx[1] = 400;
blsy[1] = 130;
blt[2] = 1;
blx[2] = 100;
bly[2] = -80;
blsx[2] = 100;
blsy[2] = 80;
blt[3] = 1;
blx[3] = 500;
bly[3] = -30;
blsx[3] = 300;
blsy[3] = 30;
blt[4] = 5;
blx[4] = 350;
bly[4] = -110;
blsx[4] = 150;
blsy[4] = 50;
blt[5] = 1;
blx[5] = 590;
bly[5] = -200;
blsx[5] = 210;
blsy[5] = 40;
blt[6] = 1;
blx[6] = 650;
bly[6] = -140;
blsx[6] = 150;
blsy[6] = 20;
prsc();
Frame 861
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -160;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg10();
cbg14();
cbg15();
cbg19();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 2) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
if (bt[h2] == 10) {
h4 = 0;
h1 = 1;
while (h1 < 7) {
cbb1();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -59)) and (py > -120)) {
px = 20;
gotoAndPlay (865);
}
cxyz();
dscn();
Frame 862
gotoAndPlay (861);
Frame 870
f = 871;
timer = 1;
pace = 1;
csetup();
bt[1] = 14;
bl[1] = 4;
bx[1] = 380;
by[1] = -230;
bt[2] = 14;
bl[2] = 4;
bx[2] = 370;
by[2] = -330;
bt[3] = 14;
bl[3] = 4;
bx[3] = 240;
by[3] = -430;
blt[1] = 1;
blx[1] = 100;
bly[1] = -310;
blsx[1] = 100;
blsy[1] = 190;
blt[2] = 1;
blx[2] = 100;
bly[2] = -30;
blsx[2] = 100;
blsy[2] = 30;
blt[3] = 1;
blx[3] = 580;
bly[3] = -250;
blsx[3] = 220;
blsy[3] = 250;
blt[4] = 1;
blx[4] = 280;
bly[4] = -40;
blsx[4] = 80;
blsy[4] = 20;
blt[5] = 3;
blx[5] = 300;
bly[5] = -230;
blsx[5] = 60;
blsy[5] = 10;
blt[6] = 3;
blx[6] = 260;
bly[6] = -330;
blsx[6] = 60;
blsy[6] = 10;
prsc();
Frame 871
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -60;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
cbl3_3();
cbl43();
h1++;
}
dfall();
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg14();
mbad();
}
}
h2++;
}
cbgs();
if (((py < -460) and (px < 360)) and (px > 200)) {
py = -20;
gotoAndPlay (875);
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
if ((px > 275) and (blt[4] == 1)) {
blt[4] = 43;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
if (blt[4] != 43) {
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
}
if (blt[4] == 43) {
camx = 280;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
dscn();
block4._x = 100 + (blx[4] - camx);
block4._y = 100 + (bly[4] - camy);
Frame 872
gotoAndPlay (871);
Frame 880
f = 881;
timer = 1;
pace = 1;
csetup();
bt[1] = 14;
bl[1] = 3;
bx[1] = 250;
by[1] = -200;
bt[2] = 14;
bl[2] = 3;
bx[2] = 320;
by[2] = -300;
bt[3] = 14;
bl[3] = 3;
bx[3] = 340;
by[3] = -460;
blt[1] = 1;
blx[1] = 100;
bly[1] = -250;
blsx[1] = 100;
blsy[1] = 250;
blt[2] = 1;
blx[2] = 580;
bly[2] = -190;
blsx[2] = 220;
blsy[2] = 190;
blt[3] = 1;
blx[3] = 580;
bly[3] = -470;
blsx[3] = 220;
blsy[3] = 30;
blt[4] = 43;
blx[4] = 280;
bly[4] = 0;
blsx[4] = 80;
blsy[4] = 20;
blt[5] = 3;
blx[5] = 280;
bly[5] = -100;
blsx[5] = 40;
blsy[5] = 20;
blt[6] = 3;
blx[6] = 230;
bly[6] = -220;
blsx[6] = 30;
blsy[6] = 20;
blt[7] = 3;
blx[7] = 330;
bly[7] = -220;
blsx[7] = 30;
blsy[7] = 20;
blt[8] = 3;
blx[8] = 300;
bly[8] = -330;
blsx[8] = 60;
blsy[8] = 10;
blt[9] = 3;
blx[9] = 280;
bly[9] = -480;
blsx[9] = 80;
blsy[9] = 20;
prsc();
Frame 881
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 220;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 10) {
cbl1();
cbl3_3();
cbl43();
h1++;
}
dfall();
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg14();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 370) and (py < -379)) and (py > -420)) {
px = 40;
py = py + 340;
if (game != 5) {
gotoAndPlay (895);
}
if (game == 5) {
gotoAndPlay (2556);
}
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = 280;
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
dscn();
block4._x = 100 + (blx[4] - camx);
block4._y = 100 + (bly[4] - camy);
Frame 882
gotoAndPlay (881);
Frame 900
f = 901;
timer = 1;
pace = 1;
csetup();
bt[1] = 61;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 250 + (200 - dif);
bx[1] = 300;
by[1] = -40;
bf[1] = 300;
bx[10] = 57;
by[10] = 60;
blt[1] = 1;
blx[1] = 10;
bly[1] = -100;
blsx[1] = 10;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 390;
bly[2] = -100;
blsx[2] = 10;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 200;
bly[3] = -20;
blsx[3] = 180;
blsy[3] = 20;
Frame 901
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 80;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 4) {
cbl1();
h1++;
}
dfall();
boss9();
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 395) {
px = 395;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 300) {
camx = 300;
}
camy = py;
if (camy < -100) {
camy = -100;
}
if (camy > -50) {
camy = -50;
}
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
bg2._x = 100 + (bx[2] - camx);
bg2._y = 100 + (by[2] - camy);
bg2.gotoAndStop(bf[2]);
bg3._x = 100 + (bx[3] - camx);
bg3._y = 100 + (by[3] - camy);
bg3.gotoAndStop(bf[3]);
bg4._x = 100 + (bx[4] - camx);
bg4._y = 100 + (by[4] - camy);
bg4.gotoAndStop(bf[4]);
bg5._x = 100 + (bx[5] - camx);
bg5._y = 100 + (by[5] - camy);
bg5.gotoAndStop(bf[5]);
bg6._x = 100 + (bx[6] - camx);
bg6._y = 100 + (by[6] - camy);
bg6.gotoAndStop(bf[6]);
bg7._x = 100 + (bx[7] - camx);
bg7._y = 100 + (by[7] - camy);
bg7.gotoAndStop(bf[7]);
bg8._x = 100 + (bx[8] - camx);
bg8._y = 100 + (by[8] - camy);
bg8.gotoAndStop(bf[8]);
bg9._x = 100 + (bx[9] - camx);
bg9._y = 100 + (by[9] - camy);
bg9.gotoAndStop(bf[9]);
bg10._x = 100 + (bx[10] - camx);
bg10._y = 100 + (by[10] - camy);
bg10.gotoAndStop(bf[10]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
if ((bd[1] == 2) or (bd[1] == 3)) {
stage._x = (stage._x - 1) + random(3);
stage._y = (stage._y - 1) + random(3);
}
stage2._x = 300 - (camx / 2);
stage2._y = -37 - (camy / 2);
Frame 902
gotoAndPlay (901);
Frame 910
f = 911;
timer = 1;
pace = 1;
csetup();
bt[1] = 19;
bl[1] = 4;
bx[1] = 140;
by[1] = -210;
bt[2] = 19;
bd[2] = 1;
bl[2] = 4;
bx[2] = 660;
by[2] = -210;
bt[3] = 8;
bl[3] = 4;
bx[3] = 200;
by[3] = -250;
bt[4] = 8;
bl[4] = 4;
bx[4] = 600;
by[4] = -250;
blt[1] = 1;
blx[1] = 180;
bly[1] = -380;
blsx[1] = 180;
blsy[1] = 120;
blt[2] = 1;
blx[2] = 70;
bly[2] = -230;
blsx[2] = 70;
blsy[2] = 30;
blt[3] = 1;
blx[3] = 620;
bly[3] = -380;
blsx[3] = 180;
blsy[3] = 120;
blt[4] = 1;
blx[4] = 730;
bly[4] = -230;
blsx[4] = 70;
blsy[4] = 30;
blt[5] = 1;
blx[5] = 400;
bly[5] = -100;
blsx[5] = 80;
blsy[5] = 100;
blt[6] = 1;
blx[6] = 160;
bly[6] = -60;
blsx[6] = 180;
blsy[6] = 60;
blt[7] = 4;
blx[7] = 200;
bly[7] = -160;
blsx[7] = 120;
blsy[7] = 40;
blt[8] = 1;
blx[8] = 640;
bly[8] = -60;
blsx[8] = 180;
blsy[8] = 60;
blt[9] = 5;
blx[9] = 600;
bly[9] = -160;
blsx[9] = 120;
blsy[9] = 40;
prsc();
Frame 911
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 400;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 10) {
cbl1();
cbl4();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg8();
cbg19();
mbad();
}
}
h2++;
}
cbgs();
if (((px < 10) and (py < -119)) and (py > -200)) {
px = 780;
py = py - 220;
gotoAndPlay (945);
}
if (((px > 780) and (py < -119)) and (py > -200)) {
px = 20;
gotoAndPlay (915);
}
cxyz();
dscn();
Frame 912
gotoAndPlay (911);
Frame 920
f = 921;
timer = 1;
pace = 1;
csetup();
bt[1] = 21;
bl[1] = 20;
bx[1] = 100;
by[1] = -130;
bt[2] = 21;
bl[2] = 20;
bx[2] = 100;
by[2] = -160;
bt[3] = 10;
bl[3] = 4;
bx[3] = 350;
by[3] = -90;
bt[4] = 5;
bl[4] = 4;
bx[4] = 350;
by[4] = -180;
bt[5] = 5;
bl[5] = 4;
bx[5] = 440;
by[5] = -170;
bt[6] = 10;
bl[6] = 4;
bx[6] = 400;
by[6] = -340;
bt[7] = 10;
bl[7] = 4;
bx[7] = 440;
by[7] = -60;
blt[1] = 1;
blx[1] = 100;
bly[1] = -350;
blsx[1] = 100;
blsy[1] = 150;
blt[2] = 1;
blx[2] = 410;
bly[2] = -290;
blsx[2] = 210;
blsy[2] = 50;
blt[3] = 1;
blx[3] = 540;
bly[3] = -460;
blsx[3] = 260;
blsy[3] = 40;
blt[4] = 1;
blx[4] = 590;
bly[4] = -120;
blsx[4] = 30;
blsy[4] = 120;
blt[5] = 1;
blx[5] = 740;
bly[5] = -210;
blsx[5] = 60;
blsy[5] = 210;
blt[6] = 1;
blx[6] = 130;
bly[6] = -60;
blsx[6] = 130;
blsy[6] = 60;
blt[7] = 1;
blx[7] = 380;
bly[7] = -30;
blsx[7] = 120;
blsy[7] = 30;
blt[8] = 5;
blx[8] = 350;
bly[8] = -90;
blsx[8] = 90;
blsy[8] = 30;
blt[9] = 2;
blx[9] = 270;
bly[9] = -440;
blsx[9] = 10;
blsy[9] = 60;
blt[10] = 2;
blx[10] = 510;
bly[10] = -50;
blsx[10] = 10;
blsy[10] = 50;
prsc();
Frame 921
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -120;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 11) {
cbl1();
cbl2();
cbl5();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg5();
cbg10();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
h2 = 6;
while (h2 < 8) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
if (bt[h2] == 10) {
h4 = 0;
h1 = 1;
while (h1 < 11) {
cbb1();
cbb5();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px < 10) and (py < -119)) and (py > -200)) {
px = 780;
gotoAndPlay (905);
}
if (((py < -460) and (px < 280)) and (px > 200)) {
py = -20;
gotoAndPlay (965);
}
if (((py > -10) and (px < 780)) and (px > 500)) {
py = -450;
gotoAndPlay (925);
}
cxyz();
dscn();
Frame 922
gotoAndPlay (921);
Frame 930
f = 931;
timer = 1;
pace = 1;
csetup();
bt[1] = 12;
bl[1] = 6;
bx[1] = 300;
by[1] = -260;
bt[2] = 12;
bl[2] = 6;
bx[2] = 400;
by[2] = -260;
bt[3] = 14;
bl[3] = 3;
bx[3] = 350;
by[3] = -310;
bt[4] = 14;
bl[4] = 3;
bx[4] = 200;
by[4] = -380;
bt[5] = 14;
bl[5] = 3;
bx[5] = 300;
by[5] = -160;
bt[6] = 14;
bl[6] = 3;
bx[6] = 650;
by[6] = -180;
bt[7] = 14;
bl[7] = 3;
bx[7] = 100;
by[7] = -300;
blt[1] = 1;
blx[1] = 250;
bly[1] = -460;
blsx[1] = 250;
blsy[1] = 40;
blt[2] = 1;
blx[2] = 60;
bly[2] = -380;
blsx[2] = 60;
blsy[2] = 40;
blt[3] = 1;
blx[3] = 400;
bly[3] = -370;
blsx[3] = 40;
blsy[3] = 50;
blt[4] = 1;
blx[4] = 590;
bly[4] = -340;
blsx[4] = 30;
blsy[4] = 160;
blt[5] = 1;
blx[5] = 740;
bly[5] = -250;
blsx[5] = 60;
blsy[5] = 250;
blt[6] = 2;
blx[6] = 510;
bly[6] = -400;
blsx[6] = 10;
blsy[6] = 100;
blt[7] = 1;
blx[7] = 230;
bly[7] = -310;
blsx[7] = 50;
blsy[7] = 50;
blt[8] = 1;
blx[8] = 280;
bly[8] = -220;
blsx[8] = 280;
blsy[8] = 40;
blt[9] = 1;
blx[9] = 100;
bly[9] = -50;
blsx[9] = 100;
blsy[9] = 50;
blt[10] = 1;
blx[10] = 590;
bly[10] = -50;
blsx[10] = 90;
blsy[10] = 50;
blt[11] = 10;
blx[11] = 280;
bly[11] = -80;
blsx[11] = 40;
blsy[11] = 20;
blt[12] = 10;
blx[12] = 420;
bly[12] = -80;
blsx[12] = 40;
blsy[12] = 20;
prsc();
Frame 931
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 540;
py = -260;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 13) {
cbl1();
cbl2();
cbl30();
cbl11_29();
cbl10();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg12();
cbg14();
mbad();
}
}
h2++;
}
cbgs();
h2 = 1;
while (h2 < 3) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
if (bt[h2] == 12) {
h4 = 0;
h1 = 1;
while (h1 < 13) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((py < -460) and (px < 780)) and (px > 500)) {
py = -20;
gotoAndPlay (915);
}
if (((px < 10) and (py < -99)) and (py > -340)) {
px = 780;
gotoAndPlay (935);
}
cxyz();
dscn();
block11._x = ((100 + (blx[11] - camx)) - 1) + random(3);
block11._y = ((100 + (bly[11] - camy)) - 1) + random(3);
block12._x = ((100 + (blx[12] - camx)) - 1) + random(3);
block12._y = ((100 + (bly[12] - camy)) - 1) + random(3);
Frame 932
gotoAndPlay (931);
Frame 940
f = 941;
timer = 1;
pace = 1;
csetup();
bt[1] = 15;
bl[1] = 6;
bx[1] = 600;
by[1] = -260;
bt[2] = 15;
bl[2] = 6;
bx[2] = 240;
by[2] = -260;
bt[3] = 15;
bl[3] = 6;
bx[3] = 440;
by[3] = -100;
bt[4] = 15;
bl[4] = 6;
bx[4] = 480;
by[4] = -100;
bt[5] = 22;
bl[5] = 4;
bx[5] = 240;
by[5] = -180;
bt[6] = 22;
bl[6] = 4;
bx[6] = 130;
by[6] = -180;
bt[7] = 22;
bl[7] = 4;
bx[7] = 320;
by[7] = -180;
bt[8] = 22;
bl[8] = 4;
bx[8] = 360;
by[8] = -180;
blt[1] = 1;
blx[1] = 100;
bly[1] = -460;
blsx[1] = 100;
blsy[1] = 40;
blt[2] = 1;
blx[2] = 500;
bly[2] = -420;
blsx[2] = 300;
blsy[2] = 80;
blt[3] = 1;
blx[3] = 50;
bly[3] = -180;
blsx[3] = 50;
blsy[3] = 180;
blt[4] = 1;
blx[4] = 610;
bly[4] = -220;
blsx[4] = 190;
blsy[4] = 40;
blt[5] = 1;
blx[5] = 400;
bly[5] = -250;
blsx[5] = 20;
blsy[5] = 10;
blt[6] = 1;
blx[6] = 240;
bly[6] = -90;
blsx[6] = 140;
blsy[6] = 90;
blt[7] = 1;
blx[7] = 180;
bly[7] = -220;
blsx[7] = 20;
blsy[7] = 40;
blt[8] = 1;
blx[8] = 280;
bly[8] = -220;
blsx[8] = 20;
blsy[8] = 40;
blt[9] = 1;
blx[9] = 590;
bly[9] = -50;
blsx[9] = 210;
blsy[9] = 50;
blt[10] = 3;
blx[10] = 220;
bly[10] = -200;
blsx[10] = 120;
blsy[10] = 20;
prsc();
Frame 941
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -360;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 11) {
cbl1();
cbl3_2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 125))) {
cblu();
cbg15();
cbg22();
mbad();
}
}
h2++;
}
cbgs();
h2 = 5;
while (h2 < 9) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
if (bt[h2] == 22) {
h4 = 0;
h1 = 1;
while (h1 < 11) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 780) and (py < -99)) and (py > -340)) {
px = 20;
gotoAndPlay (925);
}
if (((px < 10) and (py < -359)) and (py > -420)) {
px = 780;
py = py + 300;
gotoAndPlay (945);
}
cxyz();
dscn();
Frame 942
gotoAndPlay (941);
Frame 950
f = 951;
timer = 1;
pace = 1;
csetup();
bt[1] = 14;
bl[1] = 3;
bx[1] = 520;
by[1] = -390;
bt[2] = 14;
bl[2] = 3;
bx[2] = 190;
by[2] = -250;
bt[3] = 14;
bl[3] = 3;
bx[3] = 190;
by[3] = -130;
bt[4] = 19;
bl[4] = 4;
bx[4] = 80;
by[4] = -290;
bt[5] = 19;
bl[5] = 4;
bx[5] = 80;
by[5] = -200;
bt[6] = 20;
bl[6] = 6;
bx[6] = 600;
by[6] = -60;
bt[7] = 20;
bl[7] = 6;
bx[7] = 400;
by[7] = -60;
bt[8] = 20;
bl[8] = 6;
bx[8] = 340;
by[8] = -260;
bt[9] = 20;
bl[9] = 6;
bx[9] = 520;
by[9] = -300;
blt[1] = 1;
blx[1] = 400;
bly[1] = -460;
blsx[1] = 400;
blsy[1] = 40;
blt[2] = 1;
blx[2] = 720;
bly[2] = -230;
blsx[2] = 80;
blsy[2] = 110;
blt[3] = 4;
blx[3] = 520;
bly[3] = -300;
blsx[3] = 120;
blsy[3] = 40;
blt[4] = 1;
blx[4] = 470;
bly[4] = -190;
blsx[4] = 170;
blsy[4] = 70;
blt[5] = 1;
blx[5] = 550;
bly[5] = -30;
blsx[5] = 250;
blsy[5] = 30;
blt[6] = 1;
blx[6] = 40;
bly[6] = -30;
blsx[6] = 40;
blsy[6] = 30;
blt[7] = 1;
blx[7] = 40;
bly[7] = -230;
blsx[7] = 40;
blsy[7] = 110;
blt[8] = 9;
blx[8] = 140;
bly[8] = -290;
blsx[8] = 20;
blsy[8] = 10;
blt[9] = 8;
blx[9] = 240;
bly[9] = -50;
blsx[9] = 20;
blsy[9] = 10;
prsc();
Frame 951
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -340;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 10) {
cbl1();
cbl4();
cbl8_2();
cbl9_2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 10) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg14();
cbg19();
cbg20();
mbad();
}
}
h2++;
}
cbgs();
h2 = 6;
while (h2 < 10) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
if (bt[h2] == 20) {
h4 = 0;
h1 = 1;
while (h1 < 10) {
cbb1();
cbb4();
cbb6_9();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -339)) and (py > -420)) {
px = 20;
py = py + 220;
gotoAndPlay (905);
}
if (((px > 790) and (py < -59)) and (py > -120)) {
px = 20;
py = py - 300;
gotoAndPlay (935);
}
if (((px < 10) and (py < -59)) and (py > -420)) {
px = 780;
gotoAndPlay (955);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
Frame 952
gotoAndPlay (951);
Frame 960
f = 961;
timer = 1;
pace = 1;
csetup();
bt[1] = 5;
bl[1] = 4;
bx[1] = 360;
by[1] = -400;
bt[2] = 14;
bl[2] = 3;
bx[2] = 150;
by[2] = -400;
bt[3] = 14;
bl[3] = 3;
bx[3] = 130;
by[3] = -380;
bt[4] = 5;
bl[4] = 4;
bx[4] = 140;
by[4] = -410;
bt[5] = 20;
bl[5] = 6;
bx[5] = 400;
by[5] = -340;
bt[6] = 20;
bl[6] = 6;
bx[6] = 200;
by[6] = -60;
bt[7] = 20;
bl[7] = 6;
bx[7] = 470;
by[7] = -60;
bt[8] = 20;
bl[8] = 6;
bx[8] = 660;
by[8] = -60;
blt[1] = 1;
blx[1] = 650;
bly[1] = -460;
blsx[1] = 150;
blsy[1] = 40;
blt[2] = 1;
blx[2] = 700;
bly[2] = -230;
blsx[2] = 100;
blsy[2] = 110;
blt[3] = 1;
blx[3] = 320;
bly[3] = -230;
blsx[3] = 220;
blsy[3] = 110;
blt[4] = 1;
blx[4] = 200;
bly[4] = -30;
blsx[4] = 140;
blsy[4] = 30;
blt[5] = 1;
blx[5] = 600;
bly[5] = -30;
blsx[5] = 200;
blsy[5] = 30;
prsc();
Frame 961
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 760;
py = -340;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 6) {
cbl1();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg5();
cbg14();
cbg20();
mbad();
}
}
h2++;
}
cbgs();
h2 = 5;
while (h2 < 9) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
if (bt[h2] == 20) {
h4 = 0;
h1 = 1;
while (h1 < 6) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 780) and (py < -59)) and (py > -420)) {
px = 20;
gotoAndPlay (945);
}
cxyz();
dscn();
Frame 962
gotoAndPlay (961);
Frame 970
f = 971;
timer = 1;
pace = 1;
csetup();
bt[1] = 19;
bl[1] = 4;
bx[1] = 200;
by[1] = -100;
bt[2] = 9;
bl[2] = 4;
bx[2] = 350;
by[2] = -180;
bt[3] = 9;
bl[3] = 4;
bx[3] = 430;
by[3] = -200;
bt[4] = 19;
bd[4] = 1;
bl[4] = 4;
bx[4] = 740;
by[4] = -180;
bt[5] = 9;
bl[5] = 4;
bx[5] = 730;
by[5] = -240;
bt[6] = 20;
bl[6] = 6;
bx[6] = 410;
by[6] = -130;
bt[7] = 20;
bl[7] = 6;
bx[7] = 700;
by[7] = -160;
bt[8] = 20;
bl[8] = 6;
bx[8] = 500;
by[8] = -340;
blt[1] = 1;
blx[1] = 100;
bly[1] = -250;
blsx[1] = 100;
blsy[1] = 250;
blt[2] = 1;
blx[2] = 440;
bly[2] = -290;
blsx[2] = 240;
blsy[2] = 50;
blt[3] = 1;
blx[3] = 390;
bly[3] = -50;
blsx[3] = 110;
blsy[3] = 50;
blt[4] = 1;
blx[4] = 650;
bly[4] = -80;
blsx[4] = 150;
blsy[4] = 80;
blt[5] = 4;
blx[5] = 410;
bly[5] = -130;
blsx[5] = 90;
blsy[5] = 30;
blt[6] = 2;
blx[6] = 270;
bly[6] = -70;
blsx[6] = 10;
blsy[6] = 70;
blt[7] = 1;
blx[7] = 770;
bly[7] = -330;
blsx[7] = 30;
blsy[7] = 170;
blt[8] = 1;
blx[8] = 520;
bly[8] = -460;
blsx[8] = 220;
blsy[8] = 40;
blt[9] = 2;
blx[9] = 250;
bly[9] = -440;
blsx[9] = 10;
blsy[9] = 60;
prsc();
Frame 971
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 320;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 10) {
cbl1();
cbl2();
cbl4();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg9();
cbg19();
cbg20();
mbad();
}
}
h2++;
}
cbgs();
h2 = 6;
while (h2 < 9) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
if (bt[h2] == 20) {
h4 = 0;
h1 = 1;
while (h1 < 10) {
cbb1();
cbb4();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((py > -10) and (px < 280)) and (px > 200)) {
py = -450;
gotoAndPlay (915);
}
if (((py < -460) and (px < 300)) and (px > 200)) {
px = px - 160;
py = -20;
gotoAndPlay (975);
}
cxyz();
dscn();
Frame 972
gotoAndPlay (971);
Frame 980
f = 981;
timer = 1;
pace = 1;
csetup();
bt[1] = 8;
bl[1] = 4;
bx[1] = 240;
by[1] = -100;
bt[2] = 5;
bl[2] = 4;
bx[2] = 240;
by[2] = -110;
bt[3] = 15;
bl[3] = 6;
bx[3] = 420;
by[3] = -40;
bt[4] = 14;
bl[4] = 3;
bx[4] = 420;
by[4] = -100;
bt[5] = 11;
bl[5] = 12;
bx[5] = 420;
by[5] = -70;
bt[6] = 14;
bl[6] = 3;
bx[6] = 590;
by[6] = -110;
bt[7] = 14;
bl[7] = 3;
bx[7] = 590;
by[7] = -130;
bt[8] = 10;
bl[8] = 4;
bx[8] = 600;
by[8] = -40;
bt[9] = 20;
bl[9] = 6;
bx[9] = 580;
by[9] = -40;
bt[10] = 20;
bl[10] = 6;
bx[10] = 240;
by[10] = -40;
blt[1] = 1;
blx[1] = 400;
bly[1] = -310;
blsx[1] = 400;
blsy[1] = 190;
blt[2] = 1;
blx[2] = 20;
bly[2] = -60;
blsx[2] = 20;
blsy[2] = 60;
blt[3] = 1;
blx[3] = 470;
bly[3] = -20;
blsx[3] = 330;
blsy[3] = 20;
blt[4] = 2;
blx[4] = 90;
bly[4] = -50;
blsx[4] = 10;
blsy[4] = 50;
prsc();
Frame 981
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 160;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 5) {
cbl1();
cbl2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 11) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg5();
cbg8();
cbg10();
cbg11();
cbg14();
cbg15();
cbg20();
mbad();
}
}
h2++;
}
cbgs();
h2 = 8;
while (h2 < 11) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
if ((bt[h2] == 10) or (bt[h2] == 20)) {
h4 = 0;
h1 = 1;
while (h1 < 5) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 780) and (py < -39)) and (py > -120)) {
px = 40;
py = py + 20;
if (game != 5) {
gotoAndPlay (995);
}
if (game == 5) {
gotoAndPlay (2556);
}
}
if (((py > -10) and (px < 140)) and (px > 40)) {
px = px + 160;
py = -450;
gotoAndPlay (965);
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
dscn();
Frame 982
gotoAndPlay (981);
Frame 1000
f = 1001;
timer = 1;
pace = 1;
csetup();
bt[1] = 62;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 250 + (200 - dif);
bx[1] = 100;
by[1] = 0;
bf[1] = 300;
bx[2] = 100;
by[2] = -80;
bx[10] = 5;
by[10] = 65;
blt[1] = 1;
blx[1] = 10;
bly[1] = -90;
blsx[1] = 10;
blsy[1] = 70;
blt[2] = 1;
blx[2] = 190;
bly[2] = -90;
blsx[2] = 10;
blsy[2] = 70;
blt[3] = 1;
blx[3] = 100;
bly[3] = -10;
blsx[3] = 100;
blsy[3] = 10;
Frame 1001
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 80;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 4) {
cbl1();
h1++;
}
dfall();
boss10();
if (py < -120) {
py = -120;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 195) {
px = 195;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = 100;
camy = -50;
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
nose._x = 100 + (bx[2] - camx);
nose._y = 100 + (by[2] - camy);
nose1._x = 167 + ((bx[2] / 3) - camx);
nose1._y = 48 + ((by[2] / 3) - camy);
nose2._x = 133 + ((bx[2] / 1.5) - camx);
nose2._y = 74 + ((by[2] / 1.5) - camy);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
Frame 1002
gotoAndPlay (1001);
Frame 1010
f = 1011;
timer = 1;
pace = 1;
csetup();
bt[1] = 21;
bl[1] = 20;
bx[1] = 380;
by[1] = -280;
bt[2] = 6;
bl[2] = 6;
bx[2] = 550;
by[2] = -400;
bt[3] = 6;
bl[3] = 6;
bx[3] = 580;
by[3] = -370;
bt[4] = 6;
bl[4] = 6;
bx[4] = 620;
by[4] = -350;
bt[5] = 7;
bl[5] = 4;
bx[5] = 680;
by[5] = -300;
blt[1] = 1;
blx[1] = 160;
bly[1] = -440;
blsx[1] = 160;
blsy[1] = 60;
blt[2] = 1;
blx[2] = 100;
bly[2] = -150;
blsx[2] = 100;
blsy[2] = 150;
blt[3] = 1;
blx[3] = 380;
bly[3] = -110;
blsx[3] = 180;
blsy[3] = 110;
blt[4] = 1;
blx[4] = 680;
bly[4] = -150;
blsx[4] = 120;
blsy[4] = 150;
blt[5] = 3;
blx[5] = 380;
bly[5] = -250;
blsx[5] = 180;
blsy[5] = 30;
blt[6] = 6;
blx[6] = 260;
bly[6] = -290;
blsx[6] = 20;
blsy[6] = 10;
prsc();
Frame 1011
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -300;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
cbl3_3();
cbl6_2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg6();
cbg7();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
h2 = 5;
while (h2 < 6) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
if (bt[h2] == 7) {
h4 = 0;
h1 = 1;
while (h1 < 7) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -299)) and (py > -400)) {
px = 20;
gotoAndPlay (1015);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
Frame 1012
gotoAndPlay (1011);
Frame 1020
f = 1021;
timer = 1;
pace = 1;
csetup();
bt[1] = 6;
bl[1] = 6;
bx[1] = 240;
by[1] = -380;
bt[2] = 21;
bl[2] = 20;
bx[2] = 280;
by[2] = -260;
bt[3] = 5;
bl[3] = 4;
bx[3] = 420;
by[3] = -370;
bt[4] = 5;
bl[4] = 4;
bx[4] = 600;
by[4] = -380;
bt[5] = 19;
bd[5] = 1;
bl[5] = 4;
bx[5] = 660;
by[5] = -320;
bt[6] = 19;
bd[6] = 1;
bl[6] = 4;
bx[6] = 660;
by[6] = -130;
bt[7] = 5;
bl[7] = 4;
bx[7] = 400;
by[7] = -150;
blt[1] = 1;
blx[1] = 50;
bly[1] = -150;
blsx[1] = 50;
blsy[1] = 150;
blt[2] = 1;
blx[2] = 330;
bly[2] = -180;
blsx[2] = 230;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 510;
bly[3] = -250;
blsx[3] = 50;
blsy[3] = 50;
blt[4] = 1;
blx[4] = 730;
bly[4] = -250;
blsx[4] = 70;
blsy[4] = 250;
blt[5] = 1;
blx[5] = 410;
bly[5] = -40;
blsx[5] = 250;
blsy[5] = 40;
blt[6] = 2;
blx[6] = 610;
bly[6] = -250;
blsx[6] = 10;
blsy[6] = 130;
blt[7] = 3;
blx[7] = 280;
bly[7] = -230;
blsx[7] = 180;
blsy[7] = 30;
blt[8] = 3;
blx[8] = 580;
bly[8] = -230;
blsx[8] = 20;
blsy[8] = 70;
blt[9] = 3;
blx[9] = 640;
bly[9] = -230;
blsx[9] = 20;
blsy[9] = 70;
blt[10] = 2;
blx[10] = 150;
bly[10] = -60;
blsx[10] = 10;
blsy[10] = 60;
blt[11] = 31;
blx[11] = 190;
bly[11] = -270;
blsx[11] = 50;
blsy[11] = 10;
blt[12] = 32;
blx[12] = 370;
bly[12] = -270;
blsx[12] = 50;
blsy[12] = 10;
prsc();
Frame 1021
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -300;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 13) {
cbl1();
cbl2();
cbl3_3();
cbl31_2();
cbl32_2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg5();
cbg6();
cbg19();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
if (((py > -10) and (px < 160)) and (px > 100)) {
py = -450;
gotoAndPlay (1025);
}
cxyz();
dscn();
Frame 1022
gotoAndPlay (1021);
Frame 1030
f = 1031;
timer = 1;
pace = 1;
csetup();
bt[1] = 8;
bl[1] = 4;
bx[1] = 380;
by[1] = -420;
bt[2] = 8;
bl[2] = 4;
bx[2] = 600;
by[2] = -420;
blt[1] = 1;
blx[1] = 50;
bly[1] = -250;
blsx[1] = 50;
blsy[1] = 250;
blt[2] = 1;
blx[2] = 150;
bly[2] = -340;
blsx[2] = 50;
blsy[2] = 40;
blt[3] = 1;
blx[3] = 480;
bly[3] = -470;
blsx[3] = 320;
blsy[3] = 30;
blt[4] = 1;
blx[4] = 750;
bly[4] = -340;
blsx[4] = 50;
blsy[4] = 20;
blt[5] = 2;
blx[5] = 150;
bly[5] = -460;
blsx[5] = 10;
blsy[5] = 40;
blt[6] = 33;
blx[6] = 260;
bly[6] = -860;
blsx[6] = 20;
blsy[6] = 20;
blt[7] = 34;
blx[7] = 340;
bly[7] = -820;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 35;
blx[8] = 420;
bly[8] = -840;
blsx[8] = 20;
blsy[8] = 20;
blt[9] = 36;
blx[9] = 500;
bly[9] = -320;
blsx[9] = 20;
blsy[9] = 20;
blt[10] = 33;
blx[10] = 500;
bly[10] = -860;
blsx[10] = 20;
blsy[10] = 20;
blt[11] = 34;
blx[11] = 600;
bly[11] = -820;
blsx[11] = 20;
blsy[11] = 20;
prsc();
Frame 1031
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 140;
py = -380;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 12) {
cbl1();
cbl2();
cbl33_36();
h1++;
}
dfall();
cbla();
h2 = 1;
while (h2 < 3) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg8();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 790) and (py < -359)) and (py > -440)) {
px = 20;
gotoAndPlay (1035);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
block10._x = 100 + (blx[10] - camx);
block10._y = 100 + (bly[10] - camy);
block11._x = 100 + (blx[11] - camx);
block11._y = 100 + (bly[11] - camy);
Frame 1032
gotoAndPlay (1031);
Frame 1040
f = 1041;
timer = 1;
pace = 1;
csetup();
bt[1] = 8;
bl[1] = 4;
bx[1] = 230;
by[1] = -360;
bt[2] = 8;
bl[2] = 4;
bx[2] = 400;
by[2] = -300;
bt[3] = 21;
bl[3] = 20;
bx[3] = 400;
by[3] = -240;
bt[4] = 21;
bl[4] = 20;
bx[4] = 400;
by[4] = -180;
bt[5] = 21;
bl[5] = 20;
bx[5] = 250;
by[5] = -170;
bt[6] = 21;
bl[6] = 20;
bx[6] = 630;
by[6] = -360;
bt[7] = 21;
bl[7] = 20;
bx[7] = 650;
by[7] = -395;
bt[8] = 8;
bl[8] = 4;
bx[8] = 620;
by[8] = -440;
blt[1] = 1;
blx[1] = 400;
bly[1] = -470;
blsx[1] = 400;
blsy[1] = 30;
blt[2] = 1;
blx[2] = 410;
bly[2] = -360;
blsx[2] = 10;
blsy[2] = 80;
blt[3] = 1;
blx[3] = 40;
bly[3] = -340;
blsx[3] = 40;
blsy[3] = 20;
blt[4] = 1;
blx[4] = 680;
bly[4] = -340;
blsx[4] = 120;
blsy[4] = 20;
blt[5] = 31;
blx[5] = 170;
bly[5] = -300;
blsx[5] = 50;
blsy[5] = 20;
blt[6] = 32;
blx[6] = 330;
bly[6] = -120;
blsx[6] = 50;
blsy[6] = 20;
blt[7] = 33;
blx[7] = 460;
bly[7] = -680;
blsx[7] = 40;
blsy[7] = 20;
blt[8] = 34;
blx[8] = 580;
bly[8] = -740;
blsx[8] = 20;
blsy[8] = 20;
blt[9] = 35;
blx[9] = 500;
bly[9] = -820;
blsx[9] = 20;
blsy[9] = 20;
prsc();
Frame 1041
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -360;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 10) {
cbl1();
if (blt[h1] == 31) {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 38;
pj = 2;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and Key.isDown(37)) {
pd = 12;
}
if ((px < blx[h1]) and Key.isDown(39)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
px = px + 5;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
py = py + 4;
}
if ((timer > 60) and (timer < 121)) {
py = py - 4;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
bly[h1] = bly[h1] + 4;
}
if ((timer > 60) and (timer < 121)) {
bly[h1] = bly[h1] - 4;
}
}
if (blt[h1] == 32) {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 38;
pj = 2;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and Key.isDown(37)) {
pd = 12;
}
if ((px < blx[h1]) and Key.isDown(39)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
px = px - 5;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
py = py - 2;
}
if ((timer > 60) and (timer < 121)) {
py = py + 2;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
bly[h1] = bly[h1] - 2;
}
if ((timer > 60) and (timer < 121)) {
bly[h1] = bly[h1] + 2;
}
}
cbl33_36();
h1++;
}
dfall();
cbla();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg8();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 790) and (py < -359)) and (py > -440)) {
px = 20;
gotoAndPlay (1045);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
block7._x = 100 + (blx[7] - camx);
block7._y = 100 + (bly[7] - camy);
block8._x = 100 + (blx[8] - camx);
block8._y = 100 + (bly[8] - camy);
block9._x = 100 + (blx[9] - camx);
block9._y = 100 + (bly[9] - camy);
Frame 1042
gotoAndPlay (1041);
Frame 1050
f = 1051;
timer = 1;
pace = 1;
csetup();
bt[1] = 19;
bd[1] = 1;
bl[1] = 4;
bx[1] = 160;
by[1] = -380;
bt[2] = 15;
bl[2] = 6;
bx[2] = 140;
by[2] = -360;
bt[3] = 15;
bl[3] = 6;
bx[3] = 550;
by[3] = -360;
bt[4] = 19;
bd[4] = 1;
bl[4] = 4;
bx[4] = 660;
by[4] = -380;
bt[5] = 12;
bl[5] = 6;
bx[5] = 220;
by[5] = -440;
bt[6] = 12;
bl[6] = 6;
bx[6] = 430;
by[6] = -360;
bt[7] = 12;
bl[7] = 6;
bx[7] = 540;
by[7] = -360;
blt[1] = 1;
blx[1] = 400;
bly[1] = -180;
blsx[1] = 400;
blsy[1] = 180;
blt[2] = 1;
blx[2] = 50;
bly[2] = -470;
blsx[2] = 50;
blsy[2] = 30;
blt[3] = 1;
blx[3] = 200;
bly[3] = -400;
blsx[3] = 40;
blsy[3] = 40;
blt[4] = 1;
blx[4] = 350;
bly[4] = -480;
blsx[4] = 50;
blsy[4] = 20;
blt[5] = 1;
blx[5] = 350;
bly[5] = -380;
blsx[5] = 50;
blsy[5] = 20;
blt[6] = 1;
blx[6] = 480;
bly[6] = -400;
blsx[6] = 20;
blsy[6] = 40;
blt[7] = 1;
blx[7] = 580;
bly[7] = -460;
blsx[7] = 20;
blsy[7] = 40;
blt[8] = 1;
blx[8] = 680;
bly[8] = -400;
blsx[8] = 20;
blsy[8] = 40;
prsc();
Frame 1051
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -360;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg12();
cbg15();
cbg19();
mbad();
}
}
h2++;
}
cbgs();
h2 = 5;
while (h2 < 8) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
if (bt[h2] == 12) {
h4 = 0;
h1 = 1;
while (h1 < 9) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -359)) and (py > -460)) {
px = 20;
py = py + 340;
gotoAndPlay (1055);
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = -400;
dscn();
Frame 1052
gotoAndPlay (1051);
Frame 1060
f = 1061;
timer = 1;
pace = 1;
csetup();
bt[1] = 13;
bl[1] = 10;
bx[1] = 60;
by[1] = -120;
bt[2] = 13;
bl[2] = 10;
bx[2] = 140;
by[2] = -120;
bt[3] = 13;
bl[3] = 10;
bx[3] = 60;
by[3] = -240;
bt[4] = 13;
bl[4] = 10;
bx[4] = 140;
by[4] = -240;
bt[5] = 13;
bl[5] = 10;
bx[5] = 60;
by[5] = -360;
bt[6] = 13;
bl[6] = 10;
bx[6] = 140;
by[6] = -360;
bt[7] = 20;
bl[7] = 6;
bx[7] = 80;
by[7] = -180;
bt[8] = 20;
bl[8] = 6;
bx[8] = 160;
by[8] = -300;
blt[1] = 1;
blx[1] = 100;
bly[1] = -10;
blsx[1] = 100;
blsy[1] = 10;
blt[2] = 1;
blx[2] = 90;
bly[2] = -160;
blsx[2] = 90;
blsy[2] = 20;
blt[3] = 1;
blx[3] = 120;
bly[3] = -280;
blsx[3] = 80;
blsy[3] = 20;
blt[4] = 1;
blx[4] = 90;
bly[4] = -400;
blsx[4] = 90;
blsy[4] = 20;
blt[5] = 2;
blx[5] = 190;
bly[5] = -140;
blsx[5] = 10;
blsy[5] = 80;
blt[6] = 2;
blx[6] = 30;
bly[6] = -280;
blsx[6] = 10;
blsy[6] = 60;
blt[7] = 2;
blx[7] = 190;
bly[7] = -400;
blsx[7] = 10;
blsy[7] = 60;
blt[8] = 1;
blx[8] = 500;
bly[8] = -250;
blsx[8] = 300;
blsy[8] = 250;
bly[15] = 50;
prsc();
Frame 1061
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
bly[15] = 50;
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -20;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
cbl2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg13();
cbg20();
mbad();
}
}
h2++;
}
cbgs();
h2 = 7;
while (h2 < 9) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
if (bt[h2] == 20) {
h4 = 0;
h1 = 1;
while (h1 < 9) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px < 10) and (py < -419)) and (py > -500)) {
px = 780;
py = py + 380;
bly[15] = 50;
gotoAndPlay (1065);
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = 100;
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
dscn();
if (py > bly[15]) {
pl = pl - 5;
}
if ((py - 80) > bly[15]) {
pl = -10;
}
bly[15] = bly[15] - 2;
if (pace > 13) {
bly[15] = bly[15] - 1;
}
risindoom._y = 100 + (bly[15] - camy);
Frame 1062
gotoAndPlay (1061);
Frame 1070
f = 1071;
timer = 1;
pace = 1;
csetup();
bt[1] = 3;
bl[1] = 4;
bx[1] = 600;
by[1] = -100;
bt[2] = 3;
bl[2] = 4;
bx[2] = 550;
by[2] = -80;
bt[3] = 15;
bl[3] = 6;
bx[3] = 300;
by[3] = -40;
bt[4] = 3;
bl[4] = 4;
bx[4] = 250;
by[4] = -100;
bt[5] = 21;
bl[5] = 20;
bx[5] = 20;
by[5] = -50;
blt[1] = 1;
blx[1] = 400;
bly[1] = -20;
blsx[1] = 400;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 400;
bly[2] = -310;
blsx[2] = 400;
blsy[2] = 190;
blt[3] = 9;
blx[3] = 80;
bly[3] = -230;
blsx[3] = 60;
blsy[3] = 70;
blt[4] = 9;
blx[4] = 240;
bly[4] = -230;
blsx[4] = 60;
blsy[4] = 70;
blt[5] = 9;
blx[5] = 420;
bly[5] = -230;
blsx[5] = 60;
blsy[5] = 70;
blt[6] = 9;
blx[6] = 580;
bly[6] = -230;
blsx[6] = 60;
blsy[6] = 70;
prsc();
Frame 1071
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 760;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
bs[10] = 0;
h1 = 1;
while (h1 < 7) {
if (blt[h1] == 1) {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 35;
pj = 0;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and Key.isDown(37)) {
pd = 12;
}
if ((px < blx[h1]) and Key.isDown(39)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
if ((py - 11) > (bly[h1] - blsy[h1])) {
bs[10] = 1;
}
py = bly[h1] - blsy[h1];
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
}
if (blt[h1] == 9) {
if (((((px + 5) > (blx[h1] - blsx[h1])) and ((px - 5) < (blx[h1] + blsx[h1]))) and ((py - 25) <= ((bly[h1] + blsy[h1]) + 6))) and (py > ((bly[h1] + blsy[h1]) + 4))) {
py = (bly[h1] + blsy[h1]) + 38;
pj = 2;
if (bs[10] == 1) {
pl = -10;
}
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and Key.isDown(37)) {
pd = 12;
}
if ((px < blx[h1]) and Key.isDown(39)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
py = py + 2;
}
if ((timer > 60) and (timer < 121)) {
py = py - 2;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
bly[h1] = bly[h1] + 2;
}
if ((timer > 60) and (timer < 121)) {
bly[h1] = bly[h1] - 2;
}
}
h1++;
}
dfall();
h2 = 1;
while (h2 < 6) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg3();
cbg15();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
if (((px < 10) and (py < -39)) and (py > -120)) {
px = 780;
gotoAndPlay (1075);
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = -80;
dscn();
block3._x = 100 + (blx[3] - camx);
block3._y = 100 + (bly[3] - camy);
block4._x = 100 + (blx[4] - camx);
block4._y = 100 + (bly[4] - camy);
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
block6._x = 100 + (blx[6] - camx);
block6._y = 100 + (bly[6] - camy);
Frame 1072
gotoAndPlay (1071);
Frame 1080
f = 1081;
timer = 1;
pace = 1;
csetup();
bt[1] = 6;
bl[1] = 6;
bx[1] = 600;
by[1] = -140;
bt[2] = 6;
bl[2] = 6;
bx[2] = 400;
by[2] = -200;
bt[3] = 6;
bl[3] = 6;
bx[3] = 250;
by[3] = -230;
bt[4] = 6;
bl[4] = 6;
bx[4] = 50;
by[4] = -170;
bt[5] = 6;
bl[5] = 6;
bx[5] = 40;
by[5] = -120;
bt[6] = 17;
bl[6] = 4;
bx[6] = 550;
by[6] = -220;
bt[7] = 12;
bl[7] = 6;
bx[7] = 120;
by[7] = -40;
bt[8] = 12;
bl[8] = 6;
bx[8] = 430;
by[8] = -40;
blt[1] = 1;
blx[1] = 370;
bly[1] = -370;
blsx[1] = 400;
blsy[1] = 130;
blt[2] = 1;
blx[2] = 770;
bly[2] = -310;
blsx[2] = 30;
blsy[2] = 190;
blt[3] = 1;
blx[3] = 400;
bly[3] = -20;
blsx[3] = 400;
blsy[3] = 20;
blt[4] = 1;
blx[4] = 50;
bly[4] = -70;
blsx[4] = 50;
blsy[4] = 30;
blt[5] = 1;
blx[5] = 250;
bly[5] = -80;
blsx[5] = 50;
blsy[5] = 40;
blt[6] = 1;
blx[6] = 350;
bly[6] = -100;
blsx[6] = 50;
blsy[6] = 60;
blt[7] = 1;
blx[7] = 500;
bly[7] = -70;
blsx[7] = 40;
blsy[7] = 30;
blt[8] = 1;
blx[8] = 570;
bly[8] = -90;
blsx[8] = 30;
blsy[8] = 50;
blt[9] = 1;
blx[9] = 630;
bly[9] = -70;
blsx[9] = 30;
blsy[9] = 30;
blt[10] = 9;
blx[10] = 200;
bly[10] = -340;
blsx[10] = 100;
blsy[10] = 100;
blt[11] = 9;
blx[11] = 330;
bly[11] = -340;
blsx[11] = 30;
blsy[11] = 60;
blt[12] = 9;
blx[12] = 470;
bly[12] = -320;
blsx[12] = 70;
blsy[12] = 100;
blt[13] = 9;
blx[13] = 670;
bly[13] = -320;
blsx[13] = 70;
blsy[13] = 100;
prsc();
Frame 1081
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 760;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
bs[10] = 0;
h1 = 1;
while (h1 < 14) {
if (blt[h1] == 1) {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 35;
pj = 0;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and Key.isDown(37)) {
pd = 12;
}
if ((px < blx[h1]) and Key.isDown(39)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
if ((py - 11) > (bly[h1] - blsy[h1])) {
bs[10] = 1;
}
py = bly[h1] - blsy[h1];
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
}
if (blt[h1] == 9) {
if (((((px + 5) > (blx[h1] - blsx[h1])) and ((px - 5) < (blx[h1] + blsx[h1]))) and ((py - 25) <= ((bly[h1] + blsy[h1]) + 6))) and (py > ((bly[h1] + blsy[h1]) + 4))) {
py = (bly[h1] + blsy[h1]) + 38;
pj = 2;
if (bs[10] == 1) {
pl = -10;
}
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and Key.isDown(37)) {
pd = 12;
}
if ((px < blx[h1]) and Key.isDown(39)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
py = py + 2;
}
if ((timer > 60) and (timer < 121)) {
py = py - 2;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
bly[h1] = bly[h1] + 2;
}
if ((timer > 60) and (timer < 121)) {
bly[h1] = bly[h1] - 2;
}
}
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg6();
cbg12();
cbg17();
cbg18();
mbad();
}
}
h2++;
}
cbgs();
h2 = 6;
while (h2 < 9) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
if ((bt[h2] == 12) or (bt[h2] == 18)) {
h4 = 0;
h1 = 1;
while (h1 < 14) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px < 10) and (py < -99)) and (py > -200)) {
px = 270;
py = py + 80;
if (game != 5) {
gotoAndPlay (1095);
}
if (game == 5) {
gotoAndPlay (2556);
}
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
dscn();
block10._x = 100 + (blx[10] - camx);
block10._y = 100 + (bly[10] - camy);
block11._x = 100 + (blx[11] - camx);
block11._y = 100 + (bly[11] - camy);
block12._x = 100 + (blx[12] - camx);
block12._y = 100 + (bly[12] - camy);
block13._x = 100 + (blx[13] - camx);
block13._y = 100 + (bly[13] - camy);
Frame 1082
gotoAndPlay (1081);
Frame 1100
f = 1101;
timer = 1;
pace = 1;
csetup();
bt[1] = 64;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 250 + (200 - dif);
bx[1] = 120;
by[1] = -20;
bf[1] = 300;
bx[10] = 12;
by[10] = 75;
blt[1] = 1;
blx[1] = 150;
bly[1] = 0;
blsx[1] = 150;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 300;
bly[2] = -100;
blsx[2] = 20;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 0;
bly[3] = -100;
blsx[3] = 20;
blsy[3] = 100;
Frame 1101
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 260;
py = -20;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 4) {
cbl1();
h1++;
}
dfall();
boss11();
if (py < -120) {
py = -120;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 295) {
px = 295;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 200) {
camx = 200;
}
camy = -50;
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
bg2._x = 100 + (bx[2] - camx);
bg2._y = 100 + (by[2] - camy);
bg2.gotoAndStop(bf[2]);
bg3._x = 100 + (bx[3] - camx);
bg3._y = 100 + (by[3] - camy);
bg3.gotoAndStop(bf[3]);
bg4._x = 100 + (bx[4] - camx);
bg4._y = 100 + (by[4] - camy);
bg4.gotoAndStop(bf[4]);
bg5._x = 100 + (bx[5] - camx);
bg5._y = 100 + (by[5] - camy);
bg5.gotoAndStop(bf[5]);
bg6._x = 100 + (bx[6] - camx);
bg6._y = 100 + (by[6] - camy);
bg6.gotoAndStop(bf[6]);
bg7._x = 100 + (bx[7] - camx);
bg7._y = 100 + (by[7] - camy);
bg7.gotoAndStop(bf[7]);
bg8._x = 100 + (bx[8] - camx);
bg8._y = 100 + (by[8] - camy);
bg8.gotoAndStop(bf[8]);
bg9._x = 100 + (bx[9] - camx);
bg9._y = 100 + (by[9] - camy);
bg9.gotoAndStop(bf[9]);
bg10._x = 100 + (bx[10] - camx);
bg10._y = 100 + (by[10] - camy);
bg10.gotoAndStop(bf[10]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
stage2._x = 300 - (camx / 2);
stage2._y = -37 - (camy / 2);
Frame 1102
gotoAndPlay (1101);
Frame 1110
f = 1111;
timer = 1;
pace = 1;
csetup();
bt[1] = 15;
bl[1] = 6;
bx[1] = 250;
by[1] = -100;
bt[2] = 16;
bl[2] = 4;
bx[2] = 220;
by[2] = -100;
bt[3] = 16;
bl[3] = 4;
bx[3] = 270;
by[3] = -100;
bt[4] = 9;
bl[4] = 4;
bx[4] = 400;
by[4] = -200;
bt[5] = 11;
bl[5] = 12;
bx[5] = 600;
by[5] = -300;
bt[6] = 11;
bl[6] = 12;
bx[6] = 630;
by[6] = -330;
bt[7] = 16;
bl[7] = 4;
bx[7] = 750;
by[7] = -380;
blt[1] = 1;
blx[1] = 150;
bly[1] = -50;
blsx[1] = 150;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 750;
bly[2] = -360;
blsx[2] = 50;
blsy[2] = 20;
blt[3] = 40;
blx[3] = 360;
bly[3] = -80;
blsx[3] = 20;
blsy[3] = 20;
blt[4] = 9;
blx[4] = 560;
bly[4] = -320;
blsx[4] = 20;
blsy[4] = 20;
blt[5] = 8;
blx[5] = 640;
bly[5] = -200;
blsx[5] = 20;
blsy[5] = 20;
prsc();
Frame 1111
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -100;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 6) {
cbl1();
cbl8();
cbl9();
cbl40();
h1++;
}
dfall();
h2 = 1;
while (h2 < 8) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg9();
cbg11();
cbg15();
cbg16();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 790) and (py < -379)) and (py > -480)) {
px = 20;
gotoAndPlay (1115);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block3._x = 100 + (blx[3] - camx);
block3._y = 100 + (bly[3] - camy);
block4._x = 100 + (blx[4] - camx);
block4._y = 100 + (bly[4] - camy);
block5._x = 100 + (blx[5] - camx);
block5._y = 100 + (bly[5] - camy);
Frame 1112
gotoAndPlay (1111);
Frame 1120
f = 1121;
timer = 1;
pace = 1;
csetup();
bt[1] = 19;
bd[1] = 1;
bl[1] = 4;
bx[1] = 280;
by[1] = -270;
bt[2] = 19;
bd[2] = 1;
bl[2] = 4;
bx[2] = 280;
by[2] = -310;
bt[3] = 16;
bl[3] = 4;
bx[3] = 150;
by[3] = -260;
bt[4] = 19;
bl[4] = 4;
bx[4] = 40;
by[4] = -280;
bt[5] = 19;
bd[5] = 1;
bl[5] = 4;
bx[5] = 460;
by[5] = -40;
bt[6] = 19;
bd[6] = 1;
bl[6] = 4;
bx[6] = 460;
by[6] = -90;
bt[7] = 16;
bl[7] = 4;
bx[7] = 600;
by[7] = -220;
bt[8] = 20;
bl[8] = 6;
bx[8] = 410;
by[8] = -40;
blt[1] = 1;
blx[1] = 100;
bly[1] = -360;
blsx[1] = 100;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 20;
bly[2] = -170;
blsx[2] = 20;
blsy[2] = 170;
blt[3] = 1;
blx[3] = 150;
bly[3] = -210;
blsx[3] = 50;
blsy[3] = 50;
blt[4] = 1;
blx[4] = 240;
bly[4] = -140;
blsx[4] = 140;
blsy[4] = 20;
blt[5] = 1;
blx[5] = 330;
bly[5] = -330;
blsx[5] = 50;
blsy[5] = 170;
blt[6] = 1;
blx[6] = 420;
bly[6] = -20;
blsx[6] = 380;
blsy[6] = 20;
blt[7] = 1;
blx[7] = 590;
bly[7] = -400;
blsx[7] = 210;
blsy[7] = 100;
blt[8] = 1;
blx[8] = 550;
bly[8] = -130;
blsx[8] = 90;
blsy[8] = 90;
blt[9] = 1;
blx[9] = 760;
bly[9] = -200;
blsx[9] = 40;
blsy[9] = 100;
blt[10] = 3;
blx[10] = 240;
bly[10] = -190;
blsx[10] = 40;
blsy[10] = 30;
blt[11] = 9;
blx[11] = 220;
bly[11] = -360;
blsx[11] = 20;
blsy[11] = 20;
prsc();
Frame 1121
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -380;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 12) {
cbl1();
cbl3_3();
cbl9();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg16();
cbg19();
cbg20();
mbad();
}
}
h2++;
}
cbgs();
if (bs[10] > 0) {
if (pace == 3) {
if ((bl[1] < 1) and (bt[1] < 110)) {
bt[1] = 1;
bd[1] = 1;
bg[1] = 0;
btime[1] = 5;
bj[1] = 4;
bs[1] = 0;
bl[1] = 4;
bx[1] = 80;
by[1] = -120;
bf[1] = 1;
bs[10] = bs[10] - 1;
}
if ((bl[2] < 1) and (bt[2] < 110)) {
bt[2] = 1;
bd[2] = 1;
bg[2] = 0;
btime[2] = 5;
bj[2] = 4;
bs[2] = 0;
bl[2] = 4;
bx[2] = 220;
by[2] = -120;
bf[2] = 1;
bs[10] = bs[10] - 1;
}
}
if (pace == 8) {
if ((bl[3] < 1) and (bt[3] < 110)) {
bt[3] = 5;
bd[3] = 0;
bg[3] = 0;
btime[3] = 5;
bj[3] = 4;
bs[3] = 0;
bl[3] = 4;
bx[3] = 80;
by[3] = -120;
bf[3] = 1;
bs[10] = bs[10] - 1;
}
if ((bl[4] < 1) and (bt[4] < 110)) {
bt[4] = 1;
bd[4] = 1;
bg[4] = 0;
btime[4] = 5;
bj[4] = 4;
bs[4] = 0;
bl[4] = 4;
bx[4] = 220;
by[4] = -120;
bf[4] = 1;
bs[10] = bs[10] - 1;
}
}
if (pace == 14) {
if ((bl[5] < 1) and (bt[5] < 110)) {
bt[5] = 5;
bd[5] = 0;
bg[5] = 0;
btime[5] = 5;
bj[5] = 4;
bs[5] = 0;
bl[5] = 4;
bx[5] = 80;
by[5] = -120;
bf[5] = 1;
bs[10] = bs[10] - 1;
}
if ((bl[6] < 1) and (bt[6] < 110)) {
bt[6] = 1;
bd[6] = 1;
bg[6] = 0;
btime[6] = 5;
bj[6] = 4;
bs[6] = 0;
bl[6] = 4;
bx[6] = 220;
by[6] = -120;
bf[6] = 1;
bs[10] = bs[10] - 1;
}
}
}
h2 = 8;
while (h2 < 9) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
if (bt[h2] == 20) {
h4 = 0;
h1 = 1;
while (h1 < 12) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (((px > 790) and (py < -39)) and (py > -100)) {
px = 20;
gotoAndPlay (1125);
}
cxyz();
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
dscn();
block11._x = 100 + (blx[11] - camx);
block11._y = 100 + (bly[11] - camy);
Frame 1122
gotoAndPlay (1121);
Frame 1130
f = 1131;
timer = 1;
pace = 1;
csetup();
bs[10] = 16;
blt[1] = 1;
blx[1] = 100;
bly[1] = -160;
blsx[1] = 100;
blsy[1] = 40;
blt[2] = 1;
blx[2] = 100;
bly[2] = -20;
blsx[2] = 100;
blsy[2] = 20;
prsc();
Frame 1131
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 100;
py = -40;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 3) {
cbl1();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 150)) and (bx[h2] < (camx + 150))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg11();
cbg6();
mbad();
}
}
h2++;
}
cbgs();
if (bs[10] > 0) {
if (pace == 3) {
if ((bl[1] < 1) and (bt[1] < 110)) {
bt[1] = 6;
bd[1] = 0;
bg[1] = 0;
btime[1] = 5;
bj[1] = 4;
bs[1] = 0;
bl[1] = 6;
bx[1] = 60;
by[1] = -100;
bf[1] = 1;
bs[10] = bs[10] - 1;
}
if ((bl[2] < 1) and (bt[2] < 110)) {
bt[2] = 6;
bd[2] = 0;
bg[2] = 0;
btime[2] = 5;
bj[2] = 4;
bs[2] = 0;
bl[2] = 6;
bx[2] = 140;
by[2] = -100;
bf[2] = 1;
bs[10] = bs[10] - 1;
}
}
if (pace == 8) {
if ((bl[3] < 1) and (bt[3] < 110)) {
bt[3] = 11;
bd[3] = 0;
bg[3] = 0;
btime[3] = 5;
bj[3] = 4;
bs[3] = 0;
bl[3] = 12;
bx[3] = 60;
by[3] = -100;
bf[3] = 1;
bs[10] = bs[10] - 1;
}
if ((bl[4] < 1) and (bt[4] < 110)) {
bt[4] = 6;
bd[4] = 0;
bg[4] = 0;
btime[4] = 5;
bj[4] = 4;
bs[4] = 0;
bl[4] = 6;
bx[4] = 140;
by[4] = -100;
bf[4] = 1;
bs[10] = bs[10] - 1;
}
}
if (pace == 14) {
if ((bl[5] < 1) and (bt[5] < 110)) {
bt[5] = 11;
bd[5] = 0;
bg[5] = 0;
btime[5] = 5;
bj[5] = 4;
bs[5] = 0;
bl[5] = 12;
bx[5] = 60;
by[5] = -100;
bf[5] = 1;
bs[10] = bs[10] - 1;
}
if ((bl[6] < 1) and (bt[6] < 110)) {
bt[6] = 6;
bd[6] = 0;
bg[6] = 0;
btime[6] = 5;
bj[6] = 4;
bs[6] = 0;
bl[6] = 6;
bx[6] = 140;
by[6] = -100;
bf[6] = 1;
bs[10] = bs[10] - 1;
}
}
}
if (bs[10] < 1) {
lockedsign._x = -2000;
if (((px > 190) and (py < -39)) and (py > -100)) {
px = 20;
gotoAndPlay (1135);
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
}
if (bs[10] > 0) {
if (px < 10) {
px = 10;
}
if (px > 190) {
px = 190;
}
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 150) {
timer = 1;
bs[10] = bs[10] - 1;
}
camx = 100;
camy = -50;
dscn();
Frame 1132
gotoAndPlay (1131);
Frame 1140
f = 1141;
timer = 1;
pace = 1;
csetup();
bs[10] = 16;
blt[1] = 1;
blx[1] = 100;
bly[1] = -160;
blsx[1] = 100;
blsy[1] = 40;
blt[2] = 1;
blx[2] = 100;
bly[2] = -20;
blsx[2] = 100;
blsy[2] = 20;
prsc();
Frame 1141
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 100;
py = -40;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 3) {
cbl1();
h1++;
}
dfall();
h2 = 1;
while (h2 < 7) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 150)) and (bx[h2] < (camx + 150))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg21();
cbg3();
mbad();
}
}
h2++;
}
cbgs();
if (bs[10] > 0) {
if (pace == 3) {
if ((bl[1] < 1) and (bt[1] < 110)) {
bt[1] = 3;
bd[1] = 1;
bg[1] = 0;
btime[1] = 5;
bj[1] = 4;
bs[1] = 0;
bl[1] = 4;
bx[1] = 60;
by[1] = -100;
bf[1] = 1;
bs[10] = bs[10] - 1;
}
if ((bl[2] < 1) and (bt[2] < 110)) {
bt[2] = 3;
bd[2] = 0;
bg[2] = 0;
btime[2] = 5;
bj[2] = 4;
bs[2] = 0;
bl[2] = 4;
bx[2] = 140;
by[2] = -100;
bf[2] = 1;
bs[10] = bs[10] - 1;
}
}
if (pace == 8) {
if ((bl[3] < 1) and (bt[3] < 110)) {
bt[3] = 21;
bd[3] = 0;
bg[3] = 0;
btime[3] = 5;
bj[3] = 4;
bs[3] = 0;
bl[3] = 20;
bx[3] = 60;
by[3] = -100;
bf[3] = 1;
bs[10] = bs[10] - 1;
}
if ((bl[4] < 1) and (bt[4] < 110)) {
bt[4] = 3;
bd[4] = 1;
bg[4] = 0;
btime[4] = 5;
bj[4] = 4;
bs[4] = 0;
bl[4] = 4;
bx[4] = 140;
by[4] = -100;
bf[4] = 1;
bs[10] = bs[10] - 1;
}
}
if (pace == 14) {
if ((bl[5] < 1) and (bt[5] < 110)) {
bt[5] = 21;
bd[5] = 0;
bg[5] = 0;
btime[5] = 5;
bj[5] = 4;
bs[5] = 0;
bl[5] = 20;
bx[5] = 140;
by[5] = -100;
bf[5] = 1;
bs[10] = bs[10] - 1;
}
if ((bl[6] < 1) and (bt[6] < 110)) {
bt[6] = 3;
bd[6] = 1;
bg[6] = 0;
btime[6] = 5;
bj[6] = 4;
bs[6] = 0;
bl[6] = 4;
bx[6] = 60;
by[6] = -100;
bf[6] = 1;
bs[10] = bs[10] - 1;
}
}
}
if (bs[10] < 1) {
lockedsign._x = -2000;
if (((px > 190) and (py < -39)) and (py > -100)) {
px = 20;
gotoAndPlay (1145);
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
}
if (bs[10] > 0) {
if (px < 10) {
px = 10;
}
if (px > 190) {
px = 190;
}
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 150) {
timer = 1;
bs[10] = bs[10] - 1;
}
camx = 100;
camy = -50;
dscn();
Frame 1142
gotoAndPlay (1141);
Frame 1150
f = 1151;
timer = 1;
pace = 1;
csetup();
bt[9] = 15;
bd[9] = 15;
bx[9] = 15;
by[9] = 15;
bt[10] = 15;
bd[10] = 15;
bx[10] = 15;
by[10] = 22;
blt[1] = 1;
blx[1] = 400;
bly[1] = -470;
blsx[1] = 400;
blsy[1] = 30;
blt[2] = 1;
blx[2] = 30;
bly[2] = -370;
blsx[2] = 30;
blsy[2] = 70;
blt[3] = 1;
blx[3] = 770;
bly[3] = -370;
blsx[3] = 30;
blsy[3] = 70;
blt[4] = 1;
blx[4] = 70;
bly[4] = -210;
blsx[4] = 70;
blsy[4] = 90;
blt[5] = 1;
blx[5] = 730;
bly[5] = -210;
blsx[5] = 70;
blsy[5] = 90;
blt[6] = 1;
blx[6] = 400;
bly[6] = -20;
blsx[6] = 400;
blsy[6] = 20;
blt[7] = 1;
blx[7] = 260;
bly[7] = -320;
blsx[7] = 40;
blsy[7] = 40;
blt[8] = 1;
blx[8] = 400;
bly[8] = -320;
blsx[8] = 40;
blsy[8] = 40;
blt[9] = 1;
blx[9] = 540;
bly[9] = -320;
blsx[9] = 40;
blsy[9] = 40;
blt[10] = 1;
blx[10] = 260;
bly[10] = -160;
blsx[10] = 40;
blsy[10] = 40;
blt[11] = 1;
blx[11] = 400;
bly[11] = -160;
blsx[11] = 40;
blsy[11] = 40;
blt[12] = 1;
blx[12] = 540;
bly[12] = -160;
blsx[12] = 40;
blsy[12] = 40;
blt[13] = 2;
blx[13] = 330;
bly[13] = -240;
blsx[13] = 10;
blsy[13] = 160;
blt[14] = 2;
blx[14] = 470;
bly[14] = -240;
blsx[14] = 10;
blsy[14] = 160;
prsc();
Frame 1151
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 15) {
cbl1();
cbl2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 800)) and (bx[h2] < (camx + 800))) and (by[h2] > (camy - 460))) and (by[h2] < (camy + 460))) {
cblu();
cbg5();
cbg6();
cbg8();
cbg14();
mbad();
}
}
h2++;
}
cbgs();
if (pace == 1) {
if (((bl[1] < 1) and (bt[1] < 110)) and (bx[9] > 0)) {
bt[1] = 8;
bd[1] = 0;
bg[1] = 0;
btime[1] = 5;
bj[1] = 4;
bs[1] = 0;
bl[1] = 4;
bx[1] = 80;
by[1] = -360;
bf[1] = 1;
bx[9] = bx[9] - 1;
}
if (((bl[2] < 1) and (bt[2] < 110)) and (by[9] > 0)) {
bt[2] = 8;
bd[2] = 0;
bg[2] = 0;
btime[2] = 5;
bj[2] = 4;
bs[2] = 0;
bl[2] = 4;
bx[2] = 720;
by[2] = -360;
bf[2] = 1;
by[9] = by[9] - 1;
}
}
if (pace == 5) {
if (((bl[3] < 1) and (bt[3] < 110)) and (bt[9] > 0)) {
bt[3] = 8;
bd[3] = 0;
bg[3] = 0;
btime[3] = 5;
bj[3] = 4;
bs[3] = 0;
bl[3] = 4;
bx[3] = 400;
by[3] = -260;
bf[3] = 1;
bt[9] = bt[9] - 1;
}
if (((bl[4] < 1) and (bt[4] < 110)) and (bd[9] > 0)) {
bt[4] = 14;
bd[4] = 0;
bg[4] = 0;
btime[4] = 5;
bj[4] = 4;
bs[4] = 0;
bl[4] = 3;
bx[4] = 260;
by[4] = -420;
bf[4] = 1;
bd[9] = bd[9] - 1;
}
}
if (pace == 9) {
if (((bl[5] < 1) and (bt[5] < 110)) and (bx[10] > 0)) {
bt[5] = 14;
bd[5] = 1;
bg[5] = 0;
btime[5] = 5;
bj[5] = 4;
bs[5] = 0;
bl[5] = 3;
bx[5] = 540;
by[5] = -420;
bf[5] = 1;
bx[10] = bx[10] - 1;
}
if (((bl[6] < 1) and (bt[6] < 110)) and (by[10] > 0)) {
bt[6] = 6;
bd[6] = 0;
bg[6] = 0;
btime[6] = 5;
bj[6] = 4;
bs[6] = 0;
bl[6] = 4;
bx[6] = 400;
by[6] = -420;
bf[6] = 1;
by[10] = by[10] - 1;
}
}
if (pace == 15) {
if (((bl[7] < 1) and (bt[7] < 110)) and (bt[10] > 0)) {
bt[7] = 5;
bd[7] = 0;
bg[7] = 0;
btime[7] = 5;
bj[7] = 4;
bs[7] = 0;
bl[7] = 4;
bx[7] = 260;
by[7] = -260;
bf[7] = 1;
bt[10] = bt[10] - 1;
}
if (((bl[8] < 1) and (bt[8] < 110)) and (bd[10] > 0)) {
bt[8] = 5;
bd[8] = 0;
bg[8] = 0;
btime[8] = 5;
bj[8] = 4;
bs[8] = 0;
bl[8] = 4;
bx[8] = 540;
by[8] = -260;
bf[8] = 1;
bd[10] = bd[10] - 1;
}
}
if ((((((((bx[9] + by[9]) + bt[9]) + bd[9]) + bx[10]) + by[10]) + bt[10]) + bd[10]) < 1) {
lockedsign._x = -2000;
if (((px > 790) and (py < -39)) and (py > -100)) {
px = 20;
gotoAndPlay (1155);
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
}
if ((((((((bx[9] + by[9]) + bt[9]) + bd[9]) + bx[10]) + by[10]) + bt[10]) + bd[10]) > 0) {
if (px < 10) {
px = 10;
}
if (px > 790) {
px = 790;
}
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 110) {
timer = 1;
bt[9] = bt[9] - 1;
bd[9] = bd[9] - 1;
bx[9] = bx[9] - 1;
by[9] = by[9] - 1;
bt[10] = bt[10] - 1;
bd[10] = bd[10] - 1;
bx[10] = bx[10] - 1;
by[10] = by[10] - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
dscn();
Frame 1152
gotoAndPlay (1151);
Frame 1160
f = 1161;
timer = 1;
pace = 1;
csetup();
blt[1] = 1;
blx[1] = 40;
bly[1] = -20;
blsx[1] = 40;
blsy[1] = 20;
blt[2] = 10;
blx[2] = 180;
bly[2] = -40;
blsx[2] = 20;
blsy[2] = 40;
blt[3] = 10;
blx[3] = 100;
bly[3] = -140;
blsx[3] = 20;
blsy[3] = 20;
blt[4] = 10;
blx[4] = 40;
bly[4] = -200;
blsx[4] = 40;
blsy[4] = 20;
blt[5] = 10;
blx[5] = 20;
bly[5] = -260;
blsx[5] = 20;
blsy[5] = 40;
blt[6] = 10;
blx[6] = 140;
bly[6] = -300;
blsx[6] = 60;
blsy[6] = 20;
blt[7] = 10;
blx[7] = 20;
bly[7] = -380;
blsx[7] = 20;
blsy[7] = 20;
blt[8] = 10;
blx[8] = 100;
bly[8] = -400;
blsx[8] = 20;
blsy[8] = 20;
blt[9] = 10;
blx[9] = 180;
bly[9] = -400;
blsx[9] = 20;
blsy[9] = 20;
prsc();
Frame 1161
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 10) {
cbl1();
cbl30();
cbl11_29();
cbl10();
h1++;
}
dfall();
if (((px > 190) and (py < -379)) and (py > -500)) {
px = 20;
gotoAndPlay (1165);
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if ((px > 195) and (py > -420)) {
px = 195;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = 100;
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
dscn();
block2._x = ((100 + (blx[2] - camx)) - 1) + random(3);
block2._y = ((100 + (bly[2] - camy)) - 1) + random(3);
block3._x = ((100 + (blx[3] - camx)) - 1) + random(3);
block3._y = ((100 + (bly[3] - camy)) - 1) + random(3);
block4._x = ((100 + (blx[4] - camx)) - 1) + random(3);
block4._y = ((100 + (bly[4] - camy)) - 1) + random(3);
block5._x = ((100 + (blx[5] - camx)) - 1) + random(3);
block5._y = ((100 + (bly[5] - camy)) - 1) + random(3);
block6._x = ((100 + (blx[6] - camx)) - 1) + random(3);
block6._y = ((100 + (bly[6] - camy)) - 1) + random(3);
block7._x = ((100 + (blx[7] - camx)) - 1) + random(3);
block7._y = ((100 + (bly[7] - camy)) - 1) + random(3);
block8._x = ((100 + (blx[8] - camx)) - 1) + random(3);
block8._y = ((100 + (bly[8] - camy)) - 1) + random(3);
block9._x = ((100 + (blx[9] - camx)) - 1) + random(3);
block9._y = ((100 + (bly[9] - camy)) - 1) + random(3);
Frame 1162
gotoAndPlay (1161);
Frame 1170
f = 1171;
timer = 1;
pace = 1;
csetup();
bt[1] = 8;
bl[1] = 4;
bx[1] = 160;
by[1] = -320;
bt[2] = 8;
bl[2] = 4;
bx[2] = 320;
by[2] = -320;
bt[3] = 8;
bl[3] = 4;
bx[3] = 480;
by[3] = -320;
bt[4] = 8;
bl[4] = 4;
bx[4] = 640;
by[4] = -320;
bt[5] = 21;
bl[5] = 20;
bx[5] = 180;
by[5] = -240;
bt[6] = 21;
bl[6] = 20;
bx[6] = 300;
by[6] = -240;
bt[7] = 21;
bl[7] = 20;
bx[7] = 480;
by[7] = -240;
bt[8] = 21;
bl[8] = 20;
bx[8] = 660;
by[8] = -240;
bt[9] = 12;
bl[9] = 6;
bx[9] = 240;
by[9] = -80;
bt[10] = 12;
bl[10] = 6;
bx[10] = 560;
by[10] = -80;
blt[1] = 1;
blx[1] = 50;
bly[1] = -210;
blsx[1] = 50;
blsy[1] = 210;
blt[2] = 1;
blx[2] = 240;
bly[2] = -330;
blsx[2] = 60;
blsy[2] = 170;
blt[3] = 1;
blx[3] = 400;
bly[3] = -40;
blsx[3] = 300;
blsy[3] = 40;
blt[4] = 1;
blx[4] = 400;
bly[4] = -250;
blsx[4] = 20;
blsy[4] = 170;
blt[5] = 1;
blx[5] = 560;
bly[5] = -330;
blsx[5] = 60;
blsy[5] = 170;
blt[6] = 1;
blx[6] = 750;
bly[6] = -210;
blsx[6] = 50;
blsy[6] = 210;
prsc();
Frame 1171
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -420;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 7) {
cbl1();
h1++;
}
dfall();
h2 = 1;
while (h2 < 11) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg8();
cbg12();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
h2 = 9;
while (h2 < 11) {
if ((bt[h2] > 0) and (bl[h2] > 0)) {
h4 = 0;
h1 = 1;
while (h1 < 7) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
h2++;
}
if (((px > 790) and (py < -419)) and (py > -500)) {
px = 20;
gotoAndPlay (1175);
}
cxyz();
dscn();
Frame 1172
gotoAndPlay (1171);
Frame 1180
f = 1181;
timer = 1;
pace = 1;
csetup();
bt[1] = 19;
bd[1] = 1;
bl[1] = 4;
bx[1] = 300;
by[1] = -250;
bt[2] = 21;
bl[2] = 20;
bx[2] = 220;
by[2] = -110;
bt[3] = 19;
bd[3] = 1;
bl[3] = 4;
bx[3] = 440;
by[3] = -80;
bt[4] = 6;
bl[4] = 6;
bx[4] = 420;
by[4] = -200;
bt[5] = 6;
bl[5] = 6;
bx[5] = 440;
by[5] = -390;
bt[6] = 5;
bl[6] = 4;
bx[6] = 440;
by[6] = -420;
bt[7] = 5;
bl[7] = 4;
bx[7] = 420;
by[7] = -380;
bt[8] = 3;
bl[8] = 4;
bx[8] = 430;
by[8] = -420;
blt[1] = 1;
blx[1] = 30;
bly[1] = -210;
blsx[1] = 30;
blsy[1] = 210;
blt[2] = 1;
blx[2] = 150;
bly[2] = -340;
blsx[2] = 90;
blsy[2] = 20;
blt[3] = 5;
blx[3] = 150;
bly[3] = -390;
blsx[3] = 90;
blsy[3] = 30;
blt[4] = 1;
blx[4] = 330;
bly[4] = -350;
blsx[4] = 30;
blsy[4] = 150;
blt[5] = 32;
blx[5] = 250;
bly[5] = -220;
blsx[5] = 50;
blsy[5] = 20;
blt[6] = 3;
blx[6] = 160;
bly[6] = -220;
blsx[6] = 40;
blsy[6] = 20;
blt[7] = 3;
blx[7] = 100;
bly[7] = -50;
blsx[7] = 40;
blsy[7] = 50;
blt[8] = 32;
blx[8] = 180;
bly[8] = -50;
blsx[8] = 40;
blsy[8] = 50;
blt[9] = 5;
blx[9] = 310;
bly[9] = -70;
blsx[9] = 90;
blsy[9] = 30;
blt[10] = 1;
blx[10] = 510;
bly[10] = -20;
blsx[10] = 290;
blsy[10] = 20;
blt[11] = 1;
blx[11] = 500;
bly[11] = -180;
blsx[11] = 60;
blsy[11] = 140;
blt[12] = 1;
blx[12] = 720;
bly[12] = -300;
blsx[12] = 80;
blsy[12] = 200;
blt[13] = 3;
blx[13] = 420;
bly[13] = -280;
blsx[13] = 20;
blsy[13] = 20;
blt[14] = 3;
blx[14] = 580;
bly[14] = -110;
blsx[14] = 20;
blsy[14] = 70;
blt[15] = 3;
blx[15] = 620;
bly[15] = -260;
blsx[15] = 20;
blsy[15] = 20;
prsc();
Frame 1181
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -420;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 16) {
cbl1();
cbl3_3();
cbl5();
cbl32_2();
h1++;
}
dfall();
h2 = 1;
while (h2 < 9) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg3();
cbg5();
cbg6();
cbg19();
cbg21();
mbad();
}
}
h2++;
}
cbgs();
if (((px > 790) and (py < -39)) and (py > -100)) {
px = 50;
if (game != 5) {
gotoAndPlay (1195);
}
if (game == 5) {
gotoAndPlay (2556);
}
}
cxyz();
dscn();
Frame 1182
gotoAndPlay (1181);
Frame 1200
f = 1201;
timer = 1;
pace = 1;
csetup();
bt[1] = 63;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 250 + (200 - dif);
bx[1] = 300;
by[1] = -40;
bf[1] = 300;
bx[2] = 100;
by[2] = -80;
blt[1] = 1;
blx[1] = 150;
bly[1] = -20;
blsx[1] = 150;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 0;
bly[2] = -125;
blsx[2] = 20;
blsy[2] = 125;
Frame 1201
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 60;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 3) {
cbl1();
h1++;
}
dfall();
boss12();
if (py < -200) {
py = -200;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 395) {
px = 395;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 300) {
camx = 300;
}
camy = py;
if (camy < -130) {
camy = -130;
}
if (camy > -50) {
camy = -50;
}
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
nose._x = 100 + (bx[2] - camx);
nose._y = 100 + (by[2] - camy);
nose1._x = 167 + ((bx[2] / 3) - camx);
nose1._y = 48 + ((by[2] / 3) - camy);
nose2._x = 133 + ((bx[2] / 1.5) - camx);
nose2._y = 74 + ((by[2] / 1.5) - camy);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
stage2._x = 300 - (camx / 2);
stage2._y = -37 - (camy / 2);
Frame 1202
gotoAndPlay (1201);
Frame 1300
f = 1301;
timer = 1;
pace = 1;
csetup();
bt[1] = 71;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 300 + (200 - dif);
bx[1] = 120;
by[1] = -20;
bf[1] = 300;
bx[10] = 8;
by[10] = 30;
blt[1] = 1;
blx[1] = 150;
bly[1] = 0;
blsx[1] = 150;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 300;
bly[2] = -100;
blsx[2] = 20;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 0;
bly[3] = -100;
blsx[3] = 20;
blsy[3] = 100;
Frame 1301
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 60;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 4) {
cbl1();
h1++;
}
if (((h4 == 0) and (pwall == 0)) and ((pd < 14) or (pd > 15))) {
if ((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 14)) {
pd = 6;
pj = 2;
}
if ((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 15)) {
pd = 7;
pj = 2;
}
}
boss13();
if (py < -120) {
py = -120;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 200) {
camx = 200;
}
camy = -50;
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
if ((pace == 1) or (pace == 9)) {
s1._x = (80 + (bx[1] - camx)) + random(40);
s1._y = (60 + (by[1] - camy)) + random(40);
}
if ((pace == 5) or (pace == 13)) {
s2._x = (80 + (bx[1] - camx)) + random(40);
s2._y = (60 + (by[1] - camy)) + random(40);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
if ((bd[1] > 9) and (bd[1] < 14)) {
stage._x = (stage._x - 2) + random(5);
stage._y = (stage._y - 1) + random(3);
}
Frame 1302
gotoAndPlay (1301);
Frame 1310
f = 1311;
timer = 1;
pace = 1;
csetup();
bt[1] = 72;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 200 + (200 - dif);
bx[1] = 200;
by[1] = -20;
bf[1] = 300;
bl[2] = 200 + (200 - dif);
bx[10] = 5;
by[10] = 10;
blt[1] = 1;
blx[1] = 180;
bly[1] = 0;
blsx[1] = 360;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 0;
bly[2] = -150;
blsx[2] = 40;
blsy[2] = 150;
Frame 1311
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 80;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 3) {
if (blt[h1] == 1) {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 35;
pj = 0;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and Key.isDown(37)) {
pd = 12;
}
if ((px < blx[h1]) and Key.isDown(39)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
}
h1++;
}
if (((h4 == 0) and (pwall == 0)) and ((pd < 14) or (pd > 15))) {
if ((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 14)) {
pd = 6;
pj = 2;
}
if ((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 15)) {
pd = 7;
pj = 2;
}
}
boss15();
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 355) {
px = 355;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
h3 = random(5);
if (h3 < 4) {
bx[2] = (20 * random(6)) + 60;
by[2] = (20 * random(9)) - 200;
}
if ((bl[2] < 1) or (bd[1] > 30)) {
bx[2] = -2000;
by[2] = -2000;
}
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 260) {
camx = 260;
}
camy = py;
if (camy < -100) {
camy = -100;
}
if (camy > -50) {
camy = -50;
}
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
bg2._x = 100 + (bx[2] - camx);
bg2._y = 100 + (by[2] - camy);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
if (bd[1] == 3) {
stage._x = (stage._x - 2) + random(5);
stage._y = (stage._y - 1) + random(3);
}
Frame 1312
gotoAndPlay (1311);
Frame 1320
f = 1321;
timer = 1;
pace = 1;
csetup();
bt[1] = 73;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 50 + (200 - dif);
bx[1] = 280;
by[1] = -20;
bf[1] = 351;
bt[2] = 74;
bg[2] = 0;
btime[2] = 15;
bd[2] = 90;
bj[2] = 0;
bs[2] = 0;
bl[2] = 50 + (200 - dif);
bx[2] = 250;
by[2] = -20;
bf[2] = 351;
bt[3] = 75;
bg[3] = 0;
btime[3] = 15;
bd[3] = 90;
bj[3] = 0;
bs[3] = 0;
bl[3] = 50 + (200 - dif);
bx[3] = 140;
by[3] = -20;
bf[3] = 351;
bx[10] = 10;
by[10] = 45;
blt[1] = 1;
blx[1] = 200;
bly[1] = 0;
blsx[1] = 200;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 400;
bly[2] = -100;
blsx[2] = 20;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 0;
bly[3] = -100;
blsx[3] = 20;
blsy[3] = 100;
Frame 1321
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 200;
py = -20;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 4) {
cbl1();
h1++;
}
if (((h4 == 0) and (pwall == 0)) and ((pd < 14) or (pd > 15))) {
if ((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 14)) {
pd = 6;
pj = 2;
}
if ((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 15)) {
pd = 7;
pj = 2;
}
}
boss14();
if (((bt[1] < 1) and (bt[2] < 1)) and (bt[3] < 1)) {
if (game == 4) {
gotoAndPlay (3715);
}
if (game != 4) {
gotoAndPlay (2556);
}
}
if (py < -120) {
py = -120;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 395) {
px = 395;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 300) {
camx = 300;
}
camy = -50;
if (bx[8] > 0) {
if (bx[1] < bx[8]) {
bx[8] = (bx[8] + 3) - random(8);
}
if (bx[1] > bx[8]) {
bx[8] = (bx[8] - 3) + random(8);
}
if ((by[1] - 20) > by[8]) {
by[8] = (by[8] + random(4)) + 1;
}
if ((((bx[8] - 8) < bx[1]) and ((bx[8] + 8) > bx[1])) and (by[8] > -50)) {
bx[8] = -2000;
by[8] = -2000;
lifeupsfx.start();
if (bl[1] > 0) {
bl[1] = bl[1] + 20;
if (bl[1] > (50 + (200 - dif))) {
bl[1] = 50 + (200 - dif);
}
}
}
}
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb1.gotoAndStop(bl[1]);
blb2.gotoAndStop(bl[2]);
blb3.gotoAndStop(bl[3]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb1.gotoAndStop(1);
}
if (bl[2] < 1) {
blb2.gotoAndStop(1);
}
if (bl[3] < 1) {
blb3.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
bg2._x = 100 + (bx[2] - camx);
bg2._y = 100 + (by[2] - camy);
bg2.gotoAndStop(bf[2]);
bg3._x = 100 + (bx[3] - camx);
bg3._y = 100 + (by[3] - camy);
bg3.gotoAndStop(bf[3]);
bg7._x = 100 + (bx[3] - camx);
bg7._y = 75 + (by[3] - camy);
if (bs[7] < 12) {
bg7.gotoAndStop(1);
}
if ((bs[7] > 11) and (bs[7] < 23)) {
bg7.gotoAndStop(2);
}
if (bs[7] > 22) {
bg7.gotoAndStop(3);
}
bg8._x = 100 + (bx[8] - camx);
bg8._y = 100 + (by[8] - camy);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -130 - camy;
Frame 1322
gotoAndPlay (1321);
Frame 1330
psn = 1;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
f = 1331;
timer = 1;
pace = 1;
h1 = 1;
while (h1 < 11) {
bt[h1] = 0;
bg[h1] = 0;
btime[h1] = 15;
bd[h1] = 0;
bj[h1] = 0;
bs[h1] = 0;
bl[h1] = 0;
bx[h1] = -1000;
by[h1] = -1000;
bf[h1] = 1;
h1++;
}
bt[1] = 76;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 300 + (200 - dif);
bx[1] = 60;
by[1] = -190;
bf[1] = 300;
bx[10] = 7;
by[10] = 22;
bsn = 1;
h1 = 1;
while (h1 < 7) {
bst[h1] = 0;
bsd[h1] = 0;
bsx[h1] = -2000;
bsy[h1] = -2000;
bsf[h1] = 7;
h1++;
}
h1 = 1;
while (h1 < 16) {
blt[h1] = 1;
blx[h1] = -2000;
bly[h1] = -2000;
blsx[h1] = 0;
blsy[h1] = 0;
h1++;
}
blt[1] = 1;
blx[1] = 150;
bly[1] = -40;
blsx[1] = 60;
blsy[1] = 20;
blt[2] = 3;
Frame 1331
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 150;
py = -80;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
cbl1();
if (((h4 == 0) and (pwall == 0)) and ((pd < 14) or (pd > 15))) {
if ((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 14)) {
pd = 6;
pj = 2;
}
if ((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 15)) {
pd = 7;
pj = 2;
}
}
boss16();
if (py < -220) {
py = -220;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 395) {
px = 395;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < (wmax - 1)) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 2;
}
h3 = random(10);
if (h3 < 3) {
blt[2] = random(8) + 1;
}
}
switch (blt[2]) {
case 1 :
bly[1] = bly[1] - 1;
break;
case 2 :
bly[1] = bly[1] + 1;
break;
case 3 :
blx[1] = blx[1] + 1;
break;
case 4 :
blx[1] = blx[1] - 1;
break;
case 5 :
blx[1] = blx[1] + 1;
bly[1] = bly[1] + 1;
break;
case 6 :
blx[1] = blx[1] - 1;
bly[1] = bly[1] + 1;
break;
case 7 :
blx[1] = blx[1] - 1;
bly[1] = bly[1] - 1;
break;
case 8 :
blx[1] = blx[1] + 1;
bly[1] = bly[1] - 1;
}
if (bly[1] < -80) {
bly[1] = -80;
}
if (bly[1] > 0) {
bly[1] = 0;
}
if (blx[1] < 120) {
blx[1] = 120;
}
if (blx[1] > 180) {
blx[1] = 180;
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 300) {
camx = 300;
}
camy = py;
if (camy < -150) {
camy = -150;
}
if (camy > -50) {
camy = -50;
}
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (bl[1] < 1) {
blb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
block1._x = 100 + (blx[1] - camx);
block1._y = 100 + (bly[1] - camy);
Frame 1332
gotoAndPlay (1331);
Frame 1500
f = 1501;
timer = 2000;
pace = 1;
csetup();
blt[1] = 1;
blx[1] = 100;
bly[1] = 40;
blsx[1] = 100;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 300;
bly[2] = 40;
blsx[2] = 100;
blsy[2] = 50;
Frame 1501
if (pd == 0) {
pf = 2;
if (Key.isDown(kright) and (px < 130)) {
px = px + 5;
}
if (Key.isDown(kleft) and (px > 30)) {
px = px - 5;
}
if (Key.isDown(kdash)) {
pd = 1;
}
if (Key.isDown(kjump)) {
pd = 2;
pj = -10;
}
}
if (pd == 1) {
pf = 3;
pd = 0;
if (Key.isDown(kright) and (px < 100)) {
px = px + 5;
}
if (Key.isDown(kleft) and (px > 30)) {
px = px - 5;
}
if (Key.isDown(kdash)) {
pd = 1;
}
if (Key.isDown(kjump)) {
pd = 2;
pj = -10;
}
}
if (pd == 2) {
pf = 4;
py = py + pj;
pj = pj + 4;
if (pj > 10) {
pj = 10;
}
if (Key.isDown(kjump)) {
pj = pj - 3;
}
if (Key.isDown(kright) and (px < 100)) {
px = px + 4;
}
if (Key.isDown(kleft) and (px > 30)) {
px = px - 4;
}
}
h1 = 1;
while (h1 < 4) {
if (pst[h1] > 0) {
if ((((psx[h1] > (camx + 125)) or (psx[h1] < (camx - 125))) or (psy[h1] > (camy + 60))) or (psy[h1] < (camy - 110))) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
if (pst[h1] == 1) {
psd[h1] = 0;
psx[h1] = psx[h1] + 7;
if (Key.isDown(kup)) {
psy[h1] = psy[h1] - 3;
psd[h1] = 1;
}
if (Key.isDown(kdown)) {
psy[h1] = psy[h1] + 3;
psd[h1] = 2;
}
if (psd[h1] == 0) {
psf[h1] = 2;
}
if (psd[h1] == 1) {
psf[h1] = 3;
}
if (psd[h1] == 2) {
psf[h1] = 4;
}
}
}
h1++;
}
if (Key.isDown(kattack)) {
ptime = 2;
}
if ((ptime == 1) and (pst[psn] == 0)) {
lightning.start();
pst[psn] = 1;
psd[psn] = 0;
psx[psn] = px + 40;
psy[psn] = py - 35;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if (Key.isDown(kpause)) {
gotoAndPlay (2741);
}
if (((pl < 1) or (py > 40)) or (px < 10)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 30;
py = -50;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
blt[1] = 1;
blx[1] = 100;
bly[1] = 100;
blsx[1] = 100;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 300;
bly[2] = 100;
blsx[2] = 100;
blsy[2] = 50;
gotoAndPlay (2585);
}
}
h4 = 0;
h1 = 1;
while (h1 < 3) {
if ((blt[h1] == 1) or 2) {
if (((((px + 30) > (blx[h1] - blsx[h1])) and ((px - 30) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 60) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 30;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 30;
}
}
if (((((px + 28) > (blx[h1] - blsx[h1])) and ((px - 28) < (blx[h1] + blsx[h1]))) and ((py - 62) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if (pd == 2) {
deflect.start();
pd = 0;
}
}
}
blx[h1] = blx[h1] - 4;
if (Key.isDown(kdash)) {
blx[h1] = blx[h1] - 4;
}
if (blx[h1] < -100) {
if (h1 == 1) {
h3 = random(4);
if (h3 == 0) {
bly[h1] = 40 - (20 * (random(3) + 1));
}
if (h3 > 0) {
bly[h1] = 40;
}
h3 = random(4);
if (h3 == 0) {
blx[h1] = (blx[2] + 200) + (50 * random(3));
blt[1] = 2;
blsx[1] = 50;
}
if (h3 > 0) {
blx[h1] = blx[2] + 200;
blt[1] = 1;
blsx[1] = 100;
}
}
if (h1 == 2) {
h3 = random(5);
if (h3 == 0) {
blx[h1] = (blx[1] + 200) + (50 * random(3));
blt[2] = 2;
blsx[2] = 50;
}
if (h3 > 0) {
blx[h1] = blx[1] + 200;
blt[2] = 1;
blsx[2] = 100;
}
}
}
h1++;
}
if ((h4 == 0) and (pd != 2)) {
pd = 2;
pj = 2;
}
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 150))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
bx[h2] = bx[h2] - 4;
if (Key.isDown(kdash)) {
bx[h2] = bx[h2] - 4;
}
cblu();
cbg1();
cbg2();
cbg3();
cbg5();
if (bl[h2] > 0) {
h1 = 1;
while (h1 < 4) {
if ((pst[h1] > 0) and (bg[h2] < 2)) {
if (pst[h1] == 1) {
if (((((psx[h1] - 6) < (bx[h2] + 12)) and ((psx[h1] + 6) > (bx[h2] - 12))) and ((psy[h1] - 6) < (by[h2] - 2))) and ((psy[h1] + 6) > (by[h2] - 24))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 4;
if (bl[h2] > 0) {
boom1.start();
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (bg[h2] == 1) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
}
h1++;
}
}
if (bt[h2] == 110) {
if (((((px - 35) < (bx[h2] + 6)) and ((px + 35) > (bx[h2] - 6))) and (py > (by[h2] - 25))) and ((py - 50) < by[h2])) {
lifeupsfx.start();
bt[h2] = 0;
bl[h2] = 1;
bf[h2] = 1;
bx[h2] = -1000;
by[h2] = -1000;
if (pl < lmax) {
pl = pl + 1;
}
if (pl < lmax) {
pl = pl + 1;
}
if (pl < lmax) {
pl = pl + 1;
}
if (pl < lmax) {
pl = pl + 1;
}
}
}
if ((bl[h2] > 0) and (bt[h2] > 0)) {
if (((((px - 30) < (bx[h2] + 6)) and ((px + 30) > (bx[h2] - 6))) and (py > (by[h2] - 25))) and ((py - 44) < by[h2])) {
melee.start();
if (i < 1) {
pl = pl - 4;
i = 20;
}
bl[h2] = bl[h2] - 10;
}
}
if (btime[h2] > 0) {
btime[h2] = btime[h2] - 1;
}
if (bt[h2] == 100) {
bf[h2] = 215 - btime[h2];
if (btime[h2] < 1) {
h3 = random(12);
if (h3 < 2) {
bt[h2] = 110;
}
if (h3 > 1) {
bt[h2] = 0;
bf[h2] = 1;
bx[h2] = -1000;
by[h2] = -1000;
}
}
}
if ((bl[h2] < 1) and (bt[h2] < 100)) {
h3 = random(6);
if (h3 < 3) {
boom1.start();
}
if ((h3 > 2) and (h3 < 5)) {
boom2.start();
}
if (h3 > 4) {
boom3.start();
}
money = money + random(2);
bt[h2] = 100;
btime[h2] = 16;
}
}
}
h2++;
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
bsx[h1] = bsx[h1] - 4;
if (Key.isDown(kdash)) {
bsx[h1] = bsx[h1] - 4;
}
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 8;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 8;
}
if (bsd[h1] == 2) {
bsy[h1] = bsy[h1] - 8;
}
if (bsd[h1] == 3) {
bsy[h1] = bsy[h1] + 8;
}
if (bsd[h1] == 4) {
bsx[h1] = bsx[h1] + 6;
bsy[h1] = bsy[h1] - 6;
}
if (bsd[h1] == 5) {
bsx[h1] = bsx[h1] + 6;
bsy[h1] = bsy[h1] + 6;
}
if (bsd[h1] == 6) {
bsx[h1] = bsx[h1] - 6;
bsy[h1] = bsy[h1] - 6;
}
if (bsd[h1] == 7) {
bsx[h1] = bsx[h1] - 6;
bsy[h1] = bsy[h1] + 6;
}
if ((((bsx[h1] > (camx + 125)) or (bsx[h1] < (camx - 125))) or (bsy[h1] > (camy + 70))) or (bsy[h1] < (camy - 125))) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 1) {
bsf[h1] = 2;
if ((((((bsx[h1] + 3) > (px - 35)) and ((bsx[h1] - 3) < (px + 35))) and ((bsy[h1] + 3) > (py - 50))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 4;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 2) {
if (bsd[h1] == 0) {
bsf[h1] = 3;
}
if (bsd[h1] == 1) {
bsf[h1] = 4;
}
if ((((((bsx[h1] + 5) > (px - 35)) and ((bsx[h1] - 5) < (px + 35))) and ((bsy[h1] + 3) > (py - 50))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 6;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 3) {
bsf[h1] = 5;
if ((((((bsx[h1] + 3) > (px - 35)) and ((bsx[h1] - 3) < (px + 35))) and ((bsy[h1] + 2) > (py - 50))) and ((bsy[h1] - 2) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 5;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
h1 = 1;
while (h1 < 4) {
h3 = random(7);
if ((((bx[h1] < -20) or (by[h1] < -150)) or (by[h1] > 10)) and (h3 == 0)) {
h3 = random(4);
if (h3 == 0) {
bt[h1] = 1;
bd[h1] = 1;
bj[h1] = 0;
bl[h1] = 4;
bx[h1] = 240;
by[h1] = -80;
bf[h1] = 2;
btime[h1] = 15;
bs[h1] = 0;
}
if (h3 == 1) {
bt[h1] = 5;
bd[h1] = 0;
bj[h1] = 0;
bl[h1] = 4;
bx[h1] = 240;
by[h1] = -110;
bf[h1] = 13;
btime[h1] = 15;
bs[h1] = 0;
}
if (h3 == 2) {
bt[h1] = 2;
bd[h1] = 1;
bj[h1] = 0;
bl[h1] = 4;
bx[h1] = 240;
by[h1] = -80;
bf[h1] = 74;
btime[h1] = 15;
bs[h1] = 0;
}
if (h3 == 3) {
bt[h1] = 3;
bd[h1] = 1;
bj[h1] = 0;
bl[h1] = 4;
bx[h1] = 240;
by[h1] = -90;
bf[h1] = 78;
btime[h1] = 15;
bs[h1] = 0;
}
}
h1++;
}
h2 = 1;
while (h2 < 4) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if (((bt[h2] == 1) or (bt[h2] == 2)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 3) {
if ((blt[h1] == 1) or 2) {
if (((((bx[h2] + 8) > (blx[h1] - blsx[h1])) and ((bx[h2] - 8) < (blx[h1] + blsx[h1]))) and ((by[h2] - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((by[h2] - 6) > ((bly[h1] + blsy[h1]) + 6))) {
by[h2] = (bly[h1] + blsy[h1]) + 35;
bj[h2] = 0;
}
if (((((bx[h2] + 10) > (blx[h1] - blsx[h1])) and ((bx[h2] - 10) < (blx[h1] + blsx[h1]))) and ((by[h2] - 16) > (bly[h1] - blsy[h1]))) and ((by[h2] - 30) < (bly[h1] + blsy[h1]))) {
if (bx[h2] > blx[h1]) {
bx[h2] = (blx[h1] + blsx[h1]) + 10;
if (bt[h2] == 12) {
bd[h2] = 0;
}
}
if (bx[h2] < blx[h1]) {
bx[h2] = (blx[h1] - blsx[h1]) - 10;
if (bt[h2] == 12) {
bd[h2] = 1;
}
}
}
if (((((bx[h2] + 8) > (blx[h1] - blsx[h1])) and ((bx[h2] - 8) < (blx[h1] + blsx[h1]))) and ((by[h2] - 22) < (bly[h1] - blsy[h1]))) and ((by[h2] + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
by[h2] = bly[h1] - blsy[h1];
if ((((bt[h2] == 1) or (bt[h2] == 10)) or (bt[h2] == 22)) and (bd[h2] == 1)) {
bd[h2] = 0;
}
}
}
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer - 1;
if (timer < 1) {
if (game == 4) {
gotoAndPlay (3697);
}
if (game != 4) {
gotoAndPlay (2556);
}
}
camx = 100;
camy = -50;
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
plb.gotoAndStop(pl);
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
bg2._x = 100 + (bx[2] - camx);
bg2._y = 100 + (by[2] - camy);
bg2.gotoAndStop(bf[2]);
bg3._x = 100 + (bx[3] - camx);
bg3._y = 100 + (by[3] - camy);
bg3.gotoAndStop(bf[3]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
block1._x = 100 + (blx[1] - camx);
block1._y = 100 + (bly[1] - camy);
block1.gotoAndStop(blt[1]);
block2._x = 100 + (blx[2] - camx);
block2._y = 100 + (bly[2] - camy);
block2.gotoAndStop(blt[2]);
if (Key.isDown(kdash)) {
st2._x = st2._x - 2;
st3._x = st3._x - 3;
}
st2._x = st2._x - 2;
if (st2._x < -80) {
st2._x = 280 + random(20);
st2._y = 150;
st2.gotoAndStop(random(7) + 1);
}
st3._x = st3._x - 3;
if (st3._x < -90) {
st3._x = 290 + random(20);
st3._y = 150;
st3.gotoAndStop(random(7) + 1);
}
Frame 1502
gotoAndPlay (1501);
Frame 1520
f = 1521;
timer = 2000;
pace = 1;
csetup();
blt[1] = 1;
blx[1] = 100;
bly[1] = 40;
blsx[1] = 100;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 300;
bly[2] = 40;
blsx[2] = 100;
blsy[2] = 50;
Frame 1521
if (pd == 0) {
pf = 2;
if (Key.isDown(kright) and (px < 130)) {
px = px + 7;
}
if (Key.isDown(kleft) and (px > 30)) {
px = px - 7;
}
if (Key.isDown(kdash)) {
pd = 1;
}
if (Key.isDown(kjump)) {
pd = 2;
pj = -12;
}
}
if (pd == 1) {
pf = 3;
pd = 0;
if (Key.isDown(kright) and (px < 100)) {
px = px + 7;
}
if (Key.isDown(kleft) and (px > 30)) {
px = px - 7;
}
if (Key.isDown(kdash)) {
pd = 1;
}
if (Key.isDown(kjump)) {
pd = 2;
pj = -12;
}
}
if (pd == 2) {
pf = 4;
py = py + pj;
pj = pj + 4;
if (pj > 10) {
pj = 10;
}
if (Key.isDown(kjump)) {
pj = pj - 3;
}
if (Key.isDown(kright) and (px < 100)) {
px = px + 5;
}
if (Key.isDown(kleft) and (px > 30)) {
px = px - 5;
}
}
h1 = 1;
while (h1 < 4) {
if (pst[h1] > 0) {
if ((((psx[h1] > (camx + 125)) or (psx[h1] < (camx - 125))) or (psy[h1] > (camy + 60))) or (psy[h1] < (camy - 110))) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
if (pst[h1] == 1) {
psd[h1] = 0;
psx[h1] = psx[h1] + 12;
psf[h1] = 2;
}
}
h1++;
}
if (Key.isDown(kattack) and (ptime < 1)) {
ptime = 2;
}
if ((ptime == 1) and (pst[psn] == 0)) {
midbuster.start();
pst[psn] = 1;
psd[psn] = 0;
psx[psn] = px + 20;
psy[psn] = py - 10;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if (Key.isDown(kpause)) {
gotoAndPlay (2761);
}
if (((pl < 1) or (py > 40)) or (px < 10)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 30;
py = -50;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
blt[1] = 1;
blx[1] = 100;
bly[1] = 100;
blsx[1] = 100;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 300;
bly[2] = 100;
blsx[2] = 100;
blsy[2] = 50;
gotoAndPlay (2585);
}
}
h4 = 0;
h1 = 1;
while (h1 < 3) {
if (((blt[h1] == 1) or 2) or 3) {
if (((((px + 20) > (blx[h1] - blsx[h1])) and ((px - 20) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 20;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 20;
}
}
if (((((px + 18) > (blx[h1] - blsx[h1])) and ((px - 18) < (blx[h1] + blsx[h1]))) and ((py - 32) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if (pd == 2) {
pd = 0;
}
}
}
blx[h1] = blx[h1] - 6;
if (Key.isDown(kdash)) {
blx[h1] = blx[h1] - 5;
}
if (blx[h1] < -100) {
if (h1 == 1) {
h3 = random(4);
if (h3 == 0) {
bly[h1] = 40 - (20 * (random(3) + 1));
}
if (h3 > 0) {
bly[h1] = 40;
}
h3 = random(4);
if (h3 == 0) {
blx[h1] = (blx[2] + 200) + (50 * random(3));
blt[1] = 2;
blsx[1] = 50;
}
if (h3 > 0) {
blx[h1] = blx[2] + 200;
blt[1] = 1;
blsx[1] = 100;
}
}
if (h1 == 2) {
h3 = random(6);
if (h3 == 0) {
blx[h1] = (blx[1] + 200) + (50 * random(3));
blt[2] = 2;
blsx[2] = 50;
}
if ((h3 > 0) and (h3 < 5)) {
blx[h1] = blx[1] + 200;
blt[2] = 1;
blsx[2] = 100;
}
if (h3 == 5) {
blx[h1] = (blx[1] + 230) + (20 * random(6));
blt[2] = 3;
blsx[2] = 30;
}
}
}
h1++;
}
if ((h4 == 0) and (pd != 2)) {
pd = 2;
pj = 2;
}
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 160))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
bx[h2] = bx[h2] - 6;
if (Key.isDown(kdash)) {
bx[h2] = bx[h2] - 5;
}
cblu();
cbg3();
cbg6();
cbg10();
if (bl[h2] > 0) {
h1 = 1;
while (h1 < 4) {
if ((pst[h1] > 0) and (bg[h2] < 2)) {
if (pst[h1] == 1) {
if (((((psx[h1] - 12) < (bx[h2] + 12)) and ((psx[h1] + 12) > (bx[h2] - 12))) and ((psy[h1] - 4) < (by[h2] - 2))) and ((psy[h1] + 4) > (by[h2] - 24))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 4;
shothit.start();
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
if (bg[h2] == 1) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
}
h1++;
}
}
if (bt[h2] == 110) {
if (((((px - 10) < (bx[h2] + 6)) and ((px + 10) > (bx[h2] - 6))) and (py > (by[h2] - 25))) and ((py - 24) < by[h2])) {
lifeupsfx.start();
bt[h2] = 0;
bl[h2] = 1;
bf[h2] = 1;
bx[h2] = -1000;
by[h2] = -1000;
if (pl < lmax) {
pl = pl + 1;
}
if (pl < lmax) {
pl = pl + 1;
}
if (pl < lmax) {
pl = pl + 1;
}
if (pl < lmax) {
pl = pl + 1;
}
}
}
if (((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) {
if (((((px - 16) < (bx[h2] + 6)) and ((px + 16) > (bx[h2] - 6))) and (py > (by[h2] - 25))) and ((py - 25) < by[h2])) {
melee.start();
pl = pl - 4;
bl[h2] = bl[h2] - 1;
i = 20;
}
}
if (btime[h2] > 0) {
btime[h2] = btime[h2] - 1;
}
if (bt[h2] == 100) {
bf[h2] = 215 - btime[h2];
if (btime[h2] < 1) {
h3 = random(12);
if (h3 < 2) {
bt[h2] = 110;
}
if (h3 > 1) {
bt[h2] = 0;
bf[h2] = 1;
bx[h2] = -1000;
by[h2] = -1000;
}
}
}
if ((bl[h2] < 1) and (bt[h2] < 100)) {
h3 = random(6);
if (h3 < 3) {
boom1.start();
}
if ((h3 > 2) and (h3 < 5)) {
boom2.start();
}
if (h3 > 4) {
boom3.start();
}
money = money + random(2);
bt[h2] = 100;
btime[h2] = 16;
}
}
}
h2++;
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
bsx[h1] = bsx[h1] - 6;
if (Key.isDown(kdash)) {
bsx[h1] = bsx[h1] - 5;
}
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 8;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 8;
}
if (bsd[h1] == 2) {
bsy[h1] = bsy[h1] - 8;
}
if (bsd[h1] == 3) {
bsy[h1] = bsy[h1] + 8;
}
if (bsd[h1] == 4) {
bsx[h1] = bsx[h1] + 6;
bsy[h1] = bsy[h1] - 6;
}
if (bsd[h1] == 5) {
bsx[h1] = bsx[h1] + 6;
bsy[h1] = bsy[h1] + 6;
}
if (bsd[h1] == 6) {
bsx[h1] = bsx[h1] - 6;
bsy[h1] = bsy[h1] - 6;
}
if (bsd[h1] == 7) {
bsx[h1] = bsx[h1] - 6;
bsy[h1] = bsy[h1] + 6;
}
if ((((bsx[h1] > (camx + 125)) or (bsx[h1] < (camx - 125))) or (bsy[h1] > (camy + 70))) or (bsy[h1] < (camy - 125))) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 1) {
bsf[h1] = 2;
if ((((((bsx[h1] + 3) > (px - 22)) and ((bsx[h1] - 3) < (px + 22))) and ((bsy[h1] + 3) > (py - 30))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 4;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 2) {
if (bsd[h1] == 0) {
bsf[h1] = 3;
}
if (bsd[h1] == 1) {
bsf[h1] = 4;
}
if ((((((bsx[h1] + 5) > (px - 22)) and ((bsx[h1] - 5) < (px + 22))) and ((bsy[h1] + 3) > (py - 30))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 6;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 3) {
bsf[h1] = 5;
if ((((((bsx[h1] + 3) > (px - 22)) and ((bsx[h1] - 3) < (px + 22))) and ((bsy[h1] + 2) > (py - 30))) and ((bsy[h1] - 2) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 5;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
h1 = 1;
while (h1 < 4) {
h3 = random(7);
if ((((bx[h1] < -20) or (by[h1] < -150)) or (by[h1] > 10)) and (h3 == 0)) {
h3 = random(3);
if (h3 == 0) {
bt[h1] = 6;
bd[h1] = 0;
bj[h1] = 0;
bl[h1] = 8;
bx[h1] = 250;
by[h1] = -40 - random(90);
bf[h1] = 15;
btime[h1] = 15;
bs[h1] = 0;
}
if (h3 == 1) {
bt[h1] = 10;
bd[h1] = 1;
bj[h1] = 0;
bl[h1] = 4;
bx[h1] = 250;
by[h1] = -80;
bf[h1] = 25;
btime[h1] = 15;
bs[h1] = 0;
}
if (h3 == 2) {
bt[h1] = 3;
bd[h1] = 1;
bj[h1] = 0;
bl[h1] = 4;
bx[h1] = 250;
by[h1] = -80;
bf[h1] = 78;
btime[h1] = 15;
bs[h1] = 0;
}
}
h1++;
}
h2 = 1;
while (h2 < 4) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 10) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 3) {
if (((blt[h1] == 1) or 2) or 3) {
if (((((bx[h2] + 8) > (blx[h1] - blsx[h1])) and ((bx[h2] - 8) < (blx[h1] + blsx[h1]))) and ((by[h2] - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((by[h2] - 6) > ((bly[h1] + blsy[h1]) + 6))) {
by[h2] = (bly[h1] + blsy[h1]) + 35;
bj[h2] = 0;
}
if (((((bx[h2] + 10) > (blx[h1] - blsx[h1])) and ((bx[h2] - 10) < (blx[h1] + blsx[h1]))) and ((by[h2] - 16) > (bly[h1] - blsy[h1]))) and ((by[h2] - 30) < (bly[h1] + blsy[h1]))) {
if (bx[h2] > blx[h1]) {
bx[h2] = (blx[h1] + blsx[h1]) + 10;
if (bt[h2] == 12) {
bd[h2] = 0;
}
}
if (bx[h2] < blx[h1]) {
bx[h2] = (blx[h1] - blsx[h1]) - 10;
if (bt[h2] == 12) {
bd[h2] = 1;
}
}
}
if (((((bx[h2] + 8) > (blx[h1] - blsx[h1])) and ((bx[h2] - 8) < (blx[h1] + blsx[h1]))) and ((by[h2] - 22) < (bly[h1] - blsy[h1]))) and ((by[h2] + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
by[h2] = bly[h1] - blsy[h1];
if ((((bt[h2] == 1) or (bt[h2] == 10)) or (bt[h2] == 22)) and (bd[h2] == 1)) {
bd[h2] = 0;
}
}
}
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer - 1;
if (timer < 1) {
if (game == 1) {
gotoAndPlay (3094);
}
if (game != 1) {
gotoAndPlay (2556);
}
}
camx = 100;
camy = -50;
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
plb.gotoAndStop(pl);
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
bg2._x = 100 + (bx[2] - camx);
bg2._y = 100 + (by[2] - camy);
bg2.gotoAndStop(bf[2]);
bg3._x = 100 + (bx[3] - camx);
bg3._y = 100 + (by[3] - camy);
bg3.gotoAndStop(bf[3]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
block1._x = 100 + (blx[1] - camx);
block1._y = 100 + (bly[1] - camy);
block1.gotoAndStop(blt[1]);
block2._x = 100 + (blx[2] - camx);
block2._y = 100 + (bly[2] - camy);
block2.gotoAndStop(blt[2]);
if (Key.isDown(kdash)) {
st2._x = st2._x - 3;
st3._x = st3._x - 4;
}
st2._x = st2._x - 2;
if (st2._x < -80) {
st2._x = 280 + random(20);
st2._y = 150;
st2.gotoAndStop(random(6) + 1);
}
st3._x = st3._x - 4;
if (st3._x < -90) {
st3._x = 290 + random(20);
st3._y = 150;
st3.gotoAndStop(random(6) + 1);
}
Frame 1522
gotoAndPlay (1521);
Frame 1540
f = 1541;
timer = 2000;
pace = 1;
csetup();
blt[1] = 1;
blx[1] = 100;
bly[1] = 40;
blsx[1] = 100;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 300;
bly[2] = 40;
blsx[2] = 100;
blsy[2] = 50;
Frame 1541
if (pd == 0) {
pf = 2;
if (Key.isDown(kright) and (px < 130)) {
px = px + 7;
}
if (Key.isDown(kleft) and (px > 30)) {
px = px - 7;
}
if (Key.isDown(kdash)) {
pd = 1;
}
if (Key.isDown(kjump)) {
pd = 2;
pj = -11;
}
}
if (pd == 1) {
pf = 3;
pd = 0;
if (Key.isDown(kright) and (px < 100)) {
px = px + 7;
}
if (Key.isDown(kleft) and (px > 30)) {
px = px - 7;
}
if (Key.isDown(kdash)) {
pd = 1;
}
if (Key.isDown(kjump)) {
pd = 2;
pj = -11;
}
}
if (pd == 2) {
pf = 4;
py = py + pj;
pj = pj + 4;
if (pj > 10) {
pj = 10;
}
if (Key.isDown(kjump)) {
pj = pj - 3;
}
if (Key.isDown(kright) and (px < 100)) {
px = px + 5;
}
if (Key.isDown(kleft) and (px > 30)) {
px = px - 5;
}
}
h1 = 1;
while (h1 < 4) {
if (pst[h1] > 0) {
if ((((psx[h1] > (camx + 125)) or (psx[h1] < (camx - 125))) or (psy[h1] > (camy + 60))) or (psy[h1] < (camy - 110))) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
if (pst[h1] == 1) {
psx[h1] = psx[h1] + 10;
psy[h1] = psy[h1] + psd[h1];
psf[h1] = 2;
}
}
h1++;
}
if (Key.isDown(kattack) and (ptime < 1)) {
ptime = 3;
}
if ((ptime == 2) and (pst[psn] == 0)) {
midbuster.start();
pst[psn] = 1;
psd[psn] = -2 + random(5);
psx[psn] = px + 25;
psy[psn] = py - 10;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if (Key.isDown(kpause)) {
gotoAndPlay (2781);
}
if (((pl < 1) or (py > 40)) or (px < 10)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 30;
py = -50;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
blt[1] = 1;
blx[1] = 100;
bly[1] = 100;
blsx[1] = 100;
blsy[1] = 50;
blt[2] = 1;
blx[2] = 300;
bly[2] = 100;
blsx[2] = 100;
blsy[2] = 50;
gotoAndPlay (2585);
}
}
h4 = 0;
h1 = 1;
while (h1 < 3) {
if ((blt[h1] == 1) or 2) {
if (((((px + 20) > (blx[h1] - blsx[h1])) and ((px - 20) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 20;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 20;
}
}
if (((((px + 18) > (blx[h1] - blsx[h1])) and ((px - 18) < (blx[h1] + blsx[h1]))) and ((py - 32) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if (pd == 2) {
pd = 0;
}
}
}
blx[h1] = blx[h1] - 5;
if (Key.isDown(kdash)) {
blx[h1] = blx[h1] - 4;
}
if (blx[h1] < -100) {
if (h1 == 1) {
h3 = random(4);
if (h3 == 0) {
bly[h1] = 40 - (20 * (random(3) + 1));
}
if (h3 > 0) {
bly[h1] = 40;
}
h3 = random(4);
if (h3 == 0) {
blx[h1] = (blx[2] + 200) + (50 * random(3));
blt[1] = 2;
blsx[1] = 50;
}
if (h3 > 0) {
blx[h1] = blx[2] + 200;
blt[1] = 1;
blsx[1] = 100;
}
}
if (h1 == 2) {
h3 = random(5);
if (h3 == 0) {
blx[h1] = (blx[1] + 200) + (50 * random(3));
blt[2] = 2;
blsx[2] = 50;
}
if (h3 > 0) {
blx[h1] = blx[1] + 200;
blt[2] = 1;
blsx[2] = 100;
}
}
}
h1++;
}
if ((h4 == 0) and (pd != 2)) {
pd = 2;
pj = 2;
}
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 160))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
bx[h2] = bx[h2] - 5;
if (Key.isDown(kdash)) {
bx[h2] = bx[h2] - 4;
}
cblu();
cbg3();
cbg4();
cbg5();
if (bl[h2] > 0) {
h1 = 1;
while (h1 < 4) {
if ((pst[h1] > 0) and (bg[h2] < 2)) {
if (pst[h1] == 1) {
if (((((psx[h1] - 12) < (bx[h2] + 12)) and ((psx[h1] + 12) > (bx[h2] - 12))) and ((psy[h1] - 4) < (by[h2] - 2))) and ((psy[h1] + 4) > (by[h2] - 24))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 4;
shothit.start();
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
if (bg[h2] == 1) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
}
h1++;
}
}
if (bt[h2] == 110) {
if (((((px - 10) < (bx[h2] + 6)) and ((px + 10) > (bx[h2] - 6))) and (py > (by[h2] - 25))) and ((py - 24) < by[h2])) {
lifeupsfx.start();
bt[h2] = 0;
bl[h2] = 1;
bf[h2] = 1;
bx[h2] = -1000;
by[h2] = -1000;
if (pl < lmax) {
pl = pl + 1;
}
if (pl < lmax) {
pl = pl + 1;
}
if (pl < lmax) {
pl = pl + 1;
}
if (pl < lmax) {
pl = pl + 1;
}
}
}
if (((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) {
if (((((px - 16) < (bx[h2] + 6)) and ((px + 16) > (bx[h2] - 6))) and (py > (by[h2] - 25))) and ((py - 25) < by[h2])) {
melee.start();
pl = pl - 4;
bl[h2] = bl[h2] - 1;
i = 20;
}
}
if (btime[h2] > 0) {
btime[h2] = btime[h2] - 1;
}
if (bt[h2] == 100) {
bf[h2] = 215 - btime[h2];
if (btime[h2] < 1) {
h3 = random(12);
if (h3 < 2) {
bt[h2] = 110;
}
if (h3 > 1) {
bt[h2] = 0;
bf[h2] = 1;
bx[h2] = -1000;
by[h2] = -1000;
}
}
}
if ((bl[h2] < 1) and (bt[h2] < 100)) {
h3 = random(6);
if (h3 < 3) {
boom1.start();
}
if ((h3 > 2) and (h3 < 5)) {
boom2.start();
}
if (h3 > 4) {
boom3.start();
}
money = money + random(2);
bt[h2] = 100;
btime[h2] = 16;
}
}
}
h2++;
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
bsx[h1] = bsx[h1] - 5;
if (Key.isDown(kdash)) {
bsx[h1] = bsx[h1] - 4;
}
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 8;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 8;
}
if (bsd[h1] == 2) {
bsy[h1] = bsy[h1] - 8;
}
if (bsd[h1] == 3) {
bsy[h1] = bsy[h1] + 8;
}
if (bsd[h1] == 4) {
bsx[h1] = bsx[h1] + 6;
bsy[h1] = bsy[h1] - 6;
}
if (bsd[h1] == 5) {
bsx[h1] = bsx[h1] + 6;
bsy[h1] = bsy[h1] + 6;
}
if (bsd[h1] == 6) {
bsx[h1] = bsx[h1] - 6;
bsy[h1] = bsy[h1] - 6;
}
if (bsd[h1] == 7) {
bsx[h1] = bsx[h1] - 6;
bsy[h1] = bsy[h1] + 6;
}
if ((((bsx[h1] > (camx + 125)) or (bsx[h1] < (camx - 125))) or (bsy[h1] > (camy + 70))) or (bsy[h1] < (camy - 125))) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 1) {
bsf[h1] = 2;
if ((((((bsx[h1] + 3) > (px - 22)) and ((bsx[h1] - 3) < (px + 22))) and ((bsy[h1] + 3) > (py - 30))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 4;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 2) {
if (bsd[h1] == 0) {
bsf[h1] = 3;
}
if (bsd[h1] == 1) {
bsf[h1] = 4;
}
if ((((((bsx[h1] + 5) > (px - 22)) and ((bsx[h1] - 5) < (px + 22))) and ((bsy[h1] + 3) > (py - 30))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 6;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 3) {
bsf[h1] = 5;
if ((((((bsx[h1] + 3) > (px - 22)) and ((bsx[h1] - 3) < (px + 22))) and ((bsy[h1] + 2) > (py - 30))) and ((bsy[h1] - 2) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 5;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
h1 = 1;
while (h1 < 4) {
h3 = random(7);
if ((((bx[h1] < -20) or (by[h1] < -150)) or (by[h1] > 10)) and (h3 == 0)) {
h3 = random(3);
if (h3 == 0) {
bt[h1] = 3;
bd[h1] = 1;
bj[h1] = 0;
bl[h1] = 4;
bx[h1] = 250;
by[h1] = -40 - random(90);
bf[h1] = 15;
btime[h1] = 15;
bs[h1] = 0;
}
if (h3 == 1) {
bt[h1] = 4;
bd[h1] = 1;
bj[h1] = 0;
bl[h1] = 4;
bx[h1] = 250;
by[h1] = -80;
bf[h1] = 80;
btime[h1] = 15;
bs[h1] = 0;
}
if (h3 == 2) {
bt[h1] = 5;
bd[h1] = 0;
bj[h1] = 0;
bl[h1] = 4;
bx[h1] = 250;
by[h1] = -100;
bf[h1] = 20;
btime[h1] = 15;
bs[h1] = 0;
}
}
h1++;
}
h2 = 1;
while (h2 < 4) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((bt[h2] == 4) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 3) {
if ((blt[h1] == 1) or 2) {
if (((((bx[h2] + 8) > (blx[h1] - blsx[h1])) and ((bx[h2] - 8) < (blx[h1] + blsx[h1]))) and ((by[h2] - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((by[h2] - 6) > ((bly[h1] + blsy[h1]) + 6))) {
by[h2] = (bly[h1] + blsy[h1]) + 35;
bj[h2] = 0;
}
if (((((bx[h2] + 10) > (blx[h1] - blsx[h1])) and ((bx[h2] - 10) < (blx[h1] + blsx[h1]))) and ((by[h2] - 16) > (bly[h1] - blsy[h1]))) and ((by[h2] - 30) < (bly[h1] + blsy[h1]))) {
if (bx[h2] > blx[h1]) {
bx[h2] = (blx[h1] + blsx[h1]) + 10;
if (bt[h2] == 12) {
bd[h2] = 0;
}
}
if (bx[h2] < blx[h1]) {
bx[h2] = (blx[h1] - blsx[h1]) - 10;
if (bt[h2] == 12) {
bd[h2] = 1;
}
}
}
if (((((bx[h2] + 8) > (blx[h1] - blsx[h1])) and ((bx[h2] - 8) < (blx[h1] + blsx[h1]))) and ((by[h2] - 22) < (bly[h1] - blsy[h1]))) and ((by[h2] + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
by[h2] = bly[h1] - blsy[h1];
if ((((bt[h2] == 1) or (bt[h2] == 10)) or (bt[h2] == 22)) and (bd[h2] == 1)) {
bd[h2] = 0;
}
}
}
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer - 1;
if (timer < 1) {
if (game == 2) {
gotoAndPlay (3424);
}
if (game != 2) {
gotoAndPlay (2556);
}
}
camx = 100;
camy = -50;
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
plb.gotoAndStop(pl);
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
bg2._x = 100 + (bx[2] - camx);
bg2._y = 100 + (by[2] - camy);
bg2.gotoAndStop(bf[2]);
bg3._x = 100 + (bx[3] - camx);
bg3._y = 100 + (by[3] - camy);
bg3.gotoAndStop(bf[3]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
block1._x = 100 + (blx[1] - camx);
block1._y = 100 + (bly[1] - camy);
block1.gotoAndStop(blt[1]);
block2._x = 100 + (blx[2] - camx);
block2._y = 100 + (bly[2] - camy);
block2.gotoAndStop(blt[2]);
if (Key.isDown(kdash)) {
st2._x = st2._x - 2;
st3._x = st3._x - 3;
}
st2._x = st2._x - 3;
if (st2._x < -80) {
st2._x = 280 + random(20);
st2._y = 150;
st2.gotoAndStop(random(7) + 1);
}
st3._x = st3._x - 4;
if (st3._x < -90) {
st3._x = 290 + random(20);
st3._y = 150;
st3.gotoAndStop(random(7) + 1);
}
Frame 1542
gotoAndPlay (1541);
Frame 1560
f = 1561;
timer = 2000;
pace = 1;
csetup();
Frame 1561
if (pd == 0) {
pf = 2;
if (Key.isDown(kright) and (px < 130)) {
px = px + 5;
}
if (Key.isDown(kleft) and (px > 30)) {
px = px - 5;
}
if (Key.isDown(kup) and (py > -130)) {
py = py - 5;
}
if (Key.isDown(kdown) and (py < -20)) {
py = py + 5;
}
if (Key.isDown(kdash)) {
}
}
if (px > 30) {
px = px - 1;
}
h1 = 1;
while (h1 < 4) {
if (pst[h1] > 0) {
if (psd[h1] == 0) {
psx[h1] = psx[h1] + 12;
}
if (psd[h1] == 1) {
psx[h1] = psx[h1] - 12;
}
if ((((psx[h1] > (camx + 125)) or (psx[h1] < (camx - 125))) or (psy[h1] > (camy + 60))) or (psy[h1] < (camy - 110))) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
if (pst[h1] == 1) {
psf[h1] = 2;
}
if (pst[h1] == 2) {
psf[h1] = 3;
}
if (pst[h1] == 3) {
if (psd[h1] == 0) {
psf[h1] = 4;
}
}
}
h1++;
}
if (Key.isDown(kattack)) {
ptime = 2;
charge = charge + 1;
}
if (ptime > 0) {
pf = pf + 1;
if ((ptime == 1) and (pst[psn] == 0)) {
if (charge < 15) {
lilbuster.start();
pst[psn] = 1;
}
if ((charge > 14) and (charge < 40)) {
midbuster.start();
pst[psn] = 2;
}
if (charge > 39) {
maxbuster.start();
pst[psn] = 3;
}
charge = 0;
psd[psn] = 0;
psx[psn] = px + 13;
psy[psn] = py - 14;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (Key.isDown(kpause)) {
gotoAndPlay (2801);
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 50;
py = -80;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 160))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
if (bl[h2] > 0) {
bx[h2] = bx[h2] - 1;
if (px > bx[h2]) {
bx[h2] = bx[h2] - 4;
}
}
cbg3();
cbg5();
cbg6();
cbg8();
if (bl[h2] > 0) {
h1 = 1;
while (h1 < 4) {
if ((pst[h1] > 0) and (bg[h2] < 2)) {
if (pst[h1] == 1) {
if (((((psx[h1] - 3) < (bx[h2] + 12)) and ((psx[h1] + 3) > (bx[h2] - 12))) and ((psy[h1] - 3) < (by[h2] - 2))) and ((psy[h1] + 3) > (by[h2] - 24))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 2;
shothit.start();
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
if (bg[h2] == 1) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
}
if (pst[h1] == 2) {
if (((((psx[h1] - 4) < (bx[h2] + 12)) and ((psx[h1] + 4) > (bx[h2] - 12))) and ((psy[h1] - 5) < (by[h2] - 2))) and ((psy[h1] + 5) > (by[h2] - 24))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 4;
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (bg[h2] == 1) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
if (pst[h1] == 3) {
if (((((psx[h1] - 10) < (bx[h2] + 12)) and ((psx[h1] + 10) > (bx[h2] - 12))) and ((psy[h1] - 10) < (by[h2] - 2))) and ((psy[h1] + 10) > (by[h2] - 24))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 6;
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (bg[h2] == 1) {
shothit.start();
bl[h2] = bl[h2] - 1;
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
}
h1++;
}
}
if (((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) {
if (((((px - 10) < (bx[h2] + 6)) and ((px + 10) > (bx[h2] - 6))) and (py > (by[h2] - 25))) and ((py - 24) < by[h2])) {
melee.start();
pl = pl - 4;
i = 20;
}
}
if (btime[h2] > 0) {
btime[h2] = btime[h2] - 1;
}
if (bt[h2] == 100) {
bx[h2] = bx[h2] - 9;
by[h2] = by[h2] + 1;
bf[h2] = 215 - btime[h2];
if (btime[h2] < 1) {
bt[h2] = 0;
bf[h2] = 1;
bx[h2] = -1000;
by[h2] = -1000;
}
}
if ((bl[h2] < 1) and (bt[h2] < 100)) {
h3 = random(6);
if (h3 < 3) {
boom1.start();
}
if ((h3 > 2) and (h3 < 5)) {
boom2.start();
}
if (h3 > 4) {
boom3.start();
}
crusher = crusher + 3;
money = money + random(2);
if (crusher > 100) {
crusher = 100;
}
bt[h2] = 100;
btime[h2] = 16;
}
}
}
h2++;
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 8;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 8;
}
if (bsd[h1] == 2) {
bsy[h1] = bsy[h1] - 8;
}
if (bsd[h1] == 3) {
bsy[h1] = bsy[h1] + 8;
}
if (bsd[h1] == 4) {
bsx[h1] = bsx[h1] + 6;
bsy[h1] = bsy[h1] - 6;
}
if (bsd[h1] == 5) {
bsx[h1] = bsx[h1] + 6;
bsy[h1] = bsy[h1] + 6;
}
if (bsd[h1] == 6) {
bsx[h1] = bsx[h1] - 6;
bsy[h1] = bsy[h1] - 6;
}
if (bsd[h1] == 7) {
bsx[h1] = bsx[h1] - 6;
bsy[h1] = bsy[h1] + 6;
}
if ((((bsx[h1] > (camx + 125)) or (bsx[h1] < (camx - 125))) or (bsy[h1] > (camy + 70))) or (bsy[h1] < (camy - 125))) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 1) {
bsf[h1] = 2;
if ((((((bsx[h1] + 3) > (px - 12)) and ((bsx[h1] - 3) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 4;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 2) {
if (bsd[h1] == 0) {
bsf[h1] = 3;
}
if (bsd[h1] == 1) {
bsf[h1] = 4;
}
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 6;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 3) {
bsf[h1] = 5;
if ((((((bsx[h1] + 3) > (px - 12)) and ((bsx[h1] - 3) < (px + 12))) and ((bsy[h1] + 2) > (py - 26))) and ((bsy[h1] - 2) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 5;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
h1 = 1;
while (h1 < 4) {
h3 = random(4);
if ((((bx[h1] < -20) or (by[h1] < -150)) or (by[h1] > 10)) and (h3 == 0)) {
h3 = random(7);
if (h3 == 0) {
bt[h1] = 6;
bd[h1] = 0;
bj[h1] = 0;
bl[h1] = 6;
bg[h1] = 0;
bx[h1] = 250;
by[h1] = -20 - random(130);
bf[h1] = 15;
btime[h1] = 15;
bs[h1] = 0;
}
if (h3 == 1) {
bt[h1] = 3;
bd[h1] = 1;
bj[h1] = 0;
bl[h1] = 4;
bg[h1] = 0;
bx[h1] = 250;
by[h1] = -20 - random(130);
bf[h1] = 20;
btime[h1] = 15;
bs[h1] = 0;
}
if (h3 == 2) {
bt[h1] = 8;
bd[h1] = 0;
bj[h1] = 0;
bg[h1] = 0;
bl[h1] = 4;
bx[h1] = 250;
by[h1] = -20 - random(130);
bf[h1] = 20;
btime[h1] = 15;
bs[h1] = 0;
}
if (h3 == 3) {
bt[h1] = 5;
bd[h1] = 0;
bg[h1] = 0;
bj[h1] = 0;
bl[h1] = 4;
bx[h1] = 250;
by[h1] = -20 - random(130);
bf[h1] = 20;
btime[h1] = 15;
bs[h1] = 0;
}
}
h1++;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer - 1;
if (timer < 1) {
if (game == 1) {
gotoAndPlay (3126);
}
if (game != 1) {
gotoAndPlay (2556);
}
}
camx = 100;
camy = -50;
if (charge < 15) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
plb.gotoAndStop(pl);
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
bg2._x = 100 + (bx[2] - camx);
bg2._y = 100 + (by[2] - camy);
bg2.gotoAndStop(bf[2]);
bg3._x = 100 + (bx[3] - camx);
bg3._y = 100 + (by[3] - camy);
bg3.gotoAndStop(bf[3]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
st3._x = st3._x - 20;
if (st3._x < -120) {
st3._x = 320 + random(20);
st3._y = random(150);
}
st4._x = st4._x - 28;
if (st4._x < -150) {
st4._x = 350 + random(20);
st4._y = random(150);
}
Frame 1562
gotoAndPlay (1561);
Frame 1580
f = 1581;
timer = 2000;
pace = 1;
csetup();
Frame 1581
if (pd == 0) {
pf = 2;
if (Key.isDown(kright) and (px < 130)) {
px = px + 5;
}
if (Key.isDown(kleft) and (px > 30)) {
px = px - 5;
}
if (Key.isDown(kup) and (py > -130)) {
py = py - 5;
}
if (Key.isDown(kdown) and (py < -20)) {
py = py + 5;
}
if (Key.isDown(kdash)) {
}
}
if (px > 30) {
px = px - 1;
}
h1 = 1;
while (h1 < 4) {
if (pst[h1] > 0) {
if (psd[h1] == 0) {
psx[h1] = psx[h1] + 10;
}
if (psd[h1] == 1) {
psx[h1] = psx[h1] - 10;
}
if ((((psx[h1] > (camx + 125)) or (psx[h1] < (camx - 125))) or (psy[h1] > (camy + 60))) or (psy[h1] < (camy - 110))) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
if (pst[h1] == 1) {
psf[h1] = 2;
}
if (pst[h1] == 2) {
psf[h1] = 3;
}
if (pst[h1] == 3) {
if (psd[h1] == 0) {
psf[h1] = 4;
}
}
}
h1++;
}
if (Key.isDown(kattack)) {
ptime = 2;
charge = charge + 1;
}
if (ptime > 0) {
pf = pf + 1;
if ((ptime == 1) and (pst[psn] == 0)) {
if (charge < 15) {
lilbuster.start();
pst[psn] = 1;
}
if ((charge > 14) and (charge < 40)) {
midbuster.start();
pst[psn] = 2;
}
if (charge > 39) {
maxbuster.start();
pst[psn] = 3;
}
charge = 0;
psd[psn] = 0;
psx[psn] = px + 13;
psy[psn] = py - 14;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (Key.isDown(kpause)) {
gotoAndPlay (2821);
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 50;
py = -80;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 160))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
if (bl[h2] > 0) {
bx[h2] = bx[h2] - 1;
if (px > bx[h2]) {
bx[h2] = bx[h2] - 4;
}
}
cbg3();
cbg5();
cbg6();
cbg8();
if (bl[h2] > 0) {
h1 = 1;
while (h1 < 4) {
if ((pst[h1] > 0) and (bg[h2] < 2)) {
if (pst[h1] == 1) {
if (((((psx[h1] - 3) < (bx[h2] + 12)) and ((psx[h1] + 3) > (bx[h2] - 12))) and ((psy[h1] - 3) < (by[h2] - 2))) and ((psy[h1] + 3) > (by[h2] - 24))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 2;
shothit.start();
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
if (bg[h2] == 1) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
}
if (pst[h1] == 2) {
if (((((psx[h1] - 4) < (bx[h2] + 12)) and ((psx[h1] + 4) > (bx[h2] - 12))) and ((psy[h1] - 5) < (by[h2] - 2))) and ((psy[h1] + 5) > (by[h2] - 24))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 4;
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (bg[h2] == 1) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
if (pst[h1] == 3) {
if (((((psx[h1] - 10) < (bx[h2] + 12)) and ((psx[h1] + 10) > (bx[h2] - 12))) and ((psy[h1] - 10) < (by[h2] - 2))) and ((psy[h1] + 10) > (by[h2] - 24))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 6;
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (bg[h2] == 1) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
h1++;
}
}
if (((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) {
if (((((px - 10) < (bx[h2] + 6)) and ((px + 10) > (bx[h2] - 6))) and (py > (by[h2] - 25))) and ((py - 24) < by[h2])) {
melee.start();
pl = pl - 4;
i = 20;
}
}
if (btime[h2] > 0) {
btime[h2] = btime[h2] - 1;
}
if (bt[h2] == 100) {
bx[h2] = bx[h2] - 9;
by[h2] = by[h2] + 1;
bf[h2] = 215 - btime[h2];
if (btime[h2] < 1) {
bt[h2] = 0;
bf[h2] = 1;
bx[h2] = -1000;
by[h2] = -1000;
}
}
if ((bl[h2] < 1) and (bt[h2] < 100)) {
h3 = random(6);
if (h3 < 3) {
boom1.start();
}
if ((h3 > 2) and (h3 < 5)) {
boom2.start();
}
if (h3 > 4) {
boom3.start();
}
crusher = crusher + 3;
money = money + random(2);
if (crusher > 100) {
crusher = 100;
}
bt[h2] = 100;
btime[h2] = 16;
}
}
}
h2++;
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 8;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 8;
}
if (bsd[h1] == 2) {
bsy[h1] = bsy[h1] - 8;
}
if (bsd[h1] == 3) {
bsy[h1] = bsy[h1] + 8;
}
if (bsd[h1] == 4) {
bsx[h1] = bsx[h1] + 6;
bsy[h1] = bsy[h1] - 6;
}
if (bsd[h1] == 5) {
bsx[h1] = bsx[h1] + 6;
bsy[h1] = bsy[h1] + 6;
}
if (bsd[h1] == 6) {
bsx[h1] = bsx[h1] - 6;
bsy[h1] = bsy[h1] - 6;
}
if (bsd[h1] == 7) {
bsx[h1] = bsx[h1] - 6;
bsy[h1] = bsy[h1] + 6;
}
if ((((bsx[h1] > (camx + 125)) or (bsx[h1] < (camx - 125))) or (bsy[h1] > (camy + 70))) or (bsy[h1] < (camy - 125))) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 1) {
bsf[h1] = 2;
if ((((((bsx[h1] + 3) > (px - 12)) and ((bsx[h1] - 3) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 4;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 2) {
if (bsd[h1] == 0) {
bsf[h1] = 3;
}
if (bsd[h1] == 1) {
bsf[h1] = 4;
}
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 6;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 3) {
bsf[h1] = 5;
if ((((((bsx[h1] + 3) > (px - 12)) and ((bsx[h1] - 3) < (px + 12))) and ((bsy[h1] + 2) > (py - 26))) and ((bsy[h1] - 2) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 5;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
h1 = 1;
while (h1 < 4) {
h3 = random(7);
if ((((bx[h1] < -20) or (by[h1] < -150)) or (by[h1] > 10)) and (h3 == 0)) {
h3 = random(4);
if (h3 == 0) {
bt[h1] = 6;
bd[h1] = 0;
bj[h1] = 0;
bl[h1] = 6;
bg[h1] = 0;
bx[h1] = 250;
by[h1] = -20 - random(130);
bf[h1] = 15;
btime[h1] = 15;
bs[h1] = 0;
}
if (h3 == 1) {
bt[h1] = 3;
bd[h1] = 1;
bj[h1] = 0;
bl[h1] = 4;
bg[h1] = 0;
bx[h1] = 250;
by[h1] = -20 - random(130);
bf[h1] = 20;
btime[h1] = 15;
bs[h1] = 0;
}
if (h3 == 2) {
bt[h1] = 8;
bd[h1] = 0;
bj[h1] = 0;
bg[h1] = 0;
bl[h1] = 4;
bx[h1] = 250;
by[h1] = -20 - random(130);
bf[h1] = 20;
btime[h1] = 15;
bs[h1] = 0;
}
if (h3 == 3) {
bt[h1] = 5;
bd[h1] = 0;
bg[h1] = 0;
bj[h1] = 0;
bl[h1] = 4;
bx[h1] = 250;
by[h1] = -20 - random(130);
bf[h1] = 20;
btime[h1] = 15;
bs[h1] = 0;
}
}
h1++;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer - 1;
if (timer < 1) {
if (game == 3) {
gotoAndPlay (3581);
}
if (game != 3) {
gotoAndPlay (2556);
}
}
camx = 100;
camy = -50;
if (charge < 15) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
plb.gotoAndStop(pl);
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
bg2._x = 100 + (bx[2] - camx);
bg2._y = 100 + (by[2] - camy);
bg2.gotoAndStop(bf[2]);
bg3._x = 100 + (bx[3] - camx);
bg3._y = 100 + (by[3] - camy);
bg3.gotoAndStop(bf[3]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
st4._x = st4._x - 25;
if (st4._x < -180) {
st4._x = (st5._x + 230) + random(50);
st4._y = 110 + random(25);
}
st5._x = st5._x - 25;
if (st5._x < -180) {
st5._x = (st4._x + 230) + random(50);
st5._y = 110 + random(25);
}
Frame 1582
gotoAndPlay (1581);
Frame 1600
h1 = 1;
while (h1 < 6) {
rc[h1] = 0;
h1++;
}
Frame 1610
px = 150;
py = -460;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
f = 1611;
timer = 1;
pace = 1;
csetup();
blt[1] = 1;
blx[1] = 150;
bly[1] = -20;
blsx[1] = 150;
blsy[1] = 20;
blt[2] = 1;
blx[2] = 30;
bly[2] = -70;
blsx[2] = 30;
blsy[2] = 30;
blt[3] = 1;
blx[3] = 270;
bly[3] = -70;
blsx[3] = 30;
blsy[3] = 30;
blt[4] = 1;
blx[4] = 150;
bly[4] = -170;
blsx[4] = 30;
blsy[4] = 50;
blt[5] = 1;
blx[5] = 30;
bly[5] = -220;
blsx[5] = 30;
blsy[5] = 40;
blt[6] = 1;
blx[6] = 270;
bly[6] = -220;
blsx[6] = 30;
blsy[6] = 40;
blt[7] = 1;
blx[7] = 60;
bly[7] = -420;
blsx[7] = 60;
blsy[7] = 80;
blt[8] = 1;
blx[8] = 240;
bly[8] = -420;
blsx[8] = 60;
blsy[8] = 80;
prsc();
if (rc[1] == 1) {
rc[1] = 2;
}
if (rc[2] == 1) {
rc[2] = 2;
}
if (rc[3] == 1) {
rc[3] = 2;
}
if (rc[4] == 1) {
rc[4] = 2;
}
if (rc[5] == 1) {
rc[5] = 2;
}
Frame 1611
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 9) {
cbl1();
h1++;
}
if (((h4 == 0) and (pwall == 0)) and ((pd < 14) or (pd > 15))) {
if ((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 14)) {
pd = 6;
pj = 2;
}
if ((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 15)) {
pd = 7;
pj = 2;
}
}
if (rc[1] == 0) {
if ((((px > 250) and (px < 290)) and (py > -340)) and (py < -250)) {
teleportsfx.start();
rc[1] = 1;
gotoAndPlay (1615);
}
}
if (rc[2] == 0) {
if ((((px > 250) and (px < 290)) and (py > -180)) and (py < -90)) {
teleportsfx.start();
rc[2] = 1;
gotoAndPlay (1625);
}
}
if (rc[3] == 0) {
if ((((px > 140) and (px < 160)) and (py > -120)) and (py < -30)) {
teleportsfx.start();
rc[3] = 1;
gotoAndPlay (1635);
}
}
if (rc[4] == 0) {
if ((((px > 20) and (px < 40)) and (py > -180)) and (py < -90)) {
teleportsfx.start();
rc[4] = 1;
gotoAndPlay (1645);
}
}
if (rc[5] == 0) {
if ((((px > 20) and (px < 40)) and (py > -340)) and (py < -250)) {
teleportsfx.start();
rc[5] = 1;
gotoAndPlay (1655);
}
}
if (((((rc[1] + rc[2]) + rc[3]) + rc[4]) + rc[5]) == 10) {
if (game == 1) {
gotoAndPlay (3107);
}
if (game == 2) {
gotoAndPlay (3387);
}
if (game == 3) {
gotoAndPlay (3560);
}
if (game == 4) {
gotoAndPlay (3680);
}
if ((game < 1) or (game > 4)) {
gotoAndPlay (2556);
}
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 295) {
px = 295;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 200) {
camx = 200;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
dscn();
if ((game == 2) or (game == 3)) {
swch._x = -2000;
swch._y = -2000;
}
swpl._x = 100 + (170 - camx);
swpl._y = 100 + (-220 - camy);
swpl.gotoAndStop(xz + 1);
warp1._x = 100 + (270 - camx);
warp1._y = 106 + (-300 - camy);
warp1.gotoAndStop(rc[1] + 1);
warp2._x = 100 + (270 - camx);
warp2._y = 106 + (-140 - camy);
warp2.gotoAndStop(rc[2] + 1);
warp3._x = 100 + (150 - camx);
warp3._y = 106 + (-80 - camy);
warp3.gotoAndStop(rc[3] + 1);
warp4._x = 100 + (30 - camx);
warp4._y = 106 + (-140 - camy);
warp4.gotoAndStop(rc[4] + 1);
warp5._x = 100 + (30 - camx);
warp5._y = 106 + (-300 - camy);
warp5.gotoAndStop(rc[5] + 1);
Frame 1612
gotoAndPlay (1611);
Frame 1620
px = 150;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
f = 1621;
timer = 1;
pace = 1;
csetup();
bt[1] = 51;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 150 + (200 - dif);
bx[1] = 300;
by[1] = -40;
bf[1] = 300;
bx[10] = 18;
by[10] = 55;
blt[1] = 1;
blx[1] = 10;
bly[1] = -100;
blsx[1] = 10;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 390;
bly[2] = -100;
blsx[2] = 10;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 200;
bly[3] = -20;
blsx[3] = 180;
blsy[3] = 20;
Frame 1621
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 200;
py = -170;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 4) {
cbl1();
h1++;
}
dfall();
boss1();
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 395) {
px = 395;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 300) {
camx = 300;
}
camy = py;
if (camy < -100) {
camy = -100;
}
if (camy > -50) {
camy = -50;
}
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
Frame 1622
gotoAndPlay (1621);
Frame 1630
px = 100;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
f = 1631;
timer = 1;
pace = 1;
csetup();
bt[1] = 52;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 150 + (200 - dif);
bx[1] = 180;
by[1] = -20;
bf[1] = 300;
bx[10] = 6;
by[10] = 24;
blt[1] = 1;
blx[1] = 150;
bly[1] = 0;
blsx[1] = 160;
blsy[1] = 20;
Frame 1631
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 100;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 2) {
cbl1();
h1++;
}
dfall();
boss2();
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 295) {
px = 295;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 200) {
camx = 200;
}
camy = -50;
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
Frame 1632
gotoAndPlay (1631);
Frame 1640
px = 80;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
f = 1641;
timer = 1;
pace = 1;
csetup();
bt[1] = 54;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 150 + (200 - dif);
bx[1] = 150;
by[1] = -40;
bf[1] = 300;
bx[10] = 20;
by[10] = 70;
blt[1] = 1;
blx[1] = 10;
bly[1] = -100;
blsx[1] = 10;
blsy[1] = 100;
blt[2] = 1;
blx[2] = 390;
bly[2] = -100;
blsx[2] = 10;
blsy[2] = 100;
blt[3] = 1;
blx[3] = 200;
bly[3] = -20;
blsx[3] = 180;
blsy[3] = 20;
Frame 1641
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 4) {
cbl1();
h1++;
}
dfall();
boss4();
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 395) {
px = 395;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 300) {
camx = 300;
}
camy = py;
if (camy < -100) {
camy = -100;
}
if (camy > -50) {
camy = -50;
}
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
Frame 1642
gotoAndPlay (1641);
Frame 1650
px = 40;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
f = 1651;
timer = 1;
pace = 1;
csetup();
bt[1] = 55;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 150 + (200 - dif);
bx[1] = 200;
by[1] = 20;
bf[1] = 300;
bx[10] = 10;
by[10] = 130;
blt[1] = 1;
blx[1] = 20;
bly[1] = -10;
blsx[1] = 20;
blsy[1] = 10;
blt[2] = 1;
blx[2] = 135;
bly[2] = -10;
blsx[2] = 35;
blsy[2] = 10;
blt[3] = 1;
blx[3] = 265;
bly[3] = -10;
blsx[3] = 35;
blsy[3] = 10;
blt[4] = 1;
blx[4] = 380;
bly[4] = -10;
blsx[4] = 20;
blsy[4] = 10;
Frame 1651
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 20;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 5) {
cbl1();
h1++;
}
dfall();
boss5();
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 395) {
px = 395;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 300) {
camx = 300;
}
camy = py;
if (camy < -100) {
camy = -100;
}
if (camy > -50) {
camy = -50;
}
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
Frame 1652
gotoAndPlay (1651);
Frame 1660
px = 50;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
f = 1661;
timer = 1;
pace = 1;
csetup();
bt[1] = 57;
bg[1] = 0;
btime[1] = 15;
bd[1] = 90;
bj[1] = 0;
bs[1] = 0;
bl[1] = 150 + (200 - dif);
bx[1] = 170;
by[1] = -20;
bf[1] = 300;
bx[10] = 20;
by[10] = 42;
blt[1] = 1;
blx[1] = 150;
bly[1] = 0;
blsx[1] = 160;
blsy[1] = 20;
Frame 1661
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (2659);
}
if (lives > 0) {
lives = lives - 1;
pl = lmax;
wenergy = wmax;
charge = 0;
px = 50;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (2585);
}
}
if (dif == 0) {
crusher = 1;
}
if (((enhan[1] == 1) and (crusher < 25)) and (dif > 0)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 2) {
cbl1();
h1++;
}
dfall();
boss7();
if (py < -170) {
py = -170;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 295) {
px = 295;
}
if (bx[1] < 30) {
bx[1] = 30;
}
if (bx[1] > 270) {
bx[1] = 270;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 200) {
camx = 200;
}
camy = -50;
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
blb.gotoAndStop(bl[1]);
wener.gotoAndStop(wenergy);
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
Frame 1662
gotoAndPlay (1661);
Frame 1701
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
pc2._x = 100 + (px - camx);
pc2._y = 100 + (py - camy);
boom2.start();
Frame 1702
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
pc2._x = 100 + (px - camx);
pc2._y = 100 + (py - camy);
Frame 1716
boom1.start();
Frame 1730
boom1.start();
Frame 1743
boom1.start();
Frame 1757
boom1.start();
Frame 1772
boom1.start();
Frame 1787
boom3.start();
Frame 1799
h1 = 1;
while (h1 < 11) {
if ((((bx[h1] > (camx - 115)) and (bx[h1] < (camx + 115))) and (by[h1] > (camy - 115))) and (by[h1] < (camy + 65))) {
bl[h1] = bl[h1] - 50;
}
h1++;
}
crusher = 1;
Frame 1800
gotoAndPlay(f);
Frame 1801
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
pc2._x = 100 + (px - camx);
pc2._y = 100 + (py - camy);
Frame 1802
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
pc2._x = 100 + (px - camx);
pc2._y = 100 + (py - camy);
Frame 1814
sinattack.start();
Frame 1899
h1 = 1;
while (h1 < 11) {
if ((((bx[h1] > (camx - 115)) and (bx[h1] < (camx + 115))) and (by[h1] > (camy - 115))) and (by[h1] < (camy + 65))) {
bl[h1] = bl[h1] - 50;
}
h1++;
}
crusher = 1;
Frame 1900
gotoAndPlay(f);
Frame 1901
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
pc2._x = 100 + (px - camx);
pc2._y = 100 + (py - camy);
lightning.start();
Frame 1902
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
pc2._x = 100 + (px - camx);
pc2._y = 100 + (py - camy);
Frame 1952
maxbuster.start();
Frame 1959
maxbuster.start();
Frame 1965
maxbuster.start();
Frame 1970
maxbuster.start();
Frame 1980
boom3.start();
Frame 1999
h1 = 1;
while (h1 < 11) {
if ((((bx[h1] > (camx - 115)) and (bx[h1] < (camx + 115))) and (by[h1] > (camy - 115))) and (by[h1] < (camy + 65))) {
bl[h1] = bl[h1] - 50;
}
h1++;
}
crusher = 1;
Frame 2000
gotoAndPlay(f);
Frame 2001
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
pc2._x = 100 + (px - camx);
pc2._y = 100 + (py - camy);
bossdeath.start();
Frame 2002
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
pc2._x = 100 + (px - camx);
pc2._y = 100 + (py - camy);
Frame 2084
boom3.start();
Frame 2099
h1 = 1;
while (h1 < 11) {
if ((((bx[h1] > (camx - 115)) and (bx[h1] < (camx + 115))) and (by[h1] > (camy - 115))) and (by[h1] < (camy + 65))) {
bl[h1] = bl[h1] - 50;
}
h1++;
}
crusher = 1;
Frame 2100
gotoAndPlay(f);
Frame 2101
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
pc2._x = 100 + (px - camx);
pc2._y = 100 + (py - camy);
lightning.start();
Frame 2102
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
pc2._x = 100 + (px - camx);
pc2._y = 100 + (py - camy);
Frame 2121
boom3.start();
Frame 2139
boom1.start();
Frame 2155
boom1.start();
Frame 2171
boom1.start();
Frame 2186
boom2.start();
Frame 2199
h1 = 1;
while (h1 < 11) {
if ((((bx[h1] > (camx - 115)) and (bx[h1] < (camx + 115))) and (by[h1] > (camy - 115))) and (by[h1] < (camy + 65))) {
bl[h1] = bl[h1] - 50;
}
h1++;
}
crusher = 1;
Frame 2200
gotoAndPlay(f);
Frame 2201
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
pc2._x = 100 + (px - camx);
pc2._y = 100 + (py - camy);
xcharge.start();
Frame 2202
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
pc2._x = 100 + (px - camx);
pc2._y = 100 + (py - camy);
Frame 2258
lightning.start();
Frame 2272
boom2.start();
Frame 2281
boom1.start();
Frame 2292
boom3.start();
Frame 2299
h1 = 1;
while (h1 < 11) {
if ((((bx[h1] > (camx - 115)) and (bx[h1] < (camx + 115))) and (by[h1] > (camy - 115))) and (by[h1] < (camy + 65))) {
bl[h1] = bl[h1] - 50;
}
h1++;
}
crusher = 1;
Frame 2300
gotoAndPlay(f);
Frame 2410
slot1item.gotoAndStop(slot1 + 1);
slot2item.gotoAndStop(slot2 + 1);
plb.gotoAndStop(pl);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
pname.gotoAndStop(xz + 1);
if (Key.isDown(kpause)) {
gotoAndPlay (2412);
}
if (boss[1] == 0) {
xp1._x = -2000;
}
if (boss[2] == 0) {
xp2._x = -2000;
}
if (boss[3] == 0) {
xp3._x = -2000;
}
if (boss[4] == 0) {
xp4._x = -2000;
}
if (boss[5] == 0) {
xp5._x = -2000;
}
if (boss[6] == 0) {
xp6._x = -2000;
}
if (boss[7] == 0) {
xp7._x = -2000;
}
if (boss[8] == 0) {
xp8._x = -2000;
}
cweapon.gotoAndStop(weap + 1);
Frame 2411
gotoAndPlay (2410);
Frame 2420
gotoAndPlay(f);
Frame 2430
slot1item.gotoAndStop(slot1 + 1);
slot2item.gotoAndStop(slot2 + 1);
plb.gotoAndStop(pl);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
pname.gotoAndStop(xz + 1);
if (Key.isDown(kpause)) {
gotoAndPlay (2432);
}
z1.gotoAndStop(boss[1] + 1);
z2.gotoAndStop(boss[2] + 1);
z3.gotoAndStop(boss[3] + 1);
z4.gotoAndStop(boss[4] + 1);
z5.gotoAndStop(boss[5] + 1);
z6.gotoAndStop(boss[6] + 1);
z7.gotoAndStop(boss[7] + 1);
z8.gotoAndStop(boss[8] + 1);
Frame 2431
gotoAndPlay (2430);
Frame 2440
gotoAndPlay(f);
Frame 2450
slot1item.gotoAndStop(slot1 + 1);
slot2item.gotoAndStop(slot2 + 1);
plb.gotoAndStop(pl);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
pname.gotoAndStop(xz + 1);
if (Key.isDown(kpause)) {
gotoAndPlay (2452);
}
specials.gotoAndStop((((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]) + 1);
Frame 2451
gotoAndPlay (2450);
Frame 2460
gotoAndPlay(f);
Frame 2470
slot1item.gotoAndStop(slot1 + 1);
slot2item.gotoAndStop(slot2 + 1);
plb.gotoAndStop(pl);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
pname.gotoAndStop(xz + 1);
if (Key.isDown(kpause)) {
gotoAndPlay (2472);
}
specials.gotoAndStop((((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]) + 1);
Frame 2471
gotoAndPlay (2470);
Frame 2480
gotoAndPlay(f);
Frame 2490
slot1item.gotoAndStop(slot1 + 1);
slot2item.gotoAndStop(slot2 + 1);
plb.gotoAndStop(pl);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
pname.gotoAndStop(xz + 1);
if (Key.isDown(kpause)) {
gotoAndPlay (2492);
}
specials.gotoAndStop((((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]) + 1);
Frame 2491
gotoAndPlay (2490);
Frame 2500
gotoAndPlay(f);
Frame 2510
slot1item.gotoAndStop(slot1 + 1);
slot2item.gotoAndStop(slot2 + 1);
plb.gotoAndStop(pl);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
pname.gotoAndStop(xz + 1);
if (Key.isDown(kpause)) {
gotoAndPlay (2512);
}
specials.gotoAndStop((((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]) + 1);
Frame 2511
gotoAndPlay (2510);
Frame 2520
gotoAndPlay(f);
Frame 2521
h1 = 1;
stopAllSounds();
Frame 2522
if (((((((((((((h1 == 5) or (h1 == 10)) or (h1 == 15)) or (h1 == 20)) or (h1 == 25)) or (h1 == 30)) or (h1 == 35)) or (h1 == 40)) or (h1 == 45)) or (h1 == 50)) or (h1 == 55)) or (h1 == 60)) or (h1 == 65)) {
lightning.start();
}
st5._x = st5._x - 15;
if (st5._x < -70) {
st5._x = 230 + random(20);
st5._y = 20 + random(160);
}
st6._x = st6._x - 15;
if (st6._x < -70) {
st6._x = 230 + random(20);
st6._y = 20 + random(160);
}
st7._x = st7._x - 15;
if (st7._x < -70) {
st7._x = 230 + random(20);
st7._y = 20 + random(160);
}
st8._x = st8._x - 20;
if (st8._x < -80) {
st8._x = 240 + random(20);
st8._y = 20 + random(160);
}
st9._x = st9._x - 20;
if (st9._x < -80) {
st9._x = 240 + random(20);
st9._y = 20 + random(160);
}
titleletters.gotoAndStop(h1);
Frame 2523
h1 = h1 + 1;
if (h1 < 87) {
gotoAndPlay (2522);
}
Frame 2524
st5._x = st5._x - 15;
if (st5._x < -70) {
st5._x = 230 + random(20);
st5._y = 10 + random(130);
}
st6._x = st6._x - 15;
if (st6._x < -70) {
st6._x = 230 + random(20);
st6._y = 10 + random(130);
}
st7._x = st7._x - 15;
if (st7._x < -70) {
st7._x = 230 + random(20);
st7._y = 10 + random(130);
}
st8._x = st8._x - 20;
if (st8._x < -80) {
st8._x = 240 + random(20);
st8._y = 10 + random(130);
}
st9._x = st9._x - 20;
if (st9._x < -80) {
st9._x = 240 + random(20);
st9._y = 10 + random(130);
}
Frame 2525
gotoAndPlay (2524);
Frame 2527
kattack = Key.getCode();
Frame 2528
gotoAndPlay (2527);
Frame 2529
kjump = Key.getCode();
Frame 2530
gotoAndPlay (2529);
Frame 2531
kdash = Key.getCode();
Frame 2532
gotoAndPlay (2531);
Frame 2533
kup = Key.getCode();
Frame 2534
gotoAndPlay (2533);
Frame 2535
kdown = Key.getCode();
Frame 2536
gotoAndPlay (2535);
Frame 2537
kright = Key.getCode();
Frame 2538
gotoAndPlay (2537);
Frame 2539
kleft = Key.getCode();
Frame 2540
gotoAndPlay (2539);
Frame 2541
kspec = Key.getCode();
Frame 2542
gotoAndPlay (2541);
Frame 2543
kcrush = Key.getCode();
Frame 2544
gotoAndPlay (2543);
Frame 2545
kpause = Key.getCode();
Frame 2546
gotoAndPlay (2545);
Frame 2556
stopAllSounds();
h2 = 1;
Frame 2557
weap = 0;
crusher = 1;
pl = lmax;
wenergy = wmax;
charge = 0;
if (dif == 0) {
lives = 2;
}
if (dif == 50) {
lives = 3;
}
if (dif == 100) {
lives = 4;
}
if (dif == 150) {
lives = 5;
}
if ((((((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]) == 8) and (checkp < 2)) and (dif < 150)) {
if (game == 1) {
gotoAndPlay (3062);
}
if (game == 2) {
gotoAndPlay (3354);
}
if (game == 3) {
gotoAndPlay (3526);
}
if (game == 4) {
gotoAndPlay (3649);
}
}
if (game == 1) {
if (checkp == 2) {
final1._x = 106;
final1._y = 25;
}
if (checkp == 3) {
final2._x = 106;
final2._y = 25;
}
if (checkp == 4) {
bonus2._x = 106;
bonus2._y = 25;
}
if (checkp == 5) {
final3._x = 106;
final3._y = 25;
}
if (checkp == 6) {
rematch._x = 106;
rematch._y = 25;
}
if (checkp == 7) {
final4._x = 106;
final4._y = 25;
}
if (checkp == 8) {
bonus4._x = 50;
bonus4._y = 80;
}
if (checkp == 13) {
story1._x = 10;
story1._y = 100;
}
}
if (game == 2) {
if (checkp == 2) {
final1._x = 106;
final1._y = 25;
}
if (checkp == 3) {
final2._x = 106;
final2._y = 25;
}
if (checkp == 5) {
final3._x = 106;
final3._y = 25;
}
if (checkp == 6) {
rematch._x = 106;
rematch._y = 25;
}
if (checkp == 7) {
final4._x = 106;
final4._y = 25;
}
if (checkp == 9) {
bonus3._x = 80;
bonus3._y = 27;
}
if (checkp == 13) {
story2._x = 58;
story2._y = 21;
}
}
if (game == 3) {
if (checkp == 2) {
final1._x = 106;
final1._y = 25;
}
if (checkp == 3) {
final2._x = 106;
final2._y = 25;
}
if (checkp == 5) {
final3._x = 106;
final3._y = 25;
}
if (checkp == 6) {
rematch._x = 106;
rematch._y = 25;
}
if (checkp == 7) {
final4._x = 106;
final4._y = 25;
}
if (checkp == 10) {
bonus5._x = 120;
bonus5._y = 90;
}
if (checkp == 13) {
story4._x = 120;
story4._y = 100;
}
}
if (game == 4) {
if (checkp == 2) {
final1._x = 106;
final1._y = 25;
}
if (checkp == 3) {
final2._x = 106;
final2._y = 25;
}
if (checkp == 5) {
final3._x = 106;
final3._y = 25;
}
if (checkp == 6) {
rematch._x = 106;
rematch._y = 25;
}
if (checkp == 7) {
final4._x = 106;
final4._y = 25;
}
if (checkp == 11) {
bonus1._x = 85;
bonus1._y = 45;
}
if (checkp == 13) {
story3._x = 80;
story3._y = 50;
}
}
if (timer == 2000) {
hbmega._x = 81;
hbmega._y = 106;
}
if (pace == 2000) {
hbrick._x = 76;
hbrick._y = 68;
}
if (game == 5) {
gotoAndPlay (9620);
}
if (Key.isDown(9)) {
gotoAndPlay (3);
}
player.gotoAndStop(xz + 1);
if (game == 1) {
mapx._x = 165;
mapx._y = 62;
mapzero._x = 185;
mapzero._y = 62;
}
if (game == 2) {
mapdelia._x = 175;
mapdelia._y = 62;
}
if (game == 3) {
mapplague._x = 175;
mapplague._y = 62;
}
if (game == 4) {
mapsic._x = 165;
mapsic._y = 62;
mapsin._x = 185;
mapsin._y = 62;
}
stageinfo.gotoAndStop(h2);
stagename.gotoAndStop(h2);
stagename2.gotoAndStop(h2);
if (h3 > 0) {
h3 = h3 - 1;
if (h3 == 0) {
h2 = 1;
}
}
st2._x = st2._x - 3;
if (st2._x < -50) {
st2._x = 170 + random(20);
st2._y = 10 + random(130);
}
st3._x = st3._x - 4;
if (st3._x < -50) {
st3._x = 180 + random(20);
st3._y = 10 + random(130);
}
Frame 2558
gotoAndPlay (2557);
Frame 2565
dif = 150;
Frame 2566
st5._x = st5._x - 15;
if (st5._x < -70) {
st5._x = 230 + random(20);
st5._y = 10 + random(130);
}
st6._x = st6._x - 15;
if (st6._x < -70) {
st6._x = 230 + random(20);
st6._y = 10 + random(130);
}
st7._x = st7._x - 15;
if (st7._x < -70) {
st7._x = 230 + random(20);
st7._y = 10 + random(130);
}
st8._x = st8._x - 20;
if (st8._x < -80) {
st8._x = 240 + random(20);
st8._y = 10 + random(130);
}
st9._x = st9._x - 20;
if (st9._x < -80) {
st9._x = 240 + random(20);
st9._y = 10 + random(130);
}
slot1 = 0;
slot2 = 0;
Frame 2567
gotoAndPlay (2566);
Frame 2569
game = 1;
Frame 2570
story.gotoAndStop(game);
st5._x = st5._x - 15;
if (st5._x < -70) {
st5._x = 230 + random(20);
st5._y = 10 + random(130);
}
st6._x = st6._x - 15;
if (st6._x < -70) {
st6._x = 230 + random(20);
st6._y = 10 + random(130);
}
st7._x = st7._x - 15;
if (st7._x < -70) {
st7._x = 230 + random(20);
st7._y = 10 + random(130);
}
st8._x = st8._x - 20;
if (st8._x < -80) {
st8._x = 240 + random(20);
st8._y = 10 + random(130);
}
st9._x = st9._x - 20;
if (st9._x < -80) {
st9._x = 240 + random(20);
st9._y = 10 + random(130);
}
Frame 2571
gotoAndPlay (2570);
Frame 2575
stopAllSounds();
Frame 2576
lives = 3;
weap = 0;
xz = 0;
lmax = 300;
wmax = 300;
pl = lmax;
wenergy = wmax;
crusher = 100;
px = 20;
py = -200;
pd = 0;
ps = 1;
pj = 0;
ptime = 0;
pf = 2;
charge = 0;
cframe = 2577;
psn = 1;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
f = 2577;
timer = 1;
pace = 1;
h1 = 1;
while (h1 < 9) {
boss[h1] = 1;
h1++;
}
h1 = 1;
while (h1 < 5) {
enhan[h1] = 1;
h1++;
}
h1 = 1;
while (h1 < 11) {
bt[h1] = 0;
bg[h1] = 0;
btime[h1] = 15;
bd[h1] = 0;
bj[h1] = 0;
bs[h1] = 0;
bl[h1] = 0;
bx[h1] = -1000;
by[h1] = -1000;
bf[h1] = 1;
h1++;
}
bsn = 1;
h1 = 1;
while (h1 < 7) {
bst[h1] = 0;
bsd[h1] = 0;
bsx[h1] = -2000;
bsy[h1] = -2000;
bsf[h1] = 7;
h1++;
}
h1 = 1;
while (h1 < 16) {
blt[h1] = 1;
blx[h1] = -2000;
bly[h1] = -2000;
blsx[h1] = 0;
blsy[h1] = 0;
h1++;
}
blt[1] = 2;
blx[1] = 690;
bly[1] = -260;
blsx[1] = 10;
blsy[1] = 120;
blt[2] = 1;
blx[2] = 400;
bly[2] = -50;
blsx[2] = 400;
blsy[2] = 50;
blt[3] = 1;
blx[3] = 610;
bly[3] = -200;
blsx[3] = 70;
blsy[3] = 20;
blt[4] = 1;
blx[4] = 750;
bly[4] = -300;
blsx[4] = 50;
blsy[4] = 200;
blt[5] = 1;
blx[5] = 450;
bly[5] = -210;
blsx[5] = 10;
blsy[5] = 10;
blt[6] = 1;
blx[6] = 350;
bly[6] = -210;
blsx[6] = 10;
blsy[6] = 10;
blt[7] = 1;
blx[7] = 50;
bly[7] = -150;
blsx[7] = 50;
blsy[7] = 50;
Frame 2577
if (Key.isDown(45)) {
xz = 0;
pd = 6;
pj = 0;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
if (Key.isDown(36)) {
xz = 1;
pd = 6;
pj = 0;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
if (Key.isDown(33)) {
xz = 2;
pd = 6;
pj = 0;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
if (Key.isDown(46)) {
xz = 3;
pd = 6;
pj = 0;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
if (Key.isDown(35)) {
xz = 4;
pd = 6;
pj = 0;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
if (Key.isDown(34)) {
xz = 5;
pd = 6;
pj = 0;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
cp1();
if (Key.isDown(kpause)) {
gotoAndPlay(2401 + (20 * xz));
}
if ((pl < 1) or (py > 40)) {
if (lives < 1) {
gotoAndPlay (3);
}
if (lives > 0) {
lives = lives - 1;
pl = 50;
charge = 0;
gotoAndPlay (2521);
}
}
if ((enhan[1] == 1) and (crusher < 25)) {
crusher = 25;
}
h4 = 0;
pwall = 0;
h1 = 1;
while (h1 < 8) {
cbl1();
cbl2();
h1++;
}
if (((h4 == 0) and (pwall == 0)) and ((pd < 14) or (pd > 15))) {
if ((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 14)) {
pd = 6;
pj = 2;
}
if ((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 15)) {
pd = 7;
pj = 2;
}
}
h2 = 1;
while (h2 < 5) {
if (bt[h2] > 0) {
if ((((bx[h2] > (camx - 125)) and (bx[h2] < (camx + 125))) and (by[h2] > (camy - 125))) and (by[h2] < (camy + 75))) {
cblu();
cbg1();
cbg2();
cbg3();
cbg4();
cbg5();
cbg6();
cbg7();
cbg8();
cbg9();
cbg10();
cbg11();
cbg12();
cbg13();
cbg14();
cbg15();
cbg16();
cbg17();
cbg18();
cbg19();
cbg20();
cbg21();
cbg22();
mbad();
}
}
h2++;
}
cbgs();
if (timer == 50) {
if ((bt[1] == 0) or (bl[1] < 1)) {
bt[1] = random(6) + 1;
bg[1] = 0;
bj[1] = 0;
bd[1] = 0;
bs[1] = 0;
bl[1] = 4;
bx[1] = 300;
by[1] = -160;
}
if ((bt[2] == 0) or (bl[2] < 1)) {
bt[2] = random(6) + 7;
bg[2] = 0;
bj[2] = 0;
bd[2] = 0;
bs[2] = 0;
bl[2] = 4;
bx[2] = 480;
by[2] = -180;
}
if ((bt[3] == 0) or (bl[3] < 1)) {
bt[3] = random(6) + 12;
bg[3] = 0;
bj[3] = 0;
bd[3] = 0;
bs[3] = 0;
bl[3] = 4;
bx[3] = 540;
by[3] = -280;
}
if ((bt[4] == 0) or (bl[4] < 1)) {
bt[4] = random(22) + 1;
bg[4] = 0;
bj[4] = 0;
bd[4] = 0;
bs[4] = 0;
bl[4] = 4;
bx[4] = 620;
by[4] = -100;
}
}
h2 = 1;
while (h2 < 5) {
if ((bt[h2] > 0) and ((bl[h2] > 0) or (bt[h2] == 110))) {
if ((((((((((bt[h2] == 1) or (bt[h2] == 2)) or (bt[h2] == 4)) or (bt[h2] == 7)) or (bt[h2] == 10)) or (bt[h2] == 12)) or (bt[h2] == 18)) or (bt[h2] == 20)) or (bt[h2] == 22)) or (bt[h2] == 110)) {
h4 = 0;
h1 = 1;
while (h1 < 8) {
cbb1();
h1++;
}
if ((h4 == 0) and (bj[h2] > -1)) {
by[h2] = by[h2] + 10;
}
}
}
h2++;
}
if (px < 10) {
gotoAndPlay (2521);
}
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
}
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
timer = timer + 1;
if (timer > 120) {
timer = 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
crusher = 100;
dscn();
Frame 2578
gotoAndPlay (2577);
Frame 2585
herodeath.start();
Frame 2627
hero.gotoAndStop(xz + 4);
Frame 2654
weap = 0;
crusher = 0;
pl = lmax;
wenergy = wmax;
charge = 0;
gotoAndPlay(f - 1);
Frame 2659
herodeath.start();
Frame 2710
stopAllSounds();
gotoAndPlay (2556);
Frame 2729
h2 = 0;
h3 = 20;
Frame 2730
if (enhan[1] > 0) {
e1._x = -1000;
e1._y = -1000;
}
if (enhan[2] > 0) {
e2._x = -1000;
e2._y = -1000;
}
if (enhan[3] > 0) {
e3._x = -1000;
e3._y = -1000;
}
if (enhan[4] > 0) {
e4._x = -1000;
e4._y = -1000;
}
if (enhan[5] > 0) {
e5._x = -1000;
e5._y = -1000;
}
if (enhan[6] > 0) {
e6._x = -1000;
e6._y = -1000;
}
if (enhan[7] > 0) {
e7._x = -1000;
e7._y = -1000;
}
if (enhan[8] > 0) {
e8._x = -1000;
e8._y = -1000;
}
if ((enhan[5] == 0) and (enhan[1] > 0)) {
e5._x = 135;
e5._y = 85;
}
if ((enhan[6] == 0) and (enhan[2] > 0)) {
e6._x = 176;
e6._y = 85;
}
if ((enhan[7] == 0) and (enhan[3] > 0)) {
e7._x = 135;
e7._y = 110;
}
if ((enhan[8] == 0) and (enhan[4] > 0)) {
e8._x = 176;
e8._y = 110;
}
if (slot1 > 0) {
ic1._x = -1000;
ic1._y = -1000;
ie1._x = -1000;
ie1._y = -1000;
il1._x = -1000;
il1._y = -1000;
}
if (slot2 > 0) {
ic2._x = -1000;
ic2._y = -1000;
ie2._x = -1000;
ie2._y = -1000;
il2._x = -1000;
il2._y = -1000;
}
slot1item.gotoAndStop(slot1 + 1);
slot2item.gotoAndStop(slot2 + 1);
shoptalk.gotoAndStop(h3);
shoptalk2.gotoAndStop(h3);
if (h2 > 0) {
h2 = h2 - 1;
if (h2 < 2) {
h2 = 0;
h3 = 20;
}
}
Frame 2731
gotoAndPlay (2730);
Frame 2750
plb.gotoAndStop(pl);
if (Key.isDown(kpause)) {
gotoAndPlay (2752);
}
Frame 2751
gotoAndPlay (2750);
Frame 2760
gotoAndPlay(f);
Frame 2770
plb.gotoAndStop(pl);
if (Key.isDown(kpause)) {
gotoAndPlay (2772);
}
Frame 2771
gotoAndPlay (2770);
Frame 2780
gotoAndPlay(f);
Frame 2790
plb.gotoAndStop(pl);
if (Key.isDown(kpause)) {
gotoAndPlay (2792);
}
Frame 2791
gotoAndPlay (2790);
Frame 2800
gotoAndPlay(f);
Frame 2810
plb.gotoAndStop(pl);
if (Key.isDown(kpause)) {
gotoAndPlay (2812);
}
Frame 2811
gotoAndPlay (2810);
Frame 2820
gotoAndPlay(f);
Frame 2830
plb.gotoAndStop(pl);
if (Key.isDown(kpause)) {
gotoAndPlay (2832);
}
Frame 2831
gotoAndPlay (2830);
Frame 2840
gotoAndPlay(f);
Frame 2845
function psreset() {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
function bhits() {
if (bl[h2] > 0) {
h1 = 1;
while (h1 < 4) {
if ((pst[h1] > 0) and (bg[h2] < 2)) {
if (((pst[h1] == 1) or (pst[h1] == 4)) or (pst[h1] == 5)) {
if (((((psx[h1] - 3) < (bx[h2] + bx[10])) and ((psx[h1] + 3) > (bx[h2] - bx[10]))) and ((psy[h1] - 3) < (by[h2] - 2))) and ((psy[h1] + 3) > (by[h2] - by[10]))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 2;
shothit.start();
}
psreset();
}
}
}
if ((((pst[h1] == 2) or (pst[h1] == 6)) or (pst[h1] == 20)) or (pst[h1] == 15)) {
if (((((psx[h1] - 4) < (bx[h2] + bx[10])) and ((psx[h1] + 4) > (bx[h2] - bx[10]))) and ((psy[h1] - 5) < (by[h2] - 2))) and ((psy[h1] + 5) > (by[h2] - by[10]))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 4;
if (((bt[h2] == 53) or (bt[h2] == 62)) and (pst[h1] == 20)) {
bl[h2] = bl[h2] - 6;
}
if (((bt[h2] == 58) or (bt[h2] == 63)) and (pst[h1] == 15)) {
bl[h2] = bl[h2] - 6;
}
if (bl[h2] > 0) {
psreset();
}
}
if (bg[h2] == 1) {
psreset();
}
}
}
if (((pst[h1] == 3) or (pst[h1] == 7)) or (pst[h1] == 19)) {
if (((((psx[h1] - 10) < (bx[h2] + bx[10])) and ((psx[h1] + 10) > (bx[h2] - bx[10]))) and ((psy[h1] - 10) < (by[h2] - 2))) and ((psy[h1] + 10) > (by[h2] - by[10]))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 6;
if ((bt[h2] == 54) and (pst[h1] == 19)) {
bl[h2] = bl[h2] - 8;
}
if (bl[h2] > 0) {
psreset();
}
}
if (bg[h2] == 1) {
if ((xz == 0) and (pst[h1] == 3)) {
shothit.start();
bl[h2] = bl[h2] - 1;
if (bl[h2] > 0) {
psreset();
}
}
}
}
}
if (pst[h1] == 8) {
if (((((psx[h1] - 15) < (bx[h2] + bx[10])) and ((psx[h1] + 15) > (bx[h2] - bx[10]))) and ((psy[h1] - 15) < (by[h2] - 2))) and ((psy[h1] + 15) > (by[h2] - by[10]))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 4;
if (bl[h2] > 0) {
psreset();
}
}
if (bg[h2] == 1) {
psreset();
}
}
}
if (((pst[h1] == 9) or (pst[h1] == 10)) and (psd[h1] > 5)) {
if (((((psx[h1] - 20) < (bx[h2] + bx[10])) and ((psx[h1] + 20) > (bx[h2] - bx[10]))) and ((psy[h1] - 20) < (by[h2] - 2))) and ((psy[h1] + 20) > (by[h2] - by[10]))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 1;
}
}
}
if (pst[h1] == 11) {
if (((((psx[h1] - 7) < (bx[h2] + bx[10])) and ((psx[h1] + 7) > (bx[h2] - bx[10]))) and ((psy[h1] - 18) < (by[h2] - 2))) and ((psy[h1] + 18) > (by[h2] - by[10]))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 1;
}
if (bl[h2] > 0) {
psreset();
}
}
}
if ((pst[h1] == 12) or (pst[h1] == 17)) {
if (((((psx[h1] - 15) < (bx[h2] + bx[10])) and ((psx[h1] + 15) > (bx[h2] - bx[10]))) and ((psy[h1] - 18) < (by[h2] - 2))) and ((psy[h1] + 18) > (by[h2] - by[10]))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 2;
if (pst[h1] == 17) {
bl[h2] = bl[h2] - 2;
if (bt[h2] == 57) {
bl[h2] = bl[h2] - 6;
}
psreset();
}
}
}
}
if ((pst[h1] == 13) or (pst[h1] == 18)) {
if (((((psx[h1] - 22) < (bx[h2] + bx[10])) and ((psx[h1] + 22) > (bx[h2] - bx[10]))) and ((psy[h1] - 22) < (by[h2] - 2))) and ((psy[h1] + 22) > (by[h2] - by[10]))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 1;
if (((bt[h2] == 56) or (bt[h2] == 61)) and (pst[h1] == 18)) {
bl[h2] = bl[h2] - 2;
}
}
}
}
if (pst[h1] == 14) {
if (((((camx - 105) < (bx[h2] + bx[10])) and ((camx + 105) > (bx[h2] - bx[10]))) and ((psy[h1] - 15) < (by[h2] - 2))) and ((psy[h1] + 15) > (by[h2] - by[10]))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 1;
if (bt[h2] == 55) {
bl[h2] = bl[h2] - 2;
}
}
}
}
if (pst[h1] == 16) {
if (((((psx[h1] - 45) < (bx[h2] + bx[10])) and ((psx[h1] + 45) > (bx[h2] - bx[10]))) and ((psy[h1] - 30) < (by[h2] - 2))) and (psy[h1] > (by[h2] - by[10]))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 1;
if ((bt[h2] == 52) or (bt[h2] == 54)) {
bl[h2] = bl[h2] - 2;
}
}
}
}
if (pst[h1] == 21) {
if (((((psx[h1] - 15) < (bx[h2] + bx[10])) and ((psx[h1] + 15) > (bx[h2] - bx[10]))) and ((psy[h1] - 85) < (by[h2] - 2))) and (psy[h1] > (by[h2] - by[10]))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 1;
if (bt[h2] == 51) {
bl[h2] = bl[h2] - 2;
}
}
}
}
h1++;
}
if (((xz == 2) and ((pd == 16) or (pd == 17))) and ((ps < 7) and (ps > 2))) {
if (pd == 16) {
if ((((((px + 38) > ((bx[h2] - bx[10]) - 15)) and ((px - 8) < ((bx[h2] + bx[10]) + 15))) and (py > (by[h2] - by[10]))) and ((py - 26) < (by[h2] + 2))) and (bl[h2] > 0)) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 3;
if (ps == 6) {
bl[h2] = bl[h2] - (((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]);
}
}
}
}
if (pd == 17) {
if ((((((px - 38) < ((bx[h2] + bx[10]) + 15)) and ((px + 8) > ((bx[h2] - bx[10]) - 15))) and (py > (by[h2] - by[10]))) and ((py - 26) < (by[h2] + 2))) and (bl[h2] > 0)) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 3;
if (ps == 6) {
bl[h2] = bl[h2] - (((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]);
}
}
}
}
}
if (((xz == 5) and ((pd == 16) or (pd == 17))) and ((ps < 7) and (ps > 2))) {
if (pd == 16) {
if ((((((px + 32) > ((bx[h2] - bx[10]) - 15)) and ((px - 8) < ((bx[h2] + bx[10]) + 15))) and (py > (by[h2] - by[10]))) and ((py - 30) < (by[h2] + 2))) and (bl[h2] > 0)) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 2;
}
}
}
if (pd == 17) {
if ((((((px - 32) < ((bx[h2] + bx[10]) + 15)) and ((px + 8) > ((bx[h2] - bx[10]) - 15))) and (py > (by[h2] - by[10]))) and ((py - 30) < (by[h2] + 2))) and (bl[h2] > 0)) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 2;
}
}
}
}
if ((((xz == 1) or (xz == 2)) or (xz == 4)) and (charge > 0)) {
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 10)) or (pd == 12)) or (pd == 14)) {
if ((((((px + 30) > ((bx[h2] - bx[10]) - 15)) and ((px - 8) < ((bx[h2] + bx[10]) + 15))) and (py > (by[h2] - by[10]))) and ((py - 26) < (by[h2] + 2))) and (bl[h2] > 0)) {
if ((bg[h2] == 0) and ((xz == 1) or (xz == 2))) {
bl[h2] = bl[h2] - 1;
}
if (xz == 4) {
bl[h2] = bl[h2] - 1;
}
}
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 11)) or (pd == 13)) or (pd == 15)) {
if ((((((px - 30) < ((bx[h2] + bx[10]) + 15)) and ((px + 8) > ((bx[h2] - bx[10]) - 15))) and (py > (by[h2] - by[10]))) and ((py - 26) < (by[h2] + 2))) and (bl[h2] > 0)) {
if ((bg[h2] == 0) and ((xz == 1) or (xz == 2))) {
bl[h2] = bl[h2] - 1;
}
if (xz == 4) {
bl[h2] = bl[h2] - 1;
}
}
}
}
}
if (btime[h2] > 0) {
btime[h2] = btime[h2] - 1;
}
if ((bl[h2] < 1) and (bd[h2] < 100)) {
bossdeath.start();
money = money + (20 * (random(5) + 1));
bd[h2] = 100;
bs[h2] = 1;
}
}
schk = false;
stul = "http://uploads.ungrounded.net/";
if (_url.substr(0, stul.length) == stul) {
schk = true;
}
if (schk == false) {
gotoAndStop (1);
}
Frame 2846
function boss1() {
h2 = 1;
if (bt[h2] > 0) {
if (bt[h2] == 51) {
if (bd[h2] == 0) {
if (((pace > 0) and (pace < 5)) or ((pace > 8) and (pace < 13))) {
bf[h2] = 2;
}
if (((pace > 4) and (pace < 9)) or ((pace > 12) and (pace < 17))) {
bf[h2] = 3;
}
if (px < bx[h2]) {
bd[h2] = 1;
}
h3 = random(150 + dif);
if (h3 < 10) {
bd[h2] = 2;
bj[h2] = -14 - (2 * random(2));
bs[h2] = (px - bx[h2]) / 16;
}
if ((h3 > 9) and (h3 < 18)) {
bd[h2] = 4;
bs[h2] = 1;
}
if ((h3 > 17) and (h3 < 21)) {
bd[h2] = 6;
bs[h2] = 1;
}
if ((h3 > 20) and (h3 < 30)) {
bd[h2] = 8;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
if (((pace > 0) and (pace < 5)) or ((pace > 8) and (pace < 13))) {
bf[h2] = 72;
}
if (((pace > 4) and (pace < 9)) or ((pace > 12) and (pace < 17))) {
bf[h2] = 73;
}
if (px > bx[h2]) {
bd[h2] = 0;
}
h3 = random(150 + dif);
if (h3 < 10) {
bd[h2] = 3;
bj[h2] = -14 - (2 * random(2));
bs[h2] = (px - bx[h2]) / 16;
}
if ((h3 > 9) and (h3 < 18)) {
bd[h2] = 5;
bs[h2] = 1;
}
if ((h3 > 17) and (h3 < 21)) {
bd[h2] = 7;
bs[h2] = 1;
}
if ((h3 > 20) and (h3 < 30)) {
bd[h2] = 9;
bs[h2] = 1;
}
}
if ((bd[h2] == 2) or (bd[h2] == 3)) {
if (bd[h2] == 2) {
if (bj[h2] < 0) {
bf[h2] = 4;
}
if (bj[h2] >= 0) {
bf[h2] = 5;
}
}
if (bd[h2] == 3) {
if (bj[h2] < 0) {
bf[h2] = 74;
}
if (bj[h2] >= 0) {
bf[h2] = 75;
}
}
by[h2] = by[h2] + bj[h2];
bx[h2] = bx[h2] + bs[h2];
if (bj[h2] < 0) {
bj[h2] = bj[h2] + 1;
}
}
if (bd[h2] == 4) {
if ((bs[h2] > 0) and (bs[h2] < 5)) {
bf[h2] = 6;
}
if ((bs[h2] > 4) and (bs[h2] < 9)) {
bf[h2] = 7;
}
if ((bs[h2] > 8) and (bs[h2] < 13)) {
bf[h2] = 8;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 12) {
if (bst[bsn] == 0) {
midbuster.start();
bd[h2] = 0;
bst[bsn] = 1;
bsd[bsn] = 0;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] + 10;
bsy[bsn] = by[h2] - 37;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 5) {
if ((bs[h2] > 0) and (bs[h2] < 5)) {
bf[h2] = 76;
}
if ((bs[h2] > 4) and (bs[h2] < 9)) {
bf[h2] = 77;
}
if ((bs[h2] > 8) and (bs[h2] < 13)) {
bf[h2] = 78;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 12) {
if (bst[bsn] == 0) {
midbuster.start();
bd[h2] = 1;
bst[bsn] = 1;
bsd[bsn] = 1;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] - 10;
bsy[bsn] = by[h2] - 37;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 6) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 9;
}
if ((bs[h2] > 3) and (bs[h2] < 8)) {
bf[h2] = 10;
}
if ((bs[h2] > 7) and (bs[h2] < 12)) {
bf[h2] = 11;
}
if ((bs[h2] > 11) and (bs[h2] < 15)) {
bf[h2] = 12;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 14) {
if (bst[bsn] == 0) {
deflect.start();
bd[h2] = 0;
bst[bsn] = 4;
bsd[bsn] = 0;
bsf[bsn] = 4;
bsx[bsn] = bx[h2];
bsy[bsn] = by[h2] - 15;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 7) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 79;
}
if ((bs[h2] > 3) and (bs[h2] < 8)) {
bf[h2] = 80;
}
if ((bs[h2] > 7) and (bs[h2] < 12)) {
bf[h2] = 81;
}
if ((bs[h2] > 11) and (bs[h2] < 15)) {
bf[h2] = 82;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 14) {
if (bst[bsn] == 0) {
deflect.start();
bd[h2] = 1;
bst[bsn] = 4;
bsd[bsn] = 0;
bsf[bsn] = 4;
bsx[bsn] = bx[h2];
bsy[bsn] = by[h2] - 15;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if ((bd[h2] == 8) or (bd[h2] == 9)) {
if (bd[h2] == 8) {
if ((bs[h2] > 0) and (bs[h2] < 5)) {
bf[h2] = 13;
}
if ((bs[h2] > 4) and (bs[h2] < 9)) {
bf[h2] = 14;
}
if ((bs[h2] > 8) and (bs[h2] < 13)) {
bf[h2] = 15;
}
}
if (bd[h2] == 9) {
if ((bs[h2] > 0) and (bs[h2] < 5)) {
bf[h2] = 83;
}
if ((bs[h2] > 4) and (bs[h2] < 9)) {
bf[h2] = 84;
}
if ((bs[h2] > 8) and (bs[h2] < 13)) {
bf[h2] = 85;
}
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 12) {
if (bst[bsn] == 0) {
laser.start();
bd[h2] = 0;
bst[bsn] = 5;
bsd[bsn] = 0;
bsf[bsn] = 2;
bsx[bsn] = px;
bsy[bsn] = -220;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
bossed();
}
bhits();
if ((((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) and (bd[h2] < 90)) {
if (((((px - 20) < (bx[h2] + 6)) and ((px + 20) > (bx[h2] - 6))) and (py > (by[h2] - 50))) and ((py - 24) < by[h2])) {
melee.start();
pl = pl - 12;
i = 15;
}
}
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if ((((bsx[h1] > 420) or (bsx[h1] < -20)) or (bsy[h1] > 20)) or (bsy[h1] < -300)) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 1) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 6;
bsf[h1] = 2;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 6;
bsf[h1] = 3;
}
if (py > bsy[h1]) {
bsy[h1] = bsy[h1] + 1;
}
if (py < bsy[h1]) {
bsy[h1] = bsy[h1] - 1;
}
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 5) > (py - 26))) and ((bsy[h1] - 5) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 10;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 4) {
bsf[h1] = 4;
bsd[h1] = bsd[h1] + 1;
if (bsd[h1] > 7) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if ((((bsy[h1] + 6) > (py - 26)) and ((bsy[h1] - 6) < (py - 2))) and (i < 1)) {
pl = pl - 2;
}
}
if (bst[h1] == 5) {
bsf[h1] = 5;
bsy[h1] = bsy[h1] + 4;
if ((((((bsx[h1] + 7) > (px - 12)) and ((bsx[h1] - 7) < (px + 12))) and ((bsy[h1] + 7) > (py - 26))) and ((bsy[h1] - 7) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 8;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
if (bx[h2] > 350) {
bx[h2] = 350;
}
if (bx[h2] < 50) {
bx[h2] = 50;
}
if ((by[h2] > -40) and ((bd[h2] == 2) or (bd[h2] == 3))) {
by[h2] = -40;
boom2.start();
if (px < bx[h2]) {
bd[h2] = 1;
}
if (px >= bx[h2]) {
bd[h2] = 0;
}
}
if (((bd[h2] == 2) or (bd[h2] == 3)) and (bj[h2] > -1)) {
by[h2] = by[h2] + 13;
}
}
Frame 2847
function boss2() {
h2 = 1;
if (bt[h2] > 0) {
if (bt[h2] == 52) {
if (bd[h2] == 0) {
bf[h2] = 2;
if (px < bx[h2]) {
bd[h2] = 1;
}
h3 = random(150 + dif);
if (h3 < 10) {
lightning.start();
bd[h2] = 2;
bs[h2] = 1;
}
if ((h3 > 9) and (h3 < 16)) {
bd[h2] = 4;
}
}
if (bd[h2] == 1) {
bf[h2] = 72;
if (px > bx[h2]) {
bd[h2] = 0;
}
h3 = random(150 + dif);
if (h3 < 10) {
lightning.start();
bd[h2] = 3;
bs[h2] = 1;
}
if ((h3 > 9) and (h3 < 16)) {
bd[h2] = 4;
}
}
if (bd[h2] == 2) {
bf[h2] = 3;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 12) {
if (bst[bsn] == 0) {
bd[h2] = 0;
bst[bsn] = 3;
bsd[bsn] = 0;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] + 10;
bsy[bsn] = by[h2] - 17;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 3) {
bf[h2] = 73;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 12) {
if (bst[bsn] == 0) {
bd[h2] = 1;
bst[bsn] = 3;
bsd[bsn] = 1;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] - 10;
bsy[bsn] = by[h2] - 17;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 4) {
bf[h2] = 4;
by[h2] = by[h2] - 5;
if (px < bx[h2]) {
bx[h2] = (bx[h2] + 1) + random(2);
}
if (px > bx[h2]) {
bx[h2] = (bx[h2] - 1) - random(2);
}
if (by[h2] < -90) {
bd[h2] = 7;
by[h2] = -90;
}
}
if (bd[h2] == 5) {
bf[h2] = 5;
by[h2] = by[h2] + 4;
if (px < bx[h2]) {
bx[h2] = (bx[h2] - 1) - random(2);
}
if (px > bx[h2]) {
bx[h2] = (bx[h2] + 1) + random(2);
}
if (by[h2] > -20) {
if (px <= bx[h2]) {
bd[h2] = 1;
}
if (px > bx[h2]) {
bd[h2] = 0;
}
by[h2] = -20;
}
}
if (bd[h2] == 6) {
bf[h2] = 6;
by[h2] = by[h2] - 8;
if (by[h2] < -200) {
bossdeath.start();
if (px < 150) {
bd[h2] = 8;
bx[h2] = -20;
}
if (px > 149) {
bd[h2] = 9;
bx[h2] = 320;
}
by[h2] = -83;
}
}
if (bd[h2] == 7) {
bf[h2] = 7;
by[h2] = -88 + random(5);
if (px < bx[h2]) {
bx[h2] = (bx[h2] - 3) - random(3);
}
if (px > bx[h2]) {
bx[h2] = (bx[h2] + 3) + random(3);
}
h3 = random(150 + dif);
if (((h3 < 10) and (px > (bx[h2] - 30))) and (px < (bx[h2] + 30))) {
lightning.start();
bd[h2] = 10;
by[h2] = -85;
bs[h2] = 1;
}
if ((h3 > 9) and (h3 < 18)) {
bd[h2] = 5;
}
if ((h3 > 17) and (h3 < 22)) {
bd[h2] = 6;
}
if ((((h3 > 24) and (h3 < 30)) and (px > (bx[h2] - 80))) and (px < (bx[h2] + 80))) {
boom3.start();
bd[h2] = 11;
by[h2] = -90;
bs[h2] = 1;
}
}
if (bd[h2] == 8) {
bf[h2] = 8;
bx[h2] = bx[h2] + 8;
if (((((px + 12) > (bx[h2] - 10)) and ((px - 12) < (bx[h2] + 10))) and (py > by[h2])) and (i < 1)) {
pl = pl - 4;
if ((((px + 12) > (bx[h2] - 20)) and ((px - 12) < bx[h2])) and (py > by[h2])) {
px = px + 10;
}
}
if (bx[h2] > 230) {
bd[h2] = 7;
}
}
if (bd[h2] == 9) {
bf[h2] = 9;
bx[h2] = bx[h2] - 8;
if (((((px + 12) > (bx[h2] - 10)) and ((px - 12) < (bx[h2] + 10))) and (py > by[h2])) and (i < 1)) {
pl = pl - 4;
if ((((px + 12) > bx[h2]) and ((px - 12) < (bx[h2] + 20))) and (py > by[h2])) {
px = px - 10;
}
}
if (bx[h2] < 70) {
bd[h2] = 7;
}
}
if (bd[h2] == 10) {
if ((bs[h2] > 0) and (bs[h2] < 5)) {
bf[h2] = 10;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 11;
}
if ((bs[h2] > 6) and (bs[h2] < 9)) {
bf[h2] = 12;
}
if (bs[h2] > 4) {
if ((((px + 12) > (bx[h2] - 8)) and ((px - 12) < (bx[h2] + 8))) and (i < 1)) {
pl = pl - 3;
}
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 8) {
bd[h2] = 7;
}
}
if (bd[h2] == 11) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 13;
}
if ((bs[h2] > 3) and (bs[h2] < 6)) {
bf[h2] = 14;
}
if ((bs[h2] > 5) and (bs[h2] < 8)) {
bf[h2] = 15;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 7) {
bd[h2] = 7;
if (bst[bsn] == 0) {
bst[bsn] = 4;
bsd[bsn] = 0;
bsf[bsn] = 4;
bsx[bsn] = bx[h2] - 25;
bsy[bsn] = by[h2] - 17;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
if (bst[bsn] == 0) {
bst[bsn] = 4;
bsd[bsn] = 0;
bsf[bsn] = 4;
bsx[bsn] = bx[h2] + 25;
bsy[bsn] = by[h2] - 17;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
bossed();
}
bhits();
if ((((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) and (bd[h2] < 90)) {
if (((((px - 20) < (bx[h2] + 5)) and ((px + 20) > (bx[h2] - 5))) and (py > (by[h2] - 20))) and ((py - 18) < by[h2])) {
melee.start();
pl = pl - 8;
i = 20;
}
}
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if ((((bsx[h1] > 320) or (bsx[h1] < -20)) or (bsy[h1] > 20)) or (bsy[h1] < -300)) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 3) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 7;
bsf[h1] = 2;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 7;
bsf[h1] = 3;
}
bsx[h1] = (bsx[h1] - 2) + random(5);
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 4) > (py - 26))) and ((bsy[h1] - 4) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 9;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 4) {
bsf[h1] = 4;
bsy[h1] = (bsy[h1] + 2) + random(3);
bsx[h1] = (bsx[h1] - 4) + random(9);
if (px > bsx[h1]) {
bsx[h1] = bsx[h1] + 2;
}
if (px < bsx[h1]) {
bsx[h1] = bsx[h1] - 2;
}
if ((((((bsx[h1] + 7) > (px - 12)) and ((bsx[h1] - 7) < (px + 12))) and ((bsy[h1] + 7) > (py - 26))) and ((bsy[h1] - 7) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 9;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
}
Frame 2848
function boss3() {
h2 = 1;
if (bt[h2] > 0) {
if (bt[h2] == 53) {
if (bd[h2] == 0) {
bf[h2] = 2;
if (px < bx[h2]) {
bd[h2] = 1;
}
h3 = random(150 + dif);
if (h3 < 10) {
bd[h2] = 2;
bj[h2] = -14;
}
if ((h3 > 9) and (h3 < 14)) {
bd[h2] = 8;
bs[h2] = 1;
}
if ((h3 > 15) and (h3 < 20)) {
bd[h2] = 10;
bs[h2] = 1;
}
if ((h3 > 21) and (h3 < 25)) {
bd[h2] = 12;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
bf[h2] = 72;
if (px > bx[h2]) {
bd[h2] = 0;
}
h3 = random(150 + dif);
if (h3 < 10) {
bd[h2] = 3;
bj[h2] = -14;
}
if ((h3 > 9) and (h3 < 14)) {
bd[h2] = 9;
bs[h2] = 1;
}
if ((h3 > 15) and (h3 < 20)) {
bd[h2] = 11;
bs[h2] = 1;
}
if ((h3 > 21) and (h3 < 25)) {
bd[h2] = 13;
bs[h2] = 1;
}
}
if (bd[h2] == 2) {
bf[h2] = 3;
by[h2] = by[h2] + bj[h2];
if (bj[h2] < 0) {
bj[h2] = bj[h2] + 1;
}
if (bj[h2] == 0) {
deflect.start();
if (px < (bx[h2] + 35)) {
bd[h2] = 4;
}
if (px > (bx[h2] + 34)) {
bd[h2] = 6;
}
}
}
if (bd[h2] == 3) {
bf[h2] = 73;
by[h2] = by[h2] + bj[h2];
if (bj[h2] < 0) {
bj[h2] = bj[h2] + 1;
}
if (bj[h2] == 0) {
deflect.start();
if (px < (bx[h2] - 34)) {
bd[h2] = 7;
}
if (px > (bx[h2] - 35)) {
bd[h2] = 5;
}
}
}
if (bd[h2] == 4) {
bf[h2] = 4;
by[h2] = by[h2] + 8;
}
if (bd[h2] == 5) {
bf[h2] = 74;
by[h2] = by[h2] + 8;
}
if (bd[h2] == 6) {
bf[h2] = 5;
bx[h2] = bx[h2] + 9;
by[h2] = by[h2] + 7;
}
if (bd[h2] == 7) {
bf[h2] = 75;
bx[h2] = bx[h2] - 9;
by[h2] = by[h2] + 7;
}
if (bd[h2] == 8) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 6;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 7;
}
if ((bs[h2] > 6) and (bs[h2] < 10)) {
bf[h2] = 8;
}
if ((bs[h2] > 9) and (bs[h2] < 25)) {
bf[h2] = 9;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 24) {
bd[h2] = 0;
}
if (bs[h2] > 15) {
boom3.start();
h1 = 1;
while (h1 < 4) {
if (bst[bsn] == 0) {
bd[h2] = 0;
bst[bsn] = 3;
bsd[bsn] = 0;
bsf[bsn] = 4;
bsx[bsn] = (20 * random(16)) + 40;
bsy[bsn] = -200;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
h1++;
}
}
}
if (bd[h2] == 9) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 76;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 77;
}
if ((bs[h2] > 6) and (bs[h2] < 10)) {
bf[h2] = 78;
}
if ((bs[h2] > 9) and (bs[h2] < 25)) {
bf[h2] = 79;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 24) {
bd[h2] = 1;
}
if (bs[h2] > 15) {
boom3.start();
h1 = 1;
while (h1 < 4) {
if (bst[bsn] == 0) {
bd[h2] = 0;
bst[bsn] = 3;
bsd[bsn] = 0;
bsf[bsn] = 4;
bsx[bsn] = (20 * random(16)) + 40;
bsy[bsn] = -200;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
h1++;
}
}
}
if (bd[h2] == 10) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 10;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 11;
}
if ((bs[h2] > 6) and (bs[h2] < 10)) {
bf[h2] = 12;
}
if ((bs[h2] > 9) and (bs[h2] < 13)) {
bf[h2] = 13;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 12) {
bd[h2] = 0;
zeroswing.start();
zeroswing.start();
if (bst[bsn] == 0) {
bd[h2] = 0;
bst[bsn] = 5;
bsd[bsn] = 0;
bsf[bsn] = 11;
bsx[bsn] = bx[h2] + 25;
bsy[bsn] = -40;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 11) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 80;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 81;
}
if ((bs[h2] > 6) and (bs[h2] < 10)) {
bf[h2] = 82;
}
if ((bs[h2] > 9) and (bs[h2] < 13)) {
bf[h2] = 83;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 12) {
bd[h2] = 1;
zeroswing.start();
zeroswing.start();
if (bst[bsn] == 0) {
bd[h2] = 0;
bst[bsn] = 5;
bsd[bsn] = 1;
bsf[bsn] = 12;
bsx[bsn] = bx[h2] - 25;
bsy[bsn] = -40;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 12) {
bf[h2] = 14;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 8) {
bd[h2] = 0;
h3 = random(10);
if (h3 < 5) {
bd[h2] = 12;
bs[h2] = 1;
}
if (bst[bsn] == 0) {
laser.start();
bst[bsn] = 1;
bsd[bsn] = 0;
bsf[bsn] = 11;
bsx[bsn] = bx[h2] + 25;
bsy[bsn] = by[h2] - 27;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 13) {
bf[h2] = 84;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 8) {
bd[h2] = 1;
h3 = random(10);
if (h3 < 5) {
bd[h2] = 13;
bs[h2] = 1;
}
if (bst[bsn] == 0) {
laser.start();
bst[bsn] = 1;
bsd[bsn] = 1;
bsf[bsn] = 11;
bsx[bsn] = bx[h2] - 25;
bsy[bsn] = by[h2] - 27;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
bossed();
}
bhits();
if ((((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) and (bd[h2] < 90)) {
if (((((px - 20) < (bx[h2] + 6)) and ((px + 20) > (bx[h2] - 6))) and (py > (by[h2] - 50))) and ((py - 24) < by[h2])) {
melee.start();
pl = pl - 12;
i = 15;
}
}
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if ((((bsx[h1] > 420) or (bsx[h1] < -20)) or (bsy[h1] > -20)) or (bsy[h1] < (camy - 200))) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 1) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 7;
bsf[h1] = 2;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 7;
bsf[h1] = 3;
}
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 6) > (py - 26))) and ((bsy[h1] - 6) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 6;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 3) {
bsf[h1] = 4;
bsy[h1] = (bsy[h1] + 3) + h1;
if ((((((bsx[h1] + 8) > (px - 12)) and ((bsx[h1] - 8) < (px + 12))) and ((bsy[h1] + 7) > (py - 26))) and ((bsy[h1] - 7) < (py - 2))) and (i < 1)) {
boom1.start();
i = 15;
pl = pl - 10;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 4) {
bsf[h1] = bsd[h1] + 5;
if ((((((bsx[h1] + 40) > (px - 12)) and ((bsx[h1] - 40) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 30) < (py - 2))) and (i < 1)) {
pl = pl - 2;
}
bsd[h1] = bsd[h1] + 1;
if (bsd[h1] > 5) {
bst[h1] = 0;
bsf[h1] = 10;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 5) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 5;
bsf[h1] = 11;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 5;
bsf[h1] = 12;
}
if ((((((bsx[h1] + 23) > (px - 12)) and ((bsx[h1] - 23) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 22) < (py - 2))) and (i < 1)) {
pl = pl - 3;
if (bsd[h1] == 0) {
px = px + 5;
}
if (bsd[h1] == 1) {
px = px - 5;
}
}
}
}
h1++;
}
if (bx[h2] > 350) {
bx[h2] = 350;
}
if (bx[h2] < 50) {
bx[h2] = 50;
}
if (by[h2] > -40) {
by[h2] = -40;
if ((bd[h2] > 3) and (bd[h2] < 8)) {
boom1.start();
if (bst[bsn] == 0) {
bst[bsn] = 4;
bsd[bsn] = 0;
bsf[bsn] = 5;
bsx[bsn] = bx[h2];
bsy[bsn] = -40;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
if (px < bx[h2]) {
bd[h2] = 1;
}
if (px >= bx[h2]) {
bd[h2] = 0;
}
}
}
if (((bd[h2] > 3) and (bd[h2] < 8)) and (bj[h2] > -1)) {
by[h2] = by[h2] + 4;
}
}
Frame 2849
function boss4() {
h2 = 1;
if (bt[h2] > 0) {
if (bt[h2] == 54) {
if (bd[h2] == 0) {
bf[h2] = 2;
if (px < bx[h2]) {
bd[h2] = 1;
}
h3 = random(150 + dif);
if (h3 < 8) {
teleportsfx.start();
bd[h2] = 2;
}
if ((h3 > 9) and (h3 < 18)) {
bd[h2] = 6;
bs[h2] = 1;
}
if ((h3 > 20) and (h3 < 32)) {
bd[h2] = 10;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
bf[h2] = 72;
if (px > bx[h2]) {
bd[h2] = 0;
}
h3 = random(150 + dif);
if (h3 < 8) {
teleportsfx.start();
bd[h2] = 3;
}
if ((h3 > 9) and (h3 < 18)) {
bd[h2] = 7;
bs[h2] = 1;
}
if ((h3 > 20) and (h3 < 32)) {
bd[h2] = 11;
bs[h2] = 1;
}
}
if (bd[h2] == 2) {
bf[h2] = 3;
by[h2] = by[h2] - 18;
if (by[h2] < -200) {
bx[h2] = px;
bd[h2] = 4;
}
}
if (bd[h2] == 3) {
bf[h2] = 73;
by[h2] = by[h2] - 18;
if (by[h2] < -200) {
bx[h2] = px;
bd[h2] = 5;
}
}
if (bd[h2] == 4) {
bf[h2] = 4;
by[h2] = by[h2] + 14;
if (((((bx[h2] < px) and ((bx[h2] + 40) > px)) and ((by[h2] + 10) > (py - 24))) and ((by[h2] - 50) < py)) and (i < 1)) {
melee.start();
pl = pl - 18;
i = 15;
}
}
if (bd[h2] == 5) {
bf[h2] = 74;
by[h2] = by[h2] + 14;
if ((((((bx[h2] - 40) < px) and (bx[h2] > px)) and ((by[h2] + 10) > (py - 24))) and ((by[h2] - 50) < py)) and (i < 1)) {
melee.start();
pl = pl - 18;
i = 15;
}
}
if (bd[h2] == 6) {
bf[h2] = 5;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 22) {
deflect.start();
deflect.start();
bd[h2] = 8;
}
}
if (bd[h2] == 7) {
bf[h2] = 75;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 22) {
deflect.start();
deflect.start();
bd[h2] = 9;
}
}
if (bd[h2] == 8) {
bf[h2] = 6;
bx[h2] = bx[h2] + 7;
if ((((((bx[h2] - 15) < px) and ((bx[h2] + 50) > px)) and (by[h2] > (py - 24))) and ((by[h2] - 50) < py)) and (i < 1)) {
px = px + 8;
pl = pl - 3;
}
}
if (bd[h2] == 9) {
bf[h2] = 76;
bx[h2] = bx[h2] - 7;
if ((((((bx[h2] - 50) < px) and ((bx[h2] + 15) > px)) and (by[h2] > (py - 24))) and ((by[h2] - 50) < py)) and (i < 1)) {
px = px - 8;
pl = pl - 3;
}
}
if (bd[h2] == 10) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 7;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 8;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 9;
}
if ((bs[h2] > 6) and (bs[h2] < 9)) {
bf[h2] = 10;
}
if ((bs[h2] > 8) and (bs[h2] < 11)) {
bf[h2] = 11;
}
if (bs[h2] > 10) {
bf[h2] = 12;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 15) {
bs[h2] = 1;
if (px > (bx[h2] + 66)) {
zeroswing.start();
zeroswing.start();
bd[h2] = 16;
}
if (px <= (bx[h2] + 66)) {
deliaswing.start();
deliaswing.start();
bd[h2] = 14;
}
}
}
if (bd[h2] == 11) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 77;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 78;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 79;
}
if ((bs[h2] > 6) and (bs[h2] < 9)) {
bf[h2] = 80;
}
if ((bs[h2] > 8) and (bs[h2] < 11)) {
bf[h2] = 81;
}
if (bs[h2] > 10) {
bf[h2] = 82;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 15) {
bs[h2] = 1;
if (px < (bx[h2] - 66)) {
zeroswing.start();
zeroswing.start();
bd[h2] = 17;
}
if (px >= (bx[h2] - 66)) {
deliaswing.start();
deliaswing.start();
bd[h2] = 15;
}
}
}
if (bd[h2] == 12) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 12;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 11;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 10;
}
if ((bs[h2] > 6) and (bs[h2] < 9)) {
bf[h2] = 9;
}
if ((bs[h2] > 8) and (bs[h2] < 11)) {
bf[h2] = 8;
}
if ((bs[h2] > 10) and (bs[h2] < 14)) {
bf[h2] = 7;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 13) {
bd[h2] = 0;
}
}
if (bd[h2] == 13) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 82;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 81;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 80;
}
if ((bs[h2] > 6) and (bs[h2] < 9)) {
bf[h2] = 79;
}
if ((bs[h2] > 8) and (bs[h2] < 11)) {
bf[h2] = 78;
}
if ((bs[h2] > 10) and (bs[h2] < 14)) {
bf[h2] = 77;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 13) {
bd[h2] = 1;
}
}
if (bd[h2] == 14) {
if (bs[h2] == 1) {
bf[h2] = 13;
}
if (bs[h2] == 2) {
bf[h2] = 14;
}
if (bs[h2] == 3) {
bf[h2] = 15;
}
if (bs[h2] == 4) {
bf[h2] = 16;
}
if (bs[h2] > 4) {
bf[h2] = 17;
}
if ((((((bs[h2] > 2) and (bx[h2] < px)) and ((bx[h2] + 75) > px)) and (by[h2] > (py - 24))) and ((by[h2] - 70) < py)) and (i < 1)) {
melee.start();
pl = pl - 30;
i = 15;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 6) {
bs[h2] = 1;
h3 = random(10);
if (h3 < 6) {
bd[h2] = 12;
}
if (h3 == 6) {
teleportsfx.start();
bd[h2] = 2;
}
if (h3 > 6) {
deliaswing.start();
deliaswing.start();
bd[h2] = 14;
}
}
}
if (bd[h2] == 15) {
if (bs[h2] == 1) {
bf[h2] = 83;
}
if (bs[h2] == 2) {
bf[h2] = 84;
}
if (bs[h2] == 3) {
bf[h2] = 85;
}
if (bs[h2] == 4) {
bf[h2] = 86;
}
if (bs[h2] > 4) {
bf[h2] = 87;
}
if ((((((bs[h2] > 2) and ((bx[h2] - 75) < px)) and (bx[h2] > px)) and (by[h2] > (py - 24))) and ((by[h2] - 70) < py)) and (i < 1)) {
melee.start();
pl = pl - 30;
i = 15;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 6) {
bs[h2] = 1;
h3 = random(10);
if (h3 < 6) {
bd[h2] = 13;
}
if (h3 == 6) {
teleportsfx.start();
bd[h2] = 3;
}
if (h3 > 6) {
deliaswing.start();
deliaswing.start();
bd[h2] = 15;
}
}
}
if (bd[h2] == 16) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 18;
}
if ((bs[h2] > 2) and (bs[h2] < 6)) {
bf[h2] = 19;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 5) {
bs[h2] = 1;
bd[h2] = 18;
bst[1] = 3;
bsd[1] = 0;
bsf[1] = 2;
bsx[1] = bx[h2] + 40;
bsy[1] = by[h2] - 40;
}
}
if (bd[h2] == 17) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 88;
}
if ((bs[h2] > 2) and (bs[h2] < 6)) {
bf[h2] = 89;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 5) {
bs[h2] = 1;
bd[h2] = 19;
bst[1] = 3;
bsd[1] = 0;
bsf[1] = 2;
bsx[1] = bx[h2] - 40;
bsy[1] = by[h2] - 40;
}
}
if (bd[h2] == 18) {
bf[h2] = 20;
if (px < bx[h2]) {
bd[h2] = 19;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] == 30) {
bst[1] = 4;
}
if (bs[h2] > 49) {
metal.start();
bd[h2] = 12;
bs[h2] = 1;
bst[1] = 0;
bsf[1] = 13;
bsx[1] = -2000;
bsy[1] = -2000;
}
}
if (bd[h2] == 19) {
bf[h2] = 90;
if (px > bx[h2]) {
bd[h2] = 18;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] == 30) {
bst[1] = 4;
}
if (bs[h2] > 49) {
metal.start();
bd[h2] = 13;
bs[h2] = 1;
bst[1] = 0;
bsf[1] = 13;
bsx[1] = -2000;
bsy[1] = -2000;
}
}
bossed();
}
bhits();
if ((((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) and (bd[h2] < 90)) {
if (((((px - 15) < (bx[h2] + 15)) and ((px + 15) > (bx[h2] - 15))) and (py > (by[h2] - 65))) and ((py - 18) < by[h2])) {
melee.start();
pl = pl - 10;
i = 20;
}
}
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if (bst[h1] == 3) {
bsf[h1] = 2;
if (px > bsx[h1]) {
bsx[h1] = bsx[h1] + 6;
}
if (px < bsx[h1]) {
bsx[h1] = bsx[h1] - 6;
}
if ((py - 10) > bsy[h1]) {
bsy[h1] = bsy[h1] + 2;
}
if ((py - 10) < bsy[h1]) {
bsy[h1] = bsy[h1] - 2;
}
if ((((((bsx[h1] + 12) > (px - 12)) and ((bsx[h1] - 12) < (px + 12))) and ((bsy[h1] + 12) > (py - 26))) and ((bsy[h1] - 12) < (py - 2))) and (i < 1)) {
pl = pl - 2;
}
}
if (bst[h1] == 4) {
bsf[h1] = 2;
if (bx[1] > bsx[h1]) {
bsx[h1] = bsx[h1] + 6;
}
if (bx[1] < bsx[h1]) {
bsx[h1] = bsx[h1] - 6;
}
if ((by[1] - 40) > bsy[h1]) {
bsy[h1] = bsy[h1] + 2;
}
if ((by[1] - 40) < bsy[h1]) {
bsy[h1] = bsy[h1] - 2;
}
if ((((((bsx[h1] + 12) > (px - 12)) and ((bsx[h1] - 12) < (px + 12))) and ((bsy[h1] + 12) > (py - 26))) and ((bsy[h1] - 12) < (py - 2))) and (i < 1)) {
pl = pl - 2;
}
}
}
h1++;
}
if (bx[h2] > 350) {
bx[h2] = 350;
if ((bd[h2] == 8) or (bd[h2] == 9)) {
bd[h2] = 1;
boom2.start();
}
}
if (bx[h2] < 50) {
bx[h2] = 50;
if ((bd[h2] == 8) or (bd[h2] == 9)) {
bd[h2] = 0;
boom2.start();
}
}
if (by[h2] > -40) {
by[h2] = -40;
if ((bd[h2] > 3) and (bd[h2] < 6)) {
metal.start();
h3 = random(20);
if (px < bx[h2]) {
bs[h2] = 1;
bd[h2] = 13;
if (h3 < 4) {
zeroswing.start();
zeroswing.start();
bd[h2] = 15;
}
if (h3 > 16) {
deliaswing.start();
deliaswing.start();
bd[h2] = 17;
}
}
if (px >= bx[h2]) {
bs[h2] = 1;
bd[h2] = 12;
if (h3 < 4) {
zeroswing.start();
zeroswing.start();
bd[h2] = 14;
}
if (h3 > 16) {
deliaswing.start();
deliaswing.start();
bd[h2] = 16;
}
}
}
}
if (((bd[h2] > 3) and (bd[h2] < 6)) and (bj[h2] > -1)) {
by[h2] = by[h2] + 4;
}
}
Frame 2850
function boss5() {
h2 = 1;
if (bt[h2] > 0) {
if (bt[h2] == 55) {
if (bd[h2] == 0) {
bf[h2] = 2;
if (px < bx[h2]) {
bd[h2] = 1;
}
h3 = random(150 + dif);
if ((h3 < 7) and (bst[bsn] == 0)) {
laser.start();
bd[h2] = 8;
bs[h2] = 1;
}
if ((h3 > 13) and (h3 < 17)) {
deflect.start();
bd[h2] = 12;
}
if ((((h3 > 19) and (h3 < 24)) and (bst[bsn] == 0)) and (px < (bx[h2] + 60))) {
bd[h2] = 10;
bs[h2] = 1;
}
if ((h3 > 29) and (h3 < 35)) {
bd[h2] = 6;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
bf[h2] = 72;
if (px > bx[h2]) {
bd[h2] = 0;
}
h3 = random(150 + dif);
if ((h3 < 7) and (bst[bsn] == 0)) {
laser.start();
bd[h2] = 9;
bs[h2] = 1;
}
if ((h3 > 13) and (h3 < 17)) {
deflect.start();
bd[h2] = 13;
}
if ((((h3 > 19) and (h3 < 24)) and (bst[bsn] == 0)) and (px > (bx[h2] - 60))) {
bd[h2] = 11;
bs[h2] = 1;
}
if ((h3 > 29) and (h3 < 35)) {
bd[h2] = 7;
bs[h2] = 1;
}
}
if (bd[h2] == 2) {
bf[h2] = 3;
bx[h2] = bx[h2] + 12;
if (((((pace == 3) or (pace == 7)) or (pace == 11)) or (pace == 15)) and (bst[bsn] == 0)) {
laser.start();
bst[bsn] = 5;
bsd[bsn] = 0;
bsf[bsn] = 4;
bsx[bsn] = bx[h2];
bsy[bsn] = by[h2] - 20;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
if (bx[h2] > 450) {
teleportsfx.start();
h3 = random(9);
if (h3 < 3) {
bx[h2] = 70;
}
if (h3 > 5) {
bx[h2] = 330;
}
if ((h3 > 2) and (h3 < 6)) {
bx[h2] = 200;
}
bs[h2] = 1;
by[h2] = 250;
if (px <= bx[h2]) {
bd[h2] = 5;
}
if (px > bx[h2]) {
bd[h2] = 4;
}
}
}
if (bd[h2] == 3) {
bf[h2] = 73;
bx[h2] = bx[h2] - 12;
if (((((pace == 3) or (pace == 7)) or (pace == 11)) or (pace == 15)) and (bst[bsn] == 0)) {
laser.start();
bst[bsn] = 5;
bsd[bsn] = 0;
bsf[bsn] = 4;
bsx[bsn] = bx[h2];
bsy[bsn] = by[h2] - 20;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
if (bx[h2] < -50) {
teleportsfx.start();
h3 = random(9);
if (h3 < 3) {
bx[h2] = 70;
}
if (h3 > 5) {
bx[h2] = 330;
}
if ((h3 > 2) and (h3 < 6)) {
bx[h2] = 200;
}
bs[h2] = 1;
by[h2] = 250;
if (px <= bx[h2]) {
bd[h2] = 5;
}
if (px > bx[h2]) {
bd[h2] = 4;
}
}
}
if (bd[h2] == 4) {
bf[h2] = 4;
bs[h2] = bs[h2] + 1;
by[h2] = 150 - (5 * bs[h2]);
if (bs[h2] > 25) {
bd[h2] = 0;
by[h2] = 20;
}
}
if (bd[h2] == 5) {
bf[h2] = 74;
bs[h2] = bs[h2] + 1;
by[h2] = 150 - (5 * bs[h2]);
if (bs[h2] > 25) {
bd[h2] = 1;
by[h2] = 20;
}
}
if (bd[h2] == 6) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 10;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 11;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 12;
}
if ((bs[h2] > 6) and (bs[h2] < 9)) {
bf[h2] = 13;
}
if ((bs[h2] > 8) and (bs[h2] < 11)) {
bf[h2] = 14;
}
if (bs[h2] > 10) {
bf[h2] = 15;
}
by[h2] = 20 + (5 * bs[h2]);
bs[h2] = bs[h2] + 1;
if (bs[h2] > 18) {
teleportsfx.start();
h3 = random(9);
if (h3 < 3) {
bx[h2] = 70;
}
if (h3 > 5) {
bx[h2] = 330;
}
if ((h3 > 2) and (h3 < 6)) {
bx[h2] = 200;
}
bs[h2] = 1;
by[h2] = 250;
if (px <= bx[h2]) {
bf[h2] = 74;
bd[h2] = 5;
}
if (px > bx[h2]) {
bf[h2] = 4;
bd[h2] = 4;
}
}
}
if (bd[h2] == 7) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 80;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 81;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 82;
}
if ((bs[h2] > 6) and (bs[h2] < 9)) {
bf[h2] = 83;
}
if ((bs[h2] > 8) and (bs[h2] < 11)) {
bf[h2] = 84;
}
if (bs[h2] > 10) {
bf[h2] = 85;
}
bs[h2] = bs[h2] + 1;
by[h2] = 20 + (5 * bs[h2]);
if (bs[h2] > 18) {
teleportsfx.start();
h3 = random(9);
if (h3 < 3) {
bx[h2] = 70;
}
if (h3 > 5) {
bx[h2] = 330;
}
if ((h3 > 2) and (h3 < 6)) {
bx[h2] = 200;
}
bs[h2] = 1;
by[h2] = 250;
if (px <= bx[h2]) {
bd[h2] = 5;
bf[h2] = 74;
}
if (px > bx[h2]) {
bd[h2] = 4;
bf[h2] = 4;
}
}
}
if (bd[h2] == 8) {
bf[h2] = 16;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 5) {
bd[h2] = 0;
bst[bsn] = 3;
bsd[bsn] = 0;
bsf[bsn] = 2;
bsx[bsn] = -20;
bsy[bsn] = py - 10;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
if (bd[h2] == 9) {
bf[h2] = 86;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 5) {
bd[h2] = 1;
bst[bsn] = 3;
bsd[bsn] = 1;
bsf[bsn] = 2;
bsx[bsn] = 420;
bsy[bsn] = py - 10;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
if (bd[h2] == 10) {
if ((bs[h2] > 0) and (bs[h2] < 15)) {
bf[h2] = 17;
}
if ((bs[h2] > 14) and (bs[h2] < 17)) {
bf[h2] = 18;
}
if (bs[h2] > 16) {
bf[h2] = 19;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 18) {
bd[h2] = 0;
boom3.start();
bst[1] = 6;
bsd[1] = 0;
bsf[1] = 5;
bsx[1] = bx[h2];
bsy[1] = by[h2] - 100;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
if (bd[h2] == 11) {
if ((bs[h2] > 0) and (bs[h2] < 15)) {
bf[h2] = 87;
}
if ((bs[h2] > 14) and (bs[h2] < 17)) {
bf[h2] = 88;
}
if (bs[h2] > 16) {
bf[h2] = 89;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 18) {
bd[h2] = 1;
boom3.start();
bst[1] = 6;
bsd[1] = 0;
bsf[1] = 5;
bsx[1] = bx[h2];
bsy[1] = by[h2] - 100;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
if (bd[h2] == 12) {
bf[h2] = 20;
by[h2] = by[h2] - 15;
if (by[h2] < -300) {
h3 = random(10);
deflect.start();
if (h3 < 4) {
if (px < 200) {
bd[h2] = 2;
bx[h2] = -50;
}
if (px > 199) {
bd[h2] = 3;
bx[h2] = 450;
}
by[h2] = -110;
}
if (h3 > 3) {
bd[h2] = 14;
bx[h2] = px;
by[h2] = -220;
}
}
}
if (bd[h2] == 13) {
bf[h2] = 90;
by[h2] = by[h2] - 15;
if (by[h2] < -300) {
h3 = random(10);
deflect.start();
if (h3 < 4) {
if (px < 200) {
bd[h2] = 2;
bx[h2] = -50;
}
if (px > 199) {
bd[h2] = 3;
bx[h2] = 450;
}
by[h2] = -110;
}
if (h3 > 3) {
bd[h2] = 15;
bx[h2] = px;
by[h2] = -220;
}
}
}
if (bd[h2] == 14) {
bf[h2] = 21;
by[h2] = by[h2] + 18;
if (by[h2] > 150) {
bf[h2] = 6;
by[h2] = 250;
bd[h2] = 6;
bs[h2] = 30;
}
if ((((((bx[h2] - 10) < px) and ((bx[h2] + 10) > px)) and (by[h2] > (py - 24))) and ((by[h2] - 140) < py)) and (i < 1)) {
melee.start();
melee.start();
pl = pl - 15;
i = 10;
}
}
if (bd[h2] == 15) {
bf[h2] = 91;
by[h2] = by[h2] + 18;
if (by[h2] > 150) {
bf[h2] = 6;
by[h2] = 250;
bd[h2] = 7;
bs[h2] = 30;
}
if ((((((bx[h2] - 10) < px) and ((bx[h2] + 10) > px)) and (by[h2] > (py - 24))) and ((by[h2] - 140) < py)) and (i < 1)) {
melee.start();
melee.start();
pl = pl - 15;
i = 10;
}
}
bossed();
}
bhits();
if ((((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) and (bd[h2] < 90)) {
if (((((px - 15) < (bx[h2] + 5)) and ((px + 15) > (bx[h2] - 5))) and ((py - 10) > (by[h2] - 140))) and ((py - 18) < by[h2])) {
melee.start();
pl = pl - 8;
i = 20;
}
}
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if (bst[h1] == 3) {
if (bsd[h1] == 0) {
bsf[h1] = 2;
bsx[h1] = bsx[h1] + 8;
}
if (bsd[h1] == 1) {
bsf[h1] = 3;
bsx[h1] = bsx[h1] - 8;
}
if ((((((bsx[h1] + 6) > (px - 12)) and ((bsx[h1] - 6) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
pl = pl - 6;
i = 15;
bst[h1] = 0;
bsf[h1] = 40;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if ((bsx[h1] > 430) or (bsx[h1] < -30)) {
bst[h1] = 0;
bsf[h1] = 40;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 5) {
bsf[h1] = 4;
bsy[h1] = bsy[h1] + 8;
if ((((((bsx[h1] + 14) > (px - 12)) and ((bsx[h1] - 14) < (px + 12))) and ((bsy[h1] + 10) > (py - 26))) and ((bsy[h1] - 10) < (py - 2))) and (i < 1)) {
pl = pl - 3;
}
if (bsy[h1] > 20) {
bst[h1] = 0;
bsf[h1] = 40;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 6) {
bsf[h1] = bsd[h1] + 5;
bsd[h1] = bsd[h1] + 1;
if (((((((bsx[h1] + 50) + (12 * bsd[h1])) > (px - 12)) and (((bsx[h1] - 50) - (12 * bsd[h1])) < (px + 12))) and (((bsy[h1] + 50) + (12 * bsd[h1])) > (py - 26))) and (((bsy[h1] - 50) - (12 * bsd[h1])) < (py - 2))) and (i < 1)) {
pl = pl - 7;
}
if (bsd[h1] > 5) {
bst[h1] = 0;
bsf[h1] = 40;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
}
Frame 2851
function boss6() {
h2 = 1;
if (bt[h2] > 0) {
if (bt[h2] == 56) {
if (bd[h2] == 0) {
bf[h2] = 2;
if (px < bx[h2]) {
bd[h2] = 1;
}
h3 = random(150 + dif);
if (h3 < 8) {
bd[h2] = 2;
bs[h2] = 1;
}
if ((h3 > 9) and (h3 < 14)) {
bd[h2] = 6;
bs[h2] = 1;
}
if ((h3 > 15) and (h3 < 22)) {
bd[h2] = 8;
bs[h2] = 1;
}
if ((h3 > 21) and (h3 < 30)) {
bd[h2] = 10;
bs[h2] = 1;
}
if (((h3 > 40) and (h3 < 48)) and (px < (bx[h2] + 50))) {
bd[h2] = 8;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
bf[h2] = 72;
if (px > bx[h2]) {
bd[h2] = 0;
}
h3 = random(150 + dif);
if (h3 < 8) {
bd[h2] = 3;
bs[h2] = 1;
}
if ((h3 > 9) and (h3 < 14)) {
bd[h2] = 7;
bs[h2] = 1;
}
if ((h3 > 15) and (h3 < 22)) {
bd[h2] = 9;
bs[h2] = 1;
}
if ((h3 > 21) and (h3 < 30)) {
bd[h2] = 11;
bs[h2] = 1;
}
if (((h3 > 40) and (h3 < 48)) and (px > (bx[h2] - 50))) {
bd[h2] = 9;
bs[h2] = 1;
}
}
if (bd[h2] == 2) {
bf[h2] = 3;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 11) {
bd[h2] = 4;
bj[h2] = -10 - random(2);
}
}
if (bd[h2] == 3) {
bf[h2] = 73;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 11) {
bd[h2] = 5;
bj[h2] = -10 - random(2);
}
}
if (bd[h2] == 4) {
bf[h2] = 4;
bx[h2] = bx[h2] + 9;
by[h2] = by[h2] + bj[h2];
if (bj[h2] < 0) {
bj[h2] = bj[h2] + 1;
}
}
if (bd[h2] == 5) {
bf[h2] = 74;
bx[h2] = bx[h2] - 9;
by[h2] = by[h2] + bj[h2];
if (bj[h2] < 0) {
bj[h2] = bj[h2] + 1;
}
}
if (bd[h2] == 6) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 5;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 6;
}
if ((bs[h2] > 6) and (bs[h2] < 10)) {
bf[h2] = 7;
}
if (bs[h2] > 9) {
bf[h2] = 8;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 22) {
bd[h2] = 0;
}
if (((bs[h2] == 11) or (bs[h2] == 16)) or (bs[h2] == 21)) {
boom2.start();
if (bst[bsn] == 0) {
bst[bsn] = 3;
bsd[bsn] = 0;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] + 10;
bsy[bsn] = by[h2] - 70;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 7) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 75;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 76;
}
if ((bs[h2] > 6) and (bs[h2] < 10)) {
bf[h2] = 77;
}
if (bs[h2] > 9) {
bf[h2] = 78;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 22) {
bd[h2] = 1;
}
if (((bs[h2] == 11) or (bs[h2] == 16)) or (bs[h2] == 21)) {
boom2.start();
if (bst[bsn] == 0) {
bst[bsn] = 3;
bsd[bsn] = 0;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] - 10;
bsy[bsn] = by[h2] - 70;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 8) {
bf[h2] = 9;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 15) {
bd[h2] = 0;
if (bst[bsn] == 0) {
boom3.start();
bst[bsn] = 5;
bsd[bsn] = 0;
bsf[bsn] = 9;
bsx[bsn] = bx[h2] + 15;
bsy[bsn] = by[h2] - 30;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
h3 = random(13);
if (h3 < 3) {
bd[h2] = 8;
bs[h2] = 1;
}
}
}
}
if (bd[h2] == 9) {
bf[h2] = 79;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 15) {
bd[h2] = 1;
if (bst[bsn] == 0) {
boom3.start();
bst[bsn] = 5;
bsd[bsn] = 1;
bsf[bsn] = 9;
bsx[bsn] = bx[h2] - 15;
bsy[bsn] = by[h2] - 30;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
h3 = random(13);
if (h3 < 3) {
bd[h2] = 9;
bs[h2] = 1;
}
}
}
}
if (bd[h2] == 10) {
if ((bs[h2] > 0) and (bs[h2] < 12)) {
bf[h2] = 10;
}
if (bs[h2] > 11) {
bf[h2] = 11;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 15) {
bd[h2] = 0;
h3 = random(10);
if (px > (bx[h2] - 60)) {
h3 = h3 + 4;
}
if (h3 < 6) {
bd[h2] = 10;
bs[h2] = 4;
}
if (bst[bsn] == 0) {
boom1.start();
bst[bsn] = 6;
bsd[bsn] = (py + 60) / 15;
bsf[bsn] = 6;
bsx[bsn] = bx[h2] + 35;
bsy[bsn] = by[h2] - 40;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 11) {
if ((bs[h2] > 0) and (bs[h2] < 12)) {
bf[h2] = 80;
}
if (bs[h2] > 11) {
bf[h2] = 81;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 15) {
bd[h2] = 1;
h3 = random(10);
if (px < (bx[h2] + 60)) {
h3 = h3 + 4;
}
if (h3 < 6) {
bd[h2] = 11;
bs[h2] = 4;
}
if (bst[bsn] == 0) {
boom1.start();
bst[bsn] = 7;
bsd[bsn] = (py + 60) / 15;
bsf[bsn] = 7;
bsx[bsn] = bx[h2] - 35;
bsy[bsn] = by[h2] - 40;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
bossed();
}
bhits();
if ((((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) and (bd[h2] < 90)) {
if (((((px - 20) < (bx[h2] + 12)) and ((px + 20) > (bx[h2] - 12))) and (py > (by[h2] - 54))) and ((py - 18) < by[h2])) {
melee.start();
pl = pl - 8;
i = 20;
}
}
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if ((((bsx[h1] > 320) or (bsx[h1] < -20)) or (bsy[h1] > 20)) or (bsy[h1] < -250)) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 3) {
bsy[h1] = bsy[h1] - 8;
bsf[h1] = 2;
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 6) > (py - 26))) and ((bsy[h1] - 6) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 8;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bsy[h1] < -220) {
bst[h1] = 4;
bsx[h1] = (px - 40) + random(80);
bsy[h1] = -200;
}
}
if (bst[h1] == 4) {
bsy[h1] = bsy[h1] + 8;
bsf[h1] = 3;
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 6) > (py - 26))) and ((bsy[h1] - 6) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 8;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 5) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 4;
bsf[h1] = 4;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 4;
bsf[h1] = 5;
}
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 20) > (py - 26))) and ((bsy[h1] - 20) < (py - 2))) and (i < 1)) {
pl = pl - 5;
if (bsd[h1] == 0) {
px = px + 6;
}
if (bsd[h1] == 1) {
px = px - 6;
}
}
}
if (bst[h1] == 6) {
bsx[h1] = bsx[h1] + 8;
bsy[h1] = bsy[h1] + bsd[h1];
bsf[h1] = 6;
if ((((((bsx[h1] + 7) > (px - 12)) and ((bsx[h1] - 7) < (px + 12))) and ((bsy[h1] + 6) > (py - 26))) and ((bsy[h1] - 6) < (py - 2))) and (i < 1)) {
melee.start();
melee.start();
i = 15;
pl = pl - 8;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 7) {
bsx[h1] = bsx[h1] - 8;
bsy[h1] = bsy[h1] + bsd[h1];
bsf[h1] = 7;
if ((((((bsx[h1] + 7) > (px - 12)) and ((bsx[h1] - 7) < (px + 12))) and ((bsy[h1] + 6) > (py - 26))) and ((bsy[h1] - 6) < (py - 2))) and (i < 1)) {
melee.start();
melee.start();
i = 15;
pl = pl - 8;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
if (bx[h2] > 250) {
bx[h2] = 250;
}
if (bx[h2] < 50) {
bx[h2] = 50;
}
if (by[h2] > -40) {
by[h2] = -40;
if ((bd[h2] > 3) and (bd[h2] < 6)) {
deflect.start();
if (px < bx[h2]) {
bd[h2] = 1;
}
if (px >= bx[h2]) {
bd[h2] = 0;
}
}
}
if (((bd[h2] > 3) and (bd[h2] < 6)) and (bj[h2] > -1)) {
by[h2] = by[h2] + 12;
}
}
Frame 2852
function boss7() {
h2 = 1;
if (bt[h2] > 0) {
if (bt[h2] == 57) {
if (bd[h2] == 0) {
bf[h2] = 2;
if (px < bx[h2]) {
bd[h2] = 1;
}
h3 = random(150 + dif);
if (h3 < 10) {
jump.start();
bd[h2] = 2;
bj[h2] = -16 - random(3);
bs[h2] = (px - bx[h2]) / 30;
}
if (((h3 > 9) and (h3 < 18)) and (bst[bsn] == 0)) {
bd[h2] = 4;
bs[h2] = 1;
}
if (((h3 > 17) and (h3 < 25)) and (bst[bsn] == 0)) {
bd[h2] = 6;
bs[h2] = 1;
}
if ((((h3 > 30) and (h3 < 40)) and (px > bx[h2])) and (px < (bx[h2] + 80))) {
bd[h2] = 8;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
bf[h2] = 72;
if (px > bx[h2]) {
bd[h2] = 0;
}
h3 = random(150 + dif);
if (h3 < 10) {
jump.start();
bd[h2] = 3;
bj[h2] = -16 - random(3);
bs[h2] = (px - bx[h2]) / 30;
}
if (((h3 > 9) and (h3 < 18)) and (bst[bsn] == 0)) {
bd[h2] = 5;
bs[h2] = 1;
}
if (((h3 > 17) and (h3 < 25)) and (bst[bsn] == 0)) {
bd[h2] = 7;
bs[h2] = 1;
}
if ((((h3 > 30) and (h3 < 40)) and (px < bx[h2])) and (px > (bx[h2] - 80))) {
bd[h2] = 9;
bs[h2] = 1;
}
}
if ((bd[h2] == 2) or (bd[h2] == 3)) {
if (bd[h2] == 2) {
if (bj[h2] < 0) {
bf[h2] = 3;
}
if (bj[h2] >= 0) {
bf[h2] = 4;
}
}
if (bd[h2] == 3) {
if (bj[h2] < 0) {
bf[h2] = 73;
}
if (bj[h2] >= 0) {
bf[h2] = 74;
}
}
by[h2] = by[h2] + bj[h2];
bx[h2] = bx[h2] + bs[h2];
if (bj[h2] < 0) {
bj[h2] = bj[h2] + 1;
}
}
if (bd[h2] == 4) {
if ((bs[h2] > 0) and (bs[h2] < 8)) {
bf[h2] = 5;
}
if (bs[h2] > 7) {
bf[h2] = 6;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 10) {
if (bst[bsn] == 0) {
midbuster.start();
bd[h2] = 0;
bst[bsn] = 1;
bsd[bsn] = 0;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] + 10;
bsy[bsn] = by[h2] - 37;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 5) {
if ((bs[h2] > 0) and (bs[h2] < 8)) {
bf[h2] = 75;
}
if (bs[h2] > 7) {
bf[h2] = 76;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 10) {
if (bst[bsn] == 0) {
midbuster.start();
bd[h2] = 1;
bst[bsn] = 1;
bsd[bsn] = 1;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] - 10;
bsy[bsn] = by[h2] - 37;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 6) {
bf[h2] = 7;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 5) {
if (bst[bsn] == 0) {
maxbuster.start();
bd[h2] = 0;
bst[bsn] = 3;
bsd[bsn] = 1;
bsf[bsn] = 5;
bsx[bsn] = bx[h2] + 10;
bsy[bsn] = by[h2] - 55;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 7) {
bf[h2] = 77;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 5) {
if (bst[bsn] == 0) {
maxbuster.start();
bd[h2] = 1;
bst[bsn] = 3;
bsd[bsn] = 7;
bsf[bsn] = 11;
bsx[bsn] = bx[h2] - 10;
bsy[bsn] = by[h2] - 55;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 8) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 8;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 9;
}
if (bs[h2] > 6) {
bf[h2] = 10;
}
if ((((((bs[h2] > 6) and (bx[h2] < px)) and ((bx[h2] + 67) > px)) and (by[h2] > (py - 24))) and ((by[h2] - 60) < py)) and (i < 1)) {
melee.start();
pl = pl - 22;
i = 15;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 9) {
bd[h2] = 0;
}
}
if (bd[h2] == 9) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 78;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 79;
}
if (bs[h2] > 6) {
bf[h2] = 80;
}
if ((((((bs[h2] > 6) and ((bx[h2] - 67) < px)) and (bx[h2] > px)) and (by[h2] > (py - 24))) and ((by[h2] - 60) < py)) and (i < 1)) {
melee.start();
pl = pl - 22;
i = 15;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 9) {
bd[h2] = 1;
}
}
bossed();
}
bhits();
if ((((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) and (bd[h2] < 90)) {
if (((((px - 20) < (bx[h2] + 14)) and ((px + 20) > (bx[h2] - 14))) and (py > (by[h2] - 50))) and ((py - 24) < by[h2])) {
melee.start();
pl = pl - 8;
i = 20;
}
}
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if ((((bsx[h1] > 320) or (bsx[h1] < -20)) or (bsy[h1] > 20)) or (bsy[h1] < -170)) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 1) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 8;
bsf[h1] = 2;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 8;
bsf[h1] = 3;
}
bsy[h1] = bsy[h1] + 1;
if ((((((bsx[h1] + 3) > (px - 12)) and ((bsx[h1] - 3) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 8;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 3) {
bsf[h1] = bsd[h1] + 4;
if (bsd[h1] == 0) {
bsy[h1] = bsy[h1] - 6;
}
if (bsd[h1] == 1) {
bsy[h1] = bsy[h1] - 5;
bsx[h1] = bsx[h1] + 5;
}
if (bsd[h1] == 2) {
bsx[h1] = bsx[h1] + 6;
}
if (bsd[h1] == 3) {
bsy[h1] = bsy[h1] + 5;
bsx[h1] = bsx[h1] + 5;
}
if (bsd[h1] == 4) {
bsy[h1] = bsy[h1] + 6;
}
if (bsd[h1] == 5) {
bsy[h1] = bsy[h1] + 5;
bsx[h1] = bsx[h1] - 5;
}
if (bsd[h1] == 6) {
bsx[h1] = bsx[h1] - 6;
}
if (bsd[h1] == 7) {
bsy[h1] = bsy[h1] - 5;
bsx[h1] = bsx[h1] - 5;
}
if ((bsx[h1] < 10) and (((bsd[h1] == 5) or (bsd[h1] == 6)) or (bsd[h1] == 7))) {
h3 = random(3);
if (h3 == 0) {
jump.start();
bsd[h1] = 1;
}
if (h3 == 1) {
jump.start();
bsd[h1] = 2;
}
if (h3 == 2) {
jump.start();
bsd[h1] = 3;
}
h3 = random(9);
if (h3 == 0) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if ((bsx[h1] > 290) and (((bsd[h1] == 1) or (bsd[h1] == 2)) or (bsd[h1] == 3))) {
h3 = random(3);
if (h3 == 0) {
jump.start();
bsd[h1] = 5;
}
if (h3 == 1) {
jump.start();
bsd[h1] = 6;
}
if (h3 == 2) {
jump.start();
bsd[h1] = 7;
}
h3 = random(9);
if (h3 == 0) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if ((bsy[h1] < -140) and (((bsd[h1] == 0) or (bsd[h1] == 1)) or (bsd[h1] == 7))) {
h3 = random(3);
if (h3 == 0) {
jump.start();
bsd[h1] = 3;
}
if (h3 == 1) {
jump.start();
bsd[h1] = 4;
}
if (h3 == 2) {
jump.start();
bsd[h1] = 5;
}
h3 = random(9);
if (h3 == 0) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if ((bsy[h1] > -10) and (((bsd[h1] == 3) or (bsd[h1] == 4)) or (bsd[h1] == 5))) {
h3 = random(3);
if (h3 == 0) {
jump.start();
bsd[h1] = 0;
}
if (h3 == 1) {
jump.start();
bsd[h1] = 1;
}
if (h3 == 2) {
jump.start();
bsd[h1] = 7;
}
h3 = random(9);
if (h3 == 0) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if ((((((bsx[h1] + 3) > (px - 12)) and ((bsx[h1] - 3) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 8;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
h4 = 0;
if (bx[h2] > 250) {
bx[h2] = 250;
}
if (bx[h2] < 50) {
bx[h2] = 50;
}
if (by[h2] > -20) {
by[h2] = -20;
if ((bd[h2] == 2) or (bd[h2] == 3)) {
if (px < bx[h2]) {
bd[h2] = 1;
}
if (px >= bx[h2]) {
bd[h2] = 0;
}
}
}
if (((bd[h2] == 2) or (bd[h2] == 3)) and (bj[h2] > -1)) {
by[h2] = by[h2] + 12;
}
}
Frame 2853
function boss8() {
h2 = 1;
if (bt[h2] > 0) {
if (bt[h2] == 58) {
if (bd[h2] == 0) {
bf[h2] = 2;
if (px < bx[h2]) {
bd[h2] = 1;
}
h3 = random(150 + dif);
if (h3 < 14) {
bd[h2] = 2;
bs[h2] = 1;
}
if ((h3 > 20) and (h3 < 30)) {
bd[h2] = 4;
bs[h2] = 1;
}
if ((h3 > 35) and (h3 < 44)) {
teleportsfx.start();
bd[h2] = 6;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
bf[h2] = 72;
if (px > bx[h2]) {
bd[h2] = 0;
}
h3 = random(150 + dif);
if (h3 < 14) {
bd[h2] = 3;
bs[h2] = 1;
}
if ((h3 > 20) and (h3 < 30)) {
bd[h2] = 5;
bs[h2] = 1;
}
if ((h3 > 35) and (h3 < 44)) {
teleportsfx.start();
bd[h2] = 7;
bs[h2] = 1;
}
}
if (bd[h2] == 2) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 3;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 4;
}
if ((bs[h2] > 6) and (bs[h2] < 10)) {
bf[h2] = 5;
}
if (bs[h2] > 9) {
bf[h2] = 6;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 15) {
bs[h2] = 7;
h3 = random(10);
if ((h3 > 4) or (px < bx[h2])) {
bd[h2] = 0;
}
if (bst[bsn] == 0) {
laser.start();
bst[bsn] = 3;
bsd[bsn] = 8 + random(2);
bsf[bsn] = 3;
bsx[bsn] = bx[h2] + 40;
bsy[bsn] = by[h2] - 40;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 3) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 73;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 74;
}
if ((bs[h2] > 6) and (bs[h2] < 10)) {
bf[h2] = 75;
}
if (bs[h2] > 9) {
bf[h2] = 76;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 15) {
bs[h2] = 7;
h3 = random(10);
if ((h3 > 4) or (px > bx[h2])) {
bd[h2] = 1;
}
if (bst[bsn] == 0) {
laser.start();
bst[bsn] = 4;
bsd[bsn] = 8 + random(2);
bsf[bsn] = 3;
bsx[bsn] = bx[h2] - 35;
bsy[bsn] = by[h2] - 40;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 4) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 7;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 8;
}
if (bs[h2] > 4) {
bf[h2] = 9;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 6) {
bd[h2] = 0;
if (bst[bsn] == 0) {
boom3.start();
bst[bsn] = 5;
bsd[bsn] = 0;
bsf[bsn] = 5;
bsx[bsn] = bx[h2] + 20;
bsy[bsn] = by[h2];
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 5) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 77;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 78;
}
if (bs[h2] > 4) {
bf[h2] = 79;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 6) {
bd[h2] = 1;
if (bst[bsn] == 0) {
boom3.start();
bst[bsn] = 5;
bsd[bsn] = 0;
bsf[bsn] = 5;
bsx[bsn] = bx[h2] - 20;
bsy[bsn] = by[h2];
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 8) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 14;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 15;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 16;
}
if (bs[h2] > 6) {
bf[h2] = 17;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 10) {
bd[h2] = 10;
}
}
if (bd[h2] == 9) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 84;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 85;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 86;
}
if (bs[h2] > 6) {
bf[h2] = 87;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 10) {
bd[h2] = 11;
}
}
if (bd[h2] == 6) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 10;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 11;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 12;
}
if (bs[h2] > 6) {
bf[h2] = 13;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 10) {
bd[h2] = 8;
bs[h2] = 1;
bx[h2] = px;
by[h2] = py;
}
}
if (bd[h2] == 7) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 80;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 81;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 82;
}
if (bs[h2] > 6) {
bf[h2] = 83;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 10) {
bd[h2] = 9;
bs[h2] = 1;
bx[h2] = px;
by[h2] = py;
}
}
if (bd[h2] == 10) {
bf[h2] = 18;
}
if (bd[h2] == 11) {
bf[h2] = 88;
}
bossed();
}
if ((bd[h2] < 6) or (bd[h2] > 9)) {
bhits();
}
if (((((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) and (bd[h2] < 90)) and ((bd[h2] < 6) or (bd[h2] > 9))) {
if (((((px - 20) < (bx[h2] + 8)) and ((px + 20) > (bx[h2] - 8))) and (py > (by[h2] - 56))) and ((py - 18) < by[h2])) {
melee.start();
pl = pl - 10;
i = 20;
}
}
}
h3 = random(10);
if (((bst[bsn] == 0) and (pace == 5)) and (h3 < 6)) {
bst[bsn] = 1;
bsf[bsn] = 2;
bsx[bsn] = random(380) + 10;
bsy[bsn] = -210;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if ((((bsx[h1] > 420) or (bsx[h1] < -20)) or (bsy[h1] > 10)) or (bsy[h1] < -220)) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 1) {
bsy[h1] = bsy[h1] + 8;
bsf[h1] = 2;
if ((((((bsx[h1] + 3) > (px - 12)) and ((bsx[h1] - 3) < (px + 12))) and ((bsy[h1] + 5) > (py - 26))) and ((bsy[h1] - 5) < (py - 2))) and (i < 1)) {
melee.start();
wenergy = wenergy - 10;
if (wenergy < 1) {
wenergy = 1;
}
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 3) {
bsf[h1] = 3;
bsx[h1] = (bsx[h1] + (2 * h1)) - 1;
bsy[h1] = bsy[h1] + bsd[h1];
if (bsd[h1] > -11) {
bsd[h1] = bsd[h1] - 1;
}
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 5) > (py - 26))) and ((bsy[h1] - 5) < (py - 2))) and (i < 1)) {
deflect.start();
i = 15;
pl = pl - 8;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 4) {
bsf[h1] = 4;
bsx[h1] = (bsx[h1] - (2 * h1)) + 1;
bsy[h1] = bsy[h1] + bsd[h1];
if (bsd[h1] > -11) {
bsd[h1] = bsd[h1] - 1;
}
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 5) > (py - 26))) and ((bsy[h1] - 5) < (py - 2))) and (i < 1)) {
deflect.start();
i = 15;
pl = pl - 8;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 5) {
bsf[h1] = 5;
if (px < bsx[h1]) {
bsx[h1] = bsx[h1] - (pace / 2);
}
if (px > bsx[h1]) {
bsx[h1] = bsx[h1] + (pace / 2);
}
if (((((bsx[h1] + 8) > (px - 12)) and ((bsx[h1] - 8) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 3) < (py - 2))) {
pl = pl - 2;
}
bsd[h1] = bsd[h1] + 1;
if (bsd[h1] > 30) {
deflect.start();
bst[h1] = 6;
bsd[h1] = 1;
}
}
if (bst[h1] == 6) {
bsf[h1] = 6;
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 64) < (py - 2))) and (i < 1)) {
pl = pl - 4;
}
bsd[h1] = bsd[h1] + 1;
if (bsd[h1] > 12) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
if (bx[h2] > 350) {
bx[h2] = 350;
}
if (bx[h2] < 50) {
bx[h2] = 50;
}
if (by[h2] > -40) {
by[h2] = -40;
if ((bd[h2] > 9) and (bd[h2] < 12)) {
if (px < bx[h2]) {
bd[h2] = 1;
}
if (px >= bx[h2]) {
bd[h2] = 0;
}
}
}
if ((bd[h2] == 10) or (bd[h2] == 11)) {
by[h2] = by[h2] + 10;
}
}
Frame 2854
function boss9() {
h2 = 1;
if (bt[h2] > 0) {
if (bt[h2] == 61) {
if (bd[h2] == 0) {
bf[h2] = 2;
h3 = random(150 + dif);
if (h3 < 8) {
bd[h2] = 2;
bs[h2] = 1;
}
if ((h3 > 19) and (h3 < 30)) {
bd[h2] = 6;
bs[h2] = 1;
}
if ((h3 > 30) and (h3 < 40)) {
bd[h2] = 8;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
bf[h2] = 72;
h3 = random(150 + dif);
if (h3 < 8) {
bd[h2] = 3;
bs[h2] = 1;
}
if ((h3 > 19) and (h3 < 30)) {
bd[h2] = 7;
bs[h2] = 1;
}
if ((h3 > 30) and (h3 < 40)) {
bd[h2] = 9;
bs[h2] = 1;
}
}
if (bd[h2] == 2) {
bf[h2] = 3;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 15) {
bd[h2] = 4;
}
}
if (bd[h2] == 3) {
bf[h2] = 73;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 15) {
bd[h2] = 5;
}
}
if (bd[h2] == 4) {
bf[h2] = 3;
bx[h2] = bx[h2] + 7;
if (bx[h2] > 310) {
bx[h2] = 310;
bd[h2] = 1;
}
}
if (bd[h2] == 5) {
bf[h2] = 73;
bx[h2] = bx[h2] - 7;
if (bx[h2] < 90) {
bx[h2] = 90;
bd[h2] = 0;
}
}
if (bd[h2] == 6) {
if ((bs[h2] > 0) and (bs[h2] < 8)) {
bf[h2] = 4;
}
if (bs[h2] > 7) {
bf[h2] = 5;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 11) {
bd[h2] = 0;
h3 = random(10);
if (h3 < 6) {
if (px < (bx[h2] + 80)) {
h3 = h3 + 3;
}
bd[h2] = 6;
bs[h2] = 3;
}
if (bst[bsn] == 0) {
boom2.start();
bst[bsn] = 3;
bsd[bsn] = (py + 70) / 15;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] + 50;
bsy[bsn] = by[h2] - 50;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 7) {
if ((bs[h2] > 0) and (bs[h2] < 8)) {
bf[h2] = 74;
}
if (bs[h2] > 7) {
bf[h2] = 75;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 11) {
bd[h2] = 1;
h3 = random(10);
if (px > (bx[h2] - 80)) {
h3 = h3 + 3;
}
if (h3 < 6) {
bd[h2] = 7;
bs[h2] = 3;
}
if (bst[bsn] == 0) {
boom2.start();
bst[bsn] = 4;
bsd[bsn] = (py + 70) / 15;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] - 50;
bsy[bsn] = by[h2] - 50;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 8) {
if ((bs[h2] > 0) and (bs[h2] < 5)) {
bf[h2] = 6;
}
if ((bs[h2] > 4) and (bs[h2] < 9)) {
bf[h2] = 7;
}
if (bs[h2] > 8) {
bf[h2] = 8;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 40) {
bd[h2] = 0;
}
if (((((bs[h2] == 10) or (bs[h2] == 16)) or (bs[h2] == 22)) or (bs[h2] == 28)) and (bst[bsn] == 0)) {
rocket.start();
bst[bsn] = 5;
bsd[bsn] = 0;
bsf[bsn] = 3;
if (bs[h2] == 10) {
bsx[bsn] = bx[h2] - 28;
}
if (bs[h2] == 16) {
bsx[bsn] = bx[h2] - 38;
}
if (bs[h2] == 22) {
bsx[bsn] = bx[h2] - 48;
}
if (bs[h2] == 28) {
bsx[bsn] = bx[h2] - 58;
}
bsy[bsn] = by[h2] - 60;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
if (bd[h2] == 9) {
if ((bs[h2] > 0) and (bs[h2] < 5)) {
bf[h2] = 76;
}
if ((bs[h2] > 4) and (bs[h2] < 9)) {
bf[h2] = 77;
}
if (bs[h2] > 8) {
bf[h2] = 78;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 40) {
bd[h2] = 1;
}
if (((((bs[h2] == 10) or (bs[h2] == 16)) or (bs[h2] == 22)) or (bs[h2] == 28)) and (bst[bsn] == 0)) {
rocket.start();
bst[bsn] = 5;
bsd[bsn] = 0;
bsf[bsn] = 3;
if (bs[h2] == 10) {
bsx[bsn] = bx[h2] + 28;
}
if (bs[h2] == 16) {
bsx[bsn] = bx[h2] + 38;
}
if (bs[h2] == 22) {
bsx[bsn] = bx[h2] + 48;
}
if (bs[h2] == 28) {
bsx[bsn] = bx[h2] + 58;
}
bsy[bsn] = by[h2] - 60;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
if (bd[h2] == 90) {
bf[h2] = 300 + bs[h2];
bl[1] = 250 + (200 - dif);
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 48) {
bd[h2] = 1;
bg[h2] = 0;
}
}
if (bd[h2] == 100) {
bf[h2] = 200 + bs[h2];
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 29) {
if (game == 1) {
gotoAndPlay (3087);
}
if (game == 2) {
gotoAndPlay (3363);
}
if (game == 3) {
gotoAndPlay (3534);
}
if (game == 4) {
gotoAndPlay (3665);
}
if ((game < 1) or (game > 4)) {
gotoAndPlay (2556);
}
}
}
}
bhits();
if ((((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) and (bd[h2] < 90)) {
if (((((px - 20) < (bx[h2] + 44)) and ((px + 20) > (bx[h2] - 44))) and (py > (by[h2] - 46))) and ((py - 18) < by[h2])) {
melee.start();
melee.start();
pl = pl - 20;
i = 20;
}
}
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if ((((bsx[h1] > 420) or (bsx[h1] < -20)) or (bsy[h1] > 20)) or (bsy[h1] < -250)) {
bst[h1] = 0;
bsf[h1] = 30;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 3) {
bsx[h1] = bsx[h1] + 8;
bsy[h1] = bsy[h1] + bsd[h1];
bsf[h1] = 2;
if ((((((bsx[h1] + 8) > (px - 12)) and ((bsx[h1] - 8) < (px + 12))) and ((bsy[h1] + 7) > (py - 26))) and ((bsy[h1] - 7) < (py - 2))) and (i < 1)) {
boom1.start();
i = 15;
pl = pl - 11;
if (wenergy > 4) {
wenergy = wenergy - 4;
}
bst[h1] = 0;
bsf[h1] = 30;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 4) {
bsx[h1] = bsx[h1] - 8;
bsy[h1] = bsy[h1] + bsd[h1];
bsf[h1] = 2;
if ((((((bsx[h1] + 8) > (px - 12)) and ((bsx[h1] - 8) < (px + 12))) and ((bsy[h1] + 7) > (py - 26))) and ((bsy[h1] - 7) < (py - 2))) and (i < 1)) {
boom1.start();
i = 15;
pl = pl - 11;
bst[h1] = 0;
bsf[h1] = 30;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 5) {
bsy[h1] = bsy[h1] - 10;
bsf[h1] = 3;
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 7) > (py - 26))) and ((bsy[h1] - 7) < (py - 2))) and (i < 1)) {
boom3.start();
i = 2;
pl = pl - 10;
bst[h1] = 7;
bsd[h1] = 1;
bsf[h1] = 5;
}
if (bsy[h1] < -220) {
bst[h1] = 6;
bsx[h1] = px;
bsy[h1] = -210;
}
}
if (bst[h1] == 6) {
bsy[h1] = bsy[h1] + 8;
bsf[h1] = 4;
if (bsy[h1] > -40) {
boom3.start();
bst[h1] = 7;
bsy[h1] = -50;
bsd[h1] = 1;
bsf[h1] = 5;
}
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 8) > (py - 26))) and ((bsy[h1] - 8) < (py - 2))) and (i < 1)) {
boom3.start();
i = 2;
pl = pl - 10;
bst[h1] = 7;
bsd[h1] = 1;
bsf[h1] = 5;
}
}
if (bst[h1] == 7) {
bsf[h1] = bsd[h1] + 4;
bsd[h1] = bsd[h1] + 1;
if (bsd[h1] > 13) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if ((((((bsx[h1] + 25) > (px - 12)) and ((bsx[h1] - 25) < (px + 12))) and ((bsy[h1] + 25) > (py - 26))) and ((bsy[h1] - 25) < (py - 2))) and (i < 1)) {
i = 2;
pl = pl - 5;
if (wenergy > 2) {
wenergy = wenergy - 2;
}
}
}
}
h1++;
}
}
Frame 2855
function boss10() {
h2 = 1;
if (bt[h2] > 0) {
if (bt[h2] == 62) {
if (bd[h2] == 0) {
bf[h2] = 2;
h3 = random(150 + dif);
if (h3 < 10) {
bd[h2] = 1;
bs[h2] = 1;
}
if ((h3 > 9) and (h3 < 20)) {
bd[h2] = 2;
bs[h2] = 1;
}
if ((h3 > 19) and (h3 < 30)) {
bd[h2] = 3;
bs[h2] = 1;
}
if ((h3 > 29) and (h3 < 40)) {
bd[h2] = 4;
bs[h2] = 1;
}
if ((h3 > 69) and (h3 < 80)) {
bd[h2] = 5;
bs[h2] = 1;
}
if ((h3 > 99) and (h3 < 112)) {
bd[h2] = 7;
bs[h2] = 1;
}
if ((((h3 > 110) and (h3 < 125)) and (px > 60)) and (px < 140)) {
bd[h2] = 3;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
if ((bs[h2] > 0) and (bs[h2] < 5)) {
bf[h2] = 3;
}
if ((bs[h2] > 4) and (bs[h2] < 9)) {
bf[h2] = 4;
}
if ((bs[h2] > 8) and (bs[h2] < 20)) {
bf[h2] = 5;
}
if ((bs[h2] > 19) and (bs[h2] < 24)) {
bf[h2] = 4;
}
if (bs[h2] > 23) {
bf[h2] = 3;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 24) {
bd[h2] = 0;
}
if (bs[h2] == 12) {
boom2.start();
h3 = 1;
while (h3 < 5) {
if (bst[bsn] == 0) {
bst[bsn] = 3;
bsf[bsn] = 3;
if (h3 == 1) {
bsx[bsn] = bx[h2] - 65;
bsy[bsn] = by[h2] - 75;
}
if (h3 == 2) {
bsx[bsn] = bx[h2] + 65;
bsy[bsn] = by[h2] - 75;
}
if (h3 == 3) {
bsx[bsn] = bx[h2] - 35;
bsy[bsn] = by[h2] - 115;
}
if (h3 == 4) {
bsx[bsn] = bx[h2] + 35;
bsy[bsn] = by[h2] - 115;
}
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
h3++;
}
}
}
if (bd[h2] == 2) {
if ((bs[h2] > 0) and (bs[h2] < 5)) {
bf[h2] = 6;
}
if ((bs[h2] > 4) and (bs[h2] < 9)) {
bf[h2] = 7;
}
if ((bs[h2] > 8) and (bs[h2] < 20)) {
bf[h2] = 8;
}
if ((bs[h2] > 19) and (bs[h2] < 24)) {
bf[h2] = 7;
}
if (bs[h2] > 23) {
bf[h2] = 6;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 24) {
bd[h2] = 0;
}
if (bs[h2] == 12) {
lightning.start();
h3 = 1;
while (h3 < 5) {
if (bst[bsn] == 0) {
bst[bsn] = 4;
bsd[bsn] = 1;
bsf[bsn] = 4;
if (h3 == 1) {
bsx[bsn] = bx[h2] - 65;
bsy[bsn] = by[h2] - 75;
}
if (h3 == 2) {
bsx[bsn] = bx[h2] + 65;
bsy[bsn] = by[h2] - 75;
}
if (h3 == 3) {
bsx[bsn] = bx[h2] - 35;
bsy[bsn] = by[h2] - 115;
}
if (h3 == 4) {
bsx[bsn] = bx[h2] + 35;
bsy[bsn] = by[h2] - 115;
}
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
h3++;
}
}
}
if (bd[h2] == 3) {
if ((bs[h2] > 0) and (bs[h2] < 5)) {
bf[h2] = 9;
}
if ((bs[h2] > 4) and (bs[h2] < 9)) {
bf[h2] = 10;
}
if ((bs[h2] > 8) and (bs[h2] < 26)) {
bf[h2] = 11;
}
if ((bs[h2] > 25) and (bs[h2] < 30)) {
bf[h2] = 10;
}
if (bs[h2] > 29) {
bf[h2] = 9;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 30) {
bd[h2] = 0;
}
if (bs[h2] == 17) {
h3 = 1;
while (h3 < 5) {
if (h3 == 1) {
bsx[h3] = bx[h2] - 65;
bsy[h3] = by[h2] - 75;
bsd[h3] = ((bsx[h3] - 65) - px) / 25;
}
if (h3 == 2) {
bsx[h3] = bx[h2] + 65;
bsy[h3] = by[h2] - 75;
bsd[h3] = ((bsx[h3] + 65) - px) / 25;
}
if (h3 == 3) {
bsx[h3] = bx[h2] - 35;
bsy[h3] = by[h2] - 115;
bsd[h3] = ((bsx[h3] - 35) - px) / 25;
}
if (h3 == 4) {
bsx[h3] = bx[h2] + 35;
bsy[h3] = by[h2] - 115;
bsd[h3] = ((bsx[h3] + 35) - px) / 25;
}
h3++;
}
}
if (bs[h2] == 20) {
boom2.start();
h3 = 1;
while (h3 < 5) {
bst[h3] = 1;
bsf[h3] = 2;
h3++;
}
}
}
if (bd[h2] == 4) {
if ((bs[h2] > 0) and (bs[h2] < 5)) {
bf[h2] = 12;
}
if ((bs[h2] > 4) and (bs[h2] < 9)) {
bf[h2] = 13;
}
if ((bs[h2] > 8) and (bs[h2] < 20)) {
bf[h2] = 14;
}
if ((bs[h2] > 19) and (bs[h2] < 24)) {
bf[h2] = 13;
}
if (bs[h2] > 23) {
bf[h2] = 12;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 24) {
bd[h2] = 0;
}
if (bs[h2] == 12) {
teleportsfx.start();
h3 = 1;
while (h3 < 5) {
if (bst[bsn] == 0) {
bst[bsn] = 5;
bsd[bsn] = 1;
bsf[bsn] = 5;
if (h3 == 1) {
bsx[bsn] = bx[h2] - 65;
bsy[bsn] = by[h2] - 75;
}
if (h3 == 2) {
bsx[bsn] = bx[h2] + 65;
bsy[bsn] = by[h2] - 75;
}
if (h3 == 3) {
bsx[bsn] = bx[h2] - 35;
bsy[bsn] = by[h2] - 115;
}
if (h3 == 4) {
bsx[bsn] = bx[h2] + 35;
bsy[bsn] = by[h2] - 115;
}
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
h3++;
}
}
}
if (bd[h2] == 5) {
bf[h2] = 2;
if (px < bx[2]) {
bx[2] = bx[2] - 2;
}
if (px > bx[2]) {
bx[2] = bx[2] + 2;
}
if (py < by[2]) {
by[2] = by[2] - 1;
}
if (py > by[2]) {
by[2] = by[2] + 2;
}
if ((bl[h2] > 0) and (i < 1)) {
if (((((px - 20) < (bx[2] + 8)) and ((px + 20) > (bx[2] - 8))) and (py > (by[2] - 8))) and ((py - 18) < (by[2] + 12))) {
melee.start();
pl = pl - 20;
if (wenergy > 10) {
wenergy = wenergy - 10;
}
i = 15;
}
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 16) {
bd[h2] = 6;
bs[h2] = 1;
}
}
if (bd[h2] == 6) {
bf[h2] = 2;
if (100 < bx[2]) {
bx[2] = bx[2] - 2;
}
if (100 > bx[2]) {
bx[2] = bx[2] + 2;
}
if (-80 < by[2]) {
by[2] = by[2] - 2;
}
if (-80 > by[2]) {
by[2] = by[2] + 1;
}
if ((bl[h2] > 0) and (i < 1)) {
if (((((px - 20) < (bx[2] + 8)) and ((px + 20) > (bx[2] - 8))) and (py > (by[2] - 8))) and ((py - 18) < (by[2] + 12))) {
melee.start();
pl = pl - 20;
if (wenergy > 10) {
wenergy = wenergy - 10;
}
i = 15;
}
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 16) {
bx[2] = 100;
by[2] = -80;
bd[h2] = 0;
}
}
if (bd[h2] == 7) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 15;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 16;
}
if ((bs[h2] > 6) and (bs[h2] < 10)) {
bf[h2] = 17;
}
if ((bs[h2] > 9) and (bs[h2] < 13)) {
bf[h2] = 18;
}
if ((bs[h2] > 12) and (bs[h2] < 16)) {
bf[h2] = 19;
}
if ((bs[h2] > 15) and (bs[h2] < 50)) {
bf[h2] = 20;
}
if ((bs[h2] > 49) and (bs[h2] < 54)) {
bf[h2] = 18;
}
if ((bs[h2] > 53) and (bs[h2] < 57)) {
bf[h2] = 16;
}
if (bs[h2] > 56) {
bf[h2] = 15;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 58) {
bd[h2] = 0;
}
}
if (bd[h2] == 90) {
bf[h2] = 300 + bs[h2];
bl[1] = 250 + (200 - dif);
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 48) {
bd[h2] = 1;
bg[h2] = 0;
}
}
if (bd[h2] == 100) {
bf[h2] = 200 + bs[h2];
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 29) {
if (game == 1) {
gotoAndPlay (3092);
}
if (game == 2) {
gotoAndPlay (3380);
}
if (game == 3) {
gotoAndPlay (3536);
}
if (game == 4) {
gotoAndPlay (3667);
}
if ((game < 1) or (game > 4)) {
gotoAndPlay (2556);
}
}
}
}
if (((bd[h2] == 7) and (bs[h2] > 15)) and (bs[h2] < 54)) {
bhits();
}
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if ((((bsx[h1] > 220) or (bsx[h1] < -20)) or (bsy[h1] > 20)) or (bsy[h1] < -180)) {
bst[h1] = 0;
bsf[h1] = 30;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 1) {
bsy[h1] = bsy[h1] + 5;
bsx[h1] = bsx[h1] - bsd[h1];
bsf[h1] = 2;
if ((((((bsx[h1] + 3) > (px - 12)) and ((bsx[h1] - 3) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
boom1.start();
i = 15;
pl = pl - 14;
bst[h1] = 0;
bsf[h1] = 30;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 3) {
bsy[h1] = bsy[h1] + 6;
if (px < bsx[h1]) {
bsx[h1] = bsx[h1] - random(2);
}
if (px > bsx[h1]) {
bsx[h1] = bsx[h1] + random(2);
}
bsf[h1] = 3;
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 6) > (py - 26))) and ((bsy[h1] - 6) < (py - 2))) and (i < 1)) {
shothit.start();
i = 15;
pl = pl - 10;
if (wenergy > 5) {
wenergy = wenergy - 5;
}
bst[h1] = 0;
bsf[h1] = 6;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 4) {
if (px < bsx[h1]) {
bsx[h1] = bsx[h1] - 2;
}
if (px > bsx[h1]) {
bsx[h1] = bsx[h1] + 2;
}
if ((py - 10) < bsy[h1]) {
bsy[h1] = bsy[h1] - 2;
}
if ((py - 10) > bsy[h1]) {
bsy[h1] = bsy[h1] + 2;
}
bsf[h1] = 4;
bsd[h1] = bsd[h1] + 1;
if (bsd[h1] > 20) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 5) > (py - 26))) and ((bsy[h1] - 5) < (py - 2))) and (i < 1)) {
pl = pl - 6;
}
}
if (bst[h1] == 5) {
bsf[h1] = 5;
bsd[h1] = bsd[h1] + 1;
if (bsd[h1] > 15) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if ((((((bsx[h1] + 30) > (px - 12)) and ((bsx[h1] - 30) < (px + 12))) and ((bsy[h1] + 30) > (py - 26))) and ((bsy[h1] - 30) < (py - 2))) and (i < 1)) {
pl = pl - 4;
}
}
}
h1++;
}
}
Frame 2856
function boss11() {
h2 = 1;
if (bt[h2] > 0) {
if (bt[h2] == 64) {
if (bd[h2] == 0) {
bf[h2] = 2;
if (px < bx[h2]) {
bd[h2] = 1;
}
h3 = random(100 + dif);
if (h3 < 10) {
bd[h2] = 2;
bs[h2] = 1;
}
if (((h3 > 9) and (h3 < 20)) and (px > (bx[h2] + 60))) {
bd[h2] = 4;
bs[h2] = 1;
}
if ((h3 > 20) and (h3 < 29)) {
bd[h2] = 6;
bs[h2] = 1;
}
if ((h3 > 30) and (h3 < 37)) {
bd[h2] = 8;
bj[h2] = -10 - random(5);
}
if ((h3 > 40) and (h3 < 47)) {
bd[h2] = 10;
bs[h2] = 1;
}
if (((h3 > 50) and (h3 < 65)) and (px < (bx[h2] + 60))) {
bd[h2] = 14;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
bf[h2] = 72;
if (px > bx[h2]) {
bd[h2] = 0;
}
h3 = random(100 + dif);
if (h3 < 10) {
bd[h2] = 3;
bs[h2] = 1;
}
if (((h3 > 9) and (h3 < 20)) and (px < (bx[h2] - 60))) {
bd[h2] = 5;
bs[h2] = 1;
}
if ((h3 > 20) and (h3 < 29)) {
bd[h2] = 7;
bs[h2] = 1;
}
if ((h3 > 30) and (h3 < 37)) {
bd[h2] = 9;
bj[h2] = -10 - random(5);
}
if ((h3 > 40) and (h3 < 47)) {
bd[h2] = 11;
bs[h2] = 1;
}
if (((h3 > 50) and (h3 < 65)) and (px > (bx[h2] - 60))) {
bd[h2] = 15;
bs[h2] = 1;
}
}
if (bd[h2] == 2) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 3;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 4;
}
if (bs[h2] > 6) {
bf[h2] = 5;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 9) {
if (bst[bsn] == 0) {
boom3.start();
lightning.start();
bd[h2] = 0;
bst[bsn] = 3;
bsd[bsn] = 0;
bsf[bsn] = 4;
bsx[bsn] = bx[h2] + 30;
bsy[bsn] = by[h2] - 43;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 3) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 73;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 74;
}
if (bs[h2] > 6) {
bf[h2] = 75;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 9) {
if (bst[bsn] == 0) {
boom3.start();
lightning.start();
bd[h2] = 1;
bst[bsn] = 3;
bsd[bsn] = 1;
bsf[bsn] = 5;
bsx[bsn] = bx[h2] - 30;
bsy[bsn] = by[h2] - 43;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 4) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 6;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 7;
}
if (bs[h2] > 6) {
bf[h2] = 8;
}
bs[h2] = bs[h2] + 1;
if ((((bs[h2] == 8) or (bs[h2] == 12)) or (bs[h2] == 16)) or (bs[h2] == 20)) {
if (bst[bsn] == 0) {
shothit.start();
bst[bsn] = 1;
bsd[bsn] = 0;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] + 40;
bsy[bsn] = by[h2] - 44;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
if (bs[h2] > 25) {
bd[h2] = 0;
}
}
if (bd[h2] == 5) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 76;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 77;
}
if (bs[h2] > 6) {
bf[h2] = 78;
}
bs[h2] = bs[h2] + 1;
if ((((bs[h2] == 8) or (bs[h2] == 12)) or (bs[h2] == 16)) or (bs[h2] == 20)) {
if (bst[bsn] == 0) {
shothit.start();
bst[bsn] = 1;
bsd[bsn] = 1;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] - 40;
bsy[bsn] = by[h2] - 44;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
if (bs[h2] > 25) {
bd[h2] = 1;
}
}
if (bd[h2] == 6) {
if ((bs[h2] > 0) and (bs[h2] < 6)) {
bf[h2] = 9;
bx[h2] = bx[h2] + 1;
}
if (bs[h2] > 5) {
bf[h2] = 10;
bx[h2] = bx[h2] + 6;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 20) {
bd[h2] = 0;
}
}
if (bd[h2] == 7) {
if ((bs[h2] > 0) and (bs[h2] < 6)) {
bf[h2] = 79;
bx[h2] = bx[h2] - 1;
}
if (bs[h2] > 5) {
bf[h2] = 80;
bx[h2] = bx[h2] - 6;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 20) {
bd[h2] = 1;
}
}
if ((bd[h2] == 8) or (bd[h2] == 9)) {
if (bd[h2] == 8) {
if (bj[h2] < 0) {
bf[h2] = 11;
}
if (bj[h2] >= 0) {
bf[h2] = 12;
}
bx[h2] = bx[h2] + 8;
}
if (bd[h2] == 9) {
if (bj[h2] < 0) {
bf[h2] = 81;
}
if (bj[h2] >= 0) {
bf[h2] = 82;
}
bx[h2] = bx[h2] - 8;
}
by[h2] = by[h2] + bj[h2];
if (bj[h2] < 0) {
bj[h2] = bj[h2] + 1;
}
}
if (bd[h2] == 10) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 13;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 14;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 15;
}
if (bs[h2] > 6) {
bf[h2] = 16;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] == 10) {
lightning.start();
lightning.start();
h3 = 1;
while (h3 < 5) {
if (bst[bsn] == 0) {
bst[bsn] = 5 + random(2);
bsd[bsn] = -4 - random(4);
bsf[bsn] = 11;
bsx[bsn] = bx[h2];
bsy[bsn] = by[h2] - 80;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
h3++;
}
}
if (bs[h2] > 14) {
bd[h2] = 0;
}
}
if (bd[h2] == 11) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 83;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 84;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 85;
}
if (bs[h2] > 6) {
bf[h2] = 86;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] == 10) {
lightning.start();
lightning.start();
h3 = 1;
while (h3 < 5) {
if (bst[bsn] == 0) {
bst[bsn] = 5 + random(2);
bsd[bsn] = -4 - random(4);
bsf[bsn] = 11;
bsx[bsn] = bx[h2];
bsy[bsn] = by[h2] - 80;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
h3++;
}
}
if (bs[h2] > 14) {
bd[h2] = 1;
}
}
if (bd[h2] == 12) {
bf[h2] = 23 + bs[h2];
bs[h2] = bs[h2] + 1;
if (bs[h2] > 6) {
h3 = random(16);
if (h3 < 10) {
bd[h2] = 2;
bs[h2] = 1;
}
if (h3 > 9) {
bd[h2] = 0;
}
}
}
if (bd[h2] == 13) {
bf[h2] = 93 + bs[h2];
bs[h2] = bs[h2] + 1;
if (bs[h2] > 6) {
h3 = random(16);
if (h3 < 10) {
bd[h2] = 3;
bs[h2] = 1;
}
if (h3 > 9) {
bd[h2] = 1;
}
}
}
if (bd[h2] == 14) {
bf[h2] = 16 + bs[h2];
bs[h2] = bs[h2] + 1;
if (bs[h2] > 6) {
bs[h2] = 1;
if (px < 150) {
bd[h2] = 13;
bx[h2] = 260;
}
if (px > 149) {
bd[h2] = 12;
bx[h2] = 40;
}
}
}
if (bd[h2] == 15) {
bf[h2] = 86 + bs[h2];
bs[h2] = bs[h2] + 1;
if (bs[h2] > 6) {
bs[h2] = 1;
if (px < 150) {
bd[h2] = 13;
bx[h2] = 260;
}
if (px > 149) {
bd[h2] = 12;
bx[h2] = 40;
}
}
}
if (bd[h2] == 90) {
bf[h2] = 300 + bs[h2];
bl[1] = 250 + (200 - dif);
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 49) {
bd[h2] = 0;
bg[h2] = 0;
}
}
if (bd[h2] == 100) {
bf[h2] = 200 + bs[h2];
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 49) {
if (game == 1) {
gotoAndPlay (3098);
}
if (game == 2) {
gotoAndPlay (3382);
}
if (game == 3) {
gotoAndPlay (3547);
}
if (game == 4) {
gotoAndPlay (3672);
}
if ((game < 1) or (game > 4)) {
gotoAndPlay (2556);
}
}
}
}
bhits();
if ((((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) and (bd[h2] < 90)) {
if (((((px - 20) < (bx[h2] + 6)) and ((px + 20) > (bx[h2] - 6))) and (py > (by[h2] - 68))) and ((py - 24) < by[h2])) {
melee.start();
pl = pl - 12;
i = 20;
}
}
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if ((((bsx[h1] > 320) or (bsx[h1] < -20)) or (bsy[h1] > 20)) or (bsy[h1] < -170)) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 1) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 9;
bsf[h1] = 2;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 9;
bsf[h1] = 3;
}
if (((h1 == 1) or (h1 == 3)) or (h1 == 5)) {
bsy[h1] = bsy[h1] + 3;
}
if (((h1 == 2) or (h1 == 4)) or (h1 == 6)) {
bsy[h1] = bsy[h1] - 3;
}
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 4) > (py - 26))) and ((bsy[h1] - 4) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 8;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 3) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 7;
bsf[h1] = 4;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 7;
bsf[h1] = 5;
}
bsy[h1] = bsy[h1] + random(2);
if ((bsx[h1] > 280) or (bsx[h1] < 20)) {
boom3.start();
boom3.start();
bst[h1] = 4;
bsd[h1] = 1;
}
if ((((((bsx[h1] + 22) > (px - 12)) and ((bsx[h1] - 22) < (px + 12))) and ((bsy[h1] + 17) > (py - 20))) and ((bsy[h1] - 17) < (py - 2))) and (i < 1)) {
pl = pl - 10;
boom3.start();
boom3.start();
bst[h1] = 4;
bsd[h1] = 1;
}
}
if (bst[h1] == 4) {
bsf[h1] = 5 + bsd[h1];
bsd[h1] = bsd[h1] + 1;
if (bsd[h1] > 5) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if ((((((bsx[h1] + 28) > (px - 12)) and ((bsx[h1] - 28) < (px + 12))) and ((bsy[h1] + 28) > (py - 26))) and ((bsy[h1] - 28) < (py - 2))) and (i < 1)) {
pl = pl - 4;
}
}
if ((bst[h1] == 5) or (bst[h1] == 6)) {
bsf[h1] = 11;
if (bst[h1] == 5) {
bsx[h1] = (bsx[h1] - 1) + (2 * h1);
if (bsx[h1] > 280) {
bst[h1] = 6;
}
}
if (bst[h1] == 6) {
bsx[h1] = (bsx[h1] + 1) - (2 * h1);
if (bsx[h1] < 20) {
bst[h1] = 5;
}
}
bsy[h1] = bsy[h1] + bsd[h1];
if (bsd[h1] < 5) {
bsd[h1] = bsd[h1] + 1;
}
if (bsy[h1] > -20) {
deflect.start();
bst[h1] = 7;
}
if ((((((bsx[h1] + 4) > (px - 12)) and ((bsx[h1] - 4) < (px + 12))) and ((bsy[h1] + 4) > (py - 26))) and ((bsy[h1] - 4) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 7;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 7) {
bsf[h1] = 11;
bsy[h1] = bsy[h1] - 7;
if ((((((bsx[h1] + 4) > (px - 12)) and ((bsx[h1] - 4) < (px + 12))) and ((bsy[h1] + 4) > (py - 26))) and ((bsy[h1] - 4) < (py - 2))) and (i < 1)) {
i = 15;
pl = pl - 7;
py = py - 7;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
if (bx[h2] > 250) {
bx[h2] = 250;
}
if (bx[h2] < 50) {
bx[h2] = 50;
}
if (by[h2] > -20) {
by[h2] = -20;
if ((bd[h2] == 8) or (bd[h2] == 9)) {
boom1.start();
if (px < bx[h2]) {
bd[h2] = 1;
}
if (px >= bx[h2]) {
bd[h2] = 0;
}
}
}
if ((bj[h2] > -1) and ((bd[h2] == 8) or (bd[h2] == 9))) {
by[h2] = by[h2] + 12;
}
}
Frame 2857
function boss12() {
h2 = 1;
if (bt[h2] > 0) {
if (bt[h2] == 63) {
if (bd[h2] == 0) {
bf[h2] = 2;
h3 = random(60 + dif);
if (h3 < 10) {
bd[h2] = 1;
bs[h2] = 1;
}
if (((h3 > 9) and (h3 < 20)) and (px < (bx[h2] - 60))) {
bd[h2] = 2;
bs[h2] = 1;
}
if ((h3 > 19) and (h3 < 30)) {
bd[h2] = 3;
bs[h2] = 1;
}
if ((h3 > 29) and (h3 < 33)) {
bd[h2] = 4;
bs[h2] = 1;
}
if ((h3 > 40) and (h3 < 50)) {
if (px > (bx[h2] + 10)) {
bd[h2] = 1;
bs[h2] = 1;
}
if (px > (bx[h2] - 60)) {
bd[h2] = 3;
bs[h2] = 1;
}
}
}
if (bd[h2] == 1) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 3;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 4;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 5;
}
if ((bs[h2] > 6) and (bs[h2] < 9)) {
bf[h2] = 6;
}
if ((bs[h2] > 8) and (bs[h2] < 11)) {
bf[h2] = 7;
}
if ((bs[h2] > 10) and (bs[h2] < 15)) {
bf[h2] = 8;
}
if (bs[h2] > 14) {
bf[h2] = 6;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 16) {
bd[h2] = 0;
}
if (bs[h2] == 12) {
boom2.start();
if (bst[bsn] == 0) {
bst[bsn] = 3;
bsf[bsn] = 2;
bsx[bsn] = px + 100;
bsy[bsn] = py - 200;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 2) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 9;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 10;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 11;
}
if ((bs[h2] > 6) and (bs[h2] < 9)) {
bf[h2] = 12;
}
if ((bs[h2] > 8) and (bs[h2] < 11)) {
bf[h2] = 13;
}
if ((bs[h2] > 10) and (bs[h2] < 15)) {
bf[h2] = 14;
}
if (bs[h2] > 14) {
bf[h2] = 12;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 16) {
bd[h2] = 0;
}
if (bs[h2] == 12) {
boom3.start();
if (bst[bsn] == 0) {
bst[bsn] = 4;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] - 70;
bsy[bsn] = by[h2] - 25;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 3) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 15;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 16;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 17;
}
if ((bs[h2] > 6) and (bs[h2] < 9)) {
bf[h2] = 18;
}
if ((bs[h2] > 8) and (bs[h2] < 11)) {
bf[h2] = 19;
}
if ((bs[h2] > 10) and (bs[h2] < 15)) {
bf[h2] = 20;
}
if (bs[h2] > 14) {
bf[h2] = 18;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 16) {
bd[h2] = 0;
}
if (bs[h2] == 12) {
deflect.start();
deflect.start();
if (bst[bsn] == 0) {
bst[bsn] = 5;
bsf[bsn] = 4;
bsx[bsn] = bx[h2] + 40;
bsy[bsn] = by[h2] - 25;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 4) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 21;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 22;
}
if ((bs[h2] > 6) and (bs[h2] < 10)) {
bf[h2] = 23;
}
if ((bs[h2] > 9) and (bs[h2] < 50)) {
bf[h2] = 24;
if (bs[h2] == 46) {
boom3.start();
bossdeath.start();
}
}
if (bs[h2] > 49) {
bf[h2] = 25;
if ((px < 320) and (py > -120)) {
pl = pl - 7;
if (wenergy > 2) {
wenergy = wenergy - 2;
}
px = px - 6;
}
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 105) {
bd[h2] = 0;
}
}
if (bd[h2] == 90) {
bf[h2] = 300 + bs[h2];
bl[1] = 250 + (200 - dif);
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 89) {
bd[h2] = 0;
bg[h2] = 0;
}
}
if (bd[h2] == 100) {
bf[h2] = 200 + bs[h2];
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] == 30) {
boom2.start();
}
if (bs[h2] == 60) {
boom3.start();
}
if (bs[h2] > 90) {
if (game == 1) {
gotoAndPlay (3116);
}
if (game == 2) {
gotoAndPlay (3392);
}
if (game == 3) {
gotoAndPlay (3567);
}
if (game == 4) {
gotoAndPlay (3686);
}
if ((game < 1) or (game > 4)) {
gotoAndPlay (2556);
}
}
}
}
if (bl[h2] > 0) {
h1 = 1;
while (h1 < 4) {
if ((pst[h1] > 0) and (bg[h2] < 2)) {
if (((pst[h1] == 1) or (pst[h1] == 4)) or (pst[h1] == 5)) {
if (((((psx[h1] - 3) < (bx[h2] + 5)) and ((psx[h1] + 3) > (bx[h2] - 5))) and ((psy[h1] - 3) < (by[h2] - 35))) and ((psy[h1] + 3) > (by[h2] - 60))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 2;
shothit.start();
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
if (bg[h2] == 1) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
}
if ((((pst[h1] == 2) or (pst[h1] == 6)) or (pst[h1] == 20)) or (pst[h1] == 15)) {
if (((((psx[h1] - 4) < (bx[h2] + 5)) and ((psx[h1] + 4) > (bx[h2] - 5))) and ((psy[h1] - 5) < (by[h2] - 35))) and ((psy[h1] + 5) > (by[h2] - 60))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 4;
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (bg[h2] == 1) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
if (((pst[h1] == 3) or (pst[h1] == 7)) or (pst[h1] == 19)) {
if (((((psx[h1] - 10) < (bx[h2] + 5)) and ((psx[h1] + 10) > (bx[h2] - 5))) and ((psy[h1] - 10) < (by[h2] - 35))) and ((psy[h1] + 10) > (by[h2] - 60))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 6;
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (bg[h2] == 1) {
if ((xz == 0) and (pst[h1] == 3)) {
shothit.start();
bl[h2] = bl[h2] - 1;
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
}
}
if (pst[h1] == 8) {
if (((((psx[h1] - 15) < (bx[h2] + 5)) and ((psx[h1] + 15) > (bx[h2] - 5))) and ((psy[h1] - 15) < (by[h2] - 35))) and ((psy[h1] + 15) > (by[h2] - 60))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 4;
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (bg[h2] == 1) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
if (((pst[h1] == 9) or (pst[h1] == 10)) and (psd[h1] > 5)) {
if (((((psx[h1] - 20) < (bx[h2] + 5)) and ((psx[h1] + 20) > (bx[h2] - 5))) and ((psy[h1] - 20) < (by[h2] - 35))) and ((psy[h1] + 20) > (by[h2] - 60))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - random(2);
}
}
}
if (pst[h1] == 11) {
if (((((psx[h1] - 7) < (bx[h2] + 5)) and ((psx[h1] + 7) > (bx[h2] - 5))) and ((psy[h1] - 18) < (by[h2] - 35))) and ((psy[h1] + 18) > (by[h2] - 60))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 1;
}
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
if ((pst[h1] == 12) or (pst[h1] == 17)) {
if (((((psx[h1] - 15) < (bx[h2] + 5)) and ((psx[h1] + 15) > (bx[h2] - 5))) and ((psy[h1] - 18) < (by[h2] - 35))) and ((psy[h1] + 18) > (by[h2] - 60))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 2;
if (pst[h1] == 17) {
bl[h2] = bl[h2] - 2;
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
}
if ((pst[h1] == 13) or (pst[h1] == 18)) {
if (((((psx[h1] - 22) < (bx[h2] + 5)) and ((psx[h1] + 22) > (bx[h2] - 5))) and ((psy[h1] - 22) < (by[h2] - 35))) and ((psy[h1] + 22) > (by[h2] - 60))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - random(2);
}
}
}
if (pst[h1] == 14) {
if (((((camx - 105) < (bx[h2] + 5)) and ((camx + 105) > (bx[h2] - 5))) and ((psy[h1] - 15) < (by[h2] - 35))) and ((psy[h1] + 15) > (by[h2] - 60))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 1;
}
}
}
if (pst[h1] == 16) {
if (((((psx[h1] - 45) < (bx[h2] + 5)) and ((psx[h1] + 45) > (bx[h2] - 5))) and ((psy[h1] - 30) < (by[h2] - 35))) and (psy[h1] > (by[h2] - 60))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 1;
}
}
}
if (pst[h1] == 21) {
if (((((psx[h1] - 15) < (bx[h2] + 5)) and ((psx[h1] + 15) > (bx[h2] - 5))) and ((psy[h1] - 85) < (by[h2] - 35))) and (psy[h1] > (by[h2] - 60))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 1;
}
}
}
h1++;
}
if (((xz == 2) and ((pd == 16) or (pd == 17))) and ((ps < 7) and (ps > 2))) {
if (pd == 16) {
if ((((((px + 38) > (bx[h2] - 10)) and ((px - 8) < (bx[h2] + 10))) and (py > (by[h2] - 60))) and ((py - 26) < (by[h2] - 35))) and (bl[h2] > 0)) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 3;
if (ps == 6) {
bl[h2] = bl[h2] - (((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]);
}
}
}
}
if (pd == 17) {
if ((((((px - 38) < (bx[h2] + 10)) and ((px + 8) > (bx[h2] - 10))) and (py > (by[h2] - 60))) and ((py - 26) < (by[h2] - 35))) and (bl[h2] > 0)) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 3;
if (ps == 6) {
bl[h2] = bl[h2] - (((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]);
}
}
}
}
}
if (((xz == 5) and ((pd == 16) or (pd == 17))) and ((ps < 7) and (ps > 2))) {
if (pd == 16) {
if ((((((px + 32) > (bx[h2] - 10)) and ((px - 8) < (bx[h2] + 10))) and (py > (by[h2] - 60))) and ((py - 30) < (by[h2] - 35))) and (bl[h2] > 0)) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 2;
}
}
}
if (pd == 17) {
if ((((((px - 32) < (bx[h2] + 10)) and ((px + 8) > (bx[h2] - 10))) and (py > (by[h2] - 60))) and ((py - 30) < (by[h2] - 35))) and (bl[h2] > 0)) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 2;
}
}
}
}
if ((((xz == 1) or (xz == 2)) or (xz == 4)) and (charge > 0)) {
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 10)) or (pd == 12)) or (pd == 14)) {
if ((((((px + 30) > (bx[h2] - 10)) and ((px - 8) < (bx[h2] + 10))) and (py > (by[h2] - 60))) and ((py - 26) < (by[h2] - 35))) and (bl[h2] > 0)) {
if ((bg[h2] == 0) and ((xz == 1) or (xz == 2))) {
bl[h2] = bl[h2] - 1;
}
if (xz == 4) {
bl[h2] = bl[h2] - 1;
}
}
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 11)) or (pd == 13)) or (pd == 15)) {
if ((((((px - 30) < (bx[h2] + 10)) and ((px + 8) > (bx[h2] - 10))) and (py > (by[h2] - 60))) and ((py - 26) < (by[h2] - 35))) and (bl[h2] > 0)) {
if ((bg[h2] == 0) and ((xz == 1) or (xz == 2))) {
bl[h2] = bl[h2] - 1;
}
if (xz == 4) {
bl[h2] = bl[h2] - 1;
}
}
}
}
}
if (btime[h2] > 0) {
btime[h2] = btime[h2] - 1;
}
if ((bl[h2] < 1) and (bd[h2] < 100)) {
if (h3 > 4) {
bossdeath.start();
bossdeath.start();
}
money = money + 100;
bd[h2] = 100;
bs[h2] = 1;
}
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if ((bsx[h1] < -20) or (bsy[h1] > 20)) {
bst[h1] = 0;
bsf[h1] = 30;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 3) {
bsx[h1] = bsx[h1] - 5;
bsy[h1] = bsy[h1] + 10;
bsf[h1] = 2;
if ((((((bsx[h1] + 7) > (px - 12)) and ((bsx[h1] - 7) < (px + 12))) and ((bsy[h1] + 7) > (py - 26))) and ((bsy[h1] - 7) < (py - 2))) and (i < 1)) {
boom1.start();
i = 15;
pl = pl - 16;
bst[h1] = 0;
bsf[h1] = 5;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 4) {
bsx[h1] = bsx[h1] - 10;
bsf[h1] = 3;
if ((((((bsx[h1] + 23) > (px - 12)) and ((bsx[h1] - 23) < (px + 12))) and ((bsy[h1] + 10) > (py - 26))) and ((bsy[h1] - 10) < (py - 2))) and (i < 1)) {
pl = pl - 6;
}
}
if (bst[h1] == 5) {
bsx[h1] = bsx[h1] - 7;
if ((py - 4) > bsy[h1]) {
bsy[h1] = bsy[h1] + 1;
}
bsf[h1] = 4;
if ((((((bsx[h1] + 20) > (px - 12)) and ((bsx[h1] - 20) < (px + 12))) and ((bsy[h1] + 10) > (py - 26))) and ((bsy[h1] - 10) < (py - 2))) and (i < 1)) {
pl = pl - 4;
px = px - 6;
if (wenergy > 2) {
wenergy = wenergy - 2;
}
}
}
}
h1++;
}
}
Frame 2858
function boss13() {
h2 = 1;
if (bt[h2] > 0) {
if (bd[h2] == 0) {
bf[h2] = 2;
if (px < bx[h2]) {
bd[h2] = 1;
}
h3 = random(120 + dif);
if (h3 < 8) {
bd[h2] = 2;
bs[h2] = 1;
}
if (((h3 > 9) and (h3 < 20)) and (py > -80)) {
bd[h2] = 4;
bs[h2] = 1;
}
if ((h3 > 20) and (h3 < 29)) {
bd[h2] = 6;
bj[h2] = -9 - random(3);
if (py < (by[h2] - 50)) {
bj[h2] = bj[h2] - 3;
}
}
if ((h3 > 30) and (h3 < 34)) {
bd[h2] = 10;
bs[h2] = 1;
}
if ((h3 > 40) and (h3 < 44)) {
bd[h2] = 12;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
bf[h2] = 72;
if (px > bx[h2]) {
bd[h2] = 0;
}
h3 = random(120 + dif);
if (h3 < 8) {
bd[h2] = 3;
bs[h2] = 1;
}
if (((h3 > 9) and (h3 < 20)) and (py > -80)) {
bd[h2] = 5;
bs[h2] = 1;
}
if ((h3 > 20) and (h3 < 29)) {
bd[h2] = 7;
bj[h2] = -9 - random(3);
if (py < (by[h2] - 50)) {
bj[h2] = bj[h2] - 3;
}
}
if ((h3 > 30) and (h3 < 34)) {
bd[h2] = 11;
bs[h2] = 1;
}
if ((h3 > 40) and (h3 < 44)) {
bd[h2] = 13;
bs[h2] = 1;
}
}
if (bd[h2] == 2) {
bf[h2] = 3;
bx[h2] = bx[h2] + 7;
bs[h2] = (bs[h2] + 1) + random(2);
if (bs[h2] > 20) {
bd[h2] = 0;
}
}
if (bd[h2] == 3) {
bf[h2] = 73;
bx[h2] = bx[h2] - 7;
bs[h2] = (bs[h2] + 1) + random(2);
if (bs[h2] > 20) {
bd[h2] = 1;
}
}
if (bd[h2] == 4) {
bf[h2] = 4;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 7) {
if (bst[bsn] == 0) {
deflect.start();
lightning.start();
bd[h2] = 0;
bst[bsn] = 3;
bsd[bsn] = 0;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] + 20;
bsy[bsn] = by[h2] - 19;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 5) {
bf[h2] = 74;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 7) {
if (bst[bsn] == 0) {
deflect.start();
lightning.start();
bd[h2] = 1;
bst[bsn] = 3;
bsd[bsn] = 1;
bsf[bsn] = 3;
bsx[bsn] = bx[h2] - 20;
bsy[bsn] = by[h2] - 19;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if ((bd[h2] == 6) or (bd[h2] == 7)) {
if (bd[h2] == 6) {
if (bj[h2] < 0) {
bf[h2] = 5;
}
if (bj[h2] >= 0) {
bf[h2] = 6;
}
bx[h2] = bx[h2] + 8;
h3 = random(20);
if ((h3 < 2) and (px > (bx[h2] + 20))) {
bd[h2] = 8;
bs[h2] = 1;
}
}
if (bd[h2] == 7) {
if (bj[h2] < 0) {
bf[h2] = 75;
}
if (bj[h2] >= 0) {
bf[h2] = 76;
}
bx[h2] = bx[h2] - 8;
h3 = random(20);
if ((h3 < 2) and (px < (bx[h2] - 20))) {
bd[h2] = 9;
bs[h2] = 1;
}
}
by[h2] = by[h2] + bj[h2];
if (bj[h2] < 0) {
bj[h2] = bj[h2] + 1;
}
}
if (bd[h2] == 8) {
if (bj[h2] < 0) {
bf[h2] = 7;
}
if (bj[h2] >= 0) {
bf[h2] = 8;
}
bx[h2] = bx[h2] + 3;
by[h2] = by[h2] - 1;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 5) {
if (bst[bsn] == 0) {
deflect.start();
lightning.start();
bd[h2] = 6;
bst[bsn] = 3;
bsd[bsn] = 2;
bsf[bsn] = 4;
bsx[bsn] = bx[h2] + 20;
bsy[bsn] = by[h2] - 17;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 9) {
if (bj[h2] < 0) {
bf[h2] = 77;
}
if (bj[h2] >= 0) {
bf[h2] = 78;
}
bx[h2] = bx[h2] - 3;
by[h2] = by[h2] - 1;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 5) {
if (bst[bsn] == 0) {
deflect.start();
lightning.start();
bd[h2] = 7;
bst[bsn] = 3;
bsd[bsn] = 3;
bsf[bsn] = 5;
bsx[bsn] = bx[h2] - 20;
bsy[bsn] = by[h2] - 17;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 10) {
if ((bs[h2] > 0) and (bs[h2] < 11)) {
bf[h2] = 9;
}
if (bs[h2] > 10) {
bf[h2] = 10;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] == 13) {
maxbuster.start();
if (bst[bsn] == 0) {
bst[bsn] = 4;
bsd[bsn] = random(5) - 2;
bsf[bsn] = bsd[bsn] + 8;
bsx[bsn] = bx[h2] + 8;
bsy[bsn] = by[h2] - 40;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
if (bs[h2] > 14) {
h3 = random(10);
if (((h3 < 3) and (px > (bx[h2] - 50))) and (px < (bx[h2] + 50))) {
h3 = 10;
}
bd[h2] = 0;
if (h3 < 8) {
bd[h2] = 10;
bs[h2] = 11;
}
}
}
if (bd[h2] == 11) {
if ((bs[h2] > 0) and (bs[h2] < 11)) {
bf[h2] = 79;
}
if (bs[h2] > 10) {
bf[h2] = 80;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] == 13) {
maxbuster.start();
if (bst[bsn] == 0) {
bst[bsn] = 4;
bsd[bsn] = random(5) - 2;
bsf[bsn] = bsd[bsn] + 8;
bsx[bsn] = bx[h2] - 8;
bsy[bsn] = by[h2] - 40;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
if (bs[h2] > 14) {
h3 = random(10);
if (((h3 < 3) and (px > (bx[h2] - 50))) and (px < (bx[h2] + 50))) {
h3 = 10;
}
bd[h2] = 1;
if (h3 < 8) {
bd[h2] = 11;
bs[h2] = 11;
}
}
}
if (bd[h2] == 12) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 11;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 12;
}
if ((bs[h2] > 6) and (bs[h2] < 10)) {
bf[h2] = 13;
}
if ((bs[h2] > 9) and (bs[h2] < 24)) {
bf[h2] = 14;
if (bs[h2] == 20) {
bossdeath.start();
boom3.start();
}
}
if (bs[h2] > 23) {
bf[h2] = 15;
if ((px > (bx[h2] - 15)) and (py > -65)) {
pl = pl - 4;
if (wenergy > 3) {
wenergy = wenergy - 3;
}
px = px + 8;
}
}
bs[h2] = bs[h2] + 1;
if ((bs[h2] > 36) and (px < (bx[h2] - 20))) {
bs[h2] = 60;
}
if (bs[h2] > 50) {
bd[h2] = 0;
}
}
if (bd[h2] == 13) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 81;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 82;
}
if ((bs[h2] > 6) and (bs[h2] < 10)) {
bf[h2] = 83;
}
if ((bs[h2] > 9) and (bs[h2] < 24)) {
bf[h2] = 84;
if (bs[h2] == 20) {
bossdeath.start();
boom3.start();
}
}
if (bs[h2] > 23) {
bf[h2] = 85;
if ((px < (bx[h2] + 15)) and (py > -65)) {
pl = pl - 4;
if (wenergy > 3) {
wenergy = wenergy - 3;
}
px = px - 8;
}
}
bs[h2] = bs[h2] + 1;
if ((bs[h2] > 36) and (px > (bx[h2] + 20))) {
bs[h2] = 60;
}
if (bs[h2] > 50) {
bd[h2] = 1;
}
}
if (bd[h2] == 90) {
bf[h2] = 300 + bs[h2];
bl[1] = 300 + (200 - dif);
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 98) {
bd[h2] = 1;
bg[h2] = 0;
}
}
if (bd[h2] == 100) {
bf[h2] = 200 + bs[h2];
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 98) {
if (game == 1) {
gotoAndPlay (3211);
}
if (game != 1) {
gotoAndPlay (2556);
}
}
}
bhits();
if ((((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) and (bd[h2] < 90)) {
if (((((px - 20) < (bx[h2] + 4)) and ((px + 20) > (bx[h2] - 4))) and (py > (by[h2] - 25))) and ((py - 24) < (by[h2] - 3))) {
melee.start();
pl = pl - 12;
i = 8;
}
}
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if ((((bsx[h1] > 320) or (bsx[h1] < -20)) or (bsy[h1] > 20)) or (bsy[h1] < -220)) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 3) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 10;
bsf[h1] = 2;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 10;
bsf[h1] = 3;
}
if (bsd[h1] == 2) {
bsx[h1] = bsx[h1] + 8;
bsy[h1] = bsy[h1] + 7;
bsf[h1] = 4;
}
if (bsd[h1] == 3) {
bsx[h1] = bsx[h1] - 8;
bsy[h1] = bsy[h1] + 7;
bsf[h1] = 5;
}
if ((((((bsx[h1] + 4) > (px - 12)) and ((bsx[h1] - 4) < (px + 12))) and ((bsy[h1] + 4) > (py - 26))) and ((bsy[h1] - 4) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 8;
bst[h1] = 0;
bsf[h1] = 20;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 4) {
bsf[h1] = 8 + bsd[h1];
bsx[h1] = bsx[h1] + (3 * bsd[h1]);
bsy[h1] = bsy[h1] - 12;
if (bsy[h1] < -200) {
bst[h1] = 5;
bsx[h1] = (px - 50) + random(101);
}
if ((bsx[h1] < 20) or (bsx[h1] > 280)) {
boom1.start();
if (bsx[h1] < 20) {
bsx[h1] = 23;
}
if (bsx[h1] > 280) {
bsx[h1] = 277;
}
bst[h1] = 6;
bsd[h1] = 0;
}
if ((((((bsx[h1] + 3) > (px - 12)) and ((bsx[h1] - 3) < (px + 12))) and ((bsy[h1] + 8) > (py - 20))) and ((bsy[h1] - 8) < (py - 2))) and (i < 1)) {
pl = pl - 10;
boom2.start();
bst[h1] = 6;
bsd[h1] = 0;
}
}
if (bst[h1] == 5) {
bsf[h1] = 13 + bsd[h1];
bsx[h1] = bsx[h1] + (3 * bsd[h1]);
bsy[h1] = bsy[h1] + 12;
if (bsx[h1] < 20) {
bsx[h1] = 23;
bst[h1] = 6;
bsd[h1] = 0;
}
if (bsx[h1] > 280) {
bsx[h1] = 277;
bst[h1] = 6;
bsd[h1] = 0;
}
if (bsy[h1] > -20) {
boom1.start();
bst[h1] = 6;
bsd[h1] = 0;
bsy[h1] = -20;
}
if ((((((bsx[h1] + 3) > (px - 12)) and ((bsx[h1] - 3) < (px + 12))) and ((bsy[h1] + 8) > (py - 20))) and ((bsy[h1] - 8) < (py - 2))) and (i < 1)) {
pl = pl - 10;
boom2.start();
bst[h1] = 6;
bsd[h1] = 0;
}
}
if (bst[h1] == 6) {
bsd[h1] = bsd[h1] + 1;
bsf[h1] = 15 + bsd[h1];
if (bsd[h1] > 4) {
bst[h1] = 0;
bsf[h1] = 20;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 5) > (py - 26))) and ((bsy[h1] - 15) < (py - 2))) {
pl = pl - 6;
if (wenergy > 5) {
wenergy = wenergy - 5;
}
}
}
}
h1++;
}
if (bx[h2] > 270) {
bx[h2] = 270;
}
if (bx[h2] < 30) {
bx[h2] = 30;
}
if (((bd[h2] > 5) and (bd[h2] < 8)) and (by[h2] > -20)) {
by[h2] = -20;
if (px < bx[h2]) {
bd[h2] = 1;
}
if (px >= bx[h2]) {
bd[h2] = 0;
}
}
if ((bj[h2] > -1) and ((bd[h2] > 5) and (bd[h2] < 8))) {
if ((bd[h2] < 8) or (bd[h2] > 9)) {
by[h2] = by[h2] + 11;
}
}
}
Frame 2859
function boss14() {
h2 = 1;
while (h2 < 4) {
if (bt[h2] > 0) {
if (bt[h2] == 75) {
if (bs[7] < 30) {
bs[7] = bs[7] + random(2);
if (bs[7] < 1) {
bs[7] = 1;
}
}
if (bd[7] > 0) {
bd[7] = bd[7] - 1;
}
if (bd[h2] == 0) {
bf[h2] = 2;
if (bd[7] > 0) {
bf[h2] = 11;
}
if (px < bx[h2]) {
bd[h2] = 1;
}
h3 = random(180 + dif);
if (h3 < 20) {
bd[h2] = 2;
bs[h2] = 1;
}
if (((h3 > 9) and (h3 < 20)) and (py < -50)) {
bd[h2] = 4;
bj[h2] = -7 - random(6);
}
if ((h3 > 25) and (h3 < 30)) {
bd[h2] = 10;
bs[h2] = 1;
}
if (((h3 > 40) and (h3 < 47)) and (bd[7] < 1)) {
bd[7] = 8;
}
if (((h3 > 50) and (h3 < 70)) and (py < -80)) {
bd[h2] = 4;
bj[h2] = -8 - random(6);
}
if (bd[7] == 1) {
if (bst[bsn] == 0) {
if (bs[7] < 12) {
minbuster.start();
bst[bsn] = 1;
}
if ((bs[7] > 11) and (bs[7] < 24)) {
midbuster.start();
bst[bsn] = 3;
}
if (bs[7] > 23) {
maxbuster.start();
bst[bsn] = 4;
}
bs[7] = 1;
bsd[bsn] = 0;
bsf[bsn] = 40;
bsx[bsn] = bx[h2] + 15;
bsy[bsn] = by[h2] - 20;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 1) {
bf[h2] = 72;
if (bd[7] > 0) {
bf[h2] = 81;
}
if (px > bx[h2]) {
bd[h2] = 0;
}
h3 = random(180 + dif);
if (h3 < 20) {
bd[h2] = 3;
bs[h2] = 1;
}
if (((h3 > 9) and (h3 < 20)) and (py < -50)) {
bd[h2] = 5;
bj[h2] = -7 - random(6);
}
if ((h3 > 25) and (h3 < 30)) {
bd[h2] = 11;
bs[h2] = 1;
}
if (((h3 > 40) and (h3 < 47)) and (bd[7] < 1)) {
bd[7] = 8;
}
if (((h3 > 50) and (h3 < 70)) and (py < -80)) {
bd[h2] = 5;
bj[h2] = -8 - random(6);
}
if (bd[7] == 1) {
if (bst[bsn] == 0) {
if (bs[7] < 12) {
minbuster.start();
bst[bsn] = 1;
}
if ((bs[7] > 11) and (bs[7] < 24)) {
midbuster.start();
bst[bsn] = 3;
}
if (bs[7] > 23) {
maxbuster.start();
bst[bsn] = 4;
}
bs[7] = 1;
bsd[bsn] = 1;
bsf[bsn] = 40;
bsx[bsn] = bx[h2] - 15;
bsy[bsn] = by[h2] - 20;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 2) {
bf[h2] = 3;
if (bd[7] > 0) {
bf[h2] = 6;
}
bx[h2] = bx[h2] + 5;
bs[h2] = bs[h2] + random(3);
if (bs[h2] > 20) {
bd[h2] = 0;
}
h3 = random(180 + dif);
if (((h3 > 40) and (h3 < 47)) and (bd[7] < 1)) {
bd[7] = 8;
}
if (bd[7] == 1) {
if (bst[bsn] == 0) {
if (bs[7] < 12) {
minbuster.start();
bst[bsn] = 1;
}
if ((bs[7] > 11) and (bs[7] < 24)) {
midbuster.start();
bst[bsn] = 3;
}
if (bs[7] > 23) {
maxbuster.start();
bst[bsn] = 4;
}
bs[7] = 1;
bsd[bsn] = 0;
bsf[bsn] = 40;
bsx[bsn] = bx[h2] + 15;
bsy[bsn] = by[h2] - 18;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 3) {
bf[h2] = 73;
if (bd[7] > 0) {
bf[h2] = 76;
}
bx[h2] = bx[h2] - 4;
bs[h2] = (bs[h2] + 1) + random(2);
if (bs[h2] > 20) {
bd[h2] = 1;
}
h3 = random(180 + dif);
if (((h3 > 40) and (h3 < 47)) and (bd[7] < 1)) {
bd[7] = 8;
}
if (bd[7] == 1) {
if (bst[bsn] == 0) {
if (bs[7] < 12) {
minbuster.start();
bst[bsn] = 1;
}
if ((bs[7] > 11) and (bs[7] < 24)) {
midbuster.start();
bst[bsn] = 3;
}
if (bs[7] > 23) {
maxbuster.start();
bst[bsn] = 4;
}
bs[7] = 1;
bsd[bsn] = 1;
bsf[bsn] = 40;
bsx[bsn] = bx[h2] + 15;
bsy[bsn] = by[h2] - 18;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if ((bd[h2] == 4) or (bd[h2] == 5)) {
if (bd[h2] == 4) {
if (bj[h2] < 0) {
bf[h2] = 4;
if (bd[7] > 0) {
bf[h2] = 7;
}
}
if (bj[h2] > -1) {
bf[h2] = 5;
if (bd[7] > 0) {
bf[h2] = 8;
}
}
bx[h2] = bx[h2] + 4;
if (bd[7] == 1) {
if (bst[bsn] == 0) {
if (bs[7] < 12) {
minbuster.start();
bst[bsn] = 1;
}
if ((bs[7] > 11) and (bs[7] < 24)) {
midbuster.start();
bst[bsn] = 3;
}
if (bs[7] > 23) {
maxbuster.start();
bst[bsn] = 4;
}
bs[7] = 1;
bsd[bsn] = 0;
bsf[bsn] = 40;
bsx[bsn] = bx[h2] + 15;
bsy[bsn] = by[h2] - 26;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 5) {
if (bj[h2] < 0) {
bf[h2] = 74;
if (bd[7] > 0) {
bf[h2] = 77;
}
}
if (bj[h2] > -1) {
bf[h2] = 75;
if (bd[7] > 0) {
bf[h2] = 78;
}
}
bx[h2] = bx[h2] - 4;
if (bd[7] == 1) {
if (bst[bsn] == 0) {
if (bs[7] < 12) {
minbuster.start();
bst[bsn] = 1;
}
if ((bs[7] > 11) and (bs[7] < 24)) {
midbuster.start();
bst[bsn] = 3;
}
if (bs[7] > 23) {
maxbuster.start();
bst[bsn] = 4;
}
bs[7] = 1;
bsd[bsn] = 1;
bsf[bsn] = 40;
bsx[bsn] = bx[h2] + 15;
bsy[bsn] = by[h2] - 24;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
by[h2] = by[h2] + bj[h2];
if (bj[h2] < 10) {
bj[h2] = bj[h2] + 1;
}
if (by[h2] > -22) {
by[h2] = -20;
bj[h2] = 0;
bd[h2] = bd[h2] - 4;
}
h3 = random(180 + dif);
if (((h3 > 40) and (h3 < 47)) and (bd[7] < 1)) {
bd[7] = 8;
}
}
if (bd[h2] == 10) {
if ((bs[h2] > 0) and (bs[h2] < 12)) {
bf[h2] = 9;
}
if (bs[h2] > 11) {
bf[h2] = 10;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 16) {
bd[h2] = 0;
lifeupsfx.start();
if (bl[3] > 0) {
bl[3] = bl[3] + 25;
if (bl[3] > (50 + (200 - dif))) {
bl[3] = 50 + (200 - dif);
}
}
}
}
if (bd[h2] == 11) {
if ((bs[h2] > 0) and (bs[h2] < 12)) {
bf[h2] = 79;
}
if (bs[h2] > 11) {
bf[h2] = 80;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 16) {
bd[h2] = 1;
lifeupsfx.start();
if (bl[3] > 0) {
bl[3] = bl[3] + 25;
if (bl[3] > (50 + (200 - dif))) {
bl[3] = 50 + (200 - dif);
}
}
}
}
}
if (bt[h2] == 74) {
if (bd[h2] == 0) {
bf[h2] = 2;
if (px < bx[h2]) {
bd[h2] = 1;
}
h3 = random(180 + dif);
if (h3 < 10) {
bd[h2] = 2;
bs[h2] = 1;
}
if (((h3 > 9) and (h3 < 20)) and (px < (bx[h2] + 70))) {
bd[h2] = 4;
bs[h2] = 1;
}
if ((h3 > 25) and (h3 < 30)) {
bd[h2] = 6;
bs[h2] = 1;
}
if ((h3 > 40) and (h3 < 44)) {
bd[h2] = 10;
bs[h2] = 1;
}
if ((h3 > 50) and (h3 < 55)) {
bd[h2] = 12;
bs[h2] = 1;
}
if ((h3 > 60) and (h3 < 65)) {
bd[h2] = 14;
bs[h2] = 1;
}
if (((h3 > 70) and (h3 < 90)) and (py < -80)) {
bd[h2] = 6;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
bf[h2] = 72;
if (px > bx[h2]) {
bd[h2] = 0;
}
h3 = random(180 + dif);
if (h3 < 10) {
bd[h2] = 3;
bs[h2] = 1;
}
if (((h3 > 9) and (h3 < 20)) and (px > (bx[h2] - 70))) {
bd[h2] = 5;
bs[h2] = 1;
}
if ((h3 > 25) and (h3 < 30)) {
bd[h2] = 7;
bs[h2] = 1;
}
if ((h3 > 40) and (h3 < 44)) {
bd[h2] = 11;
bs[h2] = 1;
}
if ((h3 > 50) and (h3 < 55)) {
bd[h2] = 13;
bs[h2] = 1;
}
if ((h3 > 60) and (h3 < 65)) {
bd[h2] = 15;
bs[h2] = 1;
}
if (((h3 > 70) and (h3 < 90)) and (py < -80)) {
bd[h2] = 7;
bs[h2] = 1;
}
}
if (bd[h2] == 2) {
bf[h2] = 3;
bx[h2] = bx[h2] + 4;
bs[h2] = (bs[h2] + 1) + random(2);
if (bs[h2] > 30) {
bd[h2] = 0;
}
}
if (bd[h2] == 3) {
bf[h2] = 73;
bx[h2] = bx[h2] - 4;
bs[h2] = (bs[h2] + 1) + random(2);
if (bs[h2] > 30) {
bd[h2] = 1;
}
}
if (bd[h2] == 4) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 4;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 5;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 6;
}
if (bs[h2] > 6) {
bf[h2] = 7;
}
bx[h2] = bx[h2] + 3;
bs[h2] = bs[h2] + 1;
if (((((px < (bx[h2] + 50)) and (px > (bx[h2] - 10))) and (py > -50)) and (i < 1)) and (bs[h2] > 3)) {
melee.start();
pl = pl - 12;
i = 15;
}
if (bs[h2] > 8) {
bd[h2] = 0;
}
}
if (bd[h2] == 5) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 74;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 75;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 76;
}
if (bs[h2] > 6) {
bf[h2] = 77;
}
bx[h2] = bx[h2] - 3;
bs[h2] = bs[h2] + 1;
if (((((px < (bx[h2] + 10)) and (px > (bx[h2] - 50))) and (py > -50)) and (i < 1)) and (bs[h2] > 3)) {
melee.start();
pl = pl - 12;
i = 15;
}
if (bs[h2] > 8) {
bd[h2] = 1;
}
}
if (bd[h2] == 6) {
bf[h2] = 8;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 5) {
jump.start();
bd[h2] = 8;
bj[h2] = -10;
if (py < -70) {
bj[h2] = -12;
}
}
}
if (bd[h2] == 7) {
bf[h2] = 9;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 5) {
jump.start();
bd[h2] = 9;
bj[h2] = -10;
if (py < -70) {
bj[h2] = -12;
}
}
}
if ((bd[h2] == 8) or (bd[h2] == 9)) {
if (bd[h2] == 8) {
bf[h2] = 9;
bx[h2] = bx[h2] + 4;
}
if (bd[h2] == 9) {
bf[h2] = 79;
bx[h2] = bx[h2] - 4;
}
by[h2] = by[h2] + bj[h2];
if (bj[h2] < 12) {
bj[h2] = bj[h2] + 1;
}
if (by[h2] > -22) {
by[h2] = -20;
bj[h2] = 0;
bd[h2] = bd[h2] - 8;
}
if ((((((px - 20) < (bx[h2] + 7)) and ((px + 20) > (bx[h2] - 7))) and (py > (by[h2] - 32))) and ((py - 24) < by[h2])) and (i < 1)) {
melee.start();
pl = pl - 10;
i = 20;
}
}
if (bd[h2] == 10) {
if ((bs[h2] > 0) and (bs[h2] < 12)) {
bf[h2] = 10;
}
if (bs[h2] > 11) {
bf[h2] = 11;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 16) {
bd[h2] = 0;
lifeupsfx.start();
if (bl[2] > 0) {
bl[2] = bl[2] + 20;
if (bl[2] > (50 + (200 - dif))) {
bl[2] = 50 + (200 - dif);
}
}
}
}
if (bd[h2] == 11) {
if ((bs[h2] > 0) and (bs[h2] < 12)) {
bf[h2] = 80;
}
if (bs[h2] > 11) {
bf[h2] = 81;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 16) {
bd[h2] = 1;
lifeupsfx.start();
if (bl[2] > 0) {
bl[2] = bl[2] + 20;
if (bl[2] > (50 + (200 - dif))) {
bl[2] = 50 + (200 - dif);
}
}
}
}
if (bd[h2] == 12) {
if ((bs[h2] > 0) and (bs[h2] < 12)) {
bf[h2] = 12;
}
if (bs[h2] > 11) {
bf[h2] = 13;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 16) {
bd[h2] = 0;
if (bst[bsn] == 0) {
laser.start();
bst[bsn] = 2;
bsd[bsn] = 0;
bsf[bsn] = 36;
bsx[bsn] = bx[h2] + 10;
bsy[bsn] = by[h2] - 20;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 13) {
if ((bs[h2] > 0) and (bs[h2] < 12)) {
bf[h2] = 82;
}
if (bs[h2] > 11) {
bf[h2] = 83;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 16) {
bd[h2] = 1;
if (bst[bsn] == 0) {
laser.start();
bst[bsn] = 2;
bsd[bsn] = 1;
bsf[bsn] = 37;
bsx[bsn] = bx[h2] - 10;
bsy[bsn] = by[h2] - 20;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 14) {
if ((bs[h2] > 0) and (bs[h2] < 12)) {
bf[h2] = 14;
}
if (bs[h2] > 11) {
bf[h2] = 15;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 16) {
bd[h2] = 0;
if (bst[bsn] == 0) {
bst[bsn] = 9;
bsd[bsn] = 0;
bsf[bsn] = 38;
bsx[bsn] = bx[h2];
bsy[bsn] = by[h2] - 10;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
}
if (bd[h2] == 15) {
if ((bs[h2] > 0) and (bs[h2] < 12)) {
bf[h2] = 84;
}
if (bs[h2] > 11) {
bf[h2] = 85;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 16) {
bd[h2] = 1;
if (bst[bsn] == 0) {
bst[bsn] = 9;
bsd[bsn] = 0;
bsf[bsn] = 38;
bsx[bsn] = bx[h2];
bsy[bsn] = by[h2] - 10;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bt[h2] == 73) {
if (bd[h2] == 0) {
bf[h2] = 2;
if (px < bx[h2]) {
bd[h2] = 1;
}
h3 = random(180 + dif);
if (h3 < 10) {
bd[h2] = 2;
bs[h2] = 1;
}
if (((h3 > 9) and (h3 < 20)) and (px < (bx[h2] + 100))) {
bd[h2] = 4;
bs[h2] = 1;
}
if (((h3 > 20) and (h3 < 24)) and (bx[8] < 0)) {
bd[h2] = 6;
bs[h2] = 1;
}
if ((h3 > 30) and (h3 < 37)) {
bd[h2] = 8;
bs[h2] = 1;
}
if (((h3 > 40) and (h3 < 67)) and (px < (bx[h2] + 60))) {
bd[h2] = 10;
bs[h2] = 1;
}
if ((((h3 > 70) and (h3 < 80)) and (bx[8] < 0)) and (py < -70)) {
bd[h2] = 6;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
bf[h2] = 72;
if (px > bx[h2]) {
bd[h2] = 0;
}
h3 = random(180 + dif);
if (h3 < 10) {
bd[h2] = 3;
bs[h2] = 1;
}
if (((h3 > 9) and (h3 < 20)) and (px < (bx[h2] - 100))) {
bd[h2] = 5;
bs[h2] = 1;
}
if (((h3 > 20) and (h3 < 24)) and (bx[8] < 0)) {
bd[h2] = 7;
bs[h2] = 1;
}
if ((h3 > 30) and (h3 < 37)) {
bd[h2] = 9;
bs[h2] = 1;
}
if (((h3 > 40) and (h3 < 67)) and (px > (bx[h2] - 60))) {
bd[h2] = 11;
bs[h2] = 1;
}
if ((((h3 > 70) and (h3 < 80)) and (bx[8] < 0)) and (py < -70)) {
bd[h2] = 7;
bs[h2] = 1;
}
}
if (bd[h2] == 2) {
bf[h2] = 3;
bg[h2] = 1;
bx[h2] = bx[h2] + 3;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 15) {
bd[h2] = 0;
bg[h2] = 0;
}
}
if (bd[h2] == 3) {
bf[h2] = 73;
bg[h2] = 1;
bx[h2] = bx[h2] - 3;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 15) {
bd[h2] = 1;
bg[h2] = 0;
}
}
if (bd[h2] == 4) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 4;
}
if (bs[h2] > 3) {
bf[h2] = 5;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 7) {
if (bst[bsn] == 0) {
if ((((px < (bx[h2] + 50)) and (px > bx[h2])) and (py > -40)) and (i < 1)) {
melee.start();
pl = pl - 12;
i = 15;
}
laser.start();
bd[h2] = 0;
bst[bsn] = 5;
bsd[bsn] = 0;
bsf[bsn] = 8;
bsx[bsn] = bx[h2] + 20;
bsy[bsn] = by[h2] - 17;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 5) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 74;
}
if (bs[h2] > 3) {
bf[h2] = 75;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 7) {
if (bst[bsn] == 0) {
if ((((px < bx[h2]) and (px > (bx[h2] - 50))) and (py > -40)) and (i < 1)) {
melee.start();
pl = pl - 12;
i = 15;
}
laser.start();
bd[h2] = 1;
bst[bsn] = 5;
bsd[bsn] = 1;
bsf[bsn] = 9;
bsx[bsn] = bx[h2] - 20;
bsy[bsn] = by[h2] - 17;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 6) {
bf[h2] = 7;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 15) {
bd[h2] = 0;
bx[8] = 200;
by[8] = -150;
}
}
if (bd[h2] == 7) {
bf[h2] = 77;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 15) {
bd[h2] = 1;
bx[8] = 200;
by[8] = -150;
}
}
if (bd[h2] == 8) {
if ((bs[h2] > 0) and (bs[h2] < 15)) {
bf[h2] = 7;
}
if (bs[h2] > 14) {
bf[h2] = 8;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] == 16) {
if (bst[bsn] == 0) {
bst[bsn] = 6;
bsd[bsn] = 0;
bsf[bsn] = 10;
bsx[bsn] = bx[h2] + 10;
bsy[bsn] = by[h2] - 35;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
if (bs[h2] > 19) {
bd[h2] = 0;
}
}
if (bd[h2] == 9) {
if ((bs[h2] > 0) and (bs[h2] < 15)) {
bf[h2] = 77;
}
if (bs[h2] > 14) {
bf[h2] = 78;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] == 16) {
if (bst[bsn] == 0) {
bst[bsn] = 6;
bsd[bsn] = 1;
bsf[bsn] = 11;
bsx[bsn] = bx[h2] - 10;
bsy[bsn] = by[h2] - 35;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
if (bs[h2] > 19) {
bd[h2] = 1;
}
}
if (bd[h2] == 10) {
bf[h2] = 7;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 19) {
bd[h2] = 0;
if (bst[bsn] == 0) {
teleportsfx.start();
bst[bsn] = 8;
bsd[bsn] = 1;
bsf[bsn] = 15;
bsx[bsn] = bx[h2];
bsy[bsn] = by[h2] - 10;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 11) {
bf[h2] = 77;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 19) {
bd[h2] = 1;
if (bst[bsn] == 0) {
teleportsfx.start();
bst[bsn] = 8;
bsd[bsn] = 1;
bsf[bsn] = 15;
bsx[bsn] = bx[h2];
bsy[bsn] = by[h2] - 10;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
}
if (bd[h2] == 90) {
bf[h2] = 300 + bs[h2];
bl[1] = 50 + (200 - dif);
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 49) {
bd[h2] = 0;
bg[h2] = 0;
}
}
if (bd[h2] == 100) {
bf[h2] = 200 + bs[h2];
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
bl[h2] = 1;
if (bs[h2] > 49) {
bt[h2] = 0;
bx[h2] = -2000;
}
}
bhits();
if ((bl[h2] < 1) and (bd[h2] < 100)) {
if (h3 > 4) {
bossdeath.start();
}
money = money + 100;
bd[h2] = 100;
bs[h2] = 1;
}
}
if ((bl[h2] > 0) and (bt[h2] > 0)) {
if (bx[h2] > 370) {
bx[h2] = 370;
}
if (bx[h2] < 30) {
bx[h2] = 30;
}
}
h2++;
}
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if ((((bsx[h1] > 420) or (bsx[h1] < -20)) or (bsy[h1] > 20)) or (bsy[h1] < -170)) {
bst[h1] = 0;
bsf[h1] = 80;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 1) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 6;
bsf[h1] = 2;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 6;
bsf[h1] = 3;
}
if ((((((bsx[h1] + 3) > (px - 12)) and ((bsx[h1] - 3) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 8;
bst[h1] = 0;
bsf[h1] = 40;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 2) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 3;
bsy[h1] = bsy[h1] - 6;
bsf[h1] = 36;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 3;
bsy[h1] = bsy[h1] - 6;
bsf[h1] = 37;
}
if (bsd[h1] == 2) {
bsx[h1] = bsx[h1] + 2;
bsy[h1] = bsy[h1] + 6;
bsf[h1] = 36;
}
if (bsd[h1] == 3) {
bsx[h1] = bsx[h1] - 2;
bsy[h1] = bsy[h1] + 6;
bsf[h1] = 37;
}
if (bsy[h1] < -150) {
bsd[h1] = bsd[h1] + 2;
}
if (bsy[h1] > -10) {
bsd[h1] = bsd[h1] - 2;
}
if ((((((bsx[h1] + 4) > (px - 12)) and ((bsx[h1] - 4) < (px + 12))) and ((bsy[h1] + 4) > (py - 26))) and ((bsy[h1] - 4) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 10;
bst[h1] = 0;
bsf[h1] = 40;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 3) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 7;
bsf[h1] = 4;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 7;
bsf[h1] = 5;
}
if ((((((bsx[h1] + 6) > (px - 12)) and ((bsx[h1] - 6) < (px + 12))) and ((bsy[h1] + 4) > (py - 26))) and ((bsy[h1] - 4) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 16;
bst[h1] = 0;
bsf[h1] = 40;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 4) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 8;
bsf[h1] = 6;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 8;
bsf[h1] = 7;
}
if (((((bsx[h1] + 15) > (px - 12)) and ((bsx[h1] - 15) < (px + 12))) and ((bsy[h1] + 5) > (py - 26))) and ((bsy[h1] - 5) < (py - 2))) {
melee.start();
i = 15;
pl = pl - 25;
bst[h1] = 0;
bsf[h1] = 40;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 5) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 8;
bsf[h1] = 8;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 8;
bsf[h1] = 9;
}
if ((((((bsx[h1] + 4) > (px - 12)) and ((bsx[h1] - 4) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 8;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 6) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 5;
bsf[h1] = 10;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 5;
bsf[h1] = 11;
}
if (py < bsy[h1]) {
bsy[h1] = bsy[h1] - random(2);
}
if (py > bsy[h1]) {
bsy[h1] = bsy[h1] + 2;
}
if (((bsx[h1] > 370) or (bsx[h1] < 30)) or (bsy[h1] > -25)) {
boom3.start();
bst[h1] = 7;
bsd[h1] = 1;
}
if ((((((bsx[h1] + 5) > (px - 12)) and ((bsx[h1] - 5) < (px + 12))) and ((bsy[h1] + 5) > (py - 20))) and ((bsy[h1] - 5) < (py - 2))) and (i < 1)) {
pl = pl - 10;
boom3.start();
bst[h1] = 7;
bsd[h1] = 1;
}
}
if (bst[h1] == 7) {
bsf[h1] = 11 + bsd[h1];
bsd[h1] = bsd[h1] + 1;
if (bsd[h1] > 4) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if ((((((bsx[h1] + 30) > (px - 12)) and ((bsx[h1] - 30) < (px + 12))) and ((bsy[h1] + 30) > (py - 26))) and ((bsy[h1] - 30) < (py - 2))) and (i < 1)) {
pl = pl - 7;
py = py - 10;
if (wenergy > 2) {
wenergy = wenergy - 2;
}
}
}
if (bst[h1] == 8) {
bsf[h1] = 14 + bsd[h1];
bsx[h1] = bx[1];
bsy[h1] = by[1] - 10;
bsd[h1] = bsd[h1] + 1;
if (bsd[h1] > 20) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (((((bsx[h1] + 35) > (px - 12)) and ((bsx[h1] - 35) < (px + 12))) and ((bsy[h1] + 35) > (py - 26))) and ((bsy[h1] - 35) < (py - 2))) {
pl = pl - 4;
}
}
if (bst[h1] == 9) {
bsf[h1] = 38;
bsx[h1] = bx[2];
bsy[h1] = by[2] - 20;
bg[2] = 2;
if (((((bsx[h1] + 12) > (px - 12)) and ((bsx[h1] - 12) < (px + 12))) and ((bsy[h1] + 12) > (py - 26))) and ((bsy[h1] - 12) < (py - 2))) {
pl = pl - 2;
}
bsd[h1] = bsd[h1] + 1;
if (bsd[h1] > 60) {
bg[2] = 0;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
}
Frame 2860
function boss15() {
h2 = 1;
if (bt[h2] == 72) {
if (bd[h2] == 0) {
bf[h2] = 2;
h3 = random(120 + dif);
if (h3 < 18) {
bd[h2] = 1;
bs[h2] = 1;
}
if ((h3 > 30) and (h3 < 40)) {
bd[h2] = 2;
bs[h2] = 1;
}
if ((h3 > 50) and (h3 < 55)) {
bd[h2] = 3;
bs[h2] = 1;
}
if ((h3 > 60) and (h3 < 70)) {
bd[h2] = 4;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 3;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 4;
}
if ((bs[h2] > 4) and (bs[h2] < 9)) {
bf[h2] = 5;
if ((bst[bsn] == 0) and (bs[h2] == 8)) {
laser.start();
bst[bsn] = 1;
bsd[bsn] = 0;
bsf[bsn] = 2;
bsx[bsn] = (bx[h2] - 50) + random(200);
bsy[bsn] = (by[h2] - 20) - random(150);
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
h3 = random(15);
if (h3 < 2) {
bs[h2] = 5;
}
}
}
if (bs[h2] > 8) {
bf[h2] = 4;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 10) {
bd[h2] = 0;
}
}
if (bd[h2] == 2) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 6;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 7;
}
if ((bs[h2] > 4) and (bs[h2] < 9)) {
bf[h2] = 8;
if (bs[h2] == 8) {
if (bst[bsn] == 0) {
boom2.start();
bst[bsn] = 3;
bsd[bsn] = 0;
bsf[bsn] = 3;
bsx[bsn] = bx[h2] + 15;
bsy[bsn] = by[h2] - 95;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if ((bs[h2] > 8) and (bs[h2] < 11)) {
bf[h2] = 7;
}
if (bs[h2] > 10) {
bf[h2] = 6;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 12) {
bd[h2] = 0;
}
}
if (bd[h2] == 3) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 9;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 10;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 11;
}
if ((bs[h2] > 6) and (bs[h2] < 9)) {
bf[h2] = 12;
}
if ((bs[h2] > 8) and (bs[h2] < 11)) {
bf[h2] = 13;
}
if ((bs[h2] > 10) and (bs[h2] < 13)) {
bf[h2] = 14;
}
if ((bs[h2] > 12) and (bs[h2] < 55)) {
bf[h2] = 15;
if (((((((bs[h2] == 24) or (bs[h2] == 29)) or (bs[h2] == 34)) or (bs[h2] == 39)) or (bs[h2] == 44)) or (bs[h2] == 49)) or (bs[h2] == 54)) {
if (bst[bsn] == 0) {
lightning.start();
bst[bsn] = 4;
bsd[bsn] = -2 + random(5);
bsf[bsn] = 5;
bsx[bsn] = bx[h2] - 75;
bsy[bsn] = by[h2] - 50;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if ((bs[h2] > 54) and (bs[h2] < 57)) {
bf[h2] = 13;
}
if ((bs[h2] > 56) and (bs[h2] < 59)) {
bf[h2] = 11;
}
if (bs[h2] > 58) {
bf[h2] = 9;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 60) {
bd[h2] = 0;
}
}
if (bd[h2] == 4) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 16;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 17;
}
if (bs[h2] > 6) {
bf[h2] = 18;
}
bs[h2] = (bs[h2] + 1) + random(2);
if (bs[h2] > 8) {
bd[h2] = 6;
bf[h2] = 20;
bx[h2] = -300;
by[h2] = -300;
bs[h2] = 1;
}
}
if (bd[h2] == 5) {
if ((bs[h2] > 0) and (bs[h2] < 4)) {
bf[h2] = 18;
}
if ((bs[h2] > 3) and (bs[h2] < 7)) {
bf[h2] = 17;
}
if (bs[h2] > 6) {
bf[h2] = 16;
}
bs[h2] = (bs[h2] + 1) + random(2);
if (bs[h2] > 10) {
bd[h2] = 0;
}
}
if (bd[h2] == 6) {
bf[h2] = 20;
if (bs[h2] == 16) {
if (bst[bsn] == 0) {
boom2.start();
rocket.start();
bst[bsn] = 5;
bd[5] = (px - 180) / 15;
bd[6] = (py + 160) / 15;
bsd[bsn] = 0;
bsf[bsn] = 3;
bsx[bsn] = 180;
bsy[bsn] = -150;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
h3 = random(9);
if (h3 < 2) {
bs[h2] = 1;
}
}
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 30) {
bd[h2] = 5;
bs[h2] = 1;
bx[h2] = 200;
by[h2] = -20;
}
}
if (bd[h2] == 90) {
bf[h2] = 300 + bs[h2];
bl[1] = 200 + (200 - dif);
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 98) {
bd[h2] = 0;
bg[h2] = 0;
}
}
if (bd[h2] == 100) {
bf[h2] = 200 + bs[h2];
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 98) {
if (game == 2) {
gotoAndPlay (3451);
}
if (game != 2) {
gotoAndPlay (2556);
}
}
}
if (((bl[h2] > 0) and (i < 1)) and (bd[h2] < 4)) {
if ((((px - 20) < 400) and ((px + 20) > (bx[h2] - 30))) and (py > (by[h2] - 200))) {
melee.start();
pl = pl - 10;
i = 10;
}
}
}
bl[1] = bl[2];
h2 = 2;
if ((bl[2] < 1) and (bd[1] < 100)) {
bossdeath.start();
boom3.start();
bd[1] = 100;
bs[1] = 1;
bx[1] = 200;
by[1] = -20;
}
bhits();
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if ((((bsx[h1] > 380) or (bsx[h1] < -20)) or (bsy[h1] > 20)) or (bsy[h1] < -280)) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 1) {
bsf[h1] = 2;
bsx[h1] = bsx[h1] - 6;
if ((py - 10) < bsy[h1]) {
bsy[h1] = bsy[h1] - 3;
}
if ((py - 10) > bsy[h1]) {
bsy[h1] = bsy[h1] + 3;
}
if ((((((bsx[h1] + 4) > (px - 12)) and ((bsx[h1] - 4) < (px + 12))) and ((bsy[h1] + 4) > (py - 26))) and ((bsy[h1] - 4) < (py - 2))) and (i < 1)) {
melee.start();
wenergy = wenergy - 4;
if (wenergy < 1) {
wenergy = 1;
}
i = 15;
pl = pl - 10;
bst[h1] = 0;
bsf[h1] = 20;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 3) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] - 4;
bsf[h1] = 3;
}
if (bsd[h1] == 1) {
bsy[h1] = bsy[h1] + 4;
bsf[h1] = 4;
}
if (((bsx[h1] - 10) < px) and (bsd[h1] == 0)) {
bsd[h1] = 1;
bsy[h1] = bsy[h1] + 5;
}
if ((((((bsx[h1] + 8) > (px - 12)) and ((bsx[h1] - 8) < (px + 12))) and ((bsy[h1] + 8) > (py - 26))) and ((bsy[h1] - 8) < (py - 2))) and (i < 1)) {
boom3.start();
i = 15;
pl = pl - 20;
bst[h1] = 0;
bsf[h1] = 20;
bsx[h1] = -2000;
bsy[h1] = -2000;
wenergy = wenergy - 10;
if (wenergy < 1) {
wenergy = 1;
}
}
}
if (bst[h1] == 4) {
bsf[h1] = 5;
bsx[h1] = bsx[h1] - 5;
bsy[h1] = bsy[h1] + bsd[h1];
if (((((bsx[h1] + 12) > (px - 12)) and ((bsx[h1] - 12) < (px + 12))) and ((bsy[h1] + 20) > (py - 20))) and ((bsy[h1] - 20) < (py - 2))) {
pl = pl - 4;
wenergy = wenergy - 2;
if (wenergy < 1) {
wenergy = 1;
}
}
}
if (bst[h1] == 5) {
bsf[h1] = 5 + bsd[h1];
bsx[h1] = bsx[h1] + bd[5];
bsy[h1] = bsy[h1] + bd[6];
bsd[h1] = bsd[h1] + 1;
if (bsd[h1] > 11) {
boom3.start();
bst[h1] = 6;
bsd[h1] = 1;
bsf[h1] = 30;
}
}
if (bst[h1] == 6) {
bsf[h1] = 17 + bsd[h1];
bsd[h1] = bsd[h1] + 1;
if (((((bsx[h1] + 22) > (px - 12)) and ((bsx[h1] - 22) < (px + 12))) and ((bsy[h1] + 22) > (py - 26))) and ((bsy[h1] - 22) < (py - 2))) {
pl = pl - 1;
wenergy = wenergy - 5;
if (wenergy < 1) {
wenergy = 1;
}
}
if (bsd[h1] > 33) {
bst[h1] = 0;
bsf[h1] = 20;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
}
Frame 2861
function boss16() {
h2 = 1;
if (bt[h2] == 76) {
if (timer < 61) {
bx[h2] = bx[h2] + 1;
}
if (timer > 60) {
bx[h2] = bx[h2] - 1;
}
if (bd[h2] == 0) {
bf[h2] = 2;
h3 = random(100 + dif);
if ((h3 < 30) and (px < (bx[h2] - 30))) {
bd[h2] = 1;
bs[h2] = 1;
}
if (((h3 > 40) and (h3 < 55)) and (px > (bx[h2] - 90))) {
zeroswing.start();
lightning.start();
bd[h2] = 2;
bs[h2] = 1;
}
if (((h3 > 60) and (h3 < 68)) or ((h3 < 80) and (px > (bx[h2] - 30)))) {
bossdeath.start();
bd[h2] = 3;
bs[h2] = 1;
}
}
if (bd[h2] == 1) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 3;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 4;
}
if ((bs[h2] > 4) and (bs[h2] < 16)) {
bf[h2] = 5;
if ((bst[bsn] == 0) and (bs[h2] == 14)) {
boom1.start();
lightning.start();
bst[bsn] = 3;
bsd[bsn] = (py + 70) / 15;
bsf[bsn] = 2;
bsx[bsn] = bx[h2] - 60;
bsy[bsn] = by[h2];
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
h3 = random(15);
if (h3 < 2) {
bs[h2] = 5;
}
}
}
if (bs[h2] > 15) {
bf[h2] = 6;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 17) {
bd[h2] = 0;
}
}
if (bd[h2] == 2) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 7;
}
if ((bs[h2] > 2) and (bs[h2] < 15)) {
bf[h2] = 8;
}
if ((bs[h2] > 14) and (bs[h2] < 17)) {
bf[h2] = 9;
}
if ((bs[h2] > 16) and (bs[h2] < 19)) {
bf[h2] = 10;
}
if ((bs[h2] > 18) and (bs[h2] < 21)) {
bf[h2] = 11;
}
if ((bs[h2] > 20) and (bs[h2] < 23)) {
bf[h2] = 12;
}
if ((bs[h2] > 22) and (bs[h2] < 25)) {
bf[h2] = 13;
}
if ((bs[h2] > 24) and (bs[h2] < 27)) {
bf[h2] = 14;
}
if (bs[h2] > 26) {
bf[h2] = 15;
}
if ((((bs[h2] > 14) and (bs[h2] < 24)) and (px > (bx[h2] - 110))) and (px < (bx[h2] + 20))) {
pl = pl - 5;
wenergy = wenergy - 4;
if (wenergy < 1) {
wenergy = 1;
}
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 28) {
bd[h2] = 0;
}
}
if (bd[h2] == 3) {
if ((bs[h2] > 0) and (bs[h2] < 3)) {
bf[h2] = 16;
}
if ((bs[h2] > 2) and (bs[h2] < 5)) {
bf[h2] = 17;
}
if ((bs[h2] > 4) and (bs[h2] < 7)) {
bf[h2] = 18;
}
if ((bs[h2] > 6) and (bs[h2] < 25)) {
bf[h2] = 19;
if ((bst[bsn] == 0) and (bs[h2] == 20)) {
lightning.start();
bst[bsn] = 4;
bsd[bsn] = 15;
bsf[bsn] = 2;
bsx[bsn] = (px - 70) + (random(2) * 140);
bsy[bsn] = 0;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
h3 = random(15);
if (px > (bx[h2] + 10)) {
h3 = h3 - 6;
}
if ((h3 < 5) and (pd < 18)) {
bs[h2] = 7;
}
}
}
if (bs[h2] > 24) {
bf[h2] = 20;
}
bs[h2] = bs[h2] + 1;
if (bs[h2] > 26) {
bd[h2] = 0;
}
}
if (bd[h2] == 90) {
bf[h2] = 300 + bs[h2];
bx[h2] = bx[h2] + 2;
by[h2] = by[h2] + 1;
bl[1] = 300 + (200 - dif);
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 98) {
bd[h2] = 0;
bg[h2] = 0;
}
}
if (bd[h2] == 100) {
bf[h2] = 200 + bs[h2];
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 98) {
if (game == 3) {
gotoAndPlay (3587);
}
if (game != 3) {
gotoAndPlay (2556);
}
}
}
}
bhits();
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if ((((bsx[h1] > 480) or (bsx[h1] < -80)) or (bsy[h1] > 20)) or (bsy[h1] < -280)) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 3) {
bsf[h1] = 2;
bsx[h1] = bsx[h1] - 7;
bsy[h1] = bsy[h1] + bsd[h1];
if ((((((bsx[h1] + 7) > (px - 12)) and ((bsx[h1] - 7) < (px + 12))) and ((bsy[h1] + 7) > (py - 26))) and ((bsy[h1] - 7) < (py - 2))) and (i < 1)) {
boom1.start();
i = 15;
pl = pl - 10;
wenergy = wenergy - 1;
if (wenergy < 1) {
wenergy = 1;
}
bst[h1] = 0;
bsf[h1] = 30;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 4) {
bsf[h1] = 3;
if (px < bsx[h1]) {
bsx[h1] = bsx[h1] - 4;
}
if (px > bsx[h1]) {
bsx[h1] = bsx[h1] + 4;
}
bsd[h1] = bsd[h1] - 1;
if (bsd[h1] < 1) {
bst[h1] = 0;
bsf[h1] = 20;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if ((((bsx[h1] + 8) > (px - 12)) and ((bsx[h1] - 8) < (px + 12))) and (i < 1)) {
pl = pl - 4;
wenergy = wenergy - 6;
if (wenergy < 1) {
wenergy = 1;
}
}
}
}
h1++;
}
}
Frame 2862
function cp1() {
switch (pd) {
case 0 :
if (pd == 0) {
pf = 2 + (150 * xz);
if ((xz == 4) and (charge > 0)) {
if ((charge > 0) and (charge < 7)) {
pf = 624 - charge;
}
}
if ((xz == 2) and (charge > 0)) {
if ((charge > 0) and (charge < 7)) {
pf = 324 - charge;
}
}
if ((xz == 1) and (charge > 0)) {
if ((charge > 0) and (charge < 7)) {
pf = 174 - charge;
}
if ((charge > 6) and (charge < 12)) {
pf = 185 - charge;
}
if (charge > 11) {
pf = 196 - charge;
}
if ((Key.isDown(kattack) and (ptime == 0)) and (charge < 4)) {
ptime = 2;
charge = 12;
if (((((boss[1] + boss[3]) + boss[6]) > 1) and ((pd == 0) or (pd == 1))) and (pst[psn] == 0)) {
pst[psn] = 11;
psd[psn] = pd;
psx[psn] = px + 13;
psy[psn] = py - 14;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (((Key.isDown(kattack) and (ptime < 2)) and (charge > 6)) and (charge < 10)) {
zeroswing.start();
ptime = 2;
charge = 17;
if (((((boss[1] + boss[3]) + boss[6]) > 2) and ((pd == 0) or (pd == 1))) and (pst[psn] == 0)) {
pst[psn] = 11;
psd[psn] = pd;
psx[psn] = px + 13;
psy[psn] = py - 17;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
}
if ((xz == 1) and (boss[5] > 0)) {
if ((((pst[psn] == 0) and Key.isDown(kspec)) and (((pst[1] != 13) and (pst[2] != 13)) and (pst[3] != 13))) and (wenergy > 10)) {
pst[psn] = 13;
psd[psn] = 40;
psx[psn] = px;
psy[psn] = py;
wenergy = wenergy - 10;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (Key.isDown(kright)) {
pd = 2;
}
if (Key.isDown(kleft)) {
pd = 1;
}
if (Key.isDown(kdash)) {
pd = 4;
}
if (Key.isDown(kjump)) {
pd = 6;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (Key.isDown(kjump) and Key.isDown(kdash)) {
pd = 8;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (((xz == 2) and Key.isDown(kspec)) and (wenergy > 14)) {
electric.start();
pd = 16;
wenergy = wenergy - 14;
ps = 9;
}
if ((xz == 5) and Key.isDown(kspec)) {
electric.start();
pd = 16;
ps = 8;
}
if ((((xz == 5) and Key.isDown(kcrush)) and (ptime < 1)) and (wenergy > 19)) {
teleportsfx.start();
wenergy = wenergy - 10;
pd = 18;
ps = 13;
}
}
break;
case 1 :
if (pd != 1) {
break;
}
pf = 72 + (150 * xz);
if ((xz == 4) and (charge > 0)) {
if ((charge > 0) and (charge < 7)) {
pf = 694 - charge;
}
}
if ((xz == 2) and (charge > 0)) {
if ((charge > 0) and (charge < 7)) {
pf = 394 - charge;
}
}
if ((xz == 1) and (charge > 0)) {
if ((charge > 0) and (charge < 7)) {
pf = 244 - charge;
}
if ((charge > 6) and (charge < 12)) {
pf = 255 - charge;
}
if (charge > 11) {
pf = 266 - charge;
}
if ((Key.isDown(kattack) and (ptime == 0)) and (charge < 4)) {
ptime = 2;
charge = 12;
if (((((boss[1] + boss[3]) + boss[6]) > 1) and ((pd == 0) or (pd == 1))) and (pst[psn] == 0)) {
pst[psn] = 11;
psd[psn] = pd;
psx[psn] = px - 13;
psy[psn] = py - 14;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (((Key.isDown(kattack) and (ptime < 2)) and (charge > 6)) and (charge < 10)) {
zeroswing.start();
ptime = 2;
charge = 17;
if (((((boss[1] + boss[3]) + boss[6]) > 2) and ((pd == 0) or (pd == 1))) and (pst[psn] == 0)) {
pst[psn] = 11;
psd[psn] = pd;
psx[psn] = px - 13;
psy[psn] = py - 17;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
}
if ((xz == 1) and (boss[5] > 0)) {
if ((((pst[psn] == 0) and Key.isDown(kspec)) and (((pst[1] != 13) and (pst[2] != 13)) and (pst[3] != 13))) and (wenergy > 10)) {
pst[psn] = 13;
psd[psn] = 40;
psx[psn] = px;
psy[psn] = py;
wenergy = wenergy - 10;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (Key.isDown(kright)) {
pd = 0;
}
if (Key.isDown(kleft)) {
pd = 3;
}
if (Key.isDown(kdash)) {
pd = 5;
}
if (Key.isDown(kjump)) {
pd = 7;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (Key.isDown(kjump) and Key.isDown(kdash)) {
pd = 9;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (((xz == 2) and Key.isDown(kspec)) and (wenergy > 14)) {
electric.start();
wenergy = wenergy - 14;
pd = 17;
ps = 9;
}
if ((xz == 5) and Key.isDown(kspec)) {
electric.start();
pd = 17;
ps = 8;
}
if (!((((xz == 5) and Key.isDown(kcrush)) and (ptime < 1)) and (wenergy > 19))) {
break;
}
teleportsfx.start();
wenergy = wenergy - 10;
pd = 19;
ps = 13;
}
switch (pd) {
case 2 :
if (pd == 2) {
if ((pace > 0) and (pace < 3)) {
pf = 3 + (150 * xz);
}
if ((pace > 2) and (pace < 5)) {
pf = 4 + (150 * xz);
}
if ((pace > 4) and (pace < 7)) {
pf = 5 + (150 * xz);
}
if ((pace > 6) and (pace < 9)) {
pf = 6 + (150 * xz);
}
if ((pace > 8) and (pace < 11)) {
pf = 7 + (150 * xz);
}
if ((pace > 10) and (pace < 13)) {
pf = 8 + (150 * xz);
}
if ((pace > 12) and (pace < 15)) {
pf = 9 + (150 * xz);
}
if ((pace > 14) and (pace < 17)) {
pf = 10 + (150 * xz);
}
px = px + 4;
if (enhan[2] == 1) {
px = px + 1;
}
if ((xz == 4) and (charge > 0)) {
pf = 624 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 324 - charge;
px = px - 4;
}
if ((xz == 1) and (charge > 0)) {
pf = 174 - charge;
px = px - 4;
}
pd = 0;
if (Key.isDown(kright)) {
pd = 2;
}
if (Key.isDown(kleft)) {
pd = 1;
}
if (Key.isDown(kdash)) {
pd = 4;
}
if (Key.isDown(kjump)) {
pd = 6;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (((xz == 2) and Key.isDown(kspec)) and (wenergy > 14)) {
electric.start();
wenergy = wenergy - 14;
pd = 16;
ps = 9;
}
if ((xz == 5) and Key.isDown(kspec)) {
electric.start();
pd = 16;
ps = 8;
}
}
break;
case 3 :
if (pd != 3) {
break;
}
if ((pace > 0) and (pace < 3)) {
pf = 73 + (150 * xz);
}
if ((pace > 2) and (pace < 5)) {
pf = 74 + (150 * xz);
}
if ((pace > 4) and (pace < 7)) {
pf = 75 + (150 * xz);
}
if ((pace > 6) and (pace < 9)) {
pf = 76 + (150 * xz);
}
if ((pace > 8) and (pace < 11)) {
pf = 77 + (150 * xz);
}
if ((pace > 10) and (pace < 13)) {
pf = 78 + (150 * xz);
}
if ((pace > 12) and (pace < 15)) {
pf = 79 + (150 * xz);
}
if ((pace > 14) and (pace < 17)) {
pf = 80 + (150 * xz);
}
px = px - 4;
if (enhan[2] == 1) {
px = px - 1;
}
if ((xz == 4) and (charge > 0)) {
pf = 694 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 394 - charge;
px = px + 4;
}
if ((xz == 1) and (charge > 0)) {
pf = 244 - charge;
px = px + 4;
}
pd = 1;
if (Key.isDown(kright)) {
pd = 0;
}
if (Key.isDown(kleft)) {
pd = 3;
}
if (Key.isDown(kdash)) {
pd = 5;
}
if (Key.isDown(kjump)) {
pd = 7;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (((xz == 2) and Key.isDown(kspec)) and (wenergy > 14)) {
electric.start();
wenergy = wenergy - 14;
pd = 17;
ps = 9;
}
if (!((xz == 5) and Key.isDown(kspec))) {
break;
}
electric.start();
pd = 17;
ps = 8;
}
switch (pd) {
case 4 :
if (pd == 4) {
pf = 13 + (150 * xz);
if ((xz == 4) and (charge > 0)) {
pf = 640 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 340 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 190 - charge;
}
px = px + 7;
if (enhan[3] == 1) {
px = px + 2;
}
pd = 0;
if (Key.isDown(kspec) and (xz == 1)) {
if (((boss[4] > 0) and (pst[psn] == 0)) and (((pst[1] != 12) and (pst[2] != 12)) and (pst[3] != 12))) {
pst[psn] = 12;
psd[psn] = 0;
psx[psn] = px + 30;
psy[psn] = py - 12;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (Key.isDown(kdash)) {
pd = 4;
}
if (Key.isDown(kjump)) {
pd = 8;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (((xz == 2) and Key.isDown(kspec)) and (wenergy > 14)) {
electric.start();
wenergy = wenergy - 14;
pd = 16;
ps = 9;
}
if ((xz == 5) and Key.isDown(kspec)) {
electric.start();
pd = 16;
ps = 8;
}
}
break;
case 5 :
if (pd != 5) {
break;
}
pf = 83 + (150 * xz);
if ((xz == 4) and (charge > 0)) {
pf = 710 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 410 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 260 - charge;
}
px = px - 7;
if (enhan[3] == 1) {
px = px - 2;
}
pd = 1;
if (Key.isDown(kspec) and (xz == 1)) {
if (((boss[4] > 0) and (pst[psn] == 0)) and (((pst[1] != 12) and (pst[2] != 12)) and (pst[3] != 12))) {
pst[psn] = 12;
psd[psn] = 1;
psx[psn] = px - 30;
psy[psn] = py - 12;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (Key.isDown(kdash)) {
pd = 5;
}
if (Key.isDown(kjump)) {
pd = 9;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (((xz == 2) and Key.isDown(kspec)) and (wenergy > 14)) {
electric.start();
wenergy = wenergy - 14;
pd = 17;
ps = 9;
}
if (!((xz == 5) and Key.isDown(kspec))) {
break;
}
electric.start();
pd = 17;
ps = 8;
}
switch (pd) {
case 6 :
if (pd == 6) {
if (pj <= 0) {
pf = 11 + (150 * xz);
}
if (pj > 0) {
pf = 12 + (150 * xz);
}
if ((xz == 4) and (charge > 0)) {
pf = 646 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 346 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 196 - charge;
}
if (Key.isDown(kright)) {
px = px + 4;
}
if (Key.isDown(kleft)) {
px = px - 5;
pd = 7;
}
}
break;
case 7 :
if (pd == 7) {
if (pj <= 0) {
pf = 81 + (150 * xz);
}
if (pj > 0) {
pf = 82 + (150 * xz);
}
if ((xz == 4) and (charge > 0)) {
pf = 716 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 416 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 266 - charge;
}
if (Key.isDown(kright)) {
px = px + 4;
pd = 6;
}
if (Key.isDown(kleft)) {
px = px - 5;
}
}
break;
case 8 :
if (pd == 8) {
if (pj <= 0) {
pf = 11 + (150 * xz);
}
if (pj > 0) {
pf = 12 + (150 * xz);
}
if ((xz == 4) and (charge > 0)) {
pf = 646 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 346 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 196 - charge;
}
if (Key.isDown(kright)) {
px = px + 7;
}
if (Key.isDown(kleft)) {
px = px - 7;
pd = 9;
}
}
break;
case 9 :
if (pd == 9) {
if (pj <= 0) {
pf = 81 + (150 * xz);
}
if (pj > 0) {
pf = 82 + (150 * xz);
}
if ((xz == 4) and (charge > 0)) {
pf = 716 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 416 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 266 - charge;
}
if (Key.isDown(kright)) {
px = px + 7;
pd = 8;
}
if (Key.isDown(kleft)) {
px = px - 7;
}
}
break;
case 10 :
if (pd == 10) {
pf = 16 + (150 * xz);
px = px + 4;
py = py - 4;
ps = ps + 1;
if (ps > 2) {
pd = 6;
pj = 2;
if (Key.isDown(kjump)) {
pd = 6;
pj = -9;
}
if ((Key.isDown(kright) and Key.isDown(kjump)) and Key.isDown(kdash)) {
pd = 8;
pj = -9;
}
if (Key.isDown(kleft) and Key.isDown(kjump)) {
pd = 7;
pj = -9;
}
if ((Key.isDown(kleft) and Key.isDown(kjump)) and Key.isDown(kdash)) {
pd = 9;
pj = -9;
}
}
}
break;
case 11 :
if (pd != 11) {
break;
}
pf = 86 + (150 * xz);
px = px - 5;
py = py - 4;
ps = ps + 1;
if (ps <= 2) {
break;
}
pd = 7;
pj = 2;
if (Key.isDown(kjump)) {
pd = 7;
pj = -9;
}
if (Key.isDown(kjump) and Key.isDown(kdash)) {
pd = 9;
pj = -9;
}
if (Key.isDown(kright) and Key.isDown(kjump)) {
pd = 6;
pj = -9;
}
if (!((Key.isDown(kright) and Key.isDown(kjump)) and Key.isDown(kdash))) {
break;
}
pd = 8;
pj = -9;
}
switch (pd) {
case 12 :
if (pd == 12) {
pf = 17 + (150 * xz);
if ((xz == 4) and (charge > 0)) {
pf = 652 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 352 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 202 - charge;
}
py = py + 2;
if (xz == 4) {
py = py - 2;
}
if (pwall == 0) {
pd = 6;
pj = 2;
}
if (pwall == 1) {
pd = 12;
pj = 0;
}
if (Key.isDown(kright)) {
pd = 6;
pj = 2;
px = px + 4;
}
if (Key.isDown(kjump)) {
pd = 10;
px = px + 4;
ps = 1;
}
}
break;
case 13 :
if (pd == 13) {
pf = 87 + (150 * xz);
if ((xz == 4) and (charge > 0)) {
pf = 722 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 422 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 272 - charge;
}
py = py + 2;
if (xz == 4) {
py = py - 2;
}
if (pwall == 0) {
pd = 7;
pj = 2;
}
if (pwall == 1) {
pd = 13;
pj = 0;
}
if (Key.isDown(kleft)) {
pd = 7;
pj = 2;
px = px - 5;
}
if (Key.isDown(kjump)) {
pd = 11;
px = px - 5;
ps = 1;
}
}
break;
case 14 :
if (pd == 14) {
if ((ps > -1) and (ps < 5)) {
pf = 14 + (150 * xz);
}
if ((ps > 4) and (ps < 9)) {
pf = 15 + (150 * xz);
}
if ((xz == 4) and (charge > 0)) {
pf = 658 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 358 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 208 - charge;
}
if (Key.isDown(kup) and (ptime < 1)) {
py = py - 4;
ps = ps + 1;
if (ps > 8) {
ps = 1;
}
}
if (Key.isDown(kdown) and (ptime < 1)) {
py = py + 4;
ps = ps + 1;
if (ps > 8) {
ps = 1;
}
}
if (Key.isDown(kleft)) {
pd = 15;
}
if (Key.isDown(kjump)) {
pd = 6;
px = px + 12;
pj = 2;
}
}
break;
case 15 :
if (pd != 15) {
break;
}
if ((ps > -1) and (ps < 5)) {
pf = 84 + (150 * xz);
}
if ((ps > 4) and (ps < 9)) {
pf = 85 + (150 * xz);
}
if ((xz == 4) and (charge > 0)) {
pf = 728 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 428 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 278 - charge;
}
if (Key.isDown(kup) and (ptime < 1)) {
py = py - 4;
ps = ps + 1;
if (ps > 8) {
ps = 1;
}
}
if (Key.isDown(kdown) and (ptime < 1)) {
py = py + 4;
ps = ps + 1;
if (ps > 8) {
ps = 1;
}
}
if (Key.isDown(kright)) {
pd = 14;
}
if (!Key.isDown(kjump)) {
break;
}
pd = 7;
px = px - 12;
pj = 2;
}
if ((pd > 5) and (pd < 10)) {
py = py + pj;
pj = pj + 4;
if (pj > 12) {
pj = 12;
}
if (Key.isDown(kjump)) {
pj = pj - 3;
}
}
h1 = 1;
while (h1 < 4) {
if (pst[h1] > 0) {
if ((xz == 0) or (xz == 3)) {
if (psd[h1] == 0) {
psx[h1] = psx[h1] + 12;
}
if (psd[h1] == 1) {
psx[h1] = psx[h1] - 12;
}
}
if (xz == 5) {
if (psd[h1] == 0) {
psx[h1] = psx[h1] + 10;
}
if (psd[h1] == 1) {
psx[h1] = psx[h1] - 10;
}
}
if ((((psx[h1] > (camx + 125)) or (psx[h1] < (camx - 125))) or (psy[h1] > (camy + 60))) or (psy[h1] < (camy - 110))) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
if (pst[h1] == 1) {
psf[h1] = 2;
}
if (pst[h1] == 2) {
if (psd[h1] == 0) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 3;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 4;
}
}
if (psd[h1] == 1) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 8;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 9;
}
}
}
if (pst[h1] == 3) {
if (psd[h1] == 0) {
if (((((pace == 1) or (pace == 5)) or (pace == 8)) or (pace == 11)) or (pace == 14)) {
psf[h1] = 5;
}
if ((((((pace == 2) or (pace == 3)) or (pace == 6)) or (pace == 9)) or (pace == 12)) or (pace == 15)) {
psf[h1] = 5;
}
if (((((pace == 4) or (pace == 7)) or (pace == 8)) or (pace == 13)) or (pace == 16)) {
psf[h1] = 7;
}
}
if (psd[h1] == 1) {
if (((((pace == 1) or (pace == 5)) or (pace == 8)) or (pace == 11)) or (pace == 14)) {
psf[h1] = 10;
}
if ((((((pace == 2) or (pace == 3)) or (pace == 6)) or (pace == 9)) or (pace == 12)) or (pace == 15)) {
psf[h1] = 11;
}
if (((((pace == 4) or (pace == 7)) or (pace == 8)) or (pace == 13)) or (pace == 16)) {
psf[h1] = 12;
}
}
}
if (pst[h1] == 4) {
if (psd[h1] == 0) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 14;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 15;
}
}
if (psd[h1] == 1) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 16;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 17;
}
}
}
if (pst[h1] == 5) {
psf[h1] = 18;
}
if (pst[h1] == 6) {
if (psd[h1] == 0) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 19;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 20;
}
}
if (psd[h1] == 1) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 21;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 22;
}
}
}
if (pst[h1] == 7) {
if (psd[h1] == 0) {
if (((((pace == 1) or (pace == 5)) or (pace == 8)) or (pace == 11)) or (pace == 14)) {
psf[h1] = 23;
}
if ((((((pace == 2) or (pace == 3)) or (pace == 6)) or (pace == 9)) or (pace == 12)) or (pace == 15)) {
psf[h1] = 24;
}
if (((((pace == 4) or (pace == 7)) or (pace == 8)) or (pace == 13)) or (pace == 16)) {
psf[h1] = 25;
}
}
if (psd[h1] == 1) {
if (((((pace == 1) or (pace == 5)) or (pace == 8)) or (pace == 11)) or (pace == 14)) {
psf[h1] = 26;
}
if ((((((pace == 2) or (pace == 3)) or (pace == 6)) or (pace == 9)) or (pace == 12)) or (pace == 15)) {
psf[h1] = 27;
}
if (((((pace == 4) or (pace == 7)) or (pace == 8)) or (pace == 13)) or (pace == 16)) {
psf[h1] = 28;
}
}
}
if (pst[h1] == 8) {
if (psd[h1] == 0) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 29;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 30;
}
}
if (psd[h1] == 1) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 31;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 32;
}
}
}
if (pst[h1] == 9) {
psf[h1] = 33;
psd[h1] = psd[h1] - 1;
if (psd[h1] < 3) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (pst[h1] == 10) {
psf[h1] = 34;
psd[h1] = psd[h1] - 1;
if (psd[h1] < 3) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (pst[h1] == 11) {
if (psd[h1] == 0) {
psf[h1] = 35;
psx[h1] = psx[h1] + 10;
if (psx[h1] > (px + 56)) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (psd[h1] == 1) {
psf[h1] = 36;
psx[h1] = psx[h1] - 10;
if (psx[h1] < (px - 56)) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
if (pst[h1] == 12) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
if ((Key.isDown(kspec) and (wenergy > 1)) and ((pd == 4) or (pd == 5))) {
pst[h1] = 12;
psy[h1] = py - 12;
wenergy = wenergy - 1;
if (psd[h1] == 0) {
psf[h1] = 37;
psx[h1] = px + 20;
}
if (psd[h1] == 1) {
psf[h1] = 38;
psx[h1] = px - 20;
}
}
}
if (pst[h1] == 13) {
psf[h1] = 39;
psx[h1] = px;
psy[h1] = py - 13;
psd[h1] = psd[h1] - 1;
if (psd[h1] < 1) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (pst[h1] == 14) {
psf[h1] = 40;
psd[h1] = psd[h1] - 1;
if (psd[h1] < 2) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (pst[h1] == 15) {
psy[h1] = (psy[h1] - 2) + random(5);
if (psd[h1] == 0) {
psf[h1] = 41;
psx[h1] = psx[h1] - random(8);
}
if (psd[h1] == 1) {
psf[h1] = 42;
psx[h1] = psx[h1] + random(8);
}
}
if (pst[h1] == 16) {
psf[h1] = 43;
psd[h1] = psd[h1] - 1;
if (psd[h1] < 2) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (pst[h1] == 17) {
if (psd[h1] == 0) {
psf[h1] = 44;
psx[h1] = psx[h1] - 3;
if (psx[h1] > (px + 40)) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (psd[h1] == 1) {
psf[h1] = 45;
psx[h1] = psx[h1] + 3;
if (psx[h1] < (px - 40)) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
if (pst[h1] == 18) {
psf[h1] = 46;
psx[h1] = px;
psy[h1] = py - 13;
psd[h1] = psd[h1] - 1;
if (psd[h1] < 2) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (pst[h1] == 19) {
psy[h1] = psy[h1] + 1;
if (psd[h1] == 0) {
psf[h1] = 47;
psx[h1] = psx[h1] - 5;
}
if (psd[h1] == 1) {
psf[h1] = 48;
psx[h1] = psx[h1] + 5;
}
}
if (pst[h1] == 20) {
psf[h1] = 49 + psd[h1];
if (psd[h1] == 0) {
psx[h1] = psx[h1] - 2;
if (psx[h1] > (camx + 80)) {
psd[h1] = random(2) + 6;
jump.start();
}
}
if (psd[h1] == 1) {
psx[h1] = psx[h1] + 2;
if (psx[h1] < (camx - 80)) {
psd[h1] = random(2) + 4;
jump.start();
}
}
if (psd[h1] == 2) {
psy[h1] = psy[h1] - 10;
if (psy[h1] < (camy - 80)) {
psd[h1] = (2 * random(2)) + 4;
jump.start();
}
}
if (psd[h1] == 3) {
psy[h1] = psy[h1] + 10;
if (psy[h1] > (camy + 30)) {
psd[h1] = (2 * random(2)) + 5;
jump.start();
}
}
if (psd[h1] == 4) {
psx[h1] = psx[h1] + 7;
psy[h1] = psy[h1] - 7;
if ((psx[h1] > (camx + 80)) or (psy[h1] < (camy - 80))) {
psd[h1] = (2 * random(2)) + 3;
jump.start();
}
}
if (psd[h1] == 5) {
psx[h1] = psx[h1] + 7;
psy[h1] = psy[h1] + 7;
if ((psx[h1] > (camx + 80)) or (psy[h1] > (camy + 30))) {
psd[h1] = (2 * random(2)) + 2;
jump.start();
}
}
if (psd[h1] == 6) {
psx[h1] = psx[h1] - 7;
psy[h1] = psy[h1] - 7;
if ((psx[h1] < (camx - 80)) or (psy[h1] < (camy - 80))) {
psd[h1] = (4 * random(2)) + 3;
jump.start();
}
}
if (psd[h1] == 7) {
psx[h1] = psx[h1] - 7;
psy[h1] = psy[h1] + 7;
if ((psx[h1] < (camx - 80)) or (psy[h1] > (camy + 30))) {
psd[h1] = (4 * random(2)) + 2;
jump.start();
}
}
}
if (pst[h1] == 21) {
psf[h1] = 57;
psd[h1] = psd[h1] - 1;
if (psd[h1] < 2) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
h1++;
}
switch (xz) {
case 0 :
if (xz == 0) {
if ((Key.isDown(kcrush) and ((pd == 0) or (pd == 1))) and (crusher == 100)) {
i = 20;
gotoAndPlay (2201);
}
if (((Key.isDown(kspec) and (boss[weap] > 0)) and (ptime == 0)) and (pst[psn] == 0)) {
if (((weap == 1) and (wenergy > 12)) and ((pd > -1) and (pd < 6))) {
buster.start();
wenergy = wenergy - 12;
ptime = 20;
pst[psn] = 14;
psy[psn] = py - 14;
psx[psn] = px;
psd[psn] = 18;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if ((((weap == 2) or (weap == 6)) or (weap == 7)) and (wenergy > 6)) {
buster.start();
wenergy = wenergy - 6;
ptime = 8;
pst[psn] = weap + 13;
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) {
psd[psn] = 0;
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) {
psd[psn] = 1;
}
if ((pd == 0) or (pd == 2)) {
psx[psn] = px + 13;
psy[psn] = py - 14;
}
if ((pd == 1) or (pd == 3)) {
psx[psn] = px - 13;
psy[psn] = py - 14;
}
if (pd == 4) {
psx[psn] = px + 15;
psy[psn] = py - 10;
}
if (pd == 5) {
psx[psn] = px - 15;
psy[psn] = py - 10;
}
if ((pd == 6) or (pd == 8)) {
psx[psn] = px + 14;
psy[psn] = py - 17;
}
if ((pd == 7) or (pd == 9)) {
psx[psn] = px - 14;
psy[psn] = py - 17;
}
if (pd == 10) {
psx[psn] = px - 13;
psy[psn] = py - 16;
}
if (pd == 11) {
psx[psn] = px + 13;
psy[psn] = py - 16;
}
if ((pd == 12) or (pd == 14)) {
psx[psn] = px + 13;
psy[psn] = py - 20;
}
if ((pd == 13) or (pd == 15)) {
psx[psn] = px - 13;
psy[psn] = py - 20;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if (((weap == 3) and (wenergy > 8)) and ((pd > -1) and (pd < 4))) {
buster.start();
wenergy = wenergy - 8;
ptime = 16;
pst[psn] = 16;
psy[psn] = py;
psx[psn] = px;
psd[psn] = 11;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if (((weap == 4) and (wenergy > 6)) and ((pd > -1) and (pd < 6))) {
buster.start();
wenergy = wenergy - 6;
ptime = 13;
pst[psn] = 17;
psy[psn] = py - 14;
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) {
psd[psn] = 0;
psx[psn] = px + 10;
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) {
psd[psn] = 1;
psx[psn] = px - 10;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if ((weap == 5) and (wenergy > 12)) {
buster.start();
wenergy = wenergy - 12;
ptime = 85;
pst[psn] = 18;
psy[psn] = py - 13;
psx[psn] = px;
psd[psn] = 72;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if (((weap == 8) and (wenergy > 12)) and ((pd > -1) and (pd < 6))) {
buster.start();
wenergy = wenergy - 12;
ptime = 20;
pst[psn] = 21;
psy[psn] = py;
psx[psn] = px;
psd[psn] = 28;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (ptime == 5) {
ptime = 0;
}
if (Key.isDown(kattack)) {
ptime = 2;
charge = charge + 1;
}
if (ptime > 0) {
pf = pf + 16;
if ((ptime == 1) and (pst[psn] == 0)) {
if (charge < 15) {
lilbuster.start();
pst[psn] = 1;
}
if ((charge > 14) and (charge < 40)) {
midbuster.start();
pst[psn] = 2;
}
if (charge > 39) {
maxbuster.start();
pst[psn] = 3;
}
charge = 0;
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) {
psd[psn] = 0;
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) {
psd[psn] = 1;
}
if ((pd == 0) or (pd == 2)) {
psx[psn] = px + 13;
psy[psn] = py - 14;
}
if ((pd == 1) or (pd == 3)) {
psx[psn] = px - 13;
psy[psn] = py - 14;
}
if (pd == 4) {
psx[psn] = px + 15;
psy[psn] = py - 10;
}
if (pd == 5) {
psx[psn] = px - 15;
psy[psn] = py - 10;
}
if ((pd == 6) or (pd == 8)) {
psx[psn] = px + 14;
psy[psn] = py - 17;
}
if ((pd == 7) or (pd == 9)) {
psx[psn] = px - 14;
psy[psn] = py - 17;
}
if (pd == 10) {
psx[psn] = px - 13;
psy[psn] = py - 16;
}
if (pd == 11) {
psx[psn] = px + 13;
psy[psn] = py - 16;
}
if ((pd == 12) or (pd == 14)) {
psx[psn] = px + 13;
psy[psn] = py - 20;
}
if ((pd == 13) or (pd == 15)) {
psx[psn] = px - 13;
psy[psn] = py - 20;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
}
return;
case 1 :
if (xz == 1) {
if ((Key.isDown(kcrush) and ((pd == 0) or (pd == 1))) and (crusher == 100)) {
i = 20;
gotoAndPlay (2101);
}
if (charge > 0) {
charge = charge - 1;
}
if ((charge == 7) or (charge == 12)) {
charge = 0;
}
if (Key.isDown(kattack)) {
if ((ptime == 0) and (charge == 0)) {
charge = 6;
zeroswing.start();
if ((((((boss[1] + boss[3]) + boss[6]) > 0) and ((pd > -1) and (pd < 4))) and (pst[psn] == 0)) and (wenergy > 2)) {
wenergy = wenergy - 2;
pst[psn] = 11;
if ((pd == 0) or (pd == 2)) {
psd[psn] = 0;
}
if ((pd == 1) or (pd == 3)) {
psd[psn] = 1;
}
if ((pd == 0) or (pd == 2)) {
psx[psn] = px + 13;
psy[psn] = py - 16;
}
if ((pd == 1) or (pd == 3)) {
psx[psn] = px - 13;
psy[psn] = py - 16;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if ((((boss[2] > 0) and ((pd == 4) or (pd == 5))) and (pst[psn] == 0)) and (wenergy > 2)) {
wenergy = wenergy - 2;
pst[psn] = 11;
psd[psn] = pd - 4;
if (pd == 4) {
psx[psn] = px + 15;
psy[psn] = py - 10;
}
if (pd == 5) {
psx[psn] = px - 15;
psy[psn] = py - 10;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if ((((boss[7] > 0) and (((pd > 5) and (pd < 10)) or ((pd > 11) and (pd < 16)))) and (pst[psn] == 0)) and (wenergy > 2)) {
wenergy = wenergy - 2;
pst[psn] = 11;
if ((((pd == 6) or (pd == 8)) or (pd == 12)) or (pd == 14)) {
psd[psn] = 0;
psx[psn] = px + 15;
psy[psn] = py - 10;
}
if ((((pd == 7) or (pd == 9)) or (pd == 13)) or (pd == 15)) {
psd[psn] = 1;
psx[psn] = px - 15;
psy[psn] = py - 10;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
ptime = 2;
}
if ((boss[8] > 0) and (charge > 0)) {
h1 = 1;
while (h1 < 7) {
if ((bst[h1] == 1) or (bst[h1] == 2)) {
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) {
if (((((bsx[h1] - 4) < (px + 35)) and ((bsx[h1] + 4) > px)) and ((bsy[h1] - 4) < (py + 7))) and ((bsy[h1] + 4) > (py - 32))) {
deflect.start();
bst[h1] = 0;
bsd[h1] = 0;
bsx[h1] = -2000;
bsy[h1] = -2000;
bsf[h1] = 7;
}
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) {
if (((((bsx[h1] + 4) > (px - 35)) and ((bsx[h1] - 4) < px)) and ((bsy[h1] - 4) < (py + 7))) and ((bsy[h1] + 4) > (py - 32))) {
deflect.start();
bst[h1] = 0;
bsd[h1] = 0;
bsx[h1] = -2000;
bsy[h1] = -2000;
bsf[h1] = 7;
}
}
}
h1++;
}
}
}
return;
case 2 :
if (xz == 2) {
if ((Key.isDown(kcrush) and ((pd == 0) or (pd == 1))) and (crusher == 100)) {
i = 20;
gotoAndPlay (1901);
}
if (charge > 0) {
charge = charge - 1;
}
if (Key.isDown(kattack)) {
if ((ptime == 0) and (charge == 0)) {
charge = 6;
deliaswing.start();
}
ptime = 2;
}
if (pd == 16) {
pf = 367 - ps;
ps = ps - 1;
if (ps < 1) {
pd = 0;
}
if (Key.isDown(kjump)) {
pd = 6;
pj = -10;
}
}
if (pd == 17) {
pf = 437 - ps;
ps = ps - 1;
if (ps < 1) {
pd = 1;
}
if (Key.isDown(kjump)) {
pd = 7;
pj = -10;
}
}
h1 = 1;
while (h1 < 7) {
if (((bst[h1] == 1) or (bst[h1] == 2)) and (charge > 0)) {
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) {
if (((((bsx[h1] - 4) < (px + 35)) and ((bsx[h1] + 4) > px)) and ((bsy[h1] - 4) < (py + 7))) and ((bsy[h1] + 4) > (py - 32))) {
deflect.start();
bst[h1] = 0;
bsd[h1] = 0;
bsx[h1] = -2000;
bsy[h1] = -2000;
bsf[h1] = 7;
}
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) {
if (((((bsx[h1] + 4) > (px - 35)) and ((bsx[h1] - 4) < px)) and ((bsy[h1] - 4) < (py + 7))) and ((bsy[h1] + 4) > (py - 32))) {
deflect.start();
bst[h1] = 0;
bsd[h1] = 0;
bsx[h1] = -2000;
bsy[h1] = -2000;
bsf[h1] = 7;
}
}
}
h1++;
}
}
return;
case 3 :
if (xz == 3) {
if ((Key.isDown(kcrush) and ((pd == 0) or (pd == 1))) and (crusher == 100)) {
i = 20;
gotoAndPlay (1701);
}
if (((Key.isDown(kspec) and (ptime < 1)) and (pst[psn] == 0)) and (wenergy > (18 - (((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8])))) {
ptime = 15;
wenergy = wenergy - (18 - (((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]));
boom1.start();
psd[psn] = 30;
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) {
pst[psn] = 9;
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) {
pst[psn] = 10;
}
psx[psn] = px;
psy[psn] = py - 20;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if (ptime == 5) {
ptime = 0;
}
if (Key.isDown(kattack) and (ptime < 1)) {
ptime = 3;
}
if (ptime > 0) {
pf = pf + 16;
if ((ptime == 1) and (pst[psn] == 0)) {
buster.start();
pst[psn] = 4;
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) {
psd[psn] = 0;
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) {
psd[psn] = 1;
}
if ((pd == 0) or (pd == 2)) {
psx[psn] = px + 13;
psy[psn] = py - 14;
}
if ((pd == 1) or (pd == 3)) {
psx[psn] = px - 13;
psy[psn] = py - 14;
}
if (pd == 4) {
psx[psn] = px + 15;
psy[psn] = py - 10;
}
if (pd == 5) {
psx[psn] = px - 15;
psy[psn] = py - 10;
}
if ((pd == 6) or (pd == 8)) {
psx[psn] = px + 14;
psy[psn] = py - 17;
}
if ((pd == 7) or (pd == 9)) {
psx[psn] = px - 14;
psy[psn] = py - 17;
}
if (pd == 10) {
psx[psn] = px - 13;
psy[psn] = py - 16;
}
if (pd == 11) {
psx[psn] = px + 13;
psy[psn] = py - 16;
}
if ((pd == 12) or (pd == 14)) {
psx[psn] = px + 13;
psy[psn] = py - 20;
}
if ((pd == 13) or (pd == 15)) {
psx[psn] = px - 13;
psy[psn] = py - 20;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
}
return;
case 4 :
if (xz == 4) {
if ((Key.isDown(kcrush) and ((pd == 0) or (pd == 1))) and (crusher == 100)) {
i = 20;
gotoAndPlay (1801);
}
if ((Key.isDown(kspec) and (i < 2)) and (wenergy > 15)) {
lightning.start();
i = 30 + (5 * (((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]));
wenergy = wenergy - 15;
}
if (charge > 0) {
charge = charge - 1;
}
if ((charge == 7) or (charge == 12)) {
charge = 0;
}
if (Key.isDown(kattack)) {
if ((ptime == 0) and (charge == 0)) {
charge = 6;
shothit.start();
}
ptime = 2;
}
}
return;
case 5 :
if (xz != 5) {
break;
}
if ((Key.isDown(kspec) and ((pd == 20) or (pd == 21))) and (crusher == 100)) {
i = 20;
gotoAndPlay (2001);
}
if (pd == 20) {
pf = 794;
charge = 0;
if (Key.isDown(kright)) {
px = px + 6;
}
if (Key.isDown(kleft)) {
px = px - 6;
if (ptime < 1) {
pd = 21;
}
}
if (Key.isDown(kup)) {
py = py - 6;
}
if (Key.isDown(kdown)) {
py = py + 6;
}
if (Key.isDown(kcrush) or (wenergy < 1)) {
pd = 6;
pj = 0;
ptime = 10;
}
}
if (pd == 21) {
pf = 864;
charge = 0;
if (Key.isDown(kright)) {
px = px + 6;
if (ptime < 1) {
pd = 20;
}
}
if (Key.isDown(kleft)) {
px = px - 6;
}
if (Key.isDown(kup)) {
py = py - 6;
}
if (Key.isDown(kdown)) {
py = py + 6;
}
if (Key.isDown(kcrush) or (wenergy < 1)) {
pd = 7;
pj = 0;
ptime = 10;
}
}
if (ptime == 3) {
ptime = 0;
}
if (((pd == 20) or (pd == 21)) and ((((pace == 3) or (pace == 7)) or (pace == 11)) or (pace == 15))) {
wenergy = wenergy - (9 - (((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]));
}
if (Key.isDown(kattack)) {
ptime = 2;
charge = charge + 1;
}
if ((ptime > 0) and (((pd < 16) or (pd == 20)) or (pd == 21))) {
pf = pf + 16;
if (pd == 20) {
pf = 795;
}
if (pd == 21) {
pf = 865;
}
if ((ptime == 1) and (pst[psn] == 0)) {
if (charge < 15) {
lilbuster.start();
pst[psn] = 5;
}
if ((charge > 14) and (charge < 40)) {
midbuster.start();
pst[psn] = 6;
}
if (charge > 39) {
maxbuster.start();
pst[psn] = 7;
}
if ((pd == 20) or (pd == 21)) {
pst[psn] = 8;
}
charge = 0;
if (((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) or (pd == 20)) {
psd[psn] = 0;
}
if (((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) or (pd == 21)) {
psd[psn] = 1;
}
if ((pd == 0) or (pd == 2)) {
psx[psn] = px + 13;
psy[psn] = py - 16;
}
if ((pd == 1) or (pd == 3)) {
psx[psn] = px - 13;
psy[psn] = py - 16;
}
if (pd == 4) {
psx[psn] = px + 18;
psy[psn] = py - 10;
}
if (pd == 5) {
psx[psn] = px - 18;
psy[psn] = py - 10;
}
if (pd == 20) {
psx[psn] = px + 24;
psy[psn] = py - 19;
}
if (pd == 21) {
psx[psn] = px - 24;
psy[psn] = py - 19;
}
if ((pd == 6) or (pd == 8)) {
psx[psn] = px + 14;
psy[psn] = py - 18;
}
if ((pd == 7) or (pd == 9)) {
psx[psn] = px - 14;
psy[psn] = py - 18;
}
if (pd == 10) {
psx[psn] = px - 13;
psy[psn] = py - 16;
}
if (pd == 11) {
psx[psn] = px + 13;
psy[psn] = py - 16;
}
if ((pd == 12) or (pd == 14)) {
psx[psn] = px + 13;
psy[psn] = py - 20;
}
if ((pd == 13) or (pd == 15)) {
psx[psn] = px - 13;
psy[psn] = py - 20;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (pd == 16) {
pf = 792 - ps;
ps = ps - 1;
if (ps < 1) {
pd = 0;
}
if (Key.isDown(kjump)) {
pd = 6;
pj = -10;
}
}
if (pd == 17) {
pf = 862 - ps;
ps = ps - 1;
if (ps < 1) {
pd = 1;
}
if (Key.isDown(kjump)) {
pd = 7;
pj = -10;
}
}
if (pd == 18) {
pf = 792;
ps = ps - 1;
if (ps < 1) {
pd = 20;
}
}
if (pd != 19) {
break;
}
pf = 862;
ps = ps - 1;
if (ps >= 1) {
break;
}
pd = 21;
}
}
function lrd() {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 35;
pj = 0;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and Key.isDown(kleft)) {
pd = 12;
}
if ((px < blx[h1]) and Key.isDown(kright)) {
pd = 13;
}
}
}
}
function cbl1() {
if (blt[h1] == 1) {
lrd();
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
}
}
function cbl2() {
if (blt[h1] == 2) {
if (((((px + 6) > (blx[h1] - blsx[h1])) and ((px - 6) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
if ((pd < 14) and (Key.isDown(kup) or Key.isDown(kdown))) {
px = blx[h1];
ps = 1;
if (((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 10)) or (pd == 12)) {
pd = 14;
}
if (((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 11)) or (pd == 13)) {
pd = 15;
}
}
if ((pd == 14) or (pd == 15)) {
if ((py - 26) < (bly[h1] - blsy[h1])) {
py = py + 4;
ps = 1;
}
if ((py - 12) > (bly[h1] + blsy[h1])) {
py = py - 4;
ps = 1;
}
}
}
}
}
function cbl3() {
if (blt[h1] == 3) {
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
pl = pl - 3;
if (enhan[8] > 0) {
pl = pl + 2;
}
}
}
}
function cbl3_2() {
if (blt[h1] == 3) {
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
pl = pl - 6;
if (enhan[8] > 0) {
pl = pl + 4;
}
}
}
}
function cbl3_3() {
if (blt[h1] == 3) {
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
pl = pl - 10;
if (enhan[8] > 0) {
pl = pl + 6;
}
}
}
}
function cbl4() {
if (blt[h1] == 4) {
h3 = (blx[h1] - px) / 3;
if (((((px + 2) > (blx[h1] + blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 26) < (bly[h1] + blsy[h1]))) and ((py + 5) >= (bly[h1] + h3))) {
h4 = 1;
py = bly[h1] + h3;
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
}
}
function cbl5() {
if (blt[h1] == 5) {
h3 = (px - blx[h1]) / 3;
if (((((px - 2) < (blx[h1] - blsx[h1])) and ((px + 10) > (blx[h1] - blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 26) < (bly[h1] + blsy[h1]))) and ((py + 5) >= (bly[h1] + h3))) {
h4 = 1;
py = bly[h1] + h3;
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
}
}
function cbl6() {
if (blt[h1] == 6) {
lrd();
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
px = px + 2;
}
if ((timer > 60) and (timer < 121)) {
px = px - 2;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
blx[h1] = blx[h1] + 2;
}
if ((timer > 60) and (timer < 121)) {
blx[h1] = blx[h1] - 2;
}
}
}
function cbl6_2() {
if (blt[h1] == 6) {
lrd();
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
px = px + 4;
}
if ((timer > 60) and (timer < 121)) {
px = px - 4;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
blx[h1] = blx[h1] + 4;
}
if ((timer > 60) and (timer < 121)) {
blx[h1] = blx[h1] - 4;
}
}
}
function cbl7() {
if (blt[h1] == 7) {
lrd();
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
px = px - 2;
}
if ((timer > 60) and (timer < 121)) {
px = px + 2;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
blx[h1] = blx[h1] - 2;
}
if ((timer > 60) and (timer < 121)) {
blx[h1] = blx[h1] + 2;
}
}
}
function cbl7_2() {
if (blt[h1] == 7) {
lrd();
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
px = px - 4;
}
if ((timer > 60) and (timer < 121)) {
px = px + 4;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
blx[h1] = blx[h1] - 4;
}
if ((timer > 60) and (timer < 121)) {
blx[h1] = blx[h1] + 4;
}
}
}
function cbl8() {
if (blt[h1] == 8) {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 38;
pj = 2;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and key.isdown(kleft)) {
pd = 12;
}
if ((px < blx[h1]) and key.isdown(kright)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
py = py - 2;
}
if ((timer > 60) and (timer < 121)) {
py = py + 2;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
bly[h1] = bly[h1] - 2;
}
if ((timer > 60) and (timer < 121)) {
bly[h1] = bly[h1] + 2;
}
}
}
function cbl8_2() {
if (blt[h1] == 8) {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 38;
pj = 2;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and key.isdown(kleft)) {
pd = 12;
}
if ((px < blx[h1]) and key.isdown(kright)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
py = py - 4;
}
if ((timer > 60) and (timer < 121)) {
py = py + 4;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
bly[h1] = bly[h1] - 4;
}
if ((timer > 60) and (timer < 121)) {
bly[h1] = bly[h1] + 4;
}
}
}
function cbl9() {
if (blt[h1] == 9) {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 38;
pj = 2;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and key.isdown(kleft)) {
pd = 12;
}
if ((px < blx[h1]) and key.isdown(kright)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
py = py + 2;
}
if ((timer > 60) and (timer < 121)) {
py = py - 2;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
bly[h1] = bly[h1] + 2;
}
if ((timer > 60) and (timer < 121)) {
bly[h1] = bly[h1] - 2;
}
}
}
function cbl9_2() {
if (blt[h1] == 9) {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 38;
pj = 2;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and key.isdown(kleft)) {
pd = 12;
}
if ((px < blx[h1]) and key.isdown(kright)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
py = py + 4;
}
if ((timer > 60) and (timer < 121)) {
py = py - 4;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
bly[h1] = bly[h1] + 4;
}
if ((timer > 60) and (timer < 121)) {
bly[h1] = bly[h1] - 4;
}
}
}
function cbl30() {
if (blt[h1] == 30) {
lrd();
if (bly[h1] < 200) {
bly[h1] = bly[h1] + 15;
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
}
}
function cbl11_29() {
if ((blt[h1] > 10) and (blt[h1] < 30)) {
blt[h1] = blt[h1] + 1;
if (blt[h1] < 16) {
bly[h1] = bly[h1] + 1;
}
lrd();
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
}
}
function cbl10() {
if (blt[h1] == 10) {
lrd();
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
blt[h1] = 11;
py = bly[h1] - blsy[h1];
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
}
}
function cbl31() {
if (blt[h1] == 31) {
lrd();
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
px = px + 3;
py = bly[h1] - blsy[h1];
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
}
}
function cbl31_2() {
if (blt[h1] == 31) {
lrd();
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
px = px + 6;
py = bly[h1] - blsy[h1];
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
}
}
function cbl32() {
if (blt[h1] == 32) {
lrd();
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
px = px - 3;
py = bly[h1] - blsy[h1];
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
}
}
function cbl32_2() {
if (blt[h1] == 32) {
lrd();
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
px = px - 6;
py = bly[h1] - blsy[h1];
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
}
}
function cbl33_36() {
if ((blt[h1] > 32) and (blt[h1] < 37)) {
lrd();
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
}
}
function cbl40() {
if (blt[h1] == 40) {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 36;
pj = 2;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and Key.isDown(kleft)) {
pd = 12;
}
if ((px < blx[h1]) and Key.isDown(kright)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
if ((timer > 0) and (timer < 61)) {
py = py - 2;
px = px + 2;
}
if ((timer > 60) and (timer < 121)) {
py = py + 2;
px = px - 2;
}
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
if ((timer > 0) and (timer < 61)) {
bly[h1] = bly[h1] - 2;
blx[h1] = blx[h1] + 2;
}
if ((timer > 60) and (timer < 121)) {
bly[h1] = bly[h1] + 2;
blx[h1] = blx[h1] - 2;
}
}
}
function cbl41() {
if (blt[h1] == 41) {
lrd();
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
px = px + 3;
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
blx[h1] = blx[h1] + 3;
if (blx[h1] > 820) {
blx[h1] = -20;
}
}
}
function cbl43() {
if (blt[h1] == 43) {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 36;
pj = 2;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and Key.isDown(kleft)) {
pd = 12;
}
if ((px < blx[h1]) and Key.isDown(kright)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
py = py - 3;
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
bly[h1] = bly[h1] - 3;
if (bly[h1] < -520) {
bly[h1] = 20;
}
}
}
function cbl44() {
if (blt[h1] == 44) {
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((py - 6) > ((bly[h1] + blsy[h1]) + 6))) {
py = (bly[h1] + blsy[h1]) + 36;
pj = 2;
}
if (((((px + 10) > (blx[h1] - blsx[h1])) and ((px - 10) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 30) < (bly[h1] + blsy[h1]))) {
if (px > blx[h1]) {
px = (blx[h1] + blsx[h1]) + 10;
}
if (px < blx[h1]) {
px = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((px + 11) > (blx[h1] - blsx[h1])) and ((px - 11) < (blx[h1] + blsx[h1]))) and ((py - 16) > (bly[h1] - blsy[h1]))) and ((py - 20) < (bly[h1] + blsy[h1]))) {
pwall = 1;
if ((((((pd == 6) or (pd == 7)) or (pd == 8)) or (pd == 9)) or (pd == 12)) or (pd == 13)) {
if ((px > blx[h1]) and Key.isDown(kleft)) {
pd = 12;
}
if ((px < blx[h1]) and Key.isDown(kright)) {
pd = 13;
}
}
}
if (((((px + 8) > (blx[h1] - blsx[h1])) and ((px - 8) < (blx[h1] + blsx[h1]))) and ((py - 22) < (bly[h1] - blsy[h1]))) and ((py + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
py = bly[h1] - blsy[h1];
py = py + 3;
if ((pd == 6) or (pd == 7)) {
pd = pd - 6;
}
if ((pd == 8) or (pd == 9)) {
pd = pd - 8;
}
if ((pd == 12) or (pd == 13)) {
pd = pd - 12;
}
}
bly[h1] = bly[h1] + 3;
if (bly[h1] > 20) {
bly[h1] = -520;
}
}
}
function cbla() {
h1 = 1;
while (h1 < 16) {
if (blt[h1] == 33) {
if (timer == 1) {
bly[h1] = bly[h1] + 500;
}
if (timer == 51) {
bly[h1] = bly[h1] - 500;
}
}
if (blt[h1] == 34) {
if (timer == 31) {
bly[h1] = bly[h1] + 500;
}
if (timer == 81) {
bly[h1] = bly[h1] - 500;
}
}
if (blt[h1] == 35) {
if (timer == 61) {
bly[h1] = bly[h1] + 500;
}
if (timer == 111) {
bly[h1] = bly[h1] - 500;
}
}
if (blt[h1] == 36) {
if (timer == 91) {
bly[h1] = bly[h1] + 500;
}
if (timer == 21) {
bly[h1] = bly[h1] - 500;
}
}
h1++;
}
}
function dfall() {
if (((h4 == 0) and (pwall == 0)) and ((pd < 14) or (pd > 15))) {
if ((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 14)) {
pd = 6;
pj = 2;
}
if ((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 15)) {
pd = 7;
pj = 2;
}
}
}
function cblu() {
if (bt[h2] == 110) {
bj[h2] = 0;
bf[h2] = 220;
}
}
function cbg1() {
if (bt[h2] == 1) {
if (bd[h2] == 0) {
bf[h2] = 2;
if (btime[h2] < 1) {
jump.start();
bd[h2] = 1;
btime[h2] = 20 + random(20);
bj[h2] = -10;
bs[h2] = (px - bx[h2]) / 20;
}
}
if (bd[h2] == 1) {
bf[h2] = 3;
by[h2] = by[h2] + bj[h2];
bx[h2] = bx[h2] + bs[h2];
if (bj[h2] < 0) {
bj[h2] = bj[h2] + 1;
}
}
}
}
function cbg2() {
if (bt[h2] == 2) {
if (bd[h2] == 0) {
bf[h2] = 4;
bx[h2] = bx[h2] + 2;
h3 = random(50);
if ((h3 < 4) and (px < bx[h2])) {
bd[h2] = 1;
}
if (btime[h2] < 1) {
if (bst[bsn] == 0) {
laser.start();
btime[h2] = 20 + random(15);
bst[bsn] = 2;
bsd[bsn] = 0;
bsf[bsn] = 3;
bsx[bsn] = bx[h2] + 10;
bsy[bsn] = by[h2] - 12;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 1) {
bf[h2] = 74;
bx[h2] = bx[h2] - 2;
h3 = random(50);
if ((h3 < 4) and (px > bx[h2])) {
bd[h2] = 0;
}
if (btime[h2] < 1) {
if (bst[bsn] == 0) {
laser.start();
btime[h2] = 20 + random(15);
bst[bsn] = 2;
bsd[bsn] = 1;
bsf[bsn] = 4;
bsx[bsn] = bx[h2] - 10;
bsy[bsn] = by[h2] - 12;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
}
}
function cbg3() {
if (bt[h2] == 3) {
if (bd[h2] == 0) {
bf[h2] = 8;
bx[h2] = bx[h2] + 1;
if ((px - 40) < bx[h2]) {
bx[h2] = bx[h2] - 3;
}
if (px < bx[h2]) {
bd[h2] = 1;
}
by[h2] = by[h2] + 2;
if ((py - 30) < by[h2]) {
by[h2] = by[h2] - 4;
}
if (btime[h2] < 1) {
if (bst[bsn] == 0) {
laser.start();
btime[h2] = 16 + random(15);
bst[bsn] = 1;
bsd[bsn] = 5;
bsf[bsn] = 3;
bsx[bsn] = bx[h2] + 2;
bsy[bsn] = by[h2] - 6;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 1) {
bf[h2] = 78;
bx[h2] = bx[h2] - 1;
if ((px + 40) > bx[h2]) {
bx[h2] = bx[h2] + 3;
}
if (px > bx[h2]) {
bd[h2] = 0;
}
by[h2] = by[h2] + 2;
if ((py - 30) < by[h2]) {
by[h2] = by[h2] - 4;
}
if (btime[h2] < 1) {
if (bst[bsn] == 0) {
laser.start();
btime[h2] = 16 + random(15);
bst[bsn] = 1;
bsd[bsn] = 7;
bsf[bsn] = 3;
bsx[bsn] = bx[h2] - 2;
bsy[bsn] = by[h2] - 6;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
}
}
function cbg4() {
if (bt[h2] == 4) {
if (bd[h2] == 0) {
bf[h2] = 10;
bx[h2] = bx[h2] + 5;
h3 = random(50);
if ((h3 < 4) and ((px + 20) < bx[h2])) {
bd[h2] = 1;
}
if ((px + 60) < bx[h2]) {
bd[h2] = 1;
}
}
if (bd[h2] == 1) {
bf[h2] = 80;
bx[h2] = bx[h2] - 5;
h3 = random(50);
if ((h3 < 4) and ((px - 20) > bx[h2])) {
bd[h2] = 0;
}
if ((px - 60) > bx[h2]) {
bd[h2] = 0;
}
}
}
}
function cbg5() {
if (bt[h2] == 5) {
if (bd[h2] == 0) {
bf[h2] = 13;
if ((px + 15) < bx[h2]) {
bx[h2] = bx[h2] - random(6);
}
if ((px - 15) > bx[h2]) {
bx[h2] = bx[h2] + random(6);
}
by[h2] = by[h2] + random(3);
if ((py - 35) < by[h2]) {
by[h2] = (by[h2] - 1) - random(3);
}
if (btime[h2] < 1) {
if (bst[bsn] == 0) {
laser.start();
btime[h2] = 20 + random(20);
bst[bsn] = 3;
bsd[bsn] = 3;
bsf[bsn] = 5;
bsx[bsn] = bx[h2];
bsy[bsn] = by[h2] - 10;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
}
}
function cbg6() {
if (bt[h2] == 6) {
if (bd[h2] == 0) {
bf[h2] = 15;
if (px < bx[h2]) {
bx[h2] = bx[h2] - 2;
}
if (px > bx[h2]) {
bx[h2] = bx[h2] + 2;
}
if ((py - 8) < by[h2]) {
by[h2] = by[h2] - 2;
}
if ((py - 8) > by[h2]) {
by[h2] = by[h2] + 2;
}
}
}
}
function cbg7() {
if (bt[h2] == 7) {
if (bd[h2] == 0) {
bg[h2] = 1;
bf[h2] = 18;
if (px < bx[h2]) {
bd[h2] = 1;
}
if (btime[h2] < 1) {
bd[h2] = 2;
btime[h2] = 9;
}
}
if (bd[h2] == 1) {
bf[h2] = 88;
bg[h2] = 1;
if (px > bx[h2]) {
bd[h2] = 0;
}
if (btime[h2] < 1) {
bd[h2] = 3;
btime[h2] = 9;
}
}
if (bd[h2] == 2) {
bf[h2] = 19;
bg[h2] = 0;
if (btime[h2] < 1) {
if (bst[bsn] == 0) {
laser.start();
btime[h2] = 20 + random(15);
bd[h2] = 0;
bst[bsn] = 2;
bsd[bsn] = 0;
bsf[bsn] = 3;
bsx[bsn] = bx[h2] + 10;
bsy[bsn] = by[h2] - 14;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 3) {
bf[h2] = 89;
bg[h2] = 0;
if (btime[h2] < 1) {
if (bst[bsn] == 0) {
laser.start();
btime[h2] = 20 + random(15);
bd[h2] = 1;
bst[bsn] = 2;
bsd[bsn] = 1;
bsf[bsn] = 4;
bsx[bsn] = bx[h2] - 10;
bsy[bsn] = by[h2] - 14;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
}
}
function cbg8() {
if (bt[h2] == 8) {
if (bd[h2] == 0) {
bf[h2] = 20;
bg[h2] = 1;
if ((px + 30) < bx[h2]) {
bx[h2] = bx[h2] - 2;
}
if ((px - 30) > bx[h2]) {
bx[h2] = bx[h2] + 2;
}
if ((py - 35) < by[h2]) {
by[h2] = by[h2] - 1;
}
if ((py - 35) > by[h2]) {
by[h2] = by[h2] + 1;
}
if (btime[h2] < 1) {
bd[h2] = 1;
btime[h2] = 25;
}
}
if (bd[h2] == 1) {
bf[h2] = 21;
bg[h2] = 0;
if (btime[h2] == 10) {
if (bst[bsn] == 0) {
laser.start();
btime[h2] = 20 + random(25);
bd[h2] = 0;
bst[bsn] = 1;
bsd[bsn] = 3;
if (((px < (bx[h2] + 40)) and (px > (bx[h2] - 40))) and (py <= by[h2])) {
bsd[bsn] = 2;
}
if ((((py - 15) < (by[h2] - 30)) and ((py - 15) > (by[h2] + 30))) and (px < bx[h2])) {
bsd[bsn] = 1;
}
if ((((py - 15) < (by[h2] - 30)) and ((py - 15) > (by[h2] + 30))) and (px > bx[h2])) {
bsd[bsn] = 0;
}
if ((px < (bx[h2] - 30)) and ((py - 30) < by[h2])) {
bsd[bsn] = 6;
}
if ((px > (bx[h2] + 30)) and ((py + 30) < by[h2])) {
bsd[bsn] = 4;
}
if ((px < (bx[h2] - 30)) and ((py - 30) > by[h2])) {
bsd[bsn] = 7;
}
if ((px > (bx[h2] + 30)) and ((py + 30) > by[h2])) {
bsd[bsn] = 5;
}
bsf[bsn] = 2;
bsx[bsn] = bx[h2];
bsy[bsn] = by[h2] - 10;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
}
}
function cbg9() {
if (bt[h2] == 9) {
if (bd[h2] == 0) {
bf[h2] = 22;
if (px < bx[h2]) {
bd[h2] = 1;
}
if (((py - 30) < (by[h2] + 30)) and ((py - 30) > (by[h2] - 50))) {
bd[h2] = 2;
}
}
if (bd[h2] == 1) {
bf[h2] = 92;
if (px > bx[h2]) {
bd[h2] = 0;
}
if (((py - 30) < (by[h2] + 30)) and ((py - 30) > (by[h2] - 50))) {
bd[h2] = 3;
}
}
if (bd[h2] == 2) {
bf[h2] = 23;
bx[h2] = bx[h2] + 5;
if (py < by[h2]) {
by[h2] = by[h2] - 1;
}
if (py > by[h2]) {
by[h2] = by[h2] + 1;
}
if ((px + 60) < bx[h2]) {
bd[h2] = 3;
}
}
if (bd[h2] == 3) {
bf[h2] = 93;
bx[h2] = bx[h2] - 5;
if (py < by[h2]) {
by[h2] = by[h2] - 1;
}
if (py > by[h2]) {
by[h2] = by[h2] + 1;
}
if ((px - 60) > bx[h2]) {
bd[h2] = 2;
}
}
}
}
function cbg10() {
if (bt[h2] == 10) {
if (bd[h2] == 0) {
bf[h2] = 26;
jump.start();
bd[h2] = 1;
btime[h2] = 20 + random(20);
bj[h2] = -11;
}
if (bd[h2] == 1) {
bf[h2] = 25;
by[h2] = by[h2] + bj[h2];
if (px < bx[h2]) {
bx[h2] = bx[h2] - 3;
}
if (px > bx[h2]) {
bx[h2] = bx[h2] + 3;
}
if (bj[h2] < 0) {
bj[h2] = bj[h2] + 1;
}
}
}
}
function cbg11() {
if (bt[h2] == 11) {
if (bd[h2] == 0) {
bf[h2] = 27;
if (btime[h2] < 1) {
btime[h2] = 12 + random(30);
if ((pace > 0) and (pace < 5)) {
bx[h2] = (px - 20) + random(40);
by[h2] = py - 45;
}
if ((pace > 4) and (pace < 9)) {
bx[h2] = (px - 20) + random(40);
by[h2] = py + 45;
}
if ((pace > 8) and (pace < 13)) {
bx[h2] = px - 50;
by[h2] = (py - 20) + random(40);
}
if ((pace > 12) and (pace < 17)) {
bx[h2] = px + 50;
by[h2] = (py - 20) + random(40);
}
}
}
}
}
function cbg12() {
if (bt[h2] == 12) {
if (bd[h2] == 0) {
bf[h2] = 30;
bx[h2] = bx[h2] + 6;
}
if (bd[h2] == 1) {
bf[h2] = 100;
bx[h2] = bx[h2] - 6;
}
}
}
function cbg13() {
if (bt[h2] == 13) {
if (bd[h2] == 0) {
bf[h2] = 32;
if (btime[h2] < 1) {
if (bst[bsn] == 0) {
bd[h2] = 1;
laser.start();
btime[h2] = 6;
bst[bsn] = 3;
bsd[bsn] = 3;
bsf[bsn] = 5;
bsx[bsn] = bx[h2];
bsy[bsn] = by[h2] - 25;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
}
if (bd[h2] == 1) {
bf[h2] = 33;
if (btime[h2] < 1) {
if (bst[bsn] == 0) {
bd[h2] = 0;
btime[h2] = 17;
}
}
}
}
}
function cbg14() {
if (bt[h2] == 14) {
if (bd[h2] == 0) {
bf[h2] = 34;
bx[h2] = bx[h2] + 6;
if ((px + 70) < bx[h2]) {
bd[h2] = 1;
}
if (py > by[h2]) {
by[h2] = by[h2] + 2;
}
if (py < by[h2]) {
by[h2] = by[h2] - 2;
}
}
if (bd[h2] == 1) {
bf[h2] = 104;
bx[h2] = bx[h2] - 6;
if ((px - 70) > bx[h2]) {
bd[h2] = 0;
}
if (py > by[h2]) {
by[h2] = by[h2] + 2;
}
if (py < by[h2]) {
by[h2] = by[h2] - 2;
}
}
}
}
function cbg15() {
if (bt[h2] == 15) {
if (bd[h2] == 0) {
bf[h2] = 36;
bx[h2] = bx[h2] + 3;
if ((px + 70) < bx[h2]) {
bd[h2] = 1;
}
if (px > bx[h2]) {
bg[h2] = 1;
}
if (px < bx[h2]) {
bg[h2] = 0;
}
}
if (bd[h2] == 1) {
bf[h2] = 106;
bx[h2] = bx[h2] - 3;
if ((px - 70) > bx[h2]) {
bd[h2] = 0;
}
if (px > bx[h2]) {
bg[h2] = 0;
}
if (px < bx[h2]) {
bg[h2] = 1;
}
}
}
}
function cbg16() {
if (bt[h2] == 16) {
if (bd[h2] == 0) {
bf[h2] = 38;
bg[h2] = 2;
if (((px - 18) < (bx[h2] + 15)) and ((px + 18) > (bx[h2] - 15))) {
bd[h2] = 1;
btime[h2] = 12;
}
}
if (bd[h2] == 1) {
if (((btime[h2] > 0) and (btime[h2] < 3)) or ((btime[h2] > 10) and (btime[h2] < 13))) {
bf[h2] = 39;
}
if ((btime[h2] > 2) and (btime[h2] < 11)) {
bf[h2] = 40;
}
bg[h2] = 0;
if (btime[h2] == 0) {
bd[h2] = 0;
}
}
}
}
function cbg17() {
if (bt[h2] == 17) {
if (bd[h2] == 0) {
bf[h2] = 41;
if (((px - 15) < (bx[h2] + 15)) and ((px + 15) > (bx[h2] - 15))) {
bt[h2] = 18;
}
}
}
}
function cbg18() {
if (bt[h2] == 18) {
if (bd[h2] == 0) {
bf[h2] = 42;
}
}
}
function cbg19() {
if (bt[h2] == 19) {
if (bd[h2] == 0) {
bf[h2] = 44;
bg[h2] = 1;
if (btime[h2] == 0) {
bd[h2] = 2;
btime[h2] = 18;
}
}
if (bd[h2] == 2) {
if (((btime[h2] > 0) and (btime[h2] < 4)) or ((btime[h2] > 15) and (btime[h2] < 19))) {
bf[h2] = 45;
}
if (((btime[h2] > 3) and (btime[h2] < 7)) or ((btime[h2] > 12) and (btime[h2] < 16))) {
bf[h2] = 46;
}
if ((btime[h2] > 6) and (btime[h2] < 13)) {
bf[h2] = 47;
}
bg[h2] = 0;
if (btime[h2] == 8) {
if (bst[bsn] == 0) {
laser.start();
bst[bsn] = 2;
bsd[bsn] = 0;
bsf[bsn] = 3;
bsx[bsn] = bx[h2] - 5;
bsy[bsn] = by[h2] - 8;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
if (btime[h2] == 0) {
bd[h2] = 0;
btime[h2] = 15 + random(20);
}
}
if (bd[h2] == 1) {
bf[h2] = 114;
bg[h2] = 1;
if (btime[h2] == 0) {
bd[h2] = 3;
btime[h2] = 18;
}
}
if (bd[h2] == 3) {
if (((btime[h2] > 0) and (btime[h2] < 4)) or ((btime[h2] > 15) and (btime[h2] < 19))) {
bf[h2] = 115;
}
if (((btime[h2] > 3) and (btime[h2] < 7)) or ((btime[h2] > 12) and (btime[h2] < 16))) {
bf[h2] = 116;
}
if ((btime[h2] > 6) and (btime[h2] < 13)) {
bf[h2] = 117;
}
bg[h2] = 0;
if (btime[h2] == 8) {
if (bst[bsn] == 0) {
laser.start();
bst[bsn] = 2;
bsd[bsn] = 1;
bsf[bsn] = 3;
bsx[bsn] = bx[h2] + 5;
bsy[bsn] = by[h2] - 8;
bsn = bsn + 1;
if (bsn > 6) {
bsn = 1;
}
}
}
if (btime[h2] == 0) {
bd[h2] = 1;
btime[h2] = 15 + random(20);
}
}
}
}
function cbg20() {
if (bt[h2] == 20) {
if (bd[h2] == 0) {
bf[h2] = 48;
bg[h2] = 1;
if (px < bx[h2]) {
bd[h2] = 1;
}
if (((((py - 30) < (by[h2] + 20)) and (py > (by[h2] - 40))) and ((px - 50) < (bx[h2] + 20))) and (px > bx[h2])) {
bd[h2] = 2;
}
}
if (bd[h2] == 1) {
bf[h2] = 118;
bg[h2] = 1;
if (px > bx[h2]) {
bd[h2] = 0;
}
if (((((py - 30) < (by[h2] + 20)) and (py > (by[h2] - 40))) and ((px + 50) > (bx[h2] - 20))) and (px < bx[h2])) {
bd[h2] = 3;
}
}
if (bd[h2] == 2) {
bf[h2] = 49;
bg[h2] = 0;
bx[h2] = (bx[h2] + 4) + random(2);
if (py < by[h2]) {
by[h2] = by[h2] - 2;
}
if (py > by[h2]) {
by[h2] = by[h2] + 2;
}
if ((px + 60) < bx[h2]) {
bd[h2] = 3;
}
}
if (bd[h2] == 3) {
bf[h2] = 119;
bg[h2] = 0;
bx[h2] = (bx[h2] - 4) - random(2);
if (py < by[h2]) {
by[h2] = by[h2] - 2;
}
if (py > by[h2]) {
by[h2] = by[h2] + 2;
}
if ((px - 60) > bx[h2]) {
bd[h2] = 2;
}
}
}
}
function cbg21() {
if (bt[h2] == 21) {
if (bd[h2] == 0) {
bf[h2] = 50;
if (pace > 12) {
if (px < bx[h2]) {
bx[h2] = bx[h2] - 1;
}
if (px > bx[h2]) {
bx[h2] = bx[h2] + 1;
}
if ((py - 8) < by[h2]) {
by[h2] = by[h2] - 1;
}
if ((py - 8) > by[h2]) {
by[h2] = by[h2] + 1;
}
}
}
}
}
function cbg22() {
if (bt[h2] == 22) {
if (bd[h2] == 0) {
bf[h2] = 51;
if (((px + 20) > (bx[h2] - 30)) and ((px - 20) < (bx[h2] + 30))) {
bd[h2] = 1;
bj[h2] = -14;
}
}
if (bd[h2] == 1) {
bf[h2] = 51;
by[h2] = by[h2] + bj[h2];
if (bj[h2] < 0) {
bj[h2] = bj[h2] + 1;
}
}
}
}
function mbad() {
if (bl[h2] > 0) {
h1 = 1;
while (h1 < 4) {
if ((pst[h1] > 0) and (bg[h2] < 2)) {
if (((pst[h1] == 1) or (pst[h1] == 4)) or (pst[h1] == 5)) {
if (((((psx[h1] - 3) < (bx[h2] + 12)) and ((psx[h1] + 3) > (bx[h2] - 12))) and ((psy[h1] - 3) < (by[h2] - 2))) and ((psy[h1] + 3) > (by[h2] - 24))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 2;
shothit.start();
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
if (bg[h2] == 1) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
}
if ((((pst[h1] == 2) or (pst[h1] == 6)) or (pst[h1] == 20)) or (pst[h1] == 15)) {
if (((((psx[h1] - 4) < (bx[h2] + 12)) and ((psx[h1] + 4) > (bx[h2] - 12))) and ((psy[h1] - 5) < (by[h2] - 2))) and ((psy[h1] + 5) > (by[h2] - 24))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 4;
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (bg[h2] == 1) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
if (((pst[h1] == 3) or (pst[h1] == 7)) or (pst[h1] == 19)) {
if (((((psx[h1] - 10) < (bx[h2] + 12)) and ((psx[h1] + 10) > (bx[h2] - 12))) and ((psy[h1] - 10) < (by[h2] - 2))) and ((psy[h1] + 10) > (by[h2] - 24))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 6;
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (bg[h2] == 1) {
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
if ((xz == 0) and (pst[h1] == 3)) {
shothit.start();
bl[h2] = bl[h2] - 1;
}
}
}
}
if (pst[h1] == 8) {
if (((((psx[h1] - 15) < (bx[h2] + 12)) and ((psx[h1] + 15) > (bx[h2] - 12))) and ((psy[h1] - 15) < (by[h2] - 2))) and ((psy[h1] + 15) > (by[h2] - 24))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 4;
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (bg[h2] == 1) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
if (((pst[h1] == 9) or (pst[h1] == 10)) and (psd[h1] > 5)) {
if (((((psx[h1] - 20) < (bx[h2] + 12)) and ((psx[h1] + 20) > (bx[h2] - 12))) and ((psy[h1] - 20) < (by[h2] - 2))) and ((psy[h1] + 20) > (by[h2] - 24))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 1;
}
}
}
if (pst[h1] == 11) {
if (((((psx[h1] - 7) < (bx[h2] + 12)) and ((psx[h1] + 7) > (bx[h2] - 12))) and ((psy[h1] - 18) < (by[h2] - 2))) and ((psy[h1] + 18) > (by[h2] - 24))) {
if (bg[h2] == 0) {
shothit.start();
bl[h2] = bl[h2] - 1;
}
if (bl[h2] > 0) {
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
if ((pst[h1] == 12) or (pst[h1] == 17)) {
if (((((psx[h1] - 15) < (bx[h2] + 12)) and ((psx[h1] + 15) > (bx[h2] - 12))) and ((psy[h1] - 18) < (by[h2] - 2))) and ((psy[h1] + 18) > (by[h2] - 24))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 2;
if (pst[h1] == 17) {
bl[h2] = bl[h2] - 2;
pst[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
}
if ((pst[h1] == 13) or (pst[h1] == 18)) {
if (((((psx[h1] - 22) < (bx[h2] + 12)) and ((psx[h1] + 22) > (bx[h2] - 12))) and ((psy[h1] - 22) < (by[h2] - 2))) and ((psy[h1] + 22) > (by[h2] - 24))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 1;
}
}
}
if (pst[h1] == 14) {
if (((((camx - 105) < (bx[h2] + 12)) and ((camx + 105) > (bx[h2] - 12))) and ((psy[h1] - 15) < (by[h2] - 2))) and ((psy[h1] + 15) > (by[h2] - 24))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 1;
}
}
}
if (pst[h1] == 16) {
if (((((psx[h1] - 45) < (bx[h2] + 12)) and ((psx[h1] + 45) > (bx[h2] - 12))) and ((psy[h1] - 30) < (by[h2] - 2))) and (psy[h1] > (by[h2] - 24))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 1;
}
}
}
if (pst[h1] == 21) {
if (((((psx[h1] - 15) < (bx[h2] + 12)) and ((psx[h1] + 15) > (bx[h2] - 12))) and ((psy[h1] - 85) < (by[h2] - 2))) and (psy[h1] > (by[h2] - 24))) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 1;
}
}
}
h1++;
}
}
if (((xz == 2) and ((pd == 16) or (pd == 17))) and ((ps < 7) and (ps > 2))) {
if (pd == 16) {
if ((((((px + 38) > (bx[h2] - 12)) and ((px - 8) < (bx[h2] + 12))) and (py > (by[h2] - 28))) and ((py - 26) < (by[h2] + 2))) and (bl[h2] > 0)) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 3;
if (ps == 6) {
bl[h2] = bl[h2] - (((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]);
}
}
}
}
if (pd == 17) {
if ((((((px - 38) < (bx[h2] + 12)) and ((px + 8) > (bx[h2] - 12))) and (py > (by[h2] - 28))) and ((py - 26) < (by[h2] + 2))) and (bl[h2] > 0)) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 3;
if (ps == 6) {
bl[h2] = bl[h2] - (((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]);
}
}
}
}
}
if (((xz == 5) and ((pd == 16) or (pd == 17))) and ((ps < 7) and (ps > 2))) {
if (pd == 16) {
if ((((((px + 32) > (bx[h2] - 12)) and ((px - 8) < (bx[h2] + 12))) and (py > (by[h2] - 28))) and ((py - 30) < (by[h2] + 2))) and (bl[h2] > 0)) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 2;
}
}
}
if (pd == 17) {
if ((((((px - 32) < (bx[h2] + 12)) and ((px + 8) > (bx[h2] - 12))) and (py > (by[h2] - 28))) and ((py - 30) < (by[h2] + 2))) and (bl[h2] > 0)) {
if (bg[h2] == 0) {
bl[h2] = bl[h2] - 2;
}
}
}
}
if ((((xz == 1) or (xz == 2)) or (xz == 4)) and (charge > 0)) {
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 10)) or (pd == 12)) or (pd == 14)) {
if ((((((px + 30) > (bx[h2] - 12)) and ((px - 8) < (bx[h2] + 12))) and (py > (by[h2] - 28))) and ((py - 26) < (by[h2] + 2))) and (bl[h2] > 0)) {
if ((bg[h2] == 0) and ((xz == 1) or (xz == 2))) {
bl[h2] = bl[h2] - 1;
}
if (xz == 4) {
bl[h2] = bl[h2] - 1;
}
}
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 11)) or (pd == 13)) or (pd == 15)) {
if ((((((px - 30) < (bx[h2] + 12)) and ((px + 8) > (bx[h2] - 12))) and (py > (by[h2] - 28))) and ((py - 26) < (by[h2] + 2))) and (bl[h2] > 0)) {
if ((bg[h2] == 0) and ((xz == 1) or (xz == 2))) {
bl[h2] = bl[h2] - 1;
}
if (xz == 4) {
bl[h2] = bl[h2] - 1;
}
}
}
}
if (bt[h2] == 110) {
if (((((px - 10) < (bx[h2] + 6)) and ((px + 10) > (bx[h2] - 6))) and (py > (by[h2] - 25))) and ((py - 24) < by[h2])) {
lifeupsfx.start();
bt[h2] = 0;
bl[h2] = 1;
bf[h2] = 1;
bx[h2] = -1000;
by[h2] = -1000;
pl = pl + 5;
if (pl > lmax) {
pl = lmax;
}
}
}
if (((bl[h2] > 0) and (bt[h2] > 0)) and (i < 1)) {
if (((((px - 10) < (bx[h2] + 6)) and ((px + 10) > (bx[h2] - 6))) and (py > (by[h2] - 25))) and ((py - 24) < by[h2])) {
melee.start();
pl = pl - 4;
if ((((bt[h2] == 9) or (bt[h2] == 11)) or (bt[h2] == 20)) or (bt[h2] == 21)) {
crusher = crusher - 15;
if (crusher < 1) {
crusher = 1;
}
}
if ((((bt[h2] == 6) or (bt[h2] == 11)) or (bt[h2] == 14)) or (bt[h2] == 21)) {
wenergy = wenergy - 15;
if (wenergy < 1) {
wenergy = 1;
}
}
if (bt[h2] == 21) {
bl[h2] = 0;
pl = pl - 16;
}
if ((bt[h2] == 22) or (bt[h2] == 16)) {
pl = pl - 6;
}
i = 20;
}
}
if (btime[h2] > 0) {
btime[h2] = btime[h2] - 1;
}
if (bt[h2] == 100) {
bf[h2] = 215 - btime[h2];
if (btime[h2] < 1) {
h3 = random(12);
if (f > 800) {
h3 = 5;
}
if (h3 < 2) {
bt[h2] = 110;
}
if (h3 > 1) {
bt[h2] = 0;
bf[h2] = 1;
bx[h2] = -1000;
by[h2] = -1000;
}
}
}
if ((bl[h2] < 1) and (bt[h2] < 100)) {
h3 = random(6);
if (h3 < 3) {
boom1.start();
}
if ((h3 > 2) and (h3 < 5)) {
boom2.start();
}
if (h3 > 4) {
boom3.start();
}
money = money + 1;
crusher = crusher + 3;
if (crusher > 100) {
crusher = 100;
}
bt[h2] = 100;
btime[h2] = 16;
}
}
function cbgs() {
h1 = 1;
while (h1 < 7) {
if (bst[h1] > 0) {
if (bsd[h1] == 0) {
bsx[h1] = bsx[h1] + 8;
}
if (bsd[h1] == 1) {
bsx[h1] = bsx[h1] - 8;
}
if (bsd[h1] == 2) {
bsy[h1] = bsy[h1] - 8;
}
if (bsd[h1] == 3) {
bsy[h1] = bsy[h1] + 8;
}
if (bsd[h1] == 4) {
bsx[h1] = bsx[h1] + 6;
bsy[h1] = bsy[h1] - 6;
}
if (bsd[h1] == 5) {
bsx[h1] = bsx[h1] + 6;
bsy[h1] = bsy[h1] + 6;
}
if (bsd[h1] == 6) {
bsx[h1] = bsx[h1] - 6;
bsy[h1] = bsy[h1] - 6;
}
if (bsd[h1] == 7) {
bsx[h1] = bsx[h1] - 6;
bsy[h1] = bsy[h1] + 6;
}
if ((((bsx[h1] > (camx + 125)) or (bsx[h1] < (camx - 125))) or (bsy[h1] > (camy + 70))) or (bsy[h1] < (camy - 125))) {
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
if (bst[h1] == 1) {
bsf[h1] = 2;
if ((((((bsx[h1] + 3) > (px - 12)) and ((bsx[h1] - 3) < (px + 12))) and ((bsy[h1] + 3) > (py - 26))) and ((bsy[h1] - 3) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 4;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 2) {
if (bsd[h1] == 0) {
bsf[h1] = 3;
}
if (bsd[h1] == 1) {
bsf[h1] = 4;
}
if ((((((bsx[h1] + 6) > (px - 12)) and ((bsx[h1] - 6) < (px + 12))) and ((bsy[h1] + 6) > (py - 26))) and ((bsy[h1] - 6) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 6;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
if (bst[h1] == 3) {
bsf[h1] = 5;
if ((((((bsx[h1] + 3) > (px - 12)) and ((bsx[h1] - 3) < (px + 12))) and ((bsy[h1] + 2) > (py - 26))) and ((bsy[h1] - 2) < (py - 2))) and (i < 1)) {
melee.start();
i = 15;
pl = pl - 7;
bst[h1] = 0;
bsf[h1] = 13;
bsx[h1] = -2000;
bsy[h1] = -2000;
}
}
}
h1++;
}
}
function bossed() {
if (bd[h2] == 90) {
bf[h2] = 300 + bs[h2];
bl[1] = 150 + (200 - dif);
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 48) {
bd[h2] = 1;
if (f == 801) {
bd[h2] = 0;
}
bg[h2] = 0;
}
}
if (bd[h2] == 100) {
bf[h2] = 200 + bs[h2];
bg[h2] = 2;
bs[h2] = bs[h2] + 1;
if (bs[h2] > 29) {
if (f == 101) {
boss[1] = 1;
}
if (f == 201) {
boss[2] = 1;
}
if (f == 301) {
boss[3] = 1;
}
if (f == 401) {
boss[4] = 1;
}
if (f == 501) {
boss[5] = 1;
}
if (f == 601) {
boss[6] = 1;
}
if (f == 701) {
boss[7] = 1;
}
if (f == 801) {
boss[8] = 1;
}
if (f < 1600) {
gotoAndPlay (2556);
}
if (f > 1599) {
pl = pl + 50;
if (pl > lmax) {
pl = lmax;
}
gotoAndPlay (1605);
}
}
}
}
function cbb1() {
if ((blt[h1] == 1) or ((blt[h1] > 32) and (blt[h1] < 37))) {
if (((((bx[h2] + 8) > (blx[h1] - blsx[h1])) and ((bx[h2] - 8) < (blx[h1] + blsx[h1]))) and ((by[h2] - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((by[h2] - 6) > ((bly[h1] + blsy[h1]) + 6))) {
by[h2] = (bly[h1] + blsy[h1]) + 35;
bj[h2] = 0;
}
if (((((bx[h2] + 10) > (blx[h1] - blsx[h1])) and ((bx[h2] - 10) < (blx[h1] + blsx[h1]))) and ((by[h2] - 16) > (bly[h1] - blsy[h1]))) and ((by[h2] - 30) < (bly[h1] + blsy[h1]))) {
if (bx[h2] > blx[h1]) {
bx[h2] = (blx[h1] + blsx[h1]) + 10;
if (bt[h2] == 12) {
bd[h2] = 0;
}
}
if (bx[h2] < blx[h1]) {
bx[h2] = (blx[h1] - blsx[h1]) - 10;
if (bt[h2] == 12) {
bd[h2] = 1;
}
}
}
if (((((bx[h2] + 8) > (blx[h1] - blsx[h1])) and ((bx[h2] - 8) < (blx[h1] + blsx[h1]))) and ((by[h2] - 22) < (bly[h1] - blsy[h1]))) and ((by[h2] + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
by[h2] = bly[h1] - blsy[h1];
if ((((bt[h2] == 1) or (bt[h2] == 10)) or (bt[h2] == 22)) and (bd[h2] == 1)) {
bd[h2] = 0;
}
}
}
}
function cbb4() {
if (blt[h1] == 4) {
h3 = (blx[h1] - bx[h2]) / 3;
if (((((bx[h2] + 2) > (blx[h1] + blsx[h1])) and ((bx[h2] - 10) < (blx[h1] + blsx[h1]))) and ((by[h2] - 16) > (bly[h1] - blsy[h1]))) and ((by[h2] - 30) < (bly[h1] + blsy[h1]))) {
if (bx[h2] > blx[h1]) {
bx[h2] = (blx[h1] + blsx[h1]) + 10;
}
}
if (((((bx[h2] + 8) > (blx[h1] - blsx[h1])) and ((bx[h2] - 8) < (blx[h1] + blsx[h1]))) and ((by[h2] - 26) < (bly[h1] + blsy[h1]))) and ((by[h2] + 5) >= (bly[h1] + h3))) {
h4 = 1;
by[h2] = bly[h1] + h3;
if ((((bt[h2] == 1) or (bt[h2] == 10)) or (bt[h2] == 22)) and (bd[h2] == 1)) {
bd[h2] = 0;
}
}
}
}
function cbb5() {
if (blt[h1] == 5) {
h3 = (bx[h2] - blx[h1]) / 3;
if (((((bx[h2] - 2) < (blx[h1] - blsx[h1])) and ((bx[h2] + 10) > (blx[h1] - blsx[h1]))) and ((by[h2] - 16) > (bly[h1] - blsy[h1]))) and ((by[h2] - 30) < (bly[h1] + blsy[h1]))) {
if (bx[h2] < blx[h1]) {
bx[h2] = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((bx[h2] + 8) > (blx[h1] - blsx[h1])) and ((bx[h2] - 8) < (blx[h1] + blsx[h1]))) and ((by[h2] - 26) < (bly[h1] + blsy[h1]))) and ((by[h2] + 5) >= (bly[h1] + h3))) {
h4 = 1;
by[h2] = bly[h1] + h3;
if ((((bt[h2] == 1) or (bt[h2] == 10)) or (bt[h2] == 22)) and (bd[h2] == 1)) {
bd[h2] = 0;
}
}
}
}
function cbb6_9() {
if (((blt[h1] > 5) and (blt[h1] < 10)) or ((blt[h1] > 36) and (blt[h1] < 41))) {
if (((((bx[h2] + 8) > (blx[h1] - blsx[h1])) and ((bx[h2] - 8) < (blx[h1] + blsx[h1]))) and ((by[h2] - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((by[h2] - 6) > ((bly[h1] + blsy[h1]) + 6))) {
by[h2] = (bly[h1] + blsy[h1]) + 37;
bj[h2] = 2;
}
if (((((bx[h2] + 10) > (blx[h1] - blsx[h1])) and ((bx[h2] - 10) < (blx[h1] + blsx[h1]))) and ((by[h2] - 16) > (bly[h1] - blsy[h1]))) and ((by[h2] - 30) < (bly[h1] + blsy[h1]))) {
if (bx[h2] > blx[h1]) {
bx[h2] = (blx[h1] + blsx[h1]) + 10;
}
if (bx[h2] < blx[h1]) {
bx[h2] = (blx[h1] - blsx[h1]) - 10;
}
}
if (((((bx[h2] + 8) > (blx[h1] - blsx[h1])) and ((bx[h2] - 8) < (blx[h1] + blsx[h1]))) and ((by[h2] - 22) < (bly[h1] - blsy[h1]))) and ((by[h2] + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
by[h2] = bly[h1] - blsy[h1];
if (blt[h1] == 6) {
if ((timer > 0) and (timer < 61)) {
bx[h2] = bx[h2] + 2;
}
if ((timer > 60) and (timer < 121)) {
bx[h2] = bx[h2] - 2;
}
}
if (blt[h1] == 7) {
if ((timer > 0) and (timer < 61)) {
bx[h2] = bx[h2] - 2;
}
if ((timer > 60) and (timer < 121)) {
bx[h2] = bx[h2] + 2;
}
}
if (blt[h1] == 8) {
if ((timer > 0) and (timer < 61)) {
by[h2] = by[h2] - 2;
}
if ((timer > 60) and (timer < 121)) {
by[h2] = by[h2] + 2;
}
}
if (blt[h1] == 9) {
if ((timer > 0) and (timer < 61)) {
by[h2] = by[h2] + 2;
}
if ((timer > 60) and (timer < 121)) {
by[h2] = by[h2] - 2;
}
}
if (blt[h1] == 37) {
if ((timer > 0) and (timer < 61)) {
bx[h2] = bx[h2] - 2;
by[h2] = by[h2] + 2;
}
if ((timer > 60) and (timer < 121)) {
bx[h2] = bx[h2] + 2;
by[h2] = by[h2] - 2;
}
}
if (blt[h1] == 38) {
if ((timer > 0) and (timer < 61)) {
bx[h2] = bx[h2] - 2;
by[h2] = by[h2] - 2;
}
if ((timer > 60) and (timer < 121)) {
by[h2] = by[h2] + 2;
bx[h2] = bx[h2] + 2;
}
}
if (blt[h1] == 39) {
if ((timer > 0) and (timer < 61)) {
by[h2] = by[h2] + 2;
bx[h2] = bx[h2] + 2;
}
if ((timer > 60) and (timer < 121)) {
bx[h2] = bx[h2] - 2;
by[h2] = by[h2] - 2;
}
}
if (blt[h1] == 40) {
if ((timer > 0) and (timer < 61)) {
by[h2] = by[h2] - 2;
bx[h2] = bx[h2] + 2;
}
if ((timer > 60) and (timer < 121)) {
by[h2] = by[h2] + 2;
bx[h2] = bx[h2] - 2;
}
}
if ((((bt[h2] == 1) or (bt[h2] == 10)) or (bt[h2] == 22)) and (bd[h2] == 1)) {
bd[h2] = 0;
}
}
}
}
function cbb31_32() {
if ((blt[h1] == 31) or (blt[h1] == 32)) {
if (((((bx[h2] + 8) > (blx[h1] - blsx[h1])) and ((bx[h2] - 8) < (blx[h1] + blsx[h1]))) and ((by[h2] - 28) <= ((bly[h1] + blsy[h1]) + 6))) and ((by[h2] - 6) > ((bly[h1] + blsy[h1]) + 6))) {
by[h2] = (bly[h1] + blsy[h1]) + 35;
bj[h2] = 0;
}
if (((((bx[h2] + 10) > (blx[h1] - blsx[h1])) and ((bx[h2] - 10) < (blx[h1] + blsx[h1]))) and ((by[h2] - 16) > (bly[h1] - blsy[h1]))) and ((by[h2] - 30) < (bly[h1] + blsy[h1]))) {
if (bx[h2] > blx[h1]) {
bx[h2] = (blx[h1] + blsx[h1]) + 10;
if (bt[h2] == 12) {
bd[h2] = 0;
}
}
if (bx[h2] < blx[h1]) {
bx[h2] = (blx[h1] - blsx[h1]) - 10;
if (bt[h2] == 12) {
bd[h2] = 1;
}
}
}
if (((((bx[h2] + 8) > (blx[h1] - blsx[h1])) and ((bx[h2] - 8) < (blx[h1] + blsx[h1]))) and ((by[h2] - 22) < (bly[h1] - blsy[h1]))) and ((by[h2] + 2) >= (bly[h1] - blsy[h1]))) {
h4 = 1;
if (blt[h1] == 31) {
bx[h2] = bx[h2] + 3;
}
if (blt[h1] == 32) {
bx[h2] = bx[h2] - 3;
}
by[h2] = bly[h1] - blsy[h1];
if ((((bt[h2] == 1) or (bt[h2] == 10)) or (bt[h2] == 22)) and (bd[h2] == 1)) {
bd[h2] = 0;
}
}
}
}
function dscn() {
if ((((pace == 1) or (pace == 5)) or (pace == 9)) or (pace == 13)) {
sx = -100;
sy = 100;
if (((pd > 3) and (pd < 6)) or ((pd > 7) and (pd < 10))) {
sx = px;
sy = py;
}
}
if ((charge < 15) or ((xz > 0) and (xz < 5))) {
bustercharge._x = -500;
bustercharge._y = -500;
bustercharge._alpha = 0;
}
if ((xz == 0) or (xz == 5)) {
if ((charge > 14) and (charge < 40)) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 40;
}
if (charge > 39) {
bustercharge._x = 100 + (px - camx);
bustercharge._y = 100 + (py - camy);
bustercharge._alpha = 100;
}
}
if (i == 0) {
pc._alpha = 100;
}
if (i > 0) {
pc._alpha = 70;
}
pc._x = 100 + (px - camx);
pc._y = 100 + (py - camy);
pc.gotoAndStop(pf);
shadow._x = 100 + (sx - camx);
shadow._y = 100 + (sy - camy);
shadow.gotoAndStop(pf);
pname.gotoAndStop(xz + 1);
plb.gotoAndStop(pl);
wener.gotoAndStop(wenergy);
if (pl < 1) {
plb.gotoAndStop(1);
}
if (wenergy < 1) {
wener.gotoAndStop(1);
}
crushericon._x = 100 + (px - camx);
crushericon._y = 86 + (py - camy);
crushericon.gotoAndStop(crusher);
switch (xz) {
case 0 :
if (weap == 0) {
cicon.gotoAndStop(1);
}
if (weap > 0) {
cicon.gotoAndStop(weap + 6);
}
break;
case 1 :
cicon.gotoAndStop(2);
break;
case 2 :
cicon.gotoAndStop(3);
break;
case 3 :
cicon.gotoAndStop(4);
break;
case 4 :
cicon.gotoAndStop(5);
break;
case 5 :
cicon.gotoAndStop(6);
}
bg1._x = 100 + (bx[1] - camx);
bg1._y = 100 + (by[1] - camy);
bg1.gotoAndStop(bf[1]);
bg2._x = 100 + (bx[2] - camx);
bg2._y = 100 + (by[2] - camy);
bg2.gotoAndStop(bf[2]);
bg3._x = 100 + (bx[3] - camx);
bg3._y = 100 + (by[3] - camy);
bg3.gotoAndStop(bf[3]);
bg4._x = 100 + (bx[4] - camx);
bg4._y = 100 + (by[4] - camy);
bg4.gotoAndStop(bf[4]);
bg5._x = 100 + (bx[5] - camx);
bg5._y = 100 + (by[5] - camy);
bg5.gotoAndStop(bf[5]);
bg6._x = 100 + (bx[6] - camx);
bg6._y = 100 + (by[6] - camy);
bg6.gotoAndStop(bf[6]);
bg7._x = 100 + (bx[7] - camx);
bg7._y = 100 + (by[7] - camy);
bg7.gotoAndStop(bf[7]);
bg8._x = 100 + (bx[8] - camx);
bg8._y = 100 + (by[8] - camy);
bg8.gotoAndStop(bf[8]);
bg9._x = 100 + (bx[9] - camx);
bg9._y = 100 + (by[9] - camy);
bg9.gotoAndStop(bf[9]);
bg10._x = 100 + (bx[10] - camx);
bg10._y = 100 + (by[10] - camy);
bg10.gotoAndStop(bf[10]);
pb1._x = 100 + (psx[1] - camx);
pb1._y = 100 + (psy[1] - camy);
pb1.gotoAndStop(psf[1]);
pb2._x = 100 + (psx[2] - camx);
pb2._y = 100 + (psy[2] - camy);
pb2.gotoAndStop(psf[2]);
pb3._x = 100 + (psx[3] - camx);
pb3._y = 100 + (psy[3] - camy);
pb3.gotoAndStop(psf[3]);
bs1._x = 100 + (bsx[1] - camx);
bs1._y = 100 + (bsy[1] - camy);
bs1.gotoAndStop(bsf[1]);
bs2._x = 100 + (bsx[2] - camx);
bs2._y = 100 + (bsy[2] - camy);
bs2.gotoAndStop(bsf[2]);
bs3._x = 100 + (bsx[3] - camx);
bs3._y = 100 + (bsy[3] - camy);
bs3.gotoAndStop(bsf[3]);
bs4._x = 100 + (bsx[4] - camx);
bs4._y = 100 + (bsy[4] - camy);
bs4.gotoAndStop(bsf[4]);
bs5._x = 100 + (bsx[5] - camx);
bs5._y = 100 + (bsy[5] - camy);
bs5.gotoAndStop(bsf[5]);
bs6._x = 100 + (bsx[6] - camx);
bs6._y = 100 + (bsy[6] - camy);
bs6.gotoAndStop(bsf[6]);
stage._x = 500 - camx;
stage._y = -150 - camy;
stage2._x = 300 - (camx / 2);
stage2._y = -37 - (camy / 2);
}
Frame 2863
function cp1u() {
if (pd == 0) {
pf = 2 + (150 * xz);
if ((xz == 4) and (charge > 0)) {
if ((charge > 0) and (charge < 7)) {
pf = 624 - charge;
}
}
if ((xz == 2) and (charge > 0)) {
if ((charge > 0) and (charge < 7)) {
pf = 324 - charge;
}
}
if ((xz == 1) and (charge > 0)) {
if ((charge > 0) and (charge < 7)) {
pf = 174 - charge;
}
if ((charge > 6) and (charge < 12)) {
pf = 185 - charge;
}
if (charge > 11) {
pf = 196 - charge;
}
if ((Key.isDown(kattack) and (ptime == 0)) and (charge < 4)) {
ptime = 2;
charge = 12;
if (((((boss[1] + boss[3]) + boss[6]) > 1) and ((pd == 0) or (pd == 1))) and (pst[psn] == 0)) {
pst[psn] = 11;
psd[psn] = pd;
psx[psn] = px + 13;
psy[psn] = py - 14;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (((Key.isDown(kattack) and (ptime < 2)) and (charge > 6)) and (charge < 10)) {
zeroswing.start();
ptime = 2;
charge = 17;
if (((((boss[1] + boss[3]) + boss[6]) > 2) and ((pd == 0) or (pd == 1))) and (pst[psn] == 0)) {
pst[psn] = 11;
psd[psn] = pd;
psx[psn] = px + 13;
psy[psn] = py - 17;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
}
if ((xz == 1) and (boss[5] > 0)) {
if ((((pst[psn] == 0) and Key.isDown(kspec)) and (((pst[1] != 13) and (pst[2] != 13)) and (pst[3] != 13))) and (wenergy > 8)) {
pst[psn] = 13;
psd[psn] = 40;
psx[psn] = px;
psy[psn] = py;
wenergy = wenergy - 8;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (Key.isDown(kright)) {
pd = 2;
}
if (Key.isDown(kleft)) {
pd = 1;
}
if (Key.isDown(kdash)) {
pd = 4;
}
if (Key.isDown(kjump)) {
pd = 6;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (Key.isDown(kjump) and Key.isDown(kdash)) {
pd = 8;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (((xz == 2) and Key.isDown(kspec)) and (wenergy > 10)) {
electric.start();
pd = 16;
wenergy = wenergy - 10;
ps = 9;
}
if ((xz == 5) and Key.isDown(kspec)) {
electric.start();
pd = 16;
ps = 8;
}
if ((((xz == 5) and Key.isDown(kcrush)) and (ptime < 1)) and (wenergy > 19)) {
teleportsfx.start();
pd = 18;
ps = 13;
}
}
if (pd == 1) {
pf = 72 + (150 * xz);
if ((xz == 4) and (charge > 0)) {
if ((charge > 0) and (charge < 7)) {
pf = 694 - charge;
}
}
if ((xz == 2) and (charge > 0)) {
if ((charge > 0) and (charge < 7)) {
pf = 394 - charge;
}
}
if ((xz == 1) and (charge > 0)) {
if ((charge > 0) and (charge < 7)) {
pf = 244 - charge;
}
if ((charge > 6) and (charge < 12)) {
pf = 255 - charge;
}
if (charge > 11) {
pf = 266 - charge;
}
if ((Key.isDown(kattack) and (ptime == 0)) and (charge < 4)) {
ptime = 2;
charge = 12;
if (((((boss[1] + boss[3]) + boss[6]) > 1) and ((pd == 0) or (pd == 1))) and (pst[psn] == 0)) {
pst[psn] = 11;
psd[psn] = pd;
psx[psn] = px - 13;
psy[psn] = py - 14;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (((Key.isDown(kattack) and (ptime < 2)) and (charge > 6)) and (charge < 10)) {
zeroswing.start();
ptime = 2;
charge = 17;
if (((((boss[1] + boss[3]) + boss[6]) > 2) and ((pd == 0) or (pd == 1))) and (pst[psn] == 0)) {
pst[psn] = 11;
psd[psn] = pd;
psx[psn] = px - 13;
psy[psn] = py - 17;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
}
if ((xz == 1) and (boss[5] > 0)) {
if ((((pst[psn] == 0) and Key.isDown(kspec)) and (((pst[1] != 13) and (pst[2] != 13)) and (pst[3] != 13))) and (wenergy > 8)) {
pst[psn] = 13;
psd[psn] = 40;
psx[psn] = px;
psy[psn] = py;
wenergy = wenergy - 8;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (Key.isDown(kright)) {
pd = 0;
}
if (Key.isDown(kleft)) {
pd = 3;
}
if (Key.isDown(kdash)) {
pd = 5;
}
if (Key.isDown(kjump)) {
pd = 7;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (Key.isDown(kjump) and Key.isDown(kdash)) {
pd = 9;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (((xz == 2) and Key.isDown(kspec)) and (wenergy > 10)) {
electric.start();
wenergy = wenergy - 10;
pd = 17;
ps = 9;
}
if ((xz == 5) and Key.isDown(kspec)) {
electric.start();
pd = 17;
ps = 8;
}
if ((((xz == 5) and Key.isDown(kcrush)) and (ptime < 1)) and (wenergy > 19)) {
teleportsfx.start();
pd = 19;
ps = 13;
}
}
if (pd == 2) {
if ((pace > 0) and (pace < 3)) {
pf = 3 + (150 * xz);
}
if ((pace > 2) and (pace < 5)) {
pf = 4 + (150 * xz);
}
if ((pace > 4) and (pace < 7)) {
pf = 5 + (150 * xz);
}
if ((pace > 6) and (pace < 9)) {
pf = 6 + (150 * xz);
}
if ((pace > 8) and (pace < 11)) {
pf = 7 + (150 * xz);
}
if ((pace > 10) and (pace < 13)) {
pf = 8 + (150 * xz);
}
if ((pace > 12) and (pace < 15)) {
pf = 9 + (150 * xz);
}
if ((pace > 14) and (pace < 17)) {
pf = 10 + (150 * xz);
}
px = px + 3;
if (enhan[2] == 1) {
px = px + 1;
}
if ((xz == 4) and (charge > 0)) {
pf = 624 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 324 - charge;
px = px - 3;
}
if ((xz == 1) and (charge > 0)) {
pf = 174 - charge;
px = px - 3;
}
pd = 0;
if (Key.isDown(kright)) {
pd = 2;
}
if (Key.isDown(kleft)) {
pd = 1;
}
if (Key.isDown(kdash)) {
pd = 4;
}
if (Key.isDown(kjump)) {
pd = 6;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (((xz == 2) and Key.isDown(kspec)) and (wenergy > 10)) {
electric.start();
wenergy = wenergy - 10;
pd = 16;
ps = 9;
}
if ((xz == 5) and Key.isDown(kspec)) {
electric.start();
pd = 16;
ps = 8;
}
}
if (pd == 3) {
if ((pace > 0) and (pace < 3)) {
pf = 73 + (150 * xz);
}
if ((pace > 2) and (pace < 5)) {
pf = 74 + (150 * xz);
}
if ((pace > 4) and (pace < 7)) {
pf = 75 + (150 * xz);
}
if ((pace > 6) and (pace < 9)) {
pf = 76 + (150 * xz);
}
if ((pace > 8) and (pace < 11)) {
pf = 77 + (150 * xz);
}
if ((pace > 10) and (pace < 13)) {
pf = 78 + (150 * xz);
}
if ((pace > 12) and (pace < 15)) {
pf = 79 + (150 * xz);
}
if ((pace > 14) and (pace < 17)) {
pf = 80 + (150 * xz);
}
px = px - 3;
if (enhan[2] == 1) {
px = px - 1;
}
if ((xz == 4) and (charge > 0)) {
pf = 694 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 394 - charge;
px = px + 3;
}
if ((xz == 1) and (charge > 0)) {
pf = 244 - charge;
px = px + 3;
}
pd = 1;
if (Key.isDown(kright)) {
pd = 0;
}
if (Key.isDown(kleft)) {
pd = 3;
}
if (Key.isDown(kdash)) {
pd = 5;
}
if (Key.isDown(kjump)) {
pd = 7;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (((xz == 2) and Key.isDown(kspec)) and (wenergy > 10)) {
electric.start();
wenergy = wenergy - 10;
pd = 17;
ps = 9;
}
if ((xz == 5) and Key.isDown(kspec)) {
electric.start();
pd = 17;
ps = 8;
}
}
if (pd == 4) {
pf = 13 + (150 * xz);
if ((xz == 4) and (charge > 0)) {
pf = 640 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 340 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 190 - charge;
}
px = px + 5;
if (enhan[3] == 1) {
px = px + 2;
}
pd = 0;
if (Key.isDown(kspec) and (xz == 1)) {
if (((boss[4] > 0) and (pst[psn] == 0)) and (((pst[1] != 12) and (pst[2] != 12)) and (pst[3] != 12))) {
pst[psn] = 12;
psd[psn] = 0;
psx[psn] = px + 30;
psy[psn] = py - 12;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (Key.isDown(kdash)) {
pd = 4;
}
if (Key.isDown(kjump)) {
pd = 8;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (((xz == 2) and Key.isDown(kspec)) and (wenergy > 10)) {
electric.start();
wenergy = wenergy - 10;
pd = 16;
ps = 9;
}
if ((xz == 5) and Key.isDown(kspec)) {
electric.start();
pd = 16;
ps = 8;
}
}
if (pd == 5) {
pf = 83 + (150 * xz);
if ((xz == 4) and (charge > 0)) {
pf = 710 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 410 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 260 - charge;
}
px = px - 5;
if (enhan[3] == 1) {
px = px - 2;
}
pd = 1;
if (Key.isDown(kspec) and (xz == 1)) {
if (((boss[4] > 0) and (pst[psn] == 0)) and (((pst[1] != 12) and (pst[2] != 12)) and (pst[3] != 12))) {
pst[psn] = 12;
psd[psn] = 1;
psx[psn] = px - 30;
psy[psn] = py - 12;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (Key.isDown(kdash)) {
pd = 5;
}
if (Key.isDown(kjump)) {
pd = 9;
pj = -8;
if (enhan[4] == 1) {
pj = -9;
}
}
if (((xz == 2) and Key.isDown(kspec)) and (wenergy > 10)) {
electric.start();
wenergy = wenergy - 10;
pd = 17;
ps = 9;
}
if ((xz == 5) and Key.isDown(kspec)) {
electric.start();
pd = 17;
ps = 8;
}
}
if (pd == 6) {
if (pj <= 0) {
pf = 11 + (150 * xz);
}
if (pj > 0) {
pf = 12 + (150 * xz);
}
if ((xz == 4) and (charge > 0)) {
pf = 646 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 346 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 196 - charge;
}
if (Key.isDown(kright)) {
px = px + 3;
}
if (Key.isDown(kleft)) {
px = px - 4;
pd = 7;
}
}
if (pd == 7) {
if (pj <= 0) {
pf = 81 + (150 * xz);
}
if (pj > 0) {
pf = 82 + (150 * xz);
}
if ((xz == 4) and (charge > 0)) {
pf = 716 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 416 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 266 - charge;
}
if (Key.isDown(kright)) {
px = px + 3;
pd = 6;
}
if (Key.isDown(kleft)) {
px = px - 4;
}
}
if (pd == 8) {
if (pj <= 0) {
pf = 11 + (150 * xz);
}
if (pj > 0) {
pf = 12 + (150 * xz);
}
if ((xz == 4) and (charge > 0)) {
pf = 646 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 346 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 196 - charge;
}
if (Key.isDown(kright)) {
px = px + 5;
}
if (Key.isDown(kleft)) {
px = px - 5;
pd = 9;
}
}
if (pd == 9) {
if (pj <= 0) {
pf = 81 + (150 * xz);
}
if (pj > 0) {
pf = 82 + (150 * xz);
}
if ((xz == 4) and (charge > 0)) {
pf = 716 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 416 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 266 - charge;
}
if (Key.isDown(kright)) {
px = px + 5;
pd = 8;
}
if (Key.isDown(kleft)) {
px = px - 5;
}
}
if (pd == 10) {
pf = 16 + (150 * xz);
px = px + 4;
py = py - 4;
ps = ps + 1;
if (ps > 2) {
pd = 6;
pj = 2;
if (Key.isDown(kjump)) {
pd = 6;
pj = -9;
}
if ((Key.isDown(kright) and Key.isDown(kjump)) and Key.isDown(kdash)) {
pd = 8;
pj = -9;
}
if (Key.isDown(kleft) and Key.isDown(kjump)) {
pd = 7;
pj = -9;
}
if ((Key.isDown(kleft) and Key.isDown(kjump)) and Key.isDown(kdash)) {
pd = 9;
pj = -9;
}
}
}
if (pd == 11) {
pf = 86 + (150 * xz);
px = px - 5;
py = py - 4;
ps = ps + 1;
if (ps > 2) {
pd = 7;
pj = 2;
if (Key.isDown(kjump)) {
pd = 7;
pj = -9;
}
if (Key.isDown(kjump) and Key.isDown(kdash)) {
pd = 9;
pj = -9;
}
if (Key.isDown(kright) and Key.isDown(kjump)) {
pd = 6;
pj = -9;
}
if ((Key.isDown(kright) and Key.isDown(kjump)) and Key.isDown(kdash)) {
pd = 8;
pj = -9;
}
}
}
if (pd == 12) {
pf = 17 + (150 * xz);
if ((xz == 4) and (charge > 0)) {
pf = 652 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 352 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 202 - charge;
}
py = py + 2;
if (xz == 4) {
py = py - 2;
}
if (pwall == 0) {
pd = 6;
pj = 2;
}
if (pwall == 1) {
pd = 12;
pj = 0;
}
if (Key.isDown(kright)) {
pd = 6;
pj = 2;
px = px + 4;
}
if (Key.isDown(kjump)) {
pd = 10;
px = px + 4;
ps = 1;
}
}
if (pd == 13) {
pf = 87 + (150 * xz);
if ((xz == 4) and (charge > 0)) {
pf = 722 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 422 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 272 - charge;
}
py = py + 2;
if (xz == 4) {
py = py - 2;
}
if (pwall == 0) {
pd = 7;
pj = 2;
}
if (pwall == 1) {
pd = 13;
pj = 0;
}
if (Key.isDown(kleft)) {
pd = 7;
pj = 2;
px = px - 5;
}
if (Key.isDown(kjump)) {
pd = 11;
px = px - 5;
ps = 1;
}
}
if (pd == 14) {
if ((ps > -1) and (ps < 5)) {
pf = 14 + (150 * xz);
}
if ((ps > 4) and (ps < 9)) {
pf = 15 + (150 * xz);
}
if ((xz == 4) and (charge > 0)) {
pf = 658 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 358 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 208 - charge;
}
if (Key.isDown(kup) and (ptime < 1)) {
py = py - 3;
ps = ps + 1;
if (ps > 8) {
ps = 1;
}
}
if (Key.isDown(kdown) and (ptime < 1)) {
py = py + 3;
ps = ps + 1;
if (ps > 8) {
ps = 1;
}
}
if (Key.isDown(kleft)) {
pd = 15;
}
if (Key.isDown(kjump)) {
pd = 6;
px = px + 12;
pj = 2;
}
}
if (pd == 15) {
if ((ps > -1) and (ps < 5)) {
pf = 84 + (150 * xz);
}
if ((ps > 4) and (ps < 9)) {
pf = 85 + (150 * xz);
}
if ((xz == 4) and (charge > 0)) {
pf = 728 - charge;
}
if ((xz == 2) and (charge > 0)) {
pf = 428 - charge;
}
if ((xz == 1) and (charge > 0)) {
pf = 278 - charge;
}
if (Key.isDown(kup) and (ptime < 1)) {
py = py - 3;
ps = ps + 1;
if (ps > 8) {
ps = 1;
}
}
if (Key.isDown(kdown) and (ptime < 1)) {
py = py + 3;
ps = ps + 1;
if (ps > 8) {
ps = 1;
}
}
if (Key.isDown(kright)) {
pd = 14;
}
if (Key.isDown(kjump)) {
pd = 7;
px = px - 12;
pj = 2;
}
}
if ((pd > 5) and (pd < 10)) {
py = py + pj;
if ((((((((pace == 2) or (pace == 4)) or (pace == 6)) or (pace == 8)) or (pace == 10)) or (pace == 12)) or (pace == 14)) or (pace == 16)) {
pj = pj + 3;
if (pj > 12) {
pj = 12;
}
if (Key.isDown(kjump)) {
pj = pj - 2;
}
}
}
h1 = 1;
while (h1 < 4) {
if (pst[h1] > 0) {
if ((xz == 0) or (xz == 3)) {
if (psd[h1] == 0) {
psx[h1] = psx[h1] + 12;
}
if (psd[h1] == 1) {
psx[h1] = psx[h1] - 12;
}
}
if (xz == 5) {
if (psd[h1] == 0) {
psx[h1] = psx[h1] + 10;
}
if (psd[h1] == 1) {
psx[h1] = psx[h1] - 10;
}
}
if ((((psx[h1] > (camx + 125)) or (psx[h1] < (camx - 125))) or (psy[h1] > (camy + 60))) or (psy[h1] < (camy - 110))) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
if (pst[h1] == 1) {
psf[h1] = 2;
}
if (pst[h1] == 2) {
if (psd[h1] == 0) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 3;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 4;
}
}
if (psd[h1] == 1) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 8;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 9;
}
}
}
if (pst[h1] == 3) {
if (psd[h1] == 0) {
if (((((pace == 1) or (pace == 5)) or (pace == 8)) or (pace == 11)) or (pace == 14)) {
psf[h1] = 5;
}
if ((((((pace == 2) or (pace == 3)) or (pace == 6)) or (pace == 9)) or (pace == 12)) or (pace == 15)) {
psf[h1] = 5;
}
if (((((pace == 4) or (pace == 7)) or (pace == 8)) or (pace == 13)) or (pace == 16)) {
psf[h1] = 7;
}
}
if (psd[h1] == 1) {
if (((((pace == 1) or (pace == 5)) or (pace == 8)) or (pace == 11)) or (pace == 14)) {
psf[h1] = 10;
}
if ((((((pace == 2) or (pace == 3)) or (pace == 6)) or (pace == 9)) or (pace == 12)) or (pace == 15)) {
psf[h1] = 11;
}
if (((((pace == 4) or (pace == 7)) or (pace == 8)) or (pace == 13)) or (pace == 16)) {
psf[h1] = 12;
}
}
}
if (pst[h1] == 4) {
if (psd[h1] == 0) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 14;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 15;
}
}
if (psd[h1] == 1) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 16;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 17;
}
}
}
if (pst[h1] == 5) {
psf[h1] = 18;
}
if (pst[h1] == 6) {
if (psd[h1] == 0) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 19;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 20;
}
}
if (psd[h1] == 1) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 21;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 22;
}
}
}
if (pst[h1] == 7) {
if (psd[h1] == 0) {
if (((((pace == 1) or (pace == 5)) or (pace == 8)) or (pace == 11)) or (pace == 14)) {
psf[h1] = 23;
}
if ((((((pace == 2) or (pace == 3)) or (pace == 6)) or (pace == 9)) or (pace == 12)) or (pace == 15)) {
psf[h1] = 24;
}
if (((((pace == 4) or (pace == 7)) or (pace == 8)) or (pace == 13)) or (pace == 16)) {
psf[h1] = 25;
}
}
if (psd[h1] == 1) {
if (((((pace == 1) or (pace == 5)) or (pace == 8)) or (pace == 11)) or (pace == 14)) {
psf[h1] = 26;
}
if ((((((pace == 2) or (pace == 3)) or (pace == 6)) or (pace == 9)) or (pace == 12)) or (pace == 15)) {
psf[h1] = 27;
}
if (((((pace == 4) or (pace == 7)) or (pace == 8)) or (pace == 13)) or (pace == 16)) {
psf[h1] = 28;
}
}
}
if (pst[h1] == 8) {
if (psd[h1] == 0) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 29;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 30;
}
}
if (psd[h1] == 1) {
if ((((((((pace == 1) or (pace == 2)) or (pace == 5)) or (pace == 6)) or (pace == 9)) or (pace == 10)) or (pace == 13)) or (pace == 14)) {
psf[h1] = 31;
}
if ((((((((pace == 3) or (pace == 4)) or (pace == 7)) or (pace == 8)) or (pace == 11)) or (pace == 12)) or (pace == 15)) or (pace == 16)) {
psf[h1] = 32;
}
}
}
if (pst[h1] == 9) {
psf[h1] = 33;
psd[h1] = psd[h1] - 1;
if (psd[h1] < 3) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (pst[h1] == 10) {
psf[h1] = 34;
psd[h1] = psd[h1] - 1;
if (psd[h1] < 3) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (pst[h1] == 11) {
if (psd[h1] == 0) {
psf[h1] = 35;
psx[h1] = psx[h1] + 10;
if (psx[h1] > (px + 56)) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (psd[h1] == 1) {
psf[h1] = 36;
psx[h1] = psx[h1] - 10;
if (psx[h1] < (px - 56)) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
if (pst[h1] == 12) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
if ((Key.isDown(kspec) and (wenergy > 1)) and ((pd == 4) or (pd == 5))) {
pst[h1] = 12;
psy[h1] = py - 12;
wenergy = wenergy - 1;
if (psd[h1] == 0) {
psf[h1] = 37;
psx[h1] = px + 20;
}
if (psd[h1] == 1) {
psf[h1] = 38;
psx[h1] = px - 20;
}
}
}
if (pst[h1] == 13) {
psf[h1] = 39;
psx[h1] = px;
psy[h1] = py - 13;
psd[h1] = psd[h1] - 1;
if (psd[h1] < 1) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (pst[h1] == 14) {
psf[h1] = 40;
psd[h1] = psd[h1] - 1;
if (psd[h1] < 2) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (pst[h1] == 15) {
psy[h1] = (psy[h1] - 2) + random(5);
if (psd[h1] == 0) {
psf[h1] = 41;
psx[h1] = psx[h1] - random(8);
}
if (psd[h1] == 1) {
psf[h1] = 42;
psx[h1] = psx[h1] + random(8);
}
}
if (pst[h1] == 16) {
psf[h1] = 43;
psd[h1] = psd[h1] - 1;
if (psd[h1] < 2) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (pst[h1] == 17) {
if (psd[h1] == 0) {
psf[h1] = 44;
psx[h1] = psx[h1] - 3;
if (psx[h1] > (px + 40)) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (psd[h1] == 1) {
psf[h1] = 45;
psx[h1] = psx[h1] + 3;
if (psx[h1] < (px - 40)) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
if (pst[h1] == 18) {
psf[h1] = 46;
psx[h1] = px;
psy[h1] = py - 13;
psd[h1] = psd[h1] - 1;
if (psd[h1] < 2) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
if (pst[h1] == 19) {
psy[h1] = psy[h1] + 1;
if (psd[h1] == 0) {
psf[h1] = 47;
psx[h1] = psx[h1] - 5;
}
if (psd[h1] == 1) {
psf[h1] = 48;
psx[h1] = psx[h1] + 5;
}
}
if (pst[h1] == 20) {
psf[h1] = 49 + psd[h1];
if (psd[h1] == 0) {
psx[h1] = psx[h1] - 2;
if (psx[h1] > (camx + 80)) {
psd[h1] = random(2) + 6;
jump.start();
}
}
if (psd[h1] == 1) {
psx[h1] = psx[h1] + 2;
if (psx[h1] < (camx - 80)) {
psd[h1] = random(2) + 4;
jump.start();
}
}
if (psd[h1] == 2) {
psy[h1] = psy[h1] - 10;
if (psy[h1] < (camy - 80)) {
psd[h1] = (2 * random(2)) + 4;
jump.start();
}
}
if (psd[h1] == 3) {
psy[h1] = psy[h1] + 10;
if (psy[h1] > (camy + 30)) {
psd[h1] = (2 * random(2)) + 5;
jump.start();
}
}
if (psd[h1] == 4) {
psx[h1] = psx[h1] + 7;
psy[h1] = psy[h1] - 7;
if ((psx[h1] > (camx + 80)) or (psy[h1] < (camy - 80))) {
psd[h1] = (2 * random(2)) + 3;
jump.start();
}
}
if (psd[h1] == 5) {
psx[h1] = psx[h1] + 7;
psy[h1] = psy[h1] + 7;
if ((psx[h1] > (camx + 80)) or (psy[h1] > (camy + 30))) {
psd[h1] = (2 * random(2)) + 2;
jump.start();
}
}
if (psd[h1] == 6) {
psx[h1] = psx[h1] - 7;
psy[h1] = psy[h1] - 7;
if ((psx[h1] < (camx - 80)) or (psy[h1] < (camy - 80))) {
psd[h1] = (4 * random(2)) + 3;
jump.start();
}
}
if (psd[h1] == 7) {
psx[h1] = psx[h1] - 7;
psy[h1] = psy[h1] + 7;
if ((psx[h1] < (camx - 80)) or (psy[h1] > (camy + 30))) {
psd[h1] = (4 * random(2)) + 2;
jump.start();
}
}
}
if (pst[h1] == 21) {
psf[h1] = 57;
psd[h1] = psd[h1] - 1;
if (psd[h1] < 2) {
pst[h1] = 0;
psf[h1] = 13;
psx[h1] = -2000;
psy[h1] = -2000;
}
}
}
h1++;
}
if (xz == 0) {
if ((Key.isDown(kcrush) and ((pd == 0) or (pd == 1))) and (crusher == 100)) {
i = 20;
gotoAndPlay (2201);
}
if (((Key.isDown(kspec) and (boss[weap] > 0)) and (ptime == 0)) and (pst[psn] == 0)) {
if (((weap == 1) and (wenergy > 10)) and ((pd > -1) and (pd < 6))) {
buster.start();
wenergy = wenergy - 10;
ptime = 20;
pst[psn] = 14;
psy[psn] = py - 14;
psx[psn] = px;
psd[psn] = 18;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if ((((weap == 2) or (weap == 6)) or (weap == 7)) and (wenergy > 6)) {
buster.start();
wenergy = wenergy - 6;
ptime = 8;
pst[psn] = weap + 13;
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) {
psd[psn] = 0;
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) {
psd[psn] = 1;
}
if ((pd == 0) or (pd == 2)) {
psx[psn] = px + 13;
psy[psn] = py - 14;
}
if ((pd == 1) or (pd == 3)) {
psx[psn] = px - 13;
psy[psn] = py - 14;
}
if (pd == 4) {
psx[psn] = px + 15;
psy[psn] = py - 10;
}
if (pd == 5) {
psx[psn] = px - 15;
psy[psn] = py - 10;
}
if ((pd == 6) or (pd == 8)) {
psx[psn] = px + 14;
psy[psn] = py - 17;
}
if ((pd == 7) or (pd == 9)) {
psx[psn] = px - 14;
psy[psn] = py - 17;
}
if (pd == 10) {
psx[psn] = px - 13;
psy[psn] = py - 16;
}
if (pd == 11) {
psx[psn] = px + 13;
psy[psn] = py - 16;
}
if ((pd == 12) or (pd == 14)) {
psx[psn] = px + 13;
psy[psn] = py - 20;
}
if ((pd == 13) or (pd == 15)) {
psx[psn] = px - 13;
psy[psn] = py - 20;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if (((weap == 3) and (wenergy > 8)) and ((pd > -1) and (pd < 4))) {
buster.start();
wenergy = wenergy - 8;
ptime = 16;
pst[psn] = 16;
psy[psn] = py;
psx[psn] = px;
psd[psn] = 11;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if (((weap == 4) and (wenergy > 6)) and ((pd > -1) and (pd < 6))) {
buster.start();
wenergy = wenergy - 6;
ptime = 13;
pst[psn] = 17;
psy[psn] = py - 14;
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) {
psd[psn] = 0;
psx[psn] = px + 10;
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) {
psd[psn] = 1;
psx[psn] = px - 10;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if ((weap == 5) and (wenergy > 10)) {
buster.start();
wenergy = wenergy - 10;
ptime = 85;
pst[psn] = 18;
psy[psn] = py - 13;
psx[psn] = px;
psd[psn] = 72;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if (((weap == 8) and (wenergy > 10)) and ((pd > -1) and (pd < 6))) {
buster.start();
wenergy = wenergy - 10;
ptime = 20;
pst[psn] = 21;
psy[psn] = py;
psx[psn] = px;
psd[psn] = 28;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (ptime == 5) {
ptime = 0;
}
if (Key.isDown(kattack)) {
ptime = 2;
charge = charge + 1;
}
if (ptime > 0) {
pf = pf + 16;
if ((ptime == 1) and (pst[psn] == 0)) {
if (charge < 15) {
lilbuster.start();
pst[psn] = 1;
}
if ((charge > 14) and (charge < 40)) {
midbuster.start();
pst[psn] = 2;
}
if (charge > 39) {
maxbuster.start();
pst[psn] = 3;
}
charge = 0;
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) {
psd[psn] = 0;
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) {
psd[psn] = 1;
}
if ((pd == 0) or (pd == 2)) {
psx[psn] = px + 13;
psy[psn] = py - 14;
}
if ((pd == 1) or (pd == 3)) {
psx[psn] = px - 13;
psy[psn] = py - 14;
}
if (pd == 4) {
psx[psn] = px + 15;
psy[psn] = py - 10;
}
if (pd == 5) {
psx[psn] = px - 15;
psy[psn] = py - 10;
}
if ((pd == 6) or (pd == 8)) {
psx[psn] = px + 14;
psy[psn] = py - 17;
}
if ((pd == 7) or (pd == 9)) {
psx[psn] = px - 14;
psy[psn] = py - 17;
}
if (pd == 10) {
psx[psn] = px - 13;
psy[psn] = py - 16;
}
if (pd == 11) {
psx[psn] = px + 13;
psy[psn] = py - 16;
}
if ((pd == 12) or (pd == 14)) {
psx[psn] = px + 13;
psy[psn] = py - 20;
}
if ((pd == 13) or (pd == 15)) {
psx[psn] = px - 13;
psy[psn] = py - 20;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
}
if (xz == 1) {
if ((Key.isDown(kcrush) and ((pd == 0) or (pd == 1))) and (crusher == 100)) {
i = 20;
gotoAndPlay (2101);
}
if (charge > 0) {
charge = charge - 1;
}
if ((charge == 7) or (charge == 12)) {
charge = 0;
}
if (Key.isDown(kattack)) {
if ((ptime == 0) and (charge == 0)) {
charge = 6;
zeroswing.start();
if ((((((boss[1] + boss[3]) + boss[6]) > 0) and ((pd > -1) and (pd < 4))) and (pst[psn] == 0)) and (wenergy > 2)) {
wenergy = wenergy - 2;
pst[psn] = 11;
if ((pd == 0) or (pd == 2)) {
psd[psn] = 0;
}
if ((pd == 1) or (pd == 3)) {
psd[psn] = 1;
}
if ((pd == 0) or (pd == 2)) {
psx[psn] = px + 13;
psy[psn] = py - 16;
}
if ((pd == 1) or (pd == 3)) {
psx[psn] = px - 13;
psy[psn] = py - 16;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if ((((boss[2] > 0) and ((pd == 4) or (pd == 5))) and (pst[psn] == 0)) and (wenergy > 2)) {
wenergy = wenergy - 2;
pst[psn] = 11;
psd[psn] = pd - 4;
if (pd == 4) {
psx[psn] = px + 15;
psy[psn] = py - 10;
}
if (pd == 5) {
psx[psn] = px - 15;
psy[psn] = py - 10;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if ((((boss[7] > 0) and (((pd > 5) and (pd < 10)) or ((pd > 11) and (pd < 16)))) and (pst[psn] == 0)) and (wenergy > 2)) {
wenergy = wenergy - 2;
pst[psn] = 11;
if ((((pd == 6) or (pd == 8)) or (pd == 12)) or (pd == 14)) {
psd[psn] = 0;
psx[psn] = px + 15;
psy[psn] = py - 10;
}
if ((((pd == 7) or (pd == 9)) or (pd == 13)) or (pd == 15)) {
psd[psn] = 1;
psx[psn] = px - 15;
psy[psn] = py - 10;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
ptime = 2;
}
if ((boss[8] > 0) and (charge > 0)) {
h1 = 1;
while (h1 < 7) {
if ((bst[h1] == 1) or (bst[h1] == 2)) {
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) {
if (((((bsx[h1] - 4) < (px + 35)) and ((bsx[h1] + 4) > px)) and ((bsy[h1] - 4) < (py + 7))) and ((bsy[h1] + 4) > (py - 32))) {
deflect.start();
bst[h1] = 0;
bsd[h1] = 0;
bsx[h1] = -2000;
bsy[h1] = -2000;
bsf[h1] = 7;
}
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) {
if (((((bsx[h1] + 4) > (px - 35)) and ((bsx[h1] - 4) < px)) and ((bsy[h1] - 4) < (py + 7))) and ((bsy[h1] + 4) > (py - 32))) {
deflect.start();
bst[h1] = 0;
bsd[h1] = 0;
bsx[h1] = -2000;
bsy[h1] = -2000;
bsf[h1] = 7;
}
}
}
h1++;
}
}
}
if (xz == 2) {
if ((Key.isDown(kcrush) and ((pd == 0) or (pd == 1))) and (crusher == 100)) {
i = 20;
gotoAndPlay (1901);
}
if (charge > 0) {
charge = charge - 1;
}
if (Key.isDown(kattack)) {
if ((ptime == 0) and (charge == 0)) {
charge = 6;
deliaswing.start();
}
ptime = 2;
}
if (pd == 16) {
pf = 367 - ps;
ps = ps - 1;
if (ps < 1) {
pd = 0;
}
if (Key.isDown(kjump)) {
pd = 6;
pj = -10;
}
}
if (pd == 17) {
pf = 437 - ps;
ps = ps - 1;
if (ps < 1) {
pd = 1;
}
if (Key.isDown(kjump)) {
pd = 7;
pj = -10;
}
}
h1 = 1;
while (h1 < 7) {
if (((bst[h1] == 1) or (bst[h1] == 2)) and (charge > 0)) {
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) {
if (((((bsx[h1] - 4) < (px + 35)) and ((bsx[h1] + 4) > px)) and ((bsy[h1] - 4) < (py + 7))) and ((bsy[h1] + 4) > (py - 32))) {
deflect.start();
bst[h1] = 0;
bsd[h1] = 0;
bsx[h1] = -2000;
bsy[h1] = -2000;
bsf[h1] = 7;
}
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) {
if (((((bsx[h1] + 4) > (px - 35)) and ((bsx[h1] - 4) < px)) and ((bsy[h1] - 4) < (py + 7))) and ((bsy[h1] + 4) > (py - 32))) {
deflect.start();
bst[h1] = 0;
bsd[h1] = 0;
bsx[h1] = -2000;
bsy[h1] = -2000;
bsf[h1] = 7;
}
}
}
h1++;
}
}
if (xz == 3) {
if ((Key.isDown(kcrush) and ((pd == 0) or (pd == 1))) and (crusher == 100)) {
i = 20;
gotoAndPlay (1701);
}
if (((Key.isDown(kspec) and (ptime < 1)) and (pst[psn] == 0)) and (wenergy > (16 - (((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8])))) {
ptime = 15;
wenergy = wenergy - (16 - (((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]));
boom1.start();
psd[psn] = 30;
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) {
pst[psn] = 9;
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) {
pst[psn] = 10;
}
psx[psn] = px;
psy[psn] = py - 20;
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
if (ptime == 5) {
ptime = 0;
}
if (Key.isDown(kattack) and (ptime < 1)) {
ptime = 3;
}
if (ptime > 0) {
pf = pf + 16;
if ((ptime == 1) and (pst[psn] == 0)) {
buster.start();
pst[psn] = 4;
if ((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) {
psd[psn] = 0;
}
if ((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) {
psd[psn] = 1;
}
if ((pd == 0) or (pd == 2)) {
psx[psn] = px + 13;
psy[psn] = py - 14;
}
if ((pd == 1) or (pd == 3)) {
psx[psn] = px - 13;
psy[psn] = py - 14;
}
if (pd == 4) {
psx[psn] = px + 15;
psy[psn] = py - 10;
}
if (pd == 5) {
psx[psn] = px - 15;
psy[psn] = py - 10;
}
if ((pd == 6) or (pd == 8)) {
psx[psn] = px + 14;
psy[psn] = py - 17;
}
if ((pd == 7) or (pd == 9)) {
psx[psn] = px - 14;
psy[psn] = py - 17;
}
if (pd == 10) {
psx[psn] = px - 13;
psy[psn] = py - 16;
}
if (pd == 11) {
psx[psn] = px + 13;
psy[psn] = py - 16;
}
if ((pd == 12) or (pd == 14)) {
psx[psn] = px + 13;
psy[psn] = py - 20;
}
if ((pd == 13) or (pd == 15)) {
psx[psn] = px - 13;
psy[psn] = py - 20;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
}
if (xz == 4) {
if ((Key.isDown(kcrush) and ((pd == 0) or (pd == 1))) and (crusher == 100)) {
i = 20;
gotoAndPlay (1801);
}
if ((Key.isDown(kspec) and (i < 2)) and (wenergy > 12)) {
lightning.start();
i = 30 + (5 * (((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]));
wenergy = wenergy - 12;
}
if (charge > 0) {
charge = charge - 1;
}
if ((charge == 7) or (charge == 12)) {
charge = 0;
}
if (Key.isDown(kattack)) {
if ((ptime == 0) and (charge == 0)) {
charge = 6;
shothit.start();
}
ptime = 2;
}
}
if (xz == 5) {
if ((Key.isDown(kspec) and ((pd == 20) or (pd == 21))) and (crusher == 100)) {
i = 20;
gotoAndPlay (2001);
}
if (pd == 20) {
pf = 794;
charge = 0;
if (Key.isDown(kright)) {
px = px + 6;
}
if (Key.isDown(kleft)) {
px = px - 6;
if (ptime < 1) {
pd = 21;
}
}
if (Key.isDown(kup)) {
py = py - 6;
}
if (Key.isDown(kdown)) {
py = py + 6;
}
if (Key.isDown(kcrush) or (wenergy < 1)) {
pd = 6;
pj = 0;
ptime = 10;
}
}
if (pd == 21) {
pf = 864;
charge = 0;
if (Key.isDown(kright)) {
px = px + 6;
if (ptime < 1) {
pd = 20;
}
}
if (Key.isDown(kleft)) {
px = px - 6;
}
if (Key.isDown(kup)) {
py = py - 6;
}
if (Key.isDown(kdown)) {
py = py + 6;
}
if (Key.isDown(kcrush) or (wenergy < 1)) {
pd = 7;
pj = 0;
ptime = 10;
}
}
if (ptime == 3) {
ptime = 0;
}
if (((pd == 20) or (pd == 21)) and ((((pace == 3) or (pace == 7)) or (pace == 11)) or (pace == 15))) {
wenergy = wenergy - (9 - (((((((boss[1] + boss[2]) + boss[3]) + boss[4]) + boss[5]) + boss[6]) + boss[7]) + boss[8]));
}
if (Key.isDown(kattack)) {
ptime = 2;
charge = charge + 1;
}
if ((ptime > 0) and (((pd < 16) or (pd == 20)) or (pd == 21))) {
pf = pf + 16;
if (pd == 20) {
pf = 795;
}
if (pd == 21) {
pf = 865;
}
if ((ptime == 1) and (pst[psn] == 0)) {
if (charge < 15) {
lilbuster.start();
pst[psn] = 5;
}
if ((charge > 14) and (charge < 40)) {
midbuster.start();
pst[psn] = 6;
}
if (charge > 39) {
maxbuster.start();
pst[psn] = 7;
}
if ((pd == 20) or (pd == 21)) {
pst[psn] = 8;
}
charge = 0;
if (((((((((pd == 0) or (pd == 2)) or (pd == 4)) or (pd == 6)) or (pd == 8)) or (pd == 11)) or (pd == 12)) or (pd == 14)) or (pd == 20)) {
psd[psn] = 0;
}
if (((((((((pd == 1) or (pd == 3)) or (pd == 5)) or (pd == 7)) or (pd == 9)) or (pd == 10)) or (pd == 13)) or (pd == 15)) or (pd == 21)) {
psd[psn] = 1;
}
if ((pd == 0) or (pd == 2)) {
psx[psn] = px + 13;
psy[psn] = py - 16;
}
if ((pd == 1) or (pd == 3)) {
psx[psn] = px - 13;
psy[psn] = py - 16;
}
if (pd == 4) {
psx[psn] = px + 18;
psy[psn] = py - 10;
}
if (pd == 5) {
psx[psn] = px - 18;
psy[psn] = py - 10;
}
if (pd == 20) {
psx[psn] = px + 24;
psy[psn] = py - 19;
}
if (pd == 21) {
psx[psn] = px - 24;
psy[psn] = py - 19;
}
if ((pd == 6) or (pd == 8)) {
psx[psn] = px + 14;
psy[psn] = py - 18;
}
if ((pd == 7) or (pd == 9)) {
psx[psn] = px - 14;
psy[psn] = py - 18;
}
if (pd == 10) {
psx[psn] = px - 13;
psy[psn] = py - 16;
}
if (pd == 11) {
psx[psn] = px + 13;
psy[psn] = py - 16;
}
if ((pd == 12) or (pd == 14)) {
psx[psn] = px + 13;
psy[psn] = py - 20;
}
if ((pd == 13) or (pd == 15)) {
psx[psn] = px - 13;
psy[psn] = py - 20;
}
psn = psn + 1;
if (psn > 3) {
psn = 1;
}
}
}
if (pd == 16) {
pf = 792 - ps;
ps = ps - 1;
if (ps < 1) {
pd = 0;
}
if (Key.isDown(kjump)) {
pd = 6;
pj = -10;
}
}
if (pd == 17) {
pf = 862 - ps;
ps = ps - 1;
if (ps < 1) {
pd = 1;
}
if (Key.isDown(kjump)) {
pd = 7;
pj = -10;
}
}
if (pd == 18) {
pf = 792;
ps = ps - 1;
if (ps < 1) {
pd = 20;
}
}
if (pd == 19) {
pf = 862;
ps = ps - 1;
if (ps < 1) {
pd = 21;
}
}
}
}
function csetup() {
psn = 1;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
h1 = 1;
while (h1 < 11) {
bt[h1] = 0;
bg[h1] = 0;
btime[h1] = 15;
bd[h1] = 0;
bj[h1] = 0;
bs[h1] = 0;
bl[h1] = 0;
bx[h1] = -1000;
by[h1] = -1000;
bf[h1] = 1;
h1++;
}
bsn = 1;
h1 = 1;
while (h1 < 7) {
bst[h1] = 0;
bsd[h1] = 0;
bsx[h1] = -2000;
bsy[h1] = -2000;
bsf[h1] = 7;
h1++;
}
h1 = 1;
while (h1 < 16) {
blt[h1] = 1;
blx[h1] = -2000;
bly[h1] = -2000;
blsx[h1] = 0;
blsy[h1] = 0;
h1++;
}
}
function prsc() {
if (enhan[7] > 0) {
h1 = 1;
while (h1 < 11) {
bl[h1] = bl[h1] - 2;
h1++;
}
}
}
Frame 2864
function cxyz() {
if (py < -470) {
py = -470;
}
if (py > 50) {
py = 50;
}
if (px < 5) {
px = 5;
}
if (px > 795) {
px = 795;
}
pace = pace + 1;
if (pace > 16) {
pace = 1;
if (((wenergy < wmax) and (pd < 16)) and (i < 1)) {
wenergy = wenergy + 1;
}
}
if (i > 0) {
i = i - 1;
}
if (ptime > 0) {
ptime = ptime - 1;
}
camx = px;
if (camx < 100) {
camx = 100;
}
if (camx > 700) {
camx = 700;
}
camy = py;
if (camy < -400) {
camy = -400;
}
if (camy > -50) {
camy = -50;
}
}
Frame 2869
gotoAndPlay (2521);
Frame 2881
gotoAndPlay (2880);
Frame 2886
gotoAndPlay (2885);
Frame 2891
gotoAndPlay (2890);
Frame 2899
h1 = 1;
while (h1 < 5) {
bx[h1] = 0;
by[h1] = 0;
bt[h1] = 0;
bd[h1] = 0;
h1++;
}
Frame 2900
d1.gotoAndStop(bx[1] + 1);
d2.gotoAndStop(bx[2] + 1);
d3.gotoAndStop(bx[3] + 1);
d4.gotoAndStop(bx[4] + 1);
d5.gotoAndStop(by[1] + 1);
d6.gotoAndStop(by[2] + 1);
d7.gotoAndStop(by[3] + 1);
d8.gotoAndStop(by[4] + 1);
d9.gotoAndStop(bt[1] + 1);
d10.gotoAndStop(bt[2] + 1);
d11.gotoAndStop(bt[3] + 1);
d12.gotoAndStop(bt[4] + 1);
d13.gotoAndStop(bd[1] + 1);
d14.gotoAndStop(bd[2] + 1);
d15.gotoAndStop(bd[3] + 1);
d16.gotoAndStop(bd[4] + 1);
if ((((((((((((((((bx[1] == 3) and (bx[2] == 3)) and (bx[3] == 0)) and (bx[4] == 0)) and (by[1] == 0)) and (by[2] == 0)) and (by[3] == 0)) and (by[4] == 3)) and (bt[1] == 0)) and (bt[2] == 0)) and (bt[3] == 3)) and (bt[4] == 0)) and (bd[1] == 3)) and (bd[2] == 3)) and (bd[3] == 0)) and (bd[4] == 1)) {
lifeupsfx.start();
money = 2500;
h1 = 1;
while (h1 < 5) {
bx[h1] = 0;
by[h1] = 0;
bt[h1] = 0;
bd[h1] = 0;
h1++;
}
}
if ((((((((((((((((bx[1] == 1) and (bx[2] == 0)) and (bx[3] == 2)) and (bx[4] == 0)) and (by[1] == 0)) and (by[2] == 4)) and (by[3] == 0)) and (by[4] == 1)) and (bt[1] == 0)) and (bt[2] == 1)) and (bt[3] == 0)) and (bt[4] == 4)) and (bd[1] == 2)) and (bd[2] == 0)) and (bd[3] == 3)) and (bd[4] == 0)) {
lifeupsfx.start();
gotoAndPlay (2880);
}
if ((((((((((((((((bx[1] == 0) and (bx[2] == 0)) and (bx[3] == 1)) and (bx[4] == 0)) and (by[1] == 4)) and (by[2] == 4)) and (by[3] == 0)) and (by[4] == 1)) and (bt[1] == 0)) and (bt[2] == 0)) and (bt[3] == 0)) and (bt[4] == 0)) and (bd[1] == 2)) and (bd[2] == 0)) and (bd[3] == 1)) and (bd[4] == 3)) {
game = 5;
lifeupsfx.start();
gotoAndPlay (9620);
}
if ((((((((((((((((bx[1] == 2) and (bx[2] == 3)) and (bx[3] == 3)) and (bx[4] == 2)) and (by[1] == 4)) and (by[2] == 1)) and (by[3] == 1)) and (by[4] == 2)) and (bt[1] == 4)) and (bt[2] == 0)) and (bt[3] == 0)) and (bt[4] == 1)) and (bd[1] == 2)) and (bd[2] == 0)) and (bd[3] == 0)) and (bd[4] == 2)) {
timer = 2000;
lifeupsfx.start();
h1 = 1;
while (h1 < 5) {
bx[h1] = 0;
by[h1] = 0;
bt[h1] = 0;
bd[h1] = 0;
h1++;
}
}
if ((((((((((((((((bx[1] == 4) and (bx[2] == 4)) and (bx[3] == 4)) and (bx[4] == 4)) and (by[1] == 2)) and (by[2] == 2)) and (by[3] == 2)) and (by[4] == 2)) and (bt[1] == 1)) and (bt[2] == 0)) and (bt[3] == 1)) and (bt[4] == 0)) and (bd[1] == 0)) and (bd[2] == 3)) and (bd[3] == 0)) and (bd[4] == 3)) {
pace = 2000;
lifeupsfx.start();
h1 = 1;
while (h1 < 5) {
bx[h1] = 0;
by[h1] = 0;
bt[h1] = 0;
bd[h1] = 0;
h1++;
}
}
Frame 2901
gotoAndPlay (2900);
Frame 3001
stop();
stopAllSounds();
Frame 3002
stop();
Frame 3003
stop();
Frame 3004
stop();
Frame 3005
stop();
Frame 3006
stop();
Frame 3007
stop();
Frame 3008
stop();
Frame 3009
stop();
Frame 3010
stop();
Frame 3011
stop();
Frame 3012
stop();
Frame 3013
stop();
Frame 3014
stop();
Frame 3015
stop();
Frame 3016
stop();
Frame 3017
stop();
Frame 3018
stop();
Frame 3019
stop();
Frame 3020
stop();
Frame 3021
stop();
Frame 3022
stop();
Frame 3023
stop();
Frame 3024
stop();
Frame 3025
stop();
Frame 3026
stop();
Frame 3027
stop();
Frame 3028
stop();
stopAllSounds();
Frame 3029
stop();
Frame 3030
stop();
Frame 3031
stop();
Frame 3032
stop();
Frame 3033
stop();
Frame 3034
stop();
Frame 3035
stop();
Frame 3036
stop();
Frame 3037
stop();
Frame 3038
stop();
stopAllSounds();
Frame 3039
stop();
Frame 3040
stop();
Frame 3041
stop();
Frame 3042
stop();
Frame 3043
stop();
Frame 3044
stop();
Frame 3045
stop();
Frame 3046
stop();
Frame 3047
stop();
Frame 3048
stop();
Frame 3049
stop();
Frame 3050
stop();
Frame 3051
stop();
Frame 3052
stop();
Frame 3053
stop();
Frame 3054
stop();
Frame 3055
stop();
Frame 3056
stop();
Frame 3057
stop();
Frame 3058
stop();
Frame 3059
stop();
Frame 3060
stop();
Frame 3061
stopAllSounds();
checkp = 1;
gotoAndPlay (2556);
Frame 3062
stopAllSounds();
Frame 3063
stop();
Frame 3064
stop();
Frame 3065
stop();
Frame 3066
stop();
Frame 3067
stop();
Frame 3068
stop();
Frame 3069
stop();
Frame 3070
stop();
Frame 3071
stop();
Frame 3072
stop();
Frame 3073
stop();
Frame 3074
stop();
Frame 3075
stop();
Frame 3076
stop();
Frame 3077
stop();
Frame 3078
stop();
Frame 3079
stop();
Frame 3080
stop();
Frame 3081
stop();
stopAllSounds();
Frame 3082
stop();
Frame 3083
stop();
Frame 3084
stop();
Frame 3085
stop();
Frame 3086
stopAllSounds();
checkp = 2;
gotoAndPlay (2556);
Frame 3087
stopAllSounds();
Frame 3088
stop();
Frame 3089
stop();
Frame 3090
stop();
Frame 3091
stopAllSounds();
checkp = 3;
gotoAndPlay (2556);
Frame 3092
stopAllSounds();
Frame 3093
stopAllSounds();
checkp = 4;
gotoAndPlay (2556);
Frame 3094
stopAllSounds();
Frame 3095
stop();
Frame 3096
stop();
Frame 3097
stopAllSounds();
checkp = 5;
gotoAndPlay (2556);
Frame 3098
stopAllSounds();
Frame 3099
stop();
Frame 3100
stop();
Frame 3101
stop();
Frame 3102
stop();
Frame 3103
stop();
Frame 3104
stop();
Frame 3105
stop();
Frame 3106
stopAllSounds();
checkp = 6;
gotoAndPlay (2556);
Frame 3107
stopAllSounds();
Frame 3108
stop();
Frame 3109
stop();
Frame 3110
stop();
Frame 3111
stop();
Frame 3112
stop();
Frame 3113
stop();
Frame 3114
stop();
Frame 3115
stopAllSounds();
checkp = 7;
gotoAndPlay (2556);
Frame 3116
stopAllSounds();
Frame 3117
stop();
Frame 3118
stop();
Frame 3119
stop();
Frame 3120
stop();
Frame 3121
stop();
Frame 3122
stop();
Frame 3123
stop();
Frame 3124
stop();
Frame 3125
stopAllSounds();
checkp = 8;
gotoAndPlay (2556);
Frame 3126
stopAllSounds();
Frame 3127
stop();
Frame 3128
stop();
Frame 3129
stop();
Frame 3130
stop();
Frame 3131
stop();
stopAllSounds();
Frame 3132
stop();
Frame 3133
stop();
Frame 3134
stop();
Frame 3135
stop();
Frame 3136
stop();
Frame 3137
stop();
Frame 3138
stop();
Frame 3139
stop();
Frame 3140
stop();
Frame 3141
stop();
Frame 3142
stop();
stopAllSounds();
Frame 3143
stop();
Frame 3144
stop();
Frame 3145
stop();
Frame 3146
stop();
Frame 3147
stop();
Frame 3148
stop();
Frame 3149
stop();
Frame 3150
stop();
Frame 3151
stop();
Frame 3152
stop();
Frame 3153
stop();
Frame 3154
stop();
Frame 3155
stop();
Frame 3156
stop();
Frame 3157
stop();
Frame 3158
stop();
Frame 3159
stop();
Frame 3160
stop();
Frame 3161
stop();
Frame 3162
stop();
Frame 3163
stop();
Frame 3164
stop();
Frame 3165
stop();
Frame 3166
stop();
Frame 3167
stop();
Frame 3168
stop();
Frame 3169
stop();
Frame 3170
stop();
Frame 3171
stop();
Frame 3172
stop();
Frame 3173
stop();
Frame 3174
stop();
Frame 3175
stop();
Frame 3176
stop();
Frame 3177
stop();
Frame 3178
stop();
Frame 3179
stop();
Frame 3180
stop();
Frame 3181
stop();
Frame 3182
stop();
Frame 3183
stop();
Frame 3184
stop();
Frame 3185
stop();
Frame 3186
stop();
Frame 3187
stop();
Frame 3188
stop();
Frame 3189
stop();
stopAllSounds();
Frame 3190
stop();
Frame 3191
stop();
Frame 3192
stop();
Frame 3193
stop();
Frame 3194
stop();
Frame 3195
stop();
Frame 3196
stop();
Frame 3197
stop();
Frame 3198
stop();
Frame 3199
stop();
Frame 3200
stop();
Frame 3201
stop();
Frame 3202
stop();
Frame 3203
stop();
Frame 3204
stop();
Frame 3205
stop();
Frame 3206
stop();
Frame 3207
stop();
Frame 3208
stop();
Frame 3209
stop();
Frame 3210
stopAllSounds();
checkp = 13;
gotoAndPlay (2556);
Frame 3211
stopAllSounds();
Frame 3212
stop();
Frame 3213
stop();
Frame 3214
stop();
Frame 3215
stop();
Frame 3216
stop();
Frame 3217
stop();
Frame 3218
stop();
Frame 3219
stop();
Frame 3220
stop();
Frame 3221
stop();
Frame 3222
stop();
Frame 3223
stop();
Frame 3224
stop();
Frame 3225
stop();
stopAllSounds();
Frame 3226
stop();
Frame 3227
stop();
Frame 3228
stop();
Frame 3229
stop();
Frame 3230
stop();
Frame 3231
stop();
Frame 3232
stop();
Frame 3233
stop();
Frame 3234
stop();
Frame 3235
stop();
Frame 3236
stop();
Frame 3237
stop();
Frame 3238
stop();
Frame 3239
stop();
Frame 3240
stop();
Frame 3241
stop();
Frame 3242
stop();
Frame 3243
stop();
stopAllSounds();
Frame 3244
stop();
Frame 3245
stop();
Frame 3246
stop();
Frame 3247
stop();
Frame 3248
stop();
Frame 3249
stop();
Frame 3250
stop();
Frame 3251
stop();
Frame 3252
stop();
Frame 3253
stop();
Frame 3254
stop();
Frame 3255
stop();
Frame 3256
stop();
Frame 3257
stop();
Frame 3258
stop();
Frame 3259
stop();
Frame 3260
stop();
Frame 3261
stop();
Frame 3262
stop();
Frame 3263
stop();
Frame 3264
stop();
Frame 3265
stop();
Frame 3266
stop();
Frame 3267
stop();
Frame 3268
stop();
Frame 3269
stop();
Frame 3270
stop();
Frame 3271
stop();
Frame 3272
stop();
Frame 3273
stop();
Frame 3274
stop();
Frame 3275
stop();
Frame 3276
stop();
Frame 3277
stop();
Frame 3278
stop();
stopAllSounds();
Frame 3279
stop();
Frame 3280
stop();
Frame 3281
stop();
Frame 3282
stop();
Frame 3283
stop();
Frame 3284
stop();
Frame 3285
stop();
Frame 3286
stop();
Frame 3287
stop();
Frame 3288
stop();
Frame 3289
stop();
Frame 3290
stop();
Frame 3291
stop();
Frame 3292
stop();
Frame 3293
stop();
Frame 3294
stop();
Frame 3295
stop();
Frame 3296
stop();
Frame 3297
stop();
Frame 3298
stop();
Frame 3299
stop();
Frame 3300
stop();
Frame 3301
stop();
stopAllSounds();
Frame 3302
stop();
Frame 3303
stop();
Frame 3304
stop();
Frame 3305
stop();
Frame 3306
stop();
Frame 3307
stop();
Frame 3308
stop();
Frame 3309
stop();
Frame 3310
stop();
Frame 3311
stop();
Frame 3312
stop();
Frame 3313
stopAllSounds();
gotoAndPlay (3740);
Frame 3315
stop();
stopAllSounds();
Frame 3316
stop();
Frame 3317
stop();
Frame 3318
stop();
Frame 3319
stop();
Frame 3320
stop();
Frame 3321
stop();
Frame 3322
stop();
Frame 3323
stop();
Frame 3324
stop();
Frame 3325
stop();
Frame 3326
stop();
Frame 3327
stop();
Frame 3328
stop();
Frame 3329
stop();
Frame 3330
stop();
Frame 3331
stop();
Frame 3332
stop();
Frame 3333
stop();
Frame 3334
stop();
Frame 3335
stop();
Frame 3336
stop();
stopAllSounds();
Frame 3337
stop();
Frame 3338
stop();
Frame 3339
stop();
Frame 3340
stop();
stopAllSounds();
Frame 3341
stop();
Frame 3342
stop();
Frame 3343
stop();
Frame 3344
stop();
Frame 3345
stop();
Frame 3346
stop();
Frame 3347
stop();
Frame 3348
stop();
Frame 3349
stop();
Frame 3350
stop();
Frame 3351
stop();
Frame 3352
stop();
Frame 3353
stopAllSounds();
checkp = 1;
gotoAndPlay (2556);
Frame 3354
stopAllSounds();
Frame 3355
stop();
Frame 3356
stop();
Frame 3357
stop();
Frame 3358
stop();
Frame 3359
stop();
Frame 3360
stop();
Frame 3361
stop();
Frame 3362
stopAllSounds();
checkp = 2;
gotoAndPlay (2556);
Frame 3363
stopAllSounds();
Frame 3364
stop();
Frame 3365
stop();
Frame 3366
stop();
Frame 3367
stop();
Frame 3368
stop();
Frame 3369
stop();
Frame 3370
stop();
Frame 3371
stop();
Frame 3372
stop();
Frame 3373
stop();
Frame 3374
stop();
Frame 3375
stop();
Frame 3376
stop();
Frame 3377
stop();
Frame 3378
stop();
Frame 3379
stopAllSounds();
checkp = 3;
gotoAndPlay (2556);
Frame 3380
stopAllSounds();
Frame 3381
stopAllSounds();
checkp = 5;
gotoAndPlay (2556);
Frame 3382
stopAllSounds();
Frame 3383
stop();
Frame 3384
stop();
Frame 3385
stop();
Frame 3386
stopAllSounds();
checkp = 6;
gotoAndPlay (2556);
Frame 3387
stopAllSounds();
Frame 3388
stop();
Frame 3389
stop();
Frame 3390
stop();
Frame 3391
stopAllSounds();
checkp = 7;
gotoAndPlay (2556);
Frame 3392
stopAllSounds();
Frame 3393
stop();
Frame 3394
stop();
Frame 3395
stop();
stopAllSounds();
Frame 3396
stop();
Frame 3397
stop();
Frame 3398
stop();
Frame 3399
stop();
Frame 3400
stop();
Frame 3401
stop();
Frame 3402
stop();
Frame 3403
stop();
Frame 3404
stop();
Frame 3405
stop();
Frame 3406
stop();
Frame 3407
stop();
Frame 3408
stop();
Frame 3409
stop();
Frame 3410
stop();
Frame 3411
stop();
Frame 3412
stop();
Frame 3413
stop();
stopAllSounds();
Frame 3414
stop();
Frame 3415
stop();
Frame 3416
stop();
Frame 3417
stop();
Frame 3418
stop();
Frame 3419
stop();
Frame 3420
stop();
Frame 3421
stop();
Frame 3422
stop();
Frame 3423
stopAllSounds();
checkp = 9;
gotoAndPlay (2556);
Frame 3424
stopAllSounds();
Frame 3425
stop();
Frame 3426
stop();
Frame 3427
stop();
Frame 3428
stop();
Frame 3429
stop();
Frame 3430
stop();
Frame 3431
stop();
Frame 3432
stop();
Frame 3433
stop();
Frame 3434
stop();
Frame 3435
stop();
Frame 3436
stop();
Frame 3437
stop();
Frame 3438
stop();
stopAllSounds();
Frame 3439
stop();
Frame 3440
stop();
Frame 3441
stop();
Frame 3442
stop();
Frame 3443
stop();
Frame 3444
stop();
Frame 3445
stop();
Frame 3446
stop();
Frame 3447
stop();
Frame 3448
stop();
Frame 3449
stop();
Frame 3450
stopAllSounds();
checkp = 13;
gotoAndPlay (2556);
Frame 3451
stopAllSounds();
Frame 3452
stop();
Frame 3453
stop();
Frame 3454
stop();
Frame 3455
stop();
Frame 3456
stop();
Frame 3457
stop();
Frame 3458
stop();
Frame 3459
stop();
Frame 3460
stop();
Frame 3461
stop();
Frame 3462
stop();
Frame 3463
stop();
Frame 3464
stop();
Frame 3465
stop();
Frame 3466
stop();
Frame 3467
stop();
Frame 3468
stop();
Frame 3469
stop();
Frame 3470
stop();
Frame 3471
stop();
Frame 3472
stop();
Frame 3473
stop();
Frame 3474
stop();
Frame 3475
stop();
Frame 3476
stop();
Frame 3477
stop();
Frame 3478
stop();
Frame 3479
stop();
Frame 3480
stop();
Frame 3481
stop();
Frame 3482
stop();
Frame 3483
stop();
stopAllSounds();
Frame 3484
stop();
Frame 3485
stop();
Frame 3486
stop();
Frame 3487
stop();
Frame 3488
stop();
Frame 3489
stop();
Frame 3490
stop();
Frame 3491
stopAllSounds();
gotoAndPlay (3740);
Frame 3493
stop();
stopAllSounds();
Frame 3494
stop();
Frame 3495
stop();
Frame 3496
stop();
Frame 3497
stop();
Frame 3498
stop();
Frame 3499
stop();
Frame 3500
stop();
Frame 3501
stop();
Frame 3502
stop();
Frame 3503
stop();
Frame 3504
stop();
stopAllSounds();
Frame 3505
stop();
Frame 3506
stop();
Frame 3507
stop();
Frame 3508
stop();
Frame 3509
stop();
Frame 3510
stop();
Frame 3511
stop();
Frame 3512
stop();
Frame 3513
stop();
Frame 3514
stop();
Frame 3515
stop();
Frame 3516
stop();
Frame 3517
stop();
Frame 3518
stop();
stopAllSounds();
Frame 3519
stop();
Frame 3520
stop();
Frame 3521
stop();
Frame 3522
stop();
Frame 3523
stop();
Frame 3524
stop();
Frame 3525
stopAllSounds();
checkp = 1;
gotoAndPlay (2556);
Frame 3526
stopAllSounds();
Frame 3527
stop();
Frame 3528
stop();
Frame 3529
stop();
Frame 3530
stop();
Frame 3531
stop();
Frame 3532
stop();
Frame 3533
stopAllSounds();
checkp = 2;
gotoAndPlay (2556);
Frame 3534
stopAllSounds();
Frame 3535
stopAllSounds();
checkp = 3;
gotoAndPlay (2556);
Frame 3536
stopAllSounds();
Frame 3537
stop();
Frame 3538
stop();
Frame 3539
stop();
Frame 3540
stop();
Frame 3541
stop();
Frame 3542
stop();
Frame 3543
stop();
Frame 3544
stop();
Frame 3545
stop();
Frame 3546
stopAllSounds();
checkp = 5;
gotoAndPlay (2556);
Frame 3547
stopAllSounds();
Frame 3548
stop();
Frame 3549
stop();
Frame 3550
stop();
Frame 3551
stop();
Frame 3552
stop();
Frame 3553
stop();
Frame 3554
stop();
Frame 3555
stop();
Frame 3556
stop();
Frame 3557
stop();
Frame 3558
stop();
Frame 3559
stopAllSounds();
checkp = 6;
gotoAndPlay (2556);
Frame 3560
stopAllSounds();
Frame 3561
stop();
Frame 3562
stop();
Frame 3563
stop();
Frame 3564
stop();
Frame 3565
stop();
Frame 3566
stopAllSounds();
checkp = 7;
gotoAndPlay (2556);
Frame 3567
stopAllSounds();
Frame 3568
stop();
Frame 3569
stop();
Frame 3570
stop();
Frame 3571
stop();
Frame 3572
stop();
Frame 3573
stop();
Frame 3574
stop();
Frame 3575
stop();
Frame 3576
stop();
Frame 3577
stop();
Frame 3578
stop();
Frame 3579
stop();
Frame 3580
stopAllSounds();
checkp = 10;
gotoAndPlay (2556);
Frame 3581
stopAllSounds();
Frame 3582
stop();
Frame 3583
stop();
Frame 3584
stop();
Frame 3585
stop();
Frame 3586
stopAllSounds();
checkp = 13;
gotoAndPlay (2556);
Frame 3587
stopAllSounds();
Frame 3588
stop();
Frame 3589
stop();
Frame 3590
stop();
Frame 3591
stop();
Frame 3592
stop();
Frame 3593
stop();
Frame 3594
stop();
Frame 3595
stop();
Frame 3596
stop();
stopAllSounds();
Frame 3597
stop();
Frame 3598
stop();
Frame 3599
stop();
Frame 3600
stop();
Frame 3601
stop();
Frame 3602
stop();
Frame 3603
stop();
Frame 3604
stop();
Frame 3605
stop();
Frame 3606
stop();
Frame 3607
stop();
Frame 3608
stopAllSounds();
gotoAndPlay (3740);
Frame 3610
stop();
stopAllSounds();
Frame 3611
stop();
Frame 3612
stop();
Frame 3613
stop();
Frame 3614
stop();
Frame 3615
stop();
Frame 3616
stop();
Frame 3617
stop();
Frame 3618
stop();
Frame 3619
stop();
Frame 3620
stop();
Frame 3621
stop();
Frame 3622
stop();
Frame 3623
stop();
Frame 3624
stop();
Frame 3625
stop();
Frame 3626
stop();
Frame 3627
stop();
Frame 3628
stop();
Frame 3629
stop();
Frame 3630
stop();
Frame 3631
stop();
Frame 3632
stop();
Frame 3633
stop();
Frame 3634
stop();
stopAllSounds();
Frame 3635
stop();
Frame 3636
stop();
Frame 3637
stop();
Frame 3638
stop();
Frame 3639
stop();
Frame 3640
stop();
Frame 3641
stop();
Frame 3642
stop();
Frame 3643
stop();
Frame 3644
stop();
Frame 3645
stop();
Frame 3646
stop();
Frame 3647
stop();
Frame 3648
stopAllSounds();
checkp = 1;
gotoAndPlay (2556);
Frame 3649
stopAllSounds();
Frame 3650
stop();
Frame 3651
stop();
Frame 3652
stop();
Frame 3653
stop();
Frame 3654
stop();
Frame 3655
stop();
Frame 3656
stop();
Frame 3657
stop();
Frame 3658
stop();
Frame 3659
stop();
Frame 3660
stop();
Frame 3661
stop();
Frame 3662
stop();
Frame 3663
stop();
Frame 3664
stopAllSounds();
checkp = 2;
gotoAndPlay (2556);
Frame 3665
stopAllSounds();
Frame 3666
stopAllSounds();
checkp = 3;
gotoAndPlay (2556);
Frame 3667
stopAllSounds();
Frame 3668
stop();
Frame 3669
stop();
Frame 3670
stop();
Frame 3671
stopAllSounds();
checkp = 5;
gotoAndPlay (2556);
Frame 3672
stopAllSounds();
Frame 3673
stop();
Frame 3674
stop();
Frame 3675
stop();
Frame 3676
stop();
Frame 3677
stop();
Frame 3678
stop();
Frame 3679
stopAllSounds();
checkp = 6;
gotoAndPlay (2556);
Frame 3680
stopAllSounds();
Frame 3681
stop();
Frame 3682
stop();
Frame 3683
stop();
Frame 3684
stop();
Frame 3685
stopAllSounds();
checkp = 7;
gotoAndPlay (2556);
Frame 3686
stopAllSounds();
Frame 3687
stop();
Frame 3688
stop();
Frame 3689
stop();
Frame 3690
stop();
Frame 3691
stop();
Frame 3692
stop();
Frame 3693
stop();
Frame 3694
stop();
Frame 3695
stop();
Frame 3696
stopAllSounds();
checkp = 11;
gotoAndPlay (2556);
Frame 3697
stopAllSounds();
Frame 3698
stop();
Frame 3699
stop();
Frame 3700
stop();
Frame 3701
stop();
Frame 3702
stop();
Frame 3703
stop();
Frame 3704
stop();
Frame 3705
stop();
Frame 3706
stop();
Frame 3707
stop();
Frame 3708
stop();
Frame 3709
stop();
Frame 3710
stop();
Frame 3711
stop();
Frame 3712
stop();
Frame 3713
stop();
Frame 3714
stopAllSounds();
checkp = 13;
gotoAndPlay (2556);
Frame 3715
stopAllSounds();
Frame 3716
stop();
Frame 3717
stop();
Frame 3718
stop();
Frame 3719
stop();
Frame 3720
stop();
stopAllSounds();
Frame 3721
stop();
Frame 3722
stop();
Frame 3723
stop();
Frame 3724
stop();
Frame 3725
stop();
Frame 3726
stop();
Frame 3727
stopAllSounds();
gotoAndPlay (3740);
Frame 3740
stopAllSounds();
Frame 9578
gotoAndPlay (3);
Frame 9579
gotoAndPlay (3);
Frame 9620
stopAllSounds();
Frame 9621
weap = 0;
crusher = 1;
pl = lmax;
wenergy = wmax;
charge = 0;
if (dif == 0) {
lives = 2;
}
if (dif == 50) {
lives = 3;
}
if (dif == 100) {
lives = 4;
}
if (dif == 150) {
lives = 5;
}
Frame 9622
gotoAndPlay (9621);
Frame 9625
stopAllSounds();
Frame 9626
weap = 0;
crusher = 1;
pl = lmax;
wenergy = wmax;
charge = 0;
if (dif == 0) {
lives = 2;
}
if (dif == 50) {
lives = 3;
}
if (dif == 100) {
lives = 4;
}
if (dif == 150) {
lives = 5;
}
Frame 9627
gotoAndPlay (9626);
Symbol 3599 Button
on (release) {
if (game == 1) {
switch (xz) {
case 0 :
xz = 1;
break;
case 1 :
xz = 0;
}
}
if (game == 4) {
switch (xz) {
case 3 :
xz = 4;
break;
case 4 :
xz = 3;
}
}
}
Symbol 3793 Button
on (release) {
weap = 0;
psn = 1;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
Symbol 3796 Button
on (release) {
weap = 1;
psn = 1;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
Symbol 3799 Button
on (release) {
weap = 3;
psn = 1;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
Symbol 3802 Button
on (release) {
weap = 5;
psn = 1;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
Symbol 3805 Button
on (release) {
weap = 7;
psn = 1;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
Symbol 3808 Button
on (release) {
weap = 2;
psn = 1;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
Symbol 3811 Button
on (release) {
weap = 4;
psn = 1;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
Symbol 3814 Button
on (release) {
weap = 6;
psn = 1;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
Symbol 3817 Button
on (release) {
weap = 8;
psn = 1;
h1 = 1;
while (h1 < 4) {
pst[h1] = 0;
psd[h1] = 0;
psx[h1] = -2000;
psy[h1] = -2000;
psf[h1] = 13;
h1++;
}
}
Symbol 3828 Button
on (release) {
if (slot1 > 0) {
if (slot1 == 1) {
crusher = 100;
}
if (slot1 == 2) {
wenergy = wenergy + 50;
if (wenergy > wmax) {
wenergy = wmax;
}
}
if (slot1 == 3) {
pl = pl + 50;
if (pl > lmax) {
pl = lmax;
}
}
lifeupsfx.start();
slot1 = 0;
}
}
Symbol 3829 Button
on (release) {
if (slot2 > 0) {
if (slot2 == 1) {
crusher = 100;
}
if (slot2 == 2) {
wenergy = wenergy + 50;
if (wenergy > wmax) {
wenergy = wmax;
}
}
if (slot2 == 3) {
pl = pl + 50;
if (pl > lmax) {
pl = lmax;
}
}
lifeupsfx.start();
slot2 = 0;
}
}
Symbol 3942 Button
on (release) {
gotoAndPlay (2575);
}
Symbol 3946 Button
on (release) {
boom2.start();
getURL ("http://www.maelstormm.com/Games/MegamanXNext/mmxninstructions.htm", "_blank");
}
Symbol 3950 Button
on (release) {
boom2.start();
getURL ("http://www.maelstormm.com/Games/MegamanXNext/mmxninformation.htm", "_blank");
}
Symbol 3954 Button
on (release) {
boom2.start();
getURL ("http://www.maelstormm.com/Games/MegamanXNext/mmxnlinks.htm", "_blank");
}
Symbol 3958 Button
on (release) {
boom2.start();
gotoAndPlay (2527);
}
Symbol 3962 Button
on (release) {
boom2.start();
getURL ("http://www.maelstormm.com/Comic2/RicksAdventure3Game.htm", "_blank");
}
Symbol 3966 Button
on (release) {
money = 0;
h1 = 1;
while (h1 < 9) {
boss[h1] = 0;
h1++;
}
h1 = 1;
while (h1 < 5) {
enhan[h1] = 0;
h1++;
}
gotoAndPlay (2565);
}
Symbol 3970 Button
on (release) {
playerdata = sharedobject.getlocal("mmxndata");
gotoAndPlay (2883);
}
Symbol 3977 Button
on (release) {
gotoAndPlay (2529);
}
Symbol 3979 Button
on (release) {
gotoAndPlay (2531);
}
Symbol 3981 Button
on (release) {
gotoAndPlay (2533);
}
Symbol 3983 Button
on (release) {
gotoAndPlay (2535);
}
Symbol 3985 Button
on (release) {
gotoAndPlay (2537);
}
Symbol 3987 Button
on (release) {
gotoAndPlay (2539);
}
Symbol 3989 Button
on (release) {
gotoAndPlay (2541);
}
Symbol 3991 Button
on (release) {
gotoAndPlay (2543);
}
Symbol 3993 Button
on (release) {
gotoAndPlay (2545);
}
Symbol 3995 Button
on (release) {
gotoAndPlay (2524);
}
Symbol 4009 Button
on (release) {
stopAllSounds();
px = 40;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1105);
}
on (rollOver) {
h2 = 13;
h3 = 100;
}
Symbol 4013 Button
on (release) {
stopAllSounds();
px = 50;
py = -80;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1555);
}
on (rollOver) {
h2 = 17;
h3 = 100;
}
Symbol 4017 Button
on (release) {
stopAllSounds();
px = 50;
py = -80;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1575);
}
on (rollOver) {
h2 = 18;
h3 = 100;
}
Symbol 4020 Button
on (release) {
stopAllSounds();
px = 40;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1295);
}
on (rollOver) {
h2 = 19;
h3 = 100;
}
Symbol 4023 Button
on (release) {
stopAllSounds();
px = 200;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1315);
}
on (rollOver) {
h2 = 21;
h3 = 100;
}
Symbol 4026 Button
on (release) {
stopAllSounds();
px = 80;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1305);
}
on (rollOver) {
h2 = 20;
h3 = 100;
}
Symbol 4029 Button
on (release) {
stopAllSounds();
px = 150;
py = -80;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1325);
}
on (rollOver) {
h2 = 22;
h3 = 100;
}
Symbol 4030 Button
on (release) {
stopAllSounds();
px = 150;
py = -460;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1600);
}
on (rollOver) {
h2 = 23;
h3 = 100;
}
Symbol 4033 Button
on (release) {
getURL ("http://www.maelstormm.com/Games/MegamanXNext/mmxn_hidden_boss_one.htm", "_blank");
}
Symbol 4036 Button
on (release) {
getURL ("http://www.maelstormm.com/Games/MegamanXNext/mmxn_boss_hidden2.htm", "_blank");
}
Symbol 4041 Button
on (release) {
stopAllSounds();
px = 40;
py = -400;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (505);
}
on (rollOver) {
h2 = 7;
if (boss[6] == 1) {
h2 = h2 + 22;
}
h3 = 100;
}
Symbol 4042 Button
on (release) {
stopAllSounds();
px = 770;
py = -320;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (205);
}
on (rollOver) {
h2 = 4;
if (boss[3] == 1) {
h2 = h2 + 22;
}
h3 = 100;
}
Symbol 4043 Button
on (release) {
stopAllSounds();
px = 40;
py = -400;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (105);
}
on (rollOver) {
h2 = 3;
if (boss[2] == 1) {
h2 = h2 + 22;
}
h3 = 100;
}
Symbol 4044 Button
on (release) {
stopAllSounds();
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (405);
}
on (rollOver) {
h2 = 6;
if (boss[5] == 1) {
h2 = h2 + 22;
}
h3 = 100;
}
Symbol 4045 Button
on (release) {
stopAllSounds();
px = 20;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (5);
}
on (rollOver) {
h2 = 2;
if (boss[1] == 1) {
h2 = h2 + 22;
}
h3 = 100;
}
Symbol 4046 Button
on (release) {
stopAllSounds();
px = 20;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (705);
}
on (rollOver) {
h2 = 9;
if (boss[8] == 1) {
h2 = h2 + 22;
}
h3 = 100;
}
Symbol 4047 Button
on (release) {
stopAllSounds();
px = 80;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (605);
}
on (rollOver) {
h2 = 8;
if (boss[7] == 1) {
h2 = h2 + 22;
}
h3 = 100;
}
Symbol 4048 Button
on (release) {
stopAllSounds();
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (305);
}
on (rollOver) {
h2 = 5;
if (boss[4] == 1) {
h2 = h2 + 22;
}
h3 = 100;
}
Symbol 4049 Button
on (release) {
stopAllSounds();
px = 20;
py = -200;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (805);
}
on (rollOver) {
h2 = 10;
h3 = 100;
}
Symbol 4050 Button
on (release) {
stopAllSounds();
px = 400;
py = -450;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (905);
}
on (rollOver) {
h2 = 11;
h3 = 100;
}
Symbol 4051 Button
on (release) {
stopAllSounds();
px = 20;
py = -300;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1005);
}
on (rollOver) {
h2 = 12;
h3 = 200;
}
Symbol 4053 Button
on (release) {
stopAllSounds();
px = 50;
py = -50;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1495);
}
on (rollOver) {
h2 = 14;
h3 = 100;
}
Symbol 4056 Button
on (release) {
stopAllSounds();
px = 30;
py = -80;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1515);
}
on (rollOver) {
h2 = 15;
h3 = 100;
}
Symbol 4059 Button
on (release) {
stopAllSounds();
px = 30;
py = -80;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1535);
}
on (rollOver) {
h2 = 16;
h3 = 100;
}
Symbol 4068 Button
on (release) {
xz = 0;
}
Symbol 4069 Button
on (release) {
xz = 1;
}
Symbol 4070 Button
on (release) {
xz = 2;
}
Symbol 4071 Button
on (release) {
xz = 3;
}
Symbol 4072 Button
on (release) {
xz = 4;
}
Symbol 4073 Button
on (release) {
xz = 5;
}
Symbol 4080 Button
on (release) {
lifeupsfx.start();
gotoAndPlay (2729);
}
Symbol 4087 Button
on (release) {
lifeupsfx.start();
gotoAndPlay (2889);
}
Symbol 4151 Button
on (release) {
dif = 150;
lmax = 200;
wmax = 50;
checkp = 0;
gotoAndPlay (2569);
}
Symbol 4152 Button
on (release) {
dif = 100;
lmax = 150;
wmax = 40;
checkp = 0;
gotoAndPlay (2569);
}
Symbol 4153 Button
on (release) {
dif = 50;
lmax = 100;
wmax = 30;
checkp = 0;
gotoAndPlay (2569);
}
Symbol 4154 Button
on (release) {
dif = 0;
lmax = 50;
wmax = 20;
checkp = 0;
gotoAndPlay (2569);
}
Symbol 4158 Button
on (release) {
gotoAndPlay (3000);
}
on (rollOver) {
xz = 0;
game = 1;
}
Symbol 4159 Button
on (release) {
gotoAndPlay (3314);
}
on (rollOver) {
xz = 2;
game = 2;
}
Symbol 4160 Button
on (release) {
money = 100;
gotoAndPlay (3492);
}
on (rollOver) {
xz = 5;
game = 3;
}
Symbol 4162 Button
on (release) {
gotoAndPlay (3609);
}
on (rollOver) {
xz = 3;
game = 4;
}
Symbol 4197 Button
on (release) {
if (money > 99) {
multibeep.start();
money = money - 100;
enhan[1] = 1;
}
}
on (rollOver) {
h3 = 4;
h2 = 100;
}
Symbol 4200 Button
on (release) {
if (money > 99) {
multibeep.start();
money = money - 100;
enhan[2] = 1;
}
}
on (rollOver) {
h3 = 5;
h2 = 100;
}
Symbol 4203 Button
on (release) {
if (money > 99) {
multibeep.start();
money = money - 100;
enhan[3] = 1;
}
}
on (rollOver) {
h3 = 6;
h2 = 100;
}
Symbol 4206 Button
on (release) {
if (money > 99) {
multibeep.start();
money = money - 100;
enhan[4] = 1;
}
}
on (rollOver) {
h3 = 7;
h2 = 100;
}
Symbol 4208 Button
on (release) {
if (money > 49) {
multibeep.start();
money = money - 50;
slot1 = 1;
}
}
on (rollOver) {
h3 = 1;
h2 = 100;
}
Symbol 4210 Button
on (release) {
if (money > 49) {
multibeep.start();
money = money - 50;
slot1 = 2;
}
}
on (rollOver) {
h3 = 2;
h2 = 100;
}
Symbol 4212 Button
on (release) {
if (money > 49) {
multibeep.start();
money = money - 50;
slot1 = 3;
}
}
on (rollOver) {
h3 = 3;
h2 = 100;
}
Symbol 4213 Button
on (release) {
if (money > 49) {
multibeep.start();
money = money - 50;
slot2 = 1;
}
}
on (rollOver) {
h3 = 1;
h2 = 100;
}
Symbol 4214 Button
on (release) {
if (money > 49) {
multibeep.start();
money = money - 50;
slot2 = 2;
}
}
on (rollOver) {
h3 = 2;
h2 = 100;
}
Symbol 4215 Button
on (release) {
if (money > 49) {
multibeep.start();
money = money - 50;
slot2 = 3;
}
}
on (rollOver) {
h3 = 3;
h2 = 100;
}
Symbol 4218 Button
on (release) {
if (money > 499) {
multibeep.start();
money = money - 500;
lmax = lmax + 18;
enhan[5] = 1;
}
}
on (rollOver) {
h3 = 8;
h2 = 100;
}
Symbol 4221 Button
on (release) {
if (money > 499) {
multibeep.start();
money = money - 500;
wmax = wmax + 16;
enhan[6] = 1;
}
}
on (rollOver) {
h3 = 9;
h2 = 100;
}
Symbol 4224 Button
on (release) {
if (money > 499) {
multibeep.start();
money = money - 500;
enhan[7] = 1;
}
}
on (rollOver) {
h3 = 10;
h2 = 100;
}
Symbol 4227 Button
on (release) {
if (money > 499) {
multibeep.start();
money = money - 500;
enhan[8] = 1;
}
}
on (rollOver) {
h3 = 11;
h2 = 100;
}
Symbol 4234 Button
on (release) {
lifeupsfx.start();
h2 = 1;
gotoAndPlay (2557);
}
Symbol 4305 Button
on (release) {
gotoAndPlay (1);
}
Symbol 4308 Button
on (release) {
gotoAndPlay (2557);
}
Symbol 4314 Button
on (release) {
boss[1] = 1;
}
Symbol 4315 Button
on (release) {
boss[2] = 1;
}
Symbol 4316 Button
on (release) {
boss[3] = 1;
}
Symbol 4317 Button
on (release) {
boss[4] = 1;
}
Symbol 4318 Button
on (release) {
boss[5] = 1;
}
Symbol 4319 Button
on (release) {
boss[6] = 1;
}
Symbol 4320 Button
on (release) {
boss[7] = 1;
}
Symbol 4321 Button
on (release) {
boss[8] = 1;
}
Symbol 4322 Button
on (release) {
if (heart[1] < 1) {
heart[1] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
}
}
Symbol 4323 Button
on (release) {
if (heart[2] < 1) {
heart[2] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
}
}
Symbol 4324 Button
on (release) {
if (heart[3] < 1) {
heart[3] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
}
}
Symbol 4325 Button
on (release) {
if (heart[4] < 1) {
heart[4] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
}
}
Symbol 4326 Button
on (release) {
if (heart[5] < 1) {
heart[5] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
}
}
Symbol 4327 Button
on (release) {
if (heart[6] < 1) {
heart[6] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
}
}
Symbol 4328 Button
on (release) {
if (heart[7] < 1) {
heart[7] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
}
}
Symbol 4329 Button
on (release) {
if (heart[8] < 1) {
heart[8] = 1;
lmax = lmax + 4;
wmax = wmax + 3;
}
}
Symbol 4330 Button
on (release) {
money = 99999 /* 0x01869F */;
}
Symbol 4337 Button
on (release) {
lifeupsfx.start();
pdata = SharedObject.getLocal("mmxndata");
boss[1] = pdata.data.boss1;
boss[2] = pdata.data.boss2;
boss[3] = pdata.data.boss3;
boss[4] = pdata.data.boss4;
boss[5] = pdata.data.boss5;
boss[6] = pdata.data.boss6;
boss[7] = pdata.data.boss7;
boss[8] = pdata.data.boss8;
enhan[1] = pdata.data.enhan1;
enhan[2] = pdata.data.enhan2;
enhan[3] = pdata.data.enhan3;
enhan[4] = pdata.data.enhan4;
enhan[5] = pdata.data.enhan5;
enhan[6] = pdata.data.enhan6;
enhan[7] = pdata.data.enhan7;
enhan[8] = pdata.data.enhan8;
heart[1] = pdata.data.heart1;
heart[2] = pdata.data.heart2;
heart[3] = pdata.data.heart3;
heart[4] = pdata.data.heart4;
heart[5] = pdata.data.heart5;
heart[6] = pdata.data.heart6;
heart[7] = pdata.data.heart7;
heart[8] = pdata.data.heart8;
lmax = pdata.data.lmax;
wmax = pdata.data.wmax;
checkp = pdata.data.checkp;
dif = pdata.data.dif;
game = pdata.data.game;
xz = pdata.data.xz;
kdash = pdata.data.kdash;
kjump = pdata.data.kjump;
kattack = pdata.data.kattack;
kspec = pdata.data.kspec;
kcrush = pdata.data.kcrush;
kup = pdata.data.kup;
kdown = pdata.data.kdown;
kleft = pdata.data.kleft;
kright = pdata.data.kright;
kpause = pdata.data.kpause;
money = 0;
slot1 = 0;
slot2 = 0;
gotoAndPlay (2556);
}
Symbol 4341 Button
on (release) {
lifeupsfx.start();
gotoAndPlay (1);
}
Symbol 4347 Button
on (release) {
lifeupsfx.start();
pdata = SharedObject.getLocal("mmxndata");
pdata.data.boss1 = boss[1];
pdata.data.boss2 = boss[2];
pdata.data.boss3 = boss[3];
pdata.data.boss4 = boss[4];
pdata.data.boss5 = boss[5];
pdata.data.boss6 = boss[6];
pdata.data.boss7 = boss[7];
pdata.data.boss8 = boss[8];
pdata.data.enhan1 = enhan[1];
pdata.data.enhan2 = enhan[2];
pdata.data.enhan3 = enhan[3];
pdata.data.enhan4 = enhan[4];
pdata.data.enhan5 = enhan[5];
pdata.data.enhan6 = enhan[6];
pdata.data.enhan7 = enhan[7];
pdata.data.enhan8 = enhan[8];
pdata.data.heart1 = heart[1];
pdata.data.heart2 = heart[2];
pdata.data.heart3 = heart[3];
pdata.data.heart4 = heart[4];
pdata.data.heart5 = heart[5];
pdata.data.heart6 = heart[6];
pdata.data.heart7 = heart[7];
pdata.data.heart8 = heart[8];
pdata.data.lmax = lmax;
pdata.data.wmax = wmax;
pdata.data.checkp = checkp;
pdata.data.dif = dif;
pdata.data.game = game;
pdata.data.xz = xz;
pdata.data.kdash = kdash;
pdata.data.kjump = kjump;
pdata.data.kattack = kattack;
pdata.data.kspec = kspec;
pdata.data.kcrush = kcrush;
pdata.data.kup = kup;
pdata.data.kdown = kdown;
pdata.data.kleft = kleft;
pdata.data.kright = kright;
pdata.data.kpause = kpause;
pdata.flush(1000);
gotoAndPlay (2556);
}
Symbol 4351 Button
on (release) {
lifeupsfx.start();
gotoAndPlay (2556);
}
Symbol 4355 Button
on (release) {
lifeupsfx.start();
gotoAndPlay (2899);
}
Symbol 4356 Button
on (release) {
lifeupsfx.start();
gotoAndPlay (3);
}
Symbol 4362 Button
on (release) {
multibeep.start();
bx[1] = bx[1] + 1;
if (bx[1] > 4) {
bx[1] = 0;
}
}
Symbol 4363 Button
on (release) {
multibeep.start();
by[1] = by[1] + 1;
if (by[1] > 4) {
by[1] = 0;
}
}
Symbol 4364 Button
on (release) {
multibeep.start();
bt[1] = bt[1] + 1;
if (bt[1] > 4) {
bt[1] = 0;
}
}
Symbol 4365 Button
on (release) {
multibeep.start();
bd[1] = bd[1] + 1;
if (bd[1] > 4) {
bd[1] = 0;
}
}
Symbol 4366 Button
on (release) {
multibeep.start();
bx[2] = bx[2] + 1;
if (bx[2] > 4) {
bx[2] = 0;
}
}
Symbol 4367 Button
on (release) {
multibeep.start();
bx[3] = bx[3] + 1;
if (bx[3] > 4) {
bx[3] = 0;
}
}
Symbol 4368 Button
on (release) {
multibeep.start();
bx[4] = bx[4] + 1;
if (bx[4] > 4) {
bx[4] = 0;
}
}
Symbol 4369 Button
on (release) {
multibeep.start();
by[2] = by[2] + 1;
if (by[2] > 4) {
by[2] = 0;
}
}
Symbol 4370 Button
on (release) {
multibeep.start();
bt[2] = bt[2] + 1;
if (bt[2] > 4) {
bt[2] = 0;
}
}
Symbol 4371 Button
on (release) {
multibeep.start();
bd[2] = bd[2] + 1;
if (bd[2] > 4) {
bd[2] = 0;
}
}
Symbol 4372 Button
on (release) {
multibeep.start();
by[3] = by[3] + 1;
if (by[3] > 4) {
by[3] = 0;
}
}
Symbol 4373 Button
on (release) {
multibeep.start();
by[4] = by[4] + 1;
if (by[4] > 4) {
by[4] = 0;
}
}
Symbol 4374 Button
on (release) {
multibeep.start();
bt[3] = bt[3] + 1;
if (bt[3] > 4) {
bt[3] = 0;
}
}
Symbol 4375 Button
on (release) {
multibeep.start();
bd[3] = bd[3] + 1;
if (bd[3] > 4) {
bd[3] = 0;
}
}
Symbol 4376 Button
on (release) {
multibeep.start();
bt[4] = bt[4] + 1;
if (bt[4] > 4) {
bt[4] = 0;
}
}
Symbol 4377 Button
on (release) {
multibeep.start();
bd[4] = bd[4] + 1;
if (bd[4] > 4) {
bd[4] = 0;
}
}
Symbol 4379 Button
on (release) {
play();
}
Symbol 4380 Button
on (release) {
gotoAndPlay (3061);
}
Symbol 4455 Button
on (release) {
gotoAndPlay (3086);
}
Symbol 4483 Button
on (release) {
gotoAndPlay (3091);
}
Symbol 4487 Button
on (release) {
gotoAndPlay (3097);
}
Symbol 4490 Button
on (release) {
gotoAndPlay (3106);
}
Symbol 4498 Button
on (release) {
gotoAndPlay (3115);
}
Symbol 4507 Button
on (release) {
gotoAndPlay (3125);
}
Symbol 4518 Button
on (release) {
gotoAndPlay (3210);
}
Symbol 4611 Button
on (release) {
if (xz == 0) {
play();
}
if (xz == 1) {
gotoAndPlay (3203);
}
}
Symbol 4623 Button
on (release) {
gotoAndPlay (3210);
}
Symbol 4631 Button
on (release) {
if (xz == 0) {
play();
}
if (xz == 1) {
play();
}
}
Symbol 4632 Button
on (release) {
gotoAndPlay (3313);
}
Symbol 4749 Button
on (release) {
gotoAndPlay (3353);
}
Symbol 4796 Button
on (release) {
gotoAndPlay (3362);
}
Symbol 4806 Button
on (release) {
gotoAndPlay (3379);
}
Symbol 4824 Button
on (release) {
gotoAndPlay (3386);
}
Symbol 4828 Button
on (release) {
gotoAndPlay (3391);
}
Symbol 4832 Button
on (release) {
gotoAndPlay (3423);
}
Symbol 4869 Button
on (release) {
gotoAndPlay (3450);
}
Symbol 4905 Button
on (release) {
gotoAndPlay (3491);
}
Symbol 4952 Button
on (release) {
gotoAndPlay (3525);
}
Symbol 4991 Button
on (release) {
gotoAndPlay (3533);
}
Symbol 5000 Button
on (release) {
gotoAndPlay (3546);
}
Symbol 5014 Button
on (release) {
gotoAndPlay (3559);
}
Symbol 5030 Button
on (release) {
gotoAndPlay (3566);
}
Symbol 5036 Button
on (release) {
gotoAndPlay (3580);
}
Symbol 5057 Button
on (release) {
gotoAndPlay (3586);
}
Symbol 5064 Button
on (release) {
gotoAndPlay (3608);
}
Symbol 5092 Button
on (release) {
gotoAndPlay (3648);
}
Symbol 5145 Button
on (release) {
gotoAndPlay (3664);
}
Symbol 5166 Button
on (release) {
gotoAndPlay (3671);
}
Symbol 5172 Button
on (release) {
gotoAndPlay (3679);
}
Symbol 5181 Button
on (release) {
gotoAndPlay (3685);
}
Symbol 5188 Button
on (release) {
gotoAndPlay (3696);
}
Symbol 5200 Button
on (release) {
gotoAndPlay (3714);
}
Symbol 5219 Button
on (release) {
gotoAndPlay (3727);
}
Symbol 5264 Button
on (release) {
multibeep.start();
px = 20;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (10);
}
Symbol 5265 Button
on (release) {
multibeep.start();
px = 40;
py = -400;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (110);
}
Symbol 5266 Button
on (release) {
multibeep.start();
px = 770;
py = -320;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (210);
}
Symbol 5267 Button
on (release) {
multibeep.start();
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (310);
}
Symbol 5268 Button
on (release) {
multibeep.start();
px = 40;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (410);
}
Symbol 5269 Button
on (release) {
multibeep.start();
px = 40;
py = -400;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (510);
}
Symbol 5270 Button
on (release) {
multibeep.start();
px = 80;
py = -200;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (610);
}
Symbol 5271 Button
on (release) {
multibeep.start();
px = 20;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (710);
}
Symbol 5272 Button
on (release) {
multibeep.start();
px = 20;
py = -200;
pd = 1;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (810);
}
Symbol 5273 Button
on (release) {
multibeep.start();
px = 400;
py = -450;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (910);
}
Symbol 5274 Button
on (release) {
multibeep.start();
px = 20;
py = -300;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1010);
}
Symbol 5275 Button
on (release) {
multibeep.start();
px = 40;
py = -100;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1110);
}
Symbol 5276 Button
on (release) {
multibeep.start();
px = 150;
py = -460;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1600);
}
Symbol 5277 Button
on (release) {
multibeep.start();
px = 50;
py = -50;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1500);
}
Symbol 5278 Button
on (release) {
multibeep.start();
px = 30;
py = -80;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1520);
}
Symbol 5279 Button
on (release) {
multibeep.start();
px = 30;
py = -80;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1540);
}
Symbol 5280 Button
on (release) {
multibeep.start();
px = 50;
py = -80;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1560);
}
Symbol 5281 Button
on (release) {
multibeep.start();
px = 50;
py = -80;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1580);
}
Symbol 5282 Button
on (release) {
multibeep.start();
xz = 2;
}
Symbol 5283 Button
on (release) {
multibeep.start();
xz = 5;
}
Symbol 5284 Button
on (release) {
multibeep.start();
xz = 4;
}
Symbol 5285 Button
on (release) {
multibeep.start();
xz = 3;
}
Symbol 5286 Button
on (release) {
multibeep.start();
xz = 0;
}
Symbol 5287 Button
on (release) {
multibeep.start();
xz = 1;
}
Symbol 5288 Button
on (release) {
gotoAndPlay (9625);
}
Symbol 5289 Button
on (release) {
gotoAndPlay (9620);
}
Symbol 5307 Button
on (release) {
multibeep.start();
px = 150;
py = -140;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (100);
}
Symbol 5308 Button
on (release) {
multibeep.start();
px = 50;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (200);
}
Symbol 5309 Button
on (release) {
multibeep.start();
px = 50;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (300);
}
Symbol 5310 Button
on (release) {
multibeep.start();
px = 50;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (400);
}
Symbol 5311 Button
on (release) {
multibeep.start();
px = 20;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (500);
}
Symbol 5312 Button
on (release) {
multibeep.start();
px = 50;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (600);
}
Symbol 5313 Button
on (release) {
multibeep.start();
px = 50;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (700);
}
Symbol 5314 Button
on (release) {
multibeep.start();
px = 50;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (800);
}
Symbol 5315 Button
on (release) {
multibeep.start();
px = 50;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (900);
}
Symbol 5316 Button
on (release) {
multibeep.start();
px = 50;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1000);
}
Symbol 5317 Button
on (release) {
multibeep.start();
px = 50;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1100);
}
Symbol 5318 Button
on (release) {
multibeep.start();
px = 100;
py = -40;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1200);
}
Symbol 5319 Button
on (release) {
multibeep.start();
px = 40;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1300);
}
Symbol 5320 Button
on (release) {
multibeep.start();
px = 80;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1310);
}
Symbol 5321 Button
on (release) {
multibeep.start();
px = 150;
py = -80;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1330);
}
Symbol 5322 Button
on (release) {
multibeep.start();
px = 200;
py = -20;
pd = 0;
pf = 2;
ps = 1;
pj = 0;
ptime = 0;
gotoAndPlay (1320);
}