Frame 1
function EncrpytString(strVal) {
var strKey = "aHfEjcDebChGiAfIjDbEjacD";
var nLenKey = strKey.length;
var strZero = "0";
var _local3 = "";
var nTot = strVal.length;
var _local1 = 0;
_local3 = "";
var nCodeVal;
var nCodeKey;
var _local2;
var nChecksum = 0;
nCnt = 0;
while (nCnt < nTot) {
nCodeVal = strVal.charCodeAt(nCnt);
if (nCodeVal >= 128) {
nCodeVal = "X";
}
nCodeKey = strKey.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= nLenKey) {
_local1 = 0;
}
_local2 = (nCodeVal % 16) + nCodeKey;
_local3 = _local3 + String.fromCharCode(_local2);
nChecksum = nChecksum + _local2;
nCodeKey = strKey.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= nLenKey) {
_local1 = 0;
}
_local2 = Math.floor(nCodeVal / 16) + nCodeKey;
_local3 = _local3 + String.fromCharCode(_local2);
nChecksum = nChecksum + _local2;
nCnt++;
}
nChecksum = nChecksum % 256;
nCodeKey = strKey.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= nLenKey) {
_local1 = 0;
}
_local2 = (nChecksum % 16) + nCodeKey;
_local3 = _local3 + String.fromCharCode(_local2);
nCodeKey = strKey.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= nLenKey) {
_local1 = 0;
}
_local2 = Math.floor(nChecksum / 16) + nCodeKey;
_local3 = _local3 + String.fromCharCode(_local2);
return(_local3);
}
function GetUrlParam(strUrl, strParam) {
var _local3 = strUrl.toLowerCase();
var _local1 = _local3.indexOf(strParam);
var nParamLen = strParam.length;
if (_local1 > 0) {
var nNumChars;
var _local2 = _local3.indexOf("&", _local1 + nParamLen);
if (_local2 > 0) {
nNumChars = _local2 - _local1;
} else {
nNumChars = strUrl.length - _local1;
}
return(strUrl.substr(_local1 + nParamLen, nNumChars));
}
return("");
}
function GetBaseUrl(strUrl) {
var _local1 = strUrl.toLowerCase();
var nNumChars = _local1.length;
var _local2 = _local1.indexOf("?", 0);
if (_local2 > 0) {
nNumChars = _local2;
}
var _local3 = "download";
if (_local1.substr(0, 4) == "http") {
_local3 = strUrl.substr(7, nNumChars - 7);
}
return(_local3);
}
Stage.showMenu = false;
stop();
_quality = "High";
Instance of Symbol 17 MovieClip in Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
Instance of Symbol 59 MovieClip in Frame 1
onClipEvent (enterFrame) {
if ((((_root.KB != true) && (key.IsDown(32))) && (key.IsDown(17))) && (stat > 50)) {
_root.KB = true;
this.play();
stat = 0;
}
if ((((_root.KB == true) && (key.IsDown(32))) && (key.IsDown(17))) && (stat > 50)) {
_root.KB = false;
this.play();
stat = 0;
}
stat = stat + 1;
}
Frame 2
stop();
_quality = "High";
Instance of Symbol 79 MovieClip "selecting" in Frame 2
onClipEvent (load) {
setting = 0;
}
onClipEvent (enterFrame) {
if (((key.IsDown(40) && (moved != true)) && (select != true)) && (setting > 15)) {
this.play();
moved = true;
it = it + 1;
}
if ((((key.IsDown(38) && (moved != true)) && (It > 0)) && (select != true)) && (setting > 15)) {
this.prevFrame();
moved = true;
it = it - 1;
}
if ((((key.IsDown(38) && (moved != true)) && (It <= 0)) && (select != true)) && (setting > 15)) {
this.gotoAndStop(6);
moved = true;
it = 5;
}
if (((key.Isdown(32) && (select != true)) && (it <= 0)) && (setting > 15)) {
_root.startgame.play();
select = true;
}
if (((key.Isdown(32) && (select != true)) && (it == 1)) && (setting > 15)) {
_root.menuS.gotoAndStop(3);
select = true;
}
if (((key.Isdown(32) && (select != true)) && (it == 2)) && (setting > 15)) {
_root.menuS.gotoAndStop(2);
select = true;
}
if (((key.Isdown(32) && (select != true)) && (it == 3)) && (setting > 15)) {
getURL ("http://www.heavygames.com", "_blank");
}
if (((key.Isdown(32) && (select != true)) && (it == 4)) && (setting > 15)) {
_root.menuS.gotoAndStop(4);
select = true;
}
if (((key.Isdown(32) && (select != true)) && (it == 5)) && (setting > 15)) {
_root.gotoAndPlay("credit2");
}
if (it > 5) {
it = 0;
}
setting = setting + 1;
}
onClipEvent (keyUp) {
if (moved == true) {
moved = false;
}
}
Frame 3
stop();
_quality = "High";
Frame 4
stop();
_quality = "High";
Instance of Symbol 242 MovieClip in Frame 4
onClipEvent (load) {
this.gotoAndPlay(1);
}
Instance of Symbol 255 MovieClip "missionstarted" in Frame 4
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 5
stop();
_quality = "Low";
Instance of Symbol 154 MovieClip "stars" in Frame 5
onClipEvent (enterFrame) {
if (_y > 200) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
}
Instance of Symbol 154 MovieClip "stars2" in Frame 5
onClipEvent (enterFrame) {
if (_y > 100) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
}
Instance of Symbol 154 MovieClip "stars3" in Frame 5
onClipEvent (enterFrame) {
if (_y > 100) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
}
Instance of Symbol 275 MovieClip in Frame 5
onClipEvent (load) {
_root.ship.pause = true;
triggered = false;
startup = 0;
acc = 8;
}
onClipEvent (enterFrame) {
if (startup > 100) {
triggered = true;
}
if ((triggered != true) && (dead != true)) {
startup = startup + 1;
}
if ((triggered == true) && (dead != true)) {
_y = (_y + 10);
_root.ship._y = _root.ship._y - acc;
acc = acc * 0.94;
_root.ship.fly = 100;
}
if (_y > 900) {
_root.ship.pause = false;
_root.ship.wave1 = true;
triggered = false;
dead = true;
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 324 MovieClip "ENEMY14" in Frame 5
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 110000 /* 0x01ADB0 */;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
power = 3;
startbattle = 0;
element = 1500;
_visible = false;
}
onClipEvent (enterFrame) {
if (((_root.ship.wave4 == true) && (Health <= 0)) && (of != true)) {
_root.romulus._visible = true;
_visible = true;
battle = true;
Health = HP;
of = true;
}
if (battle == true) {
startbattle = startbattle + 1;
}
if (startbattle > 500) {
_root.romulus._y = _root.romulus._y + 3;
}
if (_y > 70) {
_root.romulus.cannon.play();
_root.romulus.cannon2.play();
startbattle = 0;
battle = false;
}
if ((_root.ship.wave4 == true) && (Health <= 0)) {
deathSEQ = deathSEQ + 1;
_rotation = 0;
}
if ((deathSEQ > 5) && (deathSEQ < 8)) {
this.gotoAndPlay("death");
}
if ((deathSEQ > 50) && (deathSEQ < 54)) {
_root.romulus.play();
}
if (deathSEQ > 173) {
_root.ship.bossdeath = 5;
}
if (((_root.ship.wave4 == true) && (Health > 0)) && (_y > 65)) {
_rotation = (90 + (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180)));
firing = firing + 1;
spin = 90 - (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
if ((((((_root.ship._y < (_y + 400)) && (firing > 60)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave4 == true)) && (multiple != true)) {
duplicateMovieClip (_root.Bossblast, "nullattack" + element, element);
multiple = true;
}
if (multiple == true) {
revert = revert + 1;
}
if (revert > 17) {
multiple = false;
revert = 0;
reverting = reverting + 1;
}
if (reverting > 6) {
firing = 0;
revert = 0;
reverting = 0;
multiple = false;
}
if (element > 2000) {
element = 1500;
}
if (((_root.romulus.cannon.laser.beam.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((6 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((6 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_root.ship._x = _root.ship._x + 10;
}
if (((_root.romulus.cannon2.laser.beam.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((6 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((6 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_root.ship._x = _root.ship._x - 10;
}
YCO = _y - (100 * Math.sin(spin));
XCO = _x - (100 * Math.cos(spin));
_root.YM = YCO;
_root.XM = XCO;
_root.dor = spin;
element = element + 1;
_root.bhp = Health;
_y = (_root.romulus._y + 210);
_x = (_root.romulus._x + 230);
this.guy.gore.gotoAndStop(1);
}
Instance of Symbol 334 MovieClip "ship" in Frame 5
onClipEvent (load) {
motion = 5;
helix = 1;
Health = 710;
Lquota = 200 + (Math.random() * 260);
_root.ammo = 0;
bossdeath = 0;
fly = 0;
flyR = 0;
revert = 0;
flyL = 0;
rocketammo = 0;
Rquota = 200 + (Math.random() * 260);
_root.difficulty = 1;
_root.score = 0;
_root.kills = 0;
_root.damage = 0;
Hquota = (3000 + (Math.random() * 1460)) + (100 * _root.difficulty);
acce = 1;
}
onClipEvent (enterFrame) {
if (((key.IsDown(38) && (pause != true)) && (_y > 100)) && (_root.KB != true)) {
_y = (_y - motion);
fly = 100;
}
if (((key.IsDown(40) && (pause != true)) && (_y < 520)) && (_root.KB != true)) {
_y = (_y + motion);
REVERT = 100;
}
if (((key.IsDown(37) && (pause != true)) && (_x > 30)) && (_root.KB != true)) {
_x = (_x - motion);
flight = true;
_rotation = -10;
flyL = 100;
}
if (((key.IsDown(39) && (pause != true)) && (_x < 370)) && (_root.KB != true)) {
_x = (_x + motion);
flight = true;
_rotation = 10;
flyR = 100;
}
if (_root.KB == true) {
}
if ((_root.KB == true) && (_x >= 370)) {
_x = 370;
}
if ((_root.KB == true) && (_x <= 30)) {
_x = 30;
}
if ((_root.KB == true) && (_y <= 100)) {
_y = 100;
}
if ((_root.KB == true) && (_y >= 520)) {
_y = 520;
}
if ((((_root.ORG._x > (_x + 20)) && (_root.KB == true)) && (_x < 370)) && (pause != true)) {
_x = (_x + motion);
flyR = 100;
_rotation = 10;
}
if ((((_root.ORG._x < (_x - 20)) && (_root.KB == true)) && (_x > 30)) && (pause != true)) {
_x = (_x - motion);
flyL = 100;
_rotation = -10;
}
if ((((_root.ORG._y > (_y + 20)) && (_root.KB == true)) && (_y < 520)) && (pause != true)) {
_y = (_y + motion);
revert = 100;
}
if ((((_root.ORG._y < (_y - 20)) && (_root.KB == true)) && (_y > 100)) && (pause != true)) {
_y = (_y - motion);
fly = 100;
}
if ((_x < (_root.ORG._x + 40)) && (_x > (_root.ORG._x - 40))) {
_rotation = 0;
}
if (pause != true) {
fly = fly - 1;
flyR = flyR - 2;
flyL = flyL - 2;
revert = revert - 3;
reload = reload + 1;
_root.BG._y = _root.BG._y + 0.02;
}
if (((key.IsDown(83) && (pause != true)) && (weapon <= 1)) && (firedelay == false)) {
duplicateMovieClip (_root.laser1, "nulllaser" + element, element);
firedelay = true;
backons = true;
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 2)) && (firedelay == false)) {
duplicateMovieClip (_root.laser2, "nulllaser" + element, element);
firedelay = true;
backons = true;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 3)) && (firedelay == false)) && (helix == 1)) {
duplicateMovieClip (_root.laser3, "nulllaser" + element, element);
firedelay = true;
backons = true;
helix = 2;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 3)) && (firedelay == false)) && (helix == 2)) {
duplicateMovieClip (_root.laser4, "nulllaser" + element, element);
firedelay = true;
helix = 1;
backons = true;
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 4)) && (firedelay == false)) {
duplicateMovieClip (_root.laser5, "nulllaser" + element, element);
firedelay = true;
backon = true;
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 5)) && (firedelay == false)) {
duplicateMovieClip (_root.laser9, "nulllaser" + element, element);
firedelay = true;
}
if (scatter > 18) {
scatter = 0;
burst = false;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 6)) && (firedelay == false)) && (mega != true)) {
duplicateMovieClip (_root.laser11, "nulllaser" + element, element);
mega = true;
}
if (mega == true) {
bu = bu + 1;
}
if ((BU > 1) && (BU < 3)) {
duplicateMovieClip (_root.laserBU1, "nulllaser" + element, element);
}
if ((BU > 2) && (BU < 4)) {
duplicateMovieClip (_root.laserBU2, "nulllaser" + element, element);
}
if (BU > 18) {
BU = 0;
mega = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket <= 1)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.Rocket, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP1 = rocketammoEP1 - 1;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 2)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.Rocket2, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP2 = rocketammoEP2 - 1;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 3)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketLOCKED1, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP3 = rocketammoEP3 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 1) && (rocket == 3)) {
duplicateMovieClip (_root.RocketLOCKED2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 4)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketDU1, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP4 = rocketammoEP4 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 1) && (rocket == 4)) {
duplicateMovieClip (_root.RocketDU2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 5)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketPL, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP5 = rocketammoEP5 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 0) && (rocket == 5)) {
duplicateMovieClip (_root.rocketPL2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
firethird = true;
}
if (firethird == true) {
rebound2 = rebound2 + 1;
}
if ((rebound2 > 0) && (rocket == 5)) {
duplicateMovieClip (_root.laserPL, "nulllaser" + element, element);
rebound2 = 0;
firesecond = false;
firethird = false;
}
if (rocket <= 1) {
rocketammo = rocketammoEP1;
RAfull = 20;
}
if (rocket == 2) {
rocketammo = rocketammoEP2;
RAfull = 20;
}
if (rocket == 3) {
rocketammo = rocketammoEP3;
RAfull = 20;
}
if (rocket == 4) {
rocketammo = rocketammoEP4;
RAfull = 20;
}
if (rocket >= 5) {
rocketammo = rocketammoEP5;
RAfull = 10;
}
if ((backons == true) && (pause != true)) {
BUKS = BUKS + 1;
}
if ((BUKS > 2) && (BUP == 1)) {
duplicateMovieClip (_root.backup, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 2)) {
duplicateMovieClip (_root.backup2, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 3)) {
duplicateMovieClip (_root.backup3, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 4)) {
duplicateMovieClip (_root.backup4, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((releaseL > Lquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.laserupgrade, "nullless" + element, element);
Lquota = 300 + (Math.random() * 460);
releasel = 0;
}
if ((releaseR > Rquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.rocketupgrade, "nullless" + element, element);
Rquota = 300 + (Math.random() * 460);
releaseR = 0;
}
if ((releaseH > Hquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.HEalth, "nullless" + element, element);
Hquota = (3000 + (Math.random() * 1460)) + (100 * _root.difficulty);
releaseH = 0;
}
if ((releaseB > Bquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.backupupgrade, "nullless" + element, element);
Bquota = 300 + (Math.random() * 460);
releaseB = 0;
}
if (pause != true) {
releaseR = releaseR + 1;
releaseL = releaseL + 1;
releaseH = releaseH + 1;
releaseB = releaseB + 1;
}
if (reload > 20) {
reload = 20;
}
if (element > 999) {
element = 0;
}
if (weapon <= 1) {
_root.stat.laser.gotoAndStop(1);
}
if (weapon == 2) {
_root.stat.laser.gotoAndStop(2);
}
if (weapon == 3) {
_root.stat.laser.gotoAndStop(3);
}
if (weapon == 4) {
_root.stat.laser.gotoAndStop(4);
}
if (weapon == 5) {
_root.stat.laser.gotoAndStop(5);
}
if (weapon >= 6) {
_root.stat.laser.gotoAndStop(6);
}
if (rocket <= 0) {
_root.stat.missile.gotoAndStop(6);
}
if (rocket == 1) {
_root.stat.missile.gotoAndStop(1);
}
if (rocket == 2) {
_root.stat.missile.gotoAndStop(2);
}
if (rocket == 3) {
_root.stat.missile.gotoAndStop(3);
}
if (rocket == 4) {
_root.stat.missile.gotoAndStop(4);
}
if (rocket == 5) {
_root.stat.missile.gotoAndStop(5);
}
if (Health > 710) {
Health = 710;
}
if (Health <= 0) {
death = death + 1;
Health = 0;
firedelay = true;
_root.stat.bar._visible = false;
}
if ((death > 20) && (death < 24)) {
motion = 0;
this.gotoAndPlay("dead");
}
if (death > 54) {
_visible = false;
}
if ((death > 70) && (death < 74)) {
_root.music.gotoAndPlay("gameover");
pause = true;
}
if ((wave1 == true) && (order <= 0)) {
wave2 = false;
wave3 = false;
wave4 = false;
order = 1;
}
if (((waveC > 14) && (wave1 == true)) && (order == 1)) {
wave1 = false;
wave3 = false;
wave4 = false;
wave2 = true;
waveC = 0;
order = 2;
}
if (((waveC > 24) && (wave2 == true)) && (order == 2)) {
wave2 = false;
wave3 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 3;
}
if (((waveC > 18) && (wave1 == true)) && (order == 3)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 4;
}
if (((waveC > 10) && (wave3 == true)) && (order == 4)) {
wave2 = false;
wave3 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 5;
}
if (((waveC > 12) && (wave1 == true)) && (order == 5)) {
wave1 = false;
wave3 = false;
wave4 = false;
wave2 = true;
waveC = 0;
order = 6;
}
if (((waveC > 8) && (wave2 == true)) && (order == 6)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 7;
}
if (((waveC > 15) && (wave3 == true)) && (order == 7)) {
wave1 = false;
wave3 = false;
wave2 = false;
wave4 = true;
waveC = 0;
_root.music.gotoAndPlay("boss");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
_root.ENEMY3.Health = 0;
_root.ENEMY4.Health = 0;
_root.ENEMY5.Health = 0;
_root.ENEMY6.Health = 0;
_root.ENEMY7.Health = 0;
_root.ENEMY8.Health = 0;
_root.ENEMY9.Health = 0;
_root.ENEMY10.Health = 0;
_root.ENEMY11.Health = 0;
_root.ENEMY12.Health = 0;
_root.ENEMY13.Health = 0;
startboss = true;
}
if (((bossdeath > 1) && (wave4 == true)) && (order == 7)) {
wave3 = false;
wave4 = false;
wave2 = false;
wave1 = false;
waveC = 0;
order = 10;
_root.music.gotoAndPlay("victory");
}
if (startboss == true) {
dieoffenemies = dieoffenemies + 1;
}
if (dieoffenemies > 50) {
_root.ENEMY._visible = false;
_root.ENEMY2._visible = false;
_root.ENEMY3._visible = false;
_root.ENEMY4._visible = false;
_root.ENEMY5._visible = false;
_root.ENEMY6._visible = false;
_root.ENEMY7._visible = false;
_root.ENEMY8._visible = false;
_root.ENEMY9._visible = false;
_root.ENEMY10._visible = false;
_root.ENEMY11._visible = false;
_root.ENEMY12._visible = false;
_root.ENEMY13._visible = false;
_root.ENEMY._y = -500;
_root.ENEMY2._y = -500;
_root.ENEMY3._y = -500;
_root.ENEMY4._y = -500;
_root.ENEMY5._y = -500;
_root.ENEMY6._y = -500;
_root.ENEMY7._y = -500;
_root.ENEMY8._y = -500;
_root.ENEMY9._y = -500;
_root.ENEMY10._y = -500;
_root.ENEMY11._y = -500;
_root.ENEMY12._y = -500;
_root.ENEMY13._y = -500;
_root.removeMovieClip(_root.ENEMY);
_root.removeMovieClip(_root.ENEMY2);
_root.removeMovieClip(_root.ENEMY3);
_root.removeMovieClip(_root.ENEMY4);
_root.removeMovieClip(_root.ENEMY5);
_root.removeMovieClip(_root.ENEMY6);
_root.removeMovieClip(_root.ENEMY7);
_root.removeMovieClip(_root.ENEMY8);
_root.removeMovieClip(_root.ENEMY9);
_root.removeMovieClip(_root.ENEMY10);
_root.removeMovieClip(_root.ENEMY11);
_root.removeMovieClip(_root.ENEMY12);
_root.removeMovieClip(_root.ENEMY13);
}
if (_root.OAS < _root.score) {
_root.OAS = _root.score;
}
if (((bossbattle == true) && (acce <= 340)) && (bossdeath <= 0)) {
acce = acce * 1.15;
}
if (bossdeath > 0) {
setup = setup + 1;
acce = acce * 0.9;
}
if (setup < 10) {
scoreset = _root.score;
}
if (setup > 10) {
_root.score = scoreset;
}
if (acce > 100) {
fly = 100;
}
if (((EXPL > 10) && (EXP < 20)) && (bonus != true)) {
_root.stuff.gotoAndPlay("explosive");
bonus = true;
}
if ((EXPL >= 20) && (bonus != true)) {
_root.stuff.gotoAndPlay("massacre");
bonus = true;
}
if ((bonus = true)) {
runout = runout + 1;
}
if (runout > 40) {
bonus = false;
EXPL = 0;
runout = 0;
}
if (expl <= 0) {
expl = 0;
}
if (_root.score >= 280000) {
Srank = 5;
}
if ((_root.score < 280000) && (_root.score >= 230000)) {
Srank = 4;
}
if ((_root.score < 230000) && (_root.score >= 190000)) {
Srank = 3;
}
if ((_root.score < 190000) && (_root.score >= 160000)) {
Srank = 2;
}
if (_root.score < 160000) {
Srank = 1;
}
if (_root.kills >= 80) {
Krank = 5;
}
if ((_root.kills < 80) && (_root.kills >= 65)) {
Krank = 4;
}
if ((_root.kills < 65) && (_root.kills >= 45)) {
Krank = 3;
}
if ((_root.kills < 45) && (_root.kills >= 35)) {
Krank = 2;
}
if (_root.kills < 35) {
Krank = 1;
}
if (_root.damage <= 290) {
Drank = 5;
}
if ((_root.damage > 290) && (_root.damage <= 340)) {
Drank = 4;
}
if ((_root.damage > 340) && (_root.damage <= 490)) {
Drank = 3;
}
if ((_root.damage > 490) && (_root.damage <= 590)) {
Drank = 2;
}
if (_root.damage > 590) {
Drank = 1;
}
if (Srank == 1) {
_root.music.stat.Srank.gotoAndStop(1);
}
if (Srank == 2) {
_root.music.stat.Srank.gotoAndStop(2);
}
if (Srank == 3) {
_root.music.stat.Srank.gotoAndStop(3);
}
if (Srank == 4) {
_root.music.stat.Srank.gotoAndStop(4);
}
if (Srank == 5) {
_root.music.stat.Srank.gotoAndStop(5);
}
if (Drank == 1) {
_root.music.stat.Drank.gotoAndStop(1);
}
if (Drank == 2) {
_root.music.stat.Drank.gotoAndStop(2);
}
if (Drank == 3) {
_root.music.stat.Drank.gotoAndStop(3);
}
if (Drank == 4) {
_root.music.stat.Drank.gotoAndStop(4);
}
if (Drank == 5) {
_root.music.stat.Drank.gotoAndStop(5);
}
if (Krank == 1) {
_root.music.stat.Krank.gotoAndStop(1);
}
if (Krank == 2) {
_root.music.stat.Krank.gotoAndStop(2);
}
if (Krank == 3) {
_root.music.stat.Krank.gotoAndStop(3);
}
if (Krank == 4) {
_root.music.stat.Krank.gotoAndStop(4);
}
if (Krank == 5) {
_root.music.stat.Krank.gotoAndStop(5);
}
if (overall >= 13) {
_root.music.stat.OArank.gotoAndStop(5);
}
if ((overall < 13) && (overall >= 9)) {
_root.music.stat.OArank.gotoAndStop(4);
}
if ((overall < 9) && (overall >= 5)) {
_root.music.stat.OArank.gotoAndStop(3);
}
if ((overall < 5) && (overall >= 2)) {
_root.music.stat.OArank.gotoAndStop(2);
}
if (overall < 2) {
_root.music.stat.OArank.gotoAndStop(1);
}
if (chain <= 0) {
chain = 0;
_root.stat.chains._visible = false;
_root.stat.chains._alpha = 100;
alphaage = false;
}
if (chain > 0) {
eliminate = eliminate + 1;
}
if (eliminate > 100) {
alphaage = true;
eliminate = 0;
}
if (alphaage == true) {
_root.stat.chains._alpha = _root.stat.chains._alpha - 3;
}
if (_root.stat.chains._alpha < 5) {
chain = 0;
}
if ((pause != true) && (_root.stat.chains._visible == false)) {
chain = chain - 0.1;
}
if (pause != true) {
_root.stat.chains.chain = Math.round(chain);
rechain = rechain + 1;
}
if (chain > 1) {
_root.stat.chains._visible = true;
}
Overall = (Srank + Drank) + Krank;
_root.music.stat.scores = _root.score;
_root.music.stat.damages = _root.damage;
_root.music.stat.killss = _root.kills;
_root.stars._y = _root.stars._y + 0.5;
_root.stars2._y = _root.stars2._y + 0.5;
_root.stars3._y = _root.stars3._y + 0.5;
_root.stars._y = _root.stars._y + (acce / 10);
_root.stars2._y = _root.stars2._y + (acce / 10);
_root.stars3._y = _root.stars3._y + (acce / 10);
_root.stat.PER = Math.round(Health / 7.1);
_root.stat.bar._width = Health / 4;
this.jetB._alpha = revert;
this.jetB2._alpha = revert;
this.jet._alpha = fly;
this.jetR._alpha = flyR;
this.jetL._alpha = flyL;
element = element + 1;
_root.stat.RFammo = RAfull;
_root.stat.scores = _root.score;
_root.stat.ammo = rocketammo;
_root.stuff._x = _x - 40;
_root.stuff._y = _y;
EXPL = EXPL - 0.05;
startDrag ("_root.ORG", true);
}
onClipEvent (keyUp) {
if ((flight == true) && (_root.KB != true)) {
_rotation = 0;
}
if (Health > 0) {
firedelay = false;
}
}
onClipEvent (mouseDown) {
if ((pause != true) && (weapon <= 1)) {
duplicateMovieClip (_root.laser1, "nulllaser" + element, element);
backons = true;
}
if ((pause != true) && (weapon == 2)) {
duplicateMovieClip (_root.laser2, "nulllaser" + element, element);
backons = true;
}
if (((pause != true) && (weapon == 3)) && (helix == 1)) {
duplicateMovieClip (_root.laser3, "nulllaser" + element, element);
backons = true;
helix = 2;
}
if (((pause != true) && (weapon == 3)) && (helix == 2)) {
duplicateMovieClip (_root.laser4, "nulllaser" + element, element);
helix = 1;
backons = true;
}
if ((pause != true) && (weapon == 4)) {
duplicateMovieClip (_root.laser5, "nulllaser" + element, element);
backon = true;
}
if ((pause != true) && (weapon == 5)) {
duplicateMovieClip (_root.laser9, "nulllaser" + element, element);
}
if (scatter > 18) {
scatter = 0;
burst = false;
}
if (((pause != true) && (weapon == 6)) && (mega != true)) {
duplicateMovieClip (_root.laser11, "nulllaser" + element, element);
mega = true;
}
}
Instance of Symbol 336 MovieClip "ORG" in Frame 5
onClipEvent (enterFrame) {
_visible = false;
}
Instance of Symbol 347 MovieClip "laser1" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 20;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "laser2" in Frame 5
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 16;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser2._visible = false;
removeMovieClip(_root.laser2);
}
Instance of Symbol 351 MovieClip "rocket" in Frame 5
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
self = 0;
_rotation = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocket.gotoAndStop(50);
_root.rocket._visible = false;
removeMovieClip(_root.rocket);
}
Instance of Symbol 349 MovieClip "laser3" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x + 15);
_y = (_root.ship._y - 30);
power = 15;
lockon = 0;
_visible = true;
bizzare = _root.ship._x + 15;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((40 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser3._visible = false;
removeMovieClip(_root.laser3);
}
Instance of Symbol 349 MovieClip "laser4" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x - 15);
_y = (_root.ship._y - 30);
power = 15;
lockon = 0;
_visible = true;
bizzare = _root.ship._x - 15;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((-40 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser4._visible = false;
removeMovieClip(_root.laser4);
}
Instance of Symbol 356 MovieClip "laser5" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 30;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser5._visible = false;
removeMovieClip(_root.laser5);
}
Instance of Symbol 351 MovieClip "rocketDU1" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x + 20);
bizzare = _root.ship._x + 20;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
_rotation = 0;
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
_x = ((30 * Math.sin(_y / 60)) + bizzare);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if ((timer > (delay - 2)) && (timer <= delay)) {
_root.sound.gotoAndPlay("rocket");
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketDU1.gotoAndStop(50);
_root.rocketDU1._visible = false;
removeMovieClip(_root.rocketDU1);
}
Instance of Symbol 351 MovieClip "rocketDU2" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x - 20);
bizzare = _root.ship._x - 20;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
self = 0;
_rotation = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
_x = ((-30 * Math.sin(_y / 70)) + bizzare);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if ((timer > (delay - 2)) && (timer <= delay)) {
_root.sound.gotoAndPlay("rocket");
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketDU2.gotoAndStop(50);
_root.rocketDU2._visible = false;
removeMovieClip(_root.rocketDU2);
}
Instance of Symbol 349 MovieClip "laser11" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 15;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser11._visible = false;
removeMovieClip(_root.laser11);
}
Instance of Symbol 347 MovieClip "backup3" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x + 19);
_y = (_root.ship._y - 30);
power = 4;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.backup3._visible = false;
removeMovieClip(_root.backup3);
}
Instance of Symbol 349 MovieClip "backup" in Frame 5
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 6;
lockon = 0;
_visible = true;
bizzare = _root.ship._x;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((-20 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.backup._visible = false;
removeMovieClip(_root.backup);
}
Instance of Symbol 347 MovieClip "backup2" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x + 19);
_y = (_root.ship._y + 30);
power = 15;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 560) {
removeMovieClip(this);
this._visible = false;
}
_root.backup2._visible = false;
removeMovieClip(_root.backup2);
}
Instance of Symbol 349 MovieClip "backup4" in Frame 5
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 6;
death = 0;
lockon = 0;
_visible = true;
_rotation = 0;
_alpha = 100;
Ymotion = 10;
MM = (Math.random() * 2) - (Math.random() * 2);
are = _root.ship._x + 10;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - Ymotion);
_x = (_x + Xmotion);
_rotation = (_rotation + 3);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
Ymotion = (-Math.random()) * 15;
Xmotion = (Math.random() * 15) - (Math.random() * 15);
}
if (_y > 500) {
Ymotion = Math.random() * 15;
Xmotion = (Math.random() * 15) - (Math.random() * 15);
}
if (_x < 40) {
Xmotion = Math.random() * 15;
}
if (_x > 370) {
Xmotion = (-Math.random()) * 15;
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (death > 360) {
removeMovieClip(this);
this._visible = false;
}
death = death + 1;
_root.backup4._visible = false;
removeMovieClip(_root.backup4);
}
Instance of Symbol 358 MovieClip "rocket2" in Frame 5
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - YMOVE);
_x = (_x - XMOVE);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
_rotation = (_rotation + 3);
}
if ((((((_root.ENEMY._y > (_y - 200)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (_root.ENEMY.Health > 0)) {
locked = 1;
}
if ((((((_root.ENEMY2._y > (_y - 200)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 120))) && (_root.ENEMY2._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY2.Health > 0)) {
locked = 2;
}
if ((((((_root.ENEMY3._y > (_y - 200)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 120))) && (_root.ENEMY3._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY3.Health > 0)) {
locked = 3;
}
if ((((((_root.ENEMY4._y > (_y - 200)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 120))) && (_root.ENEMY4._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY4.Health > 0)) {
locked = 4;
}
if ((((((_root.ENEMY5._y > (_y - 200)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 120))) && (_root.ENEMY5._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY5.Health > 0)) {
locked = 5;
}
if ((((((_root.ENEMY6._y > (_y - 200)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 120))) && (_root.ENEMY6._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY6.Health > 0)) {
locked = 6;
}
if ((((((_root.ENEMY7._y > (_y - 200)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 120))) && (_root.ENEMY7._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY7.Health > 0)) {
locked = 7;
}
if ((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 120))) && (_root.ENEMY8._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY8.Health > 0)) {
locked = 8;
}
if ((((((_root.ENEMY9._y > (_y - 200)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 120))) && (_root.ENEMY9._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY9.Health > 0)) {
locked = 9;
}
if ((((((_root.ENEMY10._y > (_y - 200)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 120))) && (_root.ENEMY10._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY10.Health > 0)) {
locked = 10;
}
if ((((((_root.ENEMY11._y > (_y - 200)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 120))) && (_root.ENEMY11._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY11.Health > 0)) {
locked = 11;
}
if ((((((_root.ENEMY12._y > (_y - 200)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 120))) && (_root.ENEMY12._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY12.Health > 0)) {
locked = 12;
}
if ((((((_root.ENEMY14._y > (_y - 200)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 120))) && (_root.ENEMY14._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY14.Health > 0)) {
locked = 14;
}
if ((((((_root.ENEMY15._y > (_y - 200)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 120))) && (_root.ENEMY15._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY15.Health > 0)) {
locked = 15;
}
if ((((((_root.ENEMY16._y > (_y - 200)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 120))) && (_root.ENEMY16._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY16.Health > 0)) {
locked = 16;
}
if ((locked == 1) && (_root.ENEMY._x > _x)) {
_x = (_x + 4);
}
if ((locked == 2) && (_root.ENEMY2._x > _x)) {
_x = (_x + 4);
}
if ((locked == 3) && (_root.ENEMY3._x > _x)) {
_x = (_x + 4);
}
if ((locked == 4) && (_root.ENEMY4._x > _x)) {
_x = (_x + 4);
}
if ((locked == 5) && (_root.ENEMY5._x > _x)) {
_x = (_x + 4);
}
if ((locked == 6) && (_root.ENEMY6._x > _x)) {
_x = (_x + 4);
}
if ((locked == 7) && (_root.ENEMY7._x > _x)) {
_x = (_x + 4);
}
if ((locked == 8) && (_root.ENEMY8._x > _x)) {
_x = (_x + 4);
}
if ((locked == 9) && (_root.ENEMY9._x > _x)) {
_x = (_x + 4);
}
if ((locked == 10) && (_root.ENEMY10._x > _x)) {
_x = (_x + 4);
}
if ((locked == 11) && (_root.ENEMY11._x > _x)) {
_x = (_x + 4);
}
if ((locked == 12) && (_root.ENEMY12._x > _x)) {
_x = (_x + 4);
}
if ((locked == 13) && (_root.ENEMY13._x > _x)) {
_x = (_x + 4);
}
if ((locked == 14) && (_root.ENEMY14._x > _x)) {
_x = (_x + 4);
}
if ((locked == 15) && (_root.ENEMY15._x > _x)) {
_x = (_x + 4);
}
if ((locked == 16) && (_root.ENEMY16._x > _x)) {
_x = (_x + 4);
}
if ((locked == 1) && (_root.ENEMY._x < _x)) {
_x = (_x - 4);
}
if ((locked == 2) && (_root.ENEMY2._x < _x)) {
_x = (_x - 4);
}
if ((locked == 3) && (_root.ENEMY3._x < _x)) {
_x = (_x - 4);
}
if ((locked == 4) && (_root.ENEMY4._x < _x)) {
_x = (_x - 4);
}
if ((locked == 5) && (_root.ENEMY5._x < _x)) {
_x = (_x - 4);
}
if ((locked == 6) && (_root.ENEMY6._x < _x)) {
_x = (_x - 4);
}
if ((locked == 7) && (_root.ENEMY7._x < _x)) {
_x = (_x - 4);
}
if ((locked == 8) && (_root.ENEMY8._x < _x)) {
_x = (_x - 4);
}
if ((locked == 9) && (_root.ENEMY9._x < _x)) {
_x = (_x - 4);
}
if ((locked == 10) && (_root.ENEMY10._x < _x)) {
_x = (_x - 4);
}
if ((locked == 11) && (_root.ENEMY11._x < _x)) {
_x = (_x - 4);
}
if ((locked == 12) && (_root.ENEMY12._x < _x)) {
_x = (_x - 4);
}
if ((locked == 13) && (_root.ENEMY13._x < _x)) {
_x = (_x - 4);
}
if ((locked == 14) && (_root.ENEMY14._x < _x)) {
_x = (_x - 4);
}
if ((locked == 15) && (_root.ENEMY15._x < _x)) {
_x = (_x - 4);
}
if ((locked == 16) && (_root.ENEMY16._x < _x)) {
_x = (_x - 4);
}
if ((locked == 1) && (_root.ENEMY._y > _y)) {
_y = (_y + 4);
}
if ((locked == 2) && (_root.ENEMY2._y > _y)) {
_y = (_y + 4);
}
if ((locked == 3) && (_root.ENEMY3._y > _y)) {
_y = (_y + 4);
}
if ((locked == 4) && (_root.ENEMY4._y > _y)) {
_y = (_y + 4);
}
if ((locked == 5) && (_root.ENEMY5._y > _y)) {
_y = (_y + 4);
}
if ((locked == 6) && (_root.ENEMY6._y > _y)) {
_y = (_y + 4);
}
if ((locked == 7) && (_root.ENEMY7._y > _y)) {
_y = (_y + 4);
}
if ((locked == 8) && (_root.ENEMY8._y > _y)) {
_y = (_y + 4);
}
if ((locked == 9) && (_root.ENEMY9._y > _y)) {
_y = (_y + 4);
}
if ((locked == 10) && (_root.ENEMY10._y > _y)) {
_y = (_y + 4);
}
if ((locked == 11) && (_root.ENEMY11._y > _y)) {
_y = (_y + 4);
}
if ((locked == 12) && (_root.ENEMY12._y > _y)) {
_y = (_y + 4);
}
if ((locked == 13) && (_root.ENEMY13._y > _y)) {
_y = (_y + 4);
}
if ((locked == 14) && (_root.ENEMY14._y > _y)) {
_y = (_y + 4);
}
if ((locked == 15) && (_root.ENEMY15._y > _y)) {
_y = (_y + 4);
}
if ((locked == 16) && (_root.ENEMY16._y > _y)) {
_y = (_y + 4);
}
if ((locked == 1) && (_root.ENEMY._y < _y)) {
_y = (_y - 4);
}
if ((locked == 2) && (_root.ENEMY2._y < _y)) {
_y = (_y - 4);
}
if ((locked == 3) && (_root.ENEMY3._y < _y)) {
_y = (_y - 4);
}
if ((locked == 4) && (_root.ENEMY4._y < _y)) {
_y = (_y - 4);
}
if ((locked == 5) && (_root.ENEMY5._y < _y)) {
_y = (_y - 4);
}
if ((locked == 6) && (_root.ENEMY6._y < _y)) {
_y = (_y - 4);
}
if ((locked == 7) && (_root.ENEMY7._y < _y)) {
_y = (_y - 4);
}
if ((locked == 8) && (_root.ENEMY8._y < _y)) {
_y = (_y - 4);
}
if ((locked == 9) && (_root.ENEMY9._y < _y)) {
_y = (_y - 4);
}
if ((locked == 10) && (_root.ENEMY10._y < _y)) {
_y = (_y - 4);
}
if ((locked == 11) && (_root.ENEMY11._y < _y)) {
_y = (_y - 4);
}
if ((locked == 12) && (_root.ENEMY12._y < _y)) {
_y = (_y - 4);
}
if ((locked == 13) && (_root.ENEMY13._y < _y)) {
_y = (_y - 4);
}
if ((locked == 14) && (_root.ENEMY14._y < _y)) {
_y = (_y - 4);
}
if ((locked == 15) && (_root.ENEMY15._y < _y)) {
_y = (_y - 4);
}
if ((locked == 16) && (_root.ENEMY16._y < _y)) {
_y = (_y - 4);
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocket2.gotoAndStop(50);
_root.rocket2._visible = false;
removeMovieClip(_root.rocket2);
}
Instance of Symbol 360 MovieClip "laser9" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x - 10);
_y = (_root.ship._y - 40);
power = 15;
lockon = 0;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 22);
}
if (_x > 400) {
_visible = false;
_root.removeMovieClip(this);
}
if (_x < 0) {
_visible = false;
_root.removeMovieClip(this);
}
if (_y < 0) {
_visible = false;
_root.removeMovieClip(this);
}
if (_y > 600) {
_visible = false;
_root.removeMovieClip(this);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser9._visible = false;
removeMovieClip(_root.laser9);
}
Instance of Symbol 363 MovieClip "laserBU1" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = _root.ship._y;
power = 3;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x + 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((30 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * acdc);
acdc = acdc + 0.2;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.laserBU1.gotoAndStop(50);
_root.laserBU1._visible = false;
removeMovieClip(_root.laserBU1);
}
Instance of Symbol 363 MovieClip "laserBU2" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = _root.ship._y;
power = 3;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x - 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((-30 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.laserBU2.gotoAndStop(50);
_root.laserBU2._visible = false;
removeMovieClip(_root.laserBU2);
}
Instance of Symbol 363 MovieClip "rocketLOCKED1" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x + 30;
self = 0;
acc = -7;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((20 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketlocked1.gotoAndStop(50);
_root.rocketlocked1._visible = false;
removeMovieClip(_root.rocketlocked1);
}
Instance of Symbol 363 MovieClip "rocketLOCKED2" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x - 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((-20 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketlocked2.gotoAndStop(50);
_root.rocketlocked2._visible = false;
removeMovieClip(_root.rocketlocked2);
}
Instance of Symbol 358 MovieClip "rocketPL" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = (_root.ship._y - 10);
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - 14);
_x = (_x - 3);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketPL.gotoAndStop(50);
_root.rocketPL._visible = false;
removeMovieClip(_root.rocketPL);
}
Instance of Symbol 358 MovieClip "rocketPL2" in Frame 5
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = (_root.ship._y - 30);
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - 14);
_x = (_x + 3);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketPL2.gotoAndStop(50);
_root.rocketPL2._visible = false;
removeMovieClip(_root.rocketPL2);
}
Instance of Symbol 376 MovieClip "laserpl" in Frame 5
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y + 40);
power = 7;
locked = 0;
element = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
_xscale = 45;
_rotation = 0;
RO = (Math.random() * 20) - (Math.random() * 20);
firstRO = true;
backro = false;
DU = false;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (firstRO == true)) {
_y = (_y - 7);
_rotation = (_rotation + RO);
_xscale = (_xscale - 12);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if ((_root.ship.pause != true) && (backRO == true)) {
_y = (_y - 7);
_rotation = (_rotation + RO);
_xscale = (_xscale + 12);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (_xscale <= -300) {
firstRO = false;
backRO = true;
}
if (_xscale >= 300) {
firstRO = true;
backRO = false;
}
if (_y < -30) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
DU = true;
_root.ship.ARK = random(3);
_root.ship.TARX = _root.ENEMY._x;
_root.ship.TARY = _root.ENEMY._y;
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
DU = true;
_root.ship.ARK = 2 + random(3);
_root.ship.TARX = _root.ENEMY2._x;
_root.ship.TARY = _root.ENEMY2._y;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
DU = true;
_root.ship.ARK = 3 + random(3);
_root.ship.TARX = _root.ENEMY3._x;
_root.ship.TARY = _root.ENEMY3._y;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
DU = true;
_root.ship.ARK = 4 + random(3);
_root.ship.TARX = _root.ENEMY4._x;
_root.ship.TARY = _root.ENEMY4._y;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
DU = true;
_root.ship.ARK = 5 + random(3);
_root.ship.TARX = _root.ENEMY5._x;
_root.ship.TARY = _root.ENEMY5._y;
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
DU = true;
_root.ship.ARK = 6 + random(3);
_root.ship.TARX = _root.ENEMY6._x;
_root.ship.TARY = _root.ENEMY6._y;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
DU = true;
_root.ship.ARK = 7 + random(3);
_root.ship.TARX = _root.ENEMY7._x;
_root.ship.TARY = _root.ENEMY7._y;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
DU = true;
_root.ship.ARK = 8 + random(3);
_root.ship.TARX = _root.ENEMY8._x;
_root.ship.TARY = _root.ENEMY8._y;
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
DU = true;
_root.ship.TARX = _root.ENEMY9._x;
_root.ship.TARY = _root.ENEMY9._y;
_root.ship.ARK = 9 + random(3);
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
_root.ship.ARK = 11 + random(3);
destroy = true;
_root.score = _root.score + (1 * power);
_root.ship.TARX = _root.ENEMY11._x;
_root.ship.TARY = _root.ENEMY11._y;
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.ship.TARX = _root.ENEMY12._x;
_root.ship.TARY = _root.ENEMY12._y;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
element = element + 1;
this.LC._xscale = _xscale / 3;
this.LC._yscale = _xscale;
this.LA._xscale = _xscale / 3;
this.LA._yscale = _xscale;
_root.laserPL.gotoAndStop(50);
_root.laserPL._visible = false;
removeMovieClip(_root.laserPL);
}
Instance of Symbol 92 MovieClip "laserupgrade" in Frame 5
onClipEvent (load) {
_y = 0;
type = random(7);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
_alpha = 100;
die = 0;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type == 5) {
this.gotoAndStop(5);
}
if (type >= 6) {
this.gotoAndStop(6);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.weapon = 1;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.weapon = 2;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.weapon = 3;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.weapon = 4;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 5)) && (_visible == true)) {
_root.ship.weapon = 5;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type >= 6)) && (_visible == true)) {
_root.ship.weapon = 6;
_root.sound.play();
_visible = false;
removeMovieClip(this);
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 349 MovieClip "ENEMYfire" in Frame 5
onClipEvent (load) {
_x = _root.ENEMY._x;
_y = (_root.ENEMY._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire2" in Frame 5
onClipEvent (load) {
_x = _root.ENEMY2._x;
_y = (_root.ENEMY2._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire3" in Frame 5
onClipEvent (load) {
_x = _root.ENEMY3._x;
_y = (_root.ENEMY3._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire4" in Frame 5
onClipEvent (load) {
_rotation = _root.cannon._rotation;
_x = (_root.cannon._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire5" in Frame 5
onClipEvent (load) {
_rotation = _root.cannon2._rotation;
_x = (_root.cannon2._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon2._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire4" in Frame 5
onClipEvent (load) {
_rotation = _root.cannon7._rotation;
_x = (_root.cannon7._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon7._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYBEAM" in Frame 5
onClipEvent (load) {
_x = _root.ENEMY8._x;
_y = (_root.ENEMY8._y + 30);
power = 15;
_visible = true;
element = 1001;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
duplicateMovieClip (_root.burstor, "nullburst" + element, element);
}
if (element > 1500) {
element = 1001;
}
element = element + 1;
_root.ENEMYbeam._visible = false;
removeMovieClip(_root.ENEMYbeam);
}
Instance of Symbol 349 MovieClip "ENEMYfire10" in Frame 5
onClipEvent (load) {
_x = _root.ENEMY10._x;
_y = (_root.ENEMY10._y - 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire6" in Frame 5
onClipEvent (load) {
_x = _root.ENEMY6._x;
_y = (_root.ENEMY6._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 108 MovieClip "Health" in Frame 5
onClipEvent (load) {
_y = 0;
die = 0;
_alpha = 100;
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.Health = _root.ship.Health + 300;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 379 MovieClip "burstor" in Frame 5
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 379 MovieClip "burstor2" in Frame 5
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 379 MovieClip "burstor3" in Frame 5
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 349 MovieClip "minigun" in Frame 5
onClipEvent (load) {
_rotation = (_root.ENEMY11._rotation - 90);
_x = (_root.ENEMY11._x - (10 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.ENEMY11._y - (10 * Math.sin(_rotation * (Math.PI/180))));
power = 1;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((10 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((10 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY11._visible == false) {
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY11.Health <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "minigun2" in Frame 5
onClipEvent (load) {
_rotation = (_root.ENEMY12._rotation - 90);
_x = (_root.ENEMY12._x - (10 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.ENEMY12._y - (10 * Math.sin(_rotation * (Math.PI/180))));
power = 1;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((10 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((10 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY12._visible == false) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 92 MovieClip "Backupupgrade" in Frame 5
onClipEvent (load) {
_y = 0;
type = random(5);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
_alpha = 100;
die = 0;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type == 5) {
this.gotoAndStop(5);
}
if (type >= 6) {
this.gotoAndStop(6);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.BUp = 1;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.BUp = 2;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.BUp = 3;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.BUp = 4;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 380 MovieClip "bossblast" in Frame 5
onClipEvent (load) {
_x = _root.ENEMY14._x;
_y = _root.ENEMY14._y;
power = 5;
_rotation = (_root.ENEMY14._rotation - 90);
_visible = true;
element = 1001;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - (3 * Math.sin(_rotation * (Math.PI/180))));
_x = (_x - (3 * Math.cos(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
duplicateMovieClip (_root.burstor2, "nullburst" + element, element);
}
if (element > 1500) {
element = 1001;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
element = element + 1;
_root.bossblast._visible = false;
removeMovieClip(_root.bossblast);
}
Instance of Symbol 104 MovieClip "rocketupgrade" in Frame 5
onClipEvent (load) {
_y = 0;
_alpha = 100;
die = 0;
type = Math.round(Math.random() * 6);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type >= 5) {
this.gotoAndStop(5);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.rocket = 1;
_root.ship.rocketammoEP1 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.rocket = 2;
_root.ship.rocketammoEP2 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.rocket = 3;
_root.ship.rocketammoEP3 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.rocket = 4;
_root.ship.rocketammoEP4 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type >= 5)) && (_visible == true)) {
_root.ship.rocket = 5;
_root.ship.rocketammoEP5 = 10;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
removeMovieClip(_root.Health);
_root.Health._visible = false;
removeMovieClip(_root.laserupgrade);
_root.laserupgrade._visible = false;
removeMovieClip(_root.rocketupgrade);
_root.rocketupgrade._visible = false;
removeMovieClip(_root.backupupgrade);
_root.backupupgrade._visible = false;
}
Instance of Symbol 388 MovieClip "ENEMY" in Frame 5
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
}
Instance of Symbol 388 MovieClip "ENEMY2" in Frame 5
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire2, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
}
Instance of Symbol 388 MovieClip "ENEMY3" in Frame 5
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire3, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
}
Instance of Symbol 396 MovieClip "ENEMY4" in Frame 5
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 300;
AXE = 11 + (Math.random() * 23);
respawn = 130;
dying = 20;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (_root.ship.wave2 == true)) {
_y = (_y + axe);
firing = firing + 1;
element = element + 1;
axe = axe * 0.94;
}
if (axe <= 0.5) {
axe = 0;
}
if (element > 1555) {
element = 1001;
}
if (((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave2 == true)) {
duplicateMovieClip (_root.ENEMYfire4, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
_root.cannon._visible = true;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
_root.cannon._visible = false;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave2 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -60;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
AXE = 11 + (Math.random() * 13);
}
if (_root.ship.wave2 != true) {
respawn = 120;
}
_root.cannon._x = _x + 10;
_root.cannon._y = _y + 10;
}
Instance of Symbol 398 MovieClip "cannon" in Frame 5
onClipEvent (enterFrame) {
_rotation = (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
Instance of Symbol 396 MovieClip "ENEMY5" in Frame 5
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 300;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (((_root.ship.pause != true) && (_root.ship.wave2 == true)) or ((_root.ship.pause != true) && (_root.ship.wave3 == true))) {
_y = (_y + axe);
firing = firing + 1;
element = element + 1;
axe = axe * 0.94;
}
if (axe <= 0.5) {
axe = 0;
}
if (element > 1555) {
element = 1001;
}
if ((((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave2 == true)) or (((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true))) {
duplicateMovieClip (_root.ENEMYfire5, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
_root.cannon2._visible = true;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
_root.cannon2._visible = false;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if (((dead == true) && (_root.ship.wave2 == true)) or ((dead == true) && (_root.ship.wave3 == true))) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -60;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
AXE = 11 + (Math.random() * 13);
}
if ((_root.ship.wave3 != true) or (_root.ship.wave2 != true)) {
respawn = 120;
}
_root.cannon2._x = _x + 10;
_root.cannon2._y = _y + 10;
}
Instance of Symbol 398 MovieClip "cannon2" in Frame 5
onClipEvent (enterFrame) {
_rotation = (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
Instance of Symbol 406 MovieClip "ENEMY8" in Frame 5
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 2000;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 1);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.4);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.4);
}
if (((((_root.ship._y < (_y + 300)) && (firing > 70)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYBEAM, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 100;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave3 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
}
Instance of Symbol 388 MovieClip "ENEMY10" in Frame 5
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYfire10, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = 900;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y < -100) && (_root.ship.wave3 == true)) {
_y = 900;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
}
Instance of Symbol 388 MovieClip "ENEMY6" in Frame 5
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYfire6, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave3 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
}
Instance of Symbol 416 MovieClip "ENEMY12" in Frame 5
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + Fly);
fly = fly - 0.1;
firing = firing + 1;
element = element + 1;
}
if (fly <= 0.5) {
_rotation = ((Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180)) + 90);
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if ((((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) && (_visible == true)) {
duplicateMovieClip (_root.minigun2, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
dead = false;
dying = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -10;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
fly = 4 + (Math.random() * 6);
_root.ship.waveC = _root.ship.waveC + 1;
_y = -10;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
fly = 4 + (Math.random() * 6);
this.gotoAndStop(1);
}
if ((((_y < -10) && (_root.ship.wave1 == true)) && (fly <= 0)) && (HEalth > 0)) {
_y = -10;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
fly = 4 + (Math.random() * 6);
this.gotoAndStop(1);
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
if (Health > 0) {
_visible = true;
}
_root.HP = Health;
_root.CHE = _visible;
}
Instance of Symbol 467 MovieClip "meteor" in Frame 5
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1400) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor2" in Frame 5
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1000) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor4" in Frame 5
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1000) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor5" in Frame 5
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1900) {
_y = -500;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 512 MovieClip "stat" in Frame 5
onClipEvent (load) {
this.swapDepths(9999);
}
Instance of Symbol 558 MovieClip "music" in Frame 5
onClipEvent (load) {
this.swapDepths(99999);
}
Frame 6
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 7
_root.gotoAndPlay("mission2");
Frame 8
_root.gotoAndPlay("mission2");
Frame 9
_root.gotoAndPlay("mission2");
Frame 10
stop();
_quality = "High";
Instance of Symbol 238 MovieClip in Frame 10
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 242 MovieClip in Frame 10
onClipEvent (load) {
this.gotoAndPlay(1);
}
Instance of Symbol 255 MovieClip "missionstarted" in Frame 10
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 11
stop();
_quality = "Low";
Instance of Symbol 273 MovieClip "BG" in Frame 11
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 154 MovieClip "stars" in Frame 11
onClipEvent (enterFrame) {
if ((_y > 200) && (_root.ship.acce <= 2)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
if ((_y < -1000) && (_root.ship.acce > 2)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = 200;
}
}
Instance of Symbol 154 MovieClip "stars2" in Frame 11
onClipEvent (enterFrame) {
if ((_y > 200) && (_root.ship.acce <= 2)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
if ((_y < -1000) && (_root.ship.acce > 2)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = 200;
}
}
Instance of Symbol 154 MovieClip "stars3" in Frame 11
onClipEvent (enterFrame) {
if ((_y > 200) && (_root.ship.acce <= 2)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
if ((_y < -1000) && (_root.ship.acce > 2)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = 200;
}
}
Instance of Symbol 275 MovieClip in Frame 11
onClipEvent (load) {
_root.ship.pause = true;
triggered = false;
startup = 0;
acc = 8;
}
onClipEvent (enterFrame) {
if (startup > 100) {
triggered = true;
}
if ((triggered != true) && (dead != true)) {
startup = startup + 1;
}
if ((triggered == true) && (dead != true)) {
_y = (_y + 10);
_root.ship._y = _root.ship._y - acc;
acc = acc * 0.94;
_root.ship.fly = 100;
}
if (_y > 900) {
_root.ship.pause = false;
_root.ship.wave1 = true;
triggered = false;
dead = true;
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 324 MovieClip "ENEMY14" in Frame 11
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 140000 /* 0x0222E0 */;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
right = true;
power = 3;
startbattle = 0;
element = 1500;
THEarea = _root.romulus._x - _x;
THEyarea = _root.romulus._y - _y;
cannonZarea = _root.romulus._x - _root.cannonZ._x;
cannonZyarea = _root.romulus._y - _root.cannonZ._y;
cannonZarea2 = _root.romulus._x - _root.cannonZ2._x;
cannonZyarea2 = _root.romulus._y - _root.cannonZ2._y;
_visible = false;
}
onClipEvent (enterFrame) {
if (((_root.ship.wave4 == true) && (Health <= 0)) && (of != true)) {
_root.romulus._visible = true;
_visible = true;
battle = true;
Health = HP;
of = true;
}
if (battle == true) {
startbattle = startbattle + 1;
}
if (startbattle > 500) {
_root.romulus._y = _root.romulus._y + 3;
}
if (_y > 70) {
_root.romulus.cannon.play();
_root.romulus.cannon2.play();
startbattle = 0;
battle = false;
}
if ((_root.ship.wave4 == true) && (Health <= 0)) {
deathSEQ = deathSEQ + 1;
_rotation = 0;
_root.cannonZ._visible = false;
_root.cannonZ2._visible = false;
}
if ((deathSEQ > 5) && (deathSEQ < 8)) {
this.gotoAndPlay("death");
}
if ((deathSEQ > 50) && (deathSEQ < 54)) {
_root.romulus.play();
}
if (deathSEQ > 173) {
_root.ship.bossdeath = 5;
}
if (((_root.ship.wave4 == true) && (Health > 0)) && (_y > 65)) {
_rotation = (90 + (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180)));
firing = firing + 1;
spin = 90 - (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
if ((((((_root.ship._y < (_y + 400)) && (firing > 60)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave4 == true)) && (multiple != true)) {
duplicateMovieClip (_root.Bossblast, "nullattack" + element, element);
multiple = true;
}
if (multiple == true) {
revert = revert + 1;
}
if (revert > 15) {
multiple = false;
revert = 0;
reverting = reverting + 1;
}
if (reverting > 3) {
firing = 0;
revert = 0;
reverting = 0;
multiple = false;
}
if (element > 2000) {
element = 1500;
}
if (((_root.romulus.cannon.laser.beam.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((6 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((6 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_root.ship._x = _root.ship._x + 10;
}
if (((_root.romulus.cannon2.laser.beam.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((6 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((6 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_root.ship._x = _root.ship._x - 10;
}
if ((_root.ship.wave4 == true) && (Health > 0)) {
aimage = aimage + 1;
}
if ((aimage > 40) && (right == true)) {
right = false;
aimage = 0;
left = true;
duplicateMovieClip (_root.BossblastX, "nullattack" + element, element);
}
if ((aimage > 40) && (left == true)) {
right = true;
aimage = 0;
left = false;
duplicateMovieClip (_root.BossblastX2, "nullattack" + element, element);
}
_x = (_root.romulus._x + 330);
_y = (_root.romulus._y - THEyarea);
_root.cannonZ._rotation = Math.atan2(_root.cannonZ._y - _root.ship._y, _root.cannonZ._x - _root.ship._x) / (Math.PI/180);
_root.cannonZ2._rotation = Math.atan2(_root.cannonZ2._y - _root.ship._y, _root.cannonZ2._x - _root.ship._x) / (Math.PI/180);
_root.cannonZ._x = _root.romulus._x - CannonZarea;
_root.cannonZ._y = _root.romulus._y - CannonZyarea;
_root.cannonZ2._x = _root.romulus._x - CannonZarea2;
_root.cannonZ2._y = _root.romulus._y - CannonZyarea2;
YCO = _y - (100 * Math.sin(spin));
XCO = _x - (100 * Math.cos(spin));
_root.YM = YCO;
_root.XM = XCO;
_root.dor = spin;
this.guy.gore.gotoAndStop(2);
element = element + 1;
_root.bhp = Health;
}
Instance of Symbol 334 MovieClip "ship" in Frame 11
onClipEvent (load) {
motion = 5;
helix = 1;
Health = 710;
Lquota = 200 + (Math.random() * 260);
_root.ammo = 0;
bossdeath = 0;
fly = 0;
flyR = 0;
revert = 0;
flyL = 0;
rocketammo = 0;
Rquota = 200 + (Math.random() * 260);
_root.difficulty = 1.4;
_root.score = 0;
_root.kills = 0;
_root.damage = 0;
Hquota = (3000 + (Math.random() * 1460)) + (100 * _root.difficulty);
acce = 1;
}
onClipEvent (enterFrame) {
if (((key.IsDown(38) && (pause != true)) && (_y > 100)) && (_root.KB != true)) {
_y = (_y - motion);
fly = 100;
}
if (((key.IsDown(40) && (pause != true)) && (_y < 520)) && (_root.KB != true)) {
_y = (_y + motion);
REVERT = 100;
}
if (((key.IsDown(37) && (pause != true)) && (_x > 30)) && (_root.KB != true)) {
_x = (_x - motion);
flight = true;
_rotation = -10;
flyL = 100;
}
if (((key.IsDown(39) && (pause != true)) && (_x < 370)) && (_root.KB != true)) {
_x = (_x + motion);
flight = true;
_rotation = 10;
flyR = 100;
}
if (_root.KB == true) {
startDrag ("_root.ORG", true);
}
if ((_root.KB == true) && (_x >= 370)) {
_x = 370;
}
if ((_root.KB == true) && (_x <= 30)) {
_x = 30;
}
if ((_root.KB == true) && (_y <= 100)) {
_y = 100;
}
if ((_root.KB == true) && (_y >= 520)) {
_y = 520;
}
if ((((_root.ORG._x > (_x + 20)) && (_root.KB == true)) && (_x < 370)) && (pause != true)) {
_x = (_x + motion);
flyR = 100;
_rotation = 10;
}
if ((((_root.ORG._x < (_x - 20)) && (_root.KB == true)) && (_x > 30)) && (pause != true)) {
_x = (_x - motion);
flyL = 100;
_rotation = -10;
}
if ((((_root.ORG._y > (_y + 20)) && (_root.KB == true)) && (_y < 520)) && (pause != true)) {
_y = (_y + motion);
revert = 100;
}
if ((((_root.ORG._y < (_y - 20)) && (_root.KB == true)) && (_y > 100)) && (pause != true)) {
_y = (_y - motion);
fly = 100;
}
if ((_x < (_root.ORG._x + 40)) && (_x > (_root.ORG._x - 40))) {
_rotation = 0;
}
if (pause != true) {
fly = fly - 1;
flyR = flyR - 2;
flyL = flyL - 2;
revert = revert - 3;
reload = reload + 1;
_root.BG._y = _root.BG._y + 0.02;
}
if (((key.IsDown(83) && (pause != true)) && (weapon <= 1)) && (firedelay == false)) {
duplicateMovieClip (_root.laser1, "nulllaser" + element, element);
firedelay = true;
backons = true;
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 2)) && (firedelay == false)) {
duplicateMovieClip (_root.laser2, "nulllaser" + element, element);
firedelay = true;
backons = true;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 3)) && (firedelay == false)) && (helix == 1)) {
duplicateMovieClip (_root.laser3, "nulllaser" + element, element);
firedelay = true;
backons = true;
helix = 2;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 3)) && (firedelay == false)) && (helix == 2)) {
duplicateMovieClip (_root.laser4, "nulllaser" + element, element);
firedelay = true;
helix = 1;
backons = true;
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 4)) && (firedelay == false)) {
duplicateMovieClip (_root.laser5, "nulllaser" + element, element);
firedelay = true;
backon = true;
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 5)) && (firedelay == false)) {
duplicateMovieClip (_root.laser9, "nulllaser" + element, element);
firedelay = true;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 6)) && (firedelay == false)) && (mega != true)) {
duplicateMovieClip (_root.laser11, "nulllaser" + element, element);
mega = true;
}
if (mega == true) {
bu = bu + 1;
}
if ((BU > 1) && (BU < 3)) {
duplicateMovieClip (_root.laserBU1, "nulllaser" + element, element);
}
if ((BU > 2) && (BU < 4)) {
duplicateMovieClip (_root.laserBU2, "nulllaser" + element, element);
}
if (BU > 18) {
BU = 0;
mega = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket <= 1)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.Rocket, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP1 = rocketammoEP1 - 1;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 2)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.Rocket2, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP2 = rocketammoEP2 - 1;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 3)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketLOCKED1, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP3 = rocketammoEP3 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 1) && (rocket == 3)) {
duplicateMovieClip (_root.RocketLOCKED2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 4)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketDU1, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP4 = rocketammoEP4 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 1) && (rocket == 4)) {
duplicateMovieClip (_root.RocketDU2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 5)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketPL, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP5 = rocketammoEP5 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 0) && (rocket == 5)) {
duplicateMovieClip (_root.rocketPL2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
firethird = true;
}
if (firethird == true) {
rebound2 = rebound2 + 1;
}
if ((rebound2 > 0) && (rocket == 5)) {
duplicateMovieClip (_root.laserPL, "nulllaser" + element, element);
rebound2 = 0;
firesecond = false;
firethird = false;
}
if (rocket <= 1) {
rocketammo = rocketammoEP1;
RAfull = 20;
}
if (rocket == 2) {
rocketammo = rocketammoEP2;
RAfull = 20;
}
if (rocket == 3) {
rocketammo = rocketammoEP3;
RAfull = 20;
}
if (rocket == 4) {
rocketammo = rocketammoEP4;
RAfull = 20;
}
if (rocket >= 5) {
rocketammo = rocketammoEP5;
RAfull = 10;
}
if ((backons == true) && (pause != true)) {
BUKS = BUKS + 1;
}
if ((BUKS > 2) && (BUP == 1)) {
duplicateMovieClip (_root.backup, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 2)) {
duplicateMovieClip (_root.backup2, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 3)) {
duplicateMovieClip (_root.backup3, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 4)) {
duplicateMovieClip (_root.backup4, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((releaseL > Lquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.laserupgrade, "nullless" + element, element);
Lquota = 300 + (Math.random() * 460);
releasel = 0;
}
if ((releaseR > Rquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.rocketupgrade, "nullless" + element, element);
Rquota = 300 + (Math.random() * 460);
releaseR = 0;
}
if ((releaseH > Hquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.HEalth, "nullless" + element, element);
Hquota = (3000 + (Math.random() * 1460)) + (100 * _root.difficulty);
releaseH = 0;
}
if ((releaseB > Bquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.backupupgrade, "nullless" + element, element);
Bquota = 300 + (Math.random() * 460);
releaseB = 0;
}
if (pause != true) {
releaseR = releaseR + 1;
releaseL = releaseL + 1;
releaseH = releaseH + 1;
releaseB = releaseB + 1;
}
if (reload > 20) {
reload = 20;
}
if (element > 999) {
element = 0;
}
if (weapon <= 1) {
_root.stat.laser.gotoAndStop(1);
}
if (weapon == 2) {
_root.stat.laser.gotoAndStop(2);
}
if (weapon == 3) {
_root.stat.laser.gotoAndStop(3);
}
if (weapon == 4) {
_root.stat.laser.gotoAndStop(4);
}
if (weapon == 5) {
_root.stat.laser.gotoAndStop(5);
}
if (weapon >= 6) {
_root.stat.laser.gotoAndStop(6);
}
if (rocket <= 0) {
_root.stat.missile.gotoAndStop(6);
}
if (rocket == 1) {
_root.stat.missile.gotoAndStop(1);
}
if (rocket == 2) {
_root.stat.missile.gotoAndStop(2);
}
if (rocket == 3) {
_root.stat.missile.gotoAndStop(3);
}
if (rocket == 4) {
_root.stat.missile.gotoAndStop(4);
}
if (rocket == 5) {
_root.stat.missile.gotoAndStop(5);
}
if (Health > 710) {
Health = 710;
}
if (Health <= 0) {
death = death + 1;
Health = 0;
firedelay = true;
_root.stat.bar._visible = false;
}
if ((death > 20) && (death < 24)) {
motion = 0;
this.gotoAndPlay("dead");
}
if (death > 34) {
_visible = false;
}
if ((death > 70) && (death < 74)) {
_root.music.gotoAndPlay("gameover");
pause = true;
}
if ((wave1 == true) && (order <= 0)) {
wave2 = false;
wave3 = false;
wave4 = false;
order = 1;
}
if (((waveC > 14) && (wave1 == true)) && (order == 1)) {
wave1 = false;
wave3 = false;
wave4 = false;
wave2 = true;
waveC = 0;
order = 2;
}
if (((waveC > 24) && (wave2 == true)) && (order == 2)) {
wave2 = false;
wave3 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 3;
}
if (((waveC > 18) && (wave1 == true)) && (order == 3)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 4;
}
if (((waveC > 10) && (wave3 == true)) && (order == 4)) {
wave2 = false;
wave3 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 5;
}
if (((waveC > 12) && (wave1 == true)) && (order == 5)) {
wave1 = false;
wave3 = false;
wave4 = false;
wave2 = true;
waveC = 0;
order = 6;
}
if (((waveC > 8) && (wave2 == true)) && (order == 6)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 7;
}
if (((waveC > 8) && (wave3 == true)) && (order == 7)) {
wave1 = false;
wave2 = true;
wave4 = false;
wave3 = false;
waveC = 0;
order = 8;
}
if (((waveC > 8) && (wave2 == true)) && (order == 8)) {
wave1 = true;
wave2 = false;
wave4 = false;
wave3 = false;
waveC = 0;
order = 9;
}
if (((waveC > 5) && (wave1 == true)) && (order == 9)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 10;
}
if (((waveC > 8) && (wave3 == true)) && (order == 10)) {
wave1 = false;
wave2 = true;
wave4 = false;
wave3 = false;
waveC = 0;
order = 11;
}
if (((waveC > 8) && (wave2 == true)) && (order == 11)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 12;
}
if (((waveC > 15) && (wave3 == true)) && (order == 12)) {
wave1 = false;
wave3 = false;
wave2 = false;
wave4 = true;
waveC = 0;
_root.music.gotoAndPlay("boss2");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
_root.ENEMY3.Health = 0;
_root.ENEMY4.Health = 0;
_root.ENEMY5.Health = 0;
_root.ENEMY6.Health = 0;
_root.ENEMY7.Health = 0;
_root.ENEMY8.Health = 0;
_root.ENEMY9.Health = 0;
_root.ENEMY10.Health = 0;
_root.ENEMY11.Health = 0;
_root.ENEMY12.Health = 0;
_root.ENEMY13.Health = 0;
startboss = true;
}
if (((bossdeath > 1) && (wave4 == true)) && (order == 12)) {
wave3 = false;
wave4 = false;
wave2 = false;
wave1 = false;
waveC = 0;
order = 10;
_root.music.gotoAndPlay("victory");
}
if (_root.OAS2 < _root.score) {
_root.OAS2 = _root.score;
}
if (startboss == true) {
dieoffenemies = dieoffenemies + 1;
}
if (dieoffenemies > 50) {
_root.ENEMY._visible = false;
_root.ENEMY2._visible = false;
_root.ENEMY3._visible = false;
_root.ENEMY4._visible = false;
_root.ENEMY5._visible = false;
_root.ENEMY6._visible = false;
_root.ENEMY7._visible = false;
_root.ENEMY8._visible = false;
_root.ENEMY9._visible = false;
_root.ENEMY10._visible = false;
_root.ENEMY11._visible = false;
_root.ENEMY12._visible = false;
_root.ENEMY13._visible = false;
_root.ENEMY._y = -500;
_root.ENEMY2._y = -500;
_root.ENEMY3._y = -500;
_root.ENEMY4._y = -500;
_root.ENEMY5._y = -500;
_root.ENEMY6._y = -500;
_root.ENEMY7._y = -500;
_root.ENEMY8._y = -500;
_root.ENEMY9._y = -500;
_root.ENEMY10._y = -500;
_root.ENEMY11._y = -500;
_root.ENEMY12._y = -500;
_root.ENEMY13._y = -500;
_root.removeMovieClip(_root.ENEMY);
_root.removeMovieClip(_root.ENEMY2);
_root.removeMovieClip(_root.ENEMY3);
_root.removeMovieClip(_root.ENEMY4);
_root.removeMovieClip(_root.ENEMY5);
_root.removeMovieClip(_root.ENEMY6);
_root.removeMovieClip(_root.ENEMY7);
_root.removeMovieClip(_root.ENEMY8);
_root.removeMovieClip(_root.ENEMY9);
_root.removeMovieClip(_root.ENEMY10);
_root.removeMovieClip(_root.ENEMY11);
_root.removeMovieClip(_root.ENEMY12);
_root.removeMovieClip(_root.ENEMY13);
}
if (((bossbattle == true) && (acce <= 340)) && (bossdeath <= 0)) {
acce = acce * 1.15;
}
if (bossdeath > 0) {
setup = setup + 1;
acce = acce * 0.9;
}
if (setup < 10) {
scoreset = _root.score;
}
if (setup > 10) {
_root.score = scoreset;
}
if (acce > 30) {
revert = 100;
}
if (((EXPL > 10) && (EXP < 20)) && (bonus != true)) {
_root.stuff.gotoAndPlay("explosive");
bonus = true;
}
if ((EXPL >= 20) && (bonus != true)) {
_root.stuff.gotoAndPlay("massacre");
bonus = true;
}
if ((bonus = true)) {
runout = runout + 1;
}
if (runout > 40) {
bonus = false;
EXPL = 0;
runout = 0;
}
if (expl <= 0) {
expl = 0;
}
if (_root.score >= 480000) {
Srank = 5;
}
if ((_root.score < 480000) && (_root.score >= 400000)) {
Srank = 4;
}
if ((_root.score < 400000) && (_root.score >= 350000)) {
Srank = 3;
}
if ((_root.score < 350000) && (_root.score >= 220000)) {
Srank = 2;
}
if (_root.score < 220000) {
Srank = 1;
}
if (_root.kills >= 110) {
Krank = 5;
}
if ((_root.kills < 110) && (_root.kills >= 80)) {
Krank = 4;
}
if ((_root.kills < 80) && (_root.kills >= 60)) {
Krank = 3;
}
if ((_root.kills < 60) && (_root.kills >= 35)) {
Krank = 2;
}
if (_root.kills < 35) {
Krank = 1;
}
if (_root.damage <= 450) {
Drank = 5;
}
if ((_root.damage > 450) && (_root.damage <= 500)) {
Drank = 4;
}
if ((_root.damage > 500) && (_root.damage <= 550)) {
Drank = 3;
}
if ((_root.damage > 550) && (_root.damage <= 600)) {
Drank = 2;
}
if (_root.damage > 600) {
Drank = 1;
}
if (Srank == 1) {
_root.music.stat.Srank.gotoAndStop(1);
}
if (Srank == 2) {
_root.music.stat.Srank.gotoAndStop(2);
}
if (Srank == 3) {
_root.music.stat.Srank.gotoAndStop(3);
}
if (Srank == 4) {
_root.music.stat.Srank.gotoAndStop(4);
}
if (Srank == 5) {
_root.music.stat.Srank.gotoAndStop(5);
}
if (Drank == 1) {
_root.music.stat.Drank.gotoAndStop(1);
}
if (Drank == 2) {
_root.music.stat.Drank.gotoAndStop(2);
}
if (Drank == 3) {
_root.music.stat.Drank.gotoAndStop(3);
}
if (Drank == 4) {
_root.music.stat.Drank.gotoAndStop(4);
}
if (Drank == 5) {
_root.music.stat.Drank.gotoAndStop(5);
}
if (Krank == 1) {
_root.music.stat.Krank.gotoAndStop(1);
}
if (Krank == 2) {
_root.music.stat.Krank.gotoAndStop(2);
}
if (Krank == 3) {
_root.music.stat.Krank.gotoAndStop(3);
}
if (Krank == 4) {
_root.music.stat.Krank.gotoAndStop(4);
}
if (Krank == 5) {
_root.music.stat.Krank.gotoAndStop(5);
}
if (overall >= 13) {
_root.music.stat.OArank.gotoAndStop(5);
}
if ((overall < 13) && (overall >= 9)) {
_root.music.stat.OArank.gotoAndStop(4);
}
if ((overall < 9) && (overall >= 5)) {
_root.music.stat.OArank.gotoAndStop(3);
}
if ((overall < 5) && (overall >= 2)) {
_root.music.stat.OArank.gotoAndStop(2);
}
if (overall < 2) {
_root.music.stat.OArank.gotoAndStop(1);
}
if (chain <= 0) {
chain = 0;
_root.stat.chains._visible = false;
_root.stat.chains._alpha = 100;
alphaage = false;
}
if (chain > 0) {
eliminate = eliminate + 1;
}
if (eliminate > 100) {
alphaage = true;
eliminate = 0;
}
if (alphaage == true) {
_root.stat.chains._alpha = _root.stat.chains._alpha - 3;
}
if (_root.stat.chains._alpha < 5) {
chain = 0;
}
if ((pause != true) && (_root.stat.chains._visible == false)) {
chain = chain - 0.1;
}
if (pause != true) {
_root.stat.chains.chain = Math.round(chain);
rechain = rechain + 1;
}
if (chain > 1) {
_root.stat.chains._visible = true;
}
Overall = (Srank + Drank) + Krank;
_root.music.stat.scores = _root.score;
_root.music.stat.damages = _root.damage;
_root.music.stat.killss = _root.kills;
_root.stars._y = _root.stars._y + 0.72;
_root.stars2._y = _root.stars2._y + 0.7;
_root.stars3._y = _root.stars3._y + 0.7;
_root.stars._y = _root.stars._y - (acce / 10);
_root.stars2._y = _root.stars2._y - (acce / 10);
_root.stars3._y = _root.stars3._y - (acce / 10);
_root.stat.PER = Math.round(Health / 7.1);
_root.stat.bar._width = Health / 4;
this.jetB._alpha = revert;
this.jetB2._alpha = revert;
this.jet._alpha = fly;
this.jetR._alpha = flyR;
this.jetL._alpha = flyL;
element = element + 1;
_root.stat.RFammo = RAfull;
_root.stat.scores = _root.score;
_root.stat.ammo = rocketammo;
_root.stuff._x = _x - 40;
_root.stuff._y = _y;
EXPL = EXPL - 0.05;
}
onClipEvent (keyUp) {
if ((flight == true) && (_root.KB != true)) {
_rotation = 0;
}
if (Health > 0) {
firedelay = false;
}
}
onClipEvent (mouseDown) {
if ((pause != true) && (weapon <= 1)) {
duplicateMovieClip (_root.laser1, "nulllaser" + element, element);
backons = true;
}
if ((pause != true) && (weapon == 2)) {
duplicateMovieClip (_root.laser2, "nulllaser" + element, element);
backons = true;
}
if (((pause != true) && (weapon == 3)) && (helix == 1)) {
duplicateMovieClip (_root.laser3, "nulllaser" + element, element);
backons = true;
helix = 2;
}
if (((pause != true) && (weapon == 3)) && (helix == 2)) {
duplicateMovieClip (_root.laser4, "nulllaser" + element, element);
helix = 1;
backons = true;
}
if ((pause != true) && (weapon == 4)) {
duplicateMovieClip (_root.laser5, "nulllaser" + element, element);
backon = true;
}
if ((pause != true) && (weapon == 5)) {
duplicateMovieClip (_root.laser9, "nulllaser" + element, element);
}
if (scatter > 18) {
scatter = 0;
burst = false;
}
if (((pause != true) && (weapon == 6)) && (mega != true)) {
duplicateMovieClip (_root.laser11, "nulllaser" + element, element);
mega = true;
}
}
Instance of Symbol 336 MovieClip "ORG" in Frame 11
onClipEvent (enterFrame) {
_visible = false;
}
Instance of Symbol 347 MovieClip "laser1" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 20;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "laser2" in Frame 11
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 16;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser2._visible = false;
removeMovieClip(_root.laser2);
}
Instance of Symbol 351 MovieClip "rocket" in Frame 11
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
self = 0;
_rotation = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocket.gotoAndStop(50);
_root.rocket._visible = false;
removeMovieClip(_root.rocket);
}
Instance of Symbol 349 MovieClip "laser3" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x + 15);
_y = (_root.ship._y - 30);
power = 15;
lockon = 0;
_visible = true;
bizzare = _root.ship._x + 15;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((40 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser3._visible = false;
removeMovieClip(_root.laser3);
}
Instance of Symbol 349 MovieClip "laser4" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x - 15);
_y = (_root.ship._y - 30);
power = 15;
lockon = 0;
_visible = true;
bizzare = _root.ship._x - 15;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((-40 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser4._visible = false;
removeMovieClip(_root.laser4);
}
Instance of Symbol 356 MovieClip "laser5" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 30;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser5._visible = false;
removeMovieClip(_root.laser5);
}
Instance of Symbol 351 MovieClip "rocketDU1" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x + 20);
bizzare = _root.ship._x + 20;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
_rotation = 0;
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
_x = ((30 * Math.sin(_y / 60)) + bizzare);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if ((timer > (delay - 2)) && (timer <= delay)) {
_root.sound.gotoAndPlay("rocket");
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketDU1.gotoAndStop(50);
_root.rocketDU1._visible = false;
removeMovieClip(_root.rocketDU1);
}
Instance of Symbol 351 MovieClip "rocketDU2" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x - 20);
bizzare = _root.ship._x - 20;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
self = 0;
_rotation = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
_x = ((-30 * Math.sin(_y / 70)) + bizzare);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if ((timer > (delay - 2)) && (timer <= delay)) {
_root.sound.gotoAndPlay("rocket");
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketDU2.gotoAndStop(50);
_root.rocketDU2._visible = false;
removeMovieClip(_root.rocketDU2);
}
Instance of Symbol 349 MovieClip "laser11" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 15;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser11._visible = false;
removeMovieClip(_root.laser11);
}
Instance of Symbol 347 MovieClip "backup3" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x + 19);
_y = (_root.ship._y - 30);
power = 4;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.backup3._visible = false;
removeMovieClip(_root.backup3);
}
Instance of Symbol 349 MovieClip "backup" in Frame 11
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 6;
lockon = 0;
_visible = true;
bizzare = _root.ship._x;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((-20 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.backup._visible = false;
removeMovieClip(_root.backup);
}
Instance of Symbol 347 MovieClip "backup2" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x + 19);
_y = (_root.ship._y + 30);
power = 15;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 560) {
removeMovieClip(this);
this._visible = false;
}
_root.backup2._visible = false;
removeMovieClip(_root.backup2);
}
Instance of Symbol 349 MovieClip "backup4" in Frame 11
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 6;
death = 0;
lockon = 0;
_visible = true;
_rotation = 0;
_alpha = 100;
Ymotion = 10;
MM = (Math.random() * 2) - (Math.random() * 2);
are = _root.ship._x + 10;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - Ymotion);
_x = (_x + Xmotion);
_rotation = (_rotation + 3);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
Ymotion = (-Math.random()) * 15;
Xmotion = (Math.random() * 15) - (Math.random() * 15);
}
if (_y > 500) {
Ymotion = Math.random() * 15;
Xmotion = (Math.random() * 15) - (Math.random() * 15);
}
if (_x < 40) {
Xmotion = Math.random() * 15;
}
if (_x > 370) {
Xmotion = (-Math.random()) * 15;
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (death > 360) {
removeMovieClip(this);
this._visible = false;
}
death = death + 1;
_root.backup4._visible = false;
removeMovieClip(_root.backup4);
}
Instance of Symbol 358 MovieClip "rocket2" in Frame 11
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - YMOVE);
_x = (_x - XMOVE);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
_rotation = (_rotation + 3);
}
if ((((((_root.ENEMY._y > (_y - 200)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (_root.ENEMY.Health > 0)) {
locked = 1;
}
if ((((((_root.ENEMY2._y > (_y - 200)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 120))) && (_root.ENEMY2._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY2.Health > 0)) {
locked = 2;
}
if ((((((_root.ENEMY3._y > (_y - 200)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 120))) && (_root.ENEMY3._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY3.Health > 0)) {
locked = 3;
}
if ((((((_root.ENEMY4._y > (_y - 200)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 120))) && (_root.ENEMY4._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY4.Health > 0)) {
locked = 4;
}
if ((((((_root.ENEMY5._y > (_y - 200)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 120))) && (_root.ENEMY5._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY5.Health > 0)) {
locked = 5;
}
if ((((((_root.ENEMY6._y > (_y - 200)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 120))) && (_root.ENEMY6._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY6.Health > 0)) {
locked = 6;
}
if ((((((_root.ENEMY7._y > (_y - 200)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 120))) && (_root.ENEMY7._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY7.Health > 0)) {
locked = 7;
}
if ((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 120))) && (_root.ENEMY8._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY8.Health > 0)) {
locked = 8;
}
if ((((((_root.ENEMY9._y > (_y - 200)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 120))) && (_root.ENEMY9._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY9.Health > 0)) {
locked = 9;
}
if ((((((_root.ENEMY10._y > (_y - 200)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 120))) && (_root.ENEMY10._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY10.Health > 0)) {
locked = 10;
}
if ((((((_root.ENEMY11._y > (_y - 200)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 120))) && (_root.ENEMY11._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY11.Health > 0)) {
locked = 11;
}
if ((((((_root.ENEMY12._y > (_y - 200)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 120))) && (_root.ENEMY12._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY12.Health > 0)) {
locked = 12;
}
if ((((((_root.ENEMY14._y > (_y - 200)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 120))) && (_root.ENEMY14._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY14.Health > 0)) {
locked = 14;
}
if ((((((_root.ENEMY15._y > (_y - 200)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 120))) && (_root.ENEMY15._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY15.Health > 0)) {
locked = 15;
}
if ((((((_root.ENEMY16._y > (_y - 200)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 120))) && (_root.ENEMY16._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY16.Health > 0)) {
locked = 16;
}
if ((locked == 1) && (_root.ENEMY._x > _x)) {
_x = (_x + 4);
}
if ((locked == 2) && (_root.ENEMY2._x > _x)) {
_x = (_x + 4);
}
if ((locked == 3) && (_root.ENEMY3._x > _x)) {
_x = (_x + 4);
}
if ((locked == 4) && (_root.ENEMY4._x > _x)) {
_x = (_x + 4);
}
if ((locked == 5) && (_root.ENEMY5._x > _x)) {
_x = (_x + 4);
}
if ((locked == 6) && (_root.ENEMY6._x > _x)) {
_x = (_x + 4);
}
if ((locked == 7) && (_root.ENEMY7._x > _x)) {
_x = (_x + 4);
}
if ((locked == 8) && (_root.ENEMY8._x > _x)) {
_x = (_x + 4);
}
if ((locked == 9) && (_root.ENEMY9._x > _x)) {
_x = (_x + 4);
}
if ((locked == 10) && (_root.ENEMY10._x > _x)) {
_x = (_x + 4);
}
if ((locked == 11) && (_root.ENEMY11._x > _x)) {
_x = (_x + 4);
}
if ((locked == 12) && (_root.ENEMY12._x > _x)) {
_x = (_x + 4);
}
if ((locked == 13) && (_root.ENEMY13._x > _x)) {
_x = (_x + 4);
}
if ((locked == 14) && (_root.ENEMY14._x > _x)) {
_x = (_x + 4);
}
if ((locked == 15) && (_root.ENEMY15._x > _x)) {
_x = (_x + 4);
}
if ((locked == 16) && (_root.ENEMY16._x > _x)) {
_x = (_x + 4);
}
if ((locked == 1) && (_root.ENEMY._x < _x)) {
_x = (_x - 4);
}
if ((locked == 2) && (_root.ENEMY2._x < _x)) {
_x = (_x - 4);
}
if ((locked == 3) && (_root.ENEMY3._x < _x)) {
_x = (_x - 4);
}
if ((locked == 4) && (_root.ENEMY4._x < _x)) {
_x = (_x - 4);
}
if ((locked == 5) && (_root.ENEMY5._x < _x)) {
_x = (_x - 4);
}
if ((locked == 6) && (_root.ENEMY6._x < _x)) {
_x = (_x - 4);
}
if ((locked == 7) && (_root.ENEMY7._x < _x)) {
_x = (_x - 4);
}
if ((locked == 8) && (_root.ENEMY8._x < _x)) {
_x = (_x - 4);
}
if ((locked == 9) && (_root.ENEMY9._x < _x)) {
_x = (_x - 4);
}
if ((locked == 10) && (_root.ENEMY10._x < _x)) {
_x = (_x - 4);
}
if ((locked == 11) && (_root.ENEMY11._x < _x)) {
_x = (_x - 4);
}
if ((locked == 12) && (_root.ENEMY12._x < _x)) {
_x = (_x - 4);
}
if ((locked == 13) && (_root.ENEMY13._x < _x)) {
_x = (_x - 4);
}
if ((locked == 14) && (_root.ENEMY14._x < _x)) {
_x = (_x - 4);
}
if ((locked == 15) && (_root.ENEMY15._x < _x)) {
_x = (_x - 4);
}
if ((locked == 16) && (_root.ENEMY16._x < _x)) {
_x = (_x - 4);
}
if ((locked == 1) && (_root.ENEMY._y > _y)) {
_y = (_y + 4);
}
if ((locked == 2) && (_root.ENEMY2._y > _y)) {
_y = (_y + 4);
}
if ((locked == 3) && (_root.ENEMY3._y > _y)) {
_y = (_y + 4);
}
if ((locked == 4) && (_root.ENEMY4._y > _y)) {
_y = (_y + 4);
}
if ((locked == 5) && (_root.ENEMY5._y > _y)) {
_y = (_y + 4);
}
if ((locked == 6) && (_root.ENEMY6._y > _y)) {
_y = (_y + 4);
}
if ((locked == 7) && (_root.ENEMY7._y > _y)) {
_y = (_y + 4);
}
if ((locked == 8) && (_root.ENEMY8._y > _y)) {
_y = (_y + 4);
}
if ((locked == 9) && (_root.ENEMY9._y > _y)) {
_y = (_y + 4);
}
if ((locked == 10) && (_root.ENEMY10._y > _y)) {
_y = (_y + 4);
}
if ((locked == 11) && (_root.ENEMY11._y > _y)) {
_y = (_y + 4);
}
if ((locked == 12) && (_root.ENEMY12._y > _y)) {
_y = (_y + 4);
}
if ((locked == 13) && (_root.ENEMY13._y > _y)) {
_y = (_y + 4);
}
if ((locked == 14) && (_root.ENEMY14._y > _y)) {
_y = (_y + 4);
}
if ((locked == 15) && (_root.ENEMY15._y > _y)) {
_y = (_y + 4);
}
if ((locked == 16) && (_root.ENEMY16._y > _y)) {
_y = (_y + 4);
}
if ((locked == 1) && (_root.ENEMY._y < _y)) {
_y = (_y - 4);
}
if ((locked == 2) && (_root.ENEMY2._y < _y)) {
_y = (_y - 4);
}
if ((locked == 3) && (_root.ENEMY3._y < _y)) {
_y = (_y - 4);
}
if ((locked == 4) && (_root.ENEMY4._y < _y)) {
_y = (_y - 4);
}
if ((locked == 5) && (_root.ENEMY5._y < _y)) {
_y = (_y - 4);
}
if ((locked == 6) && (_root.ENEMY6._y < _y)) {
_y = (_y - 4);
}
if ((locked == 7) && (_root.ENEMY7._y < _y)) {
_y = (_y - 4);
}
if ((locked == 8) && (_root.ENEMY8._y < _y)) {
_y = (_y - 4);
}
if ((locked == 9) && (_root.ENEMY9._y < _y)) {
_y = (_y - 4);
}
if ((locked == 10) && (_root.ENEMY10._y < _y)) {
_y = (_y - 4);
}
if ((locked == 11) && (_root.ENEMY11._y < _y)) {
_y = (_y - 4);
}
if ((locked == 12) && (_root.ENEMY12._y < _y)) {
_y = (_y - 4);
}
if ((locked == 13) && (_root.ENEMY13._y < _y)) {
_y = (_y - 4);
}
if ((locked == 14) && (_root.ENEMY14._y < _y)) {
_y = (_y - 4);
}
if ((locked == 15) && (_root.ENEMY15._y < _y)) {
_y = (_y - 4);
}
if ((locked == 16) && (_root.ENEMY16._y < _y)) {
_y = (_y - 4);
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocket2.gotoAndStop(50);
_root.rocket2._visible = false;
removeMovieClip(_root.rocket2);
}
Instance of Symbol 360 MovieClip "laser9" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x - 10);
_y = (_root.ship._y - 40);
power = 15;
lockon = 0;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 22);
}
if (_x > 400) {
_visible = false;
_root.removeMovieClip(this);
}
if (_x < 0) {
_visible = false;
_root.removeMovieClip(this);
}
if (_y < 0) {
_visible = false;
_root.removeMovieClip(this);
}
if (_y > 600) {
_visible = false;
_root.removeMovieClip(this);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser9._visible = false;
removeMovieClip(_root.laser9);
}
Instance of Symbol 363 MovieClip "laserBU1" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = _root.ship._y;
power = 3;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x + 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((30 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * acdc);
acdc = acdc + 0.2;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.laserBU1.gotoAndStop(50);
_root.laserBU1._visible = false;
removeMovieClip(_root.laserBU1);
}
Instance of Symbol 363 MovieClip "laserBU2" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = _root.ship._y;
power = 3;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x - 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((-30 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.laserBU2.gotoAndStop(50);
_root.laserBU2._visible = false;
removeMovieClip(_root.laserBU2);
}
Instance of Symbol 363 MovieClip "rocketLOCKED1" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x + 30;
self = 0;
acc = -7;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((20 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketlocked1.gotoAndStop(50);
_root.rocketlocked1._visible = false;
removeMovieClip(_root.rocketlocked1);
}
Instance of Symbol 363 MovieClip "rocketLOCKED2" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x - 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((-20 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketlocked2.gotoAndStop(50);
_root.rocketlocked2._visible = false;
removeMovieClip(_root.rocketlocked2);
}
Instance of Symbol 358 MovieClip "rocketPL" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = (_root.ship._y - 10);
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - 14);
_x = (_x - 3);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketPL.gotoAndStop(50);
_root.rocketPL._visible = false;
removeMovieClip(_root.rocketPL);
}
Instance of Symbol 358 MovieClip "rocketPL2" in Frame 11
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = (_root.ship._y - 30);
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - 14);
_x = (_x + 3);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketPL2.gotoAndStop(50);
_root.rocketPL2._visible = false;
removeMovieClip(_root.rocketPL2);
}
Instance of Symbol 376 MovieClip "laserpl" in Frame 11
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y + 40);
power = 7;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
_xscale = 45;
_rotation = 0;
RO = (Math.random() * 20) - (Math.random() * 20);
firstRO = true;
backro = false;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (firstRO == true)) {
_y = (_y - 7);
_rotation = (_rotation + RO);
_xscale = (_xscale - 12);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if ((_root.ship.pause != true) && (backRO == true)) {
_y = (_y - 7);
_rotation = (_rotation + RO);
_xscale = (_xscale + 12);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (_xscale <= -300) {
firstRO = false;
backRO = true;
}
if (_xscale >= 300) {
firstRO = true;
backRO = false;
}
if (_y < -30) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
this.LC._xscale = _xscale / 3;
this.LC._yscale = _xscale;
this.LA._xscale = _xscale / 3;
this.LA._yscale = _xscale;
_root.laserPL.gotoAndStop(50);
_root.laserPL._visible = false;
removeMovieClip(_root.laserPL);
}
Instance of Symbol 92 MovieClip "laserupgrade" in Frame 11
onClipEvent (load) {
_y = 0;
type = random(7);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
_alpha = 100;
die = 0;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type == 5) {
this.gotoAndStop(5);
}
if (type >= 6) {
this.gotoAndStop(6);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.weapon = 1;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.weapon = 2;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.weapon = 3;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.weapon = 4;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 5)) && (_visible == true)) {
_root.ship.weapon = 5;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type >= 6)) && (_visible == true)) {
_root.ship.weapon = 6;
_root.sound.play();
_visible = false;
removeMovieClip(this);
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 349 MovieClip "ENEMYfire" in Frame 11
onClipEvent (load) {
_x = _root.ENEMY._x;
_y = (_root.ENEMY._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire2" in Frame 11
onClipEvent (load) {
_x = _root.ENEMY2._x;
_y = (_root.ENEMY2._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire3" in Frame 11
onClipEvent (load) {
_x = _root.ENEMY3._x;
_y = (_root.ENEMY3._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire4" in Frame 11
onClipEvent (load) {
_rotation = _root.cannon._rotation;
_x = (_root.cannon._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire5" in Frame 11
onClipEvent (load) {
_rotation = _root.cannon2._rotation;
_x = (_root.cannon2._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon2._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire4" in Frame 11
onClipEvent (load) {
_rotation = _root.cannon7._rotation;
_x = (_root.cannon7._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon7._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYBEAM" in Frame 11
onClipEvent (load) {
_x = _root.ENEMY8._x;
_y = (_root.ENEMY8._y + 30);
power = 15;
_visible = true;
element = 1001;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
duplicateMovieClip (_root.burstor, "nullburst" + element, element);
}
if (element > 1500) {
element = 1001;
}
element = element + 1;
_root.ENEMYbeam._visible = false;
removeMovieClip(_root.ENEMYbeam);
}
Instance of Symbol 349 MovieClip "ENEMYfire10" in Frame 11
onClipEvent (load) {
_x = _root.ENEMY10._x;
_y = (_root.ENEMY10._y - 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire6" in Frame 11
onClipEvent (load) {
_x = _root.ENEMY6._x;
_y = (_root.ENEMY6._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 108 MovieClip "Health" in Frame 11
onClipEvent (load) {
_y = 0;
die = 0;
_alpha = 100;
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.Health = _root.ship.Health + 300;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 379 MovieClip "burstor" in Frame 11
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 379 MovieClip "burstor2" in Frame 11
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 379 MovieClip "burstor3" in Frame 11
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 349 MovieClip "minigun" in Frame 11
onClipEvent (load) {
_rotation = (_root.ENEMY11._rotation - 90);
_x = (_root.ENEMY11._x - (10 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.ENEMY11._y - (10 * Math.sin(_rotation * (Math.PI/180))));
power = 1;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((10 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((10 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY11._visible == false) {
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY11.Health <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "minigun2" in Frame 11
onClipEvent (load) {
_rotation = (_root.ENEMY12._rotation - 90);
_x = (_root.ENEMY12._x - (10 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.ENEMY12._y - (10 * Math.sin(_rotation * (Math.PI/180))));
power = 1;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((10 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((10 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY12._visible == false) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 92 MovieClip "Backupupgrade" in Frame 11
onClipEvent (load) {
_y = 0;
type = random(5);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
_alpha = 100;
die = 0;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type == 5) {
this.gotoAndStop(5);
}
if (type >= 6) {
this.gotoAndStop(6);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.BUp = 1;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.BUp = 2;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.BUp = 3;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.BUp = 4;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 380 MovieClip "bossblast" in Frame 11
onClipEvent (load) {
_x = _root.ENEMY14._x;
_y = _root.ENEMY14._y;
power = 5;
_rotation = (_root.ENEMY14._rotation - 90);
_visible = true;
element = 1001;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - (3 * Math.sin(_rotation * (Math.PI/180))));
_x = (_x - (3 * Math.cos(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
duplicateMovieClip (_root.burstor2, "nullburst" + element, element);
}
if (element > 1500) {
element = 1001;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
element = element + 1;
_root.bossblast._visible = false;
removeMovieClip(_root.bossblast);
}
Instance of Symbol 349 MovieClip "bossblastX" in Frame 11
onClipEvent (load) {
_rotation = _root.cannonZ._rotation;
_x = (_root.cannonZ._x - (60 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannonZ._y - (60 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "bossblastX2" in Frame 11
onClipEvent (load) {
_rotation = _root.cannonZ2._rotation;
_x = (_root.cannonZ2._x - (60 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannonZ2._y - (60 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 104 MovieClip "rocketupgrade" in Frame 11
onClipEvent (load) {
_y = 0;
_alpha = 100;
die = 0;
type = Math.round(Math.random() * 6);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type >= 5) {
this.gotoAndStop(5);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.rocket = 1;
_root.ship.rocketammoEP1 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.rocket = 2;
_root.ship.rocketammoEP2 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.rocket = 3;
_root.ship.rocketammoEP3 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.rocket = 4;
_root.ship.rocketammoEP4 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type >= 5)) && (_visible == true)) {
_root.ship.rocket = 5;
_root.ship.rocketammoEP5 = 10;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
removeMovieClip(_root.Health);
_root.Health._visible = false;
removeMovieClip(_root.laserupgrade);
_root.laserupgrade._visible = false;
removeMovieClip(_root.rocketupgrade);
_root.rocketupgrade._visible = false;
removeMovieClip(_root.backupupgrade);
_root.backupupgrade._visible = false;
}
Instance of Symbol 388 MovieClip "ENEMY" in Frame 11
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
this.guy.gotoAndStop(2);
}
Instance of Symbol 388 MovieClip "ENEMY2" in Frame 11
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire2, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
this.guy.gotoAndStop(2);
}
Instance of Symbol 388 MovieClip "ENEMY3" in Frame 11
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire3, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
this.guy.gotoAndStop(2);
}
Instance of Symbol 396 MovieClip "ENEMY4" in Frame 11
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 300;
AXE = 11 + (Math.random() * 23);
respawn = 130;
dying = 20;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (_root.ship.wave2 == true)) {
_y = (_y + axe);
firing = firing + 1;
element = element + 1;
axe = axe * 0.94;
}
if (axe <= 0.5) {
axe = 0;
}
if (element > 1555) {
element = 1001;
}
if (((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave2 == true)) {
duplicateMovieClip (_root.ENEMYfire4, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
_root.cannon._visible = true;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
_root.cannon._visible = false;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave2 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -60;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
AXE = 11 + (Math.random() * 13);
}
if (_root.ship.wave2 != true) {
respawn = 120;
}
this.guy.gotoAndStop(2);
_root.cannon._x = _x + 10;
_root.cannon._y = _y + 10;
}
Instance of Symbol 398 MovieClip "cannon" in Frame 11
onClipEvent (enterFrame) {
_rotation = (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
Instance of Symbol 396 MovieClip "ENEMY5" in Frame 11
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 300;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (((_root.ship.pause != true) && (_root.ship.wave2 == true)) or ((_root.ship.pause != true) && (_root.ship.wave3 == true))) {
_y = (_y + axe);
firing = firing + 1;
element = element + 1;
axe = axe * 0.94;
}
if (axe <= 0.5) {
axe = 0;
}
if (element > 1555) {
element = 1001;
}
if ((((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave2 == true)) or (((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true))) {
duplicateMovieClip (_root.ENEMYfire5, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
_root.cannon2._visible = true;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
_root.cannon2._visible = false;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if (((dead == true) && (_root.ship.wave2 == true)) or ((dead == true) && (_root.ship.wave3 == true))) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -60;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
AXE = 11 + (Math.random() * 13);
}
if ((_root.ship.wave3 != true) or (_root.ship.wave2 != true)) {
respawn = 120;
}
this.guy.gotoAndStop(2);
_root.cannon2._x = _x + 10;
_root.cannon2._y = _y + 10;
}
Instance of Symbol 398 MovieClip "cannon2" in Frame 11
onClipEvent (enterFrame) {
_rotation = (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
Instance of Symbol 406 MovieClip "ENEMY8" in Frame 11
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 2000;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 1);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.4);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.4);
}
if (((((_root.ship._y < (_y + 300)) && (firing > 70)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYBEAM, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 100;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave3 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
this.guy.gotoAndStop(2);
}
Instance of Symbol 388 MovieClip "ENEMY10" in Frame 11
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYfire10, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = 900;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y < -100) && (_root.ship.wave3 == true)) {
_y = 900;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
this.guy.gotoAndStop(2);
}
Instance of Symbol 388 MovieClip "ENEMY6" in Frame 11
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYfire6, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave3 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
this.guy.gotoAndStop(2);
}
Instance of Symbol 416 MovieClip "ENEMY12" in Frame 11
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + Fly);
fly = fly - 0.1;
firing = firing + 1;
element = element + 1;
}
if (fly <= 0.5) {
_rotation = ((Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180)) + 90);
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if ((((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) && (_visible == true)) {
duplicateMovieClip (_root.minigun2, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
dead = false;
dying = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -10;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
fly = 4 + (Math.random() * 6);
_root.ship.waveC = _root.ship.waveC + 1;
_y = -10;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
fly = 4 + (Math.random() * 6);
this.gotoAndStop(1);
}
if ((((_y < -10) && (_root.ship.wave1 == true)) && (fly <= 0)) && (HEalth > 0)) {
_y = -10;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
fly = 4 + (Math.random() * 6);
this.gotoAndStop(1);
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
if (Health > 0) {
_visible = true;
}
this.guy.gotoAndStop(3);
_root.HP = Health;
_root.CHE = _visible;
}
Instance of Symbol 467 MovieClip "meteor" in Frame 11
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1400) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor2" in Frame 11
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1000) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor4" in Frame 11
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1000) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor5" in Frame 11
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1900) {
_y = -500;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 512 MovieClip "stat" in Frame 11
onClipEvent (load) {
this.swapDepths(9999);
}
Instance of Symbol 558 MovieClip "music" in Frame 11
onClipEvent (load) {
this.swapDepths(99999);
this.gotoAndPlay("battle2");
}
Frame 12
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 13
stop();
_quality = "High";
Instance of Symbol 238 MovieClip in Frame 13
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 242 MovieClip in Frame 13
onClipEvent (load) {
this.gotoAndPlay(1);
}
Instance of Symbol 255 MovieClip "missionstarted" in Frame 13
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 14
stop();
_quality = "Low";
Instance of Symbol 273 MovieClip "BG" in Frame 14
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 154 MovieClip "stars" in Frame 14
onClipEvent (enterFrame) {
if ((_y > 200) && (_root.ship.acce > 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
if ((_y < -1000) && (_root.ship.acce <= 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = 200;
}
}
Instance of Symbol 154 MovieClip "stars2" in Frame 14
onClipEvent (enterFrame) {
if ((_y > 200) && (_root.ship.acce > 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
if ((_y < -1000) && (_root.ship.acce <= 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = 200;
}
}
Instance of Symbol 154 MovieClip "stars3" in Frame 14
onClipEvent (enterFrame) {
if ((_y > 200) && (_root.ship.acce > 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
if ((_y < -1000) && (_root.ship.acce <= 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = 200;
}
}
Instance of Symbol 275 MovieClip in Frame 14
onClipEvent (load) {
_root.ship.pause = true;
triggered = false;
startup = 0;
acc = 8;
}
onClipEvent (enterFrame) {
if (startup > 100) {
triggered = true;
}
if ((triggered != true) && (dead != true)) {
startup = startup + 1;
}
if ((triggered == true) && (dead != true)) {
_y = (_y + 10);
_root.ship._y = _root.ship._y - acc;
acc = acc * 0.94;
_root.ship.fly = 100;
}
if (_y > 900) {
_root.ship.pause = false;
_root.ship.wave1 = true;
triggered = false;
dead = true;
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 324 MovieClip "ENEMY14" in Frame 14
onClipEvent (load) {
Health = 0;
this.gotoAndStop(1);
_root.ENEMY15.gotoAndStop(1);
_x = (random(350) + 25);
element = 1001;
dead = false;
LE = false;
RI = true;
HP = 85000 /* 0x014C08 */;
HP2 = 125000 /* 0x01E848 */;
AXE = 11 + (Math.random() * 23);
dying = 20;
of = false;
of2 = false;
power = 3;
startbattle = 0;
element = 1500;
cannonZarea = _root.romulus._x - _root.cannonZ._x;
cannonZyarea = _root.romulus._y - _root.cannonZ._y;
cannonZarea2 = _root.romulus2._x - _root.cannonZ2._x;
cannonZyarea2 = _root.romulus2._y - _root.cannonZ2._y;
cannonZarea3 = _root.romulus2._x - _root.cannonZ3._x;
cannonZyarea3 = _root.romulus2._y - _root.cannonZ3._y;
_visible = false;
_root.ENEMY15._visible = false;
}
onClipEvent (enterFrame) {
if (((_root.ship.wave4 == true) && (Health <= 0)) && (of != true)) {
_root.romulus._visible = true;
_visible = true;
battle = true;
Health = HP;
of = true;
}
if (battle == true) {
startbattle = startbattle + 1;
}
if (startbattle > 500) {
_root.romulus._y = _root.romulus._y + 3;
}
if (_y > 150) {
_root.romulus.cannon.play();
_root.romulus.cannon2.play();
startbattle = 0;
battle = false;
}
if (((_root.ship.wave4 == true) && (Health <= 0)) && (of == true)) {
deathSEQ = deathSEQ + 1;
_rotation = 0;
_root.cannonZ._visible = false;
}
if ((deathSEQ > 5) && (deathSEQ < 8)) {
this.gotoAndPlay("death");
}
if ((deathSEQ > 50) && (deathSEQ < 54)) {
_root.romulus.play();
}
if (deathSEQ > 173) {
_root.ship.bossdeath = 5;
}
if (((_root.ship.wave4 == true) && (Health > 0)) && (_y > 65)) {
_rotation = (90 + (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180)));
firing = firing + 1;
spin = 90 - (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
if ((((((_root.ship._y < (_y + 400)) && (firing > 60)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave4 == true)) && (multiple != true)) {
duplicateMovieClip (_root.Bossblast, "nullattack" + element, element);
multiple = true;
}
if (multiple == true) {
revert = revert + 1;
}
if (revert > 15) {
multiple = false;
revert = 0;
reverting = reverting + 1;
}
if (reverting > 1) {
firing = 0;
revert = 0;
reverting = 0;
multiple = false;
}
if (element > 2000) {
element = 1500;
}
if ((_root.ship.wave4 == true) && (Health > 0)) {
aimage = aimage + 1;
}
if (aimage > 120) {
blastpattern = true;
}
if (blastpattern == true) {
pooper = pooper + 1;
}
if ((((pooper > 20) && (Health > 0)) && (RI == true)) && (LE == false)) {
duplicateMovieClip (_root.BossblastX, "nullattack" + element, element);
LE = true;
ri = false;
}
if ((((pooper > 20) && (Health > 0)) && (LE == true)) && (Ri == false)) {
duplicateMovieClip (_root.BossblastXX, "nullattack" + element, element);
ri = true;
LE = false;
poopoff = poopoff + 1;
pooper = 0;
}
if (poopoff > 5) {
poopoff = 0;
pooper = 0;
aimage = 0;
blastpattern = false;
}
if (_root.ship.bossdeath > 0) {
starterup = starterup + 1;
}
if ((starterup > 70) && (starterup < 74)) {
_root.music.gotoAndPlay("2ndmass");
}
if (starterup > 300) {
begins = true;
}
if (((((_root.ship.wave4 == true) && (_root.ENEMY15.Health <= 0)) && (of2 != true)) && (_root.ship.bossdeath > 0)) && (begins == true)) {
_root.romulus2._visible = true;
_root.ENEMY15._visible = true;
battle2 = true;
_root.ENEMY15.Health = HP2;
of2 = true;
}
if (battle2 == true) {
startbattle2 = startbattle2 + 1;
}
if (startbattle2 > 30) {
_root.romulus2._y = _root.romulus2._y + 3;
}
if (_root.ENEMY15._y > 120) {
startbattle2 = 0;
battle2 = false;
}
if ((((_root.ship.wave4 == true) && (_root.ENEMY15.Health <= 0)) && (_root.ship.bossdeath > 0)) && (of2 == true)) {
deathSEQ2 = deathSEQ2 + 1;
_root.ENEMY15._rotation = 0;
_root.cannonZ2._visible = false;
_root.cannonZ3._visible = false;
}
if ((deathSEQ2 > 5) && (deathSEQ2 < 8)) {
_root.ENEMY15.gotoAndPlay("death");
}
if ((deathSEQ2 > 50) && (deathSEQ2 < 54)) {
_root.romulus2.play();
}
if (deathSEQ2 > 173) {
_root.ship.bossdeath2 = 5;
}
if (((_root.ship.wave4 == true) && (Health > 0)) && (_y > 65)) {
_root.ENEMY15._rotation = 90 + (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
firing2 = firing2 + 1;
}
if ((((((_root.ship._y < (_root.ENEMY15._y + 400)) && (firing2 > 60)) && (_root.ship.pause != true)) && (_root.ENEMY15.HEalth > 0)) && (_root.ship.wave4 == true)) && (multiple2 != true)) {
duplicateMovieClip (_root.Bossblast2, "nullattack" + element, element);
multiple2 = true;
}
if (multiple2 == true) {
revert2 = revert2 + 1;
}
if (revert2 > 15) {
multiple2 = false;
revert2 = 0;
reverting2 = reverting2 + 1;
}
if (reverting2 > 8) {
firing2 = 0;
revert2 = 0;
reverting2 = 0;
multiple2 = false;
}
if (element > 2000) {
element = 1500;
}
if ((_root.ship.wave4 == true) && (_root.ENEMY15.Health > 0)) {
aimage2 = aimage2 + 1;
}
if (aimage2 > 40) {
right = false;
aimage2 = 0;
left = true;
duplicateMovieClip (_root.BossblastX2, "nullattack" + element, element);
}
if ((_root.ship.wave4 == true) && (_root.ENEMY15.Health > 0)) {
aimage3 = aimage3 + 1;
}
if (aimage3 > 34) {
right = false;
aimage3 = 0;
left = true;
duplicateMovieClip (_root.BossblastX3, "nullattack" + element, element);
}
_x = (_root.romulus._x + 124);
_y = (_root.romulus._y + 164);
_root.ENEMY15._x = _root.romulus2._x + 124;
_root.ENEMY15._y = _root.romulus2._y + 164;
_root.romulus.guy.gotoAndStop(1);
_root.romulus2.guy.gotoAndStop(2);
_root.ENEMY15.guy.gore.gotoAndStop(2);
_root.cannonZ._rotation = Math.atan2(_root.cannonZ._y - _root.ship._y, _root.cannonZ._x - _root.ship._x) / (Math.PI/180);
_root.cannonZ2._rotation = Math.atan2(_root.cannonZ2._y - _root.ship._y, _root.cannonZ2._x - _root.ship._x) / (Math.PI/180);
_root.cannonZ3._rotation = Math.atan2(_root.cannonZ3._y - _root.ship._y, _root.cannonZ3._x - _root.ship._x) / (Math.PI/180);
_root.cannonZ._x = _root.romulus._x - CannonZarea;
_root.cannonZ._y = _root.romulus._y - CannonZyarea;
_root.cannonZ2._x = _root.romulus2._x - CannonZarea2;
_root.cannonZ2._y = _root.romulus2._y - CannonZyarea2;
_root.cannonZ3._x = _root.romulus2._x - CannonZarea3;
_root.cannonZ3._y = _root.romulus2._y - CannonZyarea3;
YCO = _y - (100 * Math.sin(spin));
XCO = _x - (100 * Math.cos(spin));
_root.YM = YCO;
_root.XM = XCO;
_root.dor = spin;
this.guy.gore.gotoAndStop(3);
element = element + 1;
}
Instance of Symbol 334 MovieClip "ship" in Frame 14
onClipEvent (load) {
motion = 5;
helix = 1;
Health = 710;
Lquota = 200 + (Math.random() * 260);
_root.ammo = 0;
bossdeath = 0;
fly = 0;
flyR = 0;
revert = 0;
flyL = 0;
rocketammo = 0;
Rquota = 200 + (Math.random() * 260);
_root.difficulty = 1.5;
_root.score = 0;
_root.kills = 0;
_root.damage = 0;
Hquota = (3000 + (Math.random() * 1460)) + (100 * _root.difficulty);
acce = 1;
}
onClipEvent (enterFrame) {
if (((key.IsDown(38) && (pause != true)) && (_y > 100)) && (_root.KB != true)) {
_y = (_y - motion);
fly = 100;
}
if (((key.IsDown(40) && (pause != true)) && (_y < 520)) && (_root.KB != true)) {
_y = (_y + motion);
REVERT = 100;
}
if (((key.IsDown(37) && (pause != true)) && (_x > 30)) && (_root.KB != true)) {
_x = (_x - motion);
flight = true;
_rotation = -10;
flyL = 100;
}
if (((key.IsDown(39) && (pause != true)) && (_x < 370)) && (_root.KB != true)) {
_x = (_x + motion);
flight = true;
_rotation = 10;
flyR = 100;
}
if (_root.KB == true) {
startDrag ("_root.ORG", true);
}
if ((_root.KB == true) && (_x >= 370)) {
_x = 370;
}
if ((_root.KB == true) && (_x <= 30)) {
_x = 30;
}
if ((_root.KB == true) && (_y <= 100)) {
_y = 100;
}
if ((_root.KB == true) && (_y >= 520)) {
_y = 520;
}
if ((((_root.ORG._x > (_x + 20)) && (_root.KB == true)) && (_x < 370)) && (pause != true)) {
_x = (_x + motion);
flyR = 100;
_rotation = 10;
}
if ((((_root.ORG._x < (_x - 20)) && (_root.KB == true)) && (_x > 30)) && (pause != true)) {
_x = (_x - motion);
flyL = 100;
_rotation = -10;
}
if ((((_root.ORG._y > (_y + 20)) && (_root.KB == true)) && (_y < 520)) && (pause != true)) {
_y = (_y + motion);
revert = 100;
}
if ((((_root.ORG._y < (_y - 20)) && (_root.KB == true)) && (_y > 100)) && (pause != true)) {
_y = (_y - motion);
fly = 100;
}
if ((_x < (_root.ORG._x + 40)) && (_x > (_root.ORG._x - 40))) {
_rotation = 0;
}
if (pause != true) {
fly = fly - 1;
flyR = flyR - 2;
flyL = flyL - 2;
revert = revert - 3;
reload = reload + 1;
_root.BG._y = _root.BG._y + 0.02;
}
if (((key.IsDown(83) && (pause != true)) && (weapon <= 1)) && (firedelay == false)) {
duplicateMovieClip (_root.laser1, "nulllaser" + element, element);
firedelay = true;
backons = true;
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 2)) && (firedelay == false)) {
duplicateMovieClip (_root.laser2, "nulllaser" + element, element);
firedelay = true;
backons = true;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 3)) && (firedelay == false)) && (helix == 1)) {
duplicateMovieClip (_root.laser3, "nulllaser" + element, element);
firedelay = true;
backons = true;
helix = 2;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 3)) && (firedelay == false)) && (helix == 2)) {
duplicateMovieClip (_root.laser4, "nulllaser" + element, element);
firedelay = true;
helix = 1;
backons = true;
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 4)) && (firedelay == false)) {
duplicateMovieClip (_root.laser5, "nulllaser" + element, element);
firedelay = true;
backon = true;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 5)) && (firedelay == false)) && (burst != true)) {
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 5)) && (firedelay == false)) {
duplicateMovieClip (_root.laser9, "nulllaser" + element, element);
firedelay = true;
burst = false;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 6)) && (firedelay == false)) && (mega != true)) {
duplicateMovieClip (_root.laser11, "nulllaser" + element, element);
mega = true;
}
if (mega == true) {
bu = bu + 1;
}
if ((BU > 1) && (BU < 3)) {
duplicateMovieClip (_root.laserBU1, "nulllaser" + element, element);
}
if ((BU > 2) && (BU < 4)) {
duplicateMovieClip (_root.laserBU2, "nulllaser" + element, element);
}
if (BU > 18) {
BU = 0;
mega = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket <= 1)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.Rocket, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP1 = rocketammoEP1 - 1;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 2)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.Rocket2, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP2 = rocketammoEP2 - 1;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 3)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketLOCKED1, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP3 = rocketammoEP3 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 1) && (rocket == 3)) {
duplicateMovieClip (_root.RocketLOCKED2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 4)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketDU1, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP4 = rocketammoEP4 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 1) && (rocket == 4)) {
duplicateMovieClip (_root.RocketDU2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 5)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketPL, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP5 = rocketammoEP5 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 0) && (rocket == 5)) {
duplicateMovieClip (_root.rocketPL2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
firethird = true;
}
if (firethird == true) {
rebound2 = rebound2 + 1;
}
if ((rebound2 > 0) && (rocket == 5)) {
duplicateMovieClip (_root.laserPL, "nulllaser" + element, element);
rebound2 = 0;
firesecond = false;
firethird = false;
}
if (rocket <= 1) {
rocketammo = rocketammoEP1;
RAfull = 20;
}
if (rocket == 2) {
rocketammo = rocketammoEP2;
RAfull = 20;
}
if (rocket == 3) {
rocketammo = rocketammoEP3;
RAfull = 20;
}
if (rocket == 4) {
rocketammo = rocketammoEP4;
RAfull = 20;
}
if (rocket >= 5) {
rocketammo = rocketammoEP5;
RAfull = 10;
}
if ((backons == true) && (pause != true)) {
BUKS = BUKS + 1;
}
if ((BUKS > 2) && (BUP == 1)) {
duplicateMovieClip (_root.backup, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 2)) {
duplicateMovieClip (_root.backup2, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 3)) {
duplicateMovieClip (_root.backup3, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 4)) {
duplicateMovieClip (_root.backup4, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((releaseL > Lquota) && (bossdeath2 <= 0)) {
duplicateMovieClip (_root.laserupgrade, "nullless" + element, element);
Lquota = 300 + (Math.random() * 460);
releasel = 0;
}
if ((releaseR > Rquota) && (bossdeath2 <= 0)) {
duplicateMovieClip (_root.rocketupgrade, "nullless" + element, element);
Rquota = 300 + (Math.random() * 460);
releaseR = 0;
}
if ((releaseH > Hquota) && (bossdeath2 <= 0)) {
duplicateMovieClip (_root.HEalth, "nullless" + element, element);
Hquota = (3000 + (Math.random() * 1460)) + (100 * _root.difficulty);
releaseH = 0;
}
if ((releaseB > Bquota) && (bossdeath2 <= 0)) {
duplicateMovieClip (_root.backupupgrade, "nullless" + element, element);
Bquota = 300 + (Math.random() * 460);
releaseB = 0;
}
if (pause != true) {
releaseR = releaseR + 1;
releaseL = releaseL + 1;
releaseH = releaseH + 1;
releaseB = releaseB + 1;
}
if (reload > 20) {
reload = 20;
}
if (element > 999) {
element = 0;
}
if (weapon <= 1) {
_root.stat.laser.gotoAndStop(1);
}
if (weapon == 2) {
_root.stat.laser.gotoAndStop(2);
}
if (weapon == 3) {
_root.stat.laser.gotoAndStop(3);
}
if (weapon == 4) {
_root.stat.laser.gotoAndStop(4);
}
if (weapon == 5) {
_root.stat.laser.gotoAndStop(5);
}
if (weapon >= 6) {
_root.stat.laser.gotoAndStop(6);
}
if (rocket <= 0) {
_root.stat.missile.gotoAndStop(6);
}
if (rocket == 1) {
_root.stat.missile.gotoAndStop(1);
}
if (rocket == 2) {
_root.stat.missile.gotoAndStop(2);
}
if (rocket == 3) {
_root.stat.missile.gotoAndStop(3);
}
if (rocket == 4) {
_root.stat.missile.gotoAndStop(4);
}
if (rocket == 5) {
_root.stat.missile.gotoAndStop(5);
}
if (Health > 710) {
Health = 710;
}
if (Health <= 0) {
death = death + 1;
Health = 0;
firedelay = true;
_root.stat.bar._visible = false;
}
if ((death > 20) && (death < 24)) {
motion = 0;
this.gotoAndPlay("dead");
}
if (death > 54) {
_visible = false;
}
if ((death > 70) && (death < 74)) {
_root.music.gotoAndPlay("gameover");
pause = true;
}
if ((wave1 == true) && (order <= 0)) {
wave2 = false;
wave3 = false;
wave4 = false;
order = 1;
}
if (((waveC > 14) && (wave1 == true)) && (order == 1)) {
wave1 = false;
wave3 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 2;
}
if (((waveC > 14) && (wave3 == true)) && (order == 2)) {
wave2 = false;
wave3 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 3;
}
if (((waveC > 14) && (wave1 == true)) && (order == 3)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 4;
}
if (((waveC > 8) && (wave3 == true)) && (order == 4)) {
wave2 = false;
wave3 = false;
wave4 = false;
wave2 = true;
waveC = 0;
order = 5;
}
if (((waveC > 7) && (wave2 == true)) && (order == 5)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 6;
}
if (((waveC > 6) && (wave3 == true)) && (order == 6)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 7;
}
if (((waveC > 4) && (wave1 == true)) && (order == 7)) {
wave1 = false;
wave2 = true;
wave4 = false;
wave3 = false;
waveC = 0;
order = 8;
}
if (((waveC > 3) && (wave2 == true)) && (order == 8)) {
wave1 = true;
wave2 = false;
wave4 = false;
wave3 = false;
waveC = 0;
order = 9;
}
if (((waveC > 5) && (wave1 == true)) && (order == 9)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 10;
}
if (((waveC > 5) && (wave3 == true)) && (order == 10)) {
wave1 = false;
wave2 = true;
wave4 = false;
wave3 = false;
waveC = 0;
order = 11;
}
if (((waveC > 7) && (wave2 == true)) && (order == 11)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 12;
}
if ((((waveC > 15) && (wave3 == true)) && (order == 12)) && (health > 0)) {
wave1 = false;
wave3 = false;
wave2 = false;
wave4 = true;
waveC = 0;
_root.music.gotoAndPlay("boss3");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
_root.ENEMY3.Health = 0;
_root.ENEMY4.Health = 0;
_root.ENEMY5.Health = 0;
_root.ENEMY6.Health = 0;
_root.ENEMY7.Health = 0;
_root.ENEMY8.Health = 0;
_root.ENEMY9.Health = 0;
_root.ENEMY10.Health = 0;
_root.ENEMY11.Health = 0;
_root.ENEMY12.Health = 0;
_root.ENEMY13.Health = 0;
startboss = true;
}
if ((((bossdeath > 1) && (bossdeath2 > 0)) && (wave4 == true)) && (order == 12)) {
wave3 = false;
wave4 = false;
wave2 = false;
wave1 = false;
waveC = 0;
order = 10;
_root.music.gotoAndPlay("victory");
}
if (_root.OAS3 < _root.score) {
_root.OAS3 = _root.score;
}
if (startboss == true) {
dieoffenemies = dieoffenemies + 1;
}
if (dieoffenemies > 50) {
_root.ENEMY._visible = false;
_root.ENEMY2._visible = false;
_root.ENEMY3._visible = false;
_root.ENEMY4._visible = false;
_root.ENEMY5._visible = false;
_root.ENEMY6._visible = false;
_root.ENEMY7._visible = false;
_root.ENEMY8._visible = false;
_root.ENEMY9._visible = false;
_root.ENEMY10._visible = false;
_root.ENEMY11._visible = false;
_root.ENEMY12._visible = false;
_root.ENEMY13._visible = false;
_root.ENEMY._y = -500;
_root.ENEMY2._y = -500;
_root.ENEMY3._y = -500;
_root.ENEMY4._y = -500;
_root.ENEMY5._y = -500;
_root.ENEMY6._y = -500;
_root.ENEMY7._y = -500;
_root.ENEMY8._y = -500;
_root.ENEMY9._y = -500;
_root.ENEMY10._y = -500;
_root.ENEMY11._y = -500;
_root.ENEMY12._y = -500;
_root.ENEMY13._y = -500;
_root.removeMovieClip(_root.ENEMY);
_root.removeMovieClip(_root.ENEMY2);
_root.removeMovieClip(_root.ENEMY3);
_root.removeMovieClip(_root.ENEMY4);
_root.removeMovieClip(_root.ENEMY5);
_root.removeMovieClip(_root.ENEMY6);
_root.removeMovieClip(_root.ENEMY7);
_root.removeMovieClip(_root.ENEMY8);
_root.removeMovieClip(_root.ENEMY9);
_root.removeMovieClip(_root.ENEMY10);
_root.removeMovieClip(_root.ENEMY11);
_root.removeMovieClip(_root.ENEMY12);
_root.removeMovieClip(_root.ENEMY13);
}
if (((bossbattle == true) && (acce <= 340)) && (bossdeath <= 0)) {
acce = acce * 1.15;
}
if ((((bossbattle == true) && (acce >= 1)) && (bossdeath2 <= 0)) && (itson == true)) {
acce = acce * 0.98;
}
if ((acce <= 2) && (bossdeath > 0)) {
DEACC = true;
}
if ((((((bossbattle == true) && (acce > -240)) && (DEACC == true)) && (bossdeath > 0)) && (itson == true)) && (bossdeath2 <= 0)) {
acce = acce * -1.16;
}
if ((bossdeath > 0) && (bossdeath2 > 0)) {
setup = setup + 1;
acce = acce * 0.96;
}
if (setup < 10) {
scoreset = _root.score;
}
if (setup > 10) {
_root.score = scoreset;
}
if (acce < 0) {
revert = 100;
}
if (acce > 30) {
fly = 100;
flyR = 100;
flyL = 100;
}
if (((EXPL > 10) && (EXP < 20)) && (bonus != true)) {
_root.stuff.gotoAndPlay("explosive");
bonus = true;
}
if ((EXPL >= 20) && (bonus != true)) {
_root.stuff.gotoAndPlay("massacre");
bonus = true;
}
if ((bonus = true)) {
runout = runout + 1;
}
if (runout > 40) {
bonus = false;
EXPL = 0;
runout = 0;
}
if (expl <= 0) {
expl = 0;
}
if (_root.score >= 300000) {
Srank = 5;
}
if ((_root.score < 300000) && (_root.score >= 260000)) {
Srank = 4;
}
if ((_root.score < 260000) && (_root.score >= 200000)) {
Srank = 3;
}
if ((_root.score < 200000) && (_root.score >= 140000)) {
Srank = 2;
}
if (_root.score < 140000) {
Srank = 1;
}
if (_root.kills >= 95) {
Krank = 5;
}
if ((_root.kills < 95) && (_root.kills >= 70)) {
Krank = 4;
}
if ((_root.kills < 70) && (_root.kills >= 50)) {
Krank = 3;
}
if ((_root.kills < 50) && (_root.kills >= 25)) {
Krank = 2;
}
if (_root.kills < 25) {
Krank = 1;
}
if (_root.damage <= 350) {
Drank = 5;
}
if ((_root.damage > 350) && (_root.damage <= 400)) {
Drank = 4;
}
if ((_root.damage > 400) && (_root.damage <= 450)) {
Drank = 3;
}
if ((_root.damage > 450) && (_root.damage <= 500)) {
Drank = 2;
}
if (_root.damage > 500) {
Drank = 1;
}
if (Srank == 1) {
_root.music.stat.Srank.gotoAndStop(1);
}
if (Srank == 2) {
_root.music.stat.Srank.gotoAndStop(2);
}
if (Srank == 3) {
_root.music.stat.Srank.gotoAndStop(3);
}
if (Srank == 4) {
_root.music.stat.Srank.gotoAndStop(4);
}
if (Srank == 5) {
_root.music.stat.Srank.gotoAndStop(5);
}
if (Drank == 1) {
_root.music.stat.Drank.gotoAndStop(1);
}
if (Drank == 2) {
_root.music.stat.Drank.gotoAndStop(2);
}
if (Drank == 3) {
_root.music.stat.Drank.gotoAndStop(3);
}
if (Drank == 4) {
_root.music.stat.Drank.gotoAndStop(4);
}
if (Drank == 5) {
_root.music.stat.Drank.gotoAndStop(5);
}
if (Krank == 1) {
_root.music.stat.Krank.gotoAndStop(1);
}
if (Krank == 2) {
_root.music.stat.Krank.gotoAndStop(2);
}
if (Krank == 3) {
_root.music.stat.Krank.gotoAndStop(3);
}
if (Krank == 4) {
_root.music.stat.Krank.gotoAndStop(4);
}
if (Krank == 5) {
_root.music.stat.Krank.gotoAndStop(5);
}
if (overall >= 13) {
_root.music.stat.OArank.gotoAndStop(5);
}
if ((overall < 13) && (overall >= 9)) {
_root.music.stat.OArank.gotoAndStop(4);
}
if ((overall < 9) && (overall >= 5)) {
_root.music.stat.OArank.gotoAndStop(3);
}
if ((overall < 5) && (overall >= 2)) {
_root.music.stat.OArank.gotoAndStop(2);
}
if (overall < 2) {
_root.music.stat.OArank.gotoAndStop(1);
}
if (chain <= 0) {
chain = 0;
_root.stat.chains._visible = false;
_root.stat.chains._alpha = 100;
alphaage = false;
}
if (chain > 0) {
eliminate = eliminate + 1;
}
if (eliminate > 100) {
alphaage = true;
eliminate = 0;
}
if (alphaage == true) {
_root.stat.chains._alpha = _root.stat.chains._alpha - 3;
}
if (_root.stat.chains._alpha < 5) {
chain = 0;
}
if ((pause != true) && (_root.stat.chains._visible == false)) {
chain = chain - 0.1;
}
if (pause != true) {
_root.stat.chains.chain = Math.round(chain);
rechain = rechain + 1;
}
if (chain > 1) {
_root.stat.chains._visible = true;
}
if (acce > 100) {
fly = 100;
}
if (acce < 0) {
revert = 100;
}
Overall = (Srank + Drank) + Krank;
_root.music.stat.scores = _root.score;
_root.music.stat.damages = _root.damage;
_root.music.stat.killss = _root.kills;
_root.stars._y = _root.stars._y + 0.5;
_root.stars2._y = _root.stars2._y + 0.5;
_root.stars3._y = _root.stars3._y + 0.5;
_root.stars._y = _root.stars._y + (acce / 10);
_root.stars2._y = _root.stars2._y + (acce / 10);
_root.stars3._y = _root.stars3._y + (acce / 10);
_root.stat.PER = Math.round(Health / 7.1);
_root.stat.bar._width = Health / 4;
this.jetB._alpha = revert;
this.jetB2._alpha = revert;
this.jet._alpha = fly;
this.jetR._alpha = flyR;
this.jetL._alpha = flyL;
element = element + 1;
_root.stat.RFammo = RAfull;
_root.stat.scores = _root.score;
_root.stat.ammo = rocketammo;
_root.stuff._x = _x - 40;
_root.stuff._y = _y;
EXPL = EXPL - 0.05;
Health = Health - 0.01;
}
onClipEvent (keyUp) {
if ((flight == true) && (_root.KB != true)) {
_rotation = 0;
}
if (Health > 0) {
firedelay = false;
}
}
onClipEvent (mouseDown) {
if ((pause != true) && (weapon <= 1)) {
duplicateMovieClip (_root.laser1, "nulllaser" + element, element);
backons = true;
}
if ((pause != true) && (weapon == 2)) {
duplicateMovieClip (_root.laser2, "nulllaser" + element, element);
backons = true;
}
if (((pause != true) && (weapon == 3)) && (helix == 1)) {
duplicateMovieClip (_root.laser3, "nulllaser" + element, element);
backons = true;
helix = 2;
}
if (((pause != true) && (weapon == 3)) && (helix == 2)) {
duplicateMovieClip (_root.laser4, "nulllaser" + element, element);
helix = 1;
backons = true;
}
if ((pause != true) && (weapon == 4)) {
duplicateMovieClip (_root.laser5, "nulllaser" + element, element);
backon = true;
}
if ((pause != true) && (weapon == 5)) {
duplicateMovieClip (_root.laser9, "nulllaser" + element, element);
}
if (scatter > 18) {
scatter = 0;
burst = false;
}
if (((pause != true) && (weapon == 6)) && (mega != true)) {
duplicateMovieClip (_root.laser11, "nulllaser" + element, element);
mega = true;
}
}
Instance of Symbol 336 MovieClip "ORG" in Frame 14
onClipEvent (enterFrame) {
_visible = false;
}
Instance of Symbol 347 MovieClip "laser1" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 20;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "laser2" in Frame 14
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 16;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser2._visible = false;
removeMovieClip(_root.laser2);
}
Instance of Symbol 351 MovieClip "rocket" in Frame 14
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
self = 0;
_rotation = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocket.gotoAndStop(50);
_root.rocket._visible = false;
removeMovieClip(_root.rocket);
}
Instance of Symbol 349 MovieClip "laser3" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x + 15);
_y = (_root.ship._y - 30);
power = 15;
lockon = 0;
_visible = true;
bizzare = _root.ship._x + 15;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((40 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser3._visible = false;
removeMovieClip(_root.laser3);
}
Instance of Symbol 349 MovieClip "laser4" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x - 15);
_y = (_root.ship._y - 30);
power = 15;
lockon = 0;
_visible = true;
bizzare = _root.ship._x - 15;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((-40 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser4._visible = false;
removeMovieClip(_root.laser4);
}
Instance of Symbol 356 MovieClip "laser5" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 30;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser5._visible = false;
removeMovieClip(_root.laser5);
}
Instance of Symbol 351 MovieClip "rocketDU1" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x + 20);
bizzare = _root.ship._x + 20;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
_rotation = 0;
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
_x = ((30 * Math.sin(_y / 60)) + bizzare);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if ((timer > (delay - 2)) && (timer <= delay)) {
_root.sound.gotoAndPlay("rocket");
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketDU1.gotoAndStop(50);
_root.rocketDU1._visible = false;
removeMovieClip(_root.rocketDU1);
}
Instance of Symbol 351 MovieClip "rocketDU2" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x - 20);
bizzare = _root.ship._x - 20;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
self = 0;
_rotation = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
_x = ((-30 * Math.sin(_y / 70)) + bizzare);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if ((timer > (delay - 2)) && (timer <= delay)) {
_root.sound.gotoAndPlay("rocket");
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketDU2.gotoAndStop(50);
_root.rocketDU2._visible = false;
removeMovieClip(_root.rocketDU2);
}
Instance of Symbol 349 MovieClip "laser11" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 15;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser11._visible = false;
removeMovieClip(_root.laser11);
}
Instance of Symbol 347 MovieClip "backup3" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x + 19);
_y = (_root.ship._y - 30);
power = 4;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.backup3._visible = false;
removeMovieClip(_root.backup3);
}
Instance of Symbol 349 MovieClip "backup" in Frame 14
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 6;
lockon = 0;
_visible = true;
bizzare = _root.ship._x;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((-20 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.backup._visible = false;
removeMovieClip(_root.backup);
}
Instance of Symbol 347 MovieClip "backup2" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x + 19);
_y = (_root.ship._y + 30);
power = 15;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 560) {
removeMovieClip(this);
this._visible = false;
}
_root.backup2._visible = false;
removeMovieClip(_root.backup2);
}
Instance of Symbol 349 MovieClip "backup4" in Frame 14
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 6;
death = 0;
lockon = 0;
_visible = true;
_rotation = 0;
_alpha = 100;
Ymotion = 10;
MM = (Math.random() * 2) - (Math.random() * 2);
are = _root.ship._x + 10;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - Ymotion);
_x = (_x + Xmotion);
_rotation = (_rotation + 3);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
Ymotion = (-Math.random()) * 15;
Xmotion = (Math.random() * 15) - (Math.random() * 15);
}
if (_y > 500) {
Ymotion = Math.random() * 15;
Xmotion = (Math.random() * 15) - (Math.random() * 15);
}
if (_x < 40) {
Xmotion = Math.random() * 15;
}
if (_x > 370) {
Xmotion = (-Math.random()) * 15;
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (death > 360) {
removeMovieClip(this);
this._visible = false;
}
death = death + 1;
_root.backup4._visible = false;
removeMovieClip(_root.backup4);
}
Instance of Symbol 358 MovieClip "rocket2" in Frame 14
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - YMOVE);
_x = (_x - XMOVE);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
_rotation = (_rotation + 3);
}
if ((((((_root.ENEMY._y > (_y - 200)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (_root.ENEMY.Health > 0)) {
locked = 1;
}
if ((((((_root.ENEMY2._y > (_y - 200)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 120))) && (_root.ENEMY2._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY2.Health > 0)) {
locked = 2;
}
if ((((((_root.ENEMY3._y > (_y - 200)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 120))) && (_root.ENEMY3._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY3.Health > 0)) {
locked = 3;
}
if ((((((_root.ENEMY4._y > (_y - 200)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 120))) && (_root.ENEMY4._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY4.Health > 0)) {
locked = 4;
}
if ((((((_root.ENEMY5._y > (_y - 200)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 120))) && (_root.ENEMY5._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY5.Health > 0)) {
locked = 5;
}
if ((((((_root.ENEMY6._y > (_y - 200)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 120))) && (_root.ENEMY6._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY6.Health > 0)) {
locked = 6;
}
if ((((((_root.ENEMY7._y > (_y - 200)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 120))) && (_root.ENEMY7._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY7.Health > 0)) {
locked = 7;
}
if ((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 120))) && (_root.ENEMY8._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY8.Health > 0)) {
locked = 8;
}
if ((((((_root.ENEMY9._y > (_y - 200)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 120))) && (_root.ENEMY9._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY9.Health > 0)) {
locked = 9;
}
if ((((((_root.ENEMY10._y > (_y - 200)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 120))) && (_root.ENEMY10._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY10.Health > 0)) {
locked = 10;
}
if ((((((_root.ENEMY11._y > (_y - 200)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 120))) && (_root.ENEMY11._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY11.Health > 0)) {
locked = 11;
}
if ((((((_root.ENEMY12._y > (_y - 200)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 120))) && (_root.ENEMY12._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY12.Health > 0)) {
locked = 12;
}
if ((((((_root.ENEMY14._y > (_y - 200)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 120))) && (_root.ENEMY14._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY14.Health > 0)) {
locked = 14;
}
if ((((((_root.ENEMY15._y > (_y - 200)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 120))) && (_root.ENEMY15._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY15.Health > 0)) {
locked = 15;
}
if ((((((_root.ENEMY16._y > (_y - 200)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 120))) && (_root.ENEMY16._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY16.Health > 0)) {
locked = 16;
}
if ((locked == 1) && (_root.ENEMY._x > _x)) {
_x = (_x + 4);
}
if ((locked == 2) && (_root.ENEMY2._x > _x)) {
_x = (_x + 4);
}
if ((locked == 3) && (_root.ENEMY3._x > _x)) {
_x = (_x + 4);
}
if ((locked == 4) && (_root.ENEMY4._x > _x)) {
_x = (_x + 4);
}
if ((locked == 5) && (_root.ENEMY5._x > _x)) {
_x = (_x + 4);
}
if ((locked == 6) && (_root.ENEMY6._x > _x)) {
_x = (_x + 4);
}
if ((locked == 7) && (_root.ENEMY7._x > _x)) {
_x = (_x + 4);
}
if ((locked == 8) && (_root.ENEMY8._x > _x)) {
_x = (_x + 4);
}
if ((locked == 9) && (_root.ENEMY9._x > _x)) {
_x = (_x + 4);
}
if ((locked == 10) && (_root.ENEMY10._x > _x)) {
_x = (_x + 4);
}
if ((locked == 11) && (_root.ENEMY11._x > _x)) {
_x = (_x + 4);
}
if ((locked == 12) && (_root.ENEMY12._x > _x)) {
_x = (_x + 4);
}
if ((locked == 13) && (_root.ENEMY13._x > _x)) {
_x = (_x + 4);
}
if ((locked == 14) && (_root.ENEMY14._x > _x)) {
_x = (_x + 4);
}
if ((locked == 15) && (_root.ENEMY15._x > _x)) {
_x = (_x + 4);
}
if ((locked == 16) && (_root.ENEMY16._x > _x)) {
_x = (_x + 4);
}
if ((locked == 1) && (_root.ENEMY._x < _x)) {
_x = (_x - 4);
}
if ((locked == 2) && (_root.ENEMY2._x < _x)) {
_x = (_x - 4);
}
if ((locked == 3) && (_root.ENEMY3._x < _x)) {
_x = (_x - 4);
}
if ((locked == 4) && (_root.ENEMY4._x < _x)) {
_x = (_x - 4);
}
if ((locked == 5) && (_root.ENEMY5._x < _x)) {
_x = (_x - 4);
}
if ((locked == 6) && (_root.ENEMY6._x < _x)) {
_x = (_x - 4);
}
if ((locked == 7) && (_root.ENEMY7._x < _x)) {
_x = (_x - 4);
}
if ((locked == 8) && (_root.ENEMY8._x < _x)) {
_x = (_x - 4);
}
if ((locked == 9) && (_root.ENEMY9._x < _x)) {
_x = (_x - 4);
}
if ((locked == 10) && (_root.ENEMY10._x < _x)) {
_x = (_x - 4);
}
if ((locked == 11) && (_root.ENEMY11._x < _x)) {
_x = (_x - 4);
}
if ((locked == 12) && (_root.ENEMY12._x < _x)) {
_x = (_x - 4);
}
if ((locked == 13) && (_root.ENEMY13._x < _x)) {
_x = (_x - 4);
}
if ((locked == 14) && (_root.ENEMY14._x < _x)) {
_x = (_x - 4);
}
if ((locked == 15) && (_root.ENEMY15._x < _x)) {
_x = (_x - 4);
}
if ((locked == 16) && (_root.ENEMY16._x < _x)) {
_x = (_x - 4);
}
if ((locked == 1) && (_root.ENEMY._y > _y)) {
_y = (_y + 4);
}
if ((locked == 2) && (_root.ENEMY2._y > _y)) {
_y = (_y + 4);
}
if ((locked == 3) && (_root.ENEMY3._y > _y)) {
_y = (_y + 4);
}
if ((locked == 4) && (_root.ENEMY4._y > _y)) {
_y = (_y + 4);
}
if ((locked == 5) && (_root.ENEMY5._y > _y)) {
_y = (_y + 4);
}
if ((locked == 6) && (_root.ENEMY6._y > _y)) {
_y = (_y + 4);
}
if ((locked == 7) && (_root.ENEMY7._y > _y)) {
_y = (_y + 4);
}
if ((locked == 8) && (_root.ENEMY8._y > _y)) {
_y = (_y + 4);
}
if ((locked == 9) && (_root.ENEMY9._y > _y)) {
_y = (_y + 4);
}
if ((locked == 10) && (_root.ENEMY10._y > _y)) {
_y = (_y + 4);
}
if ((locked == 11) && (_root.ENEMY11._y > _y)) {
_y = (_y + 4);
}
if ((locked == 12) && (_root.ENEMY12._y > _y)) {
_y = (_y + 4);
}
if ((locked == 13) && (_root.ENEMY13._y > _y)) {
_y = (_y + 4);
}
if ((locked == 14) && (_root.ENEMY14._y > _y)) {
_y = (_y + 4);
}
if ((locked == 15) && (_root.ENEMY15._y > _y)) {
_y = (_y + 4);
}
if ((locked == 16) && (_root.ENEMY16._y > _y)) {
_y = (_y + 4);
}
if ((locked == 1) && (_root.ENEMY._y < _y)) {
_y = (_y - 4);
}
if ((locked == 2) && (_root.ENEMY2._y < _y)) {
_y = (_y - 4);
}
if ((locked == 3) && (_root.ENEMY3._y < _y)) {
_y = (_y - 4);
}
if ((locked == 4) && (_root.ENEMY4._y < _y)) {
_y = (_y - 4);
}
if ((locked == 5) && (_root.ENEMY5._y < _y)) {
_y = (_y - 4);
}
if ((locked == 6) && (_root.ENEMY6._y < _y)) {
_y = (_y - 4);
}
if ((locked == 7) && (_root.ENEMY7._y < _y)) {
_y = (_y - 4);
}
if ((locked == 8) && (_root.ENEMY8._y < _y)) {
_y = (_y - 4);
}
if ((locked == 9) && (_root.ENEMY9._y < _y)) {
_y = (_y - 4);
}
if ((locked == 10) && (_root.ENEMY10._y < _y)) {
_y = (_y - 4);
}
if ((locked == 11) && (_root.ENEMY11._y < _y)) {
_y = (_y - 4);
}
if ((locked == 12) && (_root.ENEMY12._y < _y)) {
_y = (_y - 4);
}
if ((locked == 13) && (_root.ENEMY13._y < _y)) {
_y = (_y - 4);
}
if ((locked == 14) && (_root.ENEMY14._y < _y)) {
_y = (_y - 4);
}
if ((locked == 15) && (_root.ENEMY15._y < _y)) {
_y = (_y - 4);
}
if ((locked == 16) && (_root.ENEMY16._y < _y)) {
_y = (_y - 4);
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocket2.gotoAndStop(50);
_root.rocket2._visible = false;
removeMovieClip(_root.rocket2);
}
Instance of Symbol 360 MovieClip "laser9" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x - 10);
_y = (_root.ship._y - 40);
power = 15;
lockon = 0;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 22);
}
if (_x > 400) {
_visible = false;
_root.removeMovieClip(this);
}
if (_x < 0) {
_visible = false;
_root.removeMovieClip(this);
}
if (_y < 0) {
_visible = false;
_root.removeMovieClip(this);
}
if (_y > 600) {
_visible = false;
_root.removeMovieClip(this);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser9._visible = false;
removeMovieClip(_root.laser9);
}
Instance of Symbol 363 MovieClip "laserBU1" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = _root.ship._y;
power = 3;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x + 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((30 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * acdc);
acdc = acdc + 0.2;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.laserBU1.gotoAndStop(50);
_root.laserBU1._visible = false;
removeMovieClip(_root.laserBU1);
}
Instance of Symbol 363 MovieClip "laserBU2" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = _root.ship._y;
power = 3;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x - 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((-30 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.laserBU2.gotoAndStop(50);
_root.laserBU2._visible = false;
removeMovieClip(_root.laserBU2);
}
Instance of Symbol 363 MovieClip "rocketLOCKED1" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x + 30;
self = 0;
acc = -7;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((20 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketlocked1.gotoAndStop(50);
_root.rocketlocked1._visible = false;
removeMovieClip(_root.rocketlocked1);
}
Instance of Symbol 363 MovieClip "rocketLOCKED2" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x - 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((-20 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketlocked2.gotoAndStop(50);
_root.rocketlocked2._visible = false;
removeMovieClip(_root.rocketlocked2);
}
Instance of Symbol 358 MovieClip "rocketPL" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = (_root.ship._y - 10);
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - 14);
_x = (_x - 3);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketPL.gotoAndStop(50);
_root.rocketPL._visible = false;
removeMovieClip(_root.rocketPL);
}
Instance of Symbol 358 MovieClip "rocketPL2" in Frame 14
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = (_root.ship._y - 30);
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - 14);
_x = (_x + 3);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketPL2.gotoAndStop(50);
_root.rocketPL2._visible = false;
removeMovieClip(_root.rocketPL2);
}
Instance of Symbol 376 MovieClip "laserpl" in Frame 14
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y + 40);
power = 7;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
_xscale = 45;
_rotation = 0;
RO = (Math.random() * 20) - (Math.random() * 20);
firstRO = true;
backro = false;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (firstRO == true)) {
_y = (_y - 7);
_rotation = (_rotation + RO);
_xscale = (_xscale - 12);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if ((_root.ship.pause != true) && (backRO == true)) {
_y = (_y - 7);
_rotation = (_rotation + RO);
_xscale = (_xscale + 12);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (_xscale <= -300) {
firstRO = false;
backRO = true;
}
if (_xscale >= 300) {
firstRO = true;
backRO = false;
}
if (_y < -30) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
this.LC._xscale = _xscale / 3;
this.LC._yscale = _xscale;
this.LA._xscale = _xscale / 3;
this.LA._yscale = _xscale;
_root.laserPL.gotoAndStop(50);
_root.laserPL._visible = false;
removeMovieClip(_root.laserPL);
}
Instance of Symbol 92 MovieClip "laserupgrade" in Frame 14
onClipEvent (load) {
_y = 0;
type = random(7);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
_alpha = 100;
die = 0;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type == 5) {
this.gotoAndStop(5);
}
if (type >= 6) {
this.gotoAndStop(6);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.weapon = 1;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.weapon = 2;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.weapon = 3;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.weapon = 4;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 5)) && (_visible == true)) {
_root.ship.weapon = 5;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type >= 6)) && (_visible == true)) {
_root.ship.weapon = 6;
_root.sound.play();
_visible = false;
removeMovieClip(this);
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 349 MovieClip "ENEMYfire" in Frame 14
onClipEvent (load) {
_x = _root.ENEMY._x;
_y = (_root.ENEMY._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire2" in Frame 14
onClipEvent (load) {
_x = _root.ENEMY2._x;
_y = (_root.ENEMY2._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire3" in Frame 14
onClipEvent (load) {
_x = _root.ENEMY3._x;
_y = (_root.ENEMY3._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire4" in Frame 14
onClipEvent (load) {
_rotation = _root.cannon._rotation;
_x = (_root.cannon._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire5" in Frame 14
onClipEvent (load) {
_rotation = _root.cannon2._rotation;
_x = (_root.cannon2._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon2._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire4" in Frame 14
onClipEvent (load) {
_rotation = _root.cannon7._rotation;
_x = (_root.cannon7._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon7._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYBEAM" in Frame 14
onClipEvent (load) {
_x = _root.ENEMY8._x;
_y = (_root.ENEMY8._y + 30);
power = 15;
_visible = true;
element = 1001;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
duplicateMovieClip (_root.burstor, "nullburst" + element, element);
}
if (element > 1500) {
element = 1001;
}
element = element + 1;
_root.ENEMYbeam._visible = false;
removeMovieClip(_root.ENEMYbeam);
}
Instance of Symbol 349 MovieClip "ENEMYfire10" in Frame 14
onClipEvent (load) {
_x = _root.ENEMY10._x;
_y = (_root.ENEMY10._y - 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire6" in Frame 14
onClipEvent (load) {
_x = _root.ENEMY6._x;
_y = (_root.ENEMY6._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 108 MovieClip "Health" in Frame 14
onClipEvent (load) {
_y = 0;
die = 0;
_alpha = 100;
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.Health = _root.ship.Health + 300;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 379 MovieClip "burstor" in Frame 14
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 379 MovieClip "burstor2" in Frame 14
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 379 MovieClip "burstor3" in Frame 14
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 349 MovieClip "minigun" in Frame 14
onClipEvent (load) {
_rotation = (_root.ENEMY11._rotation - 90);
_x = (_root.ENEMY11._x - (10 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.ENEMY11._y - (10 * Math.sin(_rotation * (Math.PI/180))));
power = 1;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((10 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((10 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY11._visible == false) {
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY11.Health <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "minigun2" in Frame 14
onClipEvent (load) {
_rotation = (_root.ENEMY12._rotation - 90);
_x = (_root.ENEMY12._x - (10 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.ENEMY12._y - (10 * Math.sin(_rotation * (Math.PI/180))));
power = 1;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((10 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((10 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY12._visible == false) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 92 MovieClip "Backupupgrade" in Frame 14
onClipEvent (load) {
_y = 0;
type = random(5);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
_alpha = 100;
die = 0;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type == 5) {
this.gotoAndStop(5);
}
if (type >= 6) {
this.gotoAndStop(6);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.BUp = 1;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.BUp = 2;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.BUp = 3;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.BUp = 4;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 380 MovieClip "bossblast" in Frame 14
onClipEvent (load) {
_x = _root.ENEMY14._x;
_y = _root.ENEMY14._y;
power = 5;
_rotation = (_root.ENEMY14._rotation - 90);
_visible = true;
element = 1001;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - (3 * Math.sin(_rotation * (Math.PI/180))));
_x = (_x - (3 * Math.cos(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
duplicateMovieClip (_root.burstor2, "nullburst" + element, element);
}
if (element > 1500) {
element = 1001;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
element = element + 1;
_root.bossblast._visible = false;
removeMovieClip(_root.bossblast);
}
Instance of Symbol 349 MovieClip "bossblastX" in Frame 14
onClipEvent (load) {
_rotation = _root.cannonZ._rotation;
_x = (_root.cannonZ._x - (60 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannonZ._y - (60 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
spinner = _root.ENEMY14.poopoff / 50;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
_y = (_y + 2);
_rotation = (_rotation + spinner);
}
if (_x > 400) {
_root.removeMovieClip(this);
_visible = false;
}
if (_x < 0) {
_root.removeMovieClip(this);
_visible = false;
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
_root.bossblastX._visible = false;
removeMovieClip(_root.bossblastX);
}
Instance of Symbol 349 MovieClip "bossblastX2" in Frame 14
onClipEvent (load) {
_rotation = _root.cannonZ2._rotation;
_x = (_root.cannonZ2._x - (60 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannonZ2._y - (60 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (_x > 400) {
_root.removeMovieClip(this);
_visible = false;
}
if (_x < 0) {
_root.removeMovieClip(this);
_visible = false;
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 380 MovieClip "bossblast2" in Frame 14
onClipEvent (load) {
_x = _root.ENEMY15._x;
_y = _root.ENEMY15._y;
power = 5;
_rotation = (_root.ENEMY15._rotation - 90);
_visible = true;
element = 1001;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - (3 * Math.sin(_rotation * (Math.PI/180))));
_x = (_x - (3 * Math.cos(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
duplicateMovieClip (_root.burstor3, "nullburst" + element, element);
}
if (element > 1500) {
element = 1001;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
element = element + 1;
_root.bossblast2._visible = false;
removeMovieClip(_root.bossblast2);
}
Instance of Symbol 349 MovieClip "bossblastX3" in Frame 14
onClipEvent (load) {
_rotation = _root.cannonZ3._rotation;
_x = (_root.cannonZ3._x - (60 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannonZ3._y - (60 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (_x > 400) {
_root.removeMovieClip(this);
_visible = false;
}
if (_x < 0) {
_root.removeMovieClip(this);
_visible = false;
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "bossblastXX" in Frame 14
onClipEvent (load) {
_rotation = _root.cannonZ._rotation;
_x = (_root.cannonZ._x - (60 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannonZ._y - (60 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
spinner = _root.ENEMY14.poopoff / 50;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
_y = (_y + 2);
_rotation = (_rotation - spinner);
}
if (_x > 400) {
_root.removeMovieClip(this);
_visible = false;
}
if (_x < 0) {
_root.removeMovieClip(this);
_visible = false;
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.bossblastX._visible = false;
removeMovieClip(_root.bossblastX);
}
Instance of Symbol 104 MovieClip "rocketupgrade" in Frame 14
onClipEvent (load) {
_y = 0;
_alpha = 100;
die = 0;
type = Math.round(Math.random() * 6);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type >= 5) {
this.gotoAndStop(5);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.rocket = 1;
_root.ship.rocketammoEP1 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.rocket = 2;
_root.ship.rocketammoEP2 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.rocket = 3;
_root.ship.rocketammoEP3 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.rocket = 4;
_root.ship.rocketammoEP4 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type >= 5)) && (_visible == true)) {
_root.ship.rocket = 5;
_root.ship.rocketammoEP5 = 10;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
removeMovieClip(_root.Health);
_root.Health._visible = false;
removeMovieClip(_root.laserupgrade);
_root.laserupgrade._visible = false;
removeMovieClip(_root.rocketupgrade);
_root.rocketupgrade._visible = false;
removeMovieClip(_root.backupupgrade);
_root.backupupgrade._visible = false;
}
Instance of Symbol 388 MovieClip "ENEMY" in Frame 14
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
this.guy.gotoAndStop(3);
}
Instance of Symbol 388 MovieClip "ENEMY2" in Frame 14
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire2, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
this.guy.gotoAndStop(3);
}
Instance of Symbol 388 MovieClip "ENEMY3" in Frame 14
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire3, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
this.guy.gotoAndStop(3);
}
Instance of Symbol 396 MovieClip "ENEMY4" in Frame 14
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 300;
AXE = 11 + (Math.random() * 23);
respawn = 130;
dying = 20;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (_root.ship.wave2 == true)) {
_y = (_y + axe);
firing = firing + 1;
element = element + 1;
axe = axe * 0.94;
}
if (axe <= 0.5) {
axe = 0;
}
if (element > 1555) {
element = 1001;
}
if (((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave2 == true)) {
duplicateMovieClip (_root.ENEMYfire4, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
_root.cannon._visible = true;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
_root.cannon._visible = false;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave2 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -60;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
AXE = 11 + (Math.random() * 13);
}
if (_root.ship.wave2 != true) {
respawn = 120;
}
this.guy.gotoAndStop(3);
_root.cannon._x = _x + 10;
_root.cannon._y = _y + 10;
}
Instance of Symbol 398 MovieClip "cannon" in Frame 14
onClipEvent (enterFrame) {
_rotation = (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
Instance of Symbol 396 MovieClip "ENEMY5" in Frame 14
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 300;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (((_root.ship.pause != true) && (_root.ship.wave2 == true)) or ((_root.ship.pause != true) && (_root.ship.wave3 == true))) {
_y = (_y + axe);
firing = firing + 1;
element = element + 1;
axe = axe * 0.94;
}
if (axe <= 0.5) {
axe = 0;
}
if (element > 1555) {
element = 1001;
}
if ((((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave2 == true)) or (((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true))) {
duplicateMovieClip (_root.ENEMYfire5, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
_root.cannon2._visible = true;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
_root.cannon2._visible = false;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if (((dead == true) && (_root.ship.wave2 == true)) or ((dead == true) && (_root.ship.wave3 == true))) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -60;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
AXE = 11 + (Math.random() * 13);
}
if ((_root.ship.wave3 != true) or (_root.ship.wave2 != true)) {
respawn = 120;
}
this.guy.gotoAndStop(3);
_root.cannon2._x = _x + 10;
_root.cannon2._y = _y + 10;
}
Instance of Symbol 398 MovieClip "cannon2" in Frame 14
onClipEvent (enterFrame) {
_rotation = (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
Instance of Symbol 406 MovieClip "ENEMY8" in Frame 14
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 2000;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 1);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.4);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.4);
}
if (((((_root.ship._y < (_y + 300)) && (firing > 70)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYBEAM, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 100;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave3 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
this.guy3.gotoAndStop(3);
}
Instance of Symbol 388 MovieClip "ENEMY10" in Frame 14
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYfire10, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = 900;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y < -100) && (_root.ship.wave3 == true)) {
_y = 900;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
this.guy.gotoAndStop(3);
}
Instance of Symbol 388 MovieClip "ENEMY6" in Frame 14
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYfire6, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave3 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
this.guy.gotoAndStop(3);
}
Instance of Symbol 416 MovieClip "ENEMY12" in Frame 14
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + Fly);
fly = fly - 0.1;
firing = firing + 1;
element = element + 1;
}
if (fly <= 0.5) {
_rotation = ((Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180)) + 90);
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if ((((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) && (_visible == true)) {
duplicateMovieClip (_root.minigun2, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
dead = false;
dying = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -10;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
fly = 4 + (Math.random() * 6);
_root.ship.waveC = _root.ship.waveC + 1;
_y = -10;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
fly = 4 + (Math.random() * 6);
this.gotoAndStop(1);
}
if ((((_y < -10) && (_root.ship.wave1 == true)) && (fly <= 0)) && (HEalth > 0)) {
_y = -10;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
fly = 4 + (Math.random() * 6);
this.gotoAndStop(1);
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
if (Health > 0) {
_visible = true;
}
this.guy.gotoAndStop(4);
_root.HP = Health;
_root.CHE = _visible;
}
Instance of Symbol 467 MovieClip "meteor" in Frame 14
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1400) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor2" in Frame 14
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1000) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor4" in Frame 14
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1000) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor5" in Frame 14
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1900) {
_y = -500;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 512 MovieClip "stat" in Frame 14
onClipEvent (load) {
this.swapDepths(9999);
}
Instance of Symbol 558 MovieClip "music" in Frame 14
onClipEvent (load) {
this.swapDepths(99999);
}
Frame 15
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 16
stop();
_quality = "High";
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 242 MovieClip in Frame 16
onClipEvent (load) {
this.gotoAndPlay(1);
}
Instance of Symbol 255 MovieClip "missionstarted" in Frame 16
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 17
stop();
_quality = "Low";
Instance of Symbol 273 MovieClip "BG" in Frame 17
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 154 MovieClip "stars" in Frame 17
onClipEvent (enterFrame) {
if ((_y > 200) && (_root.ship.acce > 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
if ((_y < -1000) && (_root.ship.acce <= 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = 200;
}
}
Instance of Symbol 154 MovieClip "stars2" in Frame 17
onClipEvent (enterFrame) {
if ((_y > 200) && (_root.ship.acce > 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
if ((_y < -1000) && (_root.ship.acce <= 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = 200;
}
}
Instance of Symbol 154 MovieClip "stars3" in Frame 17
onClipEvent (enterFrame) {
if ((_y > 200) && (_root.ship.acce > 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
if ((_y < -1000) && (_root.ship.acce <= 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = 200;
}
}
Instance of Symbol 275 MovieClip in Frame 17
onClipEvent (load) {
_root.ship.pause = true;
triggered = false;
startup = 0;
acc = 8;
}
onClipEvent (enterFrame) {
if (startup > 100) {
triggered = true;
}
if ((triggered != true) && (dead != true)) {
startup = startup + 1;
}
if ((triggered == true) && (dead != true)) {
_y = (_y + 10);
_root.ship._y = _root.ship._y - acc;
acc = acc * 0.94;
_root.ship.fly = 100;
}
if (_y > 900) {
_root.ship.pause = false;
_root.ship.wave1 = true;
triggered = false;
dead = true;
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 324 MovieClip "ENEMY14" in Frame 17
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 200000 /* 0x030D40 */;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
power = 3;
startbattle = 0;
element = 1500;
_root.gigacannon._rotation = 0;
_root.gigacannon._rotation = 180;
_visible = false;
cannonZarea = _root.romulus._x - _root.gigacannon._x;
cannonZyarea = _root.romulus._y - _root.gigacannon._y;
cannonZarea2 = _root.romulus._x - _root.gigacannon2._x;
cannonZyarea2 = _root.romulus._y - _root.gigacannon2._y;
}
onClipEvent (enterFrame) {
if (((_root.ship.wave4 == true) && (Health <= 0)) && (of != true)) {
_root.romulus._visible = true;
_visible = true;
battle = true;
Health = HP;
of = true;
}
if (battle == true) {
startbattle = startbattle + 1;
}
if (startbattle > 500) {
_root.romulus._y = _root.romulus._y + 3;
}
if (_y > 130) {
_root.romulus.cannon.play();
_root.romulus.cannon2.play();
startbattle = 0;
battle = false;
}
if ((_root.ship.wave4 == true) && (Health <= 0)) {
deathSEQ = deathSEQ + 1;
_rotation = 0;
_root.gigacannon._visible = false;
_root.gigacannon2._visible = false;
}
if ((deathSEQ > 5) && (deathSEQ < 8)) {
this.gotoAndPlay("death");
}
if ((deathSEQ > 50) && (deathSEQ < 54)) {
_root.romulus.play();
}
if (deathSEQ > 173) {
_root.ship.bossdeath = 5;
}
if (((_root.ship.wave4 == true) && (Health > 0)) && (_y > 65)) {
_rotation = (90 + (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180)));
firing = firing + 1;
spin = 90 - (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
if ((((((_root.ship._y < (_y + 400)) && (firing > 60)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave4 == true)) && (multiple != true)) {
duplicateMovieClip (_root.Bossblast, "nullattack" + element, element);
multiple = true;
}
if (multiple == true) {
revert = revert + 1;
}
if (revert > 17) {
multiple = false;
revert = 0;
reverting = reverting + 1;
}
if (reverting > 0) {
firing = 0;
revert = 0;
reverting = 0;
multiple = false;
}
if (element > 2000) {
element = 1500;
}
if (((_root.romulus.cannon.laser.beam.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((6 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((6 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_root.ship._x = _root.ship._x + 10;
}
if (((_root.romulus.cannon2.laser.beam.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((6 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((6 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_root.ship._x = _root.ship._x - 10;
}
if (_root.ship.wave4 == true) {
startattack = startattack + 1;
}
if (startattack > 150) {
_root.gigacannon._rotation = _root.gigacannon._rotation + 2;
assaultGC = true;
}
if (assaultGC == true) {
attackGC = attackGC + 1;
}
if (((attackGC > 8) && (_root.gigacannon._rotation > -1)) && (_root.gigacannon._rotation > 10)) {
duplicateMovieClip (_root.ROblast, "nullRO" + element, element);
_root.gigacannon.RVR = _root.gigacannon.RVR + 0.2;
attackGC = 0;
}
if (_root.gigacannon._rotation < 0) {
revertGC = true;
}
if (((_root.gigacannon._rotation >= 0) && (assaultGC == true)) && (revertGC == true)) {
_root.gigacannon._rotation = 0;
startattack = 0;
assaultGC = false;
attackGC = 0;
_root.gigacannon.RVR = 0;
revertGC = false;
}
if (_root.ship.wave4 == true) {
startattack2 = startattack2 + 1;
}
if (startattack2 > 151) {
_root.gigacannon2._rotation = _root.gigacannon2._rotation - 2;
assaultGC2 = true;
}
if (assaultGC2 == true) {
attackGC2 = attackGC2 + 1;
}
if (((attackGC2 > 8) && (_root.gigacannon2._rotation < 170)) && (_root.gigacannon2._rotation > 10)) {
duplicateMovieClip (_root.ROblast2, "nullRO" + element, element);
_root.gigacannon2.RVR2 = _root.gigacannon2.RVR2 + 0.2;
attackGC2 = 0;
}
if (_root.gigacannon2._rotation < -160) {
revertGC2 = true;
}
if (((_root.gigacannon2._rotation <= 180) && (assaultGC2 == true)) && (revertGC2 == true)) {
_root.gigacannon2._rotation = 180;
startattack2 = 0;
assaultGC2 = false;
attackGC2 = 0;
_root.gigacannon2.RVR2 = 0;
revertGC2 = false;
}
_root.gigacannon._x = _root.romulus._x - CannonZarea;
_root.gigacannon._y = _root.romulus._y - CannonZyarea;
_root.gigacannon2._x = _root.romulus._x - CannonZarea2;
_root.gigacannon2._y = _root.romulus._y - CannonZyarea2;
this.guy.gore.gotoAndStop(4);
_root.romulus.guy.gore.gotoAndStop(2);
YCO = _y - (100 * Math.sin(spin));
XCO = _x - (100 * Math.cos(spin));
_root.YM = YCO;
_root.XM = XCO;
_root.dor = spin;
element = element + 1;
_root.bhp = Health;
_y = (_root.romulus._y + 210);
_x = (_root.romulus._x + 230);
this.guy.gore.gotoAndStop(4);
}
Instance of Symbol 334 MovieClip "ship" in Frame 17
onClipEvent (load) {
motion = 5;
helix = 1;
Health = 710;
Lquota = 200 + (Math.random() * 260);
_root.ammo = 0;
bossdeath = 0;
fly = 0;
flyR = 0;
revert = 0;
flyL = 0;
rocketammo = 0;
Rquota = 200 + (Math.random() * 260);
_root.difficulty = 1.6;
_root.score = 0;
_root.kills = 0;
_root.damage = 0;
Hquota = (3000 + (Math.random() * 1460)) + (100 * _root.difficulty);
acce = 1;
}
onClipEvent (enterFrame) {
if (((key.IsDown(38) && (pause != true)) && (_y > 100)) && (_root.KB != true)) {
_y = (_y - motion);
fly = 100;
}
if (((key.IsDown(40) && (pause != true)) && (_y < 520)) && (_root.KB != true)) {
_y = (_y + motion);
REVERT = 100;
}
if (((key.IsDown(37) && (pause != true)) && (_x > 30)) && (_root.KB != true)) {
_x = (_x - motion);
flight = true;
_rotation = -10;
flyL = 100;
}
if (((key.IsDown(39) && (pause != true)) && (_x < 370)) && (_root.KB != true)) {
_x = (_x + motion);
flight = true;
_rotation = 10;
flyR = 100;
}
if (_root.KB == true) {
startDrag ("_root.ORG", true);
}
if ((_root.KB == true) && (_x >= 370)) {
_x = 370;
}
if ((_root.KB == true) && (_x <= 30)) {
_x = 30;
}
if ((_root.KB == true) && (_y <= 100)) {
_y = 100;
}
if ((_root.KB == true) && (_y >= 520)) {
_y = 520;
}
if ((((_root.ORG._x > (_x + 20)) && (_root.KB == true)) && (_x < 370)) && (pause != true)) {
_x = (_x + motion);
flyR = 100;
_rotation = 10;
}
if ((((_root.ORG._x < (_x - 20)) && (_root.KB == true)) && (_x > 30)) && (pause != true)) {
_x = (_x - motion);
flyL = 100;
_rotation = -10;
}
if ((((_root.ORG._y > (_y + 20)) && (_root.KB == true)) && (_y < 520)) && (pause != true)) {
_y = (_y + motion);
revert = 100;
}
if ((((_root.ORG._y < (_y - 20)) && (_root.KB == true)) && (_y > 100)) && (pause != true)) {
_y = (_y - motion);
fly = 100;
}
if ((_x < (_root.ORG._x + 40)) && (_x > (_root.ORG._x - 40))) {
_rotation = 0;
}
if (pause != true) {
fly = fly - 1;
flyR = flyR - 2;
flyL = flyL - 2;
revert = revert - 3;
reload = reload + 1;
_root.BG._y = _root.BG._y + 0.02;
}
if (((key.IsDown(83) && (pause != true)) && (weapon <= 1)) && (firedelay == false)) {
duplicateMovieClip (_root.laser1, "nulllaser" + element, element);
firedelay = true;
backons = true;
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 2)) && (firedelay == false)) {
duplicateMovieClip (_root.laser2, "nulllaser" + element, element);
firedelay = true;
backons = true;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 3)) && (firedelay == false)) && (helix == 1)) {
duplicateMovieClip (_root.laser3, "nulllaser" + element, element);
firedelay = true;
backons = true;
helix = 2;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 3)) && (firedelay == false)) && (helix == 2)) {
duplicateMovieClip (_root.laser4, "nulllaser" + element, element);
firedelay = true;
helix = 1;
backons = true;
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 4)) && (firedelay == false)) {
duplicateMovieClip (_root.laser5, "nulllaser" + element, element);
firedelay = true;
backon = true;
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 5)) && (firedelay == false)) {
duplicateMovieClip (_root.laser9, "nulllaser" + element, element);
firedelay = true;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 6)) && (firedelay == false)) && (mega != true)) {
duplicateMovieClip (_root.laser11, "nulllaser" + element, element);
mega = true;
}
if (mega == true) {
bu = bu + 1;
}
if ((BU > 1) && (BU < 3)) {
duplicateMovieClip (_root.laserBU1, "nulllaser" + element, element);
}
if ((BU > 2) && (BU < 4)) {
duplicateMovieClip (_root.laserBU2, "nulllaser" + element, element);
}
if (BU > 18) {
BU = 0;
mega = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket <= 1)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.Rocket, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP1 = rocketammoEP1 - 1;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 2)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.Rocket2, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP2 = rocketammoEP2 - 1;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 3)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketLOCKED1, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP3 = rocketammoEP3 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 1) && (rocket == 3)) {
duplicateMovieClip (_root.RocketLOCKED2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 4)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketDU1, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP4 = rocketammoEP4 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 1) && (rocket == 4)) {
duplicateMovieClip (_root.RocketDU2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 5)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketPL, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP5 = rocketammoEP5 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 0) && (rocket == 5)) {
duplicateMovieClip (_root.rocketPL2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
firethird = true;
}
if (firethird == true) {
rebound2 = rebound2 + 1;
}
if ((rebound2 > 0) && (rocket == 5)) {
duplicateMovieClip (_root.laserPL, "nulllaser" + element, element);
rebound2 = 0;
firesecond = false;
firethird = false;
}
if (rocket <= 1) {
rocketammo = rocketammoEP1;
RAfull = 20;
}
if (rocket == 2) {
rocketammo = rocketammoEP2;
RAfull = 20;
}
if (rocket == 3) {
rocketammo = rocketammoEP3;
RAfull = 20;
}
if (rocket == 4) {
rocketammo = rocketammoEP4;
RAfull = 20;
}
if (rocket >= 5) {
rocketammo = rocketammoEP5;
RAfull = 10;
}
if ((backons == true) && (pause != true)) {
BUKS = BUKS + 1;
}
if ((BUKS > 2) && (BUP == 1)) {
duplicateMovieClip (_root.backup, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 2)) {
duplicateMovieClip (_root.backup2, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 3)) {
duplicateMovieClip (_root.backup3, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 4)) {
duplicateMovieClip (_root.backup4, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((releaseL > Lquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.laserupgrade, "nullless" + element, element);
Lquota = 300 + (Math.random() * 460);
releasel = 0;
}
if ((releaseR > Rquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.rocketupgrade, "nullless" + element, element);
Rquota = 300 + (Math.random() * 460);
releaseR = 0;
}
if ((releaseH > Hquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.HEalth, "nullless" + element, element);
Hquota = (3000 + (Math.random() * 1460)) + (100 * _root.difficulty);
releaseH = 0;
}
if ((releaseB > Bquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.backupupgrade, "nullless" + element, element);
Bquota = 300 + (Math.random() * 460);
releaseB = 0;
}
if (pause != true) {
releaseR = releaseR + 1;
releaseL = releaseL + 1;
releaseH = releaseH + 1;
releaseB = releaseB + 1;
}
if (reload > 20) {
reload = 20;
}
if (element > 999) {
element = 0;
}
if (weapon <= 1) {
_root.stat.laser.gotoAndStop(1);
}
if (weapon == 2) {
_root.stat.laser.gotoAndStop(2);
}
if (weapon == 3) {
_root.stat.laser.gotoAndStop(3);
}
if (weapon == 4) {
_root.stat.laser.gotoAndStop(4);
}
if (weapon == 5) {
_root.stat.laser.gotoAndStop(5);
}
if (weapon >= 6) {
_root.stat.laser.gotoAndStop(6);
}
if (rocket <= 0) {
_root.stat.missile.gotoAndStop(6);
}
if (rocket == 1) {
_root.stat.missile.gotoAndStop(1);
}
if (rocket == 2) {
_root.stat.missile.gotoAndStop(2);
}
if (rocket == 3) {
_root.stat.missile.gotoAndStop(3);
}
if (rocket == 4) {
_root.stat.missile.gotoAndStop(4);
}
if (rocket == 5) {
_root.stat.missile.gotoAndStop(5);
}
if (Health > 710) {
Health = 710;
}
if (Health <= 0) {
death = death + 1;
Health = 0;
firedelay = true;
_root.stat.bar._visible = false;
}
if ((death > 20) && (death < 24)) {
motion = 0;
this.gotoAndPlay("dead");
}
if (death > 34) {
_visible = false;
}
if ((death > 70) && (death < 74)) {
_root.music.gotoAndPlay("gameover");
pause = true;
}
if ((wave1 == true) && (order <= 0)) {
wave2 = false;
wave3 = false;
wave4 = false;
order = 1;
}
if (((waveC > 14) && (wave1 == true)) && (order == 1)) {
wave1 = false;
wave3 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 2;
}
if (((waveC > 24) && (wave3 == true)) && (order == 2)) {
wave2 = false;
wave3 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 3;
}
if (((waveC > 18) && (wave1 == true)) && (order == 3)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 4;
}
if (((waveC > 15) && (wave3 == true)) && (order == 4)) {
wave2 = false;
wave3 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 5;
}
if (((waveC > 12) && (wave1 == true)) && (order == 5)) {
wave1 = false;
wave3 = false;
wave4 = false;
wave2 = true;
waveC = 0;
order = 6;
}
if (((waveC > 8) && (wave2 == true)) && (order == 6)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 7;
}
if (((waveC > 8) && (wave3 == true)) && (order == 7)) {
wave3 = false;
wave2 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 8;
}
if (((waveC > 8) && (wave1 == true)) && (order == 8)) {
wave1 = false;
wave3 = false;
wave4 = false;
wave2 = true;
waveC = 0;
order = 9;
}
if (((waveC > 8) && (wave2 == true)) && (order == 9)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 10;
}
if (((waveC > 3) && (wave3 == true)) && (order == 10)) {
wave3 = false;
wave2 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 11;
}
if (((waveC > 8) && (wave1 == true)) && (order == 11)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 12;
}
if (((waveC > 8) && (wave3 == true)) && (order == 12)) {
wave1 = false;
wave2 = false;
wave3 = false;
wave2 = true;
waveC = 0;
order = 13;
}
if (((waveC > 8) && (wave2 == true)) && (order == 13)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 14;
}
if (((waveC > 2) && (wave3 == true)) && (order == 14)) {
wave3 = false;
wave2 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 15;
}
if (((waveC > 12) && (wave1 == true)) && (order == 15)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 16;
}
if (((waveC > 15) && (wave3 == true)) && (order == 16)) {
wave1 = false;
wave3 = false;
wave2 = false;
wave4 = true;
waveC = 0;
_root.music.gotoAndPlay("boss");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
_root.ENEMY3.Health = 0;
_root.ENEMY4.Health = 0;
_root.ENEMY5.Health = 0;
_root.ENEMY6.Health = 0;
_root.ENEMY7.Health = 0;
_root.ENEMY8.Health = 0;
_root.ENEMY9.Health = 0;
_root.ENEMY10.Health = 0;
_root.ENEMY11.Health = 0;
_root.ENEMY12.Health = 0;
_root.ENEMY13.Health = 0;
startboss = true;
}
if (((bossdeath > 1) && (wave4 == true)) && (order == 16)) {
wave3 = false;
wave4 = false;
wave2 = false;
wave1 = false;
waveC = 0;
order = 10;
_root.music.gotoAndPlay("victory");
}
if (_root.OAS4 < _root.score) {
_root.OAS4 = _root.score;
}
if (startboss == true) {
dieoffenemies = dieoffenemies + 1;
}
if (dieoffenemies > 50) {
_root.ENEMY._visible = false;
_root.ENEMY2._visible = false;
_root.ENEMY3._visible = false;
_root.ENEMY4._visible = false;
_root.ENEMY5._visible = false;
_root.ENEMY6._visible = false;
_root.ENEMY7._visible = false;
_root.ENEMY8._visible = false;
_root.ENEMY9._visible = false;
_root.ENEMY10._visible = false;
_root.ENEMY11._visible = false;
_root.ENEMY12._visible = false;
_root.ENEMY13._visible = false;
_root.ENEMY._y = -500;
_root.ENEMY2._y = -500;
_root.ENEMY3._y = -500;
_root.ENEMY4._y = -500;
_root.ENEMY5._y = -500;
_root.ENEMY6._y = -500;
_root.ENEMY7._y = -500;
_root.ENEMY8._y = -500;
_root.ENEMY9._y = -500;
_root.ENEMY10._y = -500;
_root.ENEMY11._y = -500;
_root.ENEMY12._y = -500;
_root.ENEMY13._y = -500;
_root.removeMovieClip(_root.ENEMY);
_root.removeMovieClip(_root.ENEMY2);
_root.removeMovieClip(_root.ENEMY3);
_root.removeMovieClip(_root.ENEMY4);
_root.removeMovieClip(_root.ENEMY5);
_root.removeMovieClip(_root.ENEMY6);
_root.removeMovieClip(_root.ENEMY7);
_root.removeMovieClip(_root.ENEMY8);
_root.removeMovieClip(_root.ENEMY9);
_root.removeMovieClip(_root.ENEMY10);
_root.removeMovieClip(_root.ENEMY11);
_root.removeMovieClip(_root.ENEMY12);
_root.removeMovieClip(_root.ENEMY13);
}
if (((bossbattle == true) && (acce <= 360)) && (bossdeath <= 0)) {
acce = acce * 1.15;
}
if (bossdeath > 0) {
setup = setup + 1;
acce = acce * 0.9;
}
if (setup < 10) {
scoreset = _root.score;
}
if (setup > 10) {
_root.score = scoreset;
}
if (((EXPL > 10) && (EXP < 20)) && (bonus != true)) {
_root.stuff.gotoAndPlay("explosive");
bonus = true;
}
if ((EXPL >= 20) && (bonus != true)) {
_root.stuff.gotoAndPlay("massacre");
bonus = true;
}
if ((bonus = true)) {
runout = runout + 1;
}
if (runout > 40) {
bonus = false;
EXPL = 0;
runout = 0;
}
if (expl <= 0) {
expl = 0;
}
if (_root.score >= 400000) {
Srank = 5;
}
if ((_root.score < 400000) && (_root.score >= 350000)) {
Srank = 4;
}
if ((_root.score < 350000) && (_root.score >= 240000)) {
Srank = 3;
}
if ((_root.score < 240000) && (_root.score >= 160000)) {
Srank = 2;
}
if (_root.score < 160000) {
Srank = 1;
}
if (_root.kills >= 140) {
Krank = 5;
}
if ((_root.kills < 140) && (_root.kills >= 115)) {
Krank = 4;
}
if ((_root.kills < 115) && (_root.kills >= 65)) {
Krank = 3;
}
if ((_root.kills < 65) && (_root.kills >= 25)) {
Krank = 2;
}
if (_root.kills < 25) {
Krank = 1;
}
if (_root.damage <= 290) {
Drank = 5;
}
if ((_root.damage > 290) && (_root.damage <= 340)) {
Drank = 4;
}
if ((_root.damage > 340) && (_root.damage <= 490)) {
Drank = 3;
}
if ((_root.damage > 490) && (_root.damage <= 590)) {
Drank = 2;
}
if (_root.damage > 590) {
Drank = 1;
}
if (Srank == 1) {
_root.music.stat.Srank.gotoAndStop(1);
}
if (Srank == 2) {
_root.music.stat.Srank.gotoAndStop(2);
}
if (Srank == 3) {
_root.music.stat.Srank.gotoAndStop(3);
}
if (Srank == 4) {
_root.music.stat.Srank.gotoAndStop(4);
}
if (Srank == 5) {
_root.music.stat.Srank.gotoAndStop(5);
}
if (Drank == 1) {
_root.music.stat.Drank.gotoAndStop(1);
}
if (Drank == 2) {
_root.music.stat.Drank.gotoAndStop(2);
}
if (Drank == 3) {
_root.music.stat.Drank.gotoAndStop(3);
}
if (Drank == 4) {
_root.music.stat.Drank.gotoAndStop(4);
}
if (Drank == 5) {
_root.music.stat.Drank.gotoAndStop(5);
}
if (Krank == 1) {
_root.music.stat.Krank.gotoAndStop(1);
}
if (Krank == 2) {
_root.music.stat.Krank.gotoAndStop(2);
}
if (Krank == 3) {
_root.music.stat.Krank.gotoAndStop(3);
}
if (Krank == 4) {
_root.music.stat.Krank.gotoAndStop(4);
}
if (Krank == 5) {
_root.music.stat.Krank.gotoAndStop(5);
}
if (overall >= 13) {
_root.music.stat.OArank.gotoAndStop(5);
}
if ((overall < 13) && (overall >= 9)) {
_root.music.stat.OArank.gotoAndStop(4);
}
if ((overall < 9) && (overall >= 5)) {
_root.music.stat.OArank.gotoAndStop(3);
}
if ((overall < 5) && (overall >= 2)) {
_root.music.stat.OArank.gotoAndStop(2);
}
if (overall < 2) {
_root.music.stat.OArank.gotoAndStop(1);
}
if (chain <= 0) {
chain = 0;
_root.stat.chains._visible = false;
_root.stat.chains._alpha = 100;
alphaage = false;
}
if (chain > 0) {
eliminate = eliminate + 1;
}
if (eliminate > 100) {
alphaage = true;
eliminate = 0;
}
if (alphaage == true) {
_root.stat.chains._alpha = _root.stat.chains._alpha - 3;
}
if (_root.stat.chains._alpha < 5) {
chain = 0;
}
if ((pause != true) && (_root.stat.chains._visible == false)) {
chain = chain - 0.1;
}
if (pause != true) {
_root.stat.chains.chain = Math.round(chain);
rechain = rechain + 1;
}
if (chain > 1) {
_root.stat.chains._visible = true;
}
if (acce > 100) {
fly = 100;
}
Overall = (Srank + Drank) + Krank;
_root.music.stat.scores = _root.score;
_root.music.stat.damages = _root.damage;
_root.music.stat.killss = _root.kills;
_root.stars._y = _root.stars._y + 0.5;
_root.stars2._y = _root.stars2._y + 0.5;
_root.stars3._y = _root.stars3._y + 0.5;
_root.stars._y = _root.stars._y + (acce / 10);
_root.stars2._y = _root.stars2._y + (acce / 10);
_root.stars3._y = _root.stars3._y + (acce / 10);
_root.stat.PER = Math.round(Health / 7.1);
_root.stat.bar._width = Health / 4;
this.jetB._alpha = revert;
this.jetB2._alpha = revert;
this.jet._alpha = fly;
this.jetR._alpha = flyR;
this.jetL._alpha = flyL;
element = element + 1;
_root.stat.RFammo = RAfull;
_root.stat.scores = _root.score;
_root.stat.ammo = rocketammo;
_root.stuff._x = _x - 40;
_root.stuff._y = _y;
EXPL = EXPL - 0.05;
}
onClipEvent (keyUp) {
if ((flight == true) && (_root.KB != true)) {
_rotation = 0;
}
if (Health > 0) {
firedelay = false;
}
}
onClipEvent (mouseDown) {
if ((pause != true) && (weapon <= 1)) {
duplicateMovieClip (_root.laser1, "nulllaser" + element, element);
backons = true;
}
if ((pause != true) && (weapon == 2)) {
duplicateMovieClip (_root.laser2, "nulllaser" + element, element);
backons = true;
}
if (((pause != true) && (weapon == 3)) && (helix == 1)) {
duplicateMovieClip (_root.laser3, "nulllaser" + element, element);
backons = true;
helix = 2;
}
if (((pause != true) && (weapon == 3)) && (helix == 2)) {
duplicateMovieClip (_root.laser4, "nulllaser" + element, element);
helix = 1;
backons = true;
}
if ((pause != true) && (weapon == 4)) {
duplicateMovieClip (_root.laser5, "nulllaser" + element, element);
backon = true;
}
if ((pause != true) && (weapon == 5)) {
duplicateMovieClip (_root.laser9, "nulllaser" + element, element);
}
if (scatter > 18) {
scatter = 0;
burst = false;
}
if (((pause != true) && (weapon == 6)) && (mega != true)) {
duplicateMovieClip (_root.laser11, "nulllaser" + element, element);
mega = true;
}
}
Instance of Symbol 336 MovieClip "ORG" in Frame 17
onClipEvent (enterFrame) {
_visible = false;
}
Instance of Symbol 347 MovieClip "laser1" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 20;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "laser2" in Frame 17
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 16;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser2._visible = false;
removeMovieClip(_root.laser2);
}
Instance of Symbol 351 MovieClip "rocket" in Frame 17
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
self = 0;
_rotation = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocket.gotoAndStop(50);
_root.rocket._visible = false;
removeMovieClip(_root.rocket);
}
Instance of Symbol 349 MovieClip "laser3" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x + 15);
_y = (_root.ship._y - 30);
power = 15;
lockon = 0;
_visible = true;
bizzare = _root.ship._x + 15;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((40 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser3._visible = false;
removeMovieClip(_root.laser3);
}
Instance of Symbol 349 MovieClip "laser4" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x - 15);
_y = (_root.ship._y - 30);
power = 15;
lockon = 0;
_visible = true;
bizzare = _root.ship._x - 15;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((-40 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser4._visible = false;
removeMovieClip(_root.laser4);
}
Instance of Symbol 356 MovieClip "laser5" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 30;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser5._visible = false;
removeMovieClip(_root.laser5);
}
Instance of Symbol 351 MovieClip "rocketDU1" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x + 20);
bizzare = _root.ship._x + 20;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
_rotation = 0;
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
_x = ((30 * Math.sin(_y / 60)) + bizzare);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if ((timer > (delay - 2)) && (timer <= delay)) {
_root.sound.gotoAndPlay("rocket");
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketDU1.gotoAndStop(50);
_root.rocketDU1._visible = false;
removeMovieClip(_root.rocketDU1);
}
Instance of Symbol 351 MovieClip "rocketDU2" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x - 20);
bizzare = _root.ship._x - 20;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
self = 0;
_rotation = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
_x = ((-30 * Math.sin(_y / 70)) + bizzare);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if ((timer > (delay - 2)) && (timer <= delay)) {
_root.sound.gotoAndPlay("rocket");
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketDU2.gotoAndStop(50);
_root.rocketDU2._visible = false;
removeMovieClip(_root.rocketDU2);
}
Instance of Symbol 349 MovieClip "laser11" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 15;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser11._visible = false;
removeMovieClip(_root.laser11);
}
Instance of Symbol 347 MovieClip "backup3" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x + 19);
_y = (_root.ship._y - 30);
power = 4;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.backup3._visible = false;
removeMovieClip(_root.backup3);
}
Instance of Symbol 349 MovieClip "backup" in Frame 17
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 6;
lockon = 0;
_visible = true;
bizzare = _root.ship._x;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((-20 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.backup._visible = false;
removeMovieClip(_root.backup);
}
Instance of Symbol 347 MovieClip "backup2" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x + 19);
_y = (_root.ship._y + 30);
power = 15;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 560) {
removeMovieClip(this);
this._visible = false;
}
_root.backup2._visible = false;
removeMovieClip(_root.backup2);
}
Instance of Symbol 349 MovieClip "backup4" in Frame 17
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 6;
death = 0;
lockon = 0;
_visible = true;
_rotation = 0;
_alpha = 100;
Ymotion = 10;
MM = (Math.random() * 2) - (Math.random() * 2);
are = _root.ship._x + 10;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - Ymotion);
_x = (_x + Xmotion);
_rotation = (_rotation + 3);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
Ymotion = (-Math.random()) * 15;
Xmotion = (Math.random() * 15) - (Math.random() * 15);
}
if (_y > 500) {
Ymotion = Math.random() * 15;
Xmotion = (Math.random() * 15) - (Math.random() * 15);
}
if (_x < 40) {
Xmotion = Math.random() * 15;
}
if (_x > 370) {
Xmotion = (-Math.random()) * 15;
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (death > 360) {
removeMovieClip(this);
this._visible = false;
}
death = death + 1;
_root.backup4._visible = false;
removeMovieClip(_root.backup4);
}
Instance of Symbol 358 MovieClip "rocket2" in Frame 17
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - YMOVE);
_x = (_x - XMOVE);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
_rotation = (_rotation + 3);
}
if ((((((_root.ENEMY._y > (_y - 200)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (_root.ENEMY.Health > 0)) {
locked = 1;
}
if ((((((_root.ENEMY2._y > (_y - 200)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 120))) && (_root.ENEMY2._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY2.Health > 0)) {
locked = 2;
}
if ((((((_root.ENEMY3._y > (_y - 200)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 120))) && (_root.ENEMY3._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY3.Health > 0)) {
locked = 3;
}
if ((((((_root.ENEMY4._y > (_y - 200)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 120))) && (_root.ENEMY4._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY4.Health > 0)) {
locked = 4;
}
if ((((((_root.ENEMY5._y > (_y - 200)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 120))) && (_root.ENEMY5._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY5.Health > 0)) {
locked = 5;
}
if ((((((_root.ENEMY6._y > (_y - 200)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 120))) && (_root.ENEMY6._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY6.Health > 0)) {
locked = 6;
}
if ((((((_root.ENEMY7._y > (_y - 200)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 120))) && (_root.ENEMY7._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY7.Health > 0)) {
locked = 7;
}
if ((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 120))) && (_root.ENEMY8._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY8.Health > 0)) {
locked = 8;
}
if ((((((_root.ENEMY9._y > (_y - 200)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 120))) && (_root.ENEMY9._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY9.Health > 0)) {
locked = 9;
}
if ((((((_root.ENEMY10._y > (_y - 200)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 120))) && (_root.ENEMY10._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY10.Health > 0)) {
locked = 10;
}
if ((((((_root.ENEMY11._y > (_y - 200)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 120))) && (_root.ENEMY11._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY11.Health > 0)) {
locked = 11;
}
if ((((((_root.ENEMY12._y > (_y - 200)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 120))) && (_root.ENEMY12._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY12.Health > 0)) {
locked = 12;
}
if ((((((_root.ENEMY14._y > (_y - 200)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 120))) && (_root.ENEMY14._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY14.Health > 0)) {
locked = 14;
}
if ((((((_root.ENEMY15._y > (_y - 200)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 120))) && (_root.ENEMY15._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY15.Health > 0)) {
locked = 15;
}
if ((((((_root.ENEMY16._y > (_y - 200)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 120))) && (_root.ENEMY16._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY16.Health > 0)) {
locked = 16;
}
if ((locked == 1) && (_root.ENEMY._x > _x)) {
_x = (_x + 4);
}
if ((locked == 2) && (_root.ENEMY2._x > _x)) {
_x = (_x + 4);
}
if ((locked == 3) && (_root.ENEMY3._x > _x)) {
_x = (_x + 4);
}
if ((locked == 4) && (_root.ENEMY4._x > _x)) {
_x = (_x + 4);
}
if ((locked == 5) && (_root.ENEMY5._x > _x)) {
_x = (_x + 4);
}
if ((locked == 6) && (_root.ENEMY6._x > _x)) {
_x = (_x + 4);
}
if ((locked == 7) && (_root.ENEMY7._x > _x)) {
_x = (_x + 4);
}
if ((locked == 8) && (_root.ENEMY8._x > _x)) {
_x = (_x + 4);
}
if ((locked == 9) && (_root.ENEMY9._x > _x)) {
_x = (_x + 4);
}
if ((locked == 10) && (_root.ENEMY10._x > _x)) {
_x = (_x + 4);
}
if ((locked == 11) && (_root.ENEMY11._x > _x)) {
_x = (_x + 4);
}
if ((locked == 12) && (_root.ENEMY12._x > _x)) {
_x = (_x + 4);
}
if ((locked == 13) && (_root.ENEMY13._x > _x)) {
_x = (_x + 4);
}
if ((locked == 14) && (_root.ENEMY14._x > _x)) {
_x = (_x + 4);
}
if ((locked == 15) && (_root.ENEMY15._x > _x)) {
_x = (_x + 4);
}
if ((locked == 16) && (_root.ENEMY16._x > _x)) {
_x = (_x + 4);
}
if ((locked == 1) && (_root.ENEMY._x < _x)) {
_x = (_x - 4);
}
if ((locked == 2) && (_root.ENEMY2._x < _x)) {
_x = (_x - 4);
}
if ((locked == 3) && (_root.ENEMY3._x < _x)) {
_x = (_x - 4);
}
if ((locked == 4) && (_root.ENEMY4._x < _x)) {
_x = (_x - 4);
}
if ((locked == 5) && (_root.ENEMY5._x < _x)) {
_x = (_x - 4);
}
if ((locked == 6) && (_root.ENEMY6._x < _x)) {
_x = (_x - 4);
}
if ((locked == 7) && (_root.ENEMY7._x < _x)) {
_x = (_x - 4);
}
if ((locked == 8) && (_root.ENEMY8._x < _x)) {
_x = (_x - 4);
}
if ((locked == 9) && (_root.ENEMY9._x < _x)) {
_x = (_x - 4);
}
if ((locked == 10) && (_root.ENEMY10._x < _x)) {
_x = (_x - 4);
}
if ((locked == 11) && (_root.ENEMY11._x < _x)) {
_x = (_x - 4);
}
if ((locked == 12) && (_root.ENEMY12._x < _x)) {
_x = (_x - 4);
}
if ((locked == 13) && (_root.ENEMY13._x < _x)) {
_x = (_x - 4);
}
if ((locked == 14) && (_root.ENEMY14._x < _x)) {
_x = (_x - 4);
}
if ((locked == 15) && (_root.ENEMY15._x < _x)) {
_x = (_x - 4);
}
if ((locked == 16) && (_root.ENEMY16._x < _x)) {
_x = (_x - 4);
}
if ((locked == 1) && (_root.ENEMY._y > _y)) {
_y = (_y + 4);
}
if ((locked == 2) && (_root.ENEMY2._y > _y)) {
_y = (_y + 4);
}
if ((locked == 3) && (_root.ENEMY3._y > _y)) {
_y = (_y + 4);
}
if ((locked == 4) && (_root.ENEMY4._y > _y)) {
_y = (_y + 4);
}
if ((locked == 5) && (_root.ENEMY5._y > _y)) {
_y = (_y + 4);
}
if ((locked == 6) && (_root.ENEMY6._y > _y)) {
_y = (_y + 4);
}
if ((locked == 7) && (_root.ENEMY7._y > _y)) {
_y = (_y + 4);
}
if ((locked == 8) && (_root.ENEMY8._y > _y)) {
_y = (_y + 4);
}
if ((locked == 9) && (_root.ENEMY9._y > _y)) {
_y = (_y + 4);
}
if ((locked == 10) && (_root.ENEMY10._y > _y)) {
_y = (_y + 4);
}
if ((locked == 11) && (_root.ENEMY11._y > _y)) {
_y = (_y + 4);
}
if ((locked == 12) && (_root.ENEMY12._y > _y)) {
_y = (_y + 4);
}
if ((locked == 13) && (_root.ENEMY13._y > _y)) {
_y = (_y + 4);
}
if ((locked == 14) && (_root.ENEMY14._y > _y)) {
_y = (_y + 4);
}
if ((locked == 15) && (_root.ENEMY15._y > _y)) {
_y = (_y + 4);
}
if ((locked == 16) && (_root.ENEMY16._y > _y)) {
_y = (_y + 4);
}
if ((locked == 1) && (_root.ENEMY._y < _y)) {
_y = (_y - 4);
}
if ((locked == 2) && (_root.ENEMY2._y < _y)) {
_y = (_y - 4);
}
if ((locked == 3) && (_root.ENEMY3._y < _y)) {
_y = (_y - 4);
}
if ((locked == 4) && (_root.ENEMY4._y < _y)) {
_y = (_y - 4);
}
if ((locked == 5) && (_root.ENEMY5._y < _y)) {
_y = (_y - 4);
}
if ((locked == 6) && (_root.ENEMY6._y < _y)) {
_y = (_y - 4);
}
if ((locked == 7) && (_root.ENEMY7._y < _y)) {
_y = (_y - 4);
}
if ((locked == 8) && (_root.ENEMY8._y < _y)) {
_y = (_y - 4);
}
if ((locked == 9) && (_root.ENEMY9._y < _y)) {
_y = (_y - 4);
}
if ((locked == 10) && (_root.ENEMY10._y < _y)) {
_y = (_y - 4);
}
if ((locked == 11) && (_root.ENEMY11._y < _y)) {
_y = (_y - 4);
}
if ((locked == 12) && (_root.ENEMY12._y < _y)) {
_y = (_y - 4);
}
if ((locked == 13) && (_root.ENEMY13._y < _y)) {
_y = (_y - 4);
}
if ((locked == 14) && (_root.ENEMY14._y < _y)) {
_y = (_y - 4);
}
if ((locked == 15) && (_root.ENEMY15._y < _y)) {
_y = (_y - 4);
}
if ((locked == 16) && (_root.ENEMY16._y < _y)) {
_y = (_y - 4);
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocket2.gotoAndStop(50);
_root.rocket2._visible = false;
removeMovieClip(_root.rocket2);
}
Instance of Symbol 360 MovieClip "laser9" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x - 10);
_y = (_root.ship._y - 40);
power = 15;
lockon = 0;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 22);
}
if (_x > 400) {
_visible = false;
_root.removeMovieClip(this);
}
if (_x < 0) {
_visible = false;
_root.removeMovieClip(this);
}
if (_y < 0) {
_visible = false;
_root.removeMovieClip(this);
}
if (_y > 600) {
_visible = false;
_root.removeMovieClip(this);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser9._visible = false;
removeMovieClip(_root.laser9);
}
Instance of Symbol 363 MovieClip "laserBU1" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = _root.ship._y;
power = 3;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x + 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((30 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * acdc);
acdc = acdc + 0.2;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.laserBU1.gotoAndStop(50);
_root.laserBU1._visible = false;
removeMovieClip(_root.laserBU1);
}
Instance of Symbol 363 MovieClip "laserBU2" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = _root.ship._y;
power = 3;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x - 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((-30 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.laserBU2.gotoAndStop(50);
_root.laserBU2._visible = false;
removeMovieClip(_root.laserBU2);
}
Instance of Symbol 363 MovieClip "rocketLOCKED1" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x + 30;
self = 0;
acc = -7;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((20 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketlocked1.gotoAndStop(50);
_root.rocketlocked1._visible = false;
removeMovieClip(_root.rocketlocked1);
}
Instance of Symbol 363 MovieClip "rocketLOCKED2" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x - 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((-20 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketlocked2.gotoAndStop(50);
_root.rocketlocked2._visible = false;
removeMovieClip(_root.rocketlocked2);
}
Instance of Symbol 358 MovieClip "rocketPL" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = (_root.ship._y - 10);
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - 14);
_x = (_x - 3);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketPL.gotoAndStop(50);
_root.rocketPL._visible = false;
removeMovieClip(_root.rocketPL);
}
Instance of Symbol 358 MovieClip "rocketPL2" in Frame 17
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = (_root.ship._y - 30);
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - 14);
_x = (_x + 3);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketPL2.gotoAndStop(50);
_root.rocketPL2._visible = false;
removeMovieClip(_root.rocketPL2);
}
Instance of Symbol 376 MovieClip "laserpl" in Frame 17
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y + 40);
power = 7;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
_xscale = 45;
_rotation = 0;
RO = (Math.random() * 20) - (Math.random() * 20);
firstRO = true;
backro = false;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (firstRO == true)) {
_y = (_y - 7);
_rotation = (_rotation + RO);
_xscale = (_xscale - 12);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if ((_root.ship.pause != true) && (backRO == true)) {
_y = (_y - 7);
_rotation = (_rotation + RO);
_xscale = (_xscale + 12);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (_xscale <= -300) {
firstRO = false;
backRO = true;
}
if (_xscale >= 300) {
firstRO = true;
backRO = false;
}
if (_y < -30) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
this.LC._xscale = _xscale / 3;
this.LC._yscale = _xscale;
this.LA._xscale = _xscale / 3;
this.LA._yscale = _xscale;
_root.laserPL.gotoAndStop(50);
_root.laserPL._visible = false;
removeMovieClip(_root.laserPL);
}
Instance of Symbol 92 MovieClip "laserupgrade" in Frame 17
onClipEvent (load) {
_y = 0;
type = random(7);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
_alpha = 100;
die = 0;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type == 5) {
this.gotoAndStop(5);
}
if (type >= 6) {
this.gotoAndStop(6);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.weapon = 1;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.weapon = 2;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.weapon = 3;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.weapon = 4;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 5)) && (_visible == true)) {
_root.ship.weapon = 5;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type >= 6)) && (_visible == true)) {
_root.ship.weapon = 6;
_root.sound.play();
_visible = false;
removeMovieClip(this);
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 349 MovieClip "ENEMYfire" in Frame 17
onClipEvent (load) {
_x = _root.ENEMY._x;
_y = (_root.ENEMY._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire2" in Frame 17
onClipEvent (load) {
_x = _root.ENEMY2._x;
_y = (_root.ENEMY2._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire3" in Frame 17
onClipEvent (load) {
_x = _root.ENEMY3._x;
_y = (_root.ENEMY3._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire4" in Frame 17
onClipEvent (load) {
_rotation = _root.cannon._rotation;
_x = (_root.cannon._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire5" in Frame 17
onClipEvent (load) {
_rotation = _root.cannon2._rotation;
_x = (_root.cannon2._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon2._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire4" in Frame 17
onClipEvent (load) {
_rotation = _root.cannon7._rotation;
_x = (_root.cannon7._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon7._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYBEAM" in Frame 17
onClipEvent (load) {
_x = _root.ENEMY8._x;
_y = (_root.ENEMY8._y + 30);
power = 15;
_visible = true;
element = 1001;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
duplicateMovieClip (_root.burstor, "nullburst" + element, element);
}
if (element > 1500) {
element = 1001;
}
element = element + 1;
_root.ENEMYbeam._visible = false;
removeMovieClip(_root.ENEMYbeam);
}
Instance of Symbol 349 MovieClip "ENEMYfire10" in Frame 17
onClipEvent (load) {
_x = _root.ENEMY10._x;
_y = (_root.ENEMY10._y - 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire6" in Frame 17
onClipEvent (load) {
_x = _root.ENEMY6._x;
_y = (_root.ENEMY6._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 108 MovieClip "Health" in Frame 17
onClipEvent (load) {
_y = 0;
die = 0;
_alpha = 100;
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.Health = _root.ship.Health + 300;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 379 MovieClip "burstor" in Frame 17
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 379 MovieClip "burstor2" in Frame 17
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 379 MovieClip "burstor3" in Frame 17
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 349 MovieClip "minigun" in Frame 17
onClipEvent (load) {
_rotation = (_root.ENEMY11._rotation - 90);
_x = (_root.ENEMY11._x - (10 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.ENEMY11._y - (10 * Math.sin(_rotation * (Math.PI/180))));
power = 1;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((10 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((10 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY11._visible == false) {
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY11.Health <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "minigun2" in Frame 17
onClipEvent (load) {
_rotation = (_root.ENEMY12._rotation - 90);
_x = (_root.ENEMY12._x - (10 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.ENEMY12._y - (10 * Math.sin(_rotation * (Math.PI/180))));
power = 1;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((10 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((10 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY12._visible == false) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 92 MovieClip "Backupupgrade" in Frame 17
onClipEvent (load) {
_y = 0;
type = random(5);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
_alpha = 100;
die = 0;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type == 5) {
this.gotoAndStop(5);
}
if (type >= 6) {
this.gotoAndStop(6);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.BUp = 1;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.BUp = 2;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.BUp = 3;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.BUp = 4;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 380 MovieClip "bossblast" in Frame 17
onClipEvent (load) {
_x = _root.ENEMY14._x;
_y = _root.ENEMY14._y;
power = 5;
_rotation = (_root.ENEMY14._rotation - 90);
_visible = true;
element = 1001;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - (3 * Math.sin(_rotation * (Math.PI/180))));
_x = (_x - (3 * Math.cos(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
duplicateMovieClip (_root.burstor2, "nullburst" + element, element);
}
if (element > 1500) {
element = 1001;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
element = element + 1;
_root.bossblast._visible = false;
removeMovieClip(_root.bossblast);
}
Instance of Symbol 380 MovieClip "ROblast" in Frame 17
onClipEvent (load) {
_rotation = _root.gigacannon._rotation;
_x = (_root.gigacannon._x + (60 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.gigacannon._y + (60 * Math.sin(_rotation * (Math.PI/180))));
MMV = _root.gigacannon.RVR / 2;
power = 2;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + (3 * Math.sin(_rotation * (Math.PI/180))));
_x = (_x + (3 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + 1);
_rotation = (_rotation + MMV);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((5 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (element > 1500) {
element = 1001;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
element = element + 1;
_root.ROblast._visible = false;
removeMovieClip(_root.ROblast);
}
Instance of Symbol 380 MovieClip "ROblast2" in Frame 17
onClipEvent (load) {
_rotation = _root.gigacannon2._rotation;
_x = (_root.gigacannon2._x + (60 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.gigacannon2._y + (60 * Math.sin(_rotation * (Math.PI/180))));
MMV = _root.gigacannon2.RVR2 / 2;
power = 2;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + (3 * Math.sin(_rotation * (Math.PI/180))));
_x = (_x + (3 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + 1);
_rotation = (_rotation - MMV);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((5 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (element > 1500) {
element = 1001;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
element = element + 1;
_root.ROblast2._visible = false;
removeMovieClip(_root.ROblast2);
}
Instance of Symbol 104 MovieClip "rocketupgrade" in Frame 17
onClipEvent (load) {
_y = 0;
_alpha = 100;
die = 0;
type = Math.round(Math.random() * 6);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type >= 5) {
this.gotoAndStop(5);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.rocket = 1;
_root.ship.rocketammoEP1 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.rocket = 2;
_root.ship.rocketammoEP2 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.rocket = 3;
_root.ship.rocketammoEP3 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.rocket = 4;
_root.ship.rocketammoEP4 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type >= 5)) && (_visible == true)) {
_root.ship.rocket = 5;
_root.ship.rocketammoEP5 = 10;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
removeMovieClip(_root.Health);
_root.Health._visible = false;
removeMovieClip(_root.laserupgrade);
_root.laserupgrade._visible = false;
removeMovieClip(_root.rocketupgrade);
_root.rocketupgrade._visible = false;
removeMovieClip(_root.backupupgrade);
_root.backupupgrade._visible = false;
}
Instance of Symbol 388 MovieClip "ENEMY" in Frame 17
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
this.guy.gotoAndStop(4);
}
Instance of Symbol 388 MovieClip "ENEMY2" in Frame 17
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire2, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
this.guy.gotoAndStop(4);
}
Instance of Symbol 388 MovieClip "ENEMY3" in Frame 17
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire3, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
this.guy.gotoAndStop(4);
}
Instance of Symbol 396 MovieClip "ENEMY4" in Frame 17
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 300;
AXE = 11 + (Math.random() * 23);
respawn = 130;
dying = 20;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (_root.ship.wave2 == true)) {
_y = (_y + axe);
firing = firing + 1;
element = element + 1;
axe = axe * 0.94;
}
if (axe <= 0.5) {
axe = 0;
}
if (element > 1555) {
element = 1001;
}
if (((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave2 == true)) {
duplicateMovieClip (_root.ENEMYfire4, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
_root.cannon._visible = true;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
_root.cannon._visible = false;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave2 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -60;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
AXE = 11 + (Math.random() * 13);
}
if (_root.ship.wave2 != true) {
respawn = 120;
}
this.guy.gotoAndStop(4);
_root.cannon._x = _x + 10;
_root.cannon._y = _y + 10;
}
Instance of Symbol 398 MovieClip "cannon" in Frame 17
onClipEvent (enterFrame) {
_rotation = (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
Instance of Symbol 396 MovieClip "ENEMY5" in Frame 17
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 300;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (((_root.ship.pause != true) && (_root.ship.wave2 == true)) or ((_root.ship.pause != true) && (_root.ship.wave3 == true))) {
_y = (_y + axe);
firing = firing + 1;
element = element + 1;
axe = axe * 0.94;
}
if (axe <= 0.5) {
axe = 0;
}
if (element > 1555) {
element = 1001;
}
if ((((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave2 == true)) or (((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true))) {
duplicateMovieClip (_root.ENEMYfire5, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
_root.cannon2._visible = true;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
_root.cannon2._visible = false;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if (((dead == true) && (_root.ship.wave2 == true)) or ((dead == true) && (_root.ship.wave3 == true))) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -60;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
AXE = 11 + (Math.random() * 13);
}
if ((_root.ship.wave3 != true) or (_root.ship.wave2 != true)) {
respawn = 120;
}
this.guy.gotoAndStop(4);
_root.cannon2._x = _x + 10;
_root.cannon2._y = _y + 10;
}
Instance of Symbol 398 MovieClip "cannon2" in Frame 17
onClipEvent (enterFrame) {
_rotation = (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
Instance of Symbol 406 MovieClip "ENEMY8" in Frame 17
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 2000;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 1);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.4);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.4);
}
if (((((_root.ship._y < (_y + 300)) && (firing > 70)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYBEAM, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 100;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave3 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
this.guy3.gotoAndStop(4);
}
Instance of Symbol 388 MovieClip "ENEMY10" in Frame 17
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYfire10, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = 900;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y < -100) && (_root.ship.wave3 == true)) {
_y = 900;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
this.guy.gotoAndStop(4);
}
Instance of Symbol 388 MovieClip "ENEMY6" in Frame 17
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYfire6, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave3 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
this.guy.gotoAndStop(4);
}
Instance of Symbol 416 MovieClip "ENEMY12" in Frame 17
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + Fly);
fly = fly - 0.1;
firing = firing + 1;
element = element + 1;
}
if (fly <= 0.5) {
_rotation = ((Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180)) + 90);
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if ((((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) && (_visible == true)) {
duplicateMovieClip (_root.minigun2, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
dead = false;
dying = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -10;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
fly = 4 + (Math.random() * 6);
_root.ship.waveC = _root.ship.waveC + 1;
_y = -10;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
fly = 4 + (Math.random() * 6);
this.gotoAndStop(1);
}
if ((((_y < -10) && (_root.ship.wave1 == true)) && (fly <= 0)) && (HEalth > 0)) {
_y = -10;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
fly = 4 + (Math.random() * 6);
this.gotoAndStop(1);
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
if (Health > 0) {
_visible = true;
}
this.guy.gotoAndStop(4);
_root.HP = Health;
_root.CHE = _visible;
}
Instance of Symbol 467 MovieClip "meteor" in Frame 17
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1400) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor2" in Frame 17
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1000) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor4" in Frame 17
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1000) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor5" in Frame 17
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1900) {
_y = -500;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 512 MovieClip "stat" in Frame 17
onClipEvent (load) {
this.swapDepths(9999);
}
Instance of Symbol 558 MovieClip "music" in Frame 17
onClipEvent (load) {
this.swapDepths(99999);
this.gotoAndPlay("battle2");
}
Frame 18
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 19
stop();
_quality = "High";
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (load) {
this.gotoAndStop(5);
}
Instance of Symbol 242 MovieClip in Frame 19
onClipEvent (load) {
this.gotoAndPlay(1);
}
Instance of Symbol 255 MovieClip "missionstarted" in Frame 19
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 20
stop();
_quality = "Low";
Instance of Symbol 273 MovieClip "BG" in Frame 20
onClipEvent (load) {
this.gotoAndStop(5);
}
Instance of Symbol 154 MovieClip "stars" in Frame 20
onClipEvent (enterFrame) {
if ((_y > 200) && (_root.ship.acce > 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
if ((_y < -1000) && (_root.ship.acce <= 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = 200;
}
}
Instance of Symbol 154 MovieClip "stars2" in Frame 20
onClipEvent (enterFrame) {
if ((_y > 200) && (_root.ship.acce > 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
if ((_y < -1000) && (_root.ship.acce <= 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = 200;
}
}
Instance of Symbol 154 MovieClip "stars3" in Frame 20
onClipEvent (enterFrame) {
if ((_y > 200) && (_root.ship.acce > 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
if ((_y < -1000) && (_root.ship.acce <= 0)) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = 200;
}
}
Instance of Symbol 275 MovieClip in Frame 20
onClipEvent (load) {
_root.ship.pause = true;
triggered = false;
startup = 0;
acc = 8;
}
onClipEvent (enterFrame) {
if (startup > 100) {
triggered = true;
}
if ((triggered != true) && (dead != true)) {
startup = startup + 1;
}
if ((triggered == true) && (dead != true)) {
_y = (_y + 10);
_root.ship._y = _root.ship._y - acc;
acc = acc * 0.94;
_root.ship.fly = 100;
}
if (_y > 900) {
_root.ship.pause = false;
_root.ship.wave1 = true;
triggered = false;
dead = true;
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 324 MovieClip "ENEMY14" in Frame 20
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 120000 /* 0x01D4C0 */;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
power = 3;
startbattle = 0;
element = 1500;
_root.gigacannon._rotation = 0;
_root.gigacannon._rotation = 180;
_visible = false;
cannonZarea = _root.romulus._x - _root.gigacannon._x;
cannonZyarea = _root.romulus._y - _root.gigacannon._y;
cannonZarea2 = _root.romulus._x - _root.gigacannon2._x;
cannonZyarea2 = _root.romulus._y - _root.gigacannon2._y;
}
onClipEvent (enterFrame) {
if (((_root.ship.wave4 == true) && (Health <= 0)) && (of != true)) {
_root.romulus._visible = true;
_visible = true;
battle = true;
Health = HP;
_root.ENEMY15.Health = HP;
of = true;
}
if (battle == true) {
startbattle = startbattle + 1;
}
if (startbattle > 500) {
_root.romulus._y = _root.romulus._y + 3;
}
if (_y > 130) {
_root.romulus.cannon.play();
_root.romulus.cannon2.play();
startbattle = 0;
battle = false;
}
if ((_root.ship.wave4 == true) && (Health <= 0)) {
deathSEQ = deathSEQ + 1;
_rotation = 0;
}
if ((deathSEQ > 5) && (deathSEQ < 8)) {
this.gotoAndPlay("death");
}
if ((deathSEQF1 > 30) && (deathSEQF1 < 34)) {
_root.romulus.play();
}
if (deathSEQF1 > 130) {
_root.ship.bossdeath = 5;
}
if ((_root.ship.wave4 == true) && (_root.ENEMY15.Health <= 0)) {
deathSEQ2 = deathSEQ2 + 1;
_root.ENEMY15._rotation = 0;
}
if ((deathSEQ2 > 5) && (deathSEQ2 < 8)) {
_root.ENEMY15.gotoAndPlay("death");
}
if (((Health <= 0) && (_root.ENEMY15.Health <= 0)) && (_root.ship.wave4 == true)) {
_root.gigacannon._visible = false;
_root.gigacannon2._visible = false;
DeathSEQF1 = DeathSEQF1 + 1;
}
if (((_root.ship.wave4 == true) && (Health > 0)) && (_y > 65)) {
_rotation = (90 + (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180)));
firing = firing + 1;
spin = 90 - (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
if ((((((_root.ship._y < (_y + 400)) && (firing > 60)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave4 == true)) && (multiple != true)) {
duplicateMovieClip (_root.Bossblast, "nullattack" + element, element);
multiple = true;
}
if (multiple == true) {
revert = revert + 1;
}
if (revert > 17) {
multiple = false;
revert = 0;
reverting = reverting + 1;
}
if (reverting > 2) {
firing = 0;
revert = 0;
reverting = 0;
multiple = false;
}
if (element > 2000) {
element = 1500;
}
if (((_root.romulus.cannon.laser.beam.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((6 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((6 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_root.ship._x = _root.ship._x + 10;
}
if (((_root.romulus.cannon2.laser.beam.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((6 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((6 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_root.ship._x = _root.ship._x - 10;
}
if (_root.ship.wave4 == true) {
startattack = startattack + 1;
}
if (startattack > 150) {
_root.gigacannon._rotation = _root.gigacannon._rotation + 2;
assaultGC = true;
}
if (assaultGC == true) {
attackGC = attackGC + 1;
}
if (((attackGC > 12) && (_root.gigacannon._rotation > -1)) && (_root.gigacannon._rotation > 10)) {
duplicateMovieClip (_root.ROblast, "nullRO" + element, element);
_root.gigacannon.RVR = _root.gigacannon.RVR + 0.2;
attackGC = 0;
}
if (_root.gigacannon._rotation < 0) {
revertGC = true;
}
if (((_root.gigacannon._rotation >= 0) && (assaultGC == true)) && (revertGC == true)) {
_root.gigacannon._rotation = 0;
startattack = 0;
assaultGC = false;
attackGC = 0;
_root.gigacannon.RVR = 0;
revertGC = false;
}
if (_root.ship.wave4 == true) {
startattack2 = startattack2 + 1;
beginlaser = beginlaser + 1;
}
if (startattack2 > 151) {
_root.gigacannon2._rotation = _root.gigacannon2._rotation - 2;
assaultGC2 = true;
}
if (assaultGC2 == true) {
attackGC2 = attackGC2 + 1;
}
if (((attackGC2 > 12) && (_root.gigacannon2._rotation < 170)) && (_root.gigacannon2._rotation > 10)) {
duplicateMovieClip (_root.ROblast2, "nullRO" + element, element);
_root.gigacannon2.RVR2 = _root.gigacannon2.RVR2 + 0.2;
attackGC2 = 0;
}
if (_root.gigacannon2._rotation < -160) {
revertGC2 = true;
}
if (((_root.gigacannon2._rotation <= 180) && (assaultGC2 == true)) && (revertGC2 == true)) {
_root.gigacannon2._rotation = 180;
startattack2 = 0;
assaultGC2 = false;
attackGC2 = 0;
_root.gigacannon2.RVR2 = 0;
revertGC2 = false;
}
if (((_root.ship.wave4 == true) && (_root.ENEMY15.Health > 0)) && (_y > 65)) {
_root.ENEMY15._rotation = 90 + (Math.atan2(_root.ENEMY15._y - _root.ship._y, _root.ENEMY15._x - _root.ship._x) / (Math.PI/180));
firing2 = firing2 + 1;
}
if ((((((_root.ship._y < (_root.ENEMY15._y + 400)) && (firing2 > 60)) && (_root.ship.pause != true)) && (_root.ENEMY15.HEalth > 0)) && (_root.ship.wave4 == true)) && (multiple2 != true)) {
duplicateMovieClip (_root.Bossblast2, "nullattack" + element, element);
multiple2 = true;
}
if (multiple2 == true) {
revert2 = revert2 + 1;
}
if (revert2 > 15) {
multiple2 = false;
revert2 = 0;
reverting2 = reverting2 + 1;
}
if (reverting2 > 2) {
firing2 = 0;
revert2 = 0;
reverting2 = 0;
multiple2 = false;
}
if (_root.romulus.guy.gore.blast.laser.beam.hitTest(_root.ship) && (_root.ship.wave4 == true)) {
_root.ship.HEalth = 0;
}
if (beginlaser > 500) {
_root.romulus.guy.gore.blast.play();
}
_root.ENEMY15._x = _root.romulus._x + 455;
_root.ENEMY15._y = _y;
_x = 50;
_y = (_root.romulus._y - THEyarea);
_root.gigacannon._x = _root.romulus._x - CannonZarea;
_root.gigacannon._y = _root.romulus._y - CannonZyarea;
_root.gigacannon2._x = _root.romulus._x - CannonZarea2;
_root.gigacannon2._y = _root.romulus._y - CannonZyarea2;
this.guy.gore.gotoAndStop(4);
_root.ENEMY15.guy.gore.gotoAndStop(4);
_root.romulus.guy.gore.gotoAndStop(2);
YCO = _y - (100 * Math.sin(spin));
XCO = _x - (100 * Math.cos(spin));
_root.YM = YCO;
_root.XM = XCO;
_root.dor = spin;
element = element + 1;
_root.bhp = Health;
_y = (_root.romulus._y + 210);
this.guy.gore.gotoAndStop(4);
}
Instance of Symbol 334 MovieClip "ship" in Frame 20
onClipEvent (load) {
motion = 5;
helix = 1;
Health = 710;
Lquota = 200 + (Math.random() * 260);
_root.ammo = 0;
bossdeath = 0;
fly = 0;
revert = 0;
flyR = 0;
flyL = 0;
rocketammo = 0;
Rquota = 200 + (Math.random() * 260);
_root.difficulty = 2.2;
_root.score = 0;
_root.kills = 0;
_root.damage = 0;
Hquota = (3000 + (Math.random() * 1460)) + (100 * _root.difficulty);
acce = 1;
}
onClipEvent (enterFrame) {
if (((key.IsDown(38) && (pause != true)) && (_y > 100)) && (_root.KB != true)) {
_y = (_y - motion);
fly = 100;
}
if (((key.IsDown(40) && (pause != true)) && (_y < 520)) && (_root.KB != true)) {
_y = (_y + motion);
REVERT = 100;
}
if (((key.IsDown(37) && (pause != true)) && (_x > 30)) && (_root.KB != true)) {
_x = (_x - motion);
flight = true;
_rotation = -10;
flyL = 100;
}
if (((key.IsDown(39) && (pause != true)) && (_x < 370)) && (_root.KB != true)) {
_x = (_x + motion);
flight = true;
_rotation = 10;
flyR = 100;
}
if (_root.KB == true) {
startDrag ("_root.ORG", true);
}
if ((_root.KB == true) && (_x >= 370)) {
_x = 370;
}
if ((_root.KB == true) && (_x <= 30)) {
_x = 30;
}
if ((_root.KB == true) && (_y <= 100)) {
_y = 100;
}
if ((_root.KB == true) && (_y >= 520)) {
_y = 520;
}
if ((((_root.ORG._x > (_x + 20)) && (_root.KB == true)) && (_x < 370)) && (pause != true)) {
_x = (_x + motion);
flyR = 100;
_rotation = 10;
}
if ((((_root.ORG._x < (_x - 20)) && (_root.KB == true)) && (_x > 30)) && (pause != true)) {
_x = (_x - motion);
flyL = 100;
_rotation = -10;
}
if ((((_root.ORG._y > (_y + 20)) && (_root.KB == true)) && (_y < 520)) && (pause != true)) {
_y = (_y + motion);
revert = 100;
}
if ((((_root.ORG._y < (_y - 20)) && (_root.KB == true)) && (_y > 100)) && (pause != true)) {
_y = (_y - motion);
fly = 100;
}
if ((_x < (_root.ORG._x + 40)) && (_x > (_root.ORG._x - 40))) {
_rotation = 0;
}
if (pause != true) {
fly = fly - 1;
flyR = flyR - 2;
flyL = flyL - 2;
revert = revert - 3;
reload = reload + 1;
_root.BG._y = _root.BG._y + 0.02;
}
if (((key.IsDown(83) && (pause != true)) && (weapon <= 1)) && (firedelay == false)) {
duplicateMovieClip (_root.laser1, "nulllaser" + element, element);
firedelay = true;
backons = true;
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 2)) && (firedelay == false)) {
duplicateMovieClip (_root.laser2, "nulllaser" + element, element);
firedelay = true;
backons = true;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 3)) && (firedelay == false)) && (helix == 1)) {
duplicateMovieClip (_root.laser3, "nulllaser" + element, element);
firedelay = true;
backons = true;
helix = 2;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 3)) && (firedelay == false)) && (helix == 2)) {
duplicateMovieClip (_root.laser4, "nulllaser" + element, element);
firedelay = true;
helix = 1;
backons = true;
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 4)) && (firedelay == false)) {
duplicateMovieClip (_root.laser5, "nulllaser" + element, element);
firedelay = true;
backon = true;
}
if (((key.IsDown(83) && (pause != true)) && (weapon == 5)) && (firedelay == false)) {
duplicateMovieClip (_root.laser9, "nulllaser" + element, element);
firedelay = true;
}
if ((((key.IsDown(83) && (pause != true)) && (weapon == 6)) && (firedelay == false)) && (mega != true)) {
duplicateMovieClip (_root.laser11, "nulllaser" + element, element);
mega = true;
}
if (mega == true) {
bu = bu + 1;
}
if ((BU > 1) && (BU < 3)) {
duplicateMovieClip (_root.laserBU1, "nulllaser" + element, element);
}
if ((BU > 2) && (BU < 4)) {
duplicateMovieClip (_root.laserBU2, "nulllaser" + element, element);
}
if (BU > 18) {
BU = 0;
mega = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket <= 1)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.Rocket, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP1 = rocketammoEP1 - 1;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 2)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.Rocket2, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP2 = rocketammoEP2 - 1;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 3)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketLOCKED1, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP3 = rocketammoEP3 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 1) && (rocket == 3)) {
duplicateMovieClip (_root.RocketLOCKED2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 4)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketDU1, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP4 = rocketammoEP4 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 1) && (rocket == 4)) {
duplicateMovieClip (_root.RocketDU2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
}
if (((((key.IsDown(65) && (pause != true)) && (rocket == 5)) && (firedelay == false)) && (reload >= 20)) && (rocketammo > 0)) {
duplicateMovieClip (_root.RocketPL, "nulllaser" + element, element);
firedelay = true;
reload = 0;
rocketammoEP5 = rocketammoEP5 - 1;
firesecond = true;
}
if (firesecond == true) {
rebound = rebound + 1;
}
if ((rebound > 0) && (rocket == 5)) {
duplicateMovieClip (_root.rocketPL2, "nulllaser" + element, element);
rebound = 0;
firesecond = false;
firethird = true;
}
if (firethird == true) {
rebound2 = rebound2 + 1;
}
if ((rebound2 > 0) && (rocket == 5)) {
duplicateMovieClip (_root.laserPL, "nulllaser" + element, element);
rebound2 = 0;
firesecond = false;
firethird = false;
}
if (rocket <= 1) {
rocketammo = rocketammoEP1;
RAfull = 20;
}
if (rocket == 2) {
rocketammo = rocketammoEP2;
RAfull = 20;
}
if (rocket == 3) {
rocketammo = rocketammoEP3;
RAfull = 20;
}
if (rocket == 4) {
rocketammo = rocketammoEP4;
RAfull = 20;
}
if (rocket >= 5) {
rocketammo = rocketammoEP5;
RAfull = 10;
}
if ((backons == true) && (pause != true)) {
BUKS = BUKS + 1;
}
if ((BUKS > 2) && (BUP == 1)) {
duplicateMovieClip (_root.backup, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 2)) {
duplicateMovieClip (_root.backup2, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 3)) {
duplicateMovieClip (_root.backup3, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((BUKS > 2) && (BUp == 4)) {
duplicateMovieClip (_root.backup4, "nullBU" + element, element);
BUKS = 0;
backons = false;
}
if ((releaseL > Lquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.laserupgrade, "nullless" + element, element);
Lquota = 300 + (Math.random() * 460);
releasel = 0;
}
if ((releaseR > Rquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.rocketupgrade, "nullless" + element, element);
Rquota = 300 + (Math.random() * 460);
releaseR = 0;
}
if ((releaseH > Hquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.HEalth, "nullless" + element, element);
Hquota = (3000 + (Math.random() * 1460)) + (100 * _root.difficulty);
releaseH = 0;
}
if ((releaseB > Bquota) && (bossdeath <= 0)) {
duplicateMovieClip (_root.backupupgrade, "nullless" + element, element);
Bquota = 300 + (Math.random() * 460);
releaseB = 0;
}
if (pause != true) {
releaseR = releaseR + 1;
releaseL = releaseL + 1;
releaseH = releaseH + 1;
releaseB = releaseB + 1;
}
if (reload > 20) {
reload = 20;
}
if (element > 999) {
element = 0;
}
if (weapon <= 1) {
_root.stat.laser.gotoAndStop(1);
}
if (weapon == 2) {
_root.stat.laser.gotoAndStop(2);
}
if (weapon == 3) {
_root.stat.laser.gotoAndStop(3);
}
if (weapon == 4) {
_root.stat.laser.gotoAndStop(4);
}
if (weapon == 5) {
_root.stat.laser.gotoAndStop(5);
}
if (weapon >= 6) {
_root.stat.laser.gotoAndStop(6);
}
if (rocket <= 0) {
_root.stat.missile.gotoAndStop(6);
}
if (rocket == 1) {
_root.stat.missile.gotoAndStop(1);
}
if (rocket == 2) {
_root.stat.missile.gotoAndStop(2);
}
if (rocket == 3) {
_root.stat.missile.gotoAndStop(3);
}
if (rocket == 4) {
_root.stat.missile.gotoAndStop(4);
}
if (rocket == 5) {
_root.stat.missile.gotoAndStop(5);
}
if (Health > 710) {
Health = 710;
}
if (Health <= 0) {
death = death + 1;
Health = 0;
firedelay = true;
_root.stat.bar._visible = false;
}
if ((death > 20) && (death < 24)) {
motion = 0;
this.gotoAndPlay("dead");
}
if (death > 34) {
_visible = false;
}
if ((death > 70) && (death < 74)) {
_root.music.gotoAndPlay("gameover");
pause = true;
}
if ((wave1 == true) && (order <= 0)) {
wave2 = false;
wave3 = false;
wave4 = false;
order = 1;
}
if (((waveC > 3) && (wave1 == true)) && (order == 1)) {
wave1 = false;
wave3 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 2;
}
if (((waveC > 3) && (wave3 == true)) && (order == 2)) {
wave2 = false;
wave3 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 3;
}
if (((waveC > 18) && (wave1 == true)) && (order == 3)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 4;
}
if (((waveC > 15) && (wave3 == true)) && (order == 4)) {
wave2 = false;
wave3 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 5;
}
if (((waveC > 12) && (wave1 == true)) && (order == 5)) {
wave1 = false;
wave3 = false;
wave4 = false;
wave2 = true;
waveC = 0;
order = 6;
}
if (((waveC > 8) && (wave2 == true)) && (order == 6)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 7;
}
if (((waveC > 8) && (wave3 == true)) && (order == 7)) {
wave3 = false;
wave2 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 8;
}
if (((waveC > 8) && (wave1 == true)) && (order == 8)) {
wave1 = false;
wave3 = false;
wave4 = false;
wave2 = true;
waveC = 0;
order = 9;
}
if (((waveC > 8) && (wave2 == true)) && (order == 9)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 10;
}
if (((waveC > 3) && (wave3 == true)) && (order == 10)) {
wave3 = false;
wave2 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 11;
}
if (((waveC > 8) && (wave1 == true)) && (order == 11)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 12;
}
if (((waveC > 8) && (wave3 == true)) && (order == 12)) {
wave1 = false;
wave2 = false;
wave3 = false;
wave2 = true;
waveC = 0;
order = 13;
}
if (((waveC > 8) && (wave2 == true)) && (order == 13)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 14;
}
if (((waveC > 2) && (wave3 == true)) && (order == 14)) {
wave3 = false;
wave2 = false;
wave4 = false;
wave1 = true;
waveC = 0;
order = 15;
}
if (((waveC > 12) && (wave1 == true)) && (order == 15)) {
wave1 = false;
wave2 = false;
wave4 = false;
wave3 = true;
waveC = 0;
order = 16;
}
if (((waveC > 15) && (wave3 == true)) && (order == 16)) {
wave1 = false;
wave3 = false;
wave2 = false;
wave4 = true;
waveC = 0;
_root.music.gotoAndPlay("boss4");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
_root.ENEMY3.Health = 0;
_root.ENEMY4.Health = 0;
_root.ENEMY5.Health = 0;
_root.ENEMY6.Health = 0;
_root.ENEMY7.Health = 0;
_root.ENEMY8.Health = 0;
_root.ENEMY9.Health = 0;
_root.ENEMY10.Health = 0;
_root.ENEMY11.Health = 0;
_root.ENEMY12.Health = 0;
_root.ENEMY13.Health = 0;
startboss = true;
_root.OAS5 = _root.score;
}
if (((bossdeath > 1) && (wave4 == true)) && (order == 16)) {
wave3 = false;
wave4 = false;
wave2 = false;
wave1 = false;
waveC = 0;
order = 10;
_root.music.gotoAndPlay("victory");
}
if (_root.OAS5 < _root.score) {
_root.OAS5 = _root.score;
}
if (startboss == true) {
dieoffenemies = dieoffenemies + 1;
}
if (dieoffenemies > 50) {
_root.ENEMY._visible = false;
_root.ENEMY2._visible = false;
_root.ENEMY3._visible = false;
_root.ENEMY4._visible = false;
_root.ENEMY5._visible = false;
_root.ENEMY6._visible = false;
_root.ENEMY7._visible = false;
_root.ENEMY8._visible = false;
_root.ENEMY9._visible = false;
_root.ENEMY10._visible = false;
_root.ENEMY11._visible = false;
_root.ENEMY12._visible = false;
_root.ENEMY13._visible = false;
_root.ENEMY._y = -500;
_root.ENEMY2._y = -500;
_root.ENEMY3._y = -500;
_root.ENEMY4._y = -500;
_root.ENEMY5._y = -500;
_root.ENEMY6._y = -500;
_root.ENEMY7._y = -500;
_root.ENEMY8._y = -500;
_root.ENEMY9._y = -500;
_root.ENEMY10._y = -500;
_root.ENEMY11._y = -500;
_root.ENEMY12._y = -500;
_root.ENEMY13._y = -500;
_root.removeMovieClip(_root.ENEMY);
_root.removeMovieClip(_root.ENEMY2);
_root.removeMovieClip(_root.ENEMY3);
_root.removeMovieClip(_root.ENEMY4);
_root.removeMovieClip(_root.ENEMY5);
_root.removeMovieClip(_root.ENEMY6);
_root.removeMovieClip(_root.ENEMY7);
_root.removeMovieClip(_root.ENEMY8);
_root.removeMovieClip(_root.ENEMY9);
_root.removeMovieClip(_root.ENEMY10);
_root.removeMovieClip(_root.ENEMY11);
_root.removeMovieClip(_root.ENEMY12);
_root.removeMovieClip(_root.ENEMY13);
}
if (((bossbattle == true) && (acce <= 840)) && (bossdeath <= 0)) {
acce = acce * 1.15;
}
if (acce > 500) {
_root.BG.gotoAndStop(6);
_root.stars.gotoAndStop(2);
_root.stars2.gotoAndStop(2);
_root.stars3.gotoAndStop(2);
_root.stars._rotation = 0;
_root.stars._rotation = 0;
_root.stars._rotation = 0;
}
if (bossdeath > 0) {
setup = setup + 1;
_root.BG.gotoAndStop(7);
acce = acce * 0.9;
}
if (setup < 10) {
scoreset = _root.score;
}
if (setup > 10) {
_root.score = scoreset;
}
if (((EXPL > 10) && (EXP < 20)) && (bonus != true)) {
_root.stuff.gotoAndPlay("explosive");
bonus = true;
}
if ((EXPL >= 20) && (bonus != true)) {
_root.stuff.gotoAndPlay("massacre");
bonus = true;
}
if ((bonus = true)) {
runout = runout + 1;
}
if (runout > 40) {
bonus = false;
EXPL = 0;
runout = 0;
}
if (expl <= 0) {
expl = 0;
}
if (_root.score >= 400000) {
Srank = 5;
}
if ((_root.score < 400000) && (_root.score >= 350000)) {
Srank = 4;
}
if ((_root.score < 350000) && (_root.score >= 240000)) {
Srank = 3;
}
if ((_root.score < 240000) && (_root.score >= 160000)) {
Srank = 2;
}
if (_root.score < 160000) {
Srank = 1;
}
if (_root.kills >= 140) {
Krank = 5;
}
if ((_root.kills < 140) && (_root.kills >= 115)) {
Krank = 4;
}
if ((_root.kills < 115) && (_root.kills >= 65)) {
Krank = 3;
}
if ((_root.kills < 65) && (_root.kills >= 25)) {
Krank = 2;
}
if (_root.kills < 25) {
Krank = 1;
}
if (_root.damage <= 290) {
Drank = 5;
}
if ((_root.damage > 290) && (_root.damage <= 340)) {
Drank = 4;
}
if ((_root.damage > 340) && (_root.damage <= 490)) {
Drank = 3;
}
if ((_root.damage > 490) && (_root.damage <= 590)) {
Drank = 2;
}
if (_root.damage > 590) {
Drank = 1;
}
if (Srank == 1) {
_root.music.stat.Srank.gotoAndStop(1);
}
if (Srank == 2) {
_root.music.stat.Srank.gotoAndStop(2);
}
if (Srank == 3) {
_root.music.stat.Srank.gotoAndStop(3);
}
if (Srank == 4) {
_root.music.stat.Srank.gotoAndStop(4);
}
if (Srank == 5) {
_root.music.stat.Srank.gotoAndStop(5);
}
if (Drank == 1) {
_root.music.stat.Drank.gotoAndStop(1);
}
if (Drank == 2) {
_root.music.stat.Drank.gotoAndStop(2);
}
if (Drank == 3) {
_root.music.stat.Drank.gotoAndStop(3);
}
if (Drank == 4) {
_root.music.stat.Drank.gotoAndStop(4);
}
if (Drank == 5) {
_root.music.stat.Drank.gotoAndStop(5);
}
if (Krank == 1) {
_root.music.stat.Krank.gotoAndStop(1);
}
if (Krank == 2) {
_root.music.stat.Krank.gotoAndStop(2);
}
if (Krank == 3) {
_root.music.stat.Krank.gotoAndStop(3);
}
if (Krank == 4) {
_root.music.stat.Krank.gotoAndStop(4);
}
if (Krank == 5) {
_root.music.stat.Krank.gotoAndStop(5);
}
if (overall >= 13) {
_root.music.stat.OArank.gotoAndStop(5);
}
if ((overall < 13) && (overall >= 9)) {
_root.music.stat.OArank.gotoAndStop(4);
}
if ((overall < 9) && (overall >= 5)) {
_root.music.stat.OArank.gotoAndStop(3);
}
if ((overall < 5) && (overall >= 2)) {
_root.music.stat.OArank.gotoAndStop(2);
}
if (overall < 2) {
_root.music.stat.OArank.gotoAndStop(1);
}
if (chain <= 0) {
chain = 0;
_root.stat.chains._visible = false;
_root.stat.chains._alpha = 100;
alphaage = false;
}
if (chain > 0) {
eliminate = eliminate + 1;
}
if (eliminate > 100) {
alphaage = true;
eliminate = 0;
}
if (alphaage == true) {
_root.stat.chains._alpha = _root.stat.chains._alpha - 3;
}
if (_root.stat.chains._alpha < 5) {
chain = 0;
}
if ((pause != true) && (_root.stat.chains._visible == false)) {
chain = chain - 0.1;
}
if (pause != true) {
_root.stat.chains.chain = Math.round(chain);
rechain = rechain + 1;
}
if (chain > 1) {
_root.stat.chains._visible = true;
}
if (acce > 100) {
fly = 100;
}
Overall = (Srank + Drank) + Krank;
_root.music.stat.scores = _root.score;
_root.music.stat.damages = _root.damage;
_root.music.stat.killss = _root.kills;
_root.stars._y = _root.stars._y + 0.5;
_root.stars2._y = _root.stars2._y + 0.5;
_root.stars3._y = _root.stars3._y + 0.5;
_root.stars._y = _root.stars._y + (acce / 10);
_root.stars2._y = _root.stars2._y + (acce / 10);
_root.stars3._y = _root.stars3._y + (acce / 10);
_root.stat.PER = Math.round(Health / 7.1);
_root.stat.bar._width = Health / 4;
this.jetB._alpha = revert;
this.jetB2._alpha = revert;
this.jet._alpha = fly;
this.jetR._alpha = flyR;
this.jetL._alpha = flyL;
element = element + 1;
_root.stat.RFammo = RAfull;
_root.stat.scores = _root.score;
_root.stat.ammo = rocketammo;
_root.stuff._x = _x - 40;
_root.stuff._y = _y;
EXPL = EXPL - 0.05;
}
onClipEvent (keyUp) {
if ((flight == true) && (_root.KB != true)) {
_rotation = 0;
}
if (Health > 0) {
firedelay = false;
}
}
onClipEvent (mouseDown) {
if ((pause != true) && (weapon <= 1)) {
duplicateMovieClip (_root.laser1, "nulllaser" + element, element);
backons = true;
}
if ((pause != true) && (weapon == 2)) {
duplicateMovieClip (_root.laser2, "nulllaser" + element, element);
backons = true;
}
if (((pause != true) && (weapon == 3)) && (helix == 1)) {
duplicateMovieClip (_root.laser3, "nulllaser" + element, element);
backons = true;
helix = 2;
}
if (((pause != true) && (weapon == 3)) && (helix == 2)) {
duplicateMovieClip (_root.laser4, "nulllaser" + element, element);
helix = 1;
backons = true;
}
if ((pause != true) && (weapon == 4)) {
duplicateMovieClip (_root.laser5, "nulllaser" + element, element);
backon = true;
}
if ((pause != true) && (weapon == 5)) {
duplicateMovieClip (_root.laser9, "nulllaser" + element, element);
}
if (scatter > 18) {
scatter = 0;
burst = false;
}
if (((pause != true) && (weapon == 6)) && (mega != true)) {
duplicateMovieClip (_root.laser11, "nulllaser" + element, element);
mega = true;
}
}
Instance of Symbol 336 MovieClip "ORG" in Frame 20
onClipEvent (enterFrame) {
_visible = false;
}
Instance of Symbol 347 MovieClip "laser1" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 20;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "laser2" in Frame 20
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 16;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser2._visible = false;
removeMovieClip(_root.laser2);
}
Instance of Symbol 351 MovieClip "rocket" in Frame 20
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
self = 0;
_rotation = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocket.gotoAndStop(50);
_root.rocket._visible = false;
removeMovieClip(_root.rocket);
}
Instance of Symbol 349 MovieClip "laser3" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x + 15);
_y = (_root.ship._y - 30);
power = 15;
lockon = 0;
_visible = true;
bizzare = _root.ship._x + 15;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((40 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser3._visible = false;
removeMovieClip(_root.laser3);
}
Instance of Symbol 349 MovieClip "laser4" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x - 15);
_y = (_root.ship._y - 30);
power = 15;
lockon = 0;
_visible = true;
bizzare = _root.ship._x - 15;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((-40 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser4._visible = false;
removeMovieClip(_root.laser4);
}
Instance of Symbol 356 MovieClip "laser5" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 30;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser5._visible = false;
removeMovieClip(_root.laser5);
}
Instance of Symbol 351 MovieClip "rocketDU1" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x + 20);
bizzare = _root.ship._x + 20;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
_rotation = 0;
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
_x = ((30 * Math.sin(_y / 60)) + bizzare);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if ((timer > (delay - 2)) && (timer <= delay)) {
_root.sound.gotoAndPlay("rocket");
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketDU1.gotoAndStop(50);
_root.rocketDU1._visible = false;
removeMovieClip(_root.rocketDU1);
}
Instance of Symbol 351 MovieClip "rocketDU2" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x - 20);
bizzare = _root.ship._x - 20;
_y = _root.ship._y;
power = 50;
lockon = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
motion = 1.6;
self = 0;
_rotation = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - motion);
_x = ((-30 * Math.sin(_y / 70)) + bizzare);
}
if ((_root.ship.pause != true) && (timer <= delay)) {
timer = timer + 1;
}
if ((timer > (delay - 2)) && (timer <= delay)) {
_root.sound.gotoAndPlay("rocket");
}
if (((timer >= delay) && (_root.ship.pause != true)) && (destroy == false)) {
motion = motion + 0.2;
this.fuel._visible = true;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketDU2.gotoAndStop(50);
_root.rocketDU2._visible = false;
removeMovieClip(_root.rocketDU2);
}
Instance of Symbol 349 MovieClip "laser11" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x + 5);
_y = (_root.ship._y - 30);
power = 15;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser11._visible = false;
removeMovieClip(_root.laser11);
}
Instance of Symbol 347 MovieClip "backup3" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x + 19);
_y = (_root.ship._y - 30);
power = 4;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.backup3._visible = false;
removeMovieClip(_root.backup3);
}
Instance of Symbol 349 MovieClip "backup" in Frame 20
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 6;
lockon = 0;
_visible = true;
bizzare = _root.ship._x;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 4);
_x = ((-20 * Math.sin(_y / 30)) + bizzare);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.backup._visible = false;
removeMovieClip(_root.backup);
}
Instance of Symbol 347 MovieClip "backup2" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x + 19);
_y = (_root.ship._y + 30);
power = 15;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 20);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 560) {
removeMovieClip(this);
this._visible = false;
}
_root.backup2._visible = false;
removeMovieClip(_root.backup2);
}
Instance of Symbol 349 MovieClip "backup4" in Frame 20
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y - 30);
power = 6;
death = 0;
lockon = 0;
_visible = true;
_rotation = 0;
_alpha = 100;
Ymotion = 10;
MM = (Math.random() * 2) - (Math.random() * 2);
are = _root.ship._x + 10;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - Ymotion);
_x = (_x + Xmotion);
_rotation = (_rotation + 3);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
Ymotion = (-Math.random()) * 15;
Xmotion = (Math.random() * 15) - (Math.random() * 15);
}
if (_y > 500) {
Ymotion = Math.random() * 15;
Xmotion = (Math.random() * 15) - (Math.random() * 15);
}
if (_x < 40) {
Xmotion = Math.random() * 15;
}
if (_x > 370) {
Xmotion = (-Math.random()) * 15;
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (death > 360) {
removeMovieClip(this);
this._visible = false;
}
death = death + 1;
_root.backup4._visible = false;
removeMovieClip(_root.backup4);
}
Instance of Symbol 358 MovieClip "rocket2" in Frame 20
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - YMOVE);
_x = (_x - XMOVE);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
_rotation = (_rotation + 3);
}
if ((((((_root.ENEMY._y > (_y - 200)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (_root.ENEMY.Health > 0)) {
locked = 1;
}
if ((((((_root.ENEMY2._y > (_y - 200)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 120))) && (_root.ENEMY2._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY2.Health > 0)) {
locked = 2;
}
if ((((((_root.ENEMY3._y > (_y - 200)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 120))) && (_root.ENEMY3._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY3.Health > 0)) {
locked = 3;
}
if ((((((_root.ENEMY4._y > (_y - 200)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 120))) && (_root.ENEMY4._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY4.Health > 0)) {
locked = 4;
}
if ((((((_root.ENEMY5._y > (_y - 200)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 120))) && (_root.ENEMY5._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY5.Health > 0)) {
locked = 5;
}
if ((((((_root.ENEMY6._y > (_y - 200)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 120))) && (_root.ENEMY6._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY6.Health > 0)) {
locked = 6;
}
if ((((((_root.ENEMY7._y > (_y - 200)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 120))) && (_root.ENEMY7._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY7.Health > 0)) {
locked = 7;
}
if ((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 120))) && (_root.ENEMY8._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY8.Health > 0)) {
locked = 8;
}
if ((((((_root.ENEMY9._y > (_y - 200)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 120))) && (_root.ENEMY9._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY9.Health > 0)) {
locked = 9;
}
if ((((((_root.ENEMY10._y > (_y - 200)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 120))) && (_root.ENEMY10._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY10.Health > 0)) {
locked = 10;
}
if ((((((_root.ENEMY11._y > (_y - 200)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 120))) && (_root.ENEMY11._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY11.Health > 0)) {
locked = 11;
}
if ((((((_root.ENEMY12._y > (_y - 200)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 120))) && (_root.ENEMY12._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY12.Health > 0)) {
locked = 12;
}
if ((((((_root.ENEMY14._y > (_y - 200)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 120))) && (_root.ENEMY14._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY14.Health > 0)) {
locked = 14;
}
if ((((((_root.ENEMY15._y > (_y - 200)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 120))) && (_root.ENEMY15._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY15.Health > 0)) {
locked = 15;
}
if ((((((_root.ENEMY16._y > (_y - 200)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 120))) && (_root.ENEMY16._x < (_x + 120))) && (locked <= 0)) && (_root.ENEMY16.Health > 0)) {
locked = 16;
}
if ((locked == 1) && (_root.ENEMY._x > _x)) {
_x = (_x + 4);
}
if ((locked == 2) && (_root.ENEMY2._x > _x)) {
_x = (_x + 4);
}
if ((locked == 3) && (_root.ENEMY3._x > _x)) {
_x = (_x + 4);
}
if ((locked == 4) && (_root.ENEMY4._x > _x)) {
_x = (_x + 4);
}
if ((locked == 5) && (_root.ENEMY5._x > _x)) {
_x = (_x + 4);
}
if ((locked == 6) && (_root.ENEMY6._x > _x)) {
_x = (_x + 4);
}
if ((locked == 7) && (_root.ENEMY7._x > _x)) {
_x = (_x + 4);
}
if ((locked == 8) && (_root.ENEMY8._x > _x)) {
_x = (_x + 4);
}
if ((locked == 9) && (_root.ENEMY9._x > _x)) {
_x = (_x + 4);
}
if ((locked == 10) && (_root.ENEMY10._x > _x)) {
_x = (_x + 4);
}
if ((locked == 11) && (_root.ENEMY11._x > _x)) {
_x = (_x + 4);
}
if ((locked == 12) && (_root.ENEMY12._x > _x)) {
_x = (_x + 4);
}
if ((locked == 13) && (_root.ENEMY13._x > _x)) {
_x = (_x + 4);
}
if ((locked == 14) && (_root.ENEMY14._x > _x)) {
_x = (_x + 4);
}
if ((locked == 15) && (_root.ENEMY15._x > _x)) {
_x = (_x + 4);
}
if ((locked == 16) && (_root.ENEMY16._x > _x)) {
_x = (_x + 4);
}
if ((locked == 1) && (_root.ENEMY._x < _x)) {
_x = (_x - 4);
}
if ((locked == 2) && (_root.ENEMY2._x < _x)) {
_x = (_x - 4);
}
if ((locked == 3) && (_root.ENEMY3._x < _x)) {
_x = (_x - 4);
}
if ((locked == 4) && (_root.ENEMY4._x < _x)) {
_x = (_x - 4);
}
if ((locked == 5) && (_root.ENEMY5._x < _x)) {
_x = (_x - 4);
}
if ((locked == 6) && (_root.ENEMY6._x < _x)) {
_x = (_x - 4);
}
if ((locked == 7) && (_root.ENEMY7._x < _x)) {
_x = (_x - 4);
}
if ((locked == 8) && (_root.ENEMY8._x < _x)) {
_x = (_x - 4);
}
if ((locked == 9) && (_root.ENEMY9._x < _x)) {
_x = (_x - 4);
}
if ((locked == 10) && (_root.ENEMY10._x < _x)) {
_x = (_x - 4);
}
if ((locked == 11) && (_root.ENEMY11._x < _x)) {
_x = (_x - 4);
}
if ((locked == 12) && (_root.ENEMY12._x < _x)) {
_x = (_x - 4);
}
if ((locked == 13) && (_root.ENEMY13._x < _x)) {
_x = (_x - 4);
}
if ((locked == 14) && (_root.ENEMY14._x < _x)) {
_x = (_x - 4);
}
if ((locked == 15) && (_root.ENEMY15._x < _x)) {
_x = (_x - 4);
}
if ((locked == 16) && (_root.ENEMY16._x < _x)) {
_x = (_x - 4);
}
if ((locked == 1) && (_root.ENEMY._y > _y)) {
_y = (_y + 4);
}
if ((locked == 2) && (_root.ENEMY2._y > _y)) {
_y = (_y + 4);
}
if ((locked == 3) && (_root.ENEMY3._y > _y)) {
_y = (_y + 4);
}
if ((locked == 4) && (_root.ENEMY4._y > _y)) {
_y = (_y + 4);
}
if ((locked == 5) && (_root.ENEMY5._y > _y)) {
_y = (_y + 4);
}
if ((locked == 6) && (_root.ENEMY6._y > _y)) {
_y = (_y + 4);
}
if ((locked == 7) && (_root.ENEMY7._y > _y)) {
_y = (_y + 4);
}
if ((locked == 8) && (_root.ENEMY8._y > _y)) {
_y = (_y + 4);
}
if ((locked == 9) && (_root.ENEMY9._y > _y)) {
_y = (_y + 4);
}
if ((locked == 10) && (_root.ENEMY10._y > _y)) {
_y = (_y + 4);
}
if ((locked == 11) && (_root.ENEMY11._y > _y)) {
_y = (_y + 4);
}
if ((locked == 12) && (_root.ENEMY12._y > _y)) {
_y = (_y + 4);
}
if ((locked == 13) && (_root.ENEMY13._y > _y)) {
_y = (_y + 4);
}
if ((locked == 14) && (_root.ENEMY14._y > _y)) {
_y = (_y + 4);
}
if ((locked == 15) && (_root.ENEMY15._y > _y)) {
_y = (_y + 4);
}
if ((locked == 16) && (_root.ENEMY16._y > _y)) {
_y = (_y + 4);
}
if ((locked == 1) && (_root.ENEMY._y < _y)) {
_y = (_y - 4);
}
if ((locked == 2) && (_root.ENEMY2._y < _y)) {
_y = (_y - 4);
}
if ((locked == 3) && (_root.ENEMY3._y < _y)) {
_y = (_y - 4);
}
if ((locked == 4) && (_root.ENEMY4._y < _y)) {
_y = (_y - 4);
}
if ((locked == 5) && (_root.ENEMY5._y < _y)) {
_y = (_y - 4);
}
if ((locked == 6) && (_root.ENEMY6._y < _y)) {
_y = (_y - 4);
}
if ((locked == 7) && (_root.ENEMY7._y < _y)) {
_y = (_y - 4);
}
if ((locked == 8) && (_root.ENEMY8._y < _y)) {
_y = (_y - 4);
}
if ((locked == 9) && (_root.ENEMY9._y < _y)) {
_y = (_y - 4);
}
if ((locked == 10) && (_root.ENEMY10._y < _y)) {
_y = (_y - 4);
}
if ((locked == 11) && (_root.ENEMY11._y < _y)) {
_y = (_y - 4);
}
if ((locked == 12) && (_root.ENEMY12._y < _y)) {
_y = (_y - 4);
}
if ((locked == 13) && (_root.ENEMY13._y < _y)) {
_y = (_y - 4);
}
if ((locked == 14) && (_root.ENEMY14._y < _y)) {
_y = (_y - 4);
}
if ((locked == 15) && (_root.ENEMY15._y < _y)) {
_y = (_y - 4);
}
if ((locked == 16) && (_root.ENEMY16._y < _y)) {
_y = (_y - 4);
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocket2.gotoAndStop(50);
_root.rocket2._visible = false;
removeMovieClip(_root.rocket2);
}
Instance of Symbol 360 MovieClip "laser9" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x - 10);
_y = (_root.ship._y - 40);
power = 15;
lockon = 0;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 22);
}
if (_x > 400) {
_visible = false;
_root.removeMovieClip(this);
}
if (_x < 0) {
_visible = false;
_root.removeMovieClip(this);
}
if (_y < 0) {
_visible = false;
_root.removeMovieClip(this);
}
if (_y > 600) {
_visible = false;
_root.removeMovieClip(this);
}
if (((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ENEMY16.Health > 0)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
_visible = false;
removeMovieClip(this);
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
_root.laser9._visible = false;
removeMovieClip(_root.laser9);
}
Instance of Symbol 363 MovieClip "laserBU1" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = _root.ship._y;
power = 3;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x + 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((30 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * acdc);
acdc = acdc + 0.2;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.laserBU1.gotoAndStop(50);
_root.laserBU1._visible = false;
removeMovieClip(_root.laserBU1);
}
Instance of Symbol 363 MovieClip "laserBU2" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = _root.ship._y;
power = 3;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x - 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((-30 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_root.ENEMY.Health > 0)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_root.ENEMY2.Health > 0)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_root.ENEMY3.Health > 0)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_root.ENEMY4.Health > 0)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_root.ENEMY5.Health > 0)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_root.ENEMY6.Health > 0)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_root.ENEMY7.Health > 0)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_root.ENEMY8.Health > 0)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_root.ENEMY9.Health > 0)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_root.ENEMY10.Health > 0)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_root.ENEMY11.Health > 0)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_root.ENEMY12.Health > 0)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_root.ENEMY13.Health > 0)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_root.ENEMY14.Health > 0)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_root.ENEMY15.Health > 0)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.laserBU2.gotoAndStop(50);
_root.laserBU2._visible = false;
removeMovieClip(_root.laserBU2);
}
Instance of Symbol 363 MovieClip "rocketLOCKED1" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x + 30;
self = 0;
acc = -7;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((20 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketlocked1.gotoAndStop(50);
_root.rocketlocked1._visible = false;
removeMovieClip(_root.rocketlocked1);
}
Instance of Symbol 363 MovieClip "rocketLOCKED2" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = _root.ship._y;
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
_rotation = 0;
ini = true;
bizzare = _root.ship._x - 30;
self = 0;
acc = -12;
acdc = 1;
}
onClipEvent (enterFrame) {
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == true)) {
_y = (_y - 7);
_rotation = 0;
_x = ((-20 * Math.sin(_y / 30)) + bizzare);
master = master + 1;
}
if (master > 10) {
ini = false;
}
if ((((_root.ship.pause != true) && (destroy == false)) && (locked <= 0)) && (ini == false)) {
_y = (_y - 7);
}
if ((((((((_root.ENEMY._y > (_y - 100)) && (_root.ENEMY._y < (_y + 100))) && (_root.ENEMY._x > (_x - 50))) && (_root.ENEMY._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY.Health > 0)) && (_root.ENEMY._visible == true)) {
locked = 1;
}
if ((((((((_root.ENEMY2._y > (_y - 100)) && (_root.ENEMY2._y < (_y + 100))) && (_root.ENEMY2._x > (_x - 50))) && (_root.ENEMY2._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._visible == true)) {
locked = 2;
}
if ((((((((_root.ENEMY3._y > (_y - 100)) && (_root.ENEMY3._y < (_y + 100))) && (_root.ENEMY3._x > (_x - 50))) && (_root.ENEMY3._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY3._visible == true)) {
locked = 3;
}
if ((((((((_root.ENEMY4._y > (_y - 100)) && (_root.ENEMY4._y < (_y + 100))) && (_root.ENEMY4._x > (_x - 50))) && (_root.ENEMY4._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY4.Health > 0)) && (_root.ENEMY4._visible == true)) {
locked = 4;
}
if ((((((((_root.ENEMY5._y > (_y - 100)) && (_root.ENEMY5._y < (_y + 100))) && (_root.ENEMY5._x > (_x - 50))) && (_root.ENEMY5._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY5.Health > 0)) && (_root.ENEMY5._visible == true)) {
locked = 5;
}
if ((((((((_root.ENEMY6._y > (_y - 100)) && (_root.ENEMY6._y < (_y + 100))) && (_root.ENEMY6._x > (_x - 50))) && (_root.ENEMY6._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY6.Health > 0)) && (_root.ENEMY6._visible == true)) {
locked = 6;
}
if ((((((((_root.ENEMY7._y > (_y - 100)) && (_root.ENEMY7._y < (_y + 100))) && (_root.ENEMY7._x > (_x - 50))) && (_root.ENEMY7._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY7.Health > 0)) && (_root.ENEMY7._visible == true)) {
locked = 7;
}
if ((((((((_root.ENEMY8._y > (_y - 100)) && (_root.ENEMY8._y < (_y + 100))) && (_root.ENEMY8._x > (_x - 50))) && (_root.ENEMY8._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY8.Health > 0)) && (_root.ENEMY8._visible == true)) {
locked = 8;
}
if ((((((((_root.ENEMY9._y > (_y - 100)) && (_root.ENEMY9._y < (_y + 100))) && (_root.ENEMY9._x > (_x - 50))) && (_root.ENEMY9._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY9.Health > 0)) && (_root.ENEMY9._visible == true)) {
locked = 9;
}
if ((((((((_root.ENEMY10._y > (_y - 100)) && (_root.ENEMY10._y < (_y + 100))) && (_root.ENEMY10._x > (_x - 50))) && (_root.ENEMY10._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY10.Health > 0)) && (_root.ENEMY10._visible == true)) {
locked = 10;
}
if ((((((((_root.ENEMY11._y > (_y - 100)) && (_root.ENEMY11._y < (_y + 100))) && (_root.ENEMY11._x > (_x - 50))) && (_root.ENEMY11._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY11.Health > 0)) && (_root.ENEMY11._visible == true)) {
locked = 11;
}
if ((((((((_root.ENEMY12._y > (_y - 100)) && (_root.ENEMY12._y < (_y + 100))) && (_root.ENEMY12._x > (_x - 50))) && (_root.ENEMY12._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY12.Health > 0)) && (_root.ENEMY12._visible == true)) {
locked = 12;
}
if ((((((((_root.ENEMY14._y > (_y - 100)) && (_root.ENEMY14._y < (_y + 100))) && (_root.ENEMY14._x > (_x - 50))) && (_root.ENEMY14._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY14.Health > 0)) && (_root.ENEMY14._visible == true)) {
locked = 14;
}
if ((((((((_root.ENEMY15._y > (_y - 100)) && (_root.ENEMY15._y < (_y + 100))) && (_root.ENEMY15._x > (_x - 50))) && (_root.ENEMY15._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY15.Health > 0)) && (_root.ENEMY15._visible == true)) {
locked = 15;
}
if ((((((((_root.ENEMY16._y > (_y - 100)) && (_root.ENEMY16._y < (_y + 100))) && (_root.ENEMY16._x > (_x - 50))) && (_root.ENEMY16._x < (_x + 50))) && (locked <= 0)) && (ini == false)) && (_root.ENEMY16.Health > 0)) && (_root.ENEMY16._visible == true)) {
locked = 16;
}
if (locked == 1) {
_rotation = (Math.atan2(_root.ENEMY._y - _y, _root.ENEMY._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 2) {
_rotation = (Math.atan2(_root.ENEMY2._y - _y, _root.ENEMY2._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 3) {
_rotation = (Math.atan2(_root.ENEMY3._y - _y, _root.ENEMY3._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 4) {
_rotation = (Math.atan2(_root.ENEMY4._y - _y, _root.ENEMY4._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 5) {
_rotation = (Math.atan2(_root.ENEMY5._y - _y, _root.ENEMY5._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 6) {
_rotation = (Math.atan2(_root.ENEMY6._y - _y, _root.ENEMY6._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 7) {
_rotation = (Math.atan2(_root.ENEMY7._y - _y, _root.ENEMY7._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 8) {
_rotation = (Math.atan2(_root.ENEMY8._y - _y, _root.ENEMY8._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 9) {
_rotation = (Math.atan2(_root.ENEMY9._y - _y, _root.ENEMY9._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 10) {
_rotation = (Math.atan2(_root.ENEMY10._y - _y, _root.ENEMY10._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 11) {
_rotation = (Math.atan2(_root.ENEMY11._y - _y, _root.ENEMY11._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 12) {
_rotation = (Math.atan2(_root.ENEMY12._y - _y, _root.ENEMY12._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 13) {
_rotation = (Math.atan2(_root.ENEMY13._y - _y, _root.ENEMY13._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 14) {
_rotation = (Math.atan2(_root.ENEMY14._y - _y, _root.ENEMY14._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 15) {
_rotation = (Math.atan2(_root.ENEMY15._y - _y, _root.ENEMY15._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked == 16) {
_rotation = (Math.atan2(_root.ENEMY16._y - _y, _root.ENEMY16._x - _x) / (Math.PI/180));
_x = (_x + (ACC * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + (ACC * Math.sin(_rotation * (Math.PI/180))));
}
if (locked > 0) {
acc = acc + (0.6 * ACDC);
ACDC = ACDC + 0.2;
}
if (this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketlocked2.gotoAndStop(50);
_root.rocketlocked2._visible = false;
removeMovieClip(_root.rocketlocked2);
}
Instance of Symbol 358 MovieClip "rocketPL" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x - 30);
_y = (_root.ship._y - 10);
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - 14);
_x = (_x - 3);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketPL.gotoAndStop(50);
_root.rocketPL._visible = false;
removeMovieClip(_root.rocketPL);
}
Instance of Symbol 358 MovieClip "rocketPL2" in Frame 20
onClipEvent (load) {
_x = (_root.ship._x + 30);
_y = (_root.ship._y - 30);
power = 50;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
self = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (destroy == false)) {
_y = (_y - 14);
_x = (_x + 3);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (destroy == true) {
deletor = deletor + 1;
}
if (deletor > 20) {
destroy = false;
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
_root.rocketPL2.gotoAndStop(50);
_root.rocketPL2._visible = false;
removeMovieClip(_root.rocketPL2);
}
Instance of Symbol 376 MovieClip "laserpl" in Frame 20
onClipEvent (load) {
_x = _root.ship._x;
_y = (_root.ship._y + 40);
power = 7;
locked = 0;
delay = 20;
this.fuel._visible = false;
_visible = true;
destroy = false;
XMOVE = (Math.random() * 2) - (Math.random() * 2);
YMOVE = (Math.random() * 2) - (Math.random() * 2);
_xscale = 45;
_rotation = 0;
RO = (Math.random() * 20) - (Math.random() * 20);
firstRO = true;
backro = false;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (firstRO == true)) {
_y = (_y - 7);
_rotation = (_rotation + RO);
_xscale = (_xscale - 12);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if ((_root.ship.pause != true) && (backRO == true)) {
_y = (_y - 7);
_rotation = (_rotation + RO);
_xscale = (_xscale + 12);
Ymove = Ymove * 0.99;
Xmove = Xmove * 0.99;
}
if (_xscale <= -300) {
firstRO = false;
backRO = true;
}
if (_xscale >= 300) {
firstRO = true;
backRO = false;
}
if (_y < -30) {
removeMovieClip(this);
this._visible = false;
}
if (_root.ship.pause != true) {
self = self + 1;
}
if (self > 120) {
this.play();
destroy = true;
}
if ((this.hitTest(_root.ENEMY) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if ((this.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) && (_visible == true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.play();
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.hitTest(_root.meteor.core) && (_visible == true)) {
_root.meteor.dead = true;
_root.meteor.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor2.core) && (_visible == true)) {
_root.meteor2.dead = true;
_root.meteor2.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor3.core) && (_visible == true)) {
_root.meteor3.dead = true;
_root.meteor3.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor4.core) && (_visible == true)) {
_root.meteor4.dead = true;
_root.meteor4.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor5.core) && (_visible == true)) {
_root.meteor5.dead = true;
_root.meteor5.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor6.core) && (_visible == true)) {
_root.meteor6.dead = true;
_root.meteor6.gotoAndPlay("expload");
this.play();
destroy = true;
}
if (this.hitTest(_root.meteor7.core) && (_visible == true)) {
_root.meteor7.dead = true;
_root.meteor7.gotoAndPlay("expload");
this.play();
destroy = true;
}
this.LC._xscale = _xscale / 3;
this.LC._yscale = _xscale;
this.LA._xscale = _xscale / 3;
this.LA._yscale = _xscale;
_root.laserPL.gotoAndStop(50);
_root.laserPL._visible = false;
removeMovieClip(_root.laserPL);
}
Instance of Symbol 92 MovieClip "laserupgrade" in Frame 20
onClipEvent (load) {
_y = 0;
type = random(7);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
_alpha = 100;
die = 0;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type == 5) {
this.gotoAndStop(5);
}
if (type >= 6) {
this.gotoAndStop(6);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.weapon = 1;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.weapon = 2;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.weapon = 3;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.weapon = 4;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 5)) && (_visible == true)) {
_root.ship.weapon = 5;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type >= 6)) && (_visible == true)) {
_root.ship.weapon = 6;
_root.sound.play();
_visible = false;
removeMovieClip(this);
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 349 MovieClip "ENEMYfire" in Frame 20
onClipEvent (load) {
_x = _root.ENEMY._x;
_y = (_root.ENEMY._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire2" in Frame 20
onClipEvent (load) {
_x = _root.ENEMY2._x;
_y = (_root.ENEMY2._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire3" in Frame 20
onClipEvent (load) {
_x = _root.ENEMY3._x;
_y = (_root.ENEMY3._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire4" in Frame 20
onClipEvent (load) {
_rotation = _root.cannon._rotation;
_x = (_root.cannon._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire5" in Frame 20
onClipEvent (load) {
_rotation = _root.cannon2._rotation;
_x = (_root.cannon2._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon2._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire4" in Frame 20
onClipEvent (load) {
_rotation = _root.cannon7._rotation;
_x = (_root.cannon7._x - (30 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.cannon7._y - (30 * Math.sin(_rotation * (Math.PI/180))));
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYBEAM" in Frame 20
onClipEvent (load) {
_x = _root.ENEMY8._x;
_y = (_root.ENEMY8._y + 30);
power = 15;
_visible = true;
element = 1001;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
duplicateMovieClip (_root.burstor, "nullburst" + element, element);
}
if (element > 1500) {
element = 1001;
}
element = element + 1;
_root.ENEMYbeam._visible = false;
removeMovieClip(_root.ENEMYbeam);
}
Instance of Symbol 349 MovieClip "ENEMYfire10" in Frame 20
onClipEvent (load) {
_x = _root.ENEMY10._x;
_y = (_root.ENEMY10._y - 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "ENEMYfire6" in Frame 20
onClipEvent (load) {
_x = _root.ENEMY6._x;
_y = (_root.ENEMY6._y + 30);
power = 2;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 3);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
_root.damage = _root.damage + ((15 * power) * _root.difficulty);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 108 MovieClip "Health" in Frame 20
onClipEvent (load) {
_y = 0;
die = 0;
_alpha = 100;
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.Health = _root.ship.Health + 300;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 379 MovieClip "burstor" in Frame 20
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 379 MovieClip "burstor2" in Frame 20
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 379 MovieClip "burstor3" in Frame 20
onClipEvent (load) {
_x = _root.ship._x;
_y = _root.ship._y;
_alpha = 90;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_alpha = (_alpha - 4);
}
if (_alpha <= 4) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 349 MovieClip "minigun" in Frame 20
onClipEvent (load) {
_rotation = (_root.ENEMY11._rotation - 90);
_x = (_root.ENEMY11._x - (10 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.ENEMY11._y - (10 * Math.sin(_rotation * (Math.PI/180))));
power = 1;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((10 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((10 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY11._visible == false) {
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY11.Health <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 349 MovieClip "minigun2" in Frame 20
onClipEvent (load) {
_rotation = (_root.ENEMY12._rotation - 90);
_x = (_root.ENEMY12._x - (10 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.ENEMY12._y - (10 * Math.sin(_rotation * (Math.PI/180))));
power = 1;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_x = (_x - (4 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y - (4 * Math.sin(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.damage = _root.damage + ((10 * power) * _root.difficulty);
_root.ship.Health = _root.ship.Health - ((10 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (_root.ENEMY12._visible == false) {
_visible = false;
removeMovieClip(this);
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
_root.laser1._visible = false;
removeMovieClip(_root.laser1);
}
Instance of Symbol 92 MovieClip "Backupupgrade" in Frame 20
onClipEvent (load) {
_y = 0;
type = random(5);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
_alpha = 100;
die = 0;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type == 5) {
this.gotoAndStop(5);
}
if (type >= 6) {
this.gotoAndStop(6);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.BUp = 1;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.BUp = 2;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.BUp = 3;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.BUp = 4;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
}
Instance of Symbol 380 MovieClip "bossblast" in Frame 20
onClipEvent (load) {
_x = _root.ENEMY14._x;
_y = _root.ENEMY14._y;
power = 5;
_rotation = (_root.ENEMY14._rotation - 90);
_visible = true;
element = 1001;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - (3 * Math.sin(_rotation * (Math.PI/180))));
_x = (_x - (3 * Math.cos(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
duplicateMovieClip (_root.burstor2, "nullburst" + element, element);
}
if (element > 1500) {
element = 1001;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
element = element + 1;
_root.bossblast._visible = false;
removeMovieClip(_root.bossblast);
}
Instance of Symbol 380 MovieClip "ROblast" in Frame 20
onClipEvent (load) {
_rotation = _root.gigacannon._rotation;
_x = (_root.gigacannon._x + (60 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.gigacannon._y + (60 * Math.sin(_rotation * (Math.PI/180))));
MMV = _root.gigacannon.RVR / 2;
power = 2;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + (3 * Math.sin(_rotation * (Math.PI/180))));
_x = (_x + (3 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + 1);
_rotation = (_rotation + MMV);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((5 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (element > 1500) {
element = 1001;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
element = element + 1;
_root.ROblast._visible = false;
removeMovieClip(_root.ROblast);
}
Instance of Symbol 380 MovieClip "ROblast2" in Frame 20
onClipEvent (load) {
_rotation = _root.gigacannon2._rotation;
_x = (_root.gigacannon2._x + (60 * Math.cos(_rotation * (Math.PI/180))));
_y = (_root.gigacannon2._y + (60 * Math.sin(_rotation * (Math.PI/180))));
MMV = _root.gigacannon2.RVR2 / 2;
power = 2;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + (3 * Math.sin(_rotation * (Math.PI/180))));
_x = (_x + (3 * Math.cos(_rotation * (Math.PI/180))));
_y = (_y + 1);
_rotation = (_rotation - MMV);
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((5 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
}
if (element > 1500) {
element = 1001;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
if (_y < 0) {
removeMovieClip(this);
this._visible = false;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
element = element + 1;
_root.ROblast2._visible = false;
removeMovieClip(_root.ROblast2);
}
Instance of Symbol 380 MovieClip "bossblast2" in Frame 20
onClipEvent (load) {
_x = _root.ENEMY15._x;
_y = _root.ENEMY15._y;
power = 5;
_rotation = (_root.ENEMY15._rotation - 90);
_visible = true;
element = 1001;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - (3 * Math.sin(_rotation * (Math.PI/180))));
_x = (_x - (3 * Math.cos(_rotation * (Math.PI/180))));
}
if (((this.hitTest(_root.ship) && (_root.ship.pause != true)) && (_visible == true)) && (_root.ship.Health > 0)) {
_root.ship.Health = _root.ship.Health - ((15 * power) * _root.difficulty);
_root.ship.gotoAndPlay("damage");
_visible = false;
removeMovieClip(this);
duplicateMovieClip (_root.burstor3, "nullburst" + element, element);
}
if (element > 1500) {
element = 1001;
}
if (_y > 570) {
removeMovieClip(this);
this._visible = false;
}
element = element + 1;
_root.bossblast2._visible = false;
removeMovieClip(_root.bossblast2);
}
Instance of Symbol 104 MovieClip "rocketupgrade" in Frame 20
onClipEvent (load) {
_y = 0;
_alpha = 100;
die = 0;
type = Math.round(Math.random() * 6);
_x = (Math.random(380) + 20);
YMOTION = Math.random() * 3;
XMOTION = (Math.random() * 3) - (Math.random() * 3);
_visible = true;
}
onClipEvent (enterFrame) {
if (type <= 1) {
this.gotoAndStop(1);
}
if (type == 2) {
this.gotoAndStop(2);
}
if (type == 3) {
this.gotoAndStop(3);
}
if (type == 4) {
this.gotoAndStop(4);
}
if (type >= 5) {
this.gotoAndStop(5);
}
if ((this.hitTest(_root.ship) && (type <= 1)) && (_visible == true)) {
_root.ship.rocket = 1;
_root.ship.rocketammoEP1 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 2)) && (_visible == true)) {
_root.ship.rocket = 2;
_root.ship.rocketammoEP2 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 3)) && (_visible == true)) {
_root.ship.rocket = 3;
_root.ship.rocketammoEP3 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type == 4)) && (_visible == true)) {
_root.ship.rocket = 4;
_root.ship.rocketammoEP4 = 20;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if ((this.hitTest(_root.ship) && (type >= 5)) && (_visible == true)) {
_root.ship.rocket = 5;
_root.ship.rocketammoEP5 = 10;
_visible = false;
removeMovieClip(this);
_root.sound.play();
}
if (_root.player.pause != true) {
_y = (_y + YMOTION);
_x = (_x + XMOTION);
die = die + 1;
}
if (die > 360) {
_alpha = (_alpha - 3);
}
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (_x <= 20) {
_x = 20;
XMOTION = Math.random() * 3;
}
if (_x >= 380) {
_x = 380;
XMOTION = (-Math.random()) * 3;
}
removeMovieClip(_root.Health);
_root.Health._visible = false;
removeMovieClip(_root.laserupgrade);
_root.laserupgrade._visible = false;
removeMovieClip(_root.rocketupgrade);
_root.rocketupgrade._visible = false;
removeMovieClip(_root.backupupgrade);
_root.backupupgrade._visible = false;
}
Instance of Symbol 388 MovieClip "ENEMY" in Frame 20
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
this.guy.gotoAndStop(4);
}
Instance of Symbol 388 MovieClip "ENEMY2" in Frame 20
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire2, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
this.guy.gotoAndStop(4);
}
Instance of Symbol 388 MovieClip "ENEMY3" in Frame 20
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) {
duplicateMovieClip (_root.ENEMYfire3, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave1 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
this.guy.gotoAndStop(4);
}
Instance of Symbol 396 MovieClip "ENEMY4" in Frame 20
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 300;
AXE = 11 + (Math.random() * 23);
respawn = 130;
dying = 20;
}
onClipEvent (enterFrame) {
if ((_root.ship.pause != true) && (_root.ship.wave2 == true)) {
_y = (_y + axe);
firing = firing + 1;
element = element + 1;
axe = axe * 0.94;
}
if (axe <= 0.5) {
axe = 0;
}
if (element > 1555) {
element = 1001;
}
if (((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave2 == true)) {
duplicateMovieClip (_root.ENEMYfire4, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
_root.cannon._visible = true;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
_root.cannon._visible = false;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave2 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -60;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
AXE = 11 + (Math.random() * 13);
}
if (_root.ship.wave2 != true) {
respawn = 120;
}
this.guy.gotoAndStop(4);
_root.cannon._x = _x + 10;
_root.cannon._y = _y + 10;
}
Instance of Symbol 398 MovieClip "cannon" in Frame 20
onClipEvent (enterFrame) {
_rotation = (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
Instance of Symbol 396 MovieClip "ENEMY5" in Frame 20
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 300;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (((_root.ship.pause != true) && (_root.ship.wave2 == true)) or ((_root.ship.pause != true) && (_root.ship.wave3 == true))) {
_y = (_y + axe);
firing = firing + 1;
element = element + 1;
axe = axe * 0.94;
}
if (axe <= 0.5) {
axe = 0;
}
if (element > 1555) {
element = 1001;
}
if ((((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave2 == true)) or (((((_root.ship._y < (_y + 300)) && (firing > 20)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true))) {
duplicateMovieClip (_root.ENEMYfire5, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
_root.cannon2._visible = true;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
_root.cannon2._visible = false;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if (((dead == true) && (_root.ship.wave2 == true)) or ((dead == true) && (_root.ship.wave3 == true))) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -60;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
AXE = 11 + (Math.random() * 13);
}
if ((_root.ship.wave3 != true) or (_root.ship.wave2 != true)) {
respawn = 120;
}
this.guy.gotoAndStop(4);
_root.cannon2._x = _x + 10;
_root.cannon2._y = _y + 10;
}
Instance of Symbol 398 MovieClip "cannon2" in Frame 20
onClipEvent (enterFrame) {
_rotation = (Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180));
}
Instance of Symbol 406 MovieClip "ENEMY8" in Frame 20
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 2000;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 1);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.4);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.4);
}
if (((((_root.ship._y < (_y + 300)) && (firing > 70)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYBEAM, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 100;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave3 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
this.guy3.gotoAndStop(4);
}
Instance of Symbol 388 MovieClip "ENEMY10" in Frame 20
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y - 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYfire10, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = 900;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y < -100) && (_root.ship.wave3 == true)) {
_y = 900;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
this.guy.gotoAndStop(4);
}
Instance of Symbol 388 MovieClip "ENEMY6" in Frame 20
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + 2);
firing = firing + 1;
element = element + 1;
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 0.7);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 0.7);
}
if (((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave3 == true)) {
duplicateMovieClip (_root.ENEMYfire6, "nullattack" + element, element);
firing = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave3 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -160;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
_root.ship.waveC = _root.ship.waveC + 1;
}
if ((_y > 900) && (_root.ship.wave3 == true)) {
_y = -160;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
}
if (_root.ship.wave3 != true) {
respawn = 120;
}
this.guy.gotoAndStop(4);
}
Instance of Symbol 416 MovieClip "ENEMY12" in Frame 20
onClipEvent (load) {
Health = 0;
this.gotoAndStop("dead");
_x = (random(350) + 25);
element = 1001;
dead = false;
HP = 400;
AXE = 11 + (Math.random() * 23);
respawn = 100;
dying = 20;
}
onClipEvent (enterFrame) {
if (_root.ship.pause != true) {
_y = (_y + Fly);
fly = fly - 0.1;
firing = firing + 1;
element = element + 1;
}
if (fly <= 0.5) {
_rotation = ((Math.atan2(_y - _root.ship._y, _x - _root.ship._x) / (Math.PI/180)) + 90);
}
if (element > 1555) {
element = 1001;
}
if ((_root.ship.pause != true) && (_root.ship._x > _x)) {
_x = (_x + 1);
}
if ((_root.ship.pause != true) && (_root.ship._x < _x)) {
_x = (_x - 1);
}
if ((((((_root.ship._y < (_y + 200)) && (firing > 30)) && (_root.ship.pause != true)) && (HEalth > 0)) && (_root.ship.wave1 == true)) && (_visible == true)) {
duplicateMovieClip (_root.minigun2, "nullattack" + element, element);
firing = 0;
}
if (Health > 0) {
dead = false;
dying = 0;
}
if ((Health <= 0) && (dead == false)) {
dying = dying + 1;
}
if ((dying > 1) && (dying < 4)) {
this.gotoAndPlay("die");
_root.score = _root.score + 10;
}
if (dying > 60) {
dead = true;
dying = 0;
}
if ((dead == true) && (_root.ship.wave1 == true)) {
respawn = respawn + 1;
_visible = false;
}
if (respawn > 140) {
dead = false;
Health = HP;
_y = -10;
_x = (random(350) + 25);
this.gotoAndStop(1);
_visible = true;
respawn = 0;
fly = 4 + (Math.random() * 6);
_root.ship.waveC = _root.ship.waveC + 1;
_y = -10;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
fly = 4 + (Math.random() * 6);
this.gotoAndStop(1);
}
if ((((_y < -10) && (_root.ship.wave1 == true)) && (fly <= 0)) && (HEalth > 0)) {
_y = -10;
Health = HP;
_root.ship.waveC = _root.ship.waveC + 1;
fly = 4 + (Math.random() * 6);
this.gotoAndStop(1);
}
if (_root.ship.wave1 != true) {
respawn = 120;
}
if (Health > 0) {
_visible = true;
}
this.guy.gotoAndStop(4);
_root.HP = Health;
_root.CHE = _visible;
}
Instance of Symbol 467 MovieClip "meteor" in Frame 20
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1400) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor2" in Frame 20
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1000) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor4" in Frame 20
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1000) {
_y = -200;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 467 MovieClip "meteor5" in Frame 20
onClipEvent (load) {
dead = false;
_xscale = ((100 + (Math.random() * 130)) - (Math.random() * 100));
motion = 2 + (Math.random() * 3);
_x = (random(350) + 25);
}
onClipEvent (enterFrame) {
if (_y > 1900) {
_y = -500;
_x = (random(350) + 25);
dead = false;
this.gotoAndPlay(1);
_xscale = ((100 + (Math.random() * 50)) - (Math.random() * 50));
motion = 3 + (Math.random() * 3);
}
if (_root.ship.pause != true) {
_y = (_y + motion);
_rotation = (_rotation + 2);
}
if (this.core.hitTest(_root.ship) && (dead == false)) {
this.gotoAndPlay("expload");
dead = true;
_root.ship.gotoAndPlay("damage");
_root.ship.Health = _root.ship.Health - (30 * _root.difficulty);
}
if (this.core.hitTest(_root.ENEMY) && (_root.ship.pause != true)) {
_root.ENEMY.Health = _root.ENEMY.Health - (5 * power);
_root.ENEMY.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY2) && (_root.ship.pause != true)) {
_root.ENEMY2.Health = _root.ENEMY2.Health - (5 * power);
_root.ENEMY2.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY3) && (_root.ship.pause != true)) {
_root.ENEMY3.Health = _root.ENEMY3.Health - (5 * power);
_root.ENEMY3.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY4) && (_root.ship.pause != true)) {
_root.ENEMY4.Health = _root.ENEMY4.Health - (5 * power);
_root.ENEMY4.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY5) && (_root.ship.pause != true)) {
_root.ENEMY5.Health = _root.ENEMY5.Health - (5 * power);
_root.ENEMY5.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY6) && (_root.ship.pause != true)) {
_root.ENEMY6.Health = _root.ENEMY6.Health - (5 * power);
_root.ENEMY6.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY7) && (_root.ship.pause != true)) {
_root.ENEMY7.Health = _root.ENEMY7.Health - (5 * power);
_root.ENEMY7.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY8) && (_root.ship.pause != true)) {
_root.ENEMY8.Health = _root.ENEMY8.Health - (5 * power);
_root.ENEMY8.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY9) && (_root.ship.pause != true)) {
_root.ENEMY9.Health = _root.ENEMY9.Health - (5 * power);
_root.ENEMY9.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY10) && (_root.ship.pause != true)) {
_root.ENEMY10.Health = _root.ENEMY10.Health - (5 * power);
_root.ENEMY10.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY11) && (_root.ship.pause != true)) {
_root.ENEMY11.Health = _root.ENEMY11.Health - (5 * power);
_root.ENEMY11.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY12) && (_root.ship.pause != true)) {
_root.ENEMY12.Health = _root.ENEMY12.Health - (5 * power);
_root.ENEMY12.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY13) && (_root.ship.pause != true)) {
_root.ENEMY13.Health = _root.ENEMY13.Health - (5 * power);
_root.ENEMY13.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY14) && (_root.ship.pause != true)) {
_root.ENEMY14.Health = _root.ENEMY14.Health - (5 * power);
_root.ENEMY14.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY15) && (_root.ship.pause != true)) {
_root.ENEMY15.Health = _root.ENEMY15.Health - (5 * power);
_root.ENEMY15.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (this.core.hitTest(_root.ENEMY16) && (_root.ship.pause != true)) {
_root.ENEMY16.Health = _root.ENEMY16.Health - (5 * power);
_root.ENEMY16.play();
this.gotoAndPlay("expload");
destroy = true;
_root.score = _root.score + (1 * power);
}
if (_root.ship.wave4 == true) {
_root.removeMovieClip(this);
_visible = false;
motion = 0;
_y = -500;
}
_yscale = _xscale;
}
Instance of Symbol 512 MovieClip "stat" in Frame 20
onClipEvent (load) {
this.swapDepths(9999);
}
Instance of Symbol 558 MovieClip "music" in Frame 20
onClipEvent (load) {
this.swapDepths(99999);
this.gotoAndPlay("battle3");
}
Frame 21
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 22
_root.CRE = true;
stop();
_quality = "High";
Frame 23
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
play();
Frame 24
_root.submit = false;
stop();
_quality = "High";
Instance of Symbol 617 MovieClip "NARK" in Frame 24
onClipEvent (enterFrame) {
if (_root.submit == true) {
this.gotoAndStop(2);
_root.BUO._visible = false;
} else {
_root.BUO._visible = true;
}
}
Instance of Symbol 622 MovieClip in Frame 24
onClipEvent (enterFrame) {
_root.scoreval = (((_root.OAS + _root.OAS2) + _root.OAS3) + _root.OAS4) + _root.OAS5;
var strOut = ((playerName.text + "|") + _root.ScoreVal);
var strOut2 = _root.EncrpytString(strOut);
}
Frame 25
stop();
gotoAndStop (2);
Frame 26
_root.CRE = false;
stop();
_quality = "High";
Instance of Symbol 609 MovieClip in Frame 26
onClipEvent (load) {
this.gotoAndPlay("CRE");
}
Symbol 27 MovieClip Frame 15
stop();
Symbol 29 MovieClip Frame 15
stop();
Symbol 33 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded * 6.2;
percent = (Math.round(PercentLoaded) * 3) + 7;
} else {
gotoAndStop (3);
}
Symbol 33 MovieClip Frame 2
gotoAndPlay (1);
Symbol 33 MovieClip Frame 3
stop();
Instance of Symbol 27 MovieClip in Symbol 33 MovieClip Frame 3
onClipEvent (enterFrame) {
if (key.IsDown(32)) {
_root.loader.play();
}
}
Symbol 33 MovieClip Frame 26
stop();
_root.play();
Symbol 46 Button
on (release) {
getURL ("http://www.heavygames.com", "_blank");
}
Symbol 47 Button
on (release) {
getURL ((("http://www.heavygames.com/index.asp?gameid=enkai&aid=" + _root.GetUrlParam(_url, "aid=")) + "&refer=") + _root.GetBaseUrl(_url), "_blank");
}
Symbol 48 MovieClip Frame 1
stop();
Symbol 55 Button
on (release) {
getURL ("www.dizimz.net", "_blank");
}
Symbol 59 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 1
_root.stopAllSounds();
Symbol 64 MovieClip Frame 5
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 64 MovieClip Frame 21
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 64 MovieClip Frame 35
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 64 MovieClip Frame 48
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 64 MovieClip Frame 57
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 64 MovieClip Frame 67
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 64 MovieClip Frame 84
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 64 MovieClip Frame 96
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 64 MovieClip Frame 109
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 64 MovieClip Frame 121
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(100);
Symbol 64 MovieClip Frame 122
stop();
Symbol 69 Button
on (rollOver) {
if (_root.selecting.select != true) {
_root.selecting.gotoAndStop(1);
_root.selecting.it = 0;
}
}
on (release) {
if (_root.selecting.select != true) {
_root.selecting.select = true;
_root.startgame.play();
}
}
Symbol 70 Button
on (rollOver) {
if (_root.selecting.select != true) {
_root.selecting.gotoAndStop(2);
_root.selecting.it = 1;
}
}
on (release) {
if (_root.selecting.select != true) {
_root.selecting.select = true;
_root.menuS.gotoAndStop(3);
}
}
Symbol 71 Button
on (rollOver) {
if (_root.selecting.select != true) {
_root.selecting.gotoAndStop(3);
_root.selecting.it = 2;
}
}
on (release) {
if (_root.selecting.select != true) {
_root.selecting.select = true;
_root.menuS.gotoAndStop(2);
}
}
Symbol 72 Button
on (rollOver) {
if (_root.selecting.select != true) {
_root.selecting.gotoAndStop(4);
_root.selecting.it = 3;
}
}
on (release) {
if (_root.selecting.select != true) {
getURL ("http://www.heavygames.com", "_blank");
}
}
Symbol 73 Button
on (rollOver) {
if (_root.selecting.select != true) {
_root.selecting.gotoAndStop(5);
_root.selecting.it = 4;
}
}
on (release) {
if (_root.selecting.select != true) {
_root.selecting.select = true;
_root.menuS.gotoAndStop(4);
}
}
Symbol 74 Button
on (rollOver) {
if (_root.selecting.select != true) {
_root.selecting.gotoAndStop(6);
_root.selecting.it = 5;
}
}
on (release) {
if (_root.selecting.select != true) {
_root.selecting.select = true;
_root.gotoAndPlay("credit2");
}
}
Symbol 77 Button
on (rollOver) {
_root.KB = true;
}
Symbol 78 Button
on (rollOver) {
_root.KB = false;
}
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 2
stop();
Symbol 79 MovieClip Frame 3
stop();
Symbol 79 MovieClip Frame 4
stop();
Symbol 79 MovieClip Frame 5
stop();
Symbol 79 MovieClip Frame 6
stop();
Symbol 79 MovieClip Frame 7
gotoAndStop (1);
Symbol 79 MovieClip Frame 9
stop();
Symbol 79 MovieClip Frame 10
stop();
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
stop();
Symbol 92 MovieClip Frame 3
stop();
Symbol 92 MovieClip Frame 4
stop();
Symbol 92 MovieClip Frame 5
stop();
Symbol 92 MovieClip Frame 6
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
stop();
Symbol 104 MovieClip Frame 3
stop();
Symbol 104 MovieClip Frame 4
stop();
Symbol 104 MovieClip Frame 5
stop();
Symbol 108 MovieClip Frame 1
stop();
Symbol 116 Button
on (release) {
_root.menuS.gotoAndStop(1);
}
Symbol 126 Button
on (release) {
if (_root.menus.PW == _root.PW1) {
repress = 0;
_root.gotoAndStop("mission2");
}
if (_root.menus.PW == _root.PW2) {
repress = 0;
_root.gotoAndStop("mission3");
}
if (_root.menus.PW == _root.PW3) {
repress = 0;
_root.gotoAndStop("mission4");
}
if (_root.menus.PW == _root.PW4) {
repress = 0;
_root.gotoAndStop("mission5");
}
}
Symbol 135 MovieClip Frame 1
_root.selecting.select = false;
_root.selecting.setting = 0;
stop();
Symbol 135 MovieClip Frame 2
stop();
Instance of Symbol 113 MovieClip in Symbol 135 MovieClip Frame 2
onClipEvent (load) {
repress = 0;
}
onClipEvent (enterFrame) {
if (key.IsDown(32) && (repress > 20)) {
_root.menuS.gotoAndStop(1);
}
repress = repress + 1;
}
Symbol 135 MovieClip Frame 3
stop();
Instance of Symbol 121 MovieClip in Symbol 135 MovieClip Frame 3
onClipEvent (load) {
repress = 0;
}
onClipEvent (enterFrame) {
if ((key.Isdown(32) && (_root.menus.PW == _root.PW1)) && (repress > 20)) {
repress = 0;
_root.gotoAndStop("mission2");
}
if ((key.Isdown(32) && (_root.menus.PW == _root.PW2)) && (repress > 20)) {
repress = 0;
_root.gotoAndStop("mission3");
}
if ((key.Isdown(32) && (_root.menus.PW == _root.PW3)) && (repress > 20)) {
repress = 0;
_root.gotoAndStop("mission4");
}
if ((key.Isdown(32) && (_root.menus.PW == _root.PW4)) && (repress > 20)) {
repress = 0;
_root.gotoAndStop("mission5");
}
repress = repress + 1;
}
Instance of Symbol 124 MovieClip in Symbol 135 MovieClip Frame 3
onClipEvent (load) {
repress = 0;
}
onClipEvent (enterFrame) {
if (key.IsDown(17) && (repress > 20)) {
_root.menuS.gotoAndStop(1);
}
repress = repress + 1;
}
Symbol 135 MovieClip Frame 4
stop();
Instance of Symbol 113 MovieClip in Symbol 135 MovieClip Frame 4
onClipEvent (load) {
repress = 0;
}
onClipEvent (enterFrame) {
if (key.IsDown(32) && (repress > 20)) {
_root.menuS.gotoAndStop(1);
}
repress = repress + 1;
}
Instance of Symbol 79 MovieClip "selecting" in Symbol 135 MovieClip Frame 4
onClipEvent (load) {
setting = 0;
}
onClipEvent (enterFrame) {
if (_root.KB != true) {
this.gotoAndStop(10);
}
if (_root.KB == true) {
this.gotoAndStop(9);
}
if (key.IsDown(40) && (select == true)) {
_root.KB = false;
}
if (key.IsDown(38) && (select == true)) {
_root.KB = true;
}
}
onClipEvent (keyUp) {
select = true;
}
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
stopAllSounds();
Instance of Symbol 137 MovieClip "flame" in Symbol 140 MovieClip Frame 2
onClipEvent (load) {
rise = Math.random() * 15;
_x = ((Math.random() * 200) - (Math.random() * 200));
_alpha = 100;
_y = (80 - (Math.random() * 60));
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
if (repeat > 5) {
duplicateMovieClip (_root.startgame.flame, "nullstar" + element, element);
repeat = 0;
}
element = element + 1;
repeat = repeat + 1;
_alpha = (_alpha - 0.4);
_y = (_y - rise);
rise = rise * 0.9;
}
Symbol 140 MovieClip Frame 68
stop();
_root.play();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 2
stop();
Symbol 188 MovieClip Frame 17
MM = _url;
_root.NG = MM.slice(0, 29);
trace(MM);
if (_root.NG == _root.NGURL) {
_root.gotoAndStop(2);
}
if (_root.NG != _root.NGURL) {
_root.INTRO.gotoAndPlay("skipNG");
}
Symbol 188 MovieClip Frame 18
MM = _url;
_root.NG = MM.slice(0, 29);
trace(MM);
if (_root.NG == _root.NGURL) {
_root.gotoAndStop(2);
} else if (_root.NG != _root.NGURL) {
_root.INTRO.gotoAndPlay("skipNG");
}
Symbol 188 MovieClip Frame 19
MM = _url;
_root.NG = MM.slice(0, 29);
trace(MM);
if (_root.NG == _root.NGURL) {
_root.gotoAndStop(2);
}
if (_root.NG != _root.NGURL) {
_root.INTRO.gotoAndPlay("skipNG");
}
Instance of Symbol 154 MovieClip "stars" in Symbol 188 MovieClip Frame 320
onClipEvent (enterFrame) {
if (_y > 200) {
_rotation = ((Math.random() * 20) - (Math.random() * 20));
_y = -1000;
}
}
Symbol 188 MovieClip Frame 1321
stopAllSounds();
Symbol 188 MovieClip Frame 1324
stop();
_root.play();
Symbol 201 Button
on (release) {
_root.missionstarted.play();
}
Symbol 238 MovieClip Frame 1
stop();
Instance of Symbol 199 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (load) {
repress = 0;
}
onClipEvent (enterFrame) {
if (key.IsDown(32) && (repress > 20)) {
_root.missionstarted.play();
}
repress = repress + 1;
}
Symbol 238 MovieClip Frame 2
stop();
Symbol 238 MovieClip Frame 3
stop();
Symbol 238 MovieClip Frame 4
stop();
Symbol 238 MovieClip Frame 5
stop();
Symbol 242 MovieClip Frame 1
stopAllSounds();
Symbol 242 MovieClip Frame 2
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 242 MovieClip Frame 7
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 242 MovieClip Frame 12
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 242 MovieClip Frame 17
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 242 MovieClip Frame 22
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 242 MovieClip Frame 27
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 242 MovieClip Frame 34
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 242 MovieClip Frame 46
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 188
stop();
_root.play();
Symbol 271 MovieClip Frame 31
stop();
Symbol 272 MovieClip Frame 26
stop();
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 2
stop();
Symbol 273 MovieClip Frame 3
stop();
Symbol 273 MovieClip Frame 4
stop();
Symbol 273 MovieClip Frame 5
stop();
Symbol 273 MovieClip Frame 6
stop();
Symbol 273 MovieClip Frame 7
stop();
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 2
stop();
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 207
gotoAndPlay (2);
Symbol 309 MovieClip Frame 16
_root.ship.EXPL = _root.ship.EXPL + 2;
if (((_root.ship.rechain > 10) && (_root.ship.Health > 0)) && (_root.stat.chains._alpha > 0)) {
_root.ship.chain = _root.ship.chain + 1.5;
_root.stat.chains.play();
_root.ship.rechain = 0;
}
if (((_root.ship.rechain > 10) && (_root.ship.Health > 0)) && (_root.stat.chains._alpha < 100)) {
_root.ship.chain = 1.5;
_root.stat.chains.play();
_root.ship.rechain = 0;
_root.stat.chains._alpha = 100;
}
Symbol 309 MovieClip Frame 50
stop();
Symbol 315 MovieClip Frame 1
stop();
Symbol 315 MovieClip Frame 18
_root.kills = _root.kills + 1;
Symbol 315 MovieClip Frame 57
stopAllSounds();
Symbol 315 MovieClip Frame 58
_root._y = 0.9;
Symbol 315 MovieClip Frame 59
_root._x = 0.9;
Symbol 315 MovieClip Frame 60
_root._y = -0.9;
Symbol 315 MovieClip Frame 61
_root._x = -0.9;
Symbol 315 MovieClip Frame 62
_root._x = 0.9;
Symbol 315 MovieClip Frame 63
_root._y = -0.9;
Symbol 315 MovieClip Frame 64
_root._x = -0.9;
Symbol 315 MovieClip Frame 65
_root._y = 0.9;
Symbol 315 MovieClip Frame 66
_root._x = 0.9;
Symbol 315 MovieClip Frame 67
_root._y = -0.9;
Symbol 315 MovieClip Frame 68
_root._y = -0.9;
Symbol 315 MovieClip Frame 69
_root._x = -0.9;
Symbol 315 MovieClip Frame 70
_root._x = 0.9;
Symbol 315 MovieClip Frame 71
_root._y = 0;
_root.x = 0;
Symbol 315 MovieClip Frame 132
stop();
Instance of Symbol 321 MovieClip "gore" in Symbol 322 MovieClip Frame 1
/* no clip actions */
Symbol 324 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 2
_root.score = _root.score + 80;
Symbol 324 MovieClip Frame 6
gotoAndStop (1);
Symbol 324 MovieClip Frame 65
stop();
Symbol 334 MovieClip Frame 1
stop();
Instance of Symbol 309 MovieClip in Symbol 334 MovieClip Frame 4
onClipEvent (load) {
_rotation = ((Math.random() * 70) - (Math.random() * 70));
}
Instance of Symbol 309 MovieClip in Symbol 334 MovieClip Frame 6
onClipEvent (load) {
_rotation = ((Math.random() * 70) - (Math.random() * 70));
}
Instance of Symbol 309 MovieClip in Symbol 334 MovieClip Frame 11
onClipEvent (load) {
_rotation = ((Math.random() * 70) - (Math.random() * 70));
}
Instance of Symbol 309 MovieClip in Symbol 334 MovieClip Frame 15
onClipEvent (load) {
_rotation = ((Math.random() * 70) - (Math.random() * 70));
}
Instance of Symbol 309 MovieClip in Symbol 334 MovieClip Frame 18
onClipEvent (load) {
_rotation = ((Math.random() * 70) - (Math.random() * 70));
}
Instance of Symbol 309 MovieClip in Symbol 334 MovieClip Frame 21
onClipEvent (load) {
_rotation = ((Math.random() * 70) - (Math.random() * 70));
}
Symbol 334 MovieClip Frame 60
stop();
Symbol 334 MovieClip Frame 66
gotoAndStop (1);
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 30
_root.score = _root.score + 200;
Symbol 344 MovieClip Frame 70
gotoAndStop (1);
Symbol 344 MovieClip Frame 119
_root.score = _root.score + 300;
Symbol 344 MovieClip Frame 140
gotoAndStop (1);
Symbol 351 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 2
_root._y = 0.7;
_root._x = 0.7;
Instance of Symbol 309 MovieClip in Symbol 351 MovieClip Frame 2
onClipEvent (load) {
_rotation = ((Math.random() * 70) - (Math.random() * 70));
}
Symbol 351 MovieClip Frame 3
_root._y = -0.7;
_root._x = -0.7;
Symbol 351 MovieClip Frame 4
_root._y = 0.7;
_root._x = 0.7;
Symbol 351 MovieClip Frame 5
_root._y = 0;
_root._x = 0;
Symbol 351 MovieClip Frame 50
gotoAndStop (45);
Symbol 358 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 2
_root._y = 0.7;
Instance of Symbol 309 MovieClip in Symbol 358 MovieClip Frame 2
onClipEvent (load) {
_rotation = ((Math.random() * 70) - (Math.random() * 70));
}
Symbol 358 MovieClip Frame 3
_root._y = -0.7;
Symbol 358 MovieClip Frame 4
_root._y = 0.7;
Symbol 358 MovieClip Frame 5
_root._y = -0.7;
Instance of Symbol 309 MovieClip in Symbol 358 MovieClip Frame 6
onClipEvent (load) {
_rotation = ((Math.random() * 70) - (Math.random() * 70));
}
Symbol 358 MovieClip Frame 50
gotoAndStop (45);
Symbol 363 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 363 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 309 MovieClip in Symbol 363 MovieClip Frame 2
onClipEvent (load) {
_rotation = ((Math.random() * 70) - (Math.random() * 70));
}
Symbol 363 MovieClip Frame 3
_root._y = 0.7;
_root._x = 0.7;
Symbol 363 MovieClip Frame 4
_root._y = -0.7;
_root._x = -0.7;
Symbol 363 MovieClip Frame 5
_root._y = 0.7;
_root._x = 0.7;
Symbol 363 MovieClip Frame 6
_root._y = 0;
_root._x = 0;
Symbol 363 MovieClip Frame 49
gotoAndStop (45);
Symbol 376 MovieClip Frame 11
gotoAndPlay (3);
Symbol 379 MovieClip Frame 30
stop();
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 2
stop();
Symbol 387 MovieClip Frame 3
stop();
Symbol 387 MovieClip Frame 4
stop();
Symbol 388 MovieClip Frame 1
stop();
Symbol 388 MovieClip Frame 2
_root.score = _root.score + 80;
Symbol 388 MovieClip Frame 5
gotoAndStop (1);
Symbol 388 MovieClip Frame 37
_root.kills = _root.kills + 1;
Symbol 388 MovieClip Frame 45
stop();
Symbol 395 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 2
stop();
Symbol 395 MovieClip Frame 3
stop();
Symbol 395 MovieClip Frame 4
stop();
Symbol 396 MovieClip Frame 2
_root.score = _root.score + 3;
Symbol 396 MovieClip Frame 5
gotoAndStop (1);
Symbol 396 MovieClip Frame 37
_root.kills = _root.kills + 1;
Symbol 396 MovieClip Frame 45
stop();
Symbol 405 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 2
stop();
Symbol 405 MovieClip Frame 3
stop();
Symbol 405 MovieClip Frame 4
stop();
Symbol 406 MovieClip Frame 3
_root.score = _root.score + 80;
Symbol 406 MovieClip Frame 5
gotoAndStop (1);
Symbol 406 MovieClip Frame 37
_root.kills = _root.kills + 1;
Symbol 406 MovieClip Frame 45
stop();
Symbol 409 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 9
gotoAndStop (1);
Symbol 409 MovieClip Frame 19
gotoAndStop (1);
Symbol 415 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 2
stop();
Symbol 415 MovieClip Frame 3
stop();
Symbol 415 MovieClip Frame 4
stop();
Symbol 416 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 2
_root.score = _root.score + 80;
Symbol 416 MovieClip Frame 5
gotoAndStop (1);
Symbol 416 MovieClip Frame 37
_root.kills = _root.kills + 1;
Symbol 416 MovieClip Frame 45
stop();
Symbol 467 MovieClip Frame 2
_root.score = _root.score + 1000;
Symbol 467 MovieClip Frame 40
gotoAndPlay (1);
Symbol 467 MovieClip Frame 71
stop();
Symbol 496 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 6
gotoAndPlay (2);
Symbol 510 MovieClip Frame 1
gotoAndPlay (1);
Instance of Symbol 496 MovieClip "bar" in Symbol 512 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ship.Health <= 300) {
this.play();
}
if (_root.ship.Health > 300) {
this.gotoAndStop(1);
}
}
Symbol 558 MovieClip Frame 1
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(0);
stopAllSounds();
Symbol 558 MovieClip Frame 5
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 558 MovieClip Frame 22
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 558 MovieClip Frame 37
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 558 MovieClip Frame 53
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 558 MovieClip Frame 73
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 558 MovieClip Frame 90
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 558 MovieClip Frame 106
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 558 MovieClip Frame 121
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 558 MovieClip Frame 135
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 558 MovieClip Frame 141
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(100);
Symbol 558 MovieClip Frame 142
stop();
Symbol 558 MovieClip Frame 143
_quality = "High";
Symbol 558 MovieClip Frame 147
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 558 MovieClip Frame 152
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 558 MovieClip Frame 157
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 558 MovieClip Frame 163
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 558 MovieClip Frame 168
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 558 MovieClip Frame 175
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 558 MovieClip Frame 181
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 558 MovieClip Frame 187
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 558 MovieClip Frame 194
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 558 MovieClip Frame 195
stopAllSounds();
Symbol 558 MovieClip Frame 209
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 558 MovieClip Frame 230
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 558 MovieClip Frame 245
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 558 MovieClip Frame 261
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 558 MovieClip Frame 281
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 558 MovieClip Frame 298
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 558 MovieClip Frame 314
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 558 MovieClip Frame 329
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 558 MovieClip Frame 343
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 558 MovieClip Frame 349
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(100);
Symbol 558 MovieClip Frame 482
_quality = "Low";
_root.ship.bossbattle = true;
Symbol 558 MovieClip Frame 600
stop();
Symbol 558 MovieClip Frame 608
_quality = "High";
Symbol 558 MovieClip Frame 654
_quality = "High";
Symbol 558 MovieClip Frame 723
stop();
Instance of Symbol 542 MovieClip in Symbol 558 MovieClip Frame 723
onClipEvent (enterFrame) {
if (key.IsDown(32)) {
_root.music.play();
}
}
Symbol 558 MovieClip Frame 760
stop();
_root.play();
Symbol 558 MovieClip Frame 765
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 558 MovieClip Frame 770
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 558 MovieClip Frame 775
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 558 MovieClip Frame 781
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 558 MovieClip Frame 786
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 558 MovieClip Frame 793
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 558 MovieClip Frame 797
_quality = "High";
Symbol 558 MovieClip Frame 799
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 558 MovieClip Frame 805
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 558 MovieClip Frame 809
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 558 MovieClip Frame 813
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(0);
Symbol 558 MovieClip Frame 816
_root.stopAllSounds();
Symbol 558 MovieClip Frame 817
stopAllSounds();
Symbol 558 MovieClip Frame 941
_root.gotoAndStop("gameoverX");
_root.gotoAndStop(23);
Symbol 558 MovieClip Frame 942
_root.gotoAndStop(23);
Symbol 558 MovieClip Frame 943
_root.gotoAndStop(23);
Symbol 558 MovieClip Frame 944
_root.gotoAndStop("gameoverX");
Symbol 558 MovieClip Frame 945
stop();
Symbol 558 MovieClip Frame 968
_quality = "High";
Symbol 558 MovieClip Frame 972
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 558 MovieClip Frame 977
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 558 MovieClip Frame 982
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 558 MovieClip Frame 988
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 558 MovieClip Frame 993
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 558 MovieClip Frame 1000
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 558 MovieClip Frame 1006
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 558 MovieClip Frame 1012
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 558 MovieClip Frame 1019
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 558 MovieClip Frame 1020
stopAllSounds();
Symbol 558 MovieClip Frame 1034
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 558 MovieClip Frame 1055
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 558 MovieClip Frame 1070
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 558 MovieClip Frame 1086
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 558 MovieClip Frame 1106
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 558 MovieClip Frame 1123
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 558 MovieClip Frame 1139
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 558 MovieClip Frame 1154
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 558 MovieClip Frame 1168
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 558 MovieClip Frame 1174
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(100);
Symbol 558 MovieClip Frame 1307
_root.ship.bossbattle = true;
Symbol 558 MovieClip Frame 1311
_quality = "Low";
Symbol 558 MovieClip Frame 1425
stop();
Symbol 558 MovieClip Frame 1426
_quality = "High";
Symbol 558 MovieClip Frame 1430
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 558 MovieClip Frame 1435
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 558 MovieClip Frame 1440
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 558 MovieClip Frame 1446
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 558 MovieClip Frame 1451
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 558 MovieClip Frame 1458
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 558 MovieClip Frame 1464
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 558 MovieClip Frame 1470
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 558 MovieClip Frame 1477
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 558 MovieClip Frame 1478
stopAllSounds();
Symbol 558 MovieClip Frame 1492
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 558 MovieClip Frame 1513
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 558 MovieClip Frame 1528
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 558 MovieClip Frame 1544
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 558 MovieClip Frame 1564
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 558 MovieClip Frame 1581
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 558 MovieClip Frame 1597
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 558 MovieClip Frame 1612
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 558 MovieClip Frame 1626
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 558 MovieClip Frame 1632
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(100);
Symbol 558 MovieClip Frame 1765
_quality = "Low";
_root.ship.bossbattle = true;
Symbol 558 MovieClip Frame 1883
stop();
Symbol 558 MovieClip Frame 1884
_quality = "High";
Symbol 558 MovieClip Frame 2070
_quality = "Low";
Symbol 558 MovieClip Frame 2071
stop();
_root.ship.itson = true;
Symbol 558 MovieClip Frame 2072
_quality = "High";
Symbol 558 MovieClip Frame 2076
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 558 MovieClip Frame 2081
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 558 MovieClip Frame 2086
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 558 MovieClip Frame 2092
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 558 MovieClip Frame 2097
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 558 MovieClip Frame 2104
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 558 MovieClip Frame 2110
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 558 MovieClip Frame 2116
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 558 MovieClip Frame 2123
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 558 MovieClip Frame 2124
stopAllSounds();
Symbol 558 MovieClip Frame 2138
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 558 MovieClip Frame 2159
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 558 MovieClip Frame 2174
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 558 MovieClip Frame 2190
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 558 MovieClip Frame 2210
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 558 MovieClip Frame 2227
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 558 MovieClip Frame 2243
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 558 MovieClip Frame 2258
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 558 MovieClip Frame 2272
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 558 MovieClip Frame 2278
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(100);
Symbol 558 MovieClip Frame 2411
_quality = "Low";
_root.ship.bossbattle = true;
Symbol 558 MovieClip Frame 2529
stop();
Symbol 558 MovieClip Frame 2530
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(0);
stopAllSounds();
Symbol 558 MovieClip Frame 2534
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 558 MovieClip Frame 2551
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 558 MovieClip Frame 2566
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 558 MovieClip Frame 2582
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 558 MovieClip Frame 2602
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 558 MovieClip Frame 2619
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 558 MovieClip Frame 2635
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 558 MovieClip Frame 2650
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 558 MovieClip Frame 2664
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 558 MovieClip Frame 2670
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(100);
Symbol 558 MovieClip Frame 2671
stop();
Symbol 558 MovieClip Frame 2672
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(0);
stopAllSounds();
Symbol 558 MovieClip Frame 2676
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 558 MovieClip Frame 2693
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 558 MovieClip Frame 2708
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 558 MovieClip Frame 2724
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 558 MovieClip Frame 2744
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 558 MovieClip Frame 2761
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 558 MovieClip Frame 2777
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 558 MovieClip Frame 2792
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 558 MovieClip Frame 2806
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 558 MovieClip Frame 2812
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(100);
Symbol 558 MovieClip Frame 2813
stop();
Symbol 565 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 291
gotoAndPlay (2);
Symbol 567 MovieClip Frame 1
stop();
Symbol 567 MovieClip Frame 2
stop();
Symbol 569 MovieClip Frame 1
stop();
Symbol 569 MovieClip Frame 19
_root.kills = _root.kills + 1;
Symbol 569 MovieClip Frame 57
stopAllSounds();
Symbol 569 MovieClip Frame 58
_root._y = 0.9;
Symbol 569 MovieClip Frame 59
_root._x = 0.9;
Symbol 569 MovieClip Frame 60
_root._y = -0.9;
Symbol 569 MovieClip Frame 61
_root._x = -0.9;
Symbol 569 MovieClip Frame 62
_root._x = 0.9;
Symbol 569 MovieClip Frame 63
_root._y = -0.9;
Symbol 569 MovieClip Frame 64
_root._x = -0.9;
Symbol 569 MovieClip Frame 65
_root._y = 0.9;
Symbol 569 MovieClip Frame 66
_root._x = 0.9;
Symbol 569 MovieClip Frame 67
_root._y = -0.9;
Symbol 569 MovieClip Frame 68
_root._y = -0.9;
Symbol 569 MovieClip Frame 69
_root._x = -0.9;
Symbol 569 MovieClip Frame 70
_root._x = 0.9;
Symbol 569 MovieClip Frame 71
_root._y = 0;
_root.x = 0;
Symbol 569 MovieClip Frame 132
stop();
Symbol 579 MovieClip Frame 1
stop();
Symbol 579 MovieClip Frame 19
_root.kills = _root.kills + 1;
Symbol 579 MovieClip Frame 58
_root._y = 0.9;
Symbol 579 MovieClip Frame 59
_root._x = 0.9;
Symbol 579 MovieClip Frame 60
_root._y = -0.9;
Symbol 579 MovieClip Frame 61
_root._x = -0.9;
Symbol 579 MovieClip Frame 62
_root._x = 0.9;
Symbol 579 MovieClip Frame 63
_root._y = -0.9;
Symbol 579 MovieClip Frame 64
_root._x = -0.9;
Symbol 579 MovieClip Frame 65
_root._y = 0.9;
Symbol 579 MovieClip Frame 66
_root._x = 0.9;
Symbol 579 MovieClip Frame 67
_root._y = -0.9;
Symbol 579 MovieClip Frame 68
_root._y = -0.9;
Symbol 579 MovieClip Frame 69
_root._x = -0.9;
Symbol 579 MovieClip Frame 70
_root._x = 0.9;
Symbol 579 MovieClip Frame 71
_root._y = 0;
_root.x = 0;
Symbol 579 MovieClip Frame 132
stop();
Symbol 580 MovieClip Frame 1
stop();
Symbol 580 MovieClip Frame 19
_root.kills = _root.kills + 1;
Symbol 580 MovieClip Frame 57
stopAllSounds();
Symbol 580 MovieClip Frame 58
_root._y = 0.9;
Symbol 580 MovieClip Frame 59
_root._x = 0.9;
Symbol 580 MovieClip Frame 60
_root._y = -0.9;
Symbol 580 MovieClip Frame 61
_root._x = -0.9;
Symbol 580 MovieClip Frame 62
_root._x = 0.9;
Symbol 580 MovieClip Frame 63
_root._y = -0.9;
Symbol 580 MovieClip Frame 64
_root._x = -0.9;
Symbol 580 MovieClip Frame 65
_root._y = 0.9;
Symbol 580 MovieClip Frame 66
_root._x = 0.9;
Symbol 580 MovieClip Frame 67
_root._y = -0.9;
Symbol 580 MovieClip Frame 68
_root._y = -0.9;
Symbol 580 MovieClip Frame 69
_root._x = -0.9;
Symbol 580 MovieClip Frame 70
_root._x = 0.9;
Symbol 580 MovieClip Frame 71
_root._y = 0;
_root.x = 0;
Symbol 580 MovieClip Frame 132
stop();
Symbol 609 MovieClip Frame 1
stopAllSounds();
Instance of Symbol 589 MovieClip in Symbol 609 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y + 0.05);
}
Symbol 609 MovieClip Frame 1002
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 609 MovieClip Frame 1019
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 609 MovieClip Frame 1034
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 609 MovieClip Frame 1050
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 609 MovieClip Frame 1070
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 609 MovieClip Frame 1087
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 609 MovieClip Frame 1103
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 609 MovieClip Frame 1118
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 609 MovieClip Frame 1132
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 609 MovieClip Frame 1138
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(100);
Symbol 609 MovieClip Frame 2260
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(90);
Symbol 609 MovieClip Frame 2265
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(80);
Symbol 609 MovieClip Frame 2270
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(70);
Symbol 609 MovieClip Frame 2276
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(60);
Symbol 609 MovieClip Frame 2281
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(50);
Symbol 609 MovieClip Frame 2288
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(40);
Symbol 609 MovieClip Frame 2294
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(30);
Symbol 609 MovieClip Frame 2300
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(20);
Symbol 609 MovieClip Frame 2304
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(10);
Symbol 609 MovieClip Frame 2308
AMP = new Sound();
AMP.attachSound("missionstart");
AMP.setVolume(0);
Symbol 609 MovieClip Frame 2311
_root.stopAllSounds();
Symbol 609 MovieClip Frame 2313
stopAllSounds();
Symbol 609 MovieClip Frame 2314
stop();
if (_root.CRE != true) {
_root.gotoAndStop(2);
}
if (_root.CRE == true) {
_root.gotoAndStop("FSCORE");
}
Symbol 617 MovieClip Frame 1
stop();
Symbol 617 MovieClip Frame 2
stop();
Symbol 620 Button
on (release) {
gotoAndStop (2);
}
Symbol 625 Button
on (release) {
gotoAndStop (2);
}
Symbol 629 Button
on (release) {
if (_root.SUBMIT != true) {
var strOut = ((_root.playerName + "|") + _root.ScoreVal);
var strOut2 = _root.EncrpytString(strOut);
getURL ("http://www.heavygames.com/enkai/hs.asp?" + strOut2, "_blank");
_root.gotoAndStop(2);
}
}
Symbol 632 Button
on (release) {
getURL ("http://www.heavygames.com/enkai/view_high_scores.asp", "_blank");
}