Frame 1
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
gotoAndPlay (4);
num = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
loaderbar.gotoAndStop(num);
}
percent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "% loaded";
nick = "NICKNAME";
compsuck = compsuck + 1;
Frame 2
gotoAndPlay (1);
Frame 3
gotoAndPlay (2);
Frame 4
cntrls = 1;
cntrlz = 1;
rank = 1;
termission = 1;
DECEX = 2;
DECSH = 2;
DECSHEILD = 2;
DECBOOM = 2;
EASE = -4;
bsong = 1;
fscommand ("showmenu", false);
Frame 5
gotoAndPlay (4);
Frame 6
_quality = "medium";
Frame 29
nextFrame();
_quality = "high";
Frame 30
_quality = "high";
Frame 31
prevFrame();
Frame 37
nextFrame();
Frame 39
prevFrame();
Frame 46
prevFrame();
Frame 47
nextFrame();
Frame 89
nextinline = 0;
_quality = "high";
nextFrame();
Frame 90
if (0 < nextinline) {
if (nextinline == 1) {
gotoAndPlay (92);
} else if (nextinline == 2) {
gotoAndPlay (119);
} else if (nextinline == 3) {
gotoAndPlay (144);
} else if (nextinline == 4) {
gotoAndPlay (171);
} else if (nextinline == 5) {
gotoAndPlay (198);
} else if (nextinline == 6) {
gotoAndPlay (223);
} else if (nextinline == 7) {
gotoAndPlay (250);
}
nextinline = 0;
}
_quality = "high";
Frame 91
prevFrame();
Frame 102
nextFrame();
Frame 103
nextinline = 0;
Frame 104
prevFrame();
Frame 117
gotoAndStop (90);
Frame 128
nextFrame();
Frame 129
nextinline = 0;
Frame 130
prevFrame();
Frame 143
gotoAndStop (90);
Frame 154
nextFrame();
Frame 155
nextinline = 0;
Frame 156
prevFrame();
Frame 169
gotoAndStop (90);
Frame 180
nextFrame();
Frame 181
nextinline = 0;
Frame 182
prevFrame();
Frame 195
gotoAndStop (90);
Frame 198
_quality = "medium";
Frame 394
_quality = "low";
Frame 587
tellTarget ("ship") {
nextFrame();
};
Frame 588
tellTarget ("ship") {
nextFrame();
};
Frame 589
tellTarget ("ship") {
nextFrame();
};
Frame 590
tellTarget ("ship") {
nextFrame();
};
Frame 591
tellTarget ("ship") {
nextFrame();
};
Frame 592
tellTarget ("ship") {
nextFrame();
};
Frame 593
tellTarget ("ship") {
nextFrame();
};
Frame 594
tellTarget ("ship") {
nextFrame();
};
Frame 595
tellTarget ("ship") {
nextFrame();
};
Frame 596
tellTarget ("ship") {
nextFrame();
};
Frame 597
tellTarget ("ship") {
nextFrame();
};
Frame 598
tellTarget ("ship") {
nextFrame();
};
Frame 599
tellTarget ("ship") {
nextFrame();
};
Frame 600
tellTarget ("ship") {
nextFrame();
};
Frame 601
tellTarget ("ship") {
nextFrame();
};
Frame 602
tellTarget ("ship") {
nextFrame();
};
Frame 603
tellTarget ("ship") {
nextFrame();
};
Frame 604
tellTarget ("ship") {
nextFrame();
};
Frame 605
tellTarget ("ship") {
nextFrame();
};
Frame 606
tellTarget ("ship") {
nextFrame();
};
Frame 607
tellTarget ("ship") {
nextFrame();
};
Frame 962
gotoAndStop (1976);
_quality = "high";
Frame 1976
_quality = high;
Frame 1982
prevFrame();
Frame 1983
nextinline = 0;
_quality = "high";
nextFrame();
Frame 1984
if (0 < nextinline) {
if (nextinline == 1) {
gotoAndPlay (1986);
} else if (nextinline == 2) {
gotoAndPlay (2013);
} else if (nextinline == 3) {
gotoAndPlay (2038);
} else if (nextinline == 4) {
gotoAndPlay (2065);
} else if (nextinline == 5) {
gotoAndPlay (2092);
} else if (nextinline == 6) {
gotoAndPlay (2117);
} else if (nextinline == 7) {
gotoAndPlay (2144);
}
nextinline = 0;
}
_quality = "high";
Frame 1985
prevFrame();
Frame 1996
nextFrame();
Frame 1997
nextinline = 0;
Frame 1998
prevFrame();
Frame 2011
gotoAndStop (1984);
Frame 2022
nextFrame();
Frame 2023
nextinline = 0;
Frame 2024
prevFrame();
Frame 2037
gotoAndStop (1984);
Frame 2048
nextFrame();
Frame 2049
nextinline = 0;
Frame 2050
prevFrame();
Frame 2063
gotoAndStop (1984);
Frame 2074
nextFrame();
Frame 2075
nextinline = 0;
Frame 2076
prevFrame();
Frame 2089
gotoAndStop (1984);
Frame 2100
nextFrame();
Frame 2101
nextinline = 0;
Frame 2102
prevFrame();
Frame 2115
gotoAndStop (1984);
Frame 2126
nextFrame();
Frame 2127
nextinline = 0;
Frame 2128
prevFrame();
Frame 2141
gotoAndStop (1984);
Frame 2142
play();
if (DECEX == 1) {
tellTarget ("A") {
gotoAndStop (1);
};
tellTarget ("B") {
gotoAndStop (1);
};
tellTarget ("C") {
gotoAndStop (2);
};
} else if (DECEX == 2) {
tellTarget ("A") {
gotoAndStop (1);
};
tellTarget ("B") {
gotoAndStop (2);
};
tellTarget ("C") {
gotoAndStop (1);
};
} else if (DECEX == 3) {
tellTarget ("A") {
gotoAndStop (2);
};
tellTarget ("B") {
gotoAndStop (1);
};
tellTarget ("C") {
gotoAndStop (1);
};
}
if (DECSH == 1) {
tellTarget ("D") {
gotoAndStop (1);
};
tellTarget ("E") {
gotoAndStop (1);
};
tellTarget ("F") {
gotoAndStop (2);
};
} else if (DECSH == 2) {
tellTarget ("D") {
gotoAndStop (1);
};
tellTarget ("E") {
gotoAndStop (2);
};
tellTarget ("F") {
gotoAndStop (1);
};
} else if (DECSH == 3) {
tellTarget ("D") {
gotoAndStop (2);
};
tellTarget ("E") {
gotoAndStop (1);
};
tellTarget ("F") {
gotoAndStop (1);
};
}
if (DECSHEILD == 1) {
tellTarget ("G") {
gotoAndStop (1);
};
} else {
tellTarget ("G") {
gotoAndStop (2);
};
}
if (DECBOOM == 1) {
tellTarget ("H") {
gotoAndStop (1);
};
} else {
tellTarget ("H") {
gotoAndStop (2);
};
}
Frame 2143
prevFrame();
Frame 2144
play();
frame = int(easee);
tellTarget (_root.easy) {
gotoAndStop(_root.frame);
};
easee = EASE + 5;
Frame 2145
prevFrame();
Frame 2146
play();
Frame 2147
prevFrame();
Frame 2149
gotoAndPlay (2148);
Frame 2151
gotoAndPlay (2150);
Frame 2152
BIOS = ((((((("HELLO " + nick) + ", YOU ARE GOING TO EMBARK A MISSION FOR THE PEOPLE ON YOUR HOMEPLANET ") + home) + "! STRIVING FOR ") + goal) + " YOU WILL WIN ANY FIGHT, ") + rank) + "! WELCOME TO UNIVERSE 2: ANDROMEDA GALAXY!";
Frame 2153
gotoAndPlay (2152);
Frame 2154
frame = int(bsong);
tellTarget (_root.easy) {
gotoAndStop(_root.frame);
};
bbsong = bsong + 1;
Frame 2155
gotoAndPlay (2154);
Frame 2156
frame = int(bsongm);
tellTarget (_root.easy) {
gotoAndStop(_root.frame);
};
bbsongm = bsongm + 1;
Frame 2157
gotoAndPlay (2156);
Frame 2178
_quality = "high";
stop();
Frame 2179
PX = 0;
PY = 0;
position = 3;
health = 50;
Instance of Symbol 577 MovieClip "enemyhexa" in Frame 2179
onClipEvent (enterFrame) {
if (_x < 100) {
_x = 100;
}
if (600 < _x) {
_x = 600;
}
if (_y < 50) {
_y = 50;
}
if (250 < _y) {
_y = 250;
}
}
Instance of Symbol 586 MovieClip "enemya" in Frame 2179
onClipEvent (enterFrame) {
_x = (_x + PX);
_y = (_y + PY);
countdown = countdown - 1;
if (countdown < 0) {
countdown = random(50) + 10;
position = random(8);
}
gotoAndStop(position +2178);
if (position == 4) {
if (PX < 5) {
PX = PX + 0.5;
}
if (PY < 5) {
PY = PY + 0.5;
}
} else if (position == 2) {
if (PX < 5) {
PX = PX + 0.5;
}
if (-5 < PY) {
PY = PY - 0.5;
}
} else if (position == 3) {
if (PX < 6) {
PX = PX + 0.5;
}
if (0 < PY) {
PY = PY - 0.5;
}
if (PY < 0) {
PY = PY + 0.5;
}
position = 3;
} else if (position == 6) {
if (-5 < PX) {
PX = PX - 0.5;
}
if (PY < 5) {
PY = PY + 0.5;
}
position = 6;
} else if (position == 5) {
if (0 < PX) {
PX = PX - 0.5;
}
if (PX < 0) {
PX = PX + 0.5;
}
if (PY < 6) {
PY = PY + 0.5;
}
position = 5;
} else if (position == 8) {
if (-5 < PX) {
PX = PX - 0.5;
}
if (-5 < PY) {
PY = PY - 0.5;
}
position = 8;
} else if (position == 7) {
if (-6 < PX) {
PX = PX - 0.5;
}
if (0 < PY) {
PY = PY - 0.5;
}
if (PY < 0) {
PY = PY + 0.5;
}
position = 7;
} else if (position == 1) {
if (0 < PX) {
PX = PX - 0.5;
}
if (PX < 0) {
PX = PX + 0.5;
}
if (-6 < PY) {
PY = PY - 0.5;
}
position = 1;
}
}
onClipEvent (load) {
countdown = countdown1;
position = 0;
}
Instance of Symbol 577 MovieClip "enemyhexb" in Frame 2179
onClipEvent (enterFrame) {
if (_x < 100) {
_x = 100;
}
if (600 < _x) {
_x = 600;
}
if (_y < 50) {
_y = 50;
}
if (250 < _y) {
_y = 250;
}
}
Instance of Symbol 587 MovieClip "enemyb" in Frame 2179
onClipEvent (load) {
countdown = countdown1;
position = 0;
}
onClipEvent (enterFrame) {
_x = (_x + PX);
_y = (_y + PY);
countdown = countdown - 1;
if (countdown < 0) {
countdown = random(70);
position = random(8);
}
gotoAndStop(position +2178);
if (position == 4) {
if (PX < 4) {
PX = PX + 0.5;
}
if (PY < 4) {
PY = PY + 0.5;
}
} else if (position == 2) {
if (PX < 4) {
PX = PX + 0.5;
}
if (-4 < PY) {
PY = PY - 0.5;
}
} else if (position == 3) {
if (PX < 4) {
PX = PX + 0.5;
}
if (0 < PY) {
PY = PY - 0.5;
}
if (PY < 0) {
PY = PY + 0.5;
}
position = 3;
} else if (position == 6) {
if (-4 < PX) {
PX = PX - 0.5;
}
if (PY < 4) {
PY = PY + 0.5;
}
position = 6;
} else if (position == 5) {
if (0 < PX) {
PX = PX - 0.5;
}
if (PX < 0) {
PX = PX + 0.5;
}
if (PY < 6) {
PY = PY + 0.5;
}
position = 5;
} else if (position == 8) {
if (-4 < PX) {
PX = PX - 0.5;
}
if (-4 < PY) {
PY = PY - 0.5;
}
position = 8;
} else if (position == 7) {
if (-4 < PX) {
PX = PX - 0.5;
}
if (0 < PY) {
PY = PY - 0.5;
}
if (PY < 0) {
PY = PY + 0.5;
}
position = 7;
} else if (position == 1) {
if (0 < PX) {
PX = PX - 0.5;
}
if (PX < 0) {
PX = PX + 0.5;
}
if (-6 < PY) {
PY = PY - 0.5;
}
position = 1;
}
}
Instance of Symbol 577 MovieClip "stathex" in Frame 2179
onClipEvent (enterFrame) {
if (_x < 100) {
_x = 100;
}
if (600 < _x) {
_x = 600;
}
if (_y < 50) {
_y = 50;
}
if (250 < _y) {
_y = 250;
}
}
Instance of Symbol 577 MovieClip "playerhex" in Frame 2179
onClipEvent (enterFrame) {
if (_x < 100) {
_x = 100;
}
if (600 < _x) {
_x = 600;
}
if (_y < 50) {
_y = 50;
}
if (250 < _y) {
_y = 250;
}
}
Instance of Symbol 599 MovieClip "player" in Frame 2179
onClipEvent (enterFrame) {
if (_x < 100) {
_x = 100;
}
if (600 < _x) {
_x = 600;
}
if (_y < 50) {
_y = 50;
}
if (250 < _y) {
_y = 250;
}
}
Frame 2180
Ey = _ymouse;
Ex = _xmouse;
orgx = getProperty("/player", _x);
orgy = getProperty("/player", _y);
dist_x = Ex - orgx;
dist_y = Ey - orgy;
if (dist_x < 0) {
norm = -1 * dist_x;
} else {
norm = dist_x;
}
if (dist_y < 0) {
normalise = norm + (-1 * dist_y);
} else {
normalise = norm + dist_y;
}
if ((dist_x >= 0) and (dist_y >= 0)) {
tehangle = (90 * (dist_y / normalise)) - 90;
} else if ((0 >= dist_x) and (dist_y >= 0)) {
tehangle = -90 * (dist_x / normalise);
} else if ((0 >= dist_x) and (0 >= dist_y)) {
tehangle = (-90 * (dist_y / normalise)) + 90;
} else {
tehangle = (90 * (dist_x / normalise)) + 180;
}
taftf = Math.round(tehangle / 5);
frame = int(taftf);
tellTarget (_root.player) {
gotoAndStop(_root.frame);
};
if (0 < movex) {
movex = movex - 0.5;
} else if (movex < 0) {
movex = movex + 0.5;
}
if (_xmouse < getProperty("/player", _x)) {
movex = movex - 1;
} else if (getProperty("/player", _x) < _xmouse) {
movex = movex + 1;
} else if (_xmouse == getProperty("/player", _x)) {
}
setProperty("/player", _y , getProperty("/player", _y) + movey);
setProperty("/player", _x , getProperty("/player", _x) + movex);
if (0 < movey) {
movey = movey - 0.5;
} else if (movey < 0) {
movey = movey + 0.5;
}
if (_ymouse < getProperty("/player", _y)) {
movey = movey - 1;
} else if (getProperty("/player", _y) < _ymouse) {
movey = movey + 1;
} else if (_ymouse == getProperty("/player", _y)) {
}
Frame 2181
gotoAndPlay (2180);
Frame 2183
back = 5;
arm = 6000 - (ease * 1000);
sheild = 1000 - (ease * 100);
nmeh = 100 + (ease * 100);
nmesheild = 100 + (ease * 100);
energy = 100;
she = false;
byebye = false;
shcount = 20;
outnumber = 1;
deca = 7;
decb = 15;
sec = 60;
secf = 61;
micro = 5;
microf = 10;
min = 5;
setProperty("/botsheild", _alpha , 0);
setProperty("/botsheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
xposition = 425;
yposition = 150;
weapon = 1;
nmemovx = 0;
nmemovy = 0;
speed = 0;
alpha = 0;
tech = 6;
qual = 1;
bomba = false;
bombb = false;
bombc = false;
bombd = false;
bombe = false;
bombf = false;
bombg = false;
bombh = false;
ebomba = false;
ebombb = false;
ebombc = false;
ebombd = false;
ebombe = false;
ebombf = false;
ebombg = false;
ebombh = false;
blowuptime = 3;
tellTarget ("blowa") {
stop();
};
tellTarget ("blowb") {
stop();
};
tellTarget ("blowc") {
stop();
};
tellTarget ("blowd") {
stop();
};
tellTarget ("blowe") {
stop();
};
tellTarget ("blowf") {
stop();
};
tellTarget ("blowg") {
stop();
};
tellTarget ("blowh") {
stop();
};
tellTarget ("eblowa") {
stop();
};
tellTarget ("eblowb") {
stop();
};
tellTarget ("eblowc") {
stop();
};
tellTarget ("eblowd") {
stop();
};
tellTarget ("eblowe") {
stop();
};
tellTarget ("eblowf") {
stop();
};
tellTarget ("eblowg") {
stop();
};
tellTarget ("eblowh") {
stop();
};
song = bsong + 1;
Instance of Symbol 659 MovieClip "Pshipbot" in Frame 2183
onClipEvent (enterFrame) {
if (1021 < _x) {
_x = 1020;
}
if (_x < -299) {
_x = -298;
}
if (451 < _y) {
_y = 450;
}
if (_y < -151) {
_y = -150;
}
}
Instance of Symbol 630 MovieClip "bmba" in Frame 2183
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbb" in Frame 2183
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbc" in Frame 2183
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbd" in Frame 2183
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbe" in Frame 2183
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbf" in Frame 2183
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbg" in Frame 2183
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbh" in Frame 2183
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 768 MovieClip "enemy" in Frame 2183
onClipEvent (enterFrame) {
_x = 425;
_y = -500;
}
Instance of Symbol 659 MovieClip "Pshiptop" in Frame 2183
onClipEvent (enterFrame) {
if (1021 < _x) {
_x = 1020;
}
if (_x < -299) {
_x = -298;
}
if (451 < _y) {
_y = 450;
}
if (_y < -151) {
_y = -150;
}
}
Frame 2184
frame = int(song);
tellTarget (_root.music) {
gotoAndStop(_root.frame);
};
tellTarget (_root.backround) {
gotoAndStop (5);
};
tellTarget (_root.race) {
gotoAndStop (5);
};
if (5 < getProperty("/esheild", _alpha)) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) - 6);
}
if (50 < getProperty("/enemy", _xscale)) {
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _visible , 100);
setProperty("/botsheild", _visible , 100);
setProperty("/topsheild", _visible , 0);
setProperty("/topsheild", _visible , 0);
} else {
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _visible , 100);
setProperty("/topsheild", _visible , 100);
setProperty("/botsheild", _visible , 0);
setProperty("/botsheild", _visible , 0);
}
if (5 < playersheild) {
playersheild = playersheild - 4;
}
setProperty("/botsheild", _x , getProperty("/Pshiptop", _x));
setProperty("/botsheild", _y , getProperty("/Pshiptop", _y));
setProperty("/botsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _x , getProperty("/Pshiptop", _x));
setProperty("topsheild", _y , getProperty("/Pshiptop", _y));
startDrag ("rat", true, 200, 0, 650, 300);
ymovwvar = ymov + 20;
if (qual == 1) {
_quality = "low";
} else if (qual == 2) {
_quality = "medium";
} else if (qual == 3) {
_quality = "high";
}
qualcount = qualcount - 1;
if (0 < qualcount) {
setProperty("/settings", _alpha , 100);
setProperty("/settings", _alpha , 100);
} else if (qualcount < 1) {
if (0 < getProperty("/settings", _alpha)) {
setProperty("/settings", _alpha , getProperty("/settings", _alpha) - 20);
}
}
deca = deca - 1;
decb = decb - 1;
if (deca < 1) {
deca = random(15) + 5;
tellTarget ("decora") {
play();
};
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _y , random(150));
setProperty("/decora", _y , random(150));
setProperty("/decora", _x , random(500) + 175);
setProperty("/decora", _x , random(500) + 175);
ascale = random(29) + 50;
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _xscale , ascale);
setProperty("/decora", _xscale , ascale);
}
if (decb < 1) {
decb = random(18) + 5;
tellTarget ("decorb") {
play();
};
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _x , random(500) + 175);
setProperty("/decorb", _x , random(500) + 175);
bscale = random(29) + 50;
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _xscale , bscale);
setProperty("/decorb", _xscale , bscale);
}
micro = micro - 5;
if (micro < 6) {
micro = 60;
sec = sec - 1;
}
if (sec < 1) {
sec = 60;
min = min - 1;
}
if ((micro < 19) and (9 < micro)) {
if (sec < 10) {
time = (((min + ":0") + sec) + ": ") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ": ") + micro;
}
} else if (19 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
} else if (micro < 10) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":0") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":0") + micro;
}
} else if (10 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
}
microf = microf - 5;
if (microf < 6) {
microf = 60;
secf = secf - 1;
}
if (secf < 1) {
secf = 60;
minf = min - 1;
}
if ((microf < 19) and (9 < microf)) {
if (secf < 10) {
timef = (secf + ": ") + microf;
} else if (9 < secf) {
timef = (secf + ": ") + microf;
}
} else if (19 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
} else if (microf < 10) {
if (secf < 10) {
timef = (secf + ":0") + microf;
} else if (9 < secf) {
timef = (sefc + ":0") + microf;
}
} else if (10 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
}
frame = int(qual);
tellTarget (_root.settings) {
gotoAndStop(_root.frame);
};
nmeY = nmemovy + 21;
frame = int(nmeY);
tellTarget (_root.enemy) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshiptop) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshipbot) {
gotoAndStop(_root.frame);
};
ratx = getProperty("/rat", _x);
raty = getProperty("/rat", _y);
xpos = getProperty("/Pshiptop", _x);
ypos = getProperty("/Pshiptop", _y);
if (cntrlz == 1) {
if (ypos < (raty - 1)) {
if (ymov < 20) {
if (0 < ymov) {
ymov = (ymov + 0.5) + (speed / 10);
} else {
ymov = (ymov + 1) + (speed / 10);
}
}
} else if ((raty + 1) < ypos) {
if (-20 < ymov) {
if (ymov < 0) {
ymov = (ymov - 0.5) - (speed / 10);
} else {
ymov = (ymov - 1) - (speed / 10);
}
}
} else if ((ymov < 2) and (0 < ymov)) {
ymov = 0;
} else if ((-3 < ymov) and (ymov < 0)) {
ymov = 0;
}
if (xpos < (ratx - 3)) {
if (xmov < 20) {
if (0 < xmov) {
xmov = (xmov + 0.5) + (speed / 10);
} else {
xmov = (xmov + 1) + (speed / 10);
}
}
} else if ((raty + 3) < xpos) {
if ((-20 - (speed / 10)) < xmov) {
if (xmov < 0) {
xmov = (xmov - 0.5) - (speed / 10);
} else {
xmov = (xmov - 1) - (speed / 10);
}
}
} else if ((xmov < 3) and (0 < xmov)) {
xmov = 0;
} else if ((-3 < xmov) and (xmov < 0)) {
xmov = 0;
}
if (Key.isDown(Key.UP)) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
if (Key.isDown(Key.LEFT)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
if (Key.isDown(Key.RIGHT)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
if (Key.isDown(Key.DOWN)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
} else if (cntrlz == 2) {
if (Key.isDown(Key.UP)) {
if (ymov < 20) {
ymov = (ymov + 1) + (speed / 10);
}
}
}
if (Key.isDown(Key.DOWN)) {
if (-20 < ymov) {
ymov = ymov - (speed / 10);
}
}
yposition = yposition + ymov;
if (Key.isDown(Key.RIGHT)) {
if (xmov < 20) {
xmov = (xmov + 1) + (speed / 10);
}
} else if (Key.isDown(Key.LEFT)) {
if (-20 < xmov) {
xmov = (xmov - 1) - (speed / 10);
}
}
if (1 < energy) {
xposition = xposition + (xmov * 1.5);
yposition = yposition + (ymov * 2);
} else {
xposition = xposition + ((xmov * 1.5) / 2);
yposition = yposition + ymov;
}
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
if (bomba == true) {
if (0 < bombtimea) {
bombtimea = bombtimea - 0.5;
setProperty("/bmba", _x , getProperty("/bmba", _x) + (xbombmova * 1.5));
setProperty("/bmba", _y , getProperty("/bmba", _y) + (xbombmova * 1.5));
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _xscale , getProperty("/bmba", _xscale) - 2.5);
setProperty("/bmba", _yscale , getProperty("/bmba", _yscale) - 2.5);
if (_root.bmba.hittest(_root.enemy)) {
tellTarget ("/bmba") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bomba = false;
if (1.1 < bombtimea) {
bombtimea = 1;
}
}
if ((bombtimea < 7) and (1.1 < bombtimea)) {
tellTarget ("/bmba") {
play();
};
}
} else if (bombtimea < 1.6) {
bomba = false;
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
}
if (bombb == true) {
if (0 < bombtimeb) {
bombtimeb = bombtimeb - 0.5;
setProperty("/bmbb", _x , getProperty("/bmbb", _x) + (xbombmovb * 1.5));
setProperty("/bmbb", _y , getProperty("/bmbb", _y) + (xbombmovb * 1.5));
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _xscale , getProperty("/bmbb", _xscale) - 2.5);
setProperty("/bmbb", _yscale , getProperty("/bmbb", _yscale) - 2.5);
if (_root.bmbb.hittest(_root.enemy)) {
tellTarget ("/bmbb") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombb = false;
if (1.1 < bombtimeb) {
bombtimeb = 1;
}
}
if ((bombtimeb < 7) and (1.1 < bombtimeb)) {
tellTarget ("/bmbb") {
play();
};
}
} else if (bombtimeb < 1.6) {
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
}
if (bombc == true) {
if (0 < bombtimec) {
bombtimec = bombtimec - 0.5;
setProperty("/bmbc", _x , getProperty("/bmbc", _x) + (xbombmovc * 1.5));
setProperty("/bmbc", _y , getProperty("/bmbc", _y) + (xbombmovc * 1.5));
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _xscale , getProperty("/bmbc", _xscale) - 2.5);
setProperty("/bmbc", _yscale , getProperty("/bmbc", _yscale) - 2.5);
if (_root.bmbc.hittest(_root.enemy)) {
tellTarget ("/bmbc") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombc = false;
if (1.1 < bombtimec) {
bombtimec = 1;
}
}
if ((bombtimec < 7) and (1.1 < bombtimec)) {
tellTarget ("/bmbc") {
play();
};
}
} else if (bombtimec < 1.6) {
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
}
if (bombd == true) {
if (0 < bombtimed) {
bombtimed = bombtimed - 0.5;
setProperty("/bmbd", _x , getProperty("/bmbd", _x) + (xbombmovd * 1.5));
setProperty("/bmbd", _y , getProperty("/bmbd", _y) + (xbombmovd * 1.5));
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _xscale , getProperty("/bmbd", _xscale) - 2.5);
setProperty("/bmbd", _yscale , getProperty("/bmbd", _yscale) - 2.5);
if (_root.bmbd.hittest(_root.enemy)) {
tellTarget ("/bmbd") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombd = false;
if (1.1 < bombtimed) {
bombtimed = 1;
}
}
if ((bombtimed < 7) and (1.1 < bombtimed)) {
tellTarget ("/bmbd") {
play();
};
}
} else if (bombtimed < 1.6) {
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
}
if (bombe == true) {
if (0 < bombtimee) {
bombtimee = bombtimee - 0.5;
setProperty("/bmbe", _x , getProperty("/bmbe", _x) + (xbombmove * 1.5));
setProperty("/bmbe", _y , getProperty("/bmbe", _y) + (xbombmove * 1.5));
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _xscale , getProperty("/bmbe", _xscale) - 2.5);
setProperty("/bmbe", _yscale , getProperty("/bmbe", _yscale) - 2.5);
if (_root.bmbe.hittest(_root.enemy)) {
tellTarget ("/bmbe") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombe = false;
if (1.1 < bombtimee) {
bombtimee = 1;
}
}
if ((bombtimee < 7) and (1.1 < bombtimee)) {
tellTarget ("/bmbe") {
play();
};
}
} else if (bombtimee < 1.6) {
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
}
if (bombf == true) {
if (0 < bombtimef) {
bombtimef = bombtimef - 0.5;
setProperty("/bmbf", _x , getProperty("/bmbf", _x) + (xbombmovf * 1.5));
setProperty("/bmbf", _y , getProperty("/bmbf", _y) + (xbombmovf * 1.5));
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _xscale , getProperty("/bmbf", _xscale) - 2.5);
setProperty("/bmbf", _yscale , getProperty("/bmbf", _yscale) - 2.5);
if (_root.bmbf.hittest(_root.enemy)) {
tellTarget ("/bmbf") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombf = false;
if (1.1 < bombtimef) {
bombtimef = 1;
}
}
if ((bombtimef < 7) and (1.1 < bombtimef)) {
tellTarget ("/bmbf") {
play();
};
}
} else if (bombtimef < 1.6) {
bombf = false;
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
}
if (bombg == true) {
if (0 < bombtimeg) {
bombtimeg = bombtimeg - 0.5;
setProperty("/bmbg", _x , getProperty("/bmbg", _x) + (xbombmovg * 1.5));
setProperty("/bmbg", _y , getProperty("/bmbg", _y) + (xbombmovg * 1.5));
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _xscale , getProperty("/bmbg", _xscale) - 2.5);
setProperty("/bmbg", _yscale , getProperty("/bmbg", _yscale) - 2.5);
if (_root.bmbg.hittest(_root.enemy)) {
tellTarget ("/bmbg") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
esheild = 0;
}
bombg = false;
if (1.1 < bombtimeg) {
bombtimeg = 1;
}
}
if ((bombtimeg < 7) and (1.1 < bombtimeg)) {
tellTarget ("/bmbg") {
play();
};
}
} else if (bombtimeg < 1.6) {
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
}
if (bombh == true) {
if (0 < bombtimeh) {
bombtimeh = bombtimeh - 0.5;
setProperty("/bmbh", _x , getProperty("/bmbh", _x) + (xbombmovh * 1.5));
setProperty("/bmbh", _y , getProperty("/bmbh", _y) + (xbombmovh * 1.5));
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _xscale , getProperty("/bmbh", _xscale) - 2.5);
setProperty("/bmbh", _yscale , getProperty("/bmbh", _yscale) - 2.5);
if (_root.bmbh.hittest(_root.enemy)) {
tellTarget ("/bmbh") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombh = false;
if (1.1 < bombtimeh) {
bombtimeh = 1;
}
}
if ((bombtimeh < 7) and (1.1 < bombtimeh)) {
tellTarget ("/bmbh") {
play();
};
}
} else if (bombtimeh < 1.6) {
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
}
if (_root.bmba.hittest(_root.enemy)) {
bomba = false;
duplicateMovieClip ("blowa", "blowup", 999);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
if (_root.bmbb.hittest(_root.enemy)) {
duplicateMovieClip ("blowb", "blowup", 999);
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
if (_root.bmbc.hittest(_root.enemy)) {
duplicateMovieClip ("blowc", "blowup", 999);
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
if (_root.bmbd.hittest(_root.enemy)) {
duplicateMovieClip ("blowd", "blowup", 999);
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
if (_root.bmbe.hittest(_root.enemy)) {
duplicateMovieClip ("blowe", "blowup", 999);
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
if (_root.bmbf.hittest(_root.enemy)) {
duplicateMovieClip ("blowf", "blowup", 999);
bombf = false;
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
if (_root.bmbg.hittest(_root.enemy)) {
duplicateMovieClip ("blowg", "blowup", 999);
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
if (_root.bmbh.hittest(_root.enemy)) {
duplicateMovieClip ("blowh", "blowup", 999);
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
blowuptime = blowuptime - 1;
if (blowuptime < 0) {
blowuptime = 3;
setProperty("/blowa", _x , getProperty("/bmba", _x));
setProperty("/blowb", _x , getProperty("/bmbb", _x));
setProperty("/blowc", _x , getProperty("/bmbc", _x));
setProperty("/blowd", _x , getProperty("/bmbd", _x));
setProperty("/blowe", _x , getProperty("/bmbe", _x));
setProperty("/blowf", _x , getProperty("/bmbf", _x));
setProperty("/blowg", _x , getProperty("/bmbh", _x));
setProperty("/blowh", _x , getProperty("/bmbh", _x));
setProperty("/blowa", _y , getProperty("/bmba", _y));
setProperty("/blowb", _y , getProperty("/bmbb", _y));
setProperty("/blowc", _y , getProperty("/bmbc", _y));
setProperty("/blowd", _y , getProperty("/bmbd", _y));
setProperty("/blowe", _y , getProperty("/bmbe", _y));
setProperty("/blowf", _y , getProperty("/bmbf", _y));
setProperty("/blowg", _y , getProperty("/bmbg", _y));
setProperty("/blowh", _y , getProperty("/bmbh", _y));
}
Ey = getProperty("/enemy", _y);
Ex = getProperty("/enemy", _x);
orgx = 425;
orgy = 150;
dist_x = Ex - orgx;
dist_y = Ey - orgy;
if (dist_x < 0) {
norm = -1 * dist_x;
} else {
norm = dist_x;
}
if (dist_y < 0) {
normalise = norm + (-1 * dist_y);
} else {
normalise = norm + dist_y;
}
if ((dist_x >= 0) and (dist_y >= 0)) {
tehangle = (90 * (dist_y / normalise)) - 90;
} else if ((0 >= dist_x) and (dist_y >= 0)) {
tehangle = -90 * (dist_x / normalise);
} else if ((0 >= dist_x) and (0 >= dist_y)) {
tehangle = (-90 * (dist_y / normalise)) + 90;
} else {
tehangle = (90 * (dist_x / normalise)) + 180;
}
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _alpha , alpha);
setProperty("/arrow", _alpha , alpha);
if (_root.stage.hittest(_root.enemy)) {
if (19 < alpha) {
alpha = alpha - 20;
}
} else if (alpha < 99) {
alpha = alpha + 20;
}
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _x , getProperty("/enemy", _x));
setProperty("/esheild", _y , getProperty("/enemy", _y));
if (250 < getProperty("/enemy", _y)) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) - 3);
} else if (getProperty("/enemy", _y) < 50) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) + 3);
} else {
setProperty("/enemy", _y , (getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9));
}
if (getProperty("/enemy", _x) < 220) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) + 3);
} else if (630 < getProperty("/enemy", _x)) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) - 3);
} else {
setProperty("/enemy", _x , (getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7));
}
nmex = getProperty("/enemy", _x);
if ((getProperty("/enemy", _xscale) + 10) < 50) {
if (getProperty("/enemy", _x) < getProperty("/Pshiptop", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/enemy", _y) < getProperty("/Pshiptop", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
} else if (50 < (getProperty("/enemy", _xscale) + 10)) {
if (getProperty("/Pshiptop", _x) < getProperty("/enemy", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/Pshiptop", _y) < getProperty("/enemy", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
}
eweapon = 1;
if (eweapon == 1) {
if (ebomba == false) {
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
ebomba = true;
ebombtimea = 10;
exbombmova = nmemovx;
eybombmova = nmemovy;
erbombmova = nmemovx * 4;
} else if (ebombb == false) {
setProperty("/ebmbb", _y , getProperty("/enemy", _y));
setProperty("ebmbb", _y , getProperty("/enemy", _y));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
ebombb = true;
ebombtimeb = 10;
exbombmovb = nmemovx;
eybombmovb = nmemovy;
erbombmovb = nmemovx * 4;
} else if (ebombc == false) {
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
ebombc = true;
ebombtimec = 10;
exbombmovc = nmemovx;
eybombmovc = nmemovy;
erbombmovc = nmemovx * 4;
} else if (ebombd == false) {
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
ebombd = true;
ebombtimed = 10;
exbombmovd = nmemovx;
eybombmovd = nmemovy;
erbombmovd = nmemovx * 4;
} else if (ebombe == false) {
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
ebombe = true;
ebombtimee = 10;
exbombmove = nmemovx;
eybombmove = nmemovy;
erbombmove = nmemovx * 4;
} else if (ebombf == false) {
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
ebombf = true;
ebombtimef = 10;
exbombmovf = nmemovx;
eybombmovf = nmemovy;
erbombmovf = nmemovx * 4;
} else if (ebombg == false) {
setProperty("/bmbg", _y , getProperty("/enemy", _y));
setProperty("/ebmbg", _y , getProperty("/enemy", _y));
setProperty("/bmbg", _x , getProperty("/enemy", _x));
setProperty("/ebmbg", _x , getProperty("/enemy", _x));
ebombg = true;
ebombtimeg = 10;
exbombmovg = nmemovx;
eybombmovg = nmemovy;
erbombmovg = nmemovx * 4;
} else if (ebombh == false) {
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
ebombh = true;
ebombtimeh = 10;
exbombmovh = nmemovx;
eybombmovh = nmemovy;
erbombmovh = nmemovx * 4;
}
}
if (ebomba == true) {
if (0 < ebombtimea) {
ebombtimea = ebombtimea - 0.5;
setProperty("/ebmba", _x , getProperty("/ebmba", _x) + (exbombmova * 1.5));
setProperty("/ebmba", _y , getProperty("/ebmba", _y) + (exbombmova * 1.5));
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _xscale , getProperty("/ebmba", _xscale) - 2.5);
setProperty("/ebmba", _yscale , getProperty("/ebmba", _yscale) - 2.5);
if (_root.ebmba.hittest(_root.Pshiptop)) {
tellTarget ("/ebmba") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
sheild = 0;
arm = arm - 3;
}
ebomba = false;
if (1.1 < ebombtimea) {
ebombtimea = 1;
}
}
if ((ebombtimea < 7) and (1.1 < ebombtimea)) {
tellTarget ("/ebmba") {
play();
};
}
} else if (ebombtimea < 1.6) {
ebomba = false;
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
}
if (ebombb == true) {
if (0 < ebombtimeb) {
ebombtimeb = ebombtimeb - 0.5;
setProperty("/ebmbb", _x , getProperty("/ebmbb", _x) + (exbombmovb * 1.5));
setProperty("/ebmbb", _y , getProperty("/ebmbb", _y) + (exbombmovb * 1.5));
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _xscale , getProperty("/ebmbb", _xscale) - 2.5);
setProperty("/ebmbb", _yscale , getProperty("/ebmbb", _yscale) - 2.5);
if (_root.ebmbb.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbb") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombb = false;
if (1.1 < ebombtimeb) {
ebombtimeb = 1;
}
}
if ((ebombtimeb < 7) and (1.1 < ebombtimeb)) {
tellTarget ("/ebmbb") {
play();
};
}
} else if (ebombtimeb < 1.6) {
ebombb = false;
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
}
if (ebombc == true) {
if (0 < ebombtimec) {
ebombtimec = ebombtimec - 0.5;
setProperty("/ebmbc", _x , getProperty("/ebmbc", _x) + (exbombmovc * 1.5));
setProperty("/ebmbc", _y , getProperty("/ebmbc", _y) + (exbombmovc * 1.5));
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _xscale , getProperty("/ebmbc", _xscale) - 2.5);
setProperty("/ebmbc", _yscale , getProperty("/ebmbc", _yscale) - 2.5);
if (_root.ebmbc.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbc") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombc = false;
if (1.1 < ebombtimec) {
ebombtimec = 1;
}
}
if ((ebombtimec < 7) and (1.1 < ebombtimec)) {
tellTarget ("/ebmbc") {
play();
};
}
} else if (ebombtimec < 1.6) {
ebombc = false;
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
}
if (ebombd == true) {
if (0 < ebombtimed) {
ebombtimed = ebombtimed - 0.5;
setProperty("/ebmbd", _x , getProperty("/ebmbd", _x) + (exbombmovd * 1.5));
setProperty("/ebmbd", _y , getProperty("/ebmbd", _y) + (exbombmovd * 1.5));
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _xscale , getProperty("/ebmbd", _xscale) - 2.5);
setProperty("/ebmbd", _yscale , getProperty("/ebmbd", _yscale) - 2.5);
if (_root.ebmbd.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbd") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombd = false;
if (1.1 < ebombtimed) {
ebombtimed = 1;
}
}
if ((ebombtimed < 7) and (1.1 < ebombtimed)) {
tellTarget ("/ebmbd") {
play();
};
}
} else if (ebombtimed < 1.6) {
ebombd = false;
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
}
if (ebombe == true) {
if (0 < ebombtimee) {
ebombtimee = ebombtimee - 0.5;
setProperty("/ebmbe", _x , getProperty("/ebmbe", _x) + (exbombmove * 1.5));
setProperty("/ebmbe", _y , getProperty("/ebmbe", _y) + (exbombmove * 1.5));
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _xscale , getProperty("/ebmbe", _xscale) - 2.5);
setProperty("/ebmbe", _yscale , getProperty("/ebmbe", _yscale) - 2.5);
if (_root.ebmbe.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbe") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombe = false;
if (1.1 < ebombtimee) {
ebombtimee = 1;
}
}
if ((ebombtimee < 7) and (1.1 < ebombtimee)) {
tellTarget ("/ebmbe") {
play();
};
}
} else if (ebombtimee < 1.6) {
ebombe = false;
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
}
if (ebombf == true) {
if (0 < ebombtimef) {
ebombtimef = ebombtimef - 0.5;
setProperty("/ebmbf", _x , getProperty("/ebmbf", _x) + (exbombmovf * 1.5));
setProperty("/ebmbf", _y , getProperty("/ebmbf", _y) + (exbombmovf * 1.5));
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _xscale , getProperty("/ebmbf", _xscale) - 2.5);
setProperty("/ebmbf", _yscale , getProperty("/ebmbf", _yscale) - 2.5);
if (_root.ebmbf.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbf") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombf = false;
if (1.1 < ebombtimef) {
ebombtimef = 1;
}
}
if ((ebombtimef < 7) and (1.1 < ebombtimef)) {
tellTarget ("/ebmbf") {
play();
};
}
} else if (ebombtimef < 1.6) {
ebombf = false;
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
}
if (ebombg == true) {
if (0 < ebombtimeg) {
ebombtimeg = ebombtimeg - 0.5;
setProperty("/ebmbg", _x , getProperty("/ebmbg", _x) + (exbombmovg * 1.5));
setProperty("/ebmbg", _y , getProperty("/ebmbg", _y) + (exbombmovg * 1.5));
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _xscale , getProperty("/ebmbg", _xscale) - 2.5);
setProperty("/ebmbg", _yscale , getProperty("/ebmbg", _yscale) - 2.5);
if (_root.ebmbg.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbg") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombg = false;
if (1.1 < ebombtimeg) {
ebombtimeg = 1;
}
}
if ((ebombtimeg < 7) and (1.1 < ebombtimeg)) {
tellTarget ("/ebmbg") {
play();
};
}
} else if (ebombtimeg < 1.6) {
ebombg = false;
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
}
if (ebombh == true) {
if (0 < ebombtimeh) {
ebombtimeh = ebombtimeh - 0.5;
setProperty("/ebmbh", _x , getProperty("/ebmbh", _x) + (exbombmovh * 1.5));
setProperty("/ebmbh", _y , getProperty("/ebmbh", _y) + (exbombmovh * 1.5));
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _xscale , getProperty("/ebmbh", _xscale) - 2.5);
setProperty("/ebmbh", _yscale , getProperty("/ebmbh", _yscale) - 2.5);
if (_root.ebmbh.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbh") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombh = false;
if (1.1 < ebombtimeh) {
ebombtimeh = 1;
}
}
if ((ebombtimeh < 7) and (1.1 < ebombtimeh)) {
tellTarget ("/ebmbh") {
play();
};
}
} else if (ebombtimeh < 1.6) {
ebombh = false;
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
}
if (_root.ebmba.hittest(_root.Pshiptop)) {
ebomba = false;
duplicateMovieClip ("eblowa", "eblowup", 999);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
if (_root.ebmbb.hittest(_root.Pshiptop)) {
ebombb = false;
duplicateMovieClip ("eblowb", "eblowup", 999);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
if (_root.ebmbc.hittest(_root.Pshiptop)) {
ebombc = false;
duplicateMovieClip ("eblowc", "eblowup", 999);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
if (_root.ebmbd.hittest(_root.Pshiptop)) {
ebombd = false;
duplicateMovieClip ("eblowd", "eblowup", 999);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
if (_root.ebmbe.hittest(_root.Pshiptop)) {
ebombe = false;
duplicateMovieClip ("eblowe", "eblowup", 999);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
if (_root.ebmbf.hittest(_root.Pshiptop)) {
ebombf = false;
duplicateMovieClip ("eblowf", "eblowup", 999);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
if (_root.ebmbg.hittest(_root.Pshiptop)) {
ebombg = false;
duplicateMovieClip ("eblowg", "eblowup", 999);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
if (_root.ebmbh.hittest(_root.Pshiptop)) {
ebombh = false;
duplicateMovieClip ("eblowh", "eblowup", 999);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
energy = Math.round(energy + intake);
imput = Math.round(intake);
if ((1000 + (ease * 100)) < energy) {
energy = 1000 + (ease * 100);
}
if (160 < energy) {
if (choice == false) {
choice = true;
}
}
if (choice == false) {
if (1 < speed) {
speed = speed - 1;
}
if (1 < weapon) {
weapon = weapon - 1;
}
}
if (choice == true) {
if (speed < choicespeed) {
speed = speed + 1;
}
if (weapon < choiceweapon) {
weapon = weapon + 1;
}
}
if (energy < 5) {
energy = 0;
choice = false;
}
if (0 < xmov) {
if (0 < ymov) {
intake = (7 - ((xmov + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - ((xmov - ymov) / 5)) - (speed / 1.5);
}
} else if (xmov < 1) {
if (0 < ymov) {
intake = (7 - (((-xmov) + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - (((-xmov) - ymov) / 5)) - (speed / 1.5);
}
}
shcount = shcount - 1;
if (shcount < 1) {
shcount = 20;
if (she == false) {
she = true;
}
} else if (she == true) {
she = false;
}
if (she == true) {
sheilds = sheilds + 3;
}
usage = Math.round((energy / (2000 + (ease * 100))) * 100) + "%";
if (nmeh < 1) {
if (byebye == false) {
setProperty("/bhe", _visible , 100);
setProperty("/bhe", _visible , 100);
byebye = true;
bght = 14;
}
}
if (byebye == true) {
if (0 < bght) {
bght = bght - 1;
frame = int(bght);
tellTarget (_root.bhe) {
gotoAndStop(_root.frame);
};
setProperty("/enemy", _alpha , getProperty("/enemy", _alpha) - 8);
setProperty("/esheild", _visible , 0);
setProperty("/esheild", _visible , 0);
setProperty("/bhe", _y , getProperty("/enemy", _y));
setProperty("/bhe", _x , getProperty("/enemy", _x));
nmeh = 0;
} else if (bght < 1) {
nmeh = 1000 + (ease * 100);
nmesheild = 1000 + (ease * 100);
outnumber = outnumber - 1;
setProperty("/enemy", _x , 0);
setProperty("/enemy", _x , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _alpha , 100);
setProperty("/enemy", _alpha , 100);
setProperty("/esheild", _visible , 100);
setProperty("/esheild", _visible , 100);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
byebye = false;
}
}
bone = Math.round(outnumber / 10) + 1;
if (arm < 1) {
gotoAndPlay (2918);
}
if (outnumber < 1) {
tech = (teck + Math.round(outnumber / 10)) + 1;
techn = Math.round(outnumber / 10) + 1;
rank = rank + bone;
gotoAndPlay (2189);
if (termission < 2) {
termission = termission + 1;
}
}
Frame 2185
gotoAndPlay (2184);
Frame 2186
nextFrame();
Frame 2188
prevFrame();
Frame 2189
frame = int(outnumber);
tellTarget (_root.enemys) {
gotoAndStop(_root.frame);
};
frame = int(techn);
tellTarget (_root.technoligy) {
gotoAndStop(_root.frame);
};
frame = int(bone);
tellTarget (_root.bonus) {
gotoAndStop(_root.frame);
};
frame = int(rank);
tellTarget (_root.rankk) {
gotoAndStop(_root.frame);
};
Frame 2190
gotoAndPlay (2189);
Instance of Symbol 630 MovieClip "bmba" in Frame 2192
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbb" in Frame 2192
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbc" in Frame 2192
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbd" in Frame 2192
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbe" in Frame 2192
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbf" in Frame 2192
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbg" in Frame 2192
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbh" in Frame 2192
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Frame 2201
frame = int(back);
tellTarget (_root.backround) {
gotoAndStop(_root.frame);
};
Frame 2229
gotoAndPlay (2183);
Frame 2231
back = 5;
arm = 6000 - (ease * 1000);
sheild = 1000 - (ease * 100);
nmeh = 100 + (ease * 100);
nmesheild = 100 + (ease * 100);
energy = 100;
she = false;
byebye = false;
shcount = 20;
outnumber = 1;
deca = 7;
decb = 15;
sec = 60;
secf = 61;
micro = 5;
microf = 10;
min = 5;
setProperty("/botsheild", _alpha , 0);
setProperty("/botsheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
xposition = 425;
yposition = 150;
weapon = 1;
nmemovx = 0;
nmemovy = 0;
speed = 0;
alpha = 0;
tech = 6;
qual = 1;
bomba = false;
bombb = false;
bombc = false;
bombd = false;
bombe = false;
bombf = false;
bombg = false;
bombh = false;
ebomba = false;
ebombb = false;
ebombc = false;
ebombd = false;
ebombe = false;
ebombf = false;
ebombg = false;
ebombh = false;
blowuptime = 3;
tellTarget ("blowa") {
stop();
};
tellTarget ("blowb") {
stop();
};
tellTarget ("blowc") {
stop();
};
tellTarget ("blowd") {
stop();
};
tellTarget ("blowe") {
stop();
};
tellTarget ("blowf") {
stop();
};
tellTarget ("blowg") {
stop();
};
tellTarget ("blowh") {
stop();
};
tellTarget ("eblowa") {
stop();
};
tellTarget ("eblowb") {
stop();
};
tellTarget ("eblowc") {
stop();
};
tellTarget ("eblowd") {
stop();
};
tellTarget ("eblowe") {
stop();
};
tellTarget ("eblowf") {
stop();
};
tellTarget ("eblowg") {
stop();
};
tellTarget ("eblowh") {
stop();
};
song = bsong + 1;
Instance of Symbol 659 MovieClip "Pshipbot" in Frame 2231
onClipEvent (enterFrame) {
if (1021 < _x) {
_x = 1020;
}
if (_x < -299) {
_x = -298;
}
if (451 < _y) {
_y = 450;
}
if (_y < -151) {
_y = -150;
}
}
Instance of Symbol 630 MovieClip "bmba" in Frame 2231
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbb" in Frame 2231
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbc" in Frame 2231
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbd" in Frame 2231
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbe" in Frame 2231
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbf" in Frame 2231
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbg" in Frame 2231
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbh" in Frame 2231
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 768 MovieClip "enemy" in Frame 2231
onClipEvent (enterFrame) {
_x = 425;
_y = -500;
}
Instance of Symbol 659 MovieClip "Pshiptop" in Frame 2231
onClipEvent (enterFrame) {
if (1021 < _x) {
_x = 1020;
}
if (_x < -299) {
_x = -298;
}
if (451 < _y) {
_y = 450;
}
if (_y < -151) {
_y = -150;
}
}
Frame 2232
frame = int(song);
tellTarget (_root.music) {
gotoAndStop(_root.frame);
};
tellTarget (_root.backround) {
gotoAndStop (5);
};
tellTarget (_root.race) {
gotoAndStop (5);
};
if (5 < getProperty("/esheild", _alpha)) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) - 6);
}
if (50 < getProperty("/enemy", _xscale)) {
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _visible , 100);
setProperty("/botsheild", _visible , 100);
setProperty("/topsheild", _visible , 0);
setProperty("/topsheild", _visible , 0);
} else {
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _visible , 100);
setProperty("/topsheild", _visible , 100);
setProperty("/botsheild", _visible , 0);
setProperty("/botsheild", _visible , 0);
}
if (5 < playersheild) {
playersheild = playersheild - 4;
}
setProperty("/botsheild", _x , getProperty("/Pshiptop", _x));
setProperty("/botsheild", _y , getProperty("/Pshiptop", _y));
setProperty("/botsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _x , getProperty("/Pshiptop", _x));
setProperty("topsheild", _y , getProperty("/Pshiptop", _y));
startDrag ("rat", true, 200, 0, 650, 300);
ymovwvar = ymov + 20;
if (qual == 1) {
_quality = "low";
} else if (qual == 2) {
_quality = "medium";
} else if (qual == 3) {
_quality = "high";
}
qualcount = qualcount - 1;
if (0 < qualcount) {
setProperty("/settings", _alpha , 100);
setProperty("/settings", _alpha , 100);
} else if (qualcount < 1) {
if (0 < getProperty("/settings", _alpha)) {
setProperty("/settings", _alpha , getProperty("/settings", _alpha) - 20);
}
}
deca = deca - 1;
decb = decb - 1;
if (deca < 1) {
deca = random(15) + 5;
tellTarget ("decora") {
play();
};
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _y , random(150));
setProperty("/decora", _y , random(150));
setProperty("/decora", _x , random(500) + 175);
setProperty("/decora", _x , random(500) + 175);
ascale = random(29) + 50;
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _xscale , ascale);
setProperty("/decora", _xscale , ascale);
}
if (decb < 1) {
decb = random(18) + 5;
tellTarget ("decorb") {
play();
};
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _x , random(500) + 175);
setProperty("/decorb", _x , random(500) + 175);
bscale = random(29) + 50;
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _xscale , bscale);
setProperty("/decorb", _xscale , bscale);
}
micro = micro - 5;
if (micro < 6) {
micro = 60;
sec = sec - 1;
}
if (sec < 1) {
sec = 60;
min = min - 1;
}
if ((micro < 19) and (9 < micro)) {
if (sec < 10) {
time = (((min + ":0") + sec) + ": ") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ": ") + micro;
}
} else if (19 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
} else if (micro < 10) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":0") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":0") + micro;
}
} else if (10 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
}
microf = microf - 5;
if (microf < 6) {
microf = 60;
secf = secf - 1;
}
if (secf < 1) {
secf = 60;
minf = min - 1;
}
if ((microf < 19) and (9 < microf)) {
if (secf < 10) {
timef = (secf + ": ") + microf;
} else if (9 < secf) {
timef = (secf + ": ") + microf;
}
} else if (19 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
} else if (microf < 10) {
if (secf < 10) {
timef = (secf + ":0") + microf;
} else if (9 < secf) {
timef = (sefc + ":0") + microf;
}
} else if (10 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
}
frame = int(qual);
tellTarget (_root.settings) {
gotoAndStop(_root.frame);
};
nmeY = nmemovy + 21;
frame = int(nmeY);
tellTarget (_root.enemy) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshiptop) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshipbot) {
gotoAndStop(_root.frame);
};
ratx = getProperty("/rat", _x);
raty = getProperty("/rat", _y);
xpos = getProperty("/Pshiptop", _x);
ypos = getProperty("/Pshiptop", _y);
if (cntrlz == 1) {
if (ypos < (raty - 1)) {
if (ymov < 20) {
if (0 < ymov) {
ymov = (ymov + 0.5) + (speed / 10);
} else {
ymov = (ymov + 1) + (speed / 10);
}
}
} else if ((raty + 1) < ypos) {
if (-20 < ymov) {
if (ymov < 0) {
ymov = (ymov - 0.5) - (speed / 10);
} else {
ymov = (ymov - 1) - (speed / 10);
}
}
} else if ((ymov < 2) and (0 < ymov)) {
ymov = 0;
} else if ((-3 < ymov) and (ymov < 0)) {
ymov = 0;
}
if (xpos < (ratx - 3)) {
if (xmov < 20) {
if (0 < xmov) {
xmov = (xmov + 0.5) + (speed / 10);
} else {
xmov = (xmov + 1) + (speed / 10);
}
}
} else if ((raty + 3) < xpos) {
if ((-20 - (speed / 10)) < xmov) {
if (xmov < 0) {
xmov = (xmov - 0.5) - (speed / 10);
} else {
xmov = (xmov - 1) - (speed / 10);
}
}
} else if ((xmov < 3) and (0 < xmov)) {
xmov = 0;
} else if ((-3 < xmov) and (xmov < 0)) {
xmov = 0;
}
if (Key.isDown(Key.UP)) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
if (Key.isDown(Key.LEFT)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
if (Key.isDown(Key.RIGHT)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
if (Key.isDown(Key.DOWN)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
} else if (cntrlz == 2) {
if (Key.isDown(Key.UP)) {
if (ymov < 20) {
ymov = (ymov + 1) + (speed / 10);
}
}
}
if (Key.isDown(Key.DOWN)) {
if (-20 < ymov) {
ymov = ymov - (speed / 10);
}
}
yposition = yposition + ymov;
if (Key.isDown(Key.RIGHT)) {
if (xmov < 20) {
xmov = (xmov + 1) + (speed / 10);
}
} else if (Key.isDown(Key.LEFT)) {
if (-20 < xmov) {
xmov = (xmov - 1) - (speed / 10);
}
}
if (1 < energy) {
xposition = xposition + (xmov * 1.5);
yposition = yposition + (ymov * 2);
} else {
xposition = xposition + ((xmov * 1.5) / 2);
yposition = yposition + ymov;
}
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
if (bomba == true) {
if (0 < bombtimea) {
bombtimea = bombtimea - 0.5;
setProperty("/bmba", _x , getProperty("/bmba", _x) + (xbombmova * 1.5));
setProperty("/bmba", _y , getProperty("/bmba", _y) + (xbombmova * 1.5));
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _xscale , getProperty("/bmba", _xscale) - 2.5);
setProperty("/bmba", _yscale , getProperty("/bmba", _yscale) - 2.5);
if (_root.bmba.hittest(_root.enemy)) {
tellTarget ("/bmba") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bomba = false;
if (1.1 < bombtimea) {
bombtimea = 1;
}
}
if ((bombtimea < 7) and (1.1 < bombtimea)) {
tellTarget ("/bmba") {
play();
};
}
} else if (bombtimea < 1.6) {
bomba = false;
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
}
if (bombb == true) {
if (0 < bombtimeb) {
bombtimeb = bombtimeb - 0.5;
setProperty("/bmbb", _x , getProperty("/bmbb", _x) + (xbombmovb * 1.5));
setProperty("/bmbb", _y , getProperty("/bmbb", _y) + (xbombmovb * 1.5));
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _xscale , getProperty("/bmbb", _xscale) - 2.5);
setProperty("/bmbb", _yscale , getProperty("/bmbb", _yscale) - 2.5);
if (_root.bmbb.hittest(_root.enemy)) {
tellTarget ("/bmbb") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombb = false;
if (1.1 < bombtimeb) {
bombtimeb = 1;
}
}
if ((bombtimeb < 7) and (1.1 < bombtimeb)) {
tellTarget ("/bmbb") {
play();
};
}
} else if (bombtimeb < 1.6) {
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
}
if (bombc == true) {
if (0 < bombtimec) {
bombtimec = bombtimec - 0.5;
setProperty("/bmbc", _x , getProperty("/bmbc", _x) + (xbombmovc * 1.5));
setProperty("/bmbc", _y , getProperty("/bmbc", _y) + (xbombmovc * 1.5));
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _xscale , getProperty("/bmbc", _xscale) - 2.5);
setProperty("/bmbc", _yscale , getProperty("/bmbc", _yscale) - 2.5);
if (_root.bmbc.hittest(_root.enemy)) {
tellTarget ("/bmbc") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombc = false;
if (1.1 < bombtimec) {
bombtimec = 1;
}
}
if ((bombtimec < 7) and (1.1 < bombtimec)) {
tellTarget ("/bmbc") {
play();
};
}
} else if (bombtimec < 1.6) {
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
}
if (bombd == true) {
if (0 < bombtimed) {
bombtimed = bombtimed - 0.5;
setProperty("/bmbd", _x , getProperty("/bmbd", _x) + (xbombmovd * 1.5));
setProperty("/bmbd", _y , getProperty("/bmbd", _y) + (xbombmovd * 1.5));
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _xscale , getProperty("/bmbd", _xscale) - 2.5);
setProperty("/bmbd", _yscale , getProperty("/bmbd", _yscale) - 2.5);
if (_root.bmbd.hittest(_root.enemy)) {
tellTarget ("/bmbd") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombd = false;
if (1.1 < bombtimed) {
bombtimed = 1;
}
}
if ((bombtimed < 7) and (1.1 < bombtimed)) {
tellTarget ("/bmbd") {
play();
};
}
} else if (bombtimed < 1.6) {
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
}
if (bombe == true) {
if (0 < bombtimee) {
bombtimee = bombtimee - 0.5;
setProperty("/bmbe", _x , getProperty("/bmbe", _x) + (xbombmove * 1.5));
setProperty("/bmbe", _y , getProperty("/bmbe", _y) + (xbombmove * 1.5));
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _xscale , getProperty("/bmbe", _xscale) - 2.5);
setProperty("/bmbe", _yscale , getProperty("/bmbe", _yscale) - 2.5);
if (_root.bmbe.hittest(_root.enemy)) {
tellTarget ("/bmbe") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombe = false;
if (1.1 < bombtimee) {
bombtimee = 1;
}
}
if ((bombtimee < 7) and (1.1 < bombtimee)) {
tellTarget ("/bmbe") {
play();
};
}
} else if (bombtimee < 1.6) {
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
}
if (bombf == true) {
if (0 < bombtimef) {
bombtimef = bombtimef - 0.5;
setProperty("/bmbf", _x , getProperty("/bmbf", _x) + (xbombmovf * 1.5));
setProperty("/bmbf", _y , getProperty("/bmbf", _y) + (xbombmovf * 1.5));
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _xscale , getProperty("/bmbf", _xscale) - 2.5);
setProperty("/bmbf", _yscale , getProperty("/bmbf", _yscale) - 2.5);
if (_root.bmbf.hittest(_root.enemy)) {
tellTarget ("/bmbf") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombf = false;
if (1.1 < bombtimef) {
bombtimef = 1;
}
}
if ((bombtimef < 7) and (1.1 < bombtimef)) {
tellTarget ("/bmbf") {
play();
};
}
} else if (bombtimef < 1.6) {
bombf = false;
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
}
if (bombg == true) {
if (0 < bombtimeg) {
bombtimeg = bombtimeg - 0.5;
setProperty("/bmbg", _x , getProperty("/bmbg", _x) + (xbombmovg * 1.5));
setProperty("/bmbg", _y , getProperty("/bmbg", _y) + (xbombmovg * 1.5));
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _xscale , getProperty("/bmbg", _xscale) - 2.5);
setProperty("/bmbg", _yscale , getProperty("/bmbg", _yscale) - 2.5);
if (_root.bmbg.hittest(_root.enemy)) {
tellTarget ("/bmbg") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
esheild = 0;
}
bombg = false;
if (1.1 < bombtimeg) {
bombtimeg = 1;
}
}
if ((bombtimeg < 7) and (1.1 < bombtimeg)) {
tellTarget ("/bmbg") {
play();
};
}
} else if (bombtimeg < 1.6) {
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
}
if (bombh == true) {
if (0 < bombtimeh) {
bombtimeh = bombtimeh - 0.5;
setProperty("/bmbh", _x , getProperty("/bmbh", _x) + (xbombmovh * 1.5));
setProperty("/bmbh", _y , getProperty("/bmbh", _y) + (xbombmovh * 1.5));
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _xscale , getProperty("/bmbh", _xscale) - 2.5);
setProperty("/bmbh", _yscale , getProperty("/bmbh", _yscale) - 2.5);
if (_root.bmbh.hittest(_root.enemy)) {
tellTarget ("/bmbh") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombh = false;
if (1.1 < bombtimeh) {
bombtimeh = 1;
}
}
if ((bombtimeh < 7) and (1.1 < bombtimeh)) {
tellTarget ("/bmbh") {
play();
};
}
} else if (bombtimeh < 1.6) {
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
}
if (_root.bmba.hittest(_root.enemy)) {
bomba = false;
duplicateMovieClip ("blowa", "blowup", 999);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
if (_root.bmbb.hittest(_root.enemy)) {
duplicateMovieClip ("blowb", "blowup", 999);
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
if (_root.bmbc.hittest(_root.enemy)) {
duplicateMovieClip ("blowc", "blowup", 999);
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
if (_root.bmbd.hittest(_root.enemy)) {
duplicateMovieClip ("blowd", "blowup", 999);
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
if (_root.bmbe.hittest(_root.enemy)) {
duplicateMovieClip ("blowe", "blowup", 999);
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
if (_root.bmbf.hittest(_root.enemy)) {
duplicateMovieClip ("blowf", "blowup", 999);
bombf = false;
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
if (_root.bmbg.hittest(_root.enemy)) {
duplicateMovieClip ("blowg", "blowup", 999);
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
if (_root.bmbh.hittest(_root.enemy)) {
duplicateMovieClip ("blowh", "blowup", 999);
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
blowuptime = blowuptime - 1;
if (blowuptime < 0) {
blowuptime = 3;
setProperty("/blowa", _x , getProperty("/bmba", _x));
setProperty("/blowb", _x , getProperty("/bmbb", _x));
setProperty("/blowc", _x , getProperty("/bmbc", _x));
setProperty("/blowd", _x , getProperty("/bmbd", _x));
setProperty("/blowe", _x , getProperty("/bmbe", _x));
setProperty("/blowf", _x , getProperty("/bmbf", _x));
setProperty("/blowg", _x , getProperty("/bmbh", _x));
setProperty("/blowh", _x , getProperty("/bmbh", _x));
setProperty("/blowa", _y , getProperty("/bmba", _y));
setProperty("/blowb", _y , getProperty("/bmbb", _y));
setProperty("/blowc", _y , getProperty("/bmbc", _y));
setProperty("/blowd", _y , getProperty("/bmbd", _y));
setProperty("/blowe", _y , getProperty("/bmbe", _y));
setProperty("/blowf", _y , getProperty("/bmbf", _y));
setProperty("/blowg", _y , getProperty("/bmbg", _y));
setProperty("/blowh", _y , getProperty("/bmbh", _y));
}
Ey = getProperty("/enemy", _y);
Ex = getProperty("/enemy", _x);
orgx = 425;
orgy = 150;
dist_x = Ex - orgx;
dist_y = Ey - orgy;
if (dist_x < 0) {
norm = -1 * dist_x;
} else {
norm = dist_x;
}
if (dist_y < 0) {
normalise = norm + (-1 * dist_y);
} else {
normalise = norm + dist_y;
}
if ((dist_x >= 0) and (dist_y >= 0)) {
tehangle = (90 * (dist_y / normalise)) - 90;
} else if ((0 >= dist_x) and (dist_y >= 0)) {
tehangle = -90 * (dist_x / normalise);
} else if ((0 >= dist_x) and (0 >= dist_y)) {
tehangle = (-90 * (dist_y / normalise)) + 90;
} else {
tehangle = (90 * (dist_x / normalise)) + 180;
}
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _alpha , alpha);
setProperty("/arrow", _alpha , alpha);
if (_root.stage.hittest(_root.enemy)) {
if (19 < alpha) {
alpha = alpha - 20;
}
} else if (alpha < 99) {
alpha = alpha + 20;
}
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _x , getProperty("/enemy", _x));
setProperty("/esheild", _y , getProperty("/enemy", _y));
if (250 < getProperty("/enemy", _y)) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) - 3);
} else if (getProperty("/enemy", _y) < 50) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) + 3);
} else {
setProperty("/enemy", _y , (getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9));
}
if (getProperty("/enemy", _x) < 220) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) + 3);
} else if (630 < getProperty("/enemy", _x)) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) - 3);
} else {
setProperty("/enemy", _x , (getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7));
}
nmex = getProperty("/enemy", _x);
if ((getProperty("/enemy", _xscale) + 10) < 50) {
if (getProperty("/enemy", _x) < getProperty("/Pshiptop", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/enemy", _y) < getProperty("/Pshiptop", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
} else if (50 < (getProperty("/enemy", _xscale) + 10)) {
if (getProperty("/Pshiptop", _x) < getProperty("/enemy", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/Pshiptop", _y) < getProperty("/enemy", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
}
eweapon = 1;
if (eweapon == 1) {
if (ebomba == false) {
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
ebomba = true;
ebombtimea = 10;
exbombmova = nmemovx;
eybombmova = nmemovy;
erbombmova = nmemovx * 4;
} else if (ebombb == false) {
setProperty("/ebmbb", _y , getProperty("/enemy", _y));
setProperty("ebmbb", _y , getProperty("/enemy", _y));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
ebombb = true;
ebombtimeb = 10;
exbombmovb = nmemovx;
eybombmovb = nmemovy;
erbombmovb = nmemovx * 4;
} else if (ebombc == false) {
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
ebombc = true;
ebombtimec = 10;
exbombmovc = nmemovx;
eybombmovc = nmemovy;
erbombmovc = nmemovx * 4;
} else if (ebombd == false) {
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
ebombd = true;
ebombtimed = 10;
exbombmovd = nmemovx;
eybombmovd = nmemovy;
erbombmovd = nmemovx * 4;
} else if (ebombe == false) {
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
ebombe = true;
ebombtimee = 10;
exbombmove = nmemovx;
eybombmove = nmemovy;
erbombmove = nmemovx * 4;
} else if (ebombf == false) {
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
ebombf = true;
ebombtimef = 10;
exbombmovf = nmemovx;
eybombmovf = nmemovy;
erbombmovf = nmemovx * 4;
} else if (ebombg == false) {
setProperty("/bmbg", _y , getProperty("/enemy", _y));
setProperty("/ebmbg", _y , getProperty("/enemy", _y));
setProperty("/bmbg", _x , getProperty("/enemy", _x));
setProperty("/ebmbg", _x , getProperty("/enemy", _x));
ebombg = true;
ebombtimeg = 10;
exbombmovg = nmemovx;
eybombmovg = nmemovy;
erbombmovg = nmemovx * 4;
} else if (ebombh == false) {
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
ebombh = true;
ebombtimeh = 10;
exbombmovh = nmemovx;
eybombmovh = nmemovy;
erbombmovh = nmemovx * 4;
}
}
if (ebomba == true) {
if (0 < ebombtimea) {
ebombtimea = ebombtimea - 0.5;
setProperty("/ebmba", _x , getProperty("/ebmba", _x) + (exbombmova * 1.5));
setProperty("/ebmba", _y , getProperty("/ebmba", _y) + (exbombmova * 1.5));
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _xscale , getProperty("/ebmba", _xscale) - 2.5);
setProperty("/ebmba", _yscale , getProperty("/ebmba", _yscale) - 2.5);
if (_root.ebmba.hittest(_root.Pshiptop)) {
tellTarget ("/ebmba") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
sheild = 0;
arm = arm - 3;
}
ebomba = false;
if (1.1 < ebombtimea) {
ebombtimea = 1;
}
}
if ((ebombtimea < 7) and (1.1 < ebombtimea)) {
tellTarget ("/ebmba") {
play();
};
}
} else if (ebombtimea < 1.6) {
ebomba = false;
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
}
if (ebombb == true) {
if (0 < ebombtimeb) {
ebombtimeb = ebombtimeb - 0.5;
setProperty("/ebmbb", _x , getProperty("/ebmbb", _x) + (exbombmovb * 1.5));
setProperty("/ebmbb", _y , getProperty("/ebmbb", _y) + (exbombmovb * 1.5));
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _xscale , getProperty("/ebmbb", _xscale) - 2.5);
setProperty("/ebmbb", _yscale , getProperty("/ebmbb", _yscale) - 2.5);
if (_root.ebmbb.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbb") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombb = false;
if (1.1 < ebombtimeb) {
ebombtimeb = 1;
}
}
if ((ebombtimeb < 7) and (1.1 < ebombtimeb)) {
tellTarget ("/ebmbb") {
play();
};
}
} else if (ebombtimeb < 1.6) {
ebombb = false;
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
}
if (ebombc == true) {
if (0 < ebombtimec) {
ebombtimec = ebombtimec - 0.5;
setProperty("/ebmbc", _x , getProperty("/ebmbc", _x) + (exbombmovc * 1.5));
setProperty("/ebmbc", _y , getProperty("/ebmbc", _y) + (exbombmovc * 1.5));
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _xscale , getProperty("/ebmbc", _xscale) - 2.5);
setProperty("/ebmbc", _yscale , getProperty("/ebmbc", _yscale) - 2.5);
if (_root.ebmbc.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbc") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombc = false;
if (1.1 < ebombtimec) {
ebombtimec = 1;
}
}
if ((ebombtimec < 7) and (1.1 < ebombtimec)) {
tellTarget ("/ebmbc") {
play();
};
}
} else if (ebombtimec < 1.6) {
ebombc = false;
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
}
if (ebombd == true) {
if (0 < ebombtimed) {
ebombtimed = ebombtimed - 0.5;
setProperty("/ebmbd", _x , getProperty("/ebmbd", _x) + (exbombmovd * 1.5));
setProperty("/ebmbd", _y , getProperty("/ebmbd", _y) + (exbombmovd * 1.5));
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _xscale , getProperty("/ebmbd", _xscale) - 2.5);
setProperty("/ebmbd", _yscale , getProperty("/ebmbd", _yscale) - 2.5);
if (_root.ebmbd.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbd") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombd = false;
if (1.1 < ebombtimed) {
ebombtimed = 1;
}
}
if ((ebombtimed < 7) and (1.1 < ebombtimed)) {
tellTarget ("/ebmbd") {
play();
};
}
} else if (ebombtimed < 1.6) {
ebombd = false;
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
}
if (ebombe == true) {
if (0 < ebombtimee) {
ebombtimee = ebombtimee - 0.5;
setProperty("/ebmbe", _x , getProperty("/ebmbe", _x) + (exbombmove * 1.5));
setProperty("/ebmbe", _y , getProperty("/ebmbe", _y) + (exbombmove * 1.5));
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _xscale , getProperty("/ebmbe", _xscale) - 2.5);
setProperty("/ebmbe", _yscale , getProperty("/ebmbe", _yscale) - 2.5);
if (_root.ebmbe.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbe") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombe = false;
if (1.1 < ebombtimee) {
ebombtimee = 1;
}
}
if ((ebombtimee < 7) and (1.1 < ebombtimee)) {
tellTarget ("/ebmbe") {
play();
};
}
} else if (ebombtimee < 1.6) {
ebombe = false;
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
}
if (ebombf == true) {
if (0 < ebombtimef) {
ebombtimef = ebombtimef - 0.5;
setProperty("/ebmbf", _x , getProperty("/ebmbf", _x) + (exbombmovf * 1.5));
setProperty("/ebmbf", _y , getProperty("/ebmbf", _y) + (exbombmovf * 1.5));
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _xscale , getProperty("/ebmbf", _xscale) - 2.5);
setProperty("/ebmbf", _yscale , getProperty("/ebmbf", _yscale) - 2.5);
if (_root.ebmbf.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbf") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombf = false;
if (1.1 < ebombtimef) {
ebombtimef = 1;
}
}
if ((ebombtimef < 7) and (1.1 < ebombtimef)) {
tellTarget ("/ebmbf") {
play();
};
}
} else if (ebombtimef < 1.6) {
ebombf = false;
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
}
if (ebombg == true) {
if (0 < ebombtimeg) {
ebombtimeg = ebombtimeg - 0.5;
setProperty("/ebmbg", _x , getProperty("/ebmbg", _x) + (exbombmovg * 1.5));
setProperty("/ebmbg", _y , getProperty("/ebmbg", _y) + (exbombmovg * 1.5));
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _xscale , getProperty("/ebmbg", _xscale) - 2.5);
setProperty("/ebmbg", _yscale , getProperty("/ebmbg", _yscale) - 2.5);
if (_root.ebmbg.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbg") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombg = false;
if (1.1 < ebombtimeg) {
ebombtimeg = 1;
}
}
if ((ebombtimeg < 7) and (1.1 < ebombtimeg)) {
tellTarget ("/ebmbg") {
play();
};
}
} else if (ebombtimeg < 1.6) {
ebombg = false;
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
}
if (ebombh == true) {
if (0 < ebombtimeh) {
ebombtimeh = ebombtimeh - 0.5;
setProperty("/ebmbh", _x , getProperty("/ebmbh", _x) + (exbombmovh * 1.5));
setProperty("/ebmbh", _y , getProperty("/ebmbh", _y) + (exbombmovh * 1.5));
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _xscale , getProperty("/ebmbh", _xscale) - 2.5);
setProperty("/ebmbh", _yscale , getProperty("/ebmbh", _yscale) - 2.5);
if (_root.ebmbh.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbh") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombh = false;
if (1.1 < ebombtimeh) {
ebombtimeh = 1;
}
}
if ((ebombtimeh < 7) and (1.1 < ebombtimeh)) {
tellTarget ("/ebmbh") {
play();
};
}
} else if (ebombtimeh < 1.6) {
ebombh = false;
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
}
if (_root.ebmba.hittest(_root.Pshiptop)) {
ebomba = false;
duplicateMovieClip ("eblowa", "eblowup", 999);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
if (_root.ebmbb.hittest(_root.Pshiptop)) {
ebombb = false;
duplicateMovieClip ("eblowb", "eblowup", 999);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
if (_root.ebmbc.hittest(_root.Pshiptop)) {
ebombc = false;
duplicateMovieClip ("eblowc", "eblowup", 999);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
if (_root.ebmbd.hittest(_root.Pshiptop)) {
ebombd = false;
duplicateMovieClip ("eblowd", "eblowup", 999);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
if (_root.ebmbe.hittest(_root.Pshiptop)) {
ebombe = false;
duplicateMovieClip ("eblowe", "eblowup", 999);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
if (_root.ebmbf.hittest(_root.Pshiptop)) {
ebombf = false;
duplicateMovieClip ("eblowf", "eblowup", 999);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
if (_root.ebmbg.hittest(_root.Pshiptop)) {
ebombg = false;
duplicateMovieClip ("eblowg", "eblowup", 999);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
if (_root.ebmbh.hittest(_root.Pshiptop)) {
ebombh = false;
duplicateMovieClip ("eblowh", "eblowup", 999);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
energy = Math.round(energy + intake);
imput = Math.round(intake);
if ((1000 + (ease * 100)) < energy) {
energy = 1000 + (ease * 100);
}
if (160 < energy) {
if (choice == false) {
choice = true;
}
}
if (choice == false) {
if (1 < speed) {
speed = speed - 1;
}
if (1 < weapon) {
weapon = weapon - 1;
}
}
if (choice == true) {
if (speed < choicespeed) {
speed = speed + 1;
}
if (weapon < choiceweapon) {
weapon = weapon + 1;
}
}
if (energy < 5) {
energy = 0;
choice = false;
}
if (0 < xmov) {
if (0 < ymov) {
intake = (7 - ((xmov + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - ((xmov - ymov) / 5)) - (speed / 1.5);
}
} else if (xmov < 1) {
if (0 < ymov) {
intake = (7 - (((-xmov) + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - (((-xmov) - ymov) / 5)) - (speed / 1.5);
}
}
shcount = shcount - 1;
if (shcount < 1) {
shcount = 20;
if (she == false) {
she = true;
}
} else if (she == true) {
she = false;
}
if (she == true) {
sheilds = sheilds + 3;
}
usage = Math.round((energy / (2000 + (ease * 100))) * 100) + "%";
if (nmeh < 1) {
if (byebye == false) {
setProperty("/bhe", _visible , 100);
setProperty("/bhe", _visible , 100);
byebye = true;
bght = 14;
}
}
if (byebye == true) {
if (0 < bght) {
bght = bght - 1;
frame = int(bght);
tellTarget (_root.bhe) {
gotoAndStop(_root.frame);
};
setProperty("/enemy", _alpha , getProperty("/enemy", _alpha) - 8);
setProperty("/esheild", _visible , 0);
setProperty("/esheild", _visible , 0);
setProperty("/bhe", _y , getProperty("/enemy", _y));
setProperty("/bhe", _x , getProperty("/enemy", _x));
nmeh = 0;
} else if (bght < 1) {
nmeh = 1000 + (ease * 100);
nmesheild = 1000 + (ease * 100);
outnumber = outnumber - 1;
setProperty("/enemy", _x , 0);
setProperty("/enemy", _x , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _alpha , 100);
setProperty("/enemy", _alpha , 100);
setProperty("/esheild", _visible , 100);
setProperty("/esheild", _visible , 100);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
byebye = false;
}
}
bone = Math.round(outnumber / 10) + 1;
if (arm < 1) {
gotoAndPlay (2918);
}
if (outnumber < 1) {
tech = (teck + Math.round(outnumber / 10)) + 1;
techn = Math.round(outnumber / 10) + 1;
rank = rank + bone;
gotoAndPlay (2189);
if (termission < 2) {
termission = termission + 1;
}
}
Frame 2233
gotoAndPlay (2232);
Frame 2234
nextFrame();
Frame 2236
prevFrame();
Frame 2237
back = 5;
arm = 6000 - (ease * 1000);
sheild = 1000 - (ease * 100);
nmeh = 100 + (ease * 100);
nmesheild = 100 + (ease * 100);
energy = 100;
she = false;
byebye = false;
shcount = 20;
outnumber = 1;
deca = 7;
decb = 15;
sec = 60;
secf = 61;
micro = 5;
microf = 10;
min = 5;
setProperty("/botsheild", _alpha , 0);
setProperty("/botsheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
xposition = 425;
yposition = 150;
weapon = 1;
nmemovx = 0;
nmemovy = 0;
speed = 0;
alpha = 0;
tech = 6;
qual = 1;
bomba = false;
bombb = false;
bombc = false;
bombd = false;
bombe = false;
bombf = false;
bombg = false;
bombh = false;
ebomba = false;
ebombb = false;
ebombc = false;
ebombd = false;
ebombe = false;
ebombf = false;
ebombg = false;
ebombh = false;
blowuptime = 3;
tellTarget ("blowa") {
stop();
};
tellTarget ("blowb") {
stop();
};
tellTarget ("blowc") {
stop();
};
tellTarget ("blowd") {
stop();
};
tellTarget ("blowe") {
stop();
};
tellTarget ("blowf") {
stop();
};
tellTarget ("blowg") {
stop();
};
tellTarget ("blowh") {
stop();
};
tellTarget ("eblowa") {
stop();
};
tellTarget ("eblowb") {
stop();
};
tellTarget ("eblowc") {
stop();
};
tellTarget ("eblowd") {
stop();
};
tellTarget ("eblowe") {
stop();
};
tellTarget ("eblowf") {
stop();
};
tellTarget ("eblowg") {
stop();
};
tellTarget ("eblowh") {
stop();
};
song = bsong + 1;
Frame 2238
frame = int(song);
tellTarget (_root.music) {
gotoAndStop(_root.frame);
};
tellTarget (_root.backround) {
gotoAndStop (5);
};
tellTarget (_root.race) {
gotoAndStop (5);
};
if (5 < getProperty("/esheild", _alpha)) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) - 6);
}
if (50 < getProperty("/enemy", _xscale)) {
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _visible , 100);
setProperty("/botsheild", _visible , 100);
setProperty("/topsheild", _visible , 0);
setProperty("/topsheild", _visible , 0);
} else {
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _visible , 100);
setProperty("/topsheild", _visible , 100);
setProperty("/botsheild", _visible , 0);
setProperty("/botsheild", _visible , 0);
}
if (5 < playersheild) {
playersheild = playersheild - 4;
}
setProperty("/botsheild", _x , getProperty("/Pshiptop", _x));
setProperty("/botsheild", _y , getProperty("/Pshiptop", _y));
setProperty("/botsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _x , getProperty("/Pshiptop", _x));
setProperty("topsheild", _y , getProperty("/Pshiptop", _y));
startDrag ("rat", true, 200, 0, 650, 300);
ymovwvar = ymov + 20;
if (qual == 1) {
_quality = "low";
} else if (qual == 2) {
_quality = "medium";
} else if (qual == 3) {
_quality = "high";
}
qualcount = qualcount - 1;
if (0 < qualcount) {
setProperty("/settings", _alpha , 100);
setProperty("/settings", _alpha , 100);
} else if (qualcount < 1) {
if (0 < getProperty("/settings", _alpha)) {
setProperty("/settings", _alpha , getProperty("/settings", _alpha) - 20);
}
}
deca = deca - 1;
decb = decb - 1;
if (deca < 1) {
deca = random(15) + 5;
tellTarget ("decora") {
play();
};
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _y , random(150));
setProperty("/decora", _y , random(150));
setProperty("/decora", _x , random(500) + 175);
setProperty("/decora", _x , random(500) + 175);
ascale = random(29) + 50;
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _xscale , ascale);
setProperty("/decora", _xscale , ascale);
}
if (decb < 1) {
decb = random(18) + 5;
tellTarget ("decorb") {
play();
};
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _x , random(500) + 175);
setProperty("/decorb", _x , random(500) + 175);
bscale = random(29) + 50;
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _xscale , bscale);
setProperty("/decorb", _xscale , bscale);
}
micro = micro - 5;
if (micro < 6) {
micro = 60;
sec = sec - 1;
}
if (sec < 1) {
sec = 60;
min = min - 1;
}
if ((micro < 19) and (9 < micro)) {
if (sec < 10) {
time = (((min + ":0") + sec) + ": ") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ": ") + micro;
}
} else if (19 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
} else if (micro < 10) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":0") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":0") + micro;
}
} else if (10 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
}
microf = microf - 5;
if (microf < 6) {
microf = 60;
secf = secf - 1;
}
if (secf < 1) {
secf = 60;
minf = min - 1;
}
if ((microf < 19) and (9 < microf)) {
if (secf < 10) {
timef = (secf + ": ") + microf;
} else if (9 < secf) {
timef = (secf + ": ") + microf;
}
} else if (19 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
} else if (microf < 10) {
if (secf < 10) {
timef = (secf + ":0") + microf;
} else if (9 < secf) {
timef = (sefc + ":0") + microf;
}
} else if (10 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
}
frame = int(qual);
tellTarget (_root.settings) {
gotoAndStop(_root.frame);
};
nmeY = nmemovy + 21;
frame = int(nmeY);
tellTarget (_root.enemy) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshiptop) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshipbot) {
gotoAndStop(_root.frame);
};
ratx = getProperty("/rat", _x);
raty = getProperty("/rat", _y);
xpos = getProperty("/Pshiptop", _x);
ypos = getProperty("/Pshiptop", _y);
if (cntrlz == 1) {
if (ypos < (raty - 1)) {
if (ymov < 20) {
if (0 < ymov) {
ymov = (ymov + 0.5) + (speed / 10);
} else {
ymov = (ymov + 1) + (speed / 10);
}
}
} else if ((raty + 1) < ypos) {
if (-20 < ymov) {
if (ymov < 0) {
ymov = (ymov - 0.5) - (speed / 10);
} else {
ymov = (ymov - 1) - (speed / 10);
}
}
} else if ((ymov < 2) and (0 < ymov)) {
ymov = 0;
} else if ((-3 < ymov) and (ymov < 0)) {
ymov = 0;
}
if (xpos < (ratx - 3)) {
if (xmov < 20) {
if (0 < xmov) {
xmov = (xmov + 0.5) + (speed / 10);
} else {
xmov = (xmov + 1) + (speed / 10);
}
}
} else if ((raty + 3) < xpos) {
if ((-20 - (speed / 10)) < xmov) {
if (xmov < 0) {
xmov = (xmov - 0.5) - (speed / 10);
} else {
xmov = (xmov - 1) - (speed / 10);
}
}
} else if ((xmov < 3) and (0 < xmov)) {
xmov = 0;
} else if ((-3 < xmov) and (xmov < 0)) {
xmov = 0;
}
if (Key.isDown(Key.UP)) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
if (Key.isDown(Key.LEFT)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
if (Key.isDown(Key.RIGHT)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
if (Key.isDown(Key.DOWN)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
} else if (cntrlz == 2) {
if (Key.isDown(Key.UP)) {
if (ymov < 20) {
ymov = (ymov + 1) + (speed / 10);
}
}
}
if (Key.isDown(Key.DOWN)) {
if (-20 < ymov) {
ymov = ymov - (speed / 10);
}
}
yposition = yposition + ymov;
if (Key.isDown(Key.RIGHT)) {
if (xmov < 20) {
xmov = (xmov + 1) + (speed / 10);
}
} else if (Key.isDown(Key.LEFT)) {
if (-20 < xmov) {
xmov = (xmov - 1) - (speed / 10);
}
}
if (1 < energy) {
xposition = xposition + (xmov * 1.5);
yposition = yposition + (ymov * 2);
} else {
xposition = xposition + ((xmov * 1.5) / 2);
yposition = yposition + ymov;
}
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
if (bomba == true) {
if (0 < bombtimea) {
bombtimea = bombtimea - 0.5;
setProperty("/bmba", _x , getProperty("/bmba", _x) + (xbombmova * 1.5));
setProperty("/bmba", _y , getProperty("/bmba", _y) + (xbombmova * 1.5));
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _xscale , getProperty("/bmba", _xscale) - 2.5);
setProperty("/bmba", _yscale , getProperty("/bmba", _yscale) - 2.5);
if (_root.bmba.hittest(_root.enemy)) {
tellTarget ("/bmba") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bomba = false;
if (1.1 < bombtimea) {
bombtimea = 1;
}
}
if ((bombtimea < 7) and (1.1 < bombtimea)) {
tellTarget ("/bmba") {
play();
};
}
} else if (bombtimea < 1.6) {
bomba = false;
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
}
if (bombb == true) {
if (0 < bombtimeb) {
bombtimeb = bombtimeb - 0.5;
setProperty("/bmbb", _x , getProperty("/bmbb", _x) + (xbombmovb * 1.5));
setProperty("/bmbb", _y , getProperty("/bmbb", _y) + (xbombmovb * 1.5));
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _xscale , getProperty("/bmbb", _xscale) - 2.5);
setProperty("/bmbb", _yscale , getProperty("/bmbb", _yscale) - 2.5);
if (_root.bmbb.hittest(_root.enemy)) {
tellTarget ("/bmbb") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombb = false;
if (1.1 < bombtimeb) {
bombtimeb = 1;
}
}
if ((bombtimeb < 7) and (1.1 < bombtimeb)) {
tellTarget ("/bmbb") {
play();
};
}
} else if (bombtimeb < 1.6) {
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
}
if (bombc == true) {
if (0 < bombtimec) {
bombtimec = bombtimec - 0.5;
setProperty("/bmbc", _x , getProperty("/bmbc", _x) + (xbombmovc * 1.5));
setProperty("/bmbc", _y , getProperty("/bmbc", _y) + (xbombmovc * 1.5));
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _xscale , getProperty("/bmbc", _xscale) - 2.5);
setProperty("/bmbc", _yscale , getProperty("/bmbc", _yscale) - 2.5);
if (_root.bmbc.hittest(_root.enemy)) {
tellTarget ("/bmbc") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombc = false;
if (1.1 < bombtimec) {
bombtimec = 1;
}
}
if ((bombtimec < 7) and (1.1 < bombtimec)) {
tellTarget ("/bmbc") {
play();
};
}
} else if (bombtimec < 1.6) {
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
}
if (bombd == true) {
if (0 < bombtimed) {
bombtimed = bombtimed - 0.5;
setProperty("/bmbd", _x , getProperty("/bmbd", _x) + (xbombmovd * 1.5));
setProperty("/bmbd", _y , getProperty("/bmbd", _y) + (xbombmovd * 1.5));
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _xscale , getProperty("/bmbd", _xscale) - 2.5);
setProperty("/bmbd", _yscale , getProperty("/bmbd", _yscale) - 2.5);
if (_root.bmbd.hittest(_root.enemy)) {
tellTarget ("/bmbd") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombd = false;
if (1.1 < bombtimed) {
bombtimed = 1;
}
}
if ((bombtimed < 7) and (1.1 < bombtimed)) {
tellTarget ("/bmbd") {
play();
};
}
} else if (bombtimed < 1.6) {
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
}
if (bombe == true) {
if (0 < bombtimee) {
bombtimee = bombtimee - 0.5;
setProperty("/bmbe", _x , getProperty("/bmbe", _x) + (xbombmove * 1.5));
setProperty("/bmbe", _y , getProperty("/bmbe", _y) + (xbombmove * 1.5));
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _xscale , getProperty("/bmbe", _xscale) - 2.5);
setProperty("/bmbe", _yscale , getProperty("/bmbe", _yscale) - 2.5);
if (_root.bmbe.hittest(_root.enemy)) {
tellTarget ("/bmbe") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombe = false;
if (1.1 < bombtimee) {
bombtimee = 1;
}
}
if ((bombtimee < 7) and (1.1 < bombtimee)) {
tellTarget ("/bmbe") {
play();
};
}
} else if (bombtimee < 1.6) {
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
}
if (bombf == true) {
if (0 < bombtimef) {
bombtimef = bombtimef - 0.5;
setProperty("/bmbf", _x , getProperty("/bmbf", _x) + (xbombmovf * 1.5));
setProperty("/bmbf", _y , getProperty("/bmbf", _y) + (xbombmovf * 1.5));
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _xscale , getProperty("/bmbf", _xscale) - 2.5);
setProperty("/bmbf", _yscale , getProperty("/bmbf", _yscale) - 2.5);
if (_root.bmbf.hittest(_root.enemy)) {
tellTarget ("/bmbf") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombf = false;
if (1.1 < bombtimef) {
bombtimef = 1;
}
}
if ((bombtimef < 7) and (1.1 < bombtimef)) {
tellTarget ("/bmbf") {
play();
};
}
} else if (bombtimef < 1.6) {
bombf = false;
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
}
if (bombg == true) {
if (0 < bombtimeg) {
bombtimeg = bombtimeg - 0.5;
setProperty("/bmbg", _x , getProperty("/bmbg", _x) + (xbombmovg * 1.5));
setProperty("/bmbg", _y , getProperty("/bmbg", _y) + (xbombmovg * 1.5));
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _xscale , getProperty("/bmbg", _xscale) - 2.5);
setProperty("/bmbg", _yscale , getProperty("/bmbg", _yscale) - 2.5);
if (_root.bmbg.hittest(_root.enemy)) {
tellTarget ("/bmbg") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
esheild = 0;
}
bombg = false;
if (1.1 < bombtimeg) {
bombtimeg = 1;
}
}
if ((bombtimeg < 7) and (1.1 < bombtimeg)) {
tellTarget ("/bmbg") {
play();
};
}
} else if (bombtimeg < 1.6) {
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
}
if (bombh == true) {
if (0 < bombtimeh) {
bombtimeh = bombtimeh - 0.5;
setProperty("/bmbh", _x , getProperty("/bmbh", _x) + (xbombmovh * 1.5));
setProperty("/bmbh", _y , getProperty("/bmbh", _y) + (xbombmovh * 1.5));
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _xscale , getProperty("/bmbh", _xscale) - 2.5);
setProperty("/bmbh", _yscale , getProperty("/bmbh", _yscale) - 2.5);
if (_root.bmbh.hittest(_root.enemy)) {
tellTarget ("/bmbh") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombh = false;
if (1.1 < bombtimeh) {
bombtimeh = 1;
}
}
if ((bombtimeh < 7) and (1.1 < bombtimeh)) {
tellTarget ("/bmbh") {
play();
};
}
} else if (bombtimeh < 1.6) {
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
}
if (_root.bmba.hittest(_root.enemy)) {
bomba = false;
duplicateMovieClip ("blowa", "blowup", 999);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
if (_root.bmbb.hittest(_root.enemy)) {
duplicateMovieClip ("blowb", "blowup", 999);
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
if (_root.bmbc.hittest(_root.enemy)) {
duplicateMovieClip ("blowc", "blowup", 999);
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
if (_root.bmbd.hittest(_root.enemy)) {
duplicateMovieClip ("blowd", "blowup", 999);
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
if (_root.bmbe.hittest(_root.enemy)) {
duplicateMovieClip ("blowe", "blowup", 999);
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
if (_root.bmbf.hittest(_root.enemy)) {
duplicateMovieClip ("blowf", "blowup", 999);
bombf = false;
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
if (_root.bmbg.hittest(_root.enemy)) {
duplicateMovieClip ("blowg", "blowup", 999);
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
if (_root.bmbh.hittest(_root.enemy)) {
duplicateMovieClip ("blowh", "blowup", 999);
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
blowuptime = blowuptime - 1;
if (blowuptime < 0) {
blowuptime = 3;
setProperty("/blowa", _x , getProperty("/bmba", _x));
setProperty("/blowb", _x , getProperty("/bmbb", _x));
setProperty("/blowc", _x , getProperty("/bmbc", _x));
setProperty("/blowd", _x , getProperty("/bmbd", _x));
setProperty("/blowe", _x , getProperty("/bmbe", _x));
setProperty("/blowf", _x , getProperty("/bmbf", _x));
setProperty("/blowg", _x , getProperty("/bmbh", _x));
setProperty("/blowh", _x , getProperty("/bmbh", _x));
setProperty("/blowa", _y , getProperty("/bmba", _y));
setProperty("/blowb", _y , getProperty("/bmbb", _y));
setProperty("/blowc", _y , getProperty("/bmbc", _y));
setProperty("/blowd", _y , getProperty("/bmbd", _y));
setProperty("/blowe", _y , getProperty("/bmbe", _y));
setProperty("/blowf", _y , getProperty("/bmbf", _y));
setProperty("/blowg", _y , getProperty("/bmbg", _y));
setProperty("/blowh", _y , getProperty("/bmbh", _y));
}
Ey = getProperty("/enemy", _y);
Ex = getProperty("/enemy", _x);
orgx = 425;
orgy = 150;
dist_x = Ex - orgx;
dist_y = Ey - orgy;
if (dist_x < 0) {
norm = -1 * dist_x;
} else {
norm = dist_x;
}
if (dist_y < 0) {
normalise = norm + (-1 * dist_y);
} else {
normalise = norm + dist_y;
}
if ((dist_x >= 0) and (dist_y >= 0)) {
tehangle = (90 * (dist_y / normalise)) - 90;
} else if ((0 >= dist_x) and (dist_y >= 0)) {
tehangle = -90 * (dist_x / normalise);
} else if ((0 >= dist_x) and (0 >= dist_y)) {
tehangle = (-90 * (dist_y / normalise)) + 90;
} else {
tehangle = (90 * (dist_x / normalise)) + 180;
}
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _alpha , alpha);
setProperty("/arrow", _alpha , alpha);
if (_root.stage.hittest(_root.enemy)) {
if (19 < alpha) {
alpha = alpha - 20;
}
} else if (alpha < 99) {
alpha = alpha + 20;
}
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _x , getProperty("/enemy", _x));
setProperty("/esheild", _y , getProperty("/enemy", _y));
if (250 < getProperty("/enemy", _y)) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) - 3);
} else if (getProperty("/enemy", _y) < 50) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) + 3);
} else {
setProperty("/enemy", _y , (getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9));
}
if (getProperty("/enemy", _x) < 220) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) + 3);
} else if (630 < getProperty("/enemy", _x)) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) - 3);
} else {
setProperty("/enemy", _x , (getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7));
}
nmex = getProperty("/enemy", _x);
if ((getProperty("/enemy", _xscale) + 10) < 50) {
if (getProperty("/enemy", _x) < getProperty("/Pshiptop", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/enemy", _y) < getProperty("/Pshiptop", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
} else if (50 < (getProperty("/enemy", _xscale) + 10)) {
if (getProperty("/Pshiptop", _x) < getProperty("/enemy", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/Pshiptop", _y) < getProperty("/enemy", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
}
eweapon = 1;
if (eweapon == 1) {
if (ebomba == false) {
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
ebomba = true;
ebombtimea = 10;
exbombmova = nmemovx;
eybombmova = nmemovy;
erbombmova = nmemovx * 4;
} else if (ebombb == false) {
setProperty("/ebmbb", _y , getProperty("/enemy", _y));
setProperty("ebmbb", _y , getProperty("/enemy", _y));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
ebombb = true;
ebombtimeb = 10;
exbombmovb = nmemovx;
eybombmovb = nmemovy;
erbombmovb = nmemovx * 4;
} else if (ebombc == false) {
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
ebombc = true;
ebombtimec = 10;
exbombmovc = nmemovx;
eybombmovc = nmemovy;
erbombmovc = nmemovx * 4;
} else if (ebombd == false) {
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
ebombd = true;
ebombtimed = 10;
exbombmovd = nmemovx;
eybombmovd = nmemovy;
erbombmovd = nmemovx * 4;
} else if (ebombe == false) {
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
ebombe = true;
ebombtimee = 10;
exbombmove = nmemovx;
eybombmove = nmemovy;
erbombmove = nmemovx * 4;
} else if (ebombf == false) {
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
ebombf = true;
ebombtimef = 10;
exbombmovf = nmemovx;
eybombmovf = nmemovy;
erbombmovf = nmemovx * 4;
} else if (ebombg == false) {
setProperty("/bmbg", _y , getProperty("/enemy", _y));
setProperty("/ebmbg", _y , getProperty("/enemy", _y));
setProperty("/bmbg", _x , getProperty("/enemy", _x));
setProperty("/ebmbg", _x , getProperty("/enemy", _x));
ebombg = true;
ebombtimeg = 10;
exbombmovg = nmemovx;
eybombmovg = nmemovy;
erbombmovg = nmemovx * 4;
} else if (ebombh == false) {
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
ebombh = true;
ebombtimeh = 10;
exbombmovh = nmemovx;
eybombmovh = nmemovy;
erbombmovh = nmemovx * 4;
}
}
if (ebomba == true) {
if (0 < ebombtimea) {
ebombtimea = ebombtimea - 0.5;
setProperty("/ebmba", _x , getProperty("/ebmba", _x) + (exbombmova * 1.5));
setProperty("/ebmba", _y , getProperty("/ebmba", _y) + (exbombmova * 1.5));
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _xscale , getProperty("/ebmba", _xscale) - 2.5);
setProperty("/ebmba", _yscale , getProperty("/ebmba", _yscale) - 2.5);
if (_root.ebmba.hittest(_root.Pshiptop)) {
tellTarget ("/ebmba") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
sheild = 0;
arm = arm - 3;
}
ebomba = false;
if (1.1 < ebombtimea) {
ebombtimea = 1;
}
}
if ((ebombtimea < 7) and (1.1 < ebombtimea)) {
tellTarget ("/ebmba") {
play();
};
}
} else if (ebombtimea < 1.6) {
ebomba = false;
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
}
if (ebombb == true) {
if (0 < ebombtimeb) {
ebombtimeb = ebombtimeb - 0.5;
setProperty("/ebmbb", _x , getProperty("/ebmbb", _x) + (exbombmovb * 1.5));
setProperty("/ebmbb", _y , getProperty("/ebmbb", _y) + (exbombmovb * 1.5));
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _xscale , getProperty("/ebmbb", _xscale) - 2.5);
setProperty("/ebmbb", _yscale , getProperty("/ebmbb", _yscale) - 2.5);
if (_root.ebmbb.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbb") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombb = false;
if (1.1 < ebombtimeb) {
ebombtimeb = 1;
}
}
if ((ebombtimeb < 7) and (1.1 < ebombtimeb)) {
tellTarget ("/ebmbb") {
play();
};
}
} else if (ebombtimeb < 1.6) {
ebombb = false;
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
}
if (ebombc == true) {
if (0 < ebombtimec) {
ebombtimec = ebombtimec - 0.5;
setProperty("/ebmbc", _x , getProperty("/ebmbc", _x) + (exbombmovc * 1.5));
setProperty("/ebmbc", _y , getProperty("/ebmbc", _y) + (exbombmovc * 1.5));
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _xscale , getProperty("/ebmbc", _xscale) - 2.5);
setProperty("/ebmbc", _yscale , getProperty("/ebmbc", _yscale) - 2.5);
if (_root.ebmbc.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbc") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombc = false;
if (1.1 < ebombtimec) {
ebombtimec = 1;
}
}
if ((ebombtimec < 7) and (1.1 < ebombtimec)) {
tellTarget ("/ebmbc") {
play();
};
}
} else if (ebombtimec < 1.6) {
ebombc = false;
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
}
if (ebombd == true) {
if (0 < ebombtimed) {
ebombtimed = ebombtimed - 0.5;
setProperty("/ebmbd", _x , getProperty("/ebmbd", _x) + (exbombmovd * 1.5));
setProperty("/ebmbd", _y , getProperty("/ebmbd", _y) + (exbombmovd * 1.5));
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _xscale , getProperty("/ebmbd", _xscale) - 2.5);
setProperty("/ebmbd", _yscale , getProperty("/ebmbd", _yscale) - 2.5);
if (_root.ebmbd.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbd") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombd = false;
if (1.1 < ebombtimed) {
ebombtimed = 1;
}
}
if ((ebombtimed < 7) and (1.1 < ebombtimed)) {
tellTarget ("/ebmbd") {
play();
};
}
} else if (ebombtimed < 1.6) {
ebombd = false;
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
}
if (ebombe == true) {
if (0 < ebombtimee) {
ebombtimee = ebombtimee - 0.5;
setProperty("/ebmbe", _x , getProperty("/ebmbe", _x) + (exbombmove * 1.5));
setProperty("/ebmbe", _y , getProperty("/ebmbe", _y) + (exbombmove * 1.5));
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _xscale , getProperty("/ebmbe", _xscale) - 2.5);
setProperty("/ebmbe", _yscale , getProperty("/ebmbe", _yscale) - 2.5);
if (_root.ebmbe.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbe") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombe = false;
if (1.1 < ebombtimee) {
ebombtimee = 1;
}
}
if ((ebombtimee < 7) and (1.1 < ebombtimee)) {
tellTarget ("/ebmbe") {
play();
};
}
} else if (ebombtimee < 1.6) {
ebombe = false;
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
}
if (ebombf == true) {
if (0 < ebombtimef) {
ebombtimef = ebombtimef - 0.5;
setProperty("/ebmbf", _x , getProperty("/ebmbf", _x) + (exbombmovf * 1.5));
setProperty("/ebmbf", _y , getProperty("/ebmbf", _y) + (exbombmovf * 1.5));
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _xscale , getProperty("/ebmbf", _xscale) - 2.5);
setProperty("/ebmbf", _yscale , getProperty("/ebmbf", _yscale) - 2.5);
if (_root.ebmbf.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbf") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombf = false;
if (1.1 < ebombtimef) {
ebombtimef = 1;
}
}
if ((ebombtimef < 7) and (1.1 < ebombtimef)) {
tellTarget ("/ebmbf") {
play();
};
}
} else if (ebombtimef < 1.6) {
ebombf = false;
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
}
if (ebombg == true) {
if (0 < ebombtimeg) {
ebombtimeg = ebombtimeg - 0.5;
setProperty("/ebmbg", _x , getProperty("/ebmbg", _x) + (exbombmovg * 1.5));
setProperty("/ebmbg", _y , getProperty("/ebmbg", _y) + (exbombmovg * 1.5));
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _xscale , getProperty("/ebmbg", _xscale) - 2.5);
setProperty("/ebmbg", _yscale , getProperty("/ebmbg", _yscale) - 2.5);
if (_root.ebmbg.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbg") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombg = false;
if (1.1 < ebombtimeg) {
ebombtimeg = 1;
}
}
if ((ebombtimeg < 7) and (1.1 < ebombtimeg)) {
tellTarget ("/ebmbg") {
play();
};
}
} else if (ebombtimeg < 1.6) {
ebombg = false;
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
}
if (ebombh == true) {
if (0 < ebombtimeh) {
ebombtimeh = ebombtimeh - 0.5;
setProperty("/ebmbh", _x , getProperty("/ebmbh", _x) + (exbombmovh * 1.5));
setProperty("/ebmbh", _y , getProperty("/ebmbh", _y) + (exbombmovh * 1.5));
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _xscale , getProperty("/ebmbh", _xscale) - 2.5);
setProperty("/ebmbh", _yscale , getProperty("/ebmbh", _yscale) - 2.5);
if (_root.ebmbh.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbh") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombh = false;
if (1.1 < ebombtimeh) {
ebombtimeh = 1;
}
}
if ((ebombtimeh < 7) and (1.1 < ebombtimeh)) {
tellTarget ("/ebmbh") {
play();
};
}
} else if (ebombtimeh < 1.6) {
ebombh = false;
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
}
if (_root.ebmba.hittest(_root.Pshiptop)) {
ebomba = false;
duplicateMovieClip ("eblowa", "eblowup", 999);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
if (_root.ebmbb.hittest(_root.Pshiptop)) {
ebombb = false;
duplicateMovieClip ("eblowb", "eblowup", 999);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
if (_root.ebmbc.hittest(_root.Pshiptop)) {
ebombc = false;
duplicateMovieClip ("eblowc", "eblowup", 999);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
if (_root.ebmbd.hittest(_root.Pshiptop)) {
ebombd = false;
duplicateMovieClip ("eblowd", "eblowup", 999);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
if (_root.ebmbe.hittest(_root.Pshiptop)) {
ebombe = false;
duplicateMovieClip ("eblowe", "eblowup", 999);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
if (_root.ebmbf.hittest(_root.Pshiptop)) {
ebombf = false;
duplicateMovieClip ("eblowf", "eblowup", 999);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
if (_root.ebmbg.hittest(_root.Pshiptop)) {
ebombg = false;
duplicateMovieClip ("eblowg", "eblowup", 999);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
if (_root.ebmbh.hittest(_root.Pshiptop)) {
ebombh = false;
duplicateMovieClip ("eblowh", "eblowup", 999);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
energy = Math.round(energy + intake);
imput = Math.round(intake);
if ((1000 + (ease * 100)) < energy) {
energy = 1000 + (ease * 100);
}
if (160 < energy) {
if (choice == false) {
choice = true;
}
}
if (choice == false) {
if (1 < speed) {
speed = speed - 1;
}
if (1 < weapon) {
weapon = weapon - 1;
}
}
if (choice == true) {
if (speed < choicespeed) {
speed = speed + 1;
}
if (weapon < choiceweapon) {
weapon = weapon + 1;
}
}
if (energy < 5) {
energy = 0;
choice = false;
}
if (0 < xmov) {
if (0 < ymov) {
intake = (7 - ((xmov + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - ((xmov - ymov) / 5)) - (speed / 1.5);
}
} else if (xmov < 1) {
if (0 < ymov) {
intake = (7 - (((-xmov) + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - (((-xmov) - ymov) / 5)) - (speed / 1.5);
}
}
shcount = shcount - 1;
if (shcount < 1) {
shcount = 20;
if (she == false) {
she = true;
}
} else if (she == true) {
she = false;
}
if (she == true) {
sheilds = sheilds + 3;
}
usage = Math.round((energy / (2000 + (ease * 100))) * 100) + "%";
if (nmeh < 1) {
if (byebye == false) {
setProperty("/bhe", _visible , 100);
setProperty("/bhe", _visible , 100);
byebye = true;
bght = 14;
}
}
if (byebye == true) {
if (0 < bght) {
bght = bght - 1;
frame = int(bght);
tellTarget (_root.bhe) {
gotoAndStop(_root.frame);
};
setProperty("/enemy", _alpha , getProperty("/enemy", _alpha) - 8);
setProperty("/esheild", _visible , 0);
setProperty("/esheild", _visible , 0);
setProperty("/bhe", _y , getProperty("/enemy", _y));
setProperty("/bhe", _x , getProperty("/enemy", _x));
nmeh = 0;
} else if (bght < 1) {
nmeh = 1000 + (ease * 100);
nmesheild = 1000 + (ease * 100);
outnumber = outnumber - 1;
setProperty("/enemy", _x , 0);
setProperty("/enemy", _x , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _alpha , 100);
setProperty("/enemy", _alpha , 100);
setProperty("/esheild", _visible , 100);
setProperty("/esheild", _visible , 100);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
byebye = false;
}
}
bone = Math.round(outnumber / 10) + 1;
if (arm < 1) {
gotoAndPlay (2918);
}
if (outnumber < 1) {
tech = (teck + Math.round(outnumber / 10)) + 1;
techn = Math.round(outnumber / 10) + 1;
rank = rank + bone;
gotoAndPlay (2189);
if (termission < 2) {
termission = termission + 1;
}
}
Frame 2239
gotoAndPlay (2238);
Frame 2240
nextFrame();
Frame 2242
prevFrame();
Frame 2243
back = 5;
arm = 6000 - (ease * 1000);
sheild = 1000 - (ease * 100);
nmeh = 100 + (ease * 100);
nmesheild = 100 + (ease * 100);
energy = 100;
she = false;
byebye = false;
shcount = 20;
outnumber = 1;
deca = 7;
decb = 15;
sec = 60;
secf = 61;
micro = 5;
microf = 10;
min = 5;
setProperty("/botsheild", _alpha , 0);
setProperty("/botsheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
xposition = 425;
yposition = 150;
weapon = 1;
nmemovx = 0;
nmemovy = 0;
speed = 0;
alpha = 0;
tech = 6;
qual = 1;
bomba = false;
bombb = false;
bombc = false;
bombd = false;
bombe = false;
bombf = false;
bombg = false;
bombh = false;
ebomba = false;
ebombb = false;
ebombc = false;
ebombd = false;
ebombe = false;
ebombf = false;
ebombg = false;
ebombh = false;
blowuptime = 3;
tellTarget ("blowa") {
stop();
};
tellTarget ("blowb") {
stop();
};
tellTarget ("blowc") {
stop();
};
tellTarget ("blowd") {
stop();
};
tellTarget ("blowe") {
stop();
};
tellTarget ("blowf") {
stop();
};
tellTarget ("blowg") {
stop();
};
tellTarget ("blowh") {
stop();
};
tellTarget ("eblowa") {
stop();
};
tellTarget ("eblowb") {
stop();
};
tellTarget ("eblowc") {
stop();
};
tellTarget ("eblowd") {
stop();
};
tellTarget ("eblowe") {
stop();
};
tellTarget ("eblowf") {
stop();
};
tellTarget ("eblowg") {
stop();
};
tellTarget ("eblowh") {
stop();
};
song = bsong + 1;
Frame 2244
frame = int(song);
tellTarget (_root.music) {
gotoAndStop(_root.frame);
};
tellTarget (_root.backround) {
gotoAndStop (5);
};
tellTarget (_root.race) {
gotoAndStop (5);
};
if (5 < getProperty("/esheild", _alpha)) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) - 6);
}
if (50 < getProperty("/enemy", _xscale)) {
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _visible , 100);
setProperty("/botsheild", _visible , 100);
setProperty("/topsheild", _visible , 0);
setProperty("/topsheild", _visible , 0);
} else {
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _visible , 100);
setProperty("/topsheild", _visible , 100);
setProperty("/botsheild", _visible , 0);
setProperty("/botsheild", _visible , 0);
}
if (5 < playersheild) {
playersheild = playersheild - 4;
}
setProperty("/botsheild", _x , getProperty("/Pshiptop", _x));
setProperty("/botsheild", _y , getProperty("/Pshiptop", _y));
setProperty("/botsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _x , getProperty("/Pshiptop", _x));
setProperty("topsheild", _y , getProperty("/Pshiptop", _y));
startDrag ("rat", true, 200, 0, 650, 300);
ymovwvar = ymov + 20;
if (qual == 1) {
_quality = "low";
} else if (qual == 2) {
_quality = "medium";
} else if (qual == 3) {
_quality = "high";
}
qualcount = qualcount - 1;
if (0 < qualcount) {
setProperty("/settings", _alpha , 100);
setProperty("/settings", _alpha , 100);
} else if (qualcount < 1) {
if (0 < getProperty("/settings", _alpha)) {
setProperty("/settings", _alpha , getProperty("/settings", _alpha) - 20);
}
}
deca = deca - 1;
decb = decb - 1;
if (deca < 1) {
deca = random(15) + 5;
tellTarget ("decora") {
play();
};
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _y , random(150));
setProperty("/decora", _y , random(150));
setProperty("/decora", _x , random(500) + 175);
setProperty("/decora", _x , random(500) + 175);
ascale = random(29) + 50;
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _xscale , ascale);
setProperty("/decora", _xscale , ascale);
}
if (decb < 1) {
decb = random(18) + 5;
tellTarget ("decorb") {
play();
};
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _x , random(500) + 175);
setProperty("/decorb", _x , random(500) + 175);
bscale = random(29) + 50;
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _xscale , bscale);
setProperty("/decorb", _xscale , bscale);
}
micro = micro - 5;
if (micro < 6) {
micro = 60;
sec = sec - 1;
}
if (sec < 1) {
sec = 60;
min = min - 1;
}
if ((micro < 19) and (9 < micro)) {
if (sec < 10) {
time = (((min + ":0") + sec) + ": ") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ": ") + micro;
}
} else if (19 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
} else if (micro < 10) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":0") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":0") + micro;
}
} else if (10 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
}
microf = microf - 5;
if (microf < 6) {
microf = 60;
secf = secf - 1;
}
if (secf < 1) {
secf = 60;
minf = min - 1;
}
if ((microf < 19) and (9 < microf)) {
if (secf < 10) {
timef = (secf + ": ") + microf;
} else if (9 < secf) {
timef = (secf + ": ") + microf;
}
} else if (19 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
} else if (microf < 10) {
if (secf < 10) {
timef = (secf + ":0") + microf;
} else if (9 < secf) {
timef = (sefc + ":0") + microf;
}
} else if (10 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
}
frame = int(qual);
tellTarget (_root.settings) {
gotoAndStop(_root.frame);
};
nmeY = nmemovy + 21;
frame = int(nmeY);
tellTarget (_root.enemy) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshiptop) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshipbot) {
gotoAndStop(_root.frame);
};
ratx = getProperty("/rat", _x);
raty = getProperty("/rat", _y);
xpos = getProperty("/Pshiptop", _x);
ypos = getProperty("/Pshiptop", _y);
if (cntrlz == 1) {
if (ypos < (raty - 1)) {
if (ymov < 20) {
if (0 < ymov) {
ymov = (ymov + 0.5) + (speed / 10);
} else {
ymov = (ymov + 1) + (speed / 10);
}
}
} else if ((raty + 1) < ypos) {
if (-20 < ymov) {
if (ymov < 0) {
ymov = (ymov - 0.5) - (speed / 10);
} else {
ymov = (ymov - 1) - (speed / 10);
}
}
} else if ((ymov < 2) and (0 < ymov)) {
ymov = 0;
} else if ((-3 < ymov) and (ymov < 0)) {
ymov = 0;
}
if (xpos < (ratx - 3)) {
if (xmov < 20) {
if (0 < xmov) {
xmov = (xmov + 0.5) + (speed / 10);
} else {
xmov = (xmov + 1) + (speed / 10);
}
}
} else if ((raty + 3) < xpos) {
if ((-20 - (speed / 10)) < xmov) {
if (xmov < 0) {
xmov = (xmov - 0.5) - (speed / 10);
} else {
xmov = (xmov - 1) - (speed / 10);
}
}
} else if ((xmov < 3) and (0 < xmov)) {
xmov = 0;
} else if ((-3 < xmov) and (xmov < 0)) {
xmov = 0;
}
if (Key.isDown(Key.UP)) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
if (Key.isDown(Key.LEFT)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
if (Key.isDown(Key.RIGHT)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
if (Key.isDown(Key.DOWN)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
} else if (cntrlz == 2) {
if (Key.isDown(Key.UP)) {
if (ymov < 20) {
ymov = (ymov + 1) + (speed / 10);
}
}
}
if (Key.isDown(Key.DOWN)) {
if (-20 < ymov) {
ymov = ymov - (speed / 10);
}
}
yposition = yposition + ymov;
if (Key.isDown(Key.RIGHT)) {
if (xmov < 20) {
xmov = (xmov + 1) + (speed / 10);
}
} else if (Key.isDown(Key.LEFT)) {
if (-20 < xmov) {
xmov = (xmov - 1) - (speed / 10);
}
}
if (1 < energy) {
xposition = xposition + (xmov * 1.5);
yposition = yposition + (ymov * 2);
} else {
xposition = xposition + ((xmov * 1.5) / 2);
yposition = yposition + ymov;
}
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
if (bomba == true) {
if (0 < bombtimea) {
bombtimea = bombtimea - 0.5;
setProperty("/bmba", _x , getProperty("/bmba", _x) + (xbombmova * 1.5));
setProperty("/bmba", _y , getProperty("/bmba", _y) + (xbombmova * 1.5));
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _xscale , getProperty("/bmba", _xscale) - 2.5);
setProperty("/bmba", _yscale , getProperty("/bmba", _yscale) - 2.5);
if (_root.bmba.hittest(_root.enemy)) {
tellTarget ("/bmba") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bomba = false;
if (1.1 < bombtimea) {
bombtimea = 1;
}
}
if ((bombtimea < 7) and (1.1 < bombtimea)) {
tellTarget ("/bmba") {
play();
};
}
} else if (bombtimea < 1.6) {
bomba = false;
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
}
if (bombb == true) {
if (0 < bombtimeb) {
bombtimeb = bombtimeb - 0.5;
setProperty("/bmbb", _x , getProperty("/bmbb", _x) + (xbombmovb * 1.5));
setProperty("/bmbb", _y , getProperty("/bmbb", _y) + (xbombmovb * 1.5));
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _xscale , getProperty("/bmbb", _xscale) - 2.5);
setProperty("/bmbb", _yscale , getProperty("/bmbb", _yscale) - 2.5);
if (_root.bmbb.hittest(_root.enemy)) {
tellTarget ("/bmbb") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombb = false;
if (1.1 < bombtimeb) {
bombtimeb = 1;
}
}
if ((bombtimeb < 7) and (1.1 < bombtimeb)) {
tellTarget ("/bmbb") {
play();
};
}
} else if (bombtimeb < 1.6) {
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
}
if (bombc == true) {
if (0 < bombtimec) {
bombtimec = bombtimec - 0.5;
setProperty("/bmbc", _x , getProperty("/bmbc", _x) + (xbombmovc * 1.5));
setProperty("/bmbc", _y , getProperty("/bmbc", _y) + (xbombmovc * 1.5));
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _xscale , getProperty("/bmbc", _xscale) - 2.5);
setProperty("/bmbc", _yscale , getProperty("/bmbc", _yscale) - 2.5);
if (_root.bmbc.hittest(_root.enemy)) {
tellTarget ("/bmbc") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombc = false;
if (1.1 < bombtimec) {
bombtimec = 1;
}
}
if ((bombtimec < 7) and (1.1 < bombtimec)) {
tellTarget ("/bmbc") {
play();
};
}
} else if (bombtimec < 1.6) {
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
}
if (bombd == true) {
if (0 < bombtimed) {
bombtimed = bombtimed - 0.5;
setProperty("/bmbd", _x , getProperty("/bmbd", _x) + (xbombmovd * 1.5));
setProperty("/bmbd", _y , getProperty("/bmbd", _y) + (xbombmovd * 1.5));
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _xscale , getProperty("/bmbd", _xscale) - 2.5);
setProperty("/bmbd", _yscale , getProperty("/bmbd", _yscale) - 2.5);
if (_root.bmbd.hittest(_root.enemy)) {
tellTarget ("/bmbd") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombd = false;
if (1.1 < bombtimed) {
bombtimed = 1;
}
}
if ((bombtimed < 7) and (1.1 < bombtimed)) {
tellTarget ("/bmbd") {
play();
};
}
} else if (bombtimed < 1.6) {
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
}
if (bombe == true) {
if (0 < bombtimee) {
bombtimee = bombtimee - 0.5;
setProperty("/bmbe", _x , getProperty("/bmbe", _x) + (xbombmove * 1.5));
setProperty("/bmbe", _y , getProperty("/bmbe", _y) + (xbombmove * 1.5));
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _xscale , getProperty("/bmbe", _xscale) - 2.5);
setProperty("/bmbe", _yscale , getProperty("/bmbe", _yscale) - 2.5);
if (_root.bmbe.hittest(_root.enemy)) {
tellTarget ("/bmbe") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombe = false;
if (1.1 < bombtimee) {
bombtimee = 1;
}
}
if ((bombtimee < 7) and (1.1 < bombtimee)) {
tellTarget ("/bmbe") {
play();
};
}
} else if (bombtimee < 1.6) {
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
}
if (bombf == true) {
if (0 < bombtimef) {
bombtimef = bombtimef - 0.5;
setProperty("/bmbf", _x , getProperty("/bmbf", _x) + (xbombmovf * 1.5));
setProperty("/bmbf", _y , getProperty("/bmbf", _y) + (xbombmovf * 1.5));
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _xscale , getProperty("/bmbf", _xscale) - 2.5);
setProperty("/bmbf", _yscale , getProperty("/bmbf", _yscale) - 2.5);
if (_root.bmbf.hittest(_root.enemy)) {
tellTarget ("/bmbf") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombf = false;
if (1.1 < bombtimef) {
bombtimef = 1;
}
}
if ((bombtimef < 7) and (1.1 < bombtimef)) {
tellTarget ("/bmbf") {
play();
};
}
} else if (bombtimef < 1.6) {
bombf = false;
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
}
if (bombg == true) {
if (0 < bombtimeg) {
bombtimeg = bombtimeg - 0.5;
setProperty("/bmbg", _x , getProperty("/bmbg", _x) + (xbombmovg * 1.5));
setProperty("/bmbg", _y , getProperty("/bmbg", _y) + (xbombmovg * 1.5));
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _xscale , getProperty("/bmbg", _xscale) - 2.5);
setProperty("/bmbg", _yscale , getProperty("/bmbg", _yscale) - 2.5);
if (_root.bmbg.hittest(_root.enemy)) {
tellTarget ("/bmbg") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
esheild = 0;
}
bombg = false;
if (1.1 < bombtimeg) {
bombtimeg = 1;
}
}
if ((bombtimeg < 7) and (1.1 < bombtimeg)) {
tellTarget ("/bmbg") {
play();
};
}
} else if (bombtimeg < 1.6) {
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
}
if (bombh == true) {
if (0 < bombtimeh) {
bombtimeh = bombtimeh - 0.5;
setProperty("/bmbh", _x , getProperty("/bmbh", _x) + (xbombmovh * 1.5));
setProperty("/bmbh", _y , getProperty("/bmbh", _y) + (xbombmovh * 1.5));
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _xscale , getProperty("/bmbh", _xscale) - 2.5);
setProperty("/bmbh", _yscale , getProperty("/bmbh", _yscale) - 2.5);
if (_root.bmbh.hittest(_root.enemy)) {
tellTarget ("/bmbh") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombh = false;
if (1.1 < bombtimeh) {
bombtimeh = 1;
}
}
if ((bombtimeh < 7) and (1.1 < bombtimeh)) {
tellTarget ("/bmbh") {
play();
};
}
} else if (bombtimeh < 1.6) {
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
}
if (_root.bmba.hittest(_root.enemy)) {
bomba = false;
duplicateMovieClip ("blowa", "blowup", 999);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
if (_root.bmbb.hittest(_root.enemy)) {
duplicateMovieClip ("blowb", "blowup", 999);
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
if (_root.bmbc.hittest(_root.enemy)) {
duplicateMovieClip ("blowc", "blowup", 999);
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
if (_root.bmbd.hittest(_root.enemy)) {
duplicateMovieClip ("blowd", "blowup", 999);
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
if (_root.bmbe.hittest(_root.enemy)) {
duplicateMovieClip ("blowe", "blowup", 999);
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
if (_root.bmbf.hittest(_root.enemy)) {
duplicateMovieClip ("blowf", "blowup", 999);
bombf = false;
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
if (_root.bmbg.hittest(_root.enemy)) {
duplicateMovieClip ("blowg", "blowup", 999);
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
if (_root.bmbh.hittest(_root.enemy)) {
duplicateMovieClip ("blowh", "blowup", 999);
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
blowuptime = blowuptime - 1;
if (blowuptime < 0) {
blowuptime = 3;
setProperty("/blowa", _x , getProperty("/bmba", _x));
setProperty("/blowb", _x , getProperty("/bmbb", _x));
setProperty("/blowc", _x , getProperty("/bmbc", _x));
setProperty("/blowd", _x , getProperty("/bmbd", _x));
setProperty("/blowe", _x , getProperty("/bmbe", _x));
setProperty("/blowf", _x , getProperty("/bmbf", _x));
setProperty("/blowg", _x , getProperty("/bmbh", _x));
setProperty("/blowh", _x , getProperty("/bmbh", _x));
setProperty("/blowa", _y , getProperty("/bmba", _y));
setProperty("/blowb", _y , getProperty("/bmbb", _y));
setProperty("/blowc", _y , getProperty("/bmbc", _y));
setProperty("/blowd", _y , getProperty("/bmbd", _y));
setProperty("/blowe", _y , getProperty("/bmbe", _y));
setProperty("/blowf", _y , getProperty("/bmbf", _y));
setProperty("/blowg", _y , getProperty("/bmbg", _y));
setProperty("/blowh", _y , getProperty("/bmbh", _y));
}
Ey = getProperty("/enemy", _y);
Ex = getProperty("/enemy", _x);
orgx = 425;
orgy = 150;
dist_x = Ex - orgx;
dist_y = Ey - orgy;
if (dist_x < 0) {
norm = -1 * dist_x;
} else {
norm = dist_x;
}
if (dist_y < 0) {
normalise = norm + (-1 * dist_y);
} else {
normalise = norm + dist_y;
}
if ((dist_x >= 0) and (dist_y >= 0)) {
tehangle = (90 * (dist_y / normalise)) - 90;
} else if ((0 >= dist_x) and (dist_y >= 0)) {
tehangle = -90 * (dist_x / normalise);
} else if ((0 >= dist_x) and (0 >= dist_y)) {
tehangle = (-90 * (dist_y / normalise)) + 90;
} else {
tehangle = (90 * (dist_x / normalise)) + 180;
}
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _alpha , alpha);
setProperty("/arrow", _alpha , alpha);
if (_root.stage.hittest(_root.enemy)) {
if (19 < alpha) {
alpha = alpha - 20;
}
} else if (alpha < 99) {
alpha = alpha + 20;
}
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _x , getProperty("/enemy", _x));
setProperty("/esheild", _y , getProperty("/enemy", _y));
if (250 < getProperty("/enemy", _y)) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) - 3);
} else if (getProperty("/enemy", _y) < 50) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) + 3);
} else {
setProperty("/enemy", _y , (getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9));
}
if (getProperty("/enemy", _x) < 220) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) + 3);
} else if (630 < getProperty("/enemy", _x)) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) - 3);
} else {
setProperty("/enemy", _x , (getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7));
}
nmex = getProperty("/enemy", _x);
if ((getProperty("/enemy", _xscale) + 10) < 50) {
if (getProperty("/enemy", _x) < getProperty("/Pshiptop", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/enemy", _y) < getProperty("/Pshiptop", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
} else if (50 < (getProperty("/enemy", _xscale) + 10)) {
if (getProperty("/Pshiptop", _x) < getProperty("/enemy", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/Pshiptop", _y) < getProperty("/enemy", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
}
eweapon = 1;
if (eweapon == 1) {
if (ebomba == false) {
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
ebomba = true;
ebombtimea = 10;
exbombmova = nmemovx;
eybombmova = nmemovy;
erbombmova = nmemovx * 4;
} else if (ebombb == false) {
setProperty("/ebmbb", _y , getProperty("/enemy", _y));
setProperty("ebmbb", _y , getProperty("/enemy", _y));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
ebombb = true;
ebombtimeb = 10;
exbombmovb = nmemovx;
eybombmovb = nmemovy;
erbombmovb = nmemovx * 4;
} else if (ebombc == false) {
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
ebombc = true;
ebombtimec = 10;
exbombmovc = nmemovx;
eybombmovc = nmemovy;
erbombmovc = nmemovx * 4;
} else if (ebombd == false) {
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
ebombd = true;
ebombtimed = 10;
exbombmovd = nmemovx;
eybombmovd = nmemovy;
erbombmovd = nmemovx * 4;
} else if (ebombe == false) {
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
ebombe = true;
ebombtimee = 10;
exbombmove = nmemovx;
eybombmove = nmemovy;
erbombmove = nmemovx * 4;
} else if (ebombf == false) {
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
ebombf = true;
ebombtimef = 10;
exbombmovf = nmemovx;
eybombmovf = nmemovy;
erbombmovf = nmemovx * 4;
} else if (ebombg == false) {
setProperty("/bmbg", _y , getProperty("/enemy", _y));
setProperty("/ebmbg", _y , getProperty("/enemy", _y));
setProperty("/bmbg", _x , getProperty("/enemy", _x));
setProperty("/ebmbg", _x , getProperty("/enemy", _x));
ebombg = true;
ebombtimeg = 10;
exbombmovg = nmemovx;
eybombmovg = nmemovy;
erbombmovg = nmemovx * 4;
} else if (ebombh == false) {
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
ebombh = true;
ebombtimeh = 10;
exbombmovh = nmemovx;
eybombmovh = nmemovy;
erbombmovh = nmemovx * 4;
}
}
if (ebomba == true) {
if (0 < ebombtimea) {
ebombtimea = ebombtimea - 0.5;
setProperty("/ebmba", _x , getProperty("/ebmba", _x) + (exbombmova * 1.5));
setProperty("/ebmba", _y , getProperty("/ebmba", _y) + (exbombmova * 1.5));
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _xscale , getProperty("/ebmba", _xscale) - 2.5);
setProperty("/ebmba", _yscale , getProperty("/ebmba", _yscale) - 2.5);
if (_root.ebmba.hittest(_root.Pshiptop)) {
tellTarget ("/ebmba") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
sheild = 0;
arm = arm - 3;
}
ebomba = false;
if (1.1 < ebombtimea) {
ebombtimea = 1;
}
}
if ((ebombtimea < 7) and (1.1 < ebombtimea)) {
tellTarget ("/ebmba") {
play();
};
}
} else if (ebombtimea < 1.6) {
ebomba = false;
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
}
if (ebombb == true) {
if (0 < ebombtimeb) {
ebombtimeb = ebombtimeb - 0.5;
setProperty("/ebmbb", _x , getProperty("/ebmbb", _x) + (exbombmovb * 1.5));
setProperty("/ebmbb", _y , getProperty("/ebmbb", _y) + (exbombmovb * 1.5));
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _xscale , getProperty("/ebmbb", _xscale) - 2.5);
setProperty("/ebmbb", _yscale , getProperty("/ebmbb", _yscale) - 2.5);
if (_root.ebmbb.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbb") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombb = false;
if (1.1 < ebombtimeb) {
ebombtimeb = 1;
}
}
if ((ebombtimeb < 7) and (1.1 < ebombtimeb)) {
tellTarget ("/ebmbb") {
play();
};
}
} else if (ebombtimeb < 1.6) {
ebombb = false;
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
}
if (ebombc == true) {
if (0 < ebombtimec) {
ebombtimec = ebombtimec - 0.5;
setProperty("/ebmbc", _x , getProperty("/ebmbc", _x) + (exbombmovc * 1.5));
setProperty("/ebmbc", _y , getProperty("/ebmbc", _y) + (exbombmovc * 1.5));
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _xscale , getProperty("/ebmbc", _xscale) - 2.5);
setProperty("/ebmbc", _yscale , getProperty("/ebmbc", _yscale) - 2.5);
if (_root.ebmbc.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbc") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombc = false;
if (1.1 < ebombtimec) {
ebombtimec = 1;
}
}
if ((ebombtimec < 7) and (1.1 < ebombtimec)) {
tellTarget ("/ebmbc") {
play();
};
}
} else if (ebombtimec < 1.6) {
ebombc = false;
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
}
if (ebombd == true) {
if (0 < ebombtimed) {
ebombtimed = ebombtimed - 0.5;
setProperty("/ebmbd", _x , getProperty("/ebmbd", _x) + (exbombmovd * 1.5));
setProperty("/ebmbd", _y , getProperty("/ebmbd", _y) + (exbombmovd * 1.5));
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _xscale , getProperty("/ebmbd", _xscale) - 2.5);
setProperty("/ebmbd", _yscale , getProperty("/ebmbd", _yscale) - 2.5);
if (_root.ebmbd.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbd") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombd = false;
if (1.1 < ebombtimed) {
ebombtimed = 1;
}
}
if ((ebombtimed < 7) and (1.1 < ebombtimed)) {
tellTarget ("/ebmbd") {
play();
};
}
} else if (ebombtimed < 1.6) {
ebombd = false;
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
}
if (ebombe == true) {
if (0 < ebombtimee) {
ebombtimee = ebombtimee - 0.5;
setProperty("/ebmbe", _x , getProperty("/ebmbe", _x) + (exbombmove * 1.5));
setProperty("/ebmbe", _y , getProperty("/ebmbe", _y) + (exbombmove * 1.5));
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _xscale , getProperty("/ebmbe", _xscale) - 2.5);
setProperty("/ebmbe", _yscale , getProperty("/ebmbe", _yscale) - 2.5);
if (_root.ebmbe.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbe") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombe = false;
if (1.1 < ebombtimee) {
ebombtimee = 1;
}
}
if ((ebombtimee < 7) and (1.1 < ebombtimee)) {
tellTarget ("/ebmbe") {
play();
};
}
} else if (ebombtimee < 1.6) {
ebombe = false;
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
}
if (ebombf == true) {
if (0 < ebombtimef) {
ebombtimef = ebombtimef - 0.5;
setProperty("/ebmbf", _x , getProperty("/ebmbf", _x) + (exbombmovf * 1.5));
setProperty("/ebmbf", _y , getProperty("/ebmbf", _y) + (exbombmovf * 1.5));
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _xscale , getProperty("/ebmbf", _xscale) - 2.5);
setProperty("/ebmbf", _yscale , getProperty("/ebmbf", _yscale) - 2.5);
if (_root.ebmbf.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbf") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombf = false;
if (1.1 < ebombtimef) {
ebombtimef = 1;
}
}
if ((ebombtimef < 7) and (1.1 < ebombtimef)) {
tellTarget ("/ebmbf") {
play();
};
}
} else if (ebombtimef < 1.6) {
ebombf = false;
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
}
if (ebombg == true) {
if (0 < ebombtimeg) {
ebombtimeg = ebombtimeg - 0.5;
setProperty("/ebmbg", _x , getProperty("/ebmbg", _x) + (exbombmovg * 1.5));
setProperty("/ebmbg", _y , getProperty("/ebmbg", _y) + (exbombmovg * 1.5));
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _xscale , getProperty("/ebmbg", _xscale) - 2.5);
setProperty("/ebmbg", _yscale , getProperty("/ebmbg", _yscale) - 2.5);
if (_root.ebmbg.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbg") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombg = false;
if (1.1 < ebombtimeg) {
ebombtimeg = 1;
}
}
if ((ebombtimeg < 7) and (1.1 < ebombtimeg)) {
tellTarget ("/ebmbg") {
play();
};
}
} else if (ebombtimeg < 1.6) {
ebombg = false;
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
}
if (ebombh == true) {
if (0 < ebombtimeh) {
ebombtimeh = ebombtimeh - 0.5;
setProperty("/ebmbh", _x , getProperty("/ebmbh", _x) + (exbombmovh * 1.5));
setProperty("/ebmbh", _y , getProperty("/ebmbh", _y) + (exbombmovh * 1.5));
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _xscale , getProperty("/ebmbh", _xscale) - 2.5);
setProperty("/ebmbh", _yscale , getProperty("/ebmbh", _yscale) - 2.5);
if (_root.ebmbh.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbh") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombh = false;
if (1.1 < ebombtimeh) {
ebombtimeh = 1;
}
}
if ((ebombtimeh < 7) and (1.1 < ebombtimeh)) {
tellTarget ("/ebmbh") {
play();
};
}
} else if (ebombtimeh < 1.6) {
ebombh = false;
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
}
if (_root.ebmba.hittest(_root.Pshiptop)) {
ebomba = false;
duplicateMovieClip ("eblowa", "eblowup", 999);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
if (_root.ebmbb.hittest(_root.Pshiptop)) {
ebombb = false;
duplicateMovieClip ("eblowb", "eblowup", 999);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
if (_root.ebmbc.hittest(_root.Pshiptop)) {
ebombc = false;
duplicateMovieClip ("eblowc", "eblowup", 999);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
if (_root.ebmbd.hittest(_root.Pshiptop)) {
ebombd = false;
duplicateMovieClip ("eblowd", "eblowup", 999);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
if (_root.ebmbe.hittest(_root.Pshiptop)) {
ebombe = false;
duplicateMovieClip ("eblowe", "eblowup", 999);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
if (_root.ebmbf.hittest(_root.Pshiptop)) {
ebombf = false;
duplicateMovieClip ("eblowf", "eblowup", 999);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
if (_root.ebmbg.hittest(_root.Pshiptop)) {
ebombg = false;
duplicateMovieClip ("eblowg", "eblowup", 999);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
if (_root.ebmbh.hittest(_root.Pshiptop)) {
ebombh = false;
duplicateMovieClip ("eblowh", "eblowup", 999);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
energy = Math.round(energy + intake);
imput = Math.round(intake);
if ((1000 + (ease * 100)) < energy) {
energy = 1000 + (ease * 100);
}
if (160 < energy) {
if (choice == false) {
choice = true;
}
}
if (choice == false) {
if (1 < speed) {
speed = speed - 1;
}
if (1 < weapon) {
weapon = weapon - 1;
}
}
if (choice == true) {
if (speed < choicespeed) {
speed = speed + 1;
}
if (weapon < choiceweapon) {
weapon = weapon + 1;
}
}
if (energy < 5) {
energy = 0;
choice = false;
}
if (0 < xmov) {
if (0 < ymov) {
intake = (7 - ((xmov + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - ((xmov - ymov) / 5)) - (speed / 1.5);
}
} else if (xmov < 1) {
if (0 < ymov) {
intake = (7 - (((-xmov) + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - (((-xmov) - ymov) / 5)) - (speed / 1.5);
}
}
shcount = shcount - 1;
if (shcount < 1) {
shcount = 20;
if (she == false) {
she = true;
}
} else if (she == true) {
she = false;
}
if (she == true) {
sheilds = sheilds + 3;
}
usage = Math.round((energy / (2000 + (ease * 100))) * 100) + "%";
if (nmeh < 1) {
if (byebye == false) {
setProperty("/bhe", _visible , 100);
setProperty("/bhe", _visible , 100);
byebye = true;
bght = 14;
}
}
if (byebye == true) {
if (0 < bght) {
bght = bght - 1;
frame = int(bght);
tellTarget (_root.bhe) {
gotoAndStop(_root.frame);
};
setProperty("/enemy", _alpha , getProperty("/enemy", _alpha) - 8);
setProperty("/esheild", _visible , 0);
setProperty("/esheild", _visible , 0);
setProperty("/bhe", _y , getProperty("/enemy", _y));
setProperty("/bhe", _x , getProperty("/enemy", _x));
nmeh = 0;
} else if (bght < 1) {
nmeh = 1000 + (ease * 100);
nmesheild = 1000 + (ease * 100);
outnumber = outnumber - 1;
setProperty("/enemy", _x , 0);
setProperty("/enemy", _x , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _alpha , 100);
setProperty("/enemy", _alpha , 100);
setProperty("/esheild", _visible , 100);
setProperty("/esheild", _visible , 100);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
byebye = false;
}
}
bone = Math.round(outnumber / 10) + 1;
if (arm < 1) {
gotoAndPlay (2918);
}
if (outnumber < 1) {
tech = (teck + Math.round(outnumber / 10)) + 1;
techn = Math.round(outnumber / 10) + 1;
rank = rank + bone;
gotoAndPlay (2189);
if (termission < 2) {
termission = termission + 1;
}
}
Frame 2245
gotoAndPlay (2244);
Frame 2246
nextFrame();
Frame 2248
prevFrame();
Frame 2249
gotoAndPlay(termission * 3 +2248);
stop();
Frame 2250
nextFrame();
Frame 2251
_quality = "high";
Frame 2252
prevFrame();
Frame 2253
nextFrame();
Frame 2254
_quality = "high";
Frame 2255
prevFrame();
Frame 2256
nextFrame();
Frame 2257
_quality = "high";
Frame 2258
prevFrame();
Frame 2259
nextFrame();
Frame 2260
_quality = "high";
Frame 2261
prevFrame();
Frame 2262
nextFrame();
Frame 2263
_quality = "high";
Frame 2264
prevFrame();
Frame 2265
nextFrame();
Frame 2266
_quality = "high";
tellTarget ("race") {
gotoAndStop (5);
};
Frame 2267
prevFrame();
Frame 2268
back = 5;
arm = 6000 - (ease * 1000);
sheild = 1000 - (ease * 100);
nmeh = 500 + (ease * 100);
nmesheild = 500 + (ease * 100);
energy = 100;
she = false;
byebye = false;
shcount = 20;
outnumber = 1;
deca = 7;
decb = 15;
sec = 60;
secf = 61;
micro = 5;
microf = 10;
min = 5;
setProperty("/botsheild", _alpha , 0);
setProperty("/botsheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/updatebox", _alpha , 0);
setProperty("/updatebox", _alpha , 0);
setProperty("/race", _alpha , 0);
setProperty("/race", _alpha , 0);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
update = "";
xposition = 425;
yposition = 150;
weapon = 1;
nmemovx = 0;
nmemovy = 0;
speed = 0;
alpha = 0;
tech = 6;
qual = 1;
bomba = false;
bombb = false;
bombc = false;
bombd = false;
bombe = false;
bombf = false;
bombg = false;
bombh = false;
ebomba = false;
ebombb = false;
ebombc = false;
ebombd = false;
ebombe = false;
ebombf = false;
ebombg = false;
ebombh = false;
blowuptime = 3;
tellTarget ("blowa") {
stop();
};
tellTarget ("blowb") {
stop();
};
tellTarget ("blowc") {
stop();
};
tellTarget ("blowd") {
stop();
};
tellTarget ("blowe") {
stop();
};
tellTarget ("blowf") {
stop();
};
tellTarget ("blowg") {
stop();
};
tellTarget ("blowh") {
stop();
};
tellTarget ("eblowa") {
stop();
};
tellTarget ("eblowb") {
stop();
};
tellTarget ("eblowc") {
stop();
};
tellTarget ("eblowd") {
stop();
};
tellTarget ("eblowe") {
stop();
};
tellTarget ("eblowf") {
stop();
};
tellTarget ("eblowg") {
stop();
};
tellTarget ("eblowh") {
stop();
};
song = bsong + 1;
Instance of Symbol 659 MovieClip "Pshipbot" in Frame 2268
onClipEvent (enterFrame) {
if (1021 < _x) {
_x = 1020;
}
if (_x < -299) {
_x = -298;
}
if (451 < _y) {
_y = 450;
}
if (_y < -151) {
_y = -150;
}
}
Instance of Symbol 630 MovieClip "bmba" in Frame 2268
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbb" in Frame 2268
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbc" in Frame 2268
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbd" in Frame 2268
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbe" in Frame 2268
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbf" in Frame 2268
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbg" in Frame 2268
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbh" in Frame 2268
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 1095 MovieClip "enemy" in Frame 2268
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 680;
}
if (_x < 149) {
_x = 150;
}
if (301 < _y) {
_y = 300;
}
if (_y < -1) {
_y = 0;
}
}
Instance of Symbol 659 MovieClip "Pshiptop" in Frame 2268
onClipEvent (enterFrame) {
if (1021 < _x) {
_x = 1020;
}
if (_x < -299) {
_x = -298;
}
if (451 < _y) {
_y = 450;
}
if (_y < -151) {
_y = -150;
}
}
Frame 2269
frame = int(song);
tellTarget (_root.music) {
gotoAndStop(_root.frame);
};
tellTarget (_root.backround) {
gotoAndStop (5);
};
if (5 < getProperty("/esheild", _alpha)) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) - 6);
}
if (50 < getProperty("/enemy", _xscale)) {
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _visible , 100);
setProperty("/botsheild", _visible , 100);
setProperty("/topsheild", _visible , 0);
setProperty("/topsheild", _visible , 0);
} else {
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _visible , 100);
setProperty("/topsheild", _visible , 100);
setProperty("/botsheild", _visible , 0);
setProperty("/botsheild", _visible , 0);
}
if (5 < playersheild) {
playersheild = playersheild - 4;
}
setProperty("/botsheild", _x , getProperty("/Pshiptop", _x));
setProperty("/botsheild", _y , getProperty("/Pshiptop", _y));
setProperty("/botsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _x , getProperty("/Pshiptop", _x));
setProperty("topsheild", _y , getProperty("/Pshiptop", _y));
startDrag ("rat", true, 200, 0, 650, 300);
ymovwvar = ymov + 20;
if (qual == 1) {
_quality = "low";
} else if (qual == 2) {
_quality = "medium";
} else if (qual == 3) {
_quality = "high";
}
qualcount = qualcount - 1;
if (0 < qualcount) {
setProperty("/settings", _alpha , 100);
setProperty("/settings", _alpha , 100);
} else if (qualcount < 1) {
if (0 < getProperty("/settings", _alpha)) {
setProperty("/settings", _alpha , getProperty("/settings", _alpha) - 20);
}
}
deca = deca - 1;
decb = decb - 1;
if (deca < 1) {
deca = random(15) + 5;
tellTarget ("decora") {
play();
};
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _y , random(150));
setProperty("/decora", _y , random(150));
setProperty("/decora", _x , random(500) + 175);
setProperty("/decora", _x , random(500) + 175);
ascale = random(29) + 50;
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _xscale , ascale);
setProperty("/decora", _xscale , ascale);
}
if (decb < 1) {
decb = random(18) + 5;
tellTarget ("decorb") {
play();
};
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _x , random(500) + 175);
setProperty("/decorb", _x , random(500) + 175);
bscale = random(29) + 50;
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _xscale , bscale);
setProperty("/decorb", _xscale , bscale);
}
micro = micro - 5;
if (micro < 6) {
micro = 60;
sec = sec - 1;
}
if (sec < 1) {
sec = 60;
min = min - 1;
}
if ((micro < 19) and (9 < micro)) {
if (sec < 10) {
time = (((min + ":0") + sec) + ": ") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ": ") + micro;
}
} else if (19 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
} else if (micro < 10) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":0") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":0") + micro;
}
} else if (10 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
}
microf = microf - 5;
if (microf < 6) {
microf = 60;
secf = secf - 1;
}
if (secf < 1) {
secf = 60;
minf = min - 1;
}
if ((microf < 19) and (9 < microf)) {
if (secf < 10) {
timef = (secf + ": ") + microf;
} else if (9 < secf) {
timef = (secf + ": ") + microf;
}
} else if (19 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
} else if (microf < 10) {
if (secf < 10) {
timef = (secf + ":0") + microf;
} else if (9 < secf) {
timef = (sefc + ":0") + microf;
}
} else if (10 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
}
frame = int(qual);
tellTarget (_root.settings) {
gotoAndStop(_root.frame);
};
nmeY = nmemovy + 21;
frame = int(nmeY);
tellTarget (_root.enemy) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshiptop) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshipbot) {
gotoAndStop(_root.frame);
};
ratx = getProperty("/rat", _x);
raty = getProperty("/rat", _y);
xpos = getProperty("/Pshiptop", _x);
ypos = getProperty("/Pshiptop", _y);
if (cntrlz == 1) {
if (ypos < (raty - 1)) {
if (ymov < 20) {
if (0 < ymov) {
ymov = (ymov + 0.5) + (speed / 10);
} else {
ymov = (ymov + 1) + (speed / 10);
}
}
} else if ((raty + 1) < ypos) {
if (-20 < ymov) {
if (ymov < 0) {
ymov = (ymov - 0.5) - (speed / 10);
} else {
ymov = (ymov - 1) - (speed / 10);
}
}
} else if ((ymov < 2) and (0 < ymov)) {
ymov = 0;
} else if ((-3 < ymov) and (ymov < 0)) {
ymov = 0;
}
if (xpos < (ratx - 3)) {
if (xmov < 20) {
if (0 < xmov) {
xmov = (xmov + 0.5) + (speed / 10);
} else {
xmov = (xmov + 1) + (speed / 10);
}
}
} else if ((raty + 3) < xpos) {
if ((-20 - (speed / 10)) < xmov) {
if (xmov < 0) {
xmov = (xmov - 0.5) - (speed / 10);
} else {
xmov = (xmov - 1) - (speed / 10);
}
}
} else if ((xmov < 3) and (0 < xmov)) {
xmov = 0;
} else if ((-3 < xmov) and (xmov < 0)) {
xmov = 0;
}
if (Key.isDown(Key.UP)) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
if (Key.isDown(Key.LEFT)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
if (Key.isDown(Key.RIGHT)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
if (Key.isDown(Key.DOWN)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
} else if (cntrlz == 2) {
if (Key.isDown(Key.UP)) {
if (ymov < 20) {
ymov = (ymov + 1) + (speed / 10);
}
}
}
if (Key.isDown(Key.DOWN)) {
if (-20 < ymov) {
ymov = ymov - (speed / 10);
}
}
yposition = yposition + ymov;
if (Key.isDown(Key.RIGHT)) {
if (xmov < 20) {
xmov = (xmov + 1) + (speed / 10);
}
} else if (Key.isDown(Key.LEFT)) {
if (-20 < xmov) {
xmov = (xmov - 1) - (speed / 10);
}
}
if (1 < energy) {
xposition = xposition + (xmov * 1.5);
yposition = yposition + (ymov * 2);
} else {
xposition = xposition + ((xmov * 1.5) / 2);
yposition = yposition + ymov;
}
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
if (bomba == true) {
if (0 < bombtimea) {
bombtimea = bombtimea - 0.5;
setProperty("/bmba", _x , getProperty("/bmba", _x) + (xbombmova * 1.5));
setProperty("/bmba", _y , getProperty("/bmba", _y) + (xbombmova * 1.5));
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _xscale , getProperty("/bmba", _xscale) - 2.5);
setProperty("/bmba", _yscale , getProperty("/bmba", _yscale) - 2.5);
if (_root.bmba.hittest(_root.enemy)) {
tellTarget ("/bmba") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bomba = false;
if (1.1 < bombtimea) {
bombtimea = 1;
}
}
if ((bombtimea < 7) and (1.1 < bombtimea)) {
tellTarget ("/bmba") {
play();
};
}
} else if (bombtimea < 1.6) {
bomba = false;
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
}
if (bombb == true) {
if (0 < bombtimeb) {
bombtimeb = bombtimeb - 0.5;
setProperty("/bmbb", _x , getProperty("/bmbb", _x) + (xbombmovb * 1.5));
setProperty("/bmbb", _y , getProperty("/bmbb", _y) + (xbombmovb * 1.5));
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _xscale , getProperty("/bmbb", _xscale) - 2.5);
setProperty("/bmbb", _yscale , getProperty("/bmbb", _yscale) - 2.5);
if (_root.bmbb.hittest(_root.enemy)) {
tellTarget ("/bmbb") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombb = false;
if (1.1 < bombtimeb) {
bombtimeb = 1;
}
}
if ((bombtimeb < 7) and (1.1 < bombtimeb)) {
tellTarget ("/bmbb") {
play();
};
}
} else if (bombtimeb < 1.6) {
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
}
if (bombc == true) {
if (0 < bombtimec) {
bombtimec = bombtimec - 0.5;
setProperty("/bmbc", _x , getProperty("/bmbc", _x) + (xbombmovc * 1.5));
setProperty("/bmbc", _y , getProperty("/bmbc", _y) + (xbombmovc * 1.5));
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _xscale , getProperty("/bmbc", _xscale) - 2.5);
setProperty("/bmbc", _yscale , getProperty("/bmbc", _yscale) - 2.5);
if (_root.bmbc.hittest(_root.enemy)) {
tellTarget ("/bmbc") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombc = false;
if (1.1 < bombtimec) {
bombtimec = 1;
}
}
if ((bombtimec < 7) and (1.1 < bombtimec)) {
tellTarget ("/bmbc") {
play();
};
}
} else if (bombtimec < 1.6) {
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
}
if (bombd == true) {
if (0 < bombtimed) {
bombtimed = bombtimed - 0.5;
setProperty("/bmbd", _x , getProperty("/bmbd", _x) + (xbombmovd * 1.5));
setProperty("/bmbd", _y , getProperty("/bmbd", _y) + (xbombmovd * 1.5));
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _xscale , getProperty("/bmbd", _xscale) - 2.5);
setProperty("/bmbd", _yscale , getProperty("/bmbd", _yscale) - 2.5);
if (_root.bmbd.hittest(_root.enemy)) {
tellTarget ("/bmbd") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombd = false;
if (1.1 < bombtimed) {
bombtimed = 1;
}
}
if ((bombtimed < 7) and (1.1 < bombtimed)) {
tellTarget ("/bmbd") {
play();
};
}
} else if (bombtimed < 1.6) {
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
}
if (bombe == true) {
if (0 < bombtimee) {
bombtimee = bombtimee - 0.5;
setProperty("/bmbe", _x , getProperty("/bmbe", _x) + (xbombmove * 1.5));
setProperty("/bmbe", _y , getProperty("/bmbe", _y) + (xbombmove * 1.5));
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _xscale , getProperty("/bmbe", _xscale) - 2.5);
setProperty("/bmbe", _yscale , getProperty("/bmbe", _yscale) - 2.5);
if (_root.bmbe.hittest(_root.enemy)) {
tellTarget ("/bmbe") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombe = false;
if (1.1 < bombtimee) {
bombtimee = 1;
}
}
if ((bombtimee < 7) and (1.1 < bombtimee)) {
tellTarget ("/bmbe") {
play();
};
}
} else if (bombtimee < 1.6) {
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
}
if (bombf == true) {
if (0 < bombtimef) {
bombtimef = bombtimef - 0.5;
setProperty("/bmbf", _x , getProperty("/bmbf", _x) + (xbombmovf * 1.5));
setProperty("/bmbf", _y , getProperty("/bmbf", _y) + (xbombmovf * 1.5));
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _xscale , getProperty("/bmbf", _xscale) - 2.5);
setProperty("/bmbf", _yscale , getProperty("/bmbf", _yscale) - 2.5);
if (_root.bmbf.hittest(_root.enemy)) {
tellTarget ("/bmbf") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombf = false;
if (1.1 < bombtimef) {
bombtimef = 1;
}
}
if ((bombtimef < 7) and (1.1 < bombtimef)) {
tellTarget ("/bmbf") {
play();
};
}
} else if (bombtimef < 1.6) {
bombf = false;
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
}
if (bombg == true) {
if (0 < bombtimeg) {
bombtimeg = bombtimeg - 0.5;
setProperty("/bmbg", _x , getProperty("/bmbg", _x) + (xbombmovg * 1.5));
setProperty("/bmbg", _y , getProperty("/bmbg", _y) + (xbombmovg * 1.5));
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _xscale , getProperty("/bmbg", _xscale) - 2.5);
setProperty("/bmbg", _yscale , getProperty("/bmbg", _yscale) - 2.5);
if (_root.bmbg.hittest(_root.enemy)) {
tellTarget ("/bmbg") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
esheild = 0;
}
bombg = false;
if (1.1 < bombtimeg) {
bombtimeg = 1;
}
}
if ((bombtimeg < 7) and (1.1 < bombtimeg)) {
tellTarget ("/bmbg") {
play();
};
}
} else if (bombtimeg < 1.6) {
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
}
if (bombh == true) {
if (0 < bombtimeh) {
bombtimeh = bombtimeh - 0.5;
setProperty("/bmbh", _x , getProperty("/bmbh", _x) + (xbombmovh * 1.5));
setProperty("/bmbh", _y , getProperty("/bmbh", _y) + (xbombmovh * 1.5));
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _xscale , getProperty("/bmbh", _xscale) - 2.5);
setProperty("/bmbh", _yscale , getProperty("/bmbh", _yscale) - 2.5);
if (_root.bmbh.hittest(_root.enemy)) {
tellTarget ("/bmbh") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombh = false;
if (1.1 < bombtimeh) {
bombtimeh = 1;
}
}
if ((bombtimeh < 7) and (1.1 < bombtimeh)) {
tellTarget ("/bmbh") {
play();
};
}
} else if (bombtimeh < 1.6) {
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
}
if (_root.bmba.hittest(_root.enemy)) {
bomba = false;
duplicateMovieClip ("blowa", "blowup", 999);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
if (_root.bmbb.hittest(_root.enemy)) {
duplicateMovieClip ("blowb", "blowup", 999);
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
if (_root.bmbc.hittest(_root.enemy)) {
duplicateMovieClip ("blowc", "blowup", 999);
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
if (_root.bmbd.hittest(_root.enemy)) {
duplicateMovieClip ("blowd", "blowup", 999);
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
if (_root.bmbe.hittest(_root.enemy)) {
duplicateMovieClip ("blowe", "blowup", 999);
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
if (_root.bmbf.hittest(_root.enemy)) {
duplicateMovieClip ("blowf", "blowup", 999);
bombf = false;
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
if (_root.bmbg.hittest(_root.enemy)) {
duplicateMovieClip ("blowg", "blowup", 999);
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
if (_root.bmbh.hittest(_root.enemy)) {
duplicateMovieClip ("blowh", "blowup", 999);
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
blowuptime = blowuptime - 1;
if (blowuptime < 0) {
blowuptime = 3;
setProperty("/blowa", _x , getProperty("/bmba", _x));
setProperty("/blowb", _x , getProperty("/bmbb", _x));
setProperty("/blowc", _x , getProperty("/bmbc", _x));
setProperty("/blowd", _x , getProperty("/bmbd", _x));
setProperty("/blowe", _x , getProperty("/bmbe", _x));
setProperty("/blowf", _x , getProperty("/bmbf", _x));
setProperty("/blowg", _x , getProperty("/bmbh", _x));
setProperty("/blowh", _x , getProperty("/bmbh", _x));
setProperty("/blowa", _y , getProperty("/bmba", _y));
setProperty("/blowb", _y , getProperty("/bmbb", _y));
setProperty("/blowc", _y , getProperty("/bmbc", _y));
setProperty("/blowd", _y , getProperty("/bmbd", _y));
setProperty("/blowe", _y , getProperty("/bmbe", _y));
setProperty("/blowf", _y , getProperty("/bmbf", _y));
setProperty("/blowg", _y , getProperty("/bmbg", _y));
setProperty("/blowh", _y , getProperty("/bmbh", _y));
}
Ey = getProperty("/enemy", _y);
Ex = getProperty("/enemy", _x);
orgx = 425;
orgy = 150;
dist_x = Ex - orgx;
dist_y = Ey - orgy;
if (dist_x < 0) {
norm = -1 * dist_x;
} else {
norm = dist_x;
}
if (dist_y < 0) {
normalise = norm + (-1 * dist_y);
} else {
normalise = norm + dist_y;
}
if ((dist_x >= 0) and (dist_y >= 0)) {
tehangle = (90 * (dist_y / normalise)) - 90;
} else if ((0 >= dist_x) and (dist_y >= 0)) {
tehangle = -90 * (dist_x / normalise);
} else if ((0 >= dist_x) and (0 >= dist_y)) {
tehangle = (-90 * (dist_y / normalise)) + 90;
} else {
tehangle = (90 * (dist_x / normalise)) + 180;
}
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _alpha , alpha);
setProperty("/arrow", _alpha , alpha);
if (_root.stage.hittest(_root.enemy)) {
if (19 < alpha) {
alpha = alpha - 20;
}
} else if (alpha < 99) {
alpha = alpha + 20;
}
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _x , getProperty("/enemy", _x));
setProperty("/esheild", _y , getProperty("/enemy", _y));
if (250 < getProperty("/enemy", _y)) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) - 3);
} else if (getProperty("/enemy", _y) < 50) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) + 3);
} else {
setProperty("/enemy", _y , (getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9));
}
if (getProperty("/enemy", _x) < 220) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) + 3);
} else if (630 < getProperty("/enemy", _x)) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) - 3);
} else {
setProperty("/enemy", _x , (getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7));
}
nmex = getProperty("/enemy", _x);
if ((getProperty("/enemy", _xscale) + 10) < 50) {
if (getProperty("/enemy", _x) < getProperty("/Pshiptop", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/enemy", _y) < getProperty("/Pshiptop", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
} else if (50 < (getProperty("/enemy", _xscale) + 10)) {
if (getProperty("/Pshiptop", _x) < getProperty("/enemy", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/Pshiptop", _y) < getProperty("/enemy", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
}
eweapon = 1;
if (eweapon == 1) {
if (ebomba == false) {
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
ebomba = true;
ebombtimea = 10;
exbombmova = nmemovx;
eybombmova = nmemovy;
erbombmova = nmemovx * 4;
} else if (ebombb == false) {
setProperty("/ebmbb", _y , getProperty("/enemy", _y));
setProperty("ebmbb", _y , getProperty("/enemy", _y));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
ebombb = true;
ebombtimeb = 10;
exbombmovb = nmemovx;
eybombmovb = nmemovy;
erbombmovb = nmemovx * 4;
} else if (ebombc == false) {
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
ebombc = true;
ebombtimec = 10;
exbombmovc = nmemovx;
eybombmovc = nmemovy;
erbombmovc = nmemovx * 4;
} else if (ebombd == false) {
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
ebombd = true;
ebombtimed = 10;
exbombmovd = nmemovx;
eybombmovd = nmemovy;
erbombmovd = nmemovx * 4;
} else if (ebombe == false) {
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
ebombe = true;
ebombtimee = 10;
exbombmove = nmemovx;
eybombmove = nmemovy;
erbombmove = nmemovx * 4;
} else if (ebombf == false) {
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
ebombf = true;
ebombtimef = 10;
exbombmovf = nmemovx;
eybombmovf = nmemovy;
erbombmovf = nmemovx * 4;
} else if (ebombg == false) {
setProperty("/bmbg", _y , getProperty("/enemy", _y));
setProperty("/ebmbg", _y , getProperty("/enemy", _y));
setProperty("/bmbg", _x , getProperty("/enemy", _x));
setProperty("/ebmbg", _x , getProperty("/enemy", _x));
ebombg = true;
ebombtimeg = 10;
exbombmovg = nmemovx;
eybombmovg = nmemovy;
erbombmovg = nmemovx * 4;
} else if (ebombh == false) {
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
ebombh = true;
ebombtimeh = 10;
exbombmovh = nmemovx;
eybombmovh = nmemovy;
erbombmovh = nmemovx * 4;
}
}
if (ebomba == true) {
if (0 < ebombtimea) {
ebombtimea = ebombtimea - 0.5;
setProperty("/ebmba", _x , getProperty("/ebmba", _x) + (exbombmova * 1.5));
setProperty("/ebmba", _y , getProperty("/ebmba", _y) + (exbombmova * 1.5));
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _xscale , getProperty("/ebmba", _xscale) - 2.5);
setProperty("/ebmba", _yscale , getProperty("/ebmba", _yscale) - 2.5);
if (_root.ebmba.hittest(_root.Pshiptop)) {
tellTarget ("/ebmba") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
sheild = 0;
arm = arm - 3;
}
ebomba = false;
if (1.1 < ebombtimea) {
ebombtimea = 1;
}
}
if ((ebombtimea < 7) and (1.1 < ebombtimea)) {
tellTarget ("/ebmba") {
play();
};
}
} else if (ebombtimea < 1.6) {
ebomba = false;
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
}
if (ebombb == true) {
if (0 < ebombtimeb) {
ebombtimeb = ebombtimeb - 0.5;
setProperty("/ebmbb", _x , getProperty("/ebmbb", _x) + (exbombmovb * 1.5));
setProperty("/ebmbb", _y , getProperty("/ebmbb", _y) + (exbombmovb * 1.5));
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _xscale , getProperty("/ebmbb", _xscale) - 2.5);
setProperty("/ebmbb", _yscale , getProperty("/ebmbb", _yscale) - 2.5);
if (_root.ebmbb.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbb") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombb = false;
if (1.1 < ebombtimeb) {
ebombtimeb = 1;
}
}
if ((ebombtimeb < 7) and (1.1 < ebombtimeb)) {
tellTarget ("/ebmbb") {
play();
};
}
} else if (ebombtimeb < 1.6) {
ebombb = false;
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
}
if (ebombc == true) {
if (0 < ebombtimec) {
ebombtimec = ebombtimec - 0.5;
setProperty("/ebmbc", _x , getProperty("/ebmbc", _x) + (exbombmovc * 1.5));
setProperty("/ebmbc", _y , getProperty("/ebmbc", _y) + (exbombmovc * 1.5));
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _xscale , getProperty("/ebmbc", _xscale) - 2.5);
setProperty("/ebmbc", _yscale , getProperty("/ebmbc", _yscale) - 2.5);
if (_root.ebmbc.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbc") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombc = false;
if (1.1 < ebombtimec) {
ebombtimec = 1;
}
}
if ((ebombtimec < 7) and (1.1 < ebombtimec)) {
tellTarget ("/ebmbc") {
play();
};
}
} else if (ebombtimec < 1.6) {
ebombc = false;
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
}
if (ebombd == true) {
if (0 < ebombtimed) {
ebombtimed = ebombtimed - 0.5;
setProperty("/ebmbd", _x , getProperty("/ebmbd", _x) + (exbombmovd * 1.5));
setProperty("/ebmbd", _y , getProperty("/ebmbd", _y) + (exbombmovd * 1.5));
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _xscale , getProperty("/ebmbd", _xscale) - 2.5);
setProperty("/ebmbd", _yscale , getProperty("/ebmbd", _yscale) - 2.5);
if (_root.ebmbd.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbd") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombd = false;
if (1.1 < ebombtimed) {
ebombtimed = 1;
}
}
if ((ebombtimed < 7) and (1.1 < ebombtimed)) {
tellTarget ("/ebmbd") {
play();
};
}
} else if (ebombtimed < 1.6) {
ebombd = false;
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
}
if (ebombe == true) {
if (0 < ebombtimee) {
ebombtimee = ebombtimee - 0.5;
setProperty("/ebmbe", _x , getProperty("/ebmbe", _x) + (exbombmove * 1.5));
setProperty("/ebmbe", _y , getProperty("/ebmbe", _y) + (exbombmove * 1.5));
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _xscale , getProperty("/ebmbe", _xscale) - 2.5);
setProperty("/ebmbe", _yscale , getProperty("/ebmbe", _yscale) - 2.5);
if (_root.ebmbe.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbe") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombe = false;
if (1.1 < ebombtimee) {
ebombtimee = 1;
}
}
if ((ebombtimee < 7) and (1.1 < ebombtimee)) {
tellTarget ("/ebmbe") {
play();
};
}
} else if (ebombtimee < 1.6) {
ebombe = false;
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
}
if (ebombf == true) {
if (0 < ebombtimef) {
ebombtimef = ebombtimef - 0.5;
setProperty("/ebmbf", _x , getProperty("/ebmbf", _x) + (exbombmovf * 1.5));
setProperty("/ebmbf", _y , getProperty("/ebmbf", _y) + (exbombmovf * 1.5));
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _xscale , getProperty("/ebmbf", _xscale) - 2.5);
setProperty("/ebmbf", _yscale , getProperty("/ebmbf", _yscale) - 2.5);
if (_root.ebmbf.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbf") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombf = false;
if (1.1 < ebombtimef) {
ebombtimef = 1;
}
}
if ((ebombtimef < 7) and (1.1 < ebombtimef)) {
tellTarget ("/ebmbf") {
play();
};
}
} else if (ebombtimef < 1.6) {
ebombf = false;
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
}
if (ebombg == true) {
if (0 < ebombtimeg) {
ebombtimeg = ebombtimeg - 0.5;
setProperty("/ebmbg", _x , getProperty("/ebmbg", _x) + (exbombmovg * 1.5));
setProperty("/ebmbg", _y , getProperty("/ebmbg", _y) + (exbombmovg * 1.5));
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _xscale , getProperty("/ebmbg", _xscale) - 2.5);
setProperty("/ebmbg", _yscale , getProperty("/ebmbg", _yscale) - 2.5);
if (_root.ebmbg.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbg") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombg = false;
if (1.1 < ebombtimeg) {
ebombtimeg = 1;
}
}
if ((ebombtimeg < 7) and (1.1 < ebombtimeg)) {
tellTarget ("/ebmbg") {
play();
};
}
} else if (ebombtimeg < 1.6) {
ebombg = false;
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
}
if (ebombh == true) {
if (0 < ebombtimeh) {
ebombtimeh = ebombtimeh - 0.5;
setProperty("/ebmbh", _x , getProperty("/ebmbh", _x) + (exbombmovh * 1.5));
setProperty("/ebmbh", _y , getProperty("/ebmbh", _y) + (exbombmovh * 1.5));
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _xscale , getProperty("/ebmbh", _xscale) - 2.5);
setProperty("/ebmbh", _yscale , getProperty("/ebmbh", _yscale) - 2.5);
if (_root.ebmbh.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbh") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombh = false;
if (1.1 < ebombtimeh) {
ebombtimeh = 1;
}
}
if ((ebombtimeh < 7) and (1.1 < ebombtimeh)) {
tellTarget ("/ebmbh") {
play();
};
}
} else if (ebombtimeh < 1.6) {
ebombh = false;
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
}
if (_root.ebmba.hittest(_root.Pshiptop)) {
ebomba = false;
duplicateMovieClip ("eblowa", "eblowup", 999);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
if (_root.ebmbb.hittest(_root.Pshiptop)) {
ebombb = false;
duplicateMovieClip ("eblowb", "eblowup", 999);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
if (_root.ebmbc.hittest(_root.Pshiptop)) {
ebombc = false;
duplicateMovieClip ("eblowc", "eblowup", 999);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
if (_root.ebmbd.hittest(_root.Pshiptop)) {
ebombd = false;
duplicateMovieClip ("eblowd", "eblowup", 999);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
if (_root.ebmbe.hittest(_root.Pshiptop)) {
ebombe = false;
duplicateMovieClip ("eblowe", "eblowup", 999);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
if (_root.ebmbf.hittest(_root.Pshiptop)) {
ebombf = false;
duplicateMovieClip ("eblowf", "eblowup", 999);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
if (_root.ebmbg.hittest(_root.Pshiptop)) {
ebombg = false;
duplicateMovieClip ("eblowg", "eblowup", 999);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
if (_root.ebmbh.hittest(_root.Pshiptop)) {
ebombh = false;
duplicateMovieClip ("eblowh", "eblowup", 999);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
energy = Math.round(energy + intake);
imput = Math.round(intake);
if ((1000 + (ease * 100)) < energy) {
energy = 1000 + (ease * 100);
}
if (160 < energy) {
if (choice == false) {
choice = true;
}
}
if (choice == false) {
if (1 < speed) {
speed = speed - 1;
}
if (1 < weapon) {
weapon = weapon - 1;
}
}
if (choice == true) {
if (speed < choicespeed) {
speed = speed + 1;
}
if (weapon < choiceweapon) {
weapon = weapon + 1;
}
}
if (energy < 5) {
energy = 0;
choice = false;
}
if (0 < xmov) {
if (0 < ymov) {
intake = (7 - ((xmov + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - ((xmov - ymov) / 5)) - (speed / 1.5);
}
} else if (xmov < 1) {
if (0 < ymov) {
intake = (7 - (((-xmov) + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - (((-xmov) - ymov) / 5)) - (speed / 1.5);
}
}
shcount = shcount - 1;
if (shcount < 1) {
shcount = 20;
if (she == false) {
she = true;
}
} else if (she == true) {
she = false;
}
if (she == true) {
sheilds = sheilds + 3;
}
usage = Math.round((energy / (2000 + (ease * 100))) * 100) + "%";
if (nmeh < 1) {
if (byebye == false) {
setProperty("/bhe", _visible , 100);
setProperty("/bhe", _visible , 100);
byebye = true;
bght = 14;
}
}
if (byebye == true) {
if (0 < bght) {
bght = bght - 1;
frame = int(bght);
tellTarget (_root.bhe) {
gotoAndStop(_root.frame);
};
setProperty("/enemy", _alpha , getProperty("/enemy", _alpha) - 8);
setProperty("/esheild", _visible , 0);
setProperty("/esheild", _visible , 0);
setProperty("/bhe", _y , getProperty("/enemy", _y));
setProperty("/bhe", _x , getProperty("/enemy", _x));
nmeh = 0;
} else if (bght < 1) {
nmeh = 1000 + (ease * 100);
nmesheild = 1000 + (ease * 100);
outnumber = outnumber - 1;
setProperty("/enemy", _x , 0);
setProperty("/enemy", _x , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _alpha , 100);
setProperty("/enemy", _alpha , 100);
setProperty("/esheild", _visible , 100);
setProperty("/esheild", _visible , 100);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
byebye = false;
}
}
bone = Math.round(outnumber / 10) + 1;
if (arm < 1) {
gotoAndPlay (2918);
}
if (outnumber < 1) {
tech = (teck + Math.round(outnumber / 10)) + 1;
techn = Math.round(outnumber / 10) + 1;
rank = rank + bone;
gotoAndPlay (2274);
if (termission < 2) {
termission = termission + 1;
}
}
Frame 2270
gotoAndPlay (2269);
Frame 2271
nextFrame();
Frame 2273
prevFrame();
Frame 2274
frame = int(outnumber);
tellTarget (_root.enemys) {
gotoAndStop(_root.frame);
};
frame = int(techn);
tellTarget (_root.technoligy) {
gotoAndStop(_root.frame);
};
frame = int(bone);
tellTarget (_root.bonus) {
gotoAndStop(_root.frame);
};
frame = int(rank);
tellTarget (_root.rankk) {
gotoAndStop(_root.frame);
};
Frame 2275
gotoAndPlay (2274);
Instance of Symbol 630 MovieClip "bmba" in Frame 2277
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbb" in Frame 2277
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbc" in Frame 2277
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbd" in Frame 2277
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbe" in Frame 2277
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbf" in Frame 2277
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbg" in Frame 2277
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbh" in Frame 2277
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Frame 2286
frame = int(back);
tellTarget (_root.backround) {
gotoAndStop(_root.frame);
};
Frame 2314
gotoAndPlay (2268);
Frame 2315
nextFrame();
Frame 2316
_quality = "high";
Frame 2317
prevFrame();
Frame 2318
back = 5;
arm = 6000 - (ease * 1000);
sheild = 1000 - (ease * 100);
nmeh = 600 + (ease * 100);
nmesheild = 600 + (ease * 100);
energy = 100;
she = false;
byebye = false;
shcount = 20;
outnumber = 3;
deca = 7;
decb = 15;
sec = 60;
secf = 61;
micro = 5;
microf = 0;
min = 2;
setProperty("/botsheild", _alpha , 0);
setProperty("/botsheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/updatebox", _alpha , 0);
setProperty("/updatebox", _alpha , 0);
setProperty("/race", _alpha , 0);
setProperty("/race", _alpha , 0);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
update = "";
xposition = 425;
yposition = 150;
weapon = 1;
nmemovx = 0;
nmemovy = 0;
speed = 0;
alpha = 0;
tech = 6;
qual = 1;
bomba = false;
bombb = false;
bombc = false;
bombd = false;
bombe = false;
bombf = false;
bombg = false;
bombh = false;
ebomba = false;
ebombb = false;
ebombc = false;
ebombd = false;
ebombe = false;
ebombf = false;
ebombg = false;
ebombh = false;
blowuptime = 3;
tellTarget ("blowa") {
stop();
};
tellTarget ("blowb") {
stop();
};
tellTarget ("blowc") {
stop();
};
tellTarget ("blowd") {
stop();
};
tellTarget ("blowe") {
stop();
};
tellTarget ("blowf") {
stop();
};
tellTarget ("blowg") {
stop();
};
tellTarget ("blowh") {
stop();
};
tellTarget ("eblowa") {
stop();
};
tellTarget ("eblowb") {
stop();
};
tellTarget ("eblowc") {
stop();
};
tellTarget ("eblowd") {
stop();
};
tellTarget ("eblowe") {
stop();
};
tellTarget ("eblowf") {
stop();
};
tellTarget ("eblowg") {
stop();
};
tellTarget ("eblowh") {
stop();
};
song = bsong + 1;
Instance of Symbol 659 MovieClip "Pshipbot" in Frame 2318
onClipEvent (enterFrame) {
if (1021 < _x) {
_x = 1020;
}
if (_x < -299) {
_x = -298;
}
if (451 < _y) {
_y = 450;
}
if (_y < -151) {
_y = -150;
}
}
Instance of Symbol 630 MovieClip "bmba" in Frame 2318
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbb" in Frame 2318
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbc" in Frame 2318
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbd" in Frame 2318
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbe" in Frame 2318
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbf" in Frame 2318
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbg" in Frame 2318
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbh" in Frame 2318
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 1095 MovieClip "enemy" in Frame 2318
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 680;
}
if (_x < 149) {
_x = 150;
}
if (301 < _y) {
_y = 300;
}
if (_y < -1) {
_y = 0;
}
}
Instance of Symbol 659 MovieClip "Pshiptop" in Frame 2318
onClipEvent (enterFrame) {
if (1021 < _x) {
_x = 1020;
}
if (_x < -299) {
_x = -298;
}
if (451 < _y) {
_y = 450;
}
if (_y < -151) {
_y = -150;
}
}
Frame 2319
frame = int(song);
tellTarget (_root.music) {
gotoAndStop(_root.frame);
};
frame = 3;
tellTarget (_root.backround) {
gotoAndStop(_root.frame);
};
if (5 < getProperty("/esheild", _alpha)) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) - 6);
}
if (50 < getProperty("/enemy", _xscale)) {
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _visible , 100);
setProperty("/botsheild", _visible , 100);
setProperty("/topsheild", _visible , 0);
setProperty("/topsheild", _visible , 0);
} else {
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _visible , 100);
setProperty("/topsheild", _visible , 100);
setProperty("/botsheild", _visible , 0);
setProperty("/botsheild", _visible , 0);
}
if (5 < playersheild) {
playersheild = playersheild - 4;
}
setProperty("/botsheild", _x , getProperty("/Pshiptop", _x));
setProperty("/botsheild", _y , getProperty("/Pshiptop", _y));
setProperty("/botsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _x , getProperty("/Pshiptop", _x));
setProperty("topsheild", _y , getProperty("/Pshiptop", _y));
startDrag ("rat", true, 200, 0, 650, 300);
ymovwvar = ymov + 20;
if (qual == 1) {
_quality = "low";
} else if (qual == 2) {
_quality = "medium";
} else if (qual == 3) {
_quality = "high";
}
qualcount = qualcount - 1;
if (0 < qualcount) {
setProperty("/settings", _alpha , 100);
setProperty("/settings", _alpha , 100);
} else if (qualcount < 1) {
if (0 < getProperty("/settings", _alpha)) {
setProperty("/settings", _alpha , getProperty("/settings", _alpha) - 20);
}
}
deca = deca - 1;
decb = decb - 1;
if (deca < 1) {
deca = random(15) + 5;
tellTarget ("decora") {
play();
};
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _y , random(150));
setProperty("/decora", _y , random(150));
setProperty("/decora", _x , random(500) + 175);
setProperty("/decora", _x , random(500) + 175);
ascale = random(29) + 50;
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _xscale , ascale);
setProperty("/decora", _xscale , ascale);
}
if (decb < 1) {
decb = random(18) + 5;
tellTarget ("decorb") {
play();
};
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _x , random(500) + 175);
setProperty("/decorb", _x , random(500) + 175);
bscale = random(29) + 50;
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _xscale , bscale);
setProperty("/decorb", _xscale , bscale);
}
micro = micro - 5;
if (micro < 6) {
micro = 60;
sec = sec - 1;
}
if (sec < 1) {
sec = 60;
min = min - 1;
}
if ((micro < 19) and (9 < micro)) {
if (sec < 10) {
time = (((min + ":0") + sec) + ": ") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ": ") + micro;
}
} else if (19 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
} else if (micro < 10) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":0") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":0") + micro;
}
} else if (10 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
}
microf = microf - 5;
if (microf < 6) {
microf = 60;
secf = secf - 1;
}
if (secf < 1) {
secf = 60;
minf = min - 1;
}
if ((microf < 19) and (9 < microf)) {
if (secf < 10) {
timef = (secf + ": ") + microf;
} else if (9 < secf) {
timef = (secf + ": ") + microf;
}
} else if (19 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
} else if (microf < 10) {
if (secf < 10) {
timef = (secf + ":0") + microf;
} else if (9 < secf) {
timef = (sefc + ":0") + microf;
}
} else if (10 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
}
frame = int(qual);
tellTarget (_root.settings) {
gotoAndStop(_root.frame);
};
nmeY = nmemovy + 21;
frame = int(nmeY);
tellTarget (_root.enemy) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshiptop) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshipbot) {
gotoAndStop(_root.frame);
};
ratx = getProperty("/rat", _x);
raty = getProperty("/rat", _y);
xpos = getProperty("/Pshiptop", _x);
ypos = getProperty("/Pshiptop", _y);
if (cntrlz == 1) {
if (ypos < (raty - 1)) {
if (ymov < 20) {
if (0 < ymov) {
ymov = (ymov + 0.5) + (speed / 10);
} else {
ymov = (ymov + 1) + (speed / 10);
}
}
} else if ((raty + 1) < ypos) {
if (-20 < ymov) {
if (ymov < 0) {
ymov = (ymov - 0.5) - (speed / 10);
} else {
ymov = (ymov - 1) - (speed / 10);
}
}
} else if ((ymov < 2) and (0 < ymov)) {
ymov = 0;
} else if ((-3 < ymov) and (ymov < 0)) {
ymov = 0;
}
if (xpos < (ratx - 3)) {
if (xmov < 20) {
if (0 < xmov) {
xmov = (xmov + 0.5) + (speed / 10);
} else {
xmov = (xmov + 1) + (speed / 10);
}
}
} else if ((raty + 3) < xpos) {
if ((-20 - (speed / 10)) < xmov) {
if (xmov < 0) {
xmov = (xmov - 0.5) - (speed / 10);
} else {
xmov = (xmov - 1) - (speed / 10);
}
}
} else if ((xmov < 3) and (0 < xmov)) {
xmov = 0;
} else if ((-3 < xmov) and (xmov < 0)) {
xmov = 0;
}
if (Key.isDown(Key.UP)) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
if (Key.isDown(Key.LEFT)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
if (Key.isDown(Key.RIGHT)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
if (Key.isDown(Key.DOWN)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
} else if (cntrlz == 2) {
if (Key.isDown(Key.UP)) {
if (ymov < 20) {
ymov = (ymov + 1) + (speed / 10);
}
}
}
if (Key.isDown(Key.DOWN)) {
if (-20 < ymov) {
ymov = ymov - (speed / 10);
}
}
yposition = yposition + ymov;
if (Key.isDown(Key.RIGHT)) {
if (xmov < 20) {
xmov = (xmov + 1) + (speed / 10);
}
} else if (Key.isDown(Key.LEFT)) {
if (-20 < xmov) {
xmov = (xmov - 1) - (speed / 10);
}
}
if (1 < energy) {
xposition = xposition + (xmov * 1.5);
yposition = yposition + (ymov * 2);
} else {
xposition = xposition + ((xmov * 1.5) / 2);
yposition = yposition + ymov;
}
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
if (bomba == true) {
if (0 < bombtimea) {
bombtimea = bombtimea - 0.5;
setProperty("/bmba", _x , getProperty("/bmba", _x) + (xbombmova * 1.5));
setProperty("/bmba", _y , getProperty("/bmba", _y) + (xbombmova * 1.5));
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _xscale , getProperty("/bmba", _xscale) - 2.5);
setProperty("/bmba", _yscale , getProperty("/bmba", _yscale) - 2.5);
if (_root.bmba.hittest(_root.enemy)) {
tellTarget ("/bmba") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bomba = false;
if (1.1 < bombtimea) {
bombtimea = 1;
}
}
if ((bombtimea < 7) and (1.1 < bombtimea)) {
tellTarget ("/bmba") {
play();
};
}
} else if (bombtimea < 1.6) {
bomba = false;
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
}
if (bombb == true) {
if (0 < bombtimeb) {
bombtimeb = bombtimeb - 0.5;
setProperty("/bmbb", _x , getProperty("/bmbb", _x) + (xbombmovb * 1.5));
setProperty("/bmbb", _y , getProperty("/bmbb", _y) + (xbombmovb * 1.5));
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _xscale , getProperty("/bmbb", _xscale) - 2.5);
setProperty("/bmbb", _yscale , getProperty("/bmbb", _yscale) - 2.5);
if (_root.bmbb.hittest(_root.enemy)) {
tellTarget ("/bmbb") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombb = false;
if (1.1 < bombtimeb) {
bombtimeb = 1;
}
}
if ((bombtimeb < 7) and (1.1 < bombtimeb)) {
tellTarget ("/bmbb") {
play();
};
}
} else if (bombtimeb < 1.6) {
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
}
if (bombc == true) {
if (0 < bombtimec) {
bombtimec = bombtimec - 0.5;
setProperty("/bmbc", _x , getProperty("/bmbc", _x) + (xbombmovc * 1.5));
setProperty("/bmbc", _y , getProperty("/bmbc", _y) + (xbombmovc * 1.5));
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _xscale , getProperty("/bmbc", _xscale) - 2.5);
setProperty("/bmbc", _yscale , getProperty("/bmbc", _yscale) - 2.5);
if (_root.bmbc.hittest(_root.enemy)) {
tellTarget ("/bmbc") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombc = false;
if (1.1 < bombtimec) {
bombtimec = 1;
}
}
if ((bombtimec < 7) and (1.1 < bombtimec)) {
tellTarget ("/bmbc") {
play();
};
}
} else if (bombtimec < 1.6) {
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
}
if (bombd == true) {
if (0 < bombtimed) {
bombtimed = bombtimed - 0.5;
setProperty("/bmbd", _x , getProperty("/bmbd", _x) + (xbombmovd * 1.5));
setProperty("/bmbd", _y , getProperty("/bmbd", _y) + (xbombmovd * 1.5));
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _xscale , getProperty("/bmbd", _xscale) - 2.5);
setProperty("/bmbd", _yscale , getProperty("/bmbd", _yscale) - 2.5);
if (_root.bmbd.hittest(_root.enemy)) {
tellTarget ("/bmbd") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombd = false;
if (1.1 < bombtimed) {
bombtimed = 1;
}
}
if ((bombtimed < 7) and (1.1 < bombtimed)) {
tellTarget ("/bmbd") {
play();
};
}
} else if (bombtimed < 1.6) {
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
}
if (bombe == true) {
if (0 < bombtimee) {
bombtimee = bombtimee - 0.5;
setProperty("/bmbe", _x , getProperty("/bmbe", _x) + (xbombmove * 1.5));
setProperty("/bmbe", _y , getProperty("/bmbe", _y) + (xbombmove * 1.5));
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _xscale , getProperty("/bmbe", _xscale) - 2.5);
setProperty("/bmbe", _yscale , getProperty("/bmbe", _yscale) - 2.5);
if (_root.bmbe.hittest(_root.enemy)) {
tellTarget ("/bmbe") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombe = false;
if (1.1 < bombtimee) {
bombtimee = 1;
}
}
if ((bombtimee < 7) and (1.1 < bombtimee)) {
tellTarget ("/bmbe") {
play();
};
}
} else if (bombtimee < 1.6) {
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
}
if (bombf == true) {
if (0 < bombtimef) {
bombtimef = bombtimef - 0.5;
setProperty("/bmbf", _x , getProperty("/bmbf", _x) + (xbombmovf * 1.5));
setProperty("/bmbf", _y , getProperty("/bmbf", _y) + (xbombmovf * 1.5));
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _xscale , getProperty("/bmbf", _xscale) - 2.5);
setProperty("/bmbf", _yscale , getProperty("/bmbf", _yscale) - 2.5);
if (_root.bmbf.hittest(_root.enemy)) {
tellTarget ("/bmbf") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombf = false;
if (1.1 < bombtimef) {
bombtimef = 1;
}
}
if ((bombtimef < 7) and (1.1 < bombtimef)) {
tellTarget ("/bmbf") {
play();
};
}
} else if (bombtimef < 1.6) {
bombf = false;
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
}
if (bombg == true) {
if (0 < bombtimeg) {
bombtimeg = bombtimeg - 0.5;
setProperty("/bmbg", _x , getProperty("/bmbg", _x) + (xbombmovg * 1.5));
setProperty("/bmbg", _y , getProperty("/bmbg", _y) + (xbombmovg * 1.5));
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _xscale , getProperty("/bmbg", _xscale) - 2.5);
setProperty("/bmbg", _yscale , getProperty("/bmbg", _yscale) - 2.5);
if (_root.bmbg.hittest(_root.enemy)) {
tellTarget ("/bmbg") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
esheild = 0;
}
bombg = false;
if (1.1 < bombtimeg) {
bombtimeg = 1;
}
}
if ((bombtimeg < 7) and (1.1 < bombtimeg)) {
tellTarget ("/bmbg") {
play();
};
}
} else if (bombtimeg < 1.6) {
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
}
if (bombh == true) {
if (0 < bombtimeh) {
bombtimeh = bombtimeh - 0.5;
setProperty("/bmbh", _x , getProperty("/bmbh", _x) + (xbombmovh * 1.5));
setProperty("/bmbh", _y , getProperty("/bmbh", _y) + (xbombmovh * 1.5));
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _xscale , getProperty("/bmbh", _xscale) - 2.5);
setProperty("/bmbh", _yscale , getProperty("/bmbh", _yscale) - 2.5);
if (_root.bmbh.hittest(_root.enemy)) {
tellTarget ("/bmbh") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombh = false;
if (1.1 < bombtimeh) {
bombtimeh = 1;
}
}
if ((bombtimeh < 7) and (1.1 < bombtimeh)) {
tellTarget ("/bmbh") {
play();
};
}
} else if (bombtimeh < 1.6) {
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
}
if (_root.bmba.hittest(_root.enemy)) {
bomba = false;
duplicateMovieClip ("blowa", "blowup", 999);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
if (_root.bmbb.hittest(_root.enemy)) {
duplicateMovieClip ("blowb", "blowup", 999);
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
if (_root.bmbc.hittest(_root.enemy)) {
duplicateMovieClip ("blowc", "blowup", 999);
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
if (_root.bmbd.hittest(_root.enemy)) {
duplicateMovieClip ("blowd", "blowup", 999);
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
if (_root.bmbe.hittest(_root.enemy)) {
duplicateMovieClip ("blowe", "blowup", 999);
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
if (_root.bmbf.hittest(_root.enemy)) {
duplicateMovieClip ("blowf", "blowup", 999);
bombf = false;
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
if (_root.bmbg.hittest(_root.enemy)) {
duplicateMovieClip ("blowg", "blowup", 999);
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
if (_root.bmbh.hittest(_root.enemy)) {
duplicateMovieClip ("blowh", "blowup", 999);
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
blowuptime = blowuptime - 1;
if (blowuptime < 0) {
blowuptime = 3;
setProperty("/blowa", _x , getProperty("/bmba", _x));
setProperty("/blowb", _x , getProperty("/bmbb", _x));
setProperty("/blowc", _x , getProperty("/bmbc", _x));
setProperty("/blowd", _x , getProperty("/bmbd", _x));
setProperty("/blowe", _x , getProperty("/bmbe", _x));
setProperty("/blowf", _x , getProperty("/bmbf", _x));
setProperty("/blowg", _x , getProperty("/bmbh", _x));
setProperty("/blowh", _x , getProperty("/bmbh", _x));
setProperty("/blowa", _y , getProperty("/bmba", _y));
setProperty("/blowb", _y , getProperty("/bmbb", _y));
setProperty("/blowc", _y , getProperty("/bmbc", _y));
setProperty("/blowd", _y , getProperty("/bmbd", _y));
setProperty("/blowe", _y , getProperty("/bmbe", _y));
setProperty("/blowf", _y , getProperty("/bmbf", _y));
setProperty("/blowg", _y , getProperty("/bmbg", _y));
setProperty("/blowh", _y , getProperty("/bmbh", _y));
}
Ey = getProperty("/enemy", _y);
Ex = getProperty("/enemy", _x);
orgx = 425;
orgy = 150;
dist_x = Ex - orgx;
dist_y = Ey - orgy;
if (dist_x < 0) {
norm = -1 * dist_x;
} else {
norm = dist_x;
}
if (dist_y < 0) {
normalise = norm + (-1 * dist_y);
} else {
normalise = norm + dist_y;
}
if ((dist_x >= 0) and (dist_y >= 0)) {
tehangle = (90 * (dist_y / normalise)) - 90;
} else if ((0 >= dist_x) and (dist_y >= 0)) {
tehangle = -90 * (dist_x / normalise);
} else if ((0 >= dist_x) and (0 >= dist_y)) {
tehangle = (-90 * (dist_y / normalise)) + 90;
} else {
tehangle = (90 * (dist_x / normalise)) + 180;
}
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _alpha , alpha);
setProperty("/arrow", _alpha , alpha);
if (_root.stage.hittest(_root.enemy)) {
if (19 < alpha) {
alpha = alpha - 20;
}
} else if (alpha < 99) {
alpha = alpha + 20;
}
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _x , getProperty("/enemy", _x));
setProperty("/esheild", _y , getProperty("/enemy", _y));
if (250 < getProperty("/enemy", _y)) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) - 3);
} else if (getProperty("/enemy", _y) < 50) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) + 3);
} else {
setProperty("/enemy", _y , (getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9));
}
if (getProperty("/enemy", _x) < 220) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) + 3);
} else if (630 < getProperty("/enemy", _x)) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) - 3);
} else {
setProperty("/enemy", _x , (getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7));
}
nmex = getProperty("/enemy", _x);
if ((getProperty("/enemy", _xscale) + 10) < 50) {
if (getProperty("/enemy", _x) < getProperty("/Pshiptop", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/enemy", _y) < getProperty("/Pshiptop", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
} else if (50 < (getProperty("/enemy", _xscale) + 10)) {
if (getProperty("/Pshiptop", _x) < getProperty("/enemy", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/Pshiptop", _y) < getProperty("/enemy", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
}
eweapon = 1;
if (eweapon == 1) {
if (ebomba == false) {
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
ebomba = true;
ebombtimea = 10;
exbombmova = nmemovx;
eybombmova = nmemovy;
erbombmova = nmemovx * 4;
} else if (ebombb == false) {
setProperty("/ebmbb", _y , getProperty("/enemy", _y));
setProperty("ebmbb", _y , getProperty("/enemy", _y));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
ebombb = true;
ebombtimeb = 10;
exbombmovb = nmemovx;
eybombmovb = nmemovy;
erbombmovb = nmemovx * 4;
} else if (ebombc == false) {
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
ebombc = true;
ebombtimec = 10;
exbombmovc = nmemovx;
eybombmovc = nmemovy;
erbombmovc = nmemovx * 4;
} else if (ebombd == false) {
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
ebombd = true;
ebombtimed = 10;
exbombmovd = nmemovx;
eybombmovd = nmemovy;
erbombmovd = nmemovx * 4;
} else if (ebombe == false) {
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
ebombe = true;
ebombtimee = 10;
exbombmove = nmemovx;
eybombmove = nmemovy;
erbombmove = nmemovx * 4;
} else if (ebombf == false) {
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
ebombf = true;
ebombtimef = 10;
exbombmovf = nmemovx;
eybombmovf = nmemovy;
erbombmovf = nmemovx * 4;
} else if (ebombg == false) {
setProperty("/bmbg", _y , getProperty("/enemy", _y));
setProperty("/ebmbg", _y , getProperty("/enemy", _y));
setProperty("/bmbg", _x , getProperty("/enemy", _x));
setProperty("/ebmbg", _x , getProperty("/enemy", _x));
ebombg = true;
ebombtimeg = 10;
exbombmovg = nmemovx;
eybombmovg = nmemovy;
erbombmovg = nmemovx * 4;
} else if (ebombh == false) {
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
ebombh = true;
ebombtimeh = 10;
exbombmovh = nmemovx;
eybombmovh = nmemovy;
erbombmovh = nmemovx * 4;
}
}
if (ebomba == true) {
if (0 < ebombtimea) {
ebombtimea = ebombtimea - 0.5;
setProperty("/ebmba", _x , getProperty("/ebmba", _x) + (exbombmova * 1.5));
setProperty("/ebmba", _y , getProperty("/ebmba", _y) + (exbombmova * 1.5));
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _xscale , getProperty("/ebmba", _xscale) - 2.5);
setProperty("/ebmba", _yscale , getProperty("/ebmba", _yscale) - 2.5);
if (_root.ebmba.hittest(_root.Pshiptop)) {
tellTarget ("/ebmba") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
sheild = 0;
arm = arm - 3;
}
ebomba = false;
if (1.1 < ebombtimea) {
ebombtimea = 1;
}
}
if ((ebombtimea < 7) and (1.1 < ebombtimea)) {
tellTarget ("/ebmba") {
play();
};
}
} else if (ebombtimea < 1.6) {
ebomba = false;
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
}
if (ebombb == true) {
if (0 < ebombtimeb) {
ebombtimeb = ebombtimeb - 0.5;
setProperty("/ebmbb", _x , getProperty("/ebmbb", _x) + (exbombmovb * 1.5));
setProperty("/ebmbb", _y , getProperty("/ebmbb", _y) + (exbombmovb * 1.5));
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _xscale , getProperty("/ebmbb", _xscale) - 2.5);
setProperty("/ebmbb", _yscale , getProperty("/ebmbb", _yscale) - 2.5);
if (_root.ebmbb.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbb") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombb = false;
if (1.1 < ebombtimeb) {
ebombtimeb = 1;
}
}
if ((ebombtimeb < 7) and (1.1 < ebombtimeb)) {
tellTarget ("/ebmbb") {
play();
};
}
} else if (ebombtimeb < 1.6) {
ebombb = false;
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
}
if (ebombc == true) {
if (0 < ebombtimec) {
ebombtimec = ebombtimec - 0.5;
setProperty("/ebmbc", _x , getProperty("/ebmbc", _x) + (exbombmovc * 1.5));
setProperty("/ebmbc", _y , getProperty("/ebmbc", _y) + (exbombmovc * 1.5));
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _xscale , getProperty("/ebmbc", _xscale) - 2.5);
setProperty("/ebmbc", _yscale , getProperty("/ebmbc", _yscale) - 2.5);
if (_root.ebmbc.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbc") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombc = false;
if (1.1 < ebombtimec) {
ebombtimec = 1;
}
}
if ((ebombtimec < 7) and (1.1 < ebombtimec)) {
tellTarget ("/ebmbc") {
play();
};
}
} else if (ebombtimec < 1.6) {
ebombc = false;
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
}
if (ebombd == true) {
if (0 < ebombtimed) {
ebombtimed = ebombtimed - 0.5;
setProperty("/ebmbd", _x , getProperty("/ebmbd", _x) + (exbombmovd * 1.5));
setProperty("/ebmbd", _y , getProperty("/ebmbd", _y) + (exbombmovd * 1.5));
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _xscale , getProperty("/ebmbd", _xscale) - 2.5);
setProperty("/ebmbd", _yscale , getProperty("/ebmbd", _yscale) - 2.5);
if (_root.ebmbd.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbd") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombd = false;
if (1.1 < ebombtimed) {
ebombtimed = 1;
}
}
if ((ebombtimed < 7) and (1.1 < ebombtimed)) {
tellTarget ("/ebmbd") {
play();
};
}
} else if (ebombtimed < 1.6) {
ebombd = false;
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
}
if (ebombe == true) {
if (0 < ebombtimee) {
ebombtimee = ebombtimee - 0.5;
setProperty("/ebmbe", _x , getProperty("/ebmbe", _x) + (exbombmove * 1.5));
setProperty("/ebmbe", _y , getProperty("/ebmbe", _y) + (exbombmove * 1.5));
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _xscale , getProperty("/ebmbe", _xscale) - 2.5);
setProperty("/ebmbe", _yscale , getProperty("/ebmbe", _yscale) - 2.5);
if (_root.ebmbe.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbe") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombe = false;
if (1.1 < ebombtimee) {
ebombtimee = 1;
}
}
if ((ebombtimee < 7) and (1.1 < ebombtimee)) {
tellTarget ("/ebmbe") {
play();
};
}
} else if (ebombtimee < 1.6) {
ebombe = false;
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
}
if (ebombf == true) {
if (0 < ebombtimef) {
ebombtimef = ebombtimef - 0.5;
setProperty("/ebmbf", _x , getProperty("/ebmbf", _x) + (exbombmovf * 1.5));
setProperty("/ebmbf", _y , getProperty("/ebmbf", _y) + (exbombmovf * 1.5));
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _xscale , getProperty("/ebmbf", _xscale) - 2.5);
setProperty("/ebmbf", _yscale , getProperty("/ebmbf", _yscale) - 2.5);
if (_root.ebmbf.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbf") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombf = false;
if (1.1 < ebombtimef) {
ebombtimef = 1;
}
}
if ((ebombtimef < 7) and (1.1 < ebombtimef)) {
tellTarget ("/ebmbf") {
play();
};
}
} else if (ebombtimef < 1.6) {
ebombf = false;
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
}
if (ebombg == true) {
if (0 < ebombtimeg) {
ebombtimeg = ebombtimeg - 0.5;
setProperty("/ebmbg", _x , getProperty("/ebmbg", _x) + (exbombmovg * 1.5));
setProperty("/ebmbg", _y , getProperty("/ebmbg", _y) + (exbombmovg * 1.5));
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _xscale , getProperty("/ebmbg", _xscale) - 2.5);
setProperty("/ebmbg", _yscale , getProperty("/ebmbg", _yscale) - 2.5);
if (_root.ebmbg.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbg") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombg = false;
if (1.1 < ebombtimeg) {
ebombtimeg = 1;
}
}
if ((ebombtimeg < 7) and (1.1 < ebombtimeg)) {
tellTarget ("/ebmbg") {
play();
};
}
} else if (ebombtimeg < 1.6) {
ebombg = false;
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
}
if (ebombh == true) {
if (0 < ebombtimeh) {
ebombtimeh = ebombtimeh - 0.5;
setProperty("/ebmbh", _x , getProperty("/ebmbh", _x) + (exbombmovh * 1.5));
setProperty("/ebmbh", _y , getProperty("/ebmbh", _y) + (exbombmovh * 1.5));
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _xscale , getProperty("/ebmbh", _xscale) - 2.5);
setProperty("/ebmbh", _yscale , getProperty("/ebmbh", _yscale) - 2.5);
if (_root.ebmbh.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbh") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombh = false;
if (1.1 < ebombtimeh) {
ebombtimeh = 1;
}
}
if ((ebombtimeh < 7) and (1.1 < ebombtimeh)) {
tellTarget ("/ebmbh") {
play();
};
}
} else if (ebombtimeh < 1.6) {
ebombh = false;
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
}
if (_root.ebmba.hittest(_root.Pshiptop)) {
ebomba = false;
duplicateMovieClip ("eblowa", "eblowup", 999);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
if (_root.ebmbb.hittest(_root.Pshiptop)) {
ebombb = false;
duplicateMovieClip ("eblowb", "eblowup", 999);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
if (_root.ebmbc.hittest(_root.Pshiptop)) {
ebombc = false;
duplicateMovieClip ("eblowc", "eblowup", 999);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
if (_root.ebmbd.hittest(_root.Pshiptop)) {
ebombd = false;
duplicateMovieClip ("eblowd", "eblowup", 999);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
if (_root.ebmbe.hittest(_root.Pshiptop)) {
ebombe = false;
duplicateMovieClip ("eblowe", "eblowup", 999);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
if (_root.ebmbf.hittest(_root.Pshiptop)) {
ebombf = false;
duplicateMovieClip ("eblowf", "eblowup", 999);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
if (_root.ebmbg.hittest(_root.Pshiptop)) {
ebombg = false;
duplicateMovieClip ("eblowg", "eblowup", 999);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
if (_root.ebmbh.hittest(_root.Pshiptop)) {
ebombh = false;
duplicateMovieClip ("eblowh", "eblowup", 999);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
energy = Math.round(energy + intake);
imput = Math.round(intake);
if ((1000 + (ease * 100)) < energy) {
energy = 1000 + (ease * 100);
}
if (160 < energy) {
if (choice == false) {
choice = true;
}
}
if (choice == false) {
if (1 < speed) {
speed = speed - 1;
}
if (1 < weapon) {
weapon = weapon - 1;
}
}
if (choice == true) {
if (speed < choicespeed) {
speed = speed + 1;
}
if (weapon < choiceweapon) {
weapon = weapon + 1;
}
}
if (energy < 5) {
energy = 0;
choice = false;
}
if (0 < xmov) {
if (0 < ymov) {
intake = (7 - ((xmov + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - ((xmov - ymov) / 5)) - (speed / 1.5);
}
} else if (xmov < 1) {
if (0 < ymov) {
intake = (7 - (((-xmov) + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - (((-xmov) - ymov) / 5)) - (speed / 1.5);
}
}
shcount = shcount - 1;
if (shcount < 1) {
shcount = 20;
if (she == false) {
she = true;
}
} else if (she == true) {
she = false;
}
if (she == true) {
sheilds = sheilds + 3;
}
usage = Math.round((energy / (2000 + (ease * 100))) * 100) + "%";
if (nmeh < 1) {
if (byebye == false) {
setProperty("/bhe", _visible , 100);
setProperty("/bhe", _visible , 100);
byebye = true;
bght = 14;
}
}
if (byebye == true) {
if (0 < bght) {
bght = bght - 1;
frame = int(bght);
tellTarget (_root.bhe) {
gotoAndStop(_root.frame);
};
setProperty("/enemy", _alpha , getProperty("/enemy", _alpha) - 8);
setProperty("/esheild", _visible , 0);
setProperty("/esheild", _visible , 0);
setProperty("/bhe", _y , getProperty("/enemy", _y));
setProperty("/bhe", _x , getProperty("/enemy", _x));
nmeh = 0;
} else if (bght < 1) {
nmeh = 600 + (ease * 100);
nmesheild = 600 + (ease * 100);
outnumber = outnumber - 1;
setProperty("/enemy", _x , 0);
setProperty("/enemy", _x , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _alpha , 100);
setProperty("/enemy", _alpha , 100);
setProperty("/esheild", _visible , 100);
setProperty("/esheild", _visible , 100);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
byebye = false;
}
}
bone = Math.round(outnumber / 10) + 1;
if (arm < 1) {
gotoAndPlay (2918);
}
if (min == 0) {
if (sec < 1) {
gotoAndPlay (2918);
}
}
if (outnumber < 1) {
tech = (teck + Math.round(outnumber / 10)) + 1;
techn = Math.round(outnumber / 10) + 1;
rank = rank + bone;
gotoAndPlay (2324);
if (termission < 3) {
termission = 3;
}
}
Frame 2320
gotoAndPlay (2319);
Frame 2321
nextFrame();
Frame 2323
prevFrame();
Frame 2324
frame = int(outnumber);
tellTarget (_root.enemys) {
gotoAndStop(_root.frame);
};
frame = int(techn);
tellTarget (_root.technoligy) {
gotoAndStop(_root.frame);
};
frame = int(bone);
tellTarget (_root.bonus) {
gotoAndStop(_root.frame);
};
frame = int(rank);
tellTarget (_root.rankk) {
gotoAndStop(_root.frame);
};
Frame 2325
gotoAndPlay (2324);
Instance of Symbol 630 MovieClip "bmba" in Frame 2327
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbb" in Frame 2327
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbc" in Frame 2327
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbd" in Frame 2327
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbe" in Frame 2327
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbf" in Frame 2327
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbg" in Frame 2327
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbh" in Frame 2327
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Frame 2336
frame = 3;
tellTarget (_root.backround) {
gotoAndStop(_root.frame);
};
Frame 2364
gotoAndPlay (2318);
Frame 2365
tellTarget ("zz") {
nextFrame();
};
Frame 2366
tellTarget ("zz") {
nextFrame();
};
Frame 2367
tellTarget ("zz") {
nextFrame();
};
Frame 2368
tellTarget ("zz") {
nextFrame();
};
Frame 2369
tellTarget ("zz") {
nextFrame();
};
Frame 2370
tellTarget ("zz") {
nextFrame();
};
Frame 2371
tellTarget ("zz") {
nextFrame();
};
Frame 2372
tellTarget ("zz") {
nextFrame();
};
Frame 2373
tellTarget ("zz") {
nextFrame();
};
Frame 2374
tellTarget ("zz") {
nextFrame();
};
Frame 2375
tellTarget ("zz") {
nextFrame();
};
Frame 2376
tellTarget ("zz") {
nextFrame();
};
Frame 2377
tellTarget ("zz") {
nextFrame();
};
Frame 2378
tellTarget ("zz") {
nextFrame();
};
Frame 2379
tellTarget ("zz") {
nextFrame();
};
Frame 2380
tellTarget ("zz") {
nextFrame();
};
Frame 2381
tellTarget ("zz") {
nextFrame();
};
Frame 2382
tellTarget ("zz") {
nextFrame();
};
Frame 2383
tellTarget ("zz") {
nextFrame();
};
Frame 2384
tellTarget ("zz") {
nextFrame();
};
Frame 2405
gotoAndPlay (2249);
Frame 2406
nextFrame();
stop();
Frame 2407
_quality = "high";
Frame 2408
prevFrame();
Frame 2409
back = 5;
arm = 6000 - (ease * 1000);
sheild = 1000 - (ease * 100);
nmeh = 800 + (ease * 100);
nmesheild = 800 + (ease * 100);
energy = 100;
she = false;
byebye = false;
shcount = 20;
outnumber = 5;
deca = 7;
decb = 15;
sec = 60;
secf = 61;
micro = 5;
microf = 0;
min = 2;
setProperty("/botsheild", _alpha , 0);
setProperty("/botsheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/updatebox", _alpha , 0);
setProperty("/updatebox", _alpha , 0);
setProperty("/race", _alpha , 0);
setProperty("/race", _alpha , 0);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
update = "";
xposition = 425;
yposition = 150;
weapon = 1;
nmemovx = 0;
nmemovy = 0;
speed = 0;
alpha = 0;
tech = 6;
qual = 1;
bomba = false;
bombb = false;
bombc = false;
bombd = false;
bombe = false;
bombf = false;
bombg = false;
bombh = false;
ebomba = false;
ebombb = false;
ebombc = false;
ebombd = false;
ebombe = false;
ebombf = false;
ebombg = false;
ebombh = false;
blowuptime = 3;
tellTarget ("blowa") {
stop();
};
tellTarget ("blowb") {
stop();
};
tellTarget ("blowc") {
stop();
};
tellTarget ("blowd") {
stop();
};
tellTarget ("blowe") {
stop();
};
tellTarget ("blowf") {
stop();
};
tellTarget ("blowg") {
stop();
};
tellTarget ("blowh") {
stop();
};
tellTarget ("eblowa") {
stop();
};
tellTarget ("eblowb") {
stop();
};
tellTarget ("eblowc") {
stop();
};
tellTarget ("eblowd") {
stop();
};
tellTarget ("eblowe") {
stop();
};
tellTarget ("eblowf") {
stop();
};
tellTarget ("eblowg") {
stop();
};
tellTarget ("eblowh") {
stop();
};
song = bsong + 1;
Instance of Symbol 659 MovieClip "Pshipbot" in Frame 2409
onClipEvent (enterFrame) {
if (1021 < _x) {
_x = 1020;
}
if (_x < -299) {
_x = -298;
}
if (451 < _y) {
_y = 450;
}
if (_y < -151) {
_y = -150;
}
}
Instance of Symbol 630 MovieClip "bmba" in Frame 2409
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbb" in Frame 2409
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbc" in Frame 2409
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbd" in Frame 2409
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbe" in Frame 2409
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbf" in Frame 2409
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbg" in Frame 2409
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbh" in Frame 2409
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 1095 MovieClip "enemy" in Frame 2409
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 680;
}
if (_x < 149) {
_x = 150;
}
if (301 < _y) {
_y = 300;
}
if (_y < -1) {
_y = 0;
}
}
Instance of Symbol 659 MovieClip "Pshiptop" in Frame 2409
onClipEvent (enterFrame) {
if (1021 < _x) {
_x = 1020;
}
if (_x < -299) {
_x = -298;
}
if (451 < _y) {
_y = 450;
}
if (_y < -151) {
_y = -150;
}
}
Frame 2410
frame = int(song);
tellTarget (_root.music) {
gotoAndStop(_root.frame);
};
tellTarget (_root.backround) {
gotoAndStop (4);
};
if (5 < getProperty("/esheild", _alpha)) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) - 6);
}
if (50 < getProperty("/enemy", _xscale)) {
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _visible , 100);
setProperty("/botsheild", _visible , 100);
setProperty("/topsheild", _visible , 0);
setProperty("/topsheild", _visible , 0);
} else {
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _visible , 100);
setProperty("/topsheild", _visible , 100);
setProperty("/botsheild", _visible , 0);
setProperty("/botsheild", _visible , 0);
}
if (5 < playersheild) {
playersheild = playersheild - 4;
}
setProperty("/botsheild", _x , getProperty("/Pshiptop", _x));
setProperty("/botsheild", _y , getProperty("/Pshiptop", _y));
setProperty("/botsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _x , getProperty("/Pshiptop", _x));
setProperty("topsheild", _y , getProperty("/Pshiptop", _y));
startDrag ("rat", true, 200, 0, 650, 300);
ymovwvar = ymov + 20;
if (qual == 1) {
_quality = "low";
} else if (qual == 2) {
_quality = "medium";
} else if (qual == 3) {
_quality = "high";
}
qualcount = qualcount - 1;
if (0 < qualcount) {
setProperty("/settings", _alpha , 100);
setProperty("/settings", _alpha , 100);
} else if (qualcount < 1) {
if (0 < getProperty("/settings", _alpha)) {
setProperty("/settings", _alpha , getProperty("/settings", _alpha) - 20);
}
}
deca = deca - 1;
decb = decb - 1;
if (deca < 1) {
deca = random(15) + 5;
tellTarget ("decora") {
play();
};
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _y , random(150));
setProperty("/decora", _y , random(150));
setProperty("/decora", _x , random(500) + 175);
setProperty("/decora", _x , random(500) + 175);
ascale = random(29) + 50;
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _xscale , ascale);
setProperty("/decora", _xscale , ascale);
}
if (decb < 1) {
decb = random(18) + 5;
tellTarget ("decorb") {
play();
};
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _x , random(500) + 175);
setProperty("/decorb", _x , random(500) + 175);
bscale = random(29) + 50;
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _xscale , bscale);
setProperty("/decorb", _xscale , bscale);
}
micro = micro - 5;
if (micro < 6) {
micro = 60;
sec = sec - 1;
}
if (sec < 1) {
sec = 60;
min = min - 1;
}
if ((micro < 19) and (9 < micro)) {
if (sec < 10) {
time = (((min + ":0") + sec) + ": ") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ": ") + micro;
}
} else if (19 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
} else if (micro < 10) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":0") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":0") + micro;
}
} else if (10 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
}
microf = microf - 5;
if (microf < 6) {
microf = 60;
secf = secf - 1;
}
if (secf < 1) {
secf = 60;
minf = min - 1;
}
if ((microf < 19) and (9 < microf)) {
if (secf < 10) {
timef = (secf + ": ") + microf;
} else if (9 < secf) {
timef = (secf + ": ") + microf;
}
} else if (19 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
} else if (microf < 10) {
if (secf < 10) {
timef = (secf + ":0") + microf;
} else if (9 < secf) {
timef = (sefc + ":0") + microf;
}
} else if (10 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
}
frame = int(qual);
tellTarget (_root.settings) {
gotoAndStop(_root.frame);
};
nmeY = nmemovy + 21;
frame = int(nmeY);
tellTarget (_root.enemy) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshiptop) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshipbot) {
gotoAndStop(_root.frame);
};
ratx = getProperty("/rat", _x);
raty = getProperty("/rat", _y);
xpos = getProperty("/Pshiptop", _x);
ypos = getProperty("/Pshiptop", _y);
if (cntrlz == 1) {
if (ypos < (raty - 1)) {
if (ymov < 20) {
if (0 < ymov) {
ymov = (ymov + 0.5) + (speed / 10);
} else {
ymov = (ymov + 1) + (speed / 10);
}
}
} else if ((raty + 1) < ypos) {
if (-20 < ymov) {
if (ymov < 0) {
ymov = (ymov - 0.5) - (speed / 10);
} else {
ymov = (ymov - 1) - (speed / 10);
}
}
} else if ((ymov < 2) and (0 < ymov)) {
ymov = 0;
} else if ((-3 < ymov) and (ymov < 0)) {
ymov = 0;
}
if (xpos < (ratx - 3)) {
if (xmov < 20) {
if (0 < xmov) {
xmov = (xmov + 0.5) + (speed / 10);
} else {
xmov = (xmov + 1) + (speed / 10);
}
}
} else if ((raty + 3) < xpos) {
if ((-20 - (speed / 10)) < xmov) {
if (xmov < 0) {
xmov = (xmov - 0.5) - (speed / 10);
} else {
xmov = (xmov - 1) - (speed / 10);
}
}
} else if ((xmov < 3) and (0 < xmov)) {
xmov = 0;
} else if ((-3 < xmov) and (xmov < 0)) {
xmov = 0;
}
if (Key.isDown(Key.UP)) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
if (Key.isDown(Key.LEFT)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
if (Key.isDown(Key.RIGHT)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
if (Key.isDown(Key.DOWN)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
} else if (cntrlz == 2) {
if (Key.isDown(Key.UP)) {
if (ymov < 20) {
ymov = (ymov + 1) + (speed / 10);
}
}
}
if (Key.isDown(Key.DOWN)) {
if (-20 < ymov) {
ymov = ymov - (speed / 10);
}
}
yposition = yposition + ymov;
if (Key.isDown(Key.RIGHT)) {
if (xmov < 20) {
xmov = (xmov + 1) + (speed / 10);
}
} else if (Key.isDown(Key.LEFT)) {
if (-20 < xmov) {
xmov = (xmov - 1) - (speed / 10);
}
}
if (1 < energy) {
xposition = xposition + (xmov * 1.5);
yposition = yposition + (ymov * 2);
} else {
xposition = xposition + ((xmov * 1.5) / 2);
yposition = yposition + ymov;
}
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
if (bomba == true) {
if (0 < bombtimea) {
bombtimea = bombtimea - 0.5;
setProperty("/bmba", _x , getProperty("/bmba", _x) + (xbombmova * 1.5));
setProperty("/bmba", _y , getProperty("/bmba", _y) + (xbombmova * 1.5));
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _xscale , getProperty("/bmba", _xscale) - 2.5);
setProperty("/bmba", _yscale , getProperty("/bmba", _yscale) - 2.5);
if (_root.bmba.hittest(_root.enemy)) {
tellTarget ("/bmba") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bomba = false;
if (1.1 < bombtimea) {
bombtimea = 1;
}
}
if ((bombtimea < 7) and (1.1 < bombtimea)) {
tellTarget ("/bmba") {
play();
};
}
} else if (bombtimea < 1.6) {
bomba = false;
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
}
if (bombb == true) {
if (0 < bombtimeb) {
bombtimeb = bombtimeb - 0.5;
setProperty("/bmbb", _x , getProperty("/bmbb", _x) + (xbombmovb * 1.5));
setProperty("/bmbb", _y , getProperty("/bmbb", _y) + (xbombmovb * 1.5));
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _xscale , getProperty("/bmbb", _xscale) - 2.5);
setProperty("/bmbb", _yscale , getProperty("/bmbb", _yscale) - 2.5);
if (_root.bmbb.hittest(_root.enemy)) {
tellTarget ("/bmbb") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombb = false;
if (1.1 < bombtimeb) {
bombtimeb = 1;
}
}
if ((bombtimeb < 7) and (1.1 < bombtimeb)) {
tellTarget ("/bmbb") {
play();
};
}
} else if (bombtimeb < 1.6) {
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
}
if (bombc == true) {
if (0 < bombtimec) {
bombtimec = bombtimec - 0.5;
setProperty("/bmbc", _x , getProperty("/bmbc", _x) + (xbombmovc * 1.5));
setProperty("/bmbc", _y , getProperty("/bmbc", _y) + (xbombmovc * 1.5));
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _xscale , getProperty("/bmbc", _xscale) - 2.5);
setProperty("/bmbc", _yscale , getProperty("/bmbc", _yscale) - 2.5);
if (_root.bmbc.hittest(_root.enemy)) {
tellTarget ("/bmbc") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombc = false;
if (1.1 < bombtimec) {
bombtimec = 1;
}
}
if ((bombtimec < 7) and (1.1 < bombtimec)) {
tellTarget ("/bmbc") {
play();
};
}
} else if (bombtimec < 1.6) {
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
}
if (bombd == true) {
if (0 < bombtimed) {
bombtimed = bombtimed - 0.5;
setProperty("/bmbd", _x , getProperty("/bmbd", _x) + (xbombmovd * 1.5));
setProperty("/bmbd", _y , getProperty("/bmbd", _y) + (xbombmovd * 1.5));
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _xscale , getProperty("/bmbd", _xscale) - 2.5);
setProperty("/bmbd", _yscale , getProperty("/bmbd", _yscale) - 2.5);
if (_root.bmbd.hittest(_root.enemy)) {
tellTarget ("/bmbd") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombd = false;
if (1.1 < bombtimed) {
bombtimed = 1;
}
}
if ((bombtimed < 7) and (1.1 < bombtimed)) {
tellTarget ("/bmbd") {
play();
};
}
} else if (bombtimed < 1.6) {
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
}
if (bombe == true) {
if (0 < bombtimee) {
bombtimee = bombtimee - 0.5;
setProperty("/bmbe", _x , getProperty("/bmbe", _x) + (xbombmove * 1.5));
setProperty("/bmbe", _y , getProperty("/bmbe", _y) + (xbombmove * 1.5));
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _xscale , getProperty("/bmbe", _xscale) - 2.5);
setProperty("/bmbe", _yscale , getProperty("/bmbe", _yscale) - 2.5);
if (_root.bmbe.hittest(_root.enemy)) {
tellTarget ("/bmbe") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombe = false;
if (1.1 < bombtimee) {
bombtimee = 1;
}
}
if ((bombtimee < 7) and (1.1 < bombtimee)) {
tellTarget ("/bmbe") {
play();
};
}
} else if (bombtimee < 1.6) {
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
}
if (bombf == true) {
if (0 < bombtimef) {
bombtimef = bombtimef - 0.5;
setProperty("/bmbf", _x , getProperty("/bmbf", _x) + (xbombmovf * 1.5));
setProperty("/bmbf", _y , getProperty("/bmbf", _y) + (xbombmovf * 1.5));
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _xscale , getProperty("/bmbf", _xscale) - 2.5);
setProperty("/bmbf", _yscale , getProperty("/bmbf", _yscale) - 2.5);
if (_root.bmbf.hittest(_root.enemy)) {
tellTarget ("/bmbf") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombf = false;
if (1.1 < bombtimef) {
bombtimef = 1;
}
}
if ((bombtimef < 7) and (1.1 < bombtimef)) {
tellTarget ("/bmbf") {
play();
};
}
} else if (bombtimef < 1.6) {
bombf = false;
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
}
if (bombg == true) {
if (0 < bombtimeg) {
bombtimeg = bombtimeg - 0.5;
setProperty("/bmbg", _x , getProperty("/bmbg", _x) + (xbombmovg * 1.5));
setProperty("/bmbg", _y , getProperty("/bmbg", _y) + (xbombmovg * 1.5));
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _xscale , getProperty("/bmbg", _xscale) - 2.5);
setProperty("/bmbg", _yscale , getProperty("/bmbg", _yscale) - 2.5);
if (_root.bmbg.hittest(_root.enemy)) {
tellTarget ("/bmbg") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
esheild = 0;
}
bombg = false;
if (1.1 < bombtimeg) {
bombtimeg = 1;
}
}
if ((bombtimeg < 7) and (1.1 < bombtimeg)) {
tellTarget ("/bmbg") {
play();
};
}
} else if (bombtimeg < 1.6) {
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
}
if (bombh == true) {
if (0 < bombtimeh) {
bombtimeh = bombtimeh - 0.5;
setProperty("/bmbh", _x , getProperty("/bmbh", _x) + (xbombmovh * 1.5));
setProperty("/bmbh", _y , getProperty("/bmbh", _y) + (xbombmovh * 1.5));
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _xscale , getProperty("/bmbh", _xscale) - 2.5);
setProperty("/bmbh", _yscale , getProperty("/bmbh", _yscale) - 2.5);
if (_root.bmbh.hittest(_root.enemy)) {
tellTarget ("/bmbh") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombh = false;
if (1.1 < bombtimeh) {
bombtimeh = 1;
}
}
if ((bombtimeh < 7) and (1.1 < bombtimeh)) {
tellTarget ("/bmbh") {
play();
};
}
} else if (bombtimeh < 1.6) {
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
}
if (_root.bmba.hittest(_root.enemy)) {
bomba = false;
duplicateMovieClip ("blowa", "blowup", 999);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
if (_root.bmbb.hittest(_root.enemy)) {
duplicateMovieClip ("blowb", "blowup", 999);
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
if (_root.bmbc.hittest(_root.enemy)) {
duplicateMovieClip ("blowc", "blowup", 999);
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
if (_root.bmbd.hittest(_root.enemy)) {
duplicateMovieClip ("blowd", "blowup", 999);
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
if (_root.bmbe.hittest(_root.enemy)) {
duplicateMovieClip ("blowe", "blowup", 999);
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
if (_root.bmbf.hittest(_root.enemy)) {
duplicateMovieClip ("blowf", "blowup", 999);
bombf = false;
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
if (_root.bmbg.hittest(_root.enemy)) {
duplicateMovieClip ("blowg", "blowup", 999);
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
if (_root.bmbh.hittest(_root.enemy)) {
duplicateMovieClip ("blowh", "blowup", 999);
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
blowuptime = blowuptime - 1;
if (blowuptime < 0) {
blowuptime = 3;
setProperty("/blowa", _x , getProperty("/bmba", _x));
setProperty("/blowb", _x , getProperty("/bmbb", _x));
setProperty("/blowc", _x , getProperty("/bmbc", _x));
setProperty("/blowd", _x , getProperty("/bmbd", _x));
setProperty("/blowe", _x , getProperty("/bmbe", _x));
setProperty("/blowf", _x , getProperty("/bmbf", _x));
setProperty("/blowg", _x , getProperty("/bmbh", _x));
setProperty("/blowh", _x , getProperty("/bmbh", _x));
setProperty("/blowa", _y , getProperty("/bmba", _y));
setProperty("/blowb", _y , getProperty("/bmbb", _y));
setProperty("/blowc", _y , getProperty("/bmbc", _y));
setProperty("/blowd", _y , getProperty("/bmbd", _y));
setProperty("/blowe", _y , getProperty("/bmbe", _y));
setProperty("/blowf", _y , getProperty("/bmbf", _y));
setProperty("/blowg", _y , getProperty("/bmbg", _y));
setProperty("/blowh", _y , getProperty("/bmbh", _y));
}
Ey = getProperty("/enemy", _y);
Ex = getProperty("/enemy", _x);
orgx = 425;
orgy = 150;
dist_x = Ex - orgx;
dist_y = Ey - orgy;
if (dist_x < 0) {
norm = -1 * dist_x;
} else {
norm = dist_x;
}
if (dist_y < 0) {
normalise = norm + (-1 * dist_y);
} else {
normalise = norm + dist_y;
}
if ((dist_x >= 0) and (dist_y >= 0)) {
tehangle = (90 * (dist_y / normalise)) - 90;
} else if ((0 >= dist_x) and (dist_y >= 0)) {
tehangle = -90 * (dist_x / normalise);
} else if ((0 >= dist_x) and (0 >= dist_y)) {
tehangle = (-90 * (dist_y / normalise)) + 90;
} else {
tehangle = (90 * (dist_x / normalise)) + 180;
}
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _alpha , alpha);
setProperty("/arrow", _alpha , alpha);
if (_root.stage.hittest(_root.enemy)) {
if (19 < alpha) {
alpha = alpha - 20;
}
} else if (alpha < 99) {
alpha = alpha + 20;
}
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _x , getProperty("/enemy", _x));
setProperty("/esheild", _y , getProperty("/enemy", _y));
if (250 < getProperty("/enemy", _y)) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) - 3);
} else if (getProperty("/enemy", _y) < 50) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) + 3);
} else {
setProperty("/enemy", _y , (getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9));
}
if (getProperty("/enemy", _x) < 220) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) + 3);
} else if (630 < getProperty("/enemy", _x)) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) - 3);
} else {
setProperty("/enemy", _x , (getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7));
}
nmex = getProperty("/enemy", _x);
if ((getProperty("/enemy", _xscale) + 10) < 50) {
if (getProperty("/enemy", _x) < getProperty("/Pshiptop", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/enemy", _y) < getProperty("/Pshiptop", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
} else if (50 < (getProperty("/enemy", _xscale) + 10)) {
if (getProperty("/Pshiptop", _x) < getProperty("/enemy", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/Pshiptop", _y) < getProperty("/enemy", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
}
eweapon = 1;
if (eweapon == 1) {
if (ebomba == false) {
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
ebomba = true;
ebombtimea = 10;
exbombmova = nmemovx;
eybombmova = nmemovy;
erbombmova = nmemovx * 4;
} else if (ebombb == false) {
setProperty("/ebmbb", _y , getProperty("/enemy", _y));
setProperty("ebmbb", _y , getProperty("/enemy", _y));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
ebombb = true;
ebombtimeb = 10;
exbombmovb = nmemovx;
eybombmovb = nmemovy;
erbombmovb = nmemovx * 4;
} else if (ebombc == false) {
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
ebombc = true;
ebombtimec = 10;
exbombmovc = nmemovx;
eybombmovc = nmemovy;
erbombmovc = nmemovx * 4;
} else if (ebombd == false) {
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
ebombd = true;
ebombtimed = 10;
exbombmovd = nmemovx;
eybombmovd = nmemovy;
erbombmovd = nmemovx * 4;
} else if (ebombe == false) {
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
ebombe = true;
ebombtimee = 10;
exbombmove = nmemovx;
eybombmove = nmemovy;
erbombmove = nmemovx * 4;
} else if (ebombf == false) {
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
ebombf = true;
ebombtimef = 10;
exbombmovf = nmemovx;
eybombmovf = nmemovy;
erbombmovf = nmemovx * 4;
} else if (ebombg == false) {
setProperty("/bmbg", _y , getProperty("/enemy", _y));
setProperty("/ebmbg", _y , getProperty("/enemy", _y));
setProperty("/bmbg", _x , getProperty("/enemy", _x));
setProperty("/ebmbg", _x , getProperty("/enemy", _x));
ebombg = true;
ebombtimeg = 10;
exbombmovg = nmemovx;
eybombmovg = nmemovy;
erbombmovg = nmemovx * 4;
} else if (ebombh == false) {
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
ebombh = true;
ebombtimeh = 10;
exbombmovh = nmemovx;
eybombmovh = nmemovy;
erbombmovh = nmemovx * 4;
}
}
if (ebomba == true) {
if (0 < ebombtimea) {
ebombtimea = ebombtimea - 0.5;
setProperty("/ebmba", _x , getProperty("/ebmba", _x) + (exbombmova * 1.5));
setProperty("/ebmba", _y , getProperty("/ebmba", _y) + (exbombmova * 1.5));
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _xscale , getProperty("/ebmba", _xscale) - 2.5);
setProperty("/ebmba", _yscale , getProperty("/ebmba", _yscale) - 2.5);
if (_root.ebmba.hittest(_root.Pshiptop)) {
tellTarget ("/ebmba") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
sheild = 0;
arm = arm - 3;
}
ebomba = false;
if (1.1 < ebombtimea) {
ebombtimea = 1;
}
}
if ((ebombtimea < 7) and (1.1 < ebombtimea)) {
tellTarget ("/ebmba") {
play();
};
}
} else if (ebombtimea < 1.6) {
ebomba = false;
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
}
if (ebombb == true) {
if (0 < ebombtimeb) {
ebombtimeb = ebombtimeb - 0.5;
setProperty("/ebmbb", _x , getProperty("/ebmbb", _x) + (exbombmovb * 1.5));
setProperty("/ebmbb", _y , getProperty("/ebmbb", _y) + (exbombmovb * 1.5));
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _xscale , getProperty("/ebmbb", _xscale) - 2.5);
setProperty("/ebmbb", _yscale , getProperty("/ebmbb", _yscale) - 2.5);
if (_root.ebmbb.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbb") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombb = false;
if (1.1 < ebombtimeb) {
ebombtimeb = 1;
}
}
if ((ebombtimeb < 7) and (1.1 < ebombtimeb)) {
tellTarget ("/ebmbb") {
play();
};
}
} else if (ebombtimeb < 1.6) {
ebombb = false;
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
}
if (ebombc == true) {
if (0 < ebombtimec) {
ebombtimec = ebombtimec - 0.5;
setProperty("/ebmbc", _x , getProperty("/ebmbc", _x) + (exbombmovc * 1.5));
setProperty("/ebmbc", _y , getProperty("/ebmbc", _y) + (exbombmovc * 1.5));
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _xscale , getProperty("/ebmbc", _xscale) - 2.5);
setProperty("/ebmbc", _yscale , getProperty("/ebmbc", _yscale) - 2.5);
if (_root.ebmbc.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbc") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombc = false;
if (1.1 < ebombtimec) {
ebombtimec = 1;
}
}
if ((ebombtimec < 7) and (1.1 < ebombtimec)) {
tellTarget ("/ebmbc") {
play();
};
}
} else if (ebombtimec < 1.6) {
ebombc = false;
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
}
if (ebombd == true) {
if (0 < ebombtimed) {
ebombtimed = ebombtimed - 0.5;
setProperty("/ebmbd", _x , getProperty("/ebmbd", _x) + (exbombmovd * 1.5));
setProperty("/ebmbd", _y , getProperty("/ebmbd", _y) + (exbombmovd * 1.5));
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _xscale , getProperty("/ebmbd", _xscale) - 2.5);
setProperty("/ebmbd", _yscale , getProperty("/ebmbd", _yscale) - 2.5);
if (_root.ebmbd.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbd") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombd = false;
if (1.1 < ebombtimed) {
ebombtimed = 1;
}
}
if ((ebombtimed < 7) and (1.1 < ebombtimed)) {
tellTarget ("/ebmbd") {
play();
};
}
} else if (ebombtimed < 1.6) {
ebombd = false;
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
}
if (ebombe == true) {
if (0 < ebombtimee) {
ebombtimee = ebombtimee - 0.5;
setProperty("/ebmbe", _x , getProperty("/ebmbe", _x) + (exbombmove * 1.5));
setProperty("/ebmbe", _y , getProperty("/ebmbe", _y) + (exbombmove * 1.5));
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _xscale , getProperty("/ebmbe", _xscale) - 2.5);
setProperty("/ebmbe", _yscale , getProperty("/ebmbe", _yscale) - 2.5);
if (_root.ebmbe.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbe") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombe = false;
if (1.1 < ebombtimee) {
ebombtimee = 1;
}
}
if ((ebombtimee < 7) and (1.1 < ebombtimee)) {
tellTarget ("/ebmbe") {
play();
};
}
} else if (ebombtimee < 1.6) {
ebombe = false;
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
}
if (ebombf == true) {
if (0 < ebombtimef) {
ebombtimef = ebombtimef - 0.5;
setProperty("/ebmbf", _x , getProperty("/ebmbf", _x) + (exbombmovf * 1.5));
setProperty("/ebmbf", _y , getProperty("/ebmbf", _y) + (exbombmovf * 1.5));
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _xscale , getProperty("/ebmbf", _xscale) - 2.5);
setProperty("/ebmbf", _yscale , getProperty("/ebmbf", _yscale) - 2.5);
if (_root.ebmbf.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbf") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombf = false;
if (1.1 < ebombtimef) {
ebombtimef = 1;
}
}
if ((ebombtimef < 7) and (1.1 < ebombtimef)) {
tellTarget ("/ebmbf") {
play();
};
}
} else if (ebombtimef < 1.6) {
ebombf = false;
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
}
if (ebombg == true) {
if (0 < ebombtimeg) {
ebombtimeg = ebombtimeg - 0.5;
setProperty("/ebmbg", _x , getProperty("/ebmbg", _x) + (exbombmovg * 1.5));
setProperty("/ebmbg", _y , getProperty("/ebmbg", _y) + (exbombmovg * 1.5));
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _xscale , getProperty("/ebmbg", _xscale) - 2.5);
setProperty("/ebmbg", _yscale , getProperty("/ebmbg", _yscale) - 2.5);
if (_root.ebmbg.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbg") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombg = false;
if (1.1 < ebombtimeg) {
ebombtimeg = 1;
}
}
if ((ebombtimeg < 7) and (1.1 < ebombtimeg)) {
tellTarget ("/ebmbg") {
play();
};
}
} else if (ebombtimeg < 1.6) {
ebombg = false;
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
}
if (ebombh == true) {
if (0 < ebombtimeh) {
ebombtimeh = ebombtimeh - 0.5;
setProperty("/ebmbh", _x , getProperty("/ebmbh", _x) + (exbombmovh * 1.5));
setProperty("/ebmbh", _y , getProperty("/ebmbh", _y) + (exbombmovh * 1.5));
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _xscale , getProperty("/ebmbh", _xscale) - 2.5);
setProperty("/ebmbh", _yscale , getProperty("/ebmbh", _yscale) - 2.5);
if (_root.ebmbh.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbh") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombh = false;
if (1.1 < ebombtimeh) {
ebombtimeh = 1;
}
}
if ((ebombtimeh < 7) and (1.1 < ebombtimeh)) {
tellTarget ("/ebmbh") {
play();
};
}
} else if (ebombtimeh < 1.6) {
ebombh = false;
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
}
if (_root.ebmba.hittest(_root.Pshiptop)) {
ebomba = false;
duplicateMovieClip ("eblowa", "eblowup", 999);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
if (_root.ebmbb.hittest(_root.Pshiptop)) {
ebombb = false;
duplicateMovieClip ("eblowb", "eblowup", 999);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
if (_root.ebmbc.hittest(_root.Pshiptop)) {
ebombc = false;
duplicateMovieClip ("eblowc", "eblowup", 999);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
if (_root.ebmbd.hittest(_root.Pshiptop)) {
ebombd = false;
duplicateMovieClip ("eblowd", "eblowup", 999);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
if (_root.ebmbe.hittest(_root.Pshiptop)) {
ebombe = false;
duplicateMovieClip ("eblowe", "eblowup", 999);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
if (_root.ebmbf.hittest(_root.Pshiptop)) {
ebombf = false;
duplicateMovieClip ("eblowf", "eblowup", 999);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
if (_root.ebmbg.hittest(_root.Pshiptop)) {
ebombg = false;
duplicateMovieClip ("eblowg", "eblowup", 999);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
if (_root.ebmbh.hittest(_root.Pshiptop)) {
ebombh = false;
duplicateMovieClip ("eblowh", "eblowup", 999);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
energy = Math.round(energy + intake);
imput = Math.round(intake);
if ((1000 + (ease * 100)) < energy) {
energy = 1000 + (ease * 100);
}
if (160 < energy) {
if (choice == false) {
choice = true;
}
}
if (choice == false) {
if (1 < speed) {
speed = speed - 1;
}
if (1 < weapon) {
weapon = weapon - 1;
}
}
if (choice == true) {
if (speed < choicespeed) {
speed = speed + 1;
}
if (weapon < choiceweapon) {
weapon = weapon + 1;
}
}
if (energy < 5) {
energy = 0;
choice = false;
}
if (0 < xmov) {
if (0 < ymov) {
intake = (7 - ((xmov + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - ((xmov - ymov) / 5)) - (speed / 1.5);
}
} else if (xmov < 1) {
if (0 < ymov) {
intake = (7 - (((-xmov) + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - (((-xmov) - ymov) / 5)) - (speed / 1.5);
}
}
shcount = shcount - 1;
if (shcount < 1) {
shcount = 20;
if (she == false) {
she = true;
}
} else if (she == true) {
she = false;
}
if (she == true) {
sheilds = sheilds + 3;
}
usage = Math.round((energy / (2000 + (ease * 100))) * 100) + "%";
if (nmeh < 1) {
if (byebye == false) {
setProperty("/bhe", _visible , 100);
setProperty("/bhe", _visible , 100);
byebye = true;
bght = 14;
}
}
if (byebye == true) {
if (0 < bght) {
bght = bght - 1;
frame = int(bght);
tellTarget (_root.bhe) {
gotoAndStop(_root.frame);
};
setProperty("/enemy", _alpha , getProperty("/enemy", _alpha) - 8);
setProperty("/esheild", _visible , 0);
setProperty("/esheild", _visible , 0);
setProperty("/bhe", _y , getProperty("/enemy", _y));
setProperty("/bhe", _x , getProperty("/enemy", _x));
nmeh = 0;
} else if (bght < 1) {
nmeh = 700 + (ease * 100);
nmesheild = 700 + (ease * 100);
outnumber = outnumber - 1;
setProperty("/enemy", _x , 0);
setProperty("/enemy", _x , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _alpha , 100);
setProperty("/enemy", _alpha , 100);
setProperty("/esheild", _visible , 100);
setProperty("/esheild", _visible , 100);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
byebye = false;
}
}
bone = Math.round(outnumber / 10) + 1;
if (arm < 1) {
gotoAndPlay (2918);
}
if (outnumber < 1) {
tech = (teck + Math.round(outnumber / 10)) + 1;
techn = Math.round(outnumber / 10) + 1;
rank = rank + bone;
gotoAndPlay (2415);
if (termission < 4) {
termission = 4;
}
}
Frame 2411
gotoAndPlay (2410);
Frame 2412
nextFrame();
Frame 2414
prevFrame();
Frame 2415
frame = int(outnumber);
tellTarget (_root.enemys) {
gotoAndStop(_root.frame);
};
frame = int(techn);
tellTarget (_root.technoligy) {
gotoAndStop(_root.frame);
};
frame = int(bone);
tellTarget (_root.bonus) {
gotoAndStop(_root.frame);
};
frame = int(rank);
tellTarget (_root.rankk) {
gotoAndStop(_root.frame);
};
Frame 2416
gotoAndPlay (2415);
Instance of Symbol 630 MovieClip "bmba" in Frame 2418
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbb" in Frame 2418
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbc" in Frame 2418
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbd" in Frame 2418
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbe" in Frame 2418
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbf" in Frame 2418
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbg" in Frame 2418
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbh" in Frame 2418
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Frame 2427
tellTarget (_root.backround) {
gotoAndStop (4);
};
Frame 2455
gotoAndPlay (2409);
Frame 2456
nextFrame();
stop();
Frame 2457
_quality = "high";
Frame 2458
prevFrame();
Frame 2459
back = 5;
arm = 6000 - (ease * 1000);
sheild = 1000 - (ease * 100);
nmeh = 800 + (ease * 100);
nmesheild = 800 + (ease * 100);
energy = 100;
she = false;
byebye = false;
shcount = 20;
outnumber = 7;
deca = 7;
decb = 15;
sec = 60;
secf = 61;
micro = 5;
microf = 0;
min = 10;
setProperty("/botsheild", _alpha , 0);
setProperty("/botsheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/updatebox", _alpha , 0);
setProperty("/updatebox", _alpha , 0);
setProperty("/race", _alpha , 0);
setProperty("/race", _alpha , 0);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
update = "";
xposition = 425;
yposition = 150;
weapon = 1;
nmemovx = 0;
nmemovy = 0;
speed = 0;
alpha = 0;
tech = 6;
qual = 1;
bomba = false;
bombb = false;
bombc = false;
bombd = false;
bombe = false;
bombf = false;
bombg = false;
bombh = false;
ebomba = false;
ebombb = false;
ebombc = false;
ebombd = false;
ebombe = false;
ebombf = false;
ebombg = false;
ebombh = false;
blowuptime = 3;
tellTarget ("blowa") {
stop();
};
tellTarget ("blowb") {
stop();
};
tellTarget ("blowc") {
stop();
};
tellTarget ("blowd") {
stop();
};
tellTarget ("blowe") {
stop();
};
tellTarget ("blowf") {
stop();
};
tellTarget ("blowg") {
stop();
};
tellTarget ("blowh") {
stop();
};
tellTarget ("eblowa") {
stop();
};
tellTarget ("eblowb") {
stop();
};
tellTarget ("eblowc") {
stop();
};
tellTarget ("eblowd") {
stop();
};
tellTarget ("eblowe") {
stop();
};
tellTarget ("eblowf") {
stop();
};
tellTarget ("eblowg") {
stop();
};
tellTarget ("eblowh") {
stop();
};
song = bsong + 1;
Instance of Symbol 659 MovieClip "Pshipbot" in Frame 2459
onClipEvent (enterFrame) {
if (1021 < _x) {
_x = 1020;
}
if (_x < -299) {
_x = -298;
}
if (451 < _y) {
_y = 450;
}
if (_y < -151) {
_y = -150;
}
}
Instance of Symbol 630 MovieClip "bmba" in Frame 2459
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbb" in Frame 2459
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbc" in Frame 2459
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbd" in Frame 2459
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbe" in Frame 2459
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbf" in Frame 2459
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbg" in Frame 2459
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbh" in Frame 2459
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 1095 MovieClip "enemy" in Frame 2459
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 680;
}
if (_x < 149) {
_x = 150;
}
if (301 < _y) {
_y = 300;
}
if (_y < -1) {
_y = 0;
}
}
Instance of Symbol 659 MovieClip "Pshiptop" in Frame 2459
onClipEvent (enterFrame) {
if (1021 < _x) {
_x = 1020;
}
if (_x < -299) {
_x = -298;
}
if (451 < _y) {
_y = 450;
}
if (_y < -151) {
_y = -150;
}
}
Frame 2460
frame = int(song);
tellTarget (_root.music) {
gotoAndStop(_root.frame);
};
tellTarget (_root.backround) {
gotoAndStop (3);
};
if (5 < getProperty("/esheild", _alpha)) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) - 6);
}
if (50 < getProperty("/enemy", _xscale)) {
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _visible , 100);
setProperty("/botsheild", _visible , 100);
setProperty("/topsheild", _visible , 0);
setProperty("/topsheild", _visible , 0);
} else {
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _visible , 100);
setProperty("/topsheild", _visible , 100);
setProperty("/botsheild", _visible , 0);
setProperty("/botsheild", _visible , 0);
}
if (5 < playersheild) {
playersheild = playersheild - 4;
}
setProperty("/botsheild", _x , getProperty("/Pshiptop", _x));
setProperty("/botsheild", _y , getProperty("/Pshiptop", _y));
setProperty("/botsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _x , getProperty("/Pshiptop", _x));
setProperty("topsheild", _y , getProperty("/Pshiptop", _y));
startDrag ("rat", true, 200, 0, 650, 300);
ymovwvar = ymov + 20;
if (qual == 1) {
_quality = "low";
} else if (qual == 2) {
_quality = "medium";
} else if (qual == 3) {
_quality = "high";
}
qualcount = qualcount - 1;
if (0 < qualcount) {
setProperty("/settings", _alpha , 100);
setProperty("/settings", _alpha , 100);
} else if (qualcount < 1) {
if (0 < getProperty("/settings", _alpha)) {
setProperty("/settings", _alpha , getProperty("/settings", _alpha) - 20);
}
}
deca = deca - 1;
decb = decb - 1;
if (deca < 1) {
deca = random(15) + 5;
tellTarget ("decora") {
play();
};
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _y , random(150));
setProperty("/decora", _y , random(150));
setProperty("/decora", _x , random(500) + 175);
setProperty("/decora", _x , random(500) + 175);
ascale = random(29) + 50;
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _xscale , ascale);
setProperty("/decora", _xscale , ascale);
}
if (decb < 1) {
decb = random(18) + 5;
tellTarget ("decorb") {
play();
};
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _x , random(500) + 175);
setProperty("/decorb", _x , random(500) + 175);
bscale = random(29) + 50;
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _xscale , bscale);
setProperty("/decorb", _xscale , bscale);
}
micro = micro - 5;
if (micro < 6) {
micro = 60;
sec = sec - 1;
}
if (sec < 1) {
sec = 60;
min = min - 1;
}
if ((micro < 19) and (9 < micro)) {
if (sec < 10) {
time = (((min + ":0") + sec) + ": ") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ": ") + micro;
}
} else if (19 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
} else if (micro < 10) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":0") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":0") + micro;
}
} else if (10 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
}
microf = microf - 5;
if (microf < 6) {
microf = 60;
secf = secf - 1;
}
if (secf < 1) {
secf = 60;
minf = min - 1;
}
if ((microf < 19) and (9 < microf)) {
if (secf < 10) {
timef = (secf + ": ") + microf;
} else if (9 < secf) {
timef = (secf + ": ") + microf;
}
} else if (19 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
} else if (microf < 10) {
if (secf < 10) {
timef = (secf + ":0") + microf;
} else if (9 < secf) {
timef = (sefc + ":0") + microf;
}
} else if (10 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
}
frame = int(qual);
tellTarget (_root.settings) {
gotoAndStop(_root.frame);
};
nmeY = nmemovy + 21;
frame = int(nmeY);
tellTarget (_root.enemy) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshiptop) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshipbot) {
gotoAndStop(_root.frame);
};
ratx = getProperty("/rat", _x);
raty = getProperty("/rat", _y);
xpos = getProperty("/Pshiptop", _x);
ypos = getProperty("/Pshiptop", _y);
if (cntrlz == 1) {
if (ypos < (raty - 1)) {
if (ymov < 20) {
if (0 < ymov) {
ymov = (ymov + 0.5) + (speed / 10);
} else {
ymov = (ymov + 1) + (speed / 10);
}
}
} else if ((raty + 1) < ypos) {
if (-20 < ymov) {
if (ymov < 0) {
ymov = (ymov - 0.5) - (speed / 10);
} else {
ymov = (ymov - 1) - (speed / 10);
}
}
} else if ((ymov < 2) and (0 < ymov)) {
ymov = 0;
} else if ((-3 < ymov) and (ymov < 0)) {
ymov = 0;
}
if (xpos < (ratx - 3)) {
if (xmov < 20) {
if (0 < xmov) {
xmov = (xmov + 0.5) + (speed / 10);
} else {
xmov = (xmov + 1) + (speed / 10);
}
}
} else if ((raty + 3) < xpos) {
if ((-20 - (speed / 10)) < xmov) {
if (xmov < 0) {
xmov = (xmov - 0.5) - (speed / 10);
} else {
xmov = (xmov - 1) - (speed / 10);
}
}
} else if ((xmov < 3) and (0 < xmov)) {
xmov = 0;
} else if ((-3 < xmov) and (xmov < 0)) {
xmov = 0;
}
if (Key.isDown(Key.UP)) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
if (Key.isDown(Key.LEFT)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
if (Key.isDown(Key.RIGHT)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
if (Key.isDown(Key.DOWN)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
} else if (cntrlz == 2) {
if (Key.isDown(Key.UP)) {
if (ymov < 20) {
ymov = (ymov + 1) + (speed / 10);
}
}
}
if (Key.isDown(Key.DOWN)) {
if (-20 < ymov) {
ymov = ymov - (speed / 10);
}
}
yposition = yposition + ymov;
if (Key.isDown(Key.RIGHT)) {
if (xmov < 20) {
xmov = (xmov + 1) + (speed / 10);
}
} else if (Key.isDown(Key.LEFT)) {
if (-20 < xmov) {
xmov = (xmov - 1) - (speed / 10);
}
}
if (1 < energy) {
xposition = xposition + (xmov * 1.5);
yposition = yposition + (ymov * 2);
} else {
xposition = xposition + ((xmov * 1.5) / 2);
yposition = yposition + ymov;
}
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
if (bomba == true) {
if (0 < bombtimea) {
bombtimea = bombtimea - 0.5;
setProperty("/bmba", _x , getProperty("/bmba", _x) + (xbombmova * 1.5));
setProperty("/bmba", _y , getProperty("/bmba", _y) + (xbombmova * 1.5));
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _xscale , getProperty("/bmba", _xscale) - 2.5);
setProperty("/bmba", _yscale , getProperty("/bmba", _yscale) - 2.5);
if (_root.bmba.hittest(_root.enemy)) {
tellTarget ("/bmba") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bomba = false;
if (1.1 < bombtimea) {
bombtimea = 1;
}
}
if ((bombtimea < 7) and (1.1 < bombtimea)) {
tellTarget ("/bmba") {
play();
};
}
} else if (bombtimea < 1.6) {
bomba = false;
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
}
if (bombb == true) {
if (0 < bombtimeb) {
bombtimeb = bombtimeb - 0.5;
setProperty("/bmbb", _x , getProperty("/bmbb", _x) + (xbombmovb * 1.5));
setProperty("/bmbb", _y , getProperty("/bmbb", _y) + (xbombmovb * 1.5));
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _xscale , getProperty("/bmbb", _xscale) - 2.5);
setProperty("/bmbb", _yscale , getProperty("/bmbb", _yscale) - 2.5);
if (_root.bmbb.hittest(_root.enemy)) {
tellTarget ("/bmbb") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombb = false;
if (1.1 < bombtimeb) {
bombtimeb = 1;
}
}
if ((bombtimeb < 7) and (1.1 < bombtimeb)) {
tellTarget ("/bmbb") {
play();
};
}
} else if (bombtimeb < 1.6) {
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
}
if (bombc == true) {
if (0 < bombtimec) {
bombtimec = bombtimec - 0.5;
setProperty("/bmbc", _x , getProperty("/bmbc", _x) + (xbombmovc * 1.5));
setProperty("/bmbc", _y , getProperty("/bmbc", _y) + (xbombmovc * 1.5));
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _xscale , getProperty("/bmbc", _xscale) - 2.5);
setProperty("/bmbc", _yscale , getProperty("/bmbc", _yscale) - 2.5);
if (_root.bmbc.hittest(_root.enemy)) {
tellTarget ("/bmbc") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombc = false;
if (1.1 < bombtimec) {
bombtimec = 1;
}
}
if ((bombtimec < 7) and (1.1 < bombtimec)) {
tellTarget ("/bmbc") {
play();
};
}
} else if (bombtimec < 1.6) {
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
}
if (bombd == true) {
if (0 < bombtimed) {
bombtimed = bombtimed - 0.5;
setProperty("/bmbd", _x , getProperty("/bmbd", _x) + (xbombmovd * 1.5));
setProperty("/bmbd", _y , getProperty("/bmbd", _y) + (xbombmovd * 1.5));
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _xscale , getProperty("/bmbd", _xscale) - 2.5);
setProperty("/bmbd", _yscale , getProperty("/bmbd", _yscale) - 2.5);
if (_root.bmbd.hittest(_root.enemy)) {
tellTarget ("/bmbd") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombd = false;
if (1.1 < bombtimed) {
bombtimed = 1;
}
}
if ((bombtimed < 7) and (1.1 < bombtimed)) {
tellTarget ("/bmbd") {
play();
};
}
} else if (bombtimed < 1.6) {
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
}
if (bombe == true) {
if (0 < bombtimee) {
bombtimee = bombtimee - 0.5;
setProperty("/bmbe", _x , getProperty("/bmbe", _x) + (xbombmove * 1.5));
setProperty("/bmbe", _y , getProperty("/bmbe", _y) + (xbombmove * 1.5));
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _xscale , getProperty("/bmbe", _xscale) - 2.5);
setProperty("/bmbe", _yscale , getProperty("/bmbe", _yscale) - 2.5);
if (_root.bmbe.hittest(_root.enemy)) {
tellTarget ("/bmbe") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombe = false;
if (1.1 < bombtimee) {
bombtimee = 1;
}
}
if ((bombtimee < 7) and (1.1 < bombtimee)) {
tellTarget ("/bmbe") {
play();
};
}
} else if (bombtimee < 1.6) {
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
}
if (bombf == true) {
if (0 < bombtimef) {
bombtimef = bombtimef - 0.5;
setProperty("/bmbf", _x , getProperty("/bmbf", _x) + (xbombmovf * 1.5));
setProperty("/bmbf", _y , getProperty("/bmbf", _y) + (xbombmovf * 1.5));
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _xscale , getProperty("/bmbf", _xscale) - 2.5);
setProperty("/bmbf", _yscale , getProperty("/bmbf", _yscale) - 2.5);
if (_root.bmbf.hittest(_root.enemy)) {
tellTarget ("/bmbf") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombf = false;
if (1.1 < bombtimef) {
bombtimef = 1;
}
}
if ((bombtimef < 7) and (1.1 < bombtimef)) {
tellTarget ("/bmbf") {
play();
};
}
} else if (bombtimef < 1.6) {
bombf = false;
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
}
if (bombg == true) {
if (0 < bombtimeg) {
bombtimeg = bombtimeg - 0.5;
setProperty("/bmbg", _x , getProperty("/bmbg", _x) + (xbombmovg * 1.5));
setProperty("/bmbg", _y , getProperty("/bmbg", _y) + (xbombmovg * 1.5));
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _xscale , getProperty("/bmbg", _xscale) - 2.5);
setProperty("/bmbg", _yscale , getProperty("/bmbg", _yscale) - 2.5);
if (_root.bmbg.hittest(_root.enemy)) {
tellTarget ("/bmbg") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
esheild = 0;
}
bombg = false;
if (1.1 < bombtimeg) {
bombtimeg = 1;
}
}
if ((bombtimeg < 7) and (1.1 < bombtimeg)) {
tellTarget ("/bmbg") {
play();
};
}
} else if (bombtimeg < 1.6) {
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
}
if (bombh == true) {
if (0 < bombtimeh) {
bombtimeh = bombtimeh - 0.5;
setProperty("/bmbh", _x , getProperty("/bmbh", _x) + (xbombmovh * 1.5));
setProperty("/bmbh", _y , getProperty("/bmbh", _y) + (xbombmovh * 1.5));
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _xscale , getProperty("/bmbh", _xscale) - 2.5);
setProperty("/bmbh", _yscale , getProperty("/bmbh", _yscale) - 2.5);
if (_root.bmbh.hittest(_root.enemy)) {
tellTarget ("/bmbh") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombh = false;
if (1.1 < bombtimeh) {
bombtimeh = 1;
}
}
if ((bombtimeh < 7) and (1.1 < bombtimeh)) {
tellTarget ("/bmbh") {
play();
};
}
} else if (bombtimeh < 1.6) {
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
}
if (_root.bmba.hittest(_root.enemy)) {
bomba = false;
duplicateMovieClip ("blowa", "blowup", 999);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
if (_root.bmbb.hittest(_root.enemy)) {
duplicateMovieClip ("blowb", "blowup", 999);
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
if (_root.bmbc.hittest(_root.enemy)) {
duplicateMovieClip ("blowc", "blowup", 999);
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
if (_root.bmbd.hittest(_root.enemy)) {
duplicateMovieClip ("blowd", "blowup", 999);
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
if (_root.bmbe.hittest(_root.enemy)) {
duplicateMovieClip ("blowe", "blowup", 999);
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
if (_root.bmbf.hittest(_root.enemy)) {
duplicateMovieClip ("blowf", "blowup", 999);
bombf = false;
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
if (_root.bmbg.hittest(_root.enemy)) {
duplicateMovieClip ("blowg", "blowup", 999);
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
if (_root.bmbh.hittest(_root.enemy)) {
duplicateMovieClip ("blowh", "blowup", 999);
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
blowuptime = blowuptime - 1;
if (blowuptime < 0) {
blowuptime = 3;
setProperty("/blowa", _x , getProperty("/bmba", _x));
setProperty("/blowb", _x , getProperty("/bmbb", _x));
setProperty("/blowc", _x , getProperty("/bmbc", _x));
setProperty("/blowd", _x , getProperty("/bmbd", _x));
setProperty("/blowe", _x , getProperty("/bmbe", _x));
setProperty("/blowf", _x , getProperty("/bmbf", _x));
setProperty("/blowg", _x , getProperty("/bmbh", _x));
setProperty("/blowh", _x , getProperty("/bmbh", _x));
setProperty("/blowa", _y , getProperty("/bmba", _y));
setProperty("/blowb", _y , getProperty("/bmbb", _y));
setProperty("/blowc", _y , getProperty("/bmbc", _y));
setProperty("/blowd", _y , getProperty("/bmbd", _y));
setProperty("/blowe", _y , getProperty("/bmbe", _y));
setProperty("/blowf", _y , getProperty("/bmbf", _y));
setProperty("/blowg", _y , getProperty("/bmbg", _y));
setProperty("/blowh", _y , getProperty("/bmbh", _y));
}
Ey = getProperty("/enemy", _y);
Ex = getProperty("/enemy", _x);
orgx = 425;
orgy = 150;
dist_x = Ex - orgx;
dist_y = Ey - orgy;
if (dist_x < 0) {
norm = -1 * dist_x;
} else {
norm = dist_x;
}
if (dist_y < 0) {
normalise = norm + (-1 * dist_y);
} else {
normalise = norm + dist_y;
}
if ((dist_x >= 0) and (dist_y >= 0)) {
tehangle = (90 * (dist_y / normalise)) - 90;
} else if ((0 >= dist_x) and (dist_y >= 0)) {
tehangle = -90 * (dist_x / normalise);
} else if ((0 >= dist_x) and (0 >= dist_y)) {
tehangle = (-90 * (dist_y / normalise)) + 90;
} else {
tehangle = (90 * (dist_x / normalise)) + 180;
}
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _alpha , alpha);
setProperty("/arrow", _alpha , alpha);
if (_root.stage.hittest(_root.enemy)) {
if (19 < alpha) {
alpha = alpha - 20;
}
} else if (alpha < 99) {
alpha = alpha + 20;
}
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _x , getProperty("/enemy", _x));
setProperty("/esheild", _y , getProperty("/enemy", _y));
if (250 < getProperty("/enemy", _y)) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) - 3);
} else if (getProperty("/enemy", _y) < 50) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) + 3);
} else {
setProperty("/enemy", _y , (getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9));
}
if (getProperty("/enemy", _x) < 220) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) + 3);
} else if (630 < getProperty("/enemy", _x)) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) - 3);
} else {
setProperty("/enemy", _x , (getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7));
}
nmex = getProperty("/enemy", _x);
if ((getProperty("/enemy", _xscale) + 10) < 50) {
if (getProperty("/enemy", _x) < getProperty("/Pshiptop", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/enemy", _y) < getProperty("/Pshiptop", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
} else if (50 < (getProperty("/enemy", _xscale) + 10)) {
if (getProperty("/Pshiptop", _x) < getProperty("/enemy", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/Pshiptop", _y) < getProperty("/enemy", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
}
eweapon = 1;
if (eweapon == 1) {
if (ebomba == false) {
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
ebomba = true;
ebombtimea = 10;
exbombmova = nmemovx;
eybombmova = nmemovy;
erbombmova = nmemovx * 4;
} else if (ebombb == false) {
setProperty("/ebmbb", _y , getProperty("/enemy", _y));
setProperty("ebmbb", _y , getProperty("/enemy", _y));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
ebombb = true;
ebombtimeb = 10;
exbombmovb = nmemovx;
eybombmovb = nmemovy;
erbombmovb = nmemovx * 4;
} else if (ebombc == false) {
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
ebombc = true;
ebombtimec = 10;
exbombmovc = nmemovx;
eybombmovc = nmemovy;
erbombmovc = nmemovx * 4;
} else if (ebombd == false) {
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
ebombd = true;
ebombtimed = 10;
exbombmovd = nmemovx;
eybombmovd = nmemovy;
erbombmovd = nmemovx * 4;
} else if (ebombe == false) {
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
ebombe = true;
ebombtimee = 10;
exbombmove = nmemovx;
eybombmove = nmemovy;
erbombmove = nmemovx * 4;
} else if (ebombf == false) {
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
ebombf = true;
ebombtimef = 10;
exbombmovf = nmemovx;
eybombmovf = nmemovy;
erbombmovf = nmemovx * 4;
} else if (ebombg == false) {
setProperty("/bmbg", _y , getProperty("/enemy", _y));
setProperty("/ebmbg", _y , getProperty("/enemy", _y));
setProperty("/bmbg", _x , getProperty("/enemy", _x));
setProperty("/ebmbg", _x , getProperty("/enemy", _x));
ebombg = true;
ebombtimeg = 10;
exbombmovg = nmemovx;
eybombmovg = nmemovy;
erbombmovg = nmemovx * 4;
} else if (ebombh == false) {
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
ebombh = true;
ebombtimeh = 10;
exbombmovh = nmemovx;
eybombmovh = nmemovy;
erbombmovh = nmemovx * 4;
}
}
if (ebomba == true) {
if (0 < ebombtimea) {
ebombtimea = ebombtimea - 0.5;
setProperty("/ebmba", _x , getProperty("/ebmba", _x) + (exbombmova * 1.5));
setProperty("/ebmba", _y , getProperty("/ebmba", _y) + (exbombmova * 1.5));
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _xscale , getProperty("/ebmba", _xscale) - 2.5);
setProperty("/ebmba", _yscale , getProperty("/ebmba", _yscale) - 2.5);
if (_root.ebmba.hittest(_root.Pshiptop)) {
tellTarget ("/ebmba") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
sheild = 0;
arm = arm - 3;
}
ebomba = false;
if (1.1 < ebombtimea) {
ebombtimea = 1;
}
}
if ((ebombtimea < 7) and (1.1 < ebombtimea)) {
tellTarget ("/ebmba") {
play();
};
}
} else if (ebombtimea < 1.6) {
ebomba = false;
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
}
if (ebombb == true) {
if (0 < ebombtimeb) {
ebombtimeb = ebombtimeb - 0.5;
setProperty("/ebmbb", _x , getProperty("/ebmbb", _x) + (exbombmovb * 1.5));
setProperty("/ebmbb", _y , getProperty("/ebmbb", _y) + (exbombmovb * 1.5));
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _xscale , getProperty("/ebmbb", _xscale) - 2.5);
setProperty("/ebmbb", _yscale , getProperty("/ebmbb", _yscale) - 2.5);
if (_root.ebmbb.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbb") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombb = false;
if (1.1 < ebombtimeb) {
ebombtimeb = 1;
}
}
if ((ebombtimeb < 7) and (1.1 < ebombtimeb)) {
tellTarget ("/ebmbb") {
play();
};
}
} else if (ebombtimeb < 1.6) {
ebombb = false;
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
}
if (ebombc == true) {
if (0 < ebombtimec) {
ebombtimec = ebombtimec - 0.5;
setProperty("/ebmbc", _x , getProperty("/ebmbc", _x) + (exbombmovc * 1.5));
setProperty("/ebmbc", _y , getProperty("/ebmbc", _y) + (exbombmovc * 1.5));
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _xscale , getProperty("/ebmbc", _xscale) - 2.5);
setProperty("/ebmbc", _yscale , getProperty("/ebmbc", _yscale) - 2.5);
if (_root.ebmbc.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbc") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombc = false;
if (1.1 < ebombtimec) {
ebombtimec = 1;
}
}
if ((ebombtimec < 7) and (1.1 < ebombtimec)) {
tellTarget ("/ebmbc") {
play();
};
}
} else if (ebombtimec < 1.6) {
ebombc = false;
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
}
if (ebombd == true) {
if (0 < ebombtimed) {
ebombtimed = ebombtimed - 0.5;
setProperty("/ebmbd", _x , getProperty("/ebmbd", _x) + (exbombmovd * 1.5));
setProperty("/ebmbd", _y , getProperty("/ebmbd", _y) + (exbombmovd * 1.5));
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _xscale , getProperty("/ebmbd", _xscale) - 2.5);
setProperty("/ebmbd", _yscale , getProperty("/ebmbd", _yscale) - 2.5);
if (_root.ebmbd.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbd") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombd = false;
if (1.1 < ebombtimed) {
ebombtimed = 1;
}
}
if ((ebombtimed < 7) and (1.1 < ebombtimed)) {
tellTarget ("/ebmbd") {
play();
};
}
} else if (ebombtimed < 1.6) {
ebombd = false;
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
}
if (ebombe == true) {
if (0 < ebombtimee) {
ebombtimee = ebombtimee - 0.5;
setProperty("/ebmbe", _x , getProperty("/ebmbe", _x) + (exbombmove * 1.5));
setProperty("/ebmbe", _y , getProperty("/ebmbe", _y) + (exbombmove * 1.5));
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _xscale , getProperty("/ebmbe", _xscale) - 2.5);
setProperty("/ebmbe", _yscale , getProperty("/ebmbe", _yscale) - 2.5);
if (_root.ebmbe.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbe") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombe = false;
if (1.1 < ebombtimee) {
ebombtimee = 1;
}
}
if ((ebombtimee < 7) and (1.1 < ebombtimee)) {
tellTarget ("/ebmbe") {
play();
};
}
} else if (ebombtimee < 1.6) {
ebombe = false;
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
}
if (ebombf == true) {
if (0 < ebombtimef) {
ebombtimef = ebombtimef - 0.5;
setProperty("/ebmbf", _x , getProperty("/ebmbf", _x) + (exbombmovf * 1.5));
setProperty("/ebmbf", _y , getProperty("/ebmbf", _y) + (exbombmovf * 1.5));
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _xscale , getProperty("/ebmbf", _xscale) - 2.5);
setProperty("/ebmbf", _yscale , getProperty("/ebmbf", _yscale) - 2.5);
if (_root.ebmbf.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbf") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombf = false;
if (1.1 < ebombtimef) {
ebombtimef = 1;
}
}
if ((ebombtimef < 7) and (1.1 < ebombtimef)) {
tellTarget ("/ebmbf") {
play();
};
}
} else if (ebombtimef < 1.6) {
ebombf = false;
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
}
if (ebombg == true) {
if (0 < ebombtimeg) {
ebombtimeg = ebombtimeg - 0.5;
setProperty("/ebmbg", _x , getProperty("/ebmbg", _x) + (exbombmovg * 1.5));
setProperty("/ebmbg", _y , getProperty("/ebmbg", _y) + (exbombmovg * 1.5));
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _xscale , getProperty("/ebmbg", _xscale) - 2.5);
setProperty("/ebmbg", _yscale , getProperty("/ebmbg", _yscale) - 2.5);
if (_root.ebmbg.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbg") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombg = false;
if (1.1 < ebombtimeg) {
ebombtimeg = 1;
}
}
if ((ebombtimeg < 7) and (1.1 < ebombtimeg)) {
tellTarget ("/ebmbg") {
play();
};
}
} else if (ebombtimeg < 1.6) {
ebombg = false;
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
}
if (ebombh == true) {
if (0 < ebombtimeh) {
ebombtimeh = ebombtimeh - 0.5;
setProperty("/ebmbh", _x , getProperty("/ebmbh", _x) + (exbombmovh * 1.5));
setProperty("/ebmbh", _y , getProperty("/ebmbh", _y) + (exbombmovh * 1.5));
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _xscale , getProperty("/ebmbh", _xscale) - 2.5);
setProperty("/ebmbh", _yscale , getProperty("/ebmbh", _yscale) - 2.5);
if (_root.ebmbh.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbh") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombh = false;
if (1.1 < ebombtimeh) {
ebombtimeh = 1;
}
}
if ((ebombtimeh < 7) and (1.1 < ebombtimeh)) {
tellTarget ("/ebmbh") {
play();
};
}
} else if (ebombtimeh < 1.6) {
ebombh = false;
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
}
if (_root.ebmba.hittest(_root.Pshiptop)) {
ebomba = false;
duplicateMovieClip ("eblowa", "eblowup", 999);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
if (_root.ebmbb.hittest(_root.Pshiptop)) {
ebombb = false;
duplicateMovieClip ("eblowb", "eblowup", 999);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
if (_root.ebmbc.hittest(_root.Pshiptop)) {
ebombc = false;
duplicateMovieClip ("eblowc", "eblowup", 999);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
if (_root.ebmbd.hittest(_root.Pshiptop)) {
ebombd = false;
duplicateMovieClip ("eblowd", "eblowup", 999);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
if (_root.ebmbe.hittest(_root.Pshiptop)) {
ebombe = false;
duplicateMovieClip ("eblowe", "eblowup", 999);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
if (_root.ebmbf.hittest(_root.Pshiptop)) {
ebombf = false;
duplicateMovieClip ("eblowf", "eblowup", 999);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
if (_root.ebmbg.hittest(_root.Pshiptop)) {
ebombg = false;
duplicateMovieClip ("eblowg", "eblowup", 999);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
if (_root.ebmbh.hittest(_root.Pshiptop)) {
ebombh = false;
duplicateMovieClip ("eblowh", "eblowup", 999);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
energy = Math.round(energy + intake);
imput = Math.round(intake);
if ((1000 + (ease * 100)) < energy) {
energy = 1000 + (ease * 100);
}
if (160 < energy) {
if (choice == false) {
choice = true;
}
}
if (choice == false) {
if (1 < speed) {
speed = speed - 1;
}
if (1 < weapon) {
weapon = weapon - 1;
}
}
if (choice == true) {
if (speed < choicespeed) {
speed = speed + 1;
}
if (weapon < choiceweapon) {
weapon = weapon + 1;
}
}
if (energy < 5) {
energy = 0;
choice = false;
}
if (0 < xmov) {
if (0 < ymov) {
intake = (7 - ((xmov + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - ((xmov - ymov) / 5)) - (speed / 1.5);
}
} else if (xmov < 1) {
if (0 < ymov) {
intake = (7 - (((-xmov) + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - (((-xmov) - ymov) / 5)) - (speed / 1.5);
}
}
shcount = shcount - 1;
if (shcount < 1) {
shcount = 20;
if (she == false) {
she = true;
}
} else if (she == true) {
she = false;
}
if (she == true) {
sheilds = sheilds + 3;
}
usage = Math.round((energy / (2000 + (ease * 100))) * 100) + "%";
if (nmeh < 1) {
if (byebye == false) {
setProperty("/bhe", _visible , 100);
setProperty("/bhe", _visible , 100);
byebye = true;
bght = 14;
}
}
if (byebye == true) {
if (0 < bght) {
bght = bght - 1;
frame = int(bght);
tellTarget (_root.bhe) {
gotoAndStop(_root.frame);
};
setProperty("/enemy", _alpha , getProperty("/enemy", _alpha) - 8);
setProperty("/esheild", _visible , 0);
setProperty("/esheild", _visible , 0);
setProperty("/bhe", _y , getProperty("/enemy", _y));
setProperty("/bhe", _x , getProperty("/enemy", _x));
nmeh = 0;
} else if (bght < 1) {
nmeh = 800 + (ease * 100);
nmesheild = 800 + (ease * 100);
outnumber = outnumber - 1;
setProperty("/enemy", _x , 0);
setProperty("/enemy", _x , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _alpha , 100);
setProperty("/enemy", _alpha , 100);
setProperty("/esheild", _visible , 100);
setProperty("/esheild", _visible , 100);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
byebye = false;
}
}
bone = Math.round(outnumber / 10) + 1;
if (arm < 1) {
gotoAndPlay (2918);
}
if (min == 0) {
if (sec < 1) {
gotoAndPlay (2918);
}
}
if (outnumber < 1) {
tech = (teck + Math.round(outnumber / 10)) + 1;
techn = Math.round(outnumber / 10) + 1;
rank = rank + bone;
gotoAndPlay (2465);
if (termission < 5) {
termission = 5;
}
}
Frame 2461
gotoAndPlay (2460);
Frame 2462
nextFrame();
Frame 2464
prevFrame();
Frame 2465
frame = int(outnumber);
tellTarget (_root.enemys) {
gotoAndStop(_root.frame);
};
frame = int(techn);
tellTarget (_root.technoligy) {
gotoAndStop(_root.frame);
};
frame = int(bone);
tellTarget (_root.bonus) {
gotoAndStop(_root.frame);
};
frame = int(rank);
tellTarget (_root.rankk) {
gotoAndStop(_root.frame);
};
Frame 2466
gotoAndPlay (2465);
Instance of Symbol 630 MovieClip "bmba" in Frame 2468
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbb" in Frame 2468
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbc" in Frame 2468
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbd" in Frame 2468
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbe" in Frame 2468
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbf" in Frame 2468
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbg" in Frame 2468
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbh" in Frame 2468
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Frame 2477
tellTarget (_root.backround) {
gotoAndStop (3);
};
Frame 2505
gotoAndPlay (2459);
Frame 2506
tellTarget ("zz") {
nextFrame();
};
Frame 2507
tellTarget ("zz") {
nextFrame();
};
Frame 2508
tellTarget ("zz") {
nextFrame();
};
Frame 2509
tellTarget ("zz") {
nextFrame();
};
Frame 2510
tellTarget ("zz") {
nextFrame();
};
Frame 2511
tellTarget ("zz") {
nextFrame();
};
Frame 2512
tellTarget ("zz") {
nextFrame();
};
Frame 2513
tellTarget ("zz") {
nextFrame();
};
Frame 2514
tellTarget ("zz") {
nextFrame();
};
Frame 2515
tellTarget ("zz") {
nextFrame();
};
Frame 2516
tellTarget ("zz") {
nextFrame();
};
Frame 2517
tellTarget ("zz") {
nextFrame();
};
Frame 2518
tellTarget ("zz") {
nextFrame();
};
Frame 2519
tellTarget ("zz") {
nextFrame();
};
Frame 2520
tellTarget ("zz") {
nextFrame();
};
Frame 2521
tellTarget ("zz") {
nextFrame();
};
Frame 2522
tellTarget ("zz") {
nextFrame();
};
Frame 2523
tellTarget ("zz") {
nextFrame();
};
Frame 2524
tellTarget ("zz") {
nextFrame();
};
Frame 2525
tellTarget ("zz") {
nextFrame();
};
Frame 2546
gotoAndPlay (2249);
Frame 2910
gotoAndPlay (2249);
Frame 2912
back = 5;
arm = 6000 - (ease * 1000);
sheild = 1000 - (ease * 100);
nmeh = 1000 + (ease * 100);
nmesheild = 1000 + (ease * 100);
energy = 100;
she = false;
byebye = false;
shcount = 20;
outnumber = 99;
deca = 7;
decb = 15;
sec = 60;
secf = 61;
micro = 5;
microf = 10;
min = 5;
setProperty("/botsheild", _alpha , 0);
setProperty("/botsheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/esheild", _alpha , 0);
setProperty("/updatebox", _alpha , 0);
setProperty("/updatebox", _alpha , 0);
setProperty("/race", _alpha , 0);
setProperty("/race", _alpha , 0);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
update = "";
xposition = 425;
yposition = 150;
weapon = 1;
nmemovx = 0;
nmemovy = 0;
speed = 0;
alpha = 0;
tech = 6;
qual = 1;
bomba = false;
bombb = false;
bombc = false;
bombd = false;
bombe = false;
bombf = false;
bombg = false;
bombh = false;
ebomba = false;
ebombb = false;
ebombc = false;
ebombd = false;
ebombe = false;
ebombf = false;
ebombg = false;
ebombh = false;
blowuptime = 3;
tellTarget ("blowa") {
stop();
};
tellTarget ("blowb") {
stop();
};
tellTarget ("blowc") {
stop();
};
tellTarget ("blowd") {
stop();
};
tellTarget ("blowe") {
stop();
};
tellTarget ("blowf") {
stop();
};
tellTarget ("blowg") {
stop();
};
tellTarget ("blowh") {
stop();
};
tellTarget ("eblowa") {
stop();
};
tellTarget ("eblowb") {
stop();
};
tellTarget ("eblowc") {
stop();
};
tellTarget ("eblowd") {
stop();
};
tellTarget ("eblowe") {
stop();
};
tellTarget ("eblowf") {
stop();
};
tellTarget ("eblowg") {
stop();
};
tellTarget ("eblowh") {
stop();
};
song = bsong + 1;
Instance of Symbol 1095 MovieClip "Pshipbot" in Frame 2912
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 680;
}
if (_x < 149) {
_x = 150;
}
if (301 < _y) {
_y = 300;
}
if (_y < -1) {
_y = 0;
}
}
Instance of Symbol 630 MovieClip "bmba" in Frame 2912
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbb" in Frame 2912
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbc" in Frame 2912
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbd" in Frame 2912
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbe" in Frame 2912
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbf" in Frame 2912
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbg" in Frame 2912
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 630 MovieClip "bmbh" in Frame 2912
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Instance of Symbol 659 MovieClip "enemy" in Frame 2912
onClipEvent (enterFrame) {
if (1021 < _x) {
_x = 1020;
}
if (_x < -299) {
_x = -298;
}
if (451 < _y) {
_y = 450;
}
if (_y < -151) {
_y = -150;
}
}
Instance of Symbol 1095 MovieClip "Pshiptop" in Frame 2912
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 680;
}
if (_x < 149) {
_x = 150;
}
if (301 < _y) {
_y = 300;
}
if (_y < -1) {
_y = 0;
}
}
Frame 2913
frame = int(song);
tellTarget (_root.music) {
gotoAndStop(_root.frame);
};
frame = int(back);
tellTarget (_root.backround) {
gotoAndStop(_root.frame);
};
if (5 < getProperty("/esheild", _alpha)) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) - 6);
}
if (50 < getProperty("/enemy", _xscale)) {
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _alpha , playersheild);
setProperty("/botsheild", _visible , 100);
setProperty("/botsheild", _visible , 100);
setProperty("/topsheild", _visible , 0);
setProperty("/topsheild", _visible , 0);
} else {
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _alpha , playersheild);
setProperty("/topsheild", _visible , 100);
setProperty("/topsheild", _visible , 100);
setProperty("/botsheild", _visible , 0);
setProperty("/botsheild", _visible , 0);
}
if (5 < playersheild) {
playersheild = playersheild - 4;
}
setProperty("/botsheild", _x , getProperty("/Pshiptop", _x));
setProperty("/botsheild", _y , getProperty("/Pshiptop", _y));
setProperty("/botsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _rotation , getProperty("/Pshiptop", _rotation) + 90);
setProperty("/topsheild", _x , getProperty("/Pshiptop", _x));
setProperty("topsheild", _y , getProperty("/Pshiptop", _y));
startDrag ("rat", true, 200, 0, 650, 300);
ymovwvar = ymov + 20;
if (qual == 1) {
_quality = "low";
} else if (qual == 2) {
_quality = "medium";
} else if (qual == 3) {
_quality = "high";
}
qualcount = qualcount - 1;
if (0 < qualcount) {
setProperty("/settings", _alpha , 100);
setProperty("/settings", _alpha , 100);
} else if (qualcount < 1) {
if (0 < getProperty("/settings", _alpha)) {
setProperty("/settings", _alpha , getProperty("/settings", _alpha) - 20);
}
}
deca = deca - 1;
decb = decb - 1;
if (deca < 1) {
deca = random(15) + 5;
tellTarget ("decora") {
play();
};
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _rotation , random(90));
setProperty("/decora", _y , random(150));
setProperty("/decora", _y , random(150));
setProperty("/decora", _x , random(500) + 175);
setProperty("/decora", _x , random(500) + 175);
ascale = random(29) + 50;
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _yscale , ascale);
setProperty("/decora", _xscale , ascale);
setProperty("/decora", _xscale , ascale);
}
if (decb < 1) {
decb = random(18) + 5;
tellTarget ("decorb") {
play();
};
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _rotation , random(90));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _y , random(150));
setProperty("/decorb", _x , random(500) + 175);
setProperty("/decorb", _x , random(500) + 175);
bscale = random(29) + 50;
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _yscale , bscale);
setProperty("/decorb", _xscale , bscale);
setProperty("/decorb", _xscale , bscale);
}
micro = micro - 5;
if (micro < 6) {
micro = 60;
sec = sec - 1;
}
if (sec < 1) {
sec = 60;
min = min - 1;
}
if ((micro < 19) and (9 < micro)) {
if (sec < 10) {
time = (((min + ":0") + sec) + ": ") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ": ") + micro;
}
} else if (19 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
} else if (micro < 10) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":0") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":0") + micro;
}
} else if (10 < micro) {
if (sec < 10) {
time = (((min + ":0") + sec) + ":") + micro;
} else if (9 < sec) {
time = (((min + ":") + sec) + ":") + micro;
}
}
microf = microf - 5;
if (microf < 6) {
microf = 60;
secf = secf - 1;
}
if (secf < 1) {
secf = 60;
minf = min - 1;
}
if ((microf < 19) and (9 < microf)) {
if (secf < 10) {
timef = (secf + ": ") + microf;
} else if (9 < secf) {
timef = (secf + ": ") + microf;
}
} else if (19 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
} else if (microf < 10) {
if (secf < 10) {
timef = (secf + ":0") + microf;
} else if (9 < secf) {
timef = (sefc + ":0") + microf;
}
} else if (10 < microf) {
if (secf < 10) {
timef = (secf + ":") + microf;
} else if (9 < secf) {
timef = (secf + ":") + microf;
}
}
frame = int(qual);
tellTarget (_root.settings) {
gotoAndStop(_root.frame);
};
nmeY = nmemovy + 21;
frame = int(nmeY);
tellTarget (_root.enemy) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshiptop) {
gotoAndStop(_root.frame);
};
frame = int(ymovwvar);
tellTarget (_root.Pshipbot) {
gotoAndStop(_root.frame);
};
ratx = getProperty("/rat", _x);
raty = getProperty("/rat", _y);
xpos = getProperty("/Pshiptop", _x);
ypos = getProperty("/Pshiptop", _y);
if (cntrlz == 1) {
if (ypos < (raty - 1)) {
if (ymov < 20) {
if (0 < ymov) {
ymov = (ymov + 0.5) + (speed / 10);
} else {
ymov = (ymov + 1) + (speed / 10);
}
}
} else if ((raty + 1) < ypos) {
if (-20 < ymov) {
if (ymov < 0) {
ymov = (ymov - 0.5) - (speed / 10);
} else {
ymov = (ymov - 1) - (speed / 10);
}
}
} else if ((ymov < 2) and (0 < ymov)) {
ymov = 0;
} else if ((-3 < ymov) and (ymov < 0)) {
ymov = 0;
}
if (xpos < (ratx - 3)) {
if (xmov < 20) {
if (0 < xmov) {
xmov = (xmov + 0.5) + (speed / 10);
} else {
xmov = (xmov + 1) + (speed / 10);
}
}
} else if ((raty + 3) < xpos) {
if ((-20 - (speed / 10)) < xmov) {
if (xmov < 0) {
xmov = (xmov - 0.5) - (speed / 10);
} else {
xmov = (xmov - 1) - (speed / 10);
}
}
} else if ((xmov < 3) and (0 < xmov)) {
xmov = 0;
} else if ((-3 < xmov) and (xmov < 0)) {
xmov = 0;
}
if (Key.isDown(Key.UP)) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
if (Key.isDown(Key.LEFT)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
if (Key.isDown(Key.RIGHT)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
if (Key.isDown(Key.DOWN)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
} else if (cntrlz == 2) {
if (Key.isDown(Key.UP)) {
if (ymov < 20) {
ymov = (ymov + 1) + (speed / 10);
}
}
}
if (Key.isDown(Key.DOWN)) {
if (-20 < ymov) {
ymov = ymov - (speed / 10);
}
}
yposition = yposition + ymov;
if (Key.isDown(Key.RIGHT)) {
if (xmov < 20) {
xmov = (xmov + 1) + (speed / 10);
}
} else if (Key.isDown(Key.LEFT)) {
if (-20 < xmov) {
xmov = (xmov - 1) - (speed / 10);
}
}
if (1 < energy) {
xposition = xposition + (xmov * 1.5);
yposition = yposition + (ymov * 2);
} else {
xposition = xposition + ((xmov * 1.5) / 2);
yposition = yposition + ymov;
}
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshiptop", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _rotation , xmov * 4);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshipbot", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshiptop", _y , yposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshipbot", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
setProperty("/Pshiptop", _x , xposition);
if (bomba == true) {
if (0 < bombtimea) {
bombtimea = bombtimea - 0.5;
setProperty("/bmba", _x , getProperty("/bmba", _x) + (xbombmova * 1.5));
setProperty("/bmba", _y , getProperty("/bmba", _y) + (xbombmova * 1.5));
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _rotation , rbombmova);
setProperty("/bmba", _xscale , getProperty("/bmba", _xscale) - 2.5);
setProperty("/bmba", _yscale , getProperty("/bmba", _yscale) - 2.5);
if (_root.bmba.hittest(_root.enemy)) {
tellTarget ("/bmba") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bomba = false;
if (1.1 < bombtimea) {
bombtimea = 1;
}
}
if ((bombtimea < 7) and (1.1 < bombtimea)) {
tellTarget ("/bmba") {
play();
};
}
} else if (bombtimea < 1.6) {
bomba = false;
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
}
if (bombb == true) {
if (0 < bombtimeb) {
bombtimeb = bombtimeb - 0.5;
setProperty("/bmbb", _x , getProperty("/bmbb", _x) + (xbombmovb * 1.5));
setProperty("/bmbb", _y , getProperty("/bmbb", _y) + (xbombmovb * 1.5));
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _rotation , rbombmovb);
setProperty("/bmbb", _xscale , getProperty("/bmbb", _xscale) - 2.5);
setProperty("/bmbb", _yscale , getProperty("/bmbb", _yscale) - 2.5);
if (_root.bmbb.hittest(_root.enemy)) {
tellTarget ("/bmbb") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombb = false;
if (1.1 < bombtimeb) {
bombtimeb = 1;
}
}
if ((bombtimeb < 7) and (1.1 < bombtimeb)) {
tellTarget ("/bmbb") {
play();
};
}
} else if (bombtimeb < 1.6) {
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
}
if (bombc == true) {
if (0 < bombtimec) {
bombtimec = bombtimec - 0.5;
setProperty("/bmbc", _x , getProperty("/bmbc", _x) + (xbombmovc * 1.5));
setProperty("/bmbc", _y , getProperty("/bmbc", _y) + (xbombmovc * 1.5));
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _rotation , rbombmovc);
setProperty("/bmbc", _xscale , getProperty("/bmbc", _xscale) - 2.5);
setProperty("/bmbc", _yscale , getProperty("/bmbc", _yscale) - 2.5);
if (_root.bmbc.hittest(_root.enemy)) {
tellTarget ("/bmbc") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombc = false;
if (1.1 < bombtimec) {
bombtimec = 1;
}
}
if ((bombtimec < 7) and (1.1 < bombtimec)) {
tellTarget ("/bmbc") {
play();
};
}
} else if (bombtimec < 1.6) {
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
}
if (bombd == true) {
if (0 < bombtimed) {
bombtimed = bombtimed - 0.5;
setProperty("/bmbd", _x , getProperty("/bmbd", _x) + (xbombmovd * 1.5));
setProperty("/bmbd", _y , getProperty("/bmbd", _y) + (xbombmovd * 1.5));
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _rotation , rbombmovd);
setProperty("/bmbd", _xscale , getProperty("/bmbd", _xscale) - 2.5);
setProperty("/bmbd", _yscale , getProperty("/bmbd", _yscale) - 2.5);
if (_root.bmbd.hittest(_root.enemy)) {
tellTarget ("/bmbd") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombd = false;
if (1.1 < bombtimed) {
bombtimed = 1;
}
}
if ((bombtimed < 7) and (1.1 < bombtimed)) {
tellTarget ("/bmbd") {
play();
};
}
} else if (bombtimed < 1.6) {
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
}
if (bombe == true) {
if (0 < bombtimee) {
bombtimee = bombtimee - 0.5;
setProperty("/bmbe", _x , getProperty("/bmbe", _x) + (xbombmove * 1.5));
setProperty("/bmbe", _y , getProperty("/bmbe", _y) + (xbombmove * 1.5));
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _rotation , rbombmove);
setProperty("/bmbe", _xscale , getProperty("/bmbe", _xscale) - 2.5);
setProperty("/bmbe", _yscale , getProperty("/bmbe", _yscale) - 2.5);
if (_root.bmbe.hittest(_root.enemy)) {
tellTarget ("/bmbe") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombe = false;
if (1.1 < bombtimee) {
bombtimee = 1;
}
}
if ((bombtimee < 7) and (1.1 < bombtimee)) {
tellTarget ("/bmbe") {
play();
};
}
} else if (bombtimee < 1.6) {
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
}
if (bombf == true) {
if (0 < bombtimef) {
bombtimef = bombtimef - 0.5;
setProperty("/bmbf", _x , getProperty("/bmbf", _x) + (xbombmovf * 1.5));
setProperty("/bmbf", _y , getProperty("/bmbf", _y) + (xbombmovf * 1.5));
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _rotation , rbombmovf);
setProperty("/bmbf", _xscale , getProperty("/bmbf", _xscale) - 2.5);
setProperty("/bmbf", _yscale , getProperty("/bmbf", _yscale) - 2.5);
if (_root.bmbf.hittest(_root.enemy)) {
tellTarget ("/bmbf") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
sheild = 0;
}
bombf = false;
if (1.1 < bombtimef) {
bombtimef = 1;
}
}
if ((bombtimef < 7) and (1.1 < bombtimef)) {
tellTarget ("/bmbf") {
play();
};
}
} else if (bombtimef < 1.6) {
bombf = false;
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _y , -5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
}
if (bombg == true) {
if (0 < bombtimeg) {
bombtimeg = bombtimeg - 0.5;
setProperty("/bmbg", _x , getProperty("/bmbg", _x) + (xbombmovg * 1.5));
setProperty("/bmbg", _y , getProperty("/bmbg", _y) + (xbombmovg * 1.5));
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _rotation , rbombmovg);
setProperty("/bmbg", _xscale , getProperty("/bmbg", _xscale) - 2.5);
setProperty("/bmbg", _yscale , getProperty("/bmbg", _yscale) - 2.5);
if (_root.bmbg.hittest(_root.enemy)) {
tellTarget ("/bmbg") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
esheild = 0;
}
bombg = false;
if (1.1 < bombtimeg) {
bombtimeg = 1;
}
}
if ((bombtimeg < 7) and (1.1 < bombtimeg)) {
tellTarget ("/bmbg") {
play();
};
}
} else if (bombtimeg < 1.6) {
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
}
if (bombh == true) {
if (0 < bombtimeh) {
bombtimeh = bombtimeh - 0.5;
setProperty("/bmbh", _x , getProperty("/bmbh", _x) + (xbombmovh * 1.5));
setProperty("/bmbh", _y , getProperty("/bmbh", _y) + (xbombmovh * 1.5));
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _rotation , rbombmovh);
setProperty("/bmbh", _xscale , getProperty("/bmbh", _xscale) - 2.5);
setProperty("/bmbh", _yscale , getProperty("/bmbh", _yscale) - 2.5);
if (_root.bmbh.hittest(_root.enemy)) {
tellTarget ("/bmbh") {
play();
};
if ((1 + weapon) < nmesheild) {
nmeh = Math.round(nmeh - (weapon / nmesheild));
if (getProperty("/esheild", _alpha) < 92) {
setProperty("/esheild", _alpha , getProperty("/esheild", _alpha) + 8);
}
nmesheild = nmesheild - weapon;
} else {
nmeh = Math.round(nmeh - weapon);
nmesheild = 0;
}
bombh = false;
if (1.1 < bombtimeh) {
bombtimeh = 1;
}
}
if ((bombtimeh < 7) and (1.1 < bombtimeh)) {
tellTarget ("/bmbh") {
play();
};
}
} else if (bombtimeh < 1.6) {
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
}
if (_root.bmba.hittest(_root.enemy)) {
bomba = false;
duplicateMovieClip ("blowa", "blowup", 999);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _y , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _x , 5000);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _xscale , 50);
setProperty("/bmba", _yscale , 50);
setProperty("/bmba", _yscale , 50);
}
if (_root.bmbb.hittest(_root.enemy)) {
duplicateMovieClip ("blowb", "blowup", 999);
bombb = false;
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _y , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _x , 5000);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _xscale , 50);
setProperty("/bmbb", _yscale , 50);
setProperty("/bmbb", _yscale , 50);
}
if (_root.bmbc.hittest(_root.enemy)) {
duplicateMovieClip ("blowc", "blowup", 999);
bombc = false;
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _y , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _x , 5000);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _xscale , 50);
setProperty("/bmbc", _yscale , 50);
setProperty("/bmbc", _yscale , 50);
}
if (_root.bmbd.hittest(_root.enemy)) {
duplicateMovieClip ("blowd", "blowup", 999);
bombd = false;
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _y , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _x , 5000);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _xscale , 50);
setProperty("/bmbd", _yscale , 50);
setProperty("/bmbd", _yscale , 50);
}
if (_root.bmbe.hittest(_root.enemy)) {
duplicateMovieClip ("blowe", "blowup", 999);
bombe = false;
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _y , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _x , 5000);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _xscale , 50);
setProperty("/bmbe", _yscale , 50);
setProperty("/bmbe", _yscale , 50);
}
if (_root.bmbf.hittest(_root.enemy)) {
duplicateMovieClip ("blowf", "blowup", 999);
bombf = false;
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _y , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _x , 5000);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _xscale , 50);
setProperty("/bmbf", _yscale , 50);
setProperty("/bmbf", _yscale , 50);
}
if (_root.bmbg.hittest(_root.enemy)) {
duplicateMovieClip ("blowg", "blowup", 999);
bombg = false;
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _y , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _x , 5000);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _xscale , 50);
setProperty("/bmbg", _yscale , 50);
setProperty("/bmbg", _yscale , 50);
}
if (_root.bmbh.hittest(_root.enemy)) {
duplicateMovieClip ("blowh", "blowup", 999);
bombh = false;
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _y , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _x , 5000);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _xscale , 50);
setProperty("/bmbh", _yscale , 50);
setProperty("/bmbh", _yscale , 50);
}
blowuptime = blowuptime - 1;
if (blowuptime < 0) {
blowuptime = 3;
setProperty("/blowa", _x , getProperty("/bmba", _x));
setProperty("/blowb", _x , getProperty("/bmbb", _x));
setProperty("/blowc", _x , getProperty("/bmbc", _x));
setProperty("/blowd", _x , getProperty("/bmbd", _x));
setProperty("/blowe", _x , getProperty("/bmbe", _x));
setProperty("/blowf", _x , getProperty("/bmbf", _x));
setProperty("/blowg", _x , getProperty("/bmbh", _x));
setProperty("/blowh", _x , getProperty("/bmbh", _x));
setProperty("/blowa", _y , getProperty("/bmba", _y));
setProperty("/blowb", _y , getProperty("/bmbb", _y));
setProperty("/blowc", _y , getProperty("/bmbc", _y));
setProperty("/blowd", _y , getProperty("/bmbd", _y));
setProperty("/blowe", _y , getProperty("/bmbe", _y));
setProperty("/blowf", _y , getProperty("/bmbf", _y));
setProperty("/blowg", _y , getProperty("/bmbg", _y));
setProperty("/blowh", _y , getProperty("/bmbh", _y));
}
Ey = getProperty("/enemy", _y);
Ex = getProperty("/enemy", _x);
orgx = 425;
orgy = 150;
dist_x = Ex - orgx;
dist_y = Ey - orgy;
if (dist_x < 0) {
norm = -1 * dist_x;
} else {
norm = dist_x;
}
if (dist_y < 0) {
normalise = norm + (-1 * dist_y);
} else {
normalise = norm + dist_y;
}
if ((dist_x >= 0) and (dist_y >= 0)) {
tehangle = (90 * (dist_y / normalise)) - 90;
} else if ((0 >= dist_x) and (dist_y >= 0)) {
tehangle = -90 * (dist_x / normalise);
} else if ((0 >= dist_x) and (0 >= dist_y)) {
tehangle = (-90 * (dist_y / normalise)) + 90;
} else {
tehangle = (90 * (dist_x / normalise)) + 180;
}
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _rotation , tehangle);
setProperty("/arrow", _alpha , alpha);
setProperty("/arrow", _alpha , alpha);
if (_root.stage.hittest(_root.enemy)) {
if (19 < alpha) {
alpha = alpha - 20;
}
} else if (alpha < 99) {
alpha = alpha + 20;
}
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/enemy", _rotation , nmemovx * 4);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _rotation , (nmemovx * 4) + 90);
setProperty("/esheild", _x , getProperty("/enemy", _x));
setProperty("/esheild", _y , getProperty("/enemy", _y));
if (250 < getProperty("/enemy", _y)) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) - 3);
} else if (getProperty("/enemy", _y) < 50) {
setProperty("/enemy", _y , ((getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9)) + 3);
} else {
setProperty("/enemy", _y , (getProperty("/enemy", _y) + nmemovy) - ((getProperty("/Pshiptop", _y) - 150) / 9));
}
if (getProperty("/enemy", _x) < 220) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) + 3);
} else if (630 < getProperty("/enemy", _x)) {
setProperty("/enemy", _x , ((getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7)) - 3);
} else {
setProperty("/enemy", _x , (getProperty("/enemy", _x) + nmemovx) - ((getProperty("/Pshiptop", _x) - 475) / 7));
}
nmex = getProperty("/enemy", _x);
if ((getProperty("/enemy", _xscale) + 10) < 50) {
if (getProperty("/enemy", _x) < getProperty("/Pshiptop", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/enemy", _y) < getProperty("/Pshiptop", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
} else if (50 < (getProperty("/enemy", _xscale) + 10)) {
if (getProperty("/Pshiptop", _x) < getProperty("/enemy", _x)) {
if (-14 < nmemovx) {
nmemovx = nmemovx - 1;
}
} else if (nmemovx < 14) {
nmemovx = nmemovx + 1;
}
if (getProperty("/Pshiptop", _y) < getProperty("/enemy", _y)) {
if (-14 < nmemovy) {
nmemovy = nmemovy - 1;
}
} else if (nmemovy < 14) {
nmemovy = nmemovy + 1;
}
}
eweapon = 1;
if (eweapon == 1) {
if (ebomba == false) {
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _y , getProperty("/enemy", _y));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
setProperty("/ebmba", _x , getProperty("/enemy", _x));
ebomba = true;
ebombtimea = 10;
exbombmova = nmemovx;
eybombmova = nmemovy;
erbombmova = nmemovx * 4;
} else if (ebombb == false) {
setProperty("/ebmbb", _y , getProperty("/enemy", _y));
setProperty("ebmbb", _y , getProperty("/enemy", _y));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
setProperty("/ebmbb", _x , getProperty("/enemy", _x));
ebombb = true;
ebombtimeb = 10;
exbombmovb = nmemovx;
eybombmovb = nmemovy;
erbombmovb = nmemovx * 4;
} else if (ebombc == false) {
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _y , getProperty("/enemy", _y));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
setProperty("/ebmbc", _x , getProperty("/enemy", _x));
ebombc = true;
ebombtimec = 10;
exbombmovc = nmemovx;
eybombmovc = nmemovy;
erbombmovc = nmemovx * 4;
} else if (ebombd == false) {
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _y , getProperty("/enemy", _y));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
setProperty("/ebmbd", _x , getProperty("/enemy", _x));
ebombd = true;
ebombtimed = 10;
exbombmovd = nmemovx;
eybombmovd = nmemovy;
erbombmovd = nmemovx * 4;
} else if (ebombe == false) {
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _y , getProperty("/enemy", _y));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
setProperty("/ebmbe", _x , getProperty("/enemy", _x));
ebombe = true;
ebombtimee = 10;
exbombmove = nmemovx;
eybombmove = nmemovy;
erbombmove = nmemovx * 4;
} else if (ebombf == false) {
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _y , getProperty("/enemy", _y));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
setProperty("/ebmbf", _x , getProperty("/enemy", _x));
ebombf = true;
ebombtimef = 10;
exbombmovf = nmemovx;
eybombmovf = nmemovy;
erbombmovf = nmemovx * 4;
} else if (ebombg == false) {
setProperty("/bmbg", _y , getProperty("/enemy", _y));
setProperty("/ebmbg", _y , getProperty("/enemy", _y));
setProperty("/bmbg", _x , getProperty("/enemy", _x));
setProperty("/ebmbg", _x , getProperty("/enemy", _x));
ebombg = true;
ebombtimeg = 10;
exbombmovg = nmemovx;
eybombmovg = nmemovy;
erbombmovg = nmemovx * 4;
} else if (ebombh == false) {
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _y , getProperty("/enemy", _y));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
setProperty("/ebmbh", _x , getProperty("/enemy", _x));
ebombh = true;
ebombtimeh = 10;
exbombmovh = nmemovx;
eybombmovh = nmemovy;
erbombmovh = nmemovx * 4;
}
}
if (ebomba == true) {
if (0 < ebombtimea) {
ebombtimea = ebombtimea - 0.5;
setProperty("/ebmba", _x , getProperty("/ebmba", _x) + (exbombmova * 1.5));
setProperty("/ebmba", _y , getProperty("/ebmba", _y) + (exbombmova * 1.5));
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _rotation , erbombmova);
setProperty("/ebmba", _xscale , getProperty("/ebmba", _xscale) - 2.5);
setProperty("/ebmba", _yscale , getProperty("/ebmba", _yscale) - 2.5);
if (_root.ebmba.hittest(_root.Pshiptop)) {
tellTarget ("/ebmba") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
sheild = 0;
arm = arm - 3;
}
ebomba = false;
if (1.1 < ebombtimea) {
ebombtimea = 1;
}
}
if ((ebombtimea < 7) and (1.1 < ebombtimea)) {
tellTarget ("/ebmba") {
play();
};
}
} else if (ebombtimea < 1.6) {
ebomba = false;
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
}
if (ebombb == true) {
if (0 < ebombtimeb) {
ebombtimeb = ebombtimeb - 0.5;
setProperty("/ebmbb", _x , getProperty("/ebmbb", _x) + (exbombmovb * 1.5));
setProperty("/ebmbb", _y , getProperty("/ebmbb", _y) + (exbombmovb * 1.5));
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _rotation , erbombmovb);
setProperty("/ebmbb", _xscale , getProperty("/ebmbb", _xscale) - 2.5);
setProperty("/ebmbb", _yscale , getProperty("/ebmbb", _yscale) - 2.5);
if (_root.ebmbb.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbb") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombb = false;
if (1.1 < ebombtimeb) {
ebombtimeb = 1;
}
}
if ((ebombtimeb < 7) and (1.1 < ebombtimeb)) {
tellTarget ("/ebmbb") {
play();
};
}
} else if (ebombtimeb < 1.6) {
ebombb = false;
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
}
if (ebombc == true) {
if (0 < ebombtimec) {
ebombtimec = ebombtimec - 0.5;
setProperty("/ebmbc", _x , getProperty("/ebmbc", _x) + (exbombmovc * 1.5));
setProperty("/ebmbc", _y , getProperty("/ebmbc", _y) + (exbombmovc * 1.5));
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _rotation , erbombmovc);
setProperty("/ebmbc", _xscale , getProperty("/ebmbc", _xscale) - 2.5);
setProperty("/ebmbc", _yscale , getProperty("/ebmbc", _yscale) - 2.5);
if (_root.ebmbc.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbc") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombc = false;
if (1.1 < ebombtimec) {
ebombtimec = 1;
}
}
if ((ebombtimec < 7) and (1.1 < ebombtimec)) {
tellTarget ("/ebmbc") {
play();
};
}
} else if (ebombtimec < 1.6) {
ebombc = false;
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
}
if (ebombd == true) {
if (0 < ebombtimed) {
ebombtimed = ebombtimed - 0.5;
setProperty("/ebmbd", _x , getProperty("/ebmbd", _x) + (exbombmovd * 1.5));
setProperty("/ebmbd", _y , getProperty("/ebmbd", _y) + (exbombmovd * 1.5));
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _rotation , erbombmovd);
setProperty("/ebmbd", _xscale , getProperty("/ebmbd", _xscale) - 2.5);
setProperty("/ebmbd", _yscale , getProperty("/ebmbd", _yscale) - 2.5);
if (_root.ebmbd.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbd") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombd = false;
if (1.1 < ebombtimed) {
ebombtimed = 1;
}
}
if ((ebombtimed < 7) and (1.1 < ebombtimed)) {
tellTarget ("/ebmbd") {
play();
};
}
} else if (ebombtimed < 1.6) {
ebombd = false;
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
}
if (ebombe == true) {
if (0 < ebombtimee) {
ebombtimee = ebombtimee - 0.5;
setProperty("/ebmbe", _x , getProperty("/ebmbe", _x) + (exbombmove * 1.5));
setProperty("/ebmbe", _y , getProperty("/ebmbe", _y) + (exbombmove * 1.5));
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _rotation , erbombmove);
setProperty("/ebmbe", _xscale , getProperty("/ebmbe", _xscale) - 2.5);
setProperty("/ebmbe", _yscale , getProperty("/ebmbe", _yscale) - 2.5);
if (_root.ebmbe.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbe") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombe = false;
if (1.1 < ebombtimee) {
ebombtimee = 1;
}
}
if ((ebombtimee < 7) and (1.1 < ebombtimee)) {
tellTarget ("/ebmbe") {
play();
};
}
} else if (ebombtimee < 1.6) {
ebombe = false;
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
}
if (ebombf == true) {
if (0 < ebombtimef) {
ebombtimef = ebombtimef - 0.5;
setProperty("/ebmbf", _x , getProperty("/ebmbf", _x) + (exbombmovf * 1.5));
setProperty("/ebmbf", _y , getProperty("/ebmbf", _y) + (exbombmovf * 1.5));
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _rotation , erbombmovf);
setProperty("/ebmbf", _xscale , getProperty("/ebmbf", _xscale) - 2.5);
setProperty("/ebmbf", _yscale , getProperty("/ebmbf", _yscale) - 2.5);
if (_root.ebmbf.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbf") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombf = false;
if (1.1 < ebombtimef) {
ebombtimef = 1;
}
}
if ((ebombtimef < 7) and (1.1 < ebombtimef)) {
tellTarget ("/ebmbf") {
play();
};
}
} else if (ebombtimef < 1.6) {
ebombf = false;
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _y , -5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
}
if (ebombg == true) {
if (0 < ebombtimeg) {
ebombtimeg = ebombtimeg - 0.5;
setProperty("/ebmbg", _x , getProperty("/ebmbg", _x) + (exbombmovg * 1.5));
setProperty("/ebmbg", _y , getProperty("/ebmbg", _y) + (exbombmovg * 1.5));
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _rotation , erbombmovg);
setProperty("/ebmbg", _xscale , getProperty("/ebmbg", _xscale) - 2.5);
setProperty("/ebmbg", _yscale , getProperty("/ebmbg", _yscale) - 2.5);
if (_root.ebmbg.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbg") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombg = false;
if (1.1 < ebombtimeg) {
ebombtimeg = 1;
}
}
if ((ebombtimeg < 7) and (1.1 < ebombtimeg)) {
tellTarget ("/ebmbg") {
play();
};
}
} else if (ebombtimeg < 1.6) {
ebombg = false;
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
}
if (ebombh == true) {
if (0 < ebombtimeh) {
ebombtimeh = ebombtimeh - 0.5;
setProperty("/ebmbh", _x , getProperty("/ebmbh", _x) + (exbombmovh * 1.5));
setProperty("/ebmbh", _y , getProperty("/ebmbh", _y) + (exbombmovh * 1.5));
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _rotation , erbombmovh);
setProperty("/ebmbh", _xscale , getProperty("/ebmbh", _xscale) - 2.5);
setProperty("/ebmbh", _yscale , getProperty("/ebmbh", _yscale) - 2.5);
if (_root.ebmbh.hittest(_root.Pshiptop)) {
tellTarget ("/ebmbh") {
play();
};
if (4 < sheild) {
sheild = sheild - 3;
if (playersheild < 92) {
playersheild = playersheild + 8;
}
} else {
arm = arm - 3;
sheild = 0;
}
ebombh = false;
if (1.1 < ebombtimeh) {
ebombtimeh = 1;
}
}
if ((ebombtimeh < 7) and (1.1 < ebombtimeh)) {
tellTarget ("/ebmbh") {
play();
};
}
} else if (ebombtimeh < 1.6) {
ebombh = false;
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
}
if (_root.ebmba.hittest(_root.Pshiptop)) {
ebomba = false;
duplicateMovieClip ("eblowa", "eblowup", 999);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _y , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _x , 5000);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _xscale , 50);
setProperty("/ebmba", _yscale , 50);
setProperty("/ebmba", _yscale , 50);
}
if (_root.ebmbb.hittest(_root.Pshiptop)) {
ebombb = false;
duplicateMovieClip ("eblowb", "eblowup", 999);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _y , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _x , 5000);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _xscale , 50);
setProperty("/ebmbb", _yscale , 50);
setProperty("/ebmbb", _yscale , 50);
}
if (_root.ebmbc.hittest(_root.Pshiptop)) {
ebombc = false;
duplicateMovieClip ("eblowc", "eblowup", 999);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _y , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _x , 5000);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _xscale , 50);
setProperty("/ebmbc", _yscale , 50);
setProperty("/ebmbc", _yscale , 50);
}
if (_root.ebmbd.hittest(_root.Pshiptop)) {
ebombd = false;
duplicateMovieClip ("eblowd", "eblowup", 999);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _y , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _x , 5000);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _xscale , 50);
setProperty("/ebmbd", _yscale , 50);
setProperty("/ebmbd", _yscale , 50);
}
if (_root.ebmbe.hittest(_root.Pshiptop)) {
ebombe = false;
duplicateMovieClip ("eblowe", "eblowup", 999);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _y , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _x , 5000);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _xscale , 50);
setProperty("/ebmbe", _yscale , 50);
setProperty("/ebmbe", _yscale , 50);
}
if (_root.ebmbf.hittest(_root.Pshiptop)) {
ebombf = false;
duplicateMovieClip ("eblowf", "eblowup", 999);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _y , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _x , 5000);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _xscale , 50);
setProperty("/ebmbf", _yscale , 50);
setProperty("/ebmbf", _yscale , 50);
}
if (_root.ebmbg.hittest(_root.Pshiptop)) {
ebombg = false;
duplicateMovieClip ("eblowg", "eblowup", 999);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _y , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _x , 5000);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _xscale , 50);
setProperty("/ebmbg", _yscale , 50);
setProperty("/ebmbg", _yscale , 50);
}
if (_root.ebmbh.hittest(_root.Pshiptop)) {
ebombh = false;
duplicateMovieClip ("eblowh", "eblowup", 999);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _y , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _x , 5000);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _xscale , 50);
setProperty("/ebmbh", _yscale , 50);
setProperty("/ebmbh", _yscale , 50);
}
energy = Math.round(energy + intake);
imput = Math.round(intake);
if ((1000 + (ease * 100)) < energy) {
energy = 1000 + (ease * 100);
}
if (160 < energy) {
if (choice == false) {
choice = true;
}
}
if (choice == false) {
if (1 < speed) {
speed = speed - 1;
}
if (1 < weapon) {
weapon = weapon - 1;
}
}
if (choice == true) {
if (speed < choicespeed) {
speed = speed + 1;
}
if (weapon < choiceweapon) {
weapon = weapon + 1;
}
}
if (energy < 5) {
energy = 0;
choice = false;
}
if (0 < xmov) {
if (0 < ymov) {
intake = (7 - ((xmov + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - ((xmov - ymov) / 5)) - (speed / 1.5);
}
} else if (xmov < 1) {
if (0 < ymov) {
intake = (7 - (((-xmov) + ymov) / 5)) - (speed / 1.5);
} else if (ymov < 1) {
intake = (7 - (((-xmov) - ymov) / 5)) - (speed / 1.5);
}
}
shcount = shcount - 1;
if (shcount < 1) {
shcount = 20;
if (she == false) {
she = true;
}
} else if (she == true) {
she = false;
}
if (she == true) {
sheilds = sheilds + 3;
}
usage = Math.round((energy / (2000 + (ease * 100))) * 100) + "%";
if (nmeh < 1) {
if (byebye == false) {
setProperty("/bhe", _visible , 100);
setProperty("/bhe", _visible , 100);
byebye = true;
bght = 14;
}
}
if (byebye == true) {
if (0 < bght) {
bght = bght - 1;
frame = int(bght);
tellTarget (_root.bhe) {
gotoAndStop(_root.frame);
};
setProperty("/enemy", _alpha , getProperty("/enemy", _alpha) - 8);
setProperty("/esheild", _visible , 0);
setProperty("/esheild", _visible , 0);
setProperty("/bhe", _y , getProperty("/enemy", _y));
setProperty("/bhe", _x , getProperty("/enemy", _x));
nmeh = 0;
} else if (bght < 1) {
nmeh = 1000 + (ease * 100);
nmesheild = 1000 + (ease * 100);
outnumber = outnumber - 1;
setProperty("/enemy", _x , 0);
setProperty("/enemy", _x , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _y , 0);
setProperty("/enemy", _alpha , 100);
setProperty("/enemy", _alpha , 100);
setProperty("/esheild", _visible , 100);
setProperty("/esheild", _visible , 100);
setProperty("/bhe", _visible , 0);
setProperty("/bhe", _visible , 0);
byebye = false;
}
}
if (arm < 1) {
gotoAndPlay (2918);
}
Frame 2914
gotoAndPlay (2913);
Frame 2915
nextFrame();
Frame 2917
prevFrame();
Frame 2918
_quality = "low";
Frame 2919
tell = Math.random(5) + 1;
Frame 2920
frame = int(tell);
tellTarget (_root.endbattlestory) {
gotoAndStop(_root.frame);
};
Frame 2921
frame = int(tell);
tellTarget (_root.endbattlestory) {
gotoAndStop(_root.frame);
};
Frame 2922
stop();
_quality = "high";
frame = int(tell);
tellTarget (_root.endbattlestory) {
gotoAndStop(_root.frame);
};
Symbol 5 MovieClip Frame 5
stop();
Symbol 6 Button
on (release) {
fscommand ("quit");
}
Symbol 26 MovieClip Frame 5
stop();
Symbol 28 Button
on (release) {
gotoAndStop (1976);
_quality = "high";
}
Symbol 29 Button
on (release) {
gotoAndPlay (197);
}
Symbol 54 Button
on (release) {
gotoAndPlay (119);
}
Symbol 55 Button
on (release) {
gotoAndPlay (32);
}
Symbol 56 Button
on (release) {
gotoAndPlay (1983);
}
Symbol 57 Button
on (release) {
gotoAndPlay (89);
}
Symbol 69 Button
on (release) {
getURL ("http://www.raraken.150m.com/Andromeda.htm", "_blank");
}
Symbol 78 Button
on (release) {
gotoAndPlay (2249);
}
Symbol 79 Button
on (release) {
gotoAndStop (2178);
}
Symbol 120 Button
on (release) {
nextFrame();
}
Symbol 122 Button
on (release) {
prevFrame();
}
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 9
stop();
Symbol 156 MovieClip Frame 16
stop();
Symbol 156 MovieClip Frame 18
stop();
Symbol 156 MovieClip Frame 20
stop();
Symbol 157 Button
on (release) {
gotoAndPlay (30);
}
Symbol 158 Button
on (release) {
gotoAndPlay (92);
}
Symbol 159 Button
on (release) {
gotoAndPlay (119);
}
Symbol 160 Button
on (release) {
gotoAndPlay (171);
}
Symbol 161 Button
on (release) {
gotoAndPlay (170);
}
Symbol 162 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (22);
};
}
Symbol 169 Button
on (release) {
gotoAndPlay (105);
nextinline = 1;
}
Symbol 170 Button
on (release) {
gotoAndPlay (105);
nextinline = 2;
}
Symbol 171 Button
on (release) {
gotoAndPlay (105);
nextinline = 3;
}
Symbol 172 Button
on (release) {
gotoAndPlay (105);
nextinline = 4;
}
Symbol 175 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (1);
};
}
Symbol 176 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (2);
};
}
Symbol 177 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (3);
};
}
Symbol 178 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (4);
};
}
Symbol 179 Button
on (release) {
gotoAndPlay (131);
nextinline = 1;
}
Symbol 180 Button
on (release) {
gotoAndPlay (131);
nextinline = 2;
}
Symbol 181 Button
on (release) {
gotoAndPlay (131);
nextinline = 3;
}
Symbol 182 Button
on (release) {
gotoAndPlay (131);
nextinline = 4;
}
Symbol 185 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (5);
};
}
Symbol 186 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (6);
};
}
Symbol 187 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (7);
};
}
Symbol 188 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (8);
};
}
Symbol 189 Button
on (release) {
gotoAndPlay (157);
nextinline = 1;
}
Symbol 190 Button
on (release) {
gotoAndPlay (157);
nextinline = 2;
}
Symbol 191 Button
on (release) {
gotoAndPlay (157);
nextinline = 3;
}
Symbol 192 Button
on (release) {
gotoAndPlay (157);
nextinline = 4;
}
Symbol 195 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (9);
};
}
Symbol 196 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (12);
};
}
Symbol 197 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (13);
};
}
Symbol 198 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (14);
};
}
Symbol 199 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (15);
};
}
Symbol 200 Button
on (release) {
gotoAndPlay (183);
nextinline = 1;
}
Symbol 201 Button
on (release) {
gotoAndPlay (183);
nextinline = 2;
}
Symbol 202 Button
on (release) {
gotoAndPlay (183);
nextinline = 3;
}
Symbol 203 Button
on (release) {
gotoAndPlay (183);
nextinline = 4;
}
Symbol 206 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (16);
};
}
Symbol 207 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (18);
};
}
Symbol 208 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (20);
};
}
Symbol 209 Button
on (release) {
gotoAndPlay (209);
nextinline = 1;
}
Symbol 210 Button
on (release) {
gotoAndPlay (209);
nextinline = 2;
}
Symbol 211 Button
on (release) {
gotoAndPlay (209);
nextinline = 3;
}
Symbol 212 Button
on (release) {
gotoAndPlay (209);
nextinline = 4;
}
Symbol 222 Button
on (keyPress "<Space>") {
gotoAndStop (1976);
}
Symbol 411 MovieClip Frame 7
stop();
Symbol 412 Button
on (release) {
if (nick == "NICKNAME") {
nextFrame();
} else {
gotoAndPlay (29);
}
}
Symbol 424 Button
on (release) {
gotoAndPlay (1986);
}
Symbol 425 Button
on (release) {
gotoAndPlay (2013);
}
Symbol 426 Button
on (release) {
gotoAndPlay (2036);
}
Symbol 427 Button
on (release) {
gotoAndPlay (1999);
nextinline = 1;
}
Symbol 428 Button
on (release) {
gotoAndPlay (1999);
nextinline = 2;
}
Symbol 429 Button
on (release) {
gotoAndPlay (1999);
nextinline = 3;
}
Symbol 430 Button
on (release) {
gotoAndPlay (1999);
nextinline = 4;
}
Symbol 431 Button
on (release) {
gotoAndPlay (1999);
nextinline = 6;
}
Symbol 432 Button
on (release) {
gotoAndPlay (1999);
nextinline = 5;
}
Symbol 433 Button
on (release) {
gotoAndPlay (1999);
nextinline = 7;
}
Symbol 436 Button
on (release) {
gotoAndPlay (2142);
}
Symbol 437 Button
on (release) {
gotoAndStop (2145);
}
Symbol 438 Button
on (release) {
gotoAndPlay (2025);
nextinline = 1;
}
Symbol 439 Button
on (release) {
gotoAndPlay (2025);
nextinline = 2;
}
Symbol 440 Button
on (release) {
gotoAndPlay (2025);
nextinline = 3;
}
Symbol 441 Button
on (release) {
gotoAndPlay (2025);
nextinline = 4;
}
Symbol 442 Button
on (release) {
gotoAndPlay (2025);
nextinline = 6;
}
Symbol 443 Button
on (release) {
gotoAndPlay (2025);
nextinline = 5;
}
Symbol 444 Button
on (release) {
gotoAndPlay (2025);
nextinline = 7;
}
Symbol 447 Button
on (release) {
gotoAndPlay (2146);
}
Symbol 448 Button
on (release) {
gotoAndPlay (2148);
}
Symbol 449 Button
on (release) {
gotoAndPlay (2150);
}
Symbol 450 Button
on (release) {
gotoAndPlay (2152);
}
Symbol 451 Button
on (release) {
gotoAndPlay (2051);
nextinline = 1;
}
Symbol 452 Button
on (release) {
gotoAndPlay (2051);
nextinline = 2;
}
Symbol 453 Button
on (release) {
gotoAndPlay (2051);
nextinline = 3;
}
Symbol 454 Button
on (release) {
gotoAndPlay (2051);
nextinline = 4;
}
Symbol 455 Button
on (release) {
gotoAndPlay (2051);
nextinline = 6;
}
Symbol 456 Button
on (release) {
gotoAndPlay (2051);
nextinline = 5;
}
Symbol 457 Button
on (release) {
gotoAndPlay (2051);
nextinline = 7;
}
Symbol 460 Button
on (release) {
gotoAndPlay (2154);
}
Symbol 461 Button
on (release) {
gotoAndPlay (2156);
}
Symbol 462 Button
on (release) {
gotoAndPlay (2077);
nextinline = 1;
}
Symbol 463 Button
on (release) {
gotoAndPlay (2077);
nextinline = 2;
}
Symbol 464 Button
on (release) {
gotoAndPlay (2077);
nextinline = 3;
}
Symbol 465 Button
on (release) {
gotoAndPlay (2077);
nextinline = 4;
}
Symbol 466 Button
on (release) {
gotoAndPlay (2077);
nextinline = 6;
}
Symbol 467 Button
on (release) {
gotoAndPlay (2077);
nextinline = 5;
}
Symbol 468 Button
on (release) {
gotoAndPlay (2077);
nextinline = 7;
}
Symbol 471 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (16);
};
}
Symbol 472 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (18);
};
}
Symbol 473 Button
on (release) {
gotoAndPlay (2103);
nextinline = 1;
}
Symbol 474 Button
on (release) {
gotoAndPlay (2103);
nextinline = 2;
}
Symbol 475 Button
on (release) {
gotoAndPlay (2103);
nextinline = 3;
}
Symbol 476 Button
on (release) {
gotoAndPlay (2103);
nextinline = 4;
}
Symbol 477 Button
on (release) {
gotoAndPlay (2103);
nextinline = 6;
}
Symbol 478 Button
on (release) {
gotoAndPlay (2103);
nextinline = 5;
}
Symbol 479 Button
on (release) {
gotoAndPlay (2103);
nextinline = 7;
}
Symbol 481 Button
on (release) {
gotoAndPlay (2129);
nextinline = 1;
}
Symbol 482 Button
on (release) {
gotoAndPlay (2129);
nextinline = 2;
}
Symbol 483 Button
on (release) {
gotoAndPlay (2129);
nextinline = 3;
}
Symbol 484 Button
on (release) {
gotoAndPlay (2129);
nextinline = 4;
}
Symbol 485 Button
on (release) {
gotoAndPlay (2129);
nextinline = 6;
}
Symbol 486 Button
on (release) {
gotoAndPlay (2129);
nextinline = 5;
}
Symbol 487 Button
on (release) {
gotoAndPlay (2129);
nextinline = 7;
}
Symbol 490 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (25);
};
}
Symbol 491 Button
on (release) {
tellTarget ("textdis") {
gotoAndStop (26);
};
}
Symbol 498 MovieClip Frame 1
stop();
Symbol 501 Button
on (release) {
DECEX = 3;
}
Symbol 502 Button
on (release) {
DECEX = 2;
}
Symbol 503 Button
on (release) {
DECEX = 1;
}
Symbol 504 Button
on (release) {
DECSH = 3;
}
Symbol 505 Button
on (release) {
DECSH = 2;
}
Symbol 506 Button
on (release) {
DECSH = 1;
}
Symbol 507 Button
on (release) {
if (DECSHEILDS == 1) {
DECSHEILDS = 2;
} else if (DECSHEILDS == 2) {
DECSHEILDS = 1;
}
}
Symbol 508 Button
on (release) {
if (DECBOOM == 1) {
DECBOOM = 2;
} else if (DECBOOM == 2) {
DECBOOM = 1;
}
}
Symbol 511 MovieClip Frame 1
stop();
Symbol 513 Button
on (release) {
EASE = -4;
}
Symbol 514 Button
on (release) {
EASE = -3;
}
Symbol 515 Button
on (release) {
EASE = -2;
}
Symbol 516 Button
on (release) {
EASE = -1;
}
Symbol 517 Button
on (release) {
EASE = 1;
}
Symbol 518 Button
on (release) {
EASE = 0;
}
Symbol 519 Button
on (release) {
EASE = 2;
}
Symbol 520 Button
on (release) {
EASE = 3;
}
Symbol 521 Button
on (release) {
EASE = 4;
}
Symbol 526 Button
on (release) {
cntrlz = 1;
tellTarget ("A") {
gotoAndStop (2);
};
tellTarget ("B") {
gotoAndStop (1);
};
}
Symbol 542 Button
on (release) {
stopAllSounds();
frame = int(bbsong);
tellTarget (_root.song) {
gotoAndPlay(_root.frame);
};
}
Symbol 544 Button
on (release) {
bsong = 1;
}
Symbol 545 Button
on (release) {
bsong = 2;
}
Symbol 546 Button
on (release) {
bsong = 3;
}
Symbol 547 Button
on (release) {
bsong = 4;
}
Symbol 552 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 2
gotoAndStop (1);
Symbol 552 MovieClip Frame 3
gotoAndStop (1);
Symbol 552 MovieClip Frame 4
gotoAndStop (1);
Symbol 552 MovieClip Frame 5
gotoAndStop (1);
Symbol 554 Button
on (release) {
stopAllSounds();
frame = int(bbsongm);
tellTarget (_root.song) {
gotoAndPlay(_root.frame);
};
}
Symbol 557 MovieClip Frame 1
stop();
Symbol 557 MovieClip Frame 2
gotoAndStop (1);
Symbol 557 MovieClip Frame 3
gotoAndStop (1);
Symbol 577 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 4
stop();
Symbol 630 MovieClip Frame 1
stop();
Symbol 630 MovieClip Frame 6
gotoAndStop (1);
Instance of Symbol 630 MovieClip in Symbol 631 MovieClip Frame 1
onClipEvent (enterFrame) {
if (681 < _x) {
_x = 0;
}
if (_x < -1) {
_x = 680;
}
if (301 < _y) {
_y = 0;
}
if (_y < -1) {
_y = 300;
}
}
Symbol 651 MovieClip Frame 6
stop();
Symbol 658 MovieClip Frame 1
stop();
Symbol 665 MovieClip Frame 6
removeMovieClip("");
Symbol 671 MovieClip Frame 6
gotoAndStop (1);
Symbol 680 MovieClip Frame 6
removeMovieClip("");
Symbol 776 MovieClip Frame 1
stop();
Symbol 795 MovieClip Frame 5
stop();
Symbol 800 Button
on (keyPress "q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "Q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "p") {
gotoAndPlay (2186);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "P") {
gotoAndPlay (2186);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "z") {
if (cntrlz == 2) {
if (Key.isDown(Key.Z)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
}
}
on (keyPress "c") {
if (cntrlz == 2) {
if (Key.isDown(Key.C)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
}
}
on (keyPress "x") {
if (cntrlz == 2) {
if (Key.isDown(Key.X)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
}
}
on (keyPress "d") {
if (cntrlz == 2) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
}
Symbol 893 MovieClip Frame 1
stop();
Symbol 895 Button
on (keyPress "p") {
gotoAndPlay (2184);
tellTarget ("aa") {
play();
};
tellTarget ("bb") {
play();
};
tellTarget ("cc") {
play();
};
tellTarget ("decora") {
play();
};
tellTarget ("decorb") {
play();
};
tellTarget ("rift") {
play();
};
tellTarget ("bmba") {
play();
};
tellTarget ("bmbb") {
play();
};
tellTarget ("bmbc") {
play();
};
tellTarget ("bmbd") {
play();
};
tellTarget ("bmbe") {
play();
};
tellTarget ("bmbf") {
play();
};
tellTarget ("bmbg") {
play();
};
tellTarget ("bmbh") {
play();
};
tellTarget ("ebmba") {
play();
};
tellTarget ("ebmbb") {
play();
};
tellTarget ("ebmbc") {
play();
};
tellTarget ("ebmbd") {
play();
};
tellTarget ("ebmbe") {
play();
};
tellTarget ("ebmbf") {
play();
};
tellTarget ("ebmbg") {
play();
};
tellTarget ("ebmbh") {
play();
};
}
on (keyPress "P") {
gotoAndPlay (2184);
tellTarget ("aa") {
play();
};
tellTarget ("bb") {
play();
};
tellTarget ("cc") {
play();
};
tellTarget ("decora") {
play();
};
tellTarget ("decorb") {
play();
};
tellTarget ("rift") {
play();
};
tellTarget ("bmba") {
play();
};
tellTarget ("bmbb") {
play();
};
tellTarget ("bmbc") {
play();
};
tellTarget ("bmbd") {
play();
};
tellTarget ("bmbe") {
play();
};
tellTarget ("bmbf") {
play();
};
tellTarget ("bmbg") {
play();
};
tellTarget ("bmbh") {
play();
};
tellTarget ("ebmba") {
play();
};
tellTarget ("ebmbb") {
play();
};
tellTarget ("ebmbc") {
play();
};
tellTarget ("ebmbd") {
play();
};
tellTarget ("ebmbe") {
play();
};
tellTarget ("ebmbf") {
play();
};
tellTarget ("ebmbg") {
play();
};
tellTarget ("ebmbh") {
play();
};
}
Symbol 901 Button
on (release) {
gotoAndPlay (32);
}
Symbol 903 Button
on (release) {
gotoAndPlay (2183);
}
Symbol 905 Button
on (release) {
gotoAndPlay (2184);
}
Symbol 907 Button
on (release) {
gotoAndPlay (2232);
}
Symbol 922 MovieClip Frame 1
stop();
Symbol 933 MovieClip Frame 1
stop();
Symbol 961 Button
on (release) {
gotoAndPlay (2249);
}
Symbol 983 Button
on (keyPress "q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "Q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "p") {
gotoAndPlay (2234);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "P") {
gotoAndPlay (2234);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "z") {
if (cntrlz == 2) {
if (Key.isDown(Key.Z)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
}
}
on (keyPress "c") {
if (cntrlz == 2) {
if (Key.isDown(Key.C)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
}
}
on (keyPress "x") {
if (cntrlz == 2) {
if (Key.isDown(Key.X)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
}
}
on (keyPress "d") {
if (cntrlz == 2) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
}
Symbol 1008 Button
on (release) {
gotoAndPlay (2238);
}
Symbol 1035 Button
on (release) {
gotoAndPlay (2245);
}
Symbol 1037 Button
on (keyPress "q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "Q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "p") {
gotoAndPlay (2247);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "P") {
gotoAndPlay (2247);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "z") {
if (cntrlz == 2) {
if (Key.isDown(Key.Z)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
}
}
on (keyPress "c") {
if (cntrlz == 2) {
if (Key.isDown(Key.C)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
}
}
on (keyPress "x") {
if (cntrlz == 2) {
if (Key.isDown(Key.X)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
}
}
on (keyPress "d") {
if (cntrlz == 2) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
}
Symbol 1062 Button
on (release) {
gotoAndPlay (2249);
}
Symbol 1073 Button
on (release) {
gotoAndPlay (2265);
}
Symbol 1074 Button
on (release) {
gotoAndPlay (32);
}
Symbol 1077 Button
on (release) {
gotoAndPlay (2315);
}
Symbol 1079 Button
on (release) {
gotoAndPlay (2365);
}
Symbol 1080 Button
on (release) {
gotoAndPlay (2409);
}
Symbol 1082 Button
on (release) {
gotoAndPlay (2406);
}
Symbol 1083 Button
on (release) {
gotoAndPlay (2459);
}
Symbol 1085 Button
on (release) {
gotoAndPlay (2506);
}
Symbol 1086 MovieClip Frame 5
stop();
Symbol 1094 Button
on (release) {
gotoAndPlay (2286);
}
Symbol 1097 Button
on (keyPress "q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "Q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "p") {
gotoAndPlay (2271);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "P") {
gotoAndPlay (2271);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "z") {
if (cntrlz == 2) {
if (Key.isDown(Key.Z)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
}
}
on (keyPress "c") {
if (cntrlz == 2) {
if (Key.isDown(Key.C)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
}
}
on (keyPress "x") {
if (cntrlz == 2) {
if (Key.isDown(Key.X)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
}
}
on (keyPress "d") {
if (cntrlz == 2) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
}
Symbol 1110 Button
on (keyPress "p") {
gotoAndPlay (2269);
tellTarget ("aa") {
play();
};
tellTarget ("bb") {
play();
};
tellTarget ("cc") {
play();
};
tellTarget ("decora") {
play();
};
tellTarget ("decorb") {
play();
};
tellTarget ("rift") {
play();
};
tellTarget ("bmba") {
play();
};
tellTarget ("bmbb") {
play();
};
tellTarget ("bmbc") {
play();
};
tellTarget ("bmbd") {
play();
};
tellTarget ("bmbe") {
play();
};
tellTarget ("bmbf") {
play();
};
tellTarget ("bmbg") {
play();
};
tellTarget ("bmbh") {
play();
};
tellTarget ("ebmba") {
play();
};
tellTarget ("ebmbb") {
play();
};
tellTarget ("ebmbc") {
play();
};
tellTarget ("ebmbd") {
play();
};
tellTarget ("ebmbe") {
play();
};
tellTarget ("ebmbf") {
play();
};
tellTarget ("ebmbg") {
play();
};
tellTarget ("ebmbh") {
play();
};
}
on (keyPress "P") {
gotoAndPlay (2269);
tellTarget ("aa") {
play();
};
tellTarget ("bb") {
play();
};
tellTarget ("cc") {
play();
};
tellTarget ("decora") {
play();
};
tellTarget ("decorb") {
play();
};
tellTarget ("rift") {
play();
};
tellTarget ("bmba") {
play();
};
tellTarget ("bmbb") {
play();
};
tellTarget ("bmbc") {
play();
};
tellTarget ("bmbd") {
play();
};
tellTarget ("bmbe") {
play();
};
tellTarget ("bmbf") {
play();
};
tellTarget ("bmbg") {
play();
};
tellTarget ("bmbh") {
play();
};
tellTarget ("ebmba") {
play();
};
tellTarget ("ebmbb") {
play();
};
tellTarget ("ebmbc") {
play();
};
tellTarget ("ebmbd") {
play();
};
tellTarget ("ebmbe") {
play();
};
tellTarget ("ebmbf") {
play();
};
tellTarget ("ebmbg") {
play();
};
tellTarget ("ebmbh") {
play();
};
}
Symbol 1111 Button
on (release) {
gotoAndPlay (2268);
}
Symbol 1112 Button
on (release) {
gotoAndPlay (2269);
}
Symbol 1130 Button
on (release) {
gotoAndPlay (2336);
}
Symbol 1132 Button
on (keyPress "q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "Q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "p") {
gotoAndPlay (2321);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "P") {
gotoAndPlay (2321);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "z") {
if (cntrlz == 2) {
if (Key.isDown(Key.Z)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
}
}
on (keyPress "c") {
if (cntrlz == 2) {
if (Key.isDown(Key.C)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
}
}
on (keyPress "x") {
if (cntrlz == 2) {
if (Key.isDown(Key.X)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
}
}
on (keyPress "d") {
if (cntrlz == 2) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
}
Symbol 1146 Button
on (keyPress "p") {
gotoAndPlay (2319);
tellTarget ("aa") {
play();
};
tellTarget ("bb") {
play();
};
tellTarget ("cc") {
play();
};
tellTarget ("decora") {
play();
};
tellTarget ("decorb") {
play();
};
tellTarget ("rift") {
play();
};
tellTarget ("bmba") {
play();
};
tellTarget ("bmbb") {
play();
};
tellTarget ("bmbc") {
play();
};
tellTarget ("bmbd") {
play();
};
tellTarget ("bmbe") {
play();
};
tellTarget ("bmbf") {
play();
};
tellTarget ("bmbg") {
play();
};
tellTarget ("bmbh") {
play();
};
tellTarget ("ebmba") {
play();
};
tellTarget ("ebmbb") {
play();
};
tellTarget ("ebmbc") {
play();
};
tellTarget ("ebmbd") {
play();
};
tellTarget ("ebmbe") {
play();
};
tellTarget ("ebmbf") {
play();
};
tellTarget ("ebmbg") {
play();
};
tellTarget ("ebmbh") {
play();
};
}
on (keyPress "P") {
gotoAndPlay (2319);
tellTarget ("aa") {
play();
};
tellTarget ("bb") {
play();
};
tellTarget ("cc") {
play();
};
tellTarget ("decora") {
play();
};
tellTarget ("decorb") {
play();
};
tellTarget ("rift") {
play();
};
tellTarget ("bmba") {
play();
};
tellTarget ("bmbb") {
play();
};
tellTarget ("bmbc") {
play();
};
tellTarget ("bmbd") {
play();
};
tellTarget ("bmbe") {
play();
};
tellTarget ("bmbf") {
play();
};
tellTarget ("bmbg") {
play();
};
tellTarget ("bmbh") {
play();
};
tellTarget ("ebmba") {
play();
};
tellTarget ("ebmbb") {
play();
};
tellTarget ("ebmbc") {
play();
};
tellTarget ("ebmbd") {
play();
};
tellTarget ("ebmbe") {
play();
};
tellTarget ("ebmbf") {
play();
};
tellTarget ("ebmbg") {
play();
};
tellTarget ("ebmbh") {
play();
};
}
Symbol 1147 Button
on (release) {
gotoAndPlay (2318);
}
Symbol 1148 Button
on (release) {
gotoAndPlay (2319);
}
Symbol 1149 Button
on (release) {
gotoAndPlay (2365);
}
Symbol 1169 Button
on (release) {
gotoAndPlay (2427);
}
Symbol 1171 Button
on (keyPress "q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "Q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "p") {
gotoAndPlay (2412);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "P") {
gotoAndPlay (2412);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "z") {
if (cntrlz == 2) {
if (Key.isDown(Key.Z)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
}
}
on (keyPress "c") {
if (cntrlz == 2) {
if (Key.isDown(Key.C)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
}
}
on (keyPress "x") {
if (cntrlz == 2) {
if (Key.isDown(Key.X)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
}
}
on (keyPress "d") {
if (cntrlz == 2) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
}
Symbol 1184 Button
on (keyPress "p") {
gotoAndPlay (2410);
tellTarget ("aa") {
play();
};
tellTarget ("bb") {
play();
};
tellTarget ("cc") {
play();
};
tellTarget ("decora") {
play();
};
tellTarget ("decorb") {
play();
};
tellTarget ("rift") {
play();
};
tellTarget ("bmba") {
play();
};
tellTarget ("bmbb") {
play();
};
tellTarget ("bmbc") {
play();
};
tellTarget ("bmbd") {
play();
};
tellTarget ("bmbe") {
play();
};
tellTarget ("bmbf") {
play();
};
tellTarget ("bmbg") {
play();
};
tellTarget ("bmbh") {
play();
};
tellTarget ("ebmba") {
play();
};
tellTarget ("ebmbb") {
play();
};
tellTarget ("ebmbc") {
play();
};
tellTarget ("ebmbd") {
play();
};
tellTarget ("ebmbe") {
play();
};
tellTarget ("ebmbf") {
play();
};
tellTarget ("ebmbg") {
play();
};
tellTarget ("ebmbh") {
play();
};
}
on (keyPress "P") {
gotoAndPlay (2410);
tellTarget ("aa") {
play();
};
tellTarget ("bb") {
play();
};
tellTarget ("cc") {
play();
};
tellTarget ("decora") {
play();
};
tellTarget ("decorb") {
play();
};
tellTarget ("rift") {
play();
};
tellTarget ("bmba") {
play();
};
tellTarget ("bmbb") {
play();
};
tellTarget ("bmbc") {
play();
};
tellTarget ("bmbd") {
play();
};
tellTarget ("bmbe") {
play();
};
tellTarget ("bmbf") {
play();
};
tellTarget ("bmbg") {
play();
};
tellTarget ("bmbh") {
play();
};
tellTarget ("ebmba") {
play();
};
tellTarget ("ebmbb") {
play();
};
tellTarget ("ebmbc") {
play();
};
tellTarget ("ebmbd") {
play();
};
tellTarget ("ebmbe") {
play();
};
tellTarget ("ebmbf") {
play();
};
tellTarget ("ebmbg") {
play();
};
tellTarget ("ebmbh") {
play();
};
}
Symbol 1185 Button
on (release) {
gotoAndPlay (2409);
}
Symbol 1186 Button
on (release) {
gotoAndPlay (2410);
}
Symbol 1204 Button
on (keyPress "q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "Q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "p") {
gotoAndPlay (2462);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "P") {
gotoAndPlay (2462);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "z") {
if (cntrlz == 2) {
if (Key.isDown(Key.Z)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
}
}
on (keyPress "c") {
if (cntrlz == 2) {
if (Key.isDown(Key.C)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
}
}
on (keyPress "x") {
if (cntrlz == 2) {
if (Key.isDown(Key.X)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
}
}
on (keyPress "d") {
if (cntrlz == 2) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
}
Symbol 1218 Button
on (keyPress "p") {
gotoAndPlay (2460);
tellTarget ("aa") {
play();
};
tellTarget ("bb") {
play();
};
tellTarget ("cc") {
play();
};
tellTarget ("decora") {
play();
};
tellTarget ("decorb") {
play();
};
tellTarget ("rift") {
play();
};
tellTarget ("bmba") {
play();
};
tellTarget ("bmbb") {
play();
};
tellTarget ("bmbc") {
play();
};
tellTarget ("bmbd") {
play();
};
tellTarget ("bmbe") {
play();
};
tellTarget ("bmbf") {
play();
};
tellTarget ("bmbg") {
play();
};
tellTarget ("bmbh") {
play();
};
tellTarget ("ebmba") {
play();
};
tellTarget ("ebmbb") {
play();
};
tellTarget ("ebmbc") {
play();
};
tellTarget ("ebmbd") {
play();
};
tellTarget ("ebmbe") {
play();
};
tellTarget ("ebmbf") {
play();
};
tellTarget ("ebmbg") {
play();
};
tellTarget ("ebmbh") {
play();
};
}
on (keyPress "P") {
gotoAndPlay (2460);
tellTarget ("aa") {
play();
};
tellTarget ("bb") {
play();
};
tellTarget ("cc") {
play();
};
tellTarget ("decora") {
play();
};
tellTarget ("decorb") {
play();
};
tellTarget ("rift") {
play();
};
tellTarget ("bmba") {
play();
};
tellTarget ("bmbb") {
play();
};
tellTarget ("bmbc") {
play();
};
tellTarget ("bmbd") {
play();
};
tellTarget ("bmbe") {
play();
};
tellTarget ("bmbf") {
play();
};
tellTarget ("bmbg") {
play();
};
tellTarget ("bmbh") {
play();
};
tellTarget ("ebmba") {
play();
};
tellTarget ("ebmbb") {
play();
};
tellTarget ("ebmbc") {
play();
};
tellTarget ("ebmbd") {
play();
};
tellTarget ("ebmbe") {
play();
};
tellTarget ("ebmbf") {
play();
};
tellTarget ("ebmbg") {
play();
};
tellTarget ("ebmbh") {
play();
};
}
Symbol 1219 Button
on (release) {
gotoAndPlay (2459);
}
Symbol 1220 Button
on (release) {
gotoAndPlay (2460);
}
Symbol 1221 Button
on (release) {
gotoAndPlay (2506);
}
Symbol 1236 Button
on (keyPress "q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "Q") {
qualcount = 6;
if (2 < qual) {
qual = 1;
} else {
qual = qual + 1;
}
}
on (keyPress "p") {
gotoAndPlay (2915);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "P") {
gotoAndPlay (2915);
tellTarget ("aa") {
stop();
};
tellTarget ("bb") {
stop();
};
tellTarget ("cc") {
stop();
};
tellTarget ("decora") {
stop();
};
tellTarget ("decorb") {
stop();
};
tellTarget ("rift") {
stop();
};
tellTarget ("bmba") {
stop();
};
tellTarget ("bmbb") {
stop();
};
tellTarget ("bmbc") {
stop();
};
tellTarget ("bmbd") {
stop();
};
tellTarget ("bmbe") {
stop();
};
tellTarget ("bmbf") {
stop();
};
tellTarget ("bmbg") {
stop();
};
tellTarget ("bmbh") {
stop();
};
tellTarget ("ebmba") {
stop();
};
tellTarget ("ebmbb") {
stop();
};
tellTarget ("ebmbc") {
stop();
};
tellTarget ("ebmbd") {
stop();
};
tellTarget ("ebmbe") {
stop();
};
tellTarget ("ebmbf") {
stop();
};
tellTarget ("ebmbg") {
stop();
};
tellTarget ("ebmbh") {
stop();
};
}
on (keyPress "z") {
if (cntrlz == 2) {
if (Key.isDown(Key.Z)) {
if (1 < choicespeed) {
choicespeed = speed - 1;
}
if (1 < speed) {
speed = speed - 1;
}
}
}
}
on (keyPress "c") {
if (cntrlz == 2) {
if (Key.isDown(Key.C)) {
if (speed < 10) {
speed = speed + 1;
}
if (choicespeed < 10) {
choicespeed = choicespeed + 1;
}
}
}
}
on (keyPress "x") {
if (cntrlz == 2) {
if (Key.isDown(Key.X)) {
if ((0 + weapon) < energy) {
energy = energy - weapon;
if (bomba == false) {
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _y , yposition);
setProperty("/bmba", _x , xposition);
setProperty("/bmba", _x , xposition);
bomba = true;
bombtimea = 10;
xbombmova = xmov;
ybombmova = ymov;
rbombmova = xmov * 4;
} else if (bombb == false) {
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _y , yposition);
setProperty("/bmbb", _x , xposition);
setProperty("/bmbb", _x , xposition);
bombb = true;
bombtimeb = 10;
xbombmovb = xmov;
ybombmovb = ymov;
rbombmovb = xmov * 4;
} else if (bombc == false) {
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _y , yposition);
setProperty("/bmbc", _x , xposition);
setProperty("/bmbc", _x , xposition);
bombc = true;
bombtimec = 10;
xbombmovc = xmov;
ybombmovc = ymov;
rbombmovc = xmov * 4;
} else if (bombd == false) {
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _y , yposition);
setProperty("/bmbd", _x , xposition);
setProperty("/bmbd", _x , xposition);
bombd = true;
bombtimed = 10;
xbombmovd = xmov;
ybombmovd = ymov;
rbombmovd = xmov * 4;
} else if (bombe == false) {
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _y , yposition);
setProperty("/bmbe", _x , xposition);
setProperty("/bmbe", _x , xposition);
bombe = true;
bombtimee = 10;
xbombmove = xmov;
ybombmove = ymov;
rbombmove = xmov * 4;
} else if (bombf == false) {
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _y , yposition);
setProperty("/bmbf", _x , xposition);
setProperty("/bmbf", _x , xposition);
bombf = true;
bombtimef = 10;
xbombmovf = xmov;
ybombmovf = ymov;
rbombmovf = xmov * 4;
} else if (bombg == false) {
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _y , yposition);
setProperty("/bmbg", _x , xposition);
setProperty("/bmbg", _x , xposition);
bombg = true;
bombtimeg = 10;
xbombmovg = xmov;
ybombmovg = ymov;
rbombmovg = xmov * 4;
} else if (bombh == false) {
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _y , yposition);
setProperty("/bmbh", _x , xposition);
setProperty("/bmbh", _x , xposition);
bombh = true;
bombtimeh = 10;
xbombmovh = xmov;
ybombmovh = ymov;
rbombmovh = xmov * 4;
}
}
}
}
}
on (keyPress "d") {
if (cntrlz == 2) {
if (weapon < tech) {
weapon = weapon + 1;
} else if (weapon == tech) {
weapon = 1;
}
if (choicewepon < tech) {
choiceweapon = choiceweapon + 1;
} else if (choiceweapon == tech) {
choiceweapon = 1;
}
}
}
Symbol 1250 Button
on (keyPress "p") {
gotoAndPlay (2913);
tellTarget ("aa") {
play();
};
tellTarget ("bb") {
play();
};
tellTarget ("cc") {
play();
};
tellTarget ("decora") {
play();
};
tellTarget ("decorb") {
play();
};
tellTarget ("rift") {
play();
};
tellTarget ("bmba") {
play();
};
tellTarget ("bmbb") {
play();
};
tellTarget ("bmbc") {
play();
};
tellTarget ("bmbd") {
play();
};
tellTarget ("bmbe") {
play();
};
tellTarget ("bmbf") {
play();
};
tellTarget ("bmbg") {
play();
};
tellTarget ("bmbh") {
play();
};
tellTarget ("ebmba") {
play();
};
tellTarget ("ebmbb") {
play();
};
tellTarget ("ebmbc") {
play();
};
tellTarget ("ebmbd") {
play();
};
tellTarget ("ebmbe") {
play();
};
tellTarget ("ebmbf") {
play();
};
tellTarget ("ebmbg") {
play();
};
tellTarget ("ebmbh") {
play();
};
}
on (keyPress "P") {
gotoAndPlay (2913);
tellTarget ("aa") {
play();
};
tellTarget ("bb") {
play();
};
tellTarget ("cc") {
play();
};
tellTarget ("decora") {
play();
};
tellTarget ("decorb") {
play();
};
tellTarget ("rift") {
play();
};
tellTarget ("bmba") {
play();
};
tellTarget ("bmbb") {
play();
};
tellTarget ("bmbc") {
play();
};
tellTarget ("bmbd") {
play();
};
tellTarget ("bmbe") {
play();
};
tellTarget ("bmbf") {
play();
};
tellTarget ("bmbg") {
play();
};
tellTarget ("bmbh") {
play();
};
tellTarget ("ebmba") {
play();
};
tellTarget ("ebmbb") {
play();
};
tellTarget ("ebmbc") {
play();
};
tellTarget ("ebmbd") {
play();
};
tellTarget ("ebmbe") {
play();
};
tellTarget ("ebmbf") {
play();
};
tellTarget ("ebmbg") {
play();
};
tellTarget ("ebmbh") {
play();
};
}
Symbol 1251 Button
on (release) {
gotoAndPlay (2912);
}
Symbol 1252 Button
on (release) {
gotoAndPlay (2913);
}
Symbol 1256 Button
on (release) {
gotoAndPlay (30);
}
Symbol 1262 MovieClip Frame 1
stop();