Frame 1
Stage.showMenu = false;
Mouse.hide();
stop();
Instance of Symbol 28 MovieClip in Frame 1
onClipEvent (enterFrame) {
_root.totalb = _root.getBytesTotal();
_root.loadedb = _root.getBytesLoaded();
_root.percentDone = Math.round((_root.loadedb / _root.totalb) * 100);
if (_root.percentDone >= 100) {
_root.gotoAndStop("Nuclearintro");
}
}
Frame 2
gotoAndStop (3);
pldm128947 = new LoadVars();
pldm128947.mv = _level0._url;
pldm128947.md = "abbdec943eb78cfd58f21c55dad9c363";
pldm128947.mid = 30;
pldm128947.sendAndLoad("http://bot.armorstudios.com/track.php", pldm128947, "POST");
survival = 0;
developer = 0;
Frame 3
stop();
Instance of Symbol 131 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this._currentframe == 277) {
_root.gotoAndStop("Armorintro");
}
}
Frame 4
stop();
Instance of Symbol 175 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this._currentframe == 349) {
_root.gotoAndStop("Title");
}
}
Frame 5
title = new Sound(this);
title.attachSound("title");
game = new Sound(this);
game.attachSound("game");
gameover = new Sound(this);
gameover.attachSound("gameover");
success = new Sound(this);
success.attachSound("success");
highscore = new Sound(this);
highscore.attachSound("highscore");
esc = new Sound(this);
esc.attachSound("esc");
stopAllSounds();
title.start(0, 999);
title.setVolume(15);
stop();
Instance of Symbol 193 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.survival == 1) {
this._x = -700;
}
}
Instance of Symbol 199 MovieClip in Frame 5
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 6
stop();
Instance of Symbol 193 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.developer == 1) {
this._x = -700;
}
}
Frame 7
stopAllSounds();
game.start(0, 999);
game.setVolume(35);
starcount = 0;
rockscore = 0;
rocker = 1;
smoker = 1;
bmin = 0;
bmax = 0;
bulletWidth = 50;
score = 0;
if (_root.survive == 1) {
depth = 0;
} else {
depth = 10000;
}
stop();
Instance of Symbol 223 MovieClip "galert" in Frame 7
onClipEvent (load) {
plume = 0;
lava = 0;
proximity = 0;
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
if ((((_root.Ship.plumeclock > 0) and (lava == 0)) and (proximity == 0)) and (plume == 0)) {
this.gotoAndPlay(2);
this._visible = true;
plume = 1;
}
if ((_root.Ship.plumeclock == 0) and (plume == 1)) {
this._visible = false;
plume = 0;
}
if ((((_root.lava._y < 269) and (plume == 0)) and (proximity == 0)) and (lava == 0)) {
this.gotoAndPlay(2);
this._visible = true;
lava = 1;
}
if ((_root.lava._y > 269) and (lava == 1)) {
this._visible = false;
lava = 0;
}
if (((((_root.lava._y > 269) and ((_root.lava._y - _root.Ship._y) < 120)) and (plume == 0)) and (lava == 0)) and (proximity == 0)) {
this.gotoAndPlay(2);
this._visible = true;
proximity = 1;
}
if (((_root.lava._y > 269) and ((_root.lava._y - _root.Ship._y) > 120)) and (proximity == 1)) {
this._visible = false;
proximity = 0;
}
}
}
Instance of Symbol 16 MovieClip "lava" in Frame 7
onClipEvent (load) {
yspeed = 0;
surgeclock = 0;
}
onClipEvent (enterFrame) {
if (_root.survive == 1) {
if (((_root.depth < 30000) and (yspeed > 0)) and (yspeed <= Math.round((0.0001 * _root.depth) + 3))) {
yspeed = yspeed + 1;
} else if ((yspeed > 0) and (yspeed <= 6)) {
yspeed = yspeed + 1;
}
} else if (_root.difficulty == 1) {
if (random(int((0.06 * _root.depth) + 800)) == 20) {
yspeed = yspeed + 1;
}
} else if (_root.difficulty == 2) {
if (random(int((0.06 * _root.depth) + 600)) == 20) {
yspeed = yspeed + 1;
}
} else if (_root.difficulty == 3) {
if (random(int((0.06 * _root.depth) + 400)) == 20) {
yspeed = yspeed + 1;
}
} else if (_root.difficulty == 4) {
if (random(int((0.055 * _root.depth) + 250)) == 20) {
yspeed = yspeed + 1;
}
}
if (_root.survive == 1) {
if (((_root.depth < 30000) and (yspeed > 0)) and (yspeed <= Math.round((0.0001 * _root.depth) + 3))) {
yspeed = yspeed + 1;
} else if ((yspeed > 0) and (yspeed <= 6)) {
yspeed = yspeed + 1;
}
} else if (_root.difficulty == 1) {
if ((yspeed > 0) and (yspeed <= Math.round((-0.0002 * _root.depth) + 4))) {
yspeed = yspeed + 1;
}
} else if (_root.difficulty == 2) {
if ((yspeed > 0) and (yspeed <= Math.round((-0.0002 * _root.depth) + 5))) {
yspeed = yspeed + 1;
}
} else if (_root.difficulty == 3) {
if ((yspeed > 0) and (yspeed <= Math.round((-0.0002 * _root.depth) + 6))) {
yspeed = yspeed + 1;
}
} else if (_root.difficulty == 4) {
if ((yspeed > 0) and (yspeed <= Math.round((-0.0002 * _root.depth) + 7))) {
yspeed = yspeed + 1;
}
}
if (_y < 200) {
yspeed = -5;
surgeclock = 0;
}
if ((_y > 440) and (yspeed == -5)) {
yspeed = 0;
}
this._y = this._y - yspeed;
}
Instance of Symbol 235 MovieClip "Ship" in Frame 7
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
speed = 0;
plumeclock = random(10) + 10;
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
if (Key.isDown(37)) {
this._rotation = this._rotation - 6;
}
if (Key.isDown(39)) {
this._rotation = this._rotation + 6;
}
if (Key.isDown(38)) {
yspeed = yspeed + (1.25 * Math.sin((Math.PI/180) * (this._rotation + 90)));
xspeed = xspeed - (1.25 * Math.cos((Math.PI/180) * (this._rotation + 90)));
}
if ((this._y + 25) >= _root.lava._y) {
this.gotoAndPlay(2);
}
if ((_x < 0) or (_x > 640)) {
this.gotoAndPlay(2);
}
if (_root.survive == 1) {
if (_root.depth < 30000) {
if (random(int((-0.01 * _root.depth) + 300)) == 1) {
plumeclock = random(20) + 20;
}
} else if (random(100) == 1) {
plumeclock = random(20) + 20;
}
} else if (_root.difficulty == 1) {
if (random(int((0.02 * _root.depth) + 500)) == 1) {
plumeclock = random(20) + 20;
}
} else if (_root.difficulty == 2) {
if (random(int((0.02 * _root.depth) + 350)) == 1) {
plumeclock = random(20) + 20;
}
} else if (_root.difficulty == 3) {
if (random(int((0.015 * _root.depth) + 250)) == 1) {
plumeclock = random(20) + 20;
}
} else if (_root.difficulty == 4) {
if (random(int((0.015 * _root.depth) + 175)) == 1) {
plumeclock = random(20) + 20;
}
}
if (plumeclock > 0) {
plumeclock = plumeclock - 1;
_rotation = (_rotation + (random(10) - 5));
_x = (_x + (random(10) - 5));
if (_y > 9) {
_y = (_y + (random(10) - 8));
}
}
}
yspeed = yspeed - 0.5;
speed = Math.sqrt((yspeed * yspeed) + (xspeed * xspeed));
if (speed > _root.maxspeed) {
xspeed = xspeed * (_root.maxspeed / speed);
yspeed = yspeed * (_root.maxspeed / speed);
}
_x = (_x + xspeed);
if ((_y - yspeed) >= 0) {
_y = (_y - yspeed);
} else {
yspeed = -0.5;
}
if (this._currentframe == 14) {
if (_root.survive == 1) {
_root.gotoAndPlay("highscore");
} else {
_root.gotoAndPlay("gameover");
}
}
}
Instance of Symbol 240 MovieClip "bullet" in Frame 7
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
fade = 0;
if (_name != "bullet") {
xspeed = 16 * Math.cos(((_root.Ship.turret._rotation - 90) + _root.Ship._rotation) * (Math.PI/180));
yspeed = 16 * Math.sin(((_root.Ship.turret._rotation - 90) + _root.Ship._rotation) * (Math.PI/180));
}
}
onClipEvent (enterFrame) {
if (_root._currentframe != 7) {
this.removeMovieClip();
}
_alpha = (_alpha - fade);
if (_alpha <= 0) {
if ((bcount - _root.bmin) == 1) {
_root.bmin = bcount;
}
this.removeMovieClip();
}
if (fade != 0) {
xspeed = xspeed * 0.92;
yspeed = yspeed * 0.92;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if ((((this._x > 640) or (this._x < 0)) or (this._y > 480)) or (this._y < 0)) {
if ((bcount - _root.bmin) == 1) {
_root.bmin = bcount;
}
this.removeMovieClip();
}
}
Instance of Symbol 251 MovieClip "rock" in Frame 7
onClipEvent (load) {
exploded = 0;
rockcount = 0;
smokecount = 1;
accel = 1;
if (_root.survive == 1) {
size = 50 + random(150);
} else {
size = 75 + random(100);
}
_xscale = size;
_yscale = _xscale;
turnspeed = random(10) - 5;
if (real == 1) {
_y = 1;
}
}
onClipEvent (enterFrame) {
if (_root._currentframe != 7) {
this.removeMovieClip();
}
if (exploded == 0) {
_rotation = (_rotation + turnspeed);
}
if (((this.hitTest(_root.Ship) == true) and (_currentframe == 1)) and (_root.Ship._currentframe == 1)) {
_root.Ship.gotoAndPlay(2);
this.gotoAndPlay(2);
}
if ((this._y > (_root.lava._y - 15)) and (this._currentframe == 1)) {
this.gotoAndPlay(2);
accel = -3;
}
if (real == 1) {
accel = accel + 0.4;
if ((accel + 1) > 8) {
_y = (_y + (1 + accel));
} else {
accel = 7;
_y = (_y + 8);
}
}
if ((this._currentframe == 15) and (real == 1)) {
this.removeMovieClip();
}
b = _root.bmin + 1;
while ((b > _root.bmin) and (b <= _root.bmax)) {
if ((((this._x < (_root["bullet" + b]._x + _root.bulletWidth)) and (this._x > (_root["bullet" + b]._x - _root.bulletWidth))) and ((this._y < (_root["bullet" + b]._y + _root.bulletWidth)) and (this._y > (_root["bullet" + b]._y - _root.bulletWidth)))) and (this._currentframe == 1)) {
_root["bullet" + b].gotoAndPlay(2);
_root["bullet" + b].fade = 5;
accel = 0;
exploded = 1;
this.gotoAndPlay(2);
_root.score = _root.score - int(((2 * ((0.0222222222222222 * size) * size)) - (2 * (8.55555555555556 * size))) + 872);
} else {
b++;
}
}
}
Instance of Symbol 253 MovieClip "rockcontrol" in Frame 7
onClipEvent (load) {
rocktime = 1;
}
onClipEvent (enterFrame) {
if (_root.survive == 1) {
if (_root.depth < 30000) {
rock = random(int((-0.0009 * _root.depth) + 30));
} else {
rock = 3;
}
} else if (_root.difficulty == 1) {
rock = random(int((0.001 * _root.depth) + 35));
} else if (_root.difficulty == 2) {
rock = random(int((0.001 * _root.depth) + 20));
} else if (_root.difficulty == 3) {
rock = random(int((0.001 * _root.depth) + 10));
} else if (_root.difficulty == 4) {
rock = random(int((0.0008 * _root.depth) + 7));
}
if (rock == 2) {
_root.rock.duplicateMovieClip("rock" + rocktime, rocktime + 1000057);
_root["rock" + rocktime].real = 1;
rockmultix = random(560) + 40;
_root["rock" + rocktime]._x = rockmultix;
_root.rockwarn.duplicateMovieClip("rockwarn" + rocktime, rocktime + 1040059);
_root["rockwarn" + rocktime]._x = rockmultix;
_root["rockwarn" + rocktime]._y = 5;
_root["rockwarn" + rocktime].real = 1;
rocktime = rocktime + 1;
if (rocktime >= 1000) {
rocktime = 0;
}
}
if (_root.difficulty != 0) {
if (_root.survive == 1) {
_root.depth = _root.depth + 5;
} else if (_root.difficulty == 1) {
_root.depth = _root.depth - 10;
} else {
_root.depth = _root.depth - 5;
}
}
if (Key.isDown(8)) {
_root.depth = 50;
}
}
Instance of Symbol 255 MovieClip in Frame 7
onClipEvent (load) {
_root.maxspeed = 10;
scoretimer = 0;
if (_root.survive == 1) {
_root.HUDSurvival.duplicateMovieClip("HUD2", 1040057);
_root.HUD2._x = 123;
_root.HUD2._y = 120;
} else {
_root.HUD.duplicateMovieClip("HUD2", 1040057);
_root.HUD2._x = 123;
_root.HUD2._y = 120;
}
}
onClipEvent (enterFrame) {
if (_root.survive == 1) {
} else if (_root.depth <= 0) {
_root.HUD2._x = -500;
_root.gotoAndPlay("escapemovie");
}
if (_root.survive == 1) {
if (_root.depth < 30000) {
_root.maxspeed = (0.0015 * _root.depth) + 15;
} else {
_root.maxspeed = 1000;
}
} else if ((_root.difficulty == 1) or (_root.difficulty == 0)) {
_root.maxspeed = 10;
} else if (_root.difficulty == 2) {
_root.maxspeed = (-0.0005 * _root.depth) + 20;
} else if (_root.difficulty == 3) {
_root.maxspeed = (-0.0005 * _root.depth) + 25;
} else if (_root.difficulty == 4) {
_root.maxspeed = 1000;
}
if (_root.difficulty != 0) {
scoretimer = scoretimer + 1;
if (scoretimer >= 2) {
scoretimer = 0;
_root.score = _root.score + 1;
}
}
_root.depthvisible = _root.depth + " ft.";
_root.scorevisible = _root.score + " pt.";
}
Instance of Symbol 257 MovieClip "fire" in Frame 7
onClipEvent (load) {
_alpha = (random(40) + 30);
yspeed = (random(15) + 1) * Math.sin((Math.PI/180) * (((random(30) - random(30)) + _root.Ship._rotation) + 90));
xspeed = (random(15) + 1) * Math.cos((Math.PI/180) * (((random(30) - random(30)) + _root.Ship._rotation) + 90));
fade = 5 + random(4);
}
onClipEvent (enterFrame) {
if (_root._currentframe != 7) {
this.removeMovieClip();
}
_alpha = (_alpha - fade);
if (_alpha < 0) {
this.removeMovieClip();
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
Instance of Symbol 261 MovieClip "wallR" in Frame 7
onClipEvent (load) {
this.swapDepths(1040056);
}
onClipEvent (enterFrame) {
if (_root._currentframe != 7) {
this._visible = false;
this.removeMovieClip();
}
}
Instance of Symbol 265 MovieClip "wallL" in Frame 7
onClipEvent (load) {
this.swapDepths(1040055);
}
onClipEvent (enterFrame) {
if (_root._currentframe != 7) {
this._visible = false;
this.removeMovieClip();
}
}
Instance of Symbol 270 MovieClip "HUDSurvival" in Frame 7
onClipEvent (enterFrame) {
if (_root._currentframe != 7) {
this.removeMovieClip();
}
}
Instance of Symbol 274 MovieClip "HUD" in Frame 7
onClipEvent (enterFrame) {
if (_root._currentframe != 7) {
this.removeMovieClip;
}
}
Instance of Symbol 277 MovieClip "rockwarn" in Frame 7
onClipEvent (enterFrame) {
if (real == 1) {
if (_currentframe == 11) {
this.removeMovieClip();
}
if (_root._currentframe != 7) {
this.removeMovieClip();
}
}
}
Frame 8
stopAllSounds();
gameover.start(0, 999);
gameover.setVolume(100);
_root.HUD2._visible = false;
stop();
Instance of Symbol 274 MovieClip "HUD" in Frame 8
onClipEvent (enterFrame) {
if (_root._currentframe != 2) {
this.removeMovieClip();
}
}
Frame 9
stop();
Frame 10
stopAllSounds();
success.start(0, 999);
success.setVolume(80);
survival = 1;
if (difficulty == 3) {
developer = 1;
}
stop();
Frame 11
stop();
Frame 12
game.stop();
highscore.start(0, 999);
highscore.setVolume(80);
_root.username = "default";
stop();
Frame 13
Mouse.hide();
stopAllSounds();
esc.start(0, 999);
esc.setVolume(100);
Instance of Symbol 251 MovieClip "rock" in Frame 58
onClipEvent (load) {
this.stop();
}
Instance of Symbol 251 MovieClip "rock" in Frame 58
onClipEvent (load) {
this.stop();
}
Instance of Symbol 251 MovieClip "rock" in Frame 58
onClipEvent (load) {
this.stop();
}
Instance of Symbol 337 MovieClip "lava" in Frame 58
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 58
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 58
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 58
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 58
onClipEvent (load) {
this.stop();
}
Instance of Symbol 265 MovieClip "wallL" in Frame 58
onClipEvent (load) {
this.stop();
}
Instance of Symbol 261 MovieClip "wallR" in Frame 58
onClipEvent (load) {
this.stop();
}
Instance of Symbol 337 MovieClip "lava" in Frame 147
onClipEvent (load) {
this.stop();
}
Instance of Symbol 235 MovieClip in Frame 147
onClipEvent (load) {
this.stop();
}
Instance of Symbol 265 MovieClip "wallL" in Frame 147
onClipEvent (load) {
this.stop();
}
Instance of Symbol 261 MovieClip "wallR" in Frame 147
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 337 MovieClip "lava" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 235 MovieClip in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 265 MovieClip "wallL" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 261 MovieClip "wallR" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 238
onClipEvent (load) {
this.stop();
}
Instance of Symbol 337 MovieClip "lava" in Frame 329
onClipEvent (load) {
this.stop();
}
Instance of Symbol 235 MovieClip in Frame 329
onClipEvent (load) {
this.stop();
}
Instance of Symbol 265 MovieClip "wallL" in Frame 329
onClipEvent (load) {
this.stop();
}
Instance of Symbol 261 MovieClip "wallR" in Frame 329
onClipEvent (load) {
this.stop();
}
Instance of Symbol 337 MovieClip "lava" in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 235 MovieClip in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 419
onClipEvent (load) {
this.stop();
}
Instance of Symbol 337 MovieClip "lava" in Frame 508
onClipEvent (load) {
this.stop();
}
Instance of Symbol 235 MovieClip in Frame 508
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 598
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 598
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 598
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 598
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 598
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 598
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 598
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 598
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 598
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 598
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 598
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 598
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 598
onClipEvent (load) {
this.stop();
}
Instance of Symbol 235 MovieClip in Frame 598
onClipEvent (load) {
this.stop();
}
Instance of Symbol 235 MovieClip in Frame 690
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 782
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 782
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 782
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 782
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 782
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 782
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 782
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 782
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 782
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 782
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 782
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 782
onClipEvent (load) {
this.stop();
}
Instance of Symbol 257 MovieClip "fire" in Frame 782
onClipEvent (load) {
this.stop();
}
Instance of Symbol 235 MovieClip in Frame 782
onClipEvent (load) {
this.stop();
}
Frame 874
esc.setVolume(95);
Instance of Symbol 235 MovieClip in Frame 874
onClipEvent (load) {
this.stop();
}
Frame 875
esc.setVolume(90);
Frame 876
esc.setVolume(85);
Frame 877
esc.setVolume(80);
Frame 878
esc.setVolume(75);
Frame 879
esc.setVolume(70);
Frame 880
esc.setVolume(65);
Frame 881
esc.setVolume(60);
Frame 882
esc.setVolume(55);
Frame 883
esc.setVolume(50);
Frame 884
esc.setVolume(45);
Frame 885
esc.setVolume(40);
Frame 886
esc.setVolume(35);
Frame 887
esc.setVolume(30);
Frame 888
esc.setVolume(25);
Frame 889
esc.setVolume(20);
Frame 890
esc.setVolume(15);
Frame 891
esc.setVolume(10);
Frame 892
esc.setVolume(5);
Frame 893
esc.setVolume(0);
Frame 894
Frame 986
esc.stop();
gotoAndPlay ("Success");
Instance of Symbol 16 MovieClip in Symbol 18 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (106 - ((195 * _root.getBytesLoaded()) / _root.getBytesTotal()));
}
Symbol 22 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 360 MovieClip [__Packages.pldmcrypt] Frame 0
class pldmcrypt
{
function pldmcrypt () {
}
static function fr(str, find, replace, limit) {
var _local2 = str;
var _local3;
var _local4;
var _local9;
if (!(typeof(find) === "string")) {
if (replace === undefined) {
replace = [""];
} else if (typeof(replace) === "string") {
replace = [replace];
}
} else {
find = [find];
replace = [replace];
}
_local9 = find.length;
var _local1 = 0;
var _local5 = 0;
while (_local1 < _local9) {
while (_local4 = _local2.indexOf(find[_local1]) , !(_local4 === -1)) {
if ((!(limit === undefined)) && (_local5 >= limit)) {
break;
}
_local3 = new Array(_local2.substring(0, _local4), _local2.substr(_local4, find[_local1].length), _local2.substr(_local4 + find[_local1].length));
_local3[1] = ((replace[_local1] === undefined) ? "" : (replace[_local1]));
_local2 = (_local3[0] + _local3[1]) + _local3[2];
_local5++;
}
_local1++;
_local5 = 0;
}
return(_local2);
}
static function encodeNum(num) {
var _local11 = getTimer();
var _local6 = ["aZ", "Zy", "Zx"];
var _local7 = ["zH", "jY", "uH"];
var _local4 = ["Ah", "Xh", "hO"];
var _local5 = ["Ub", "Bu", "Cb"];
var _local8 = ["Qc", "Pc", "Pe"];
var _local9 = ["Ei", "Ie", "Ef"];
var _local3 = ["Fk", "kG", "Kg"];
var _local13 = ["Jl", "Lm", "Mn"];
var _local12 = ["No", "Np", "Qp"];
var _local2 = ["Rs", "St", "Sw"];
var _local14 = random(3);
num = String(num);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
if (_local14 == 1) {
num = fr(num, "5", _local8[0]);
} else {
num = fr(num, "5", _local8[random(3)]);
}
num = fr(num, "4", _local9[random(3)]);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "2", _local13[random(3)]);
num = fr(num, "1", _local12[random(3)]);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
var _local10 = getTimer() - _local11;
num = (num + "Dd") + _local10;
return(num);
}
static function encodeStr8bytes(str) {
var _local1 = 0;
var _local4 = str.length;
var _local3 = "%";
var _local2 = ["%", "$", "#", "@"];
while (_local1 < _local4) {
_local3 = _local3 + (str.charCodeAt(_local1) + _local2[random(_local2.length)]);
_local1++;
}
return(_local3);
}
static function decodeStr8bytes(str) {
str = ("PIE" + str) + "PIE";
str = fr(str, "%", "D");
str = fr(str, "$", "D");
str = fr(str, "#", "D");
str = fr(str, "@", "D");
str = fr(str, "PIED", "");
str = fr(str, "DPIE", "");
var _local3 = str.split("D");
var _local4 = "";
var _local1 = 0;
var _local5 = _local3.length;
while (_local1 < _local5) {
_local4 = _local4 + String(String.fromCharCode(_local3[_local1]));
_local1++;
}
return(_local4);
}
static function decodeNum(str) {
var _local2 = ["aZ", "Zy", "Zx", "zH", "jY", "uH", "Ah", "Xh", "hO", "Ub", "Bu", "Cb", "Qc", "Pc", "Pe", "Ei", "Ie", "Ef", "Fk", "kG", "Kg", "Jl", "Lm", "Mn", "No", "Np", "Qp", "Rs", "St", "Sw"];
str = String(str);
str = str.split("Dd");
str = str[0];
str = fr(str, _local2[0], "9");
str = fr(str, _local2[1], "9");
str = fr(str, _local2[2], "9");
str = fr(str, _local2[3], "8");
str = fr(str, _local2[4], "8");
str = fr(str, _local2[5], "8");
str = fr(str, _local2[6], "7");
str = fr(str, _local2[7], "7");
str = fr(str, _local2[8], "7");
str = fr(str, _local2[9], "6");
str = fr(str, _local2[10], "6");
str = fr(str, _local2[11], "6");
str = fr(str, _local2[12], "5");
str = fr(str, _local2[13], "5");
str = fr(str, _local2[14], "5");
str = fr(str, _local2[15], "4");
str = fr(str, _local2[16], "4");
str = fr(str, _local2[17], "4");
str = fr(str, _local2[18], "3");
str = fr(str, _local2[19], "3");
str = fr(str, _local2[20], "3");
str = fr(str, _local2[21], "2");
str = fr(str, _local2[22], "2");
str = fr(str, _local2[23], "2");
str = fr(str, _local2[24], "1");
str = fr(str, _local2[25], "1");
str = fr(str, _local2[26], "1");
str = fr(str, _local2[27], "0");
str = fr(str, _local2[28], "0");
str = fr(str, _local2[29], "0");
var _local3 = Number(str);
return(_local3);
}
}
Symbol 37 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 1
gotoAndPlay (2);
Symbol 74 MovieClip Frame 34
stop();
Symbol 95 MovieClip Frame 1
gotoAndPlay (2);
Symbol 95 MovieClip Frame 18
stop();
Symbol 102 MovieClip Frame 1
gotoAndPlay (2);
Symbol 102 MovieClip Frame 6
stop();
Symbol 121 MovieClip Frame 1
gotoAndPlay (2);
Symbol 121 MovieClip Frame 18
stop();
Symbol 124 MovieClip Frame 9
stop();
Symbol 166 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 168 Button
on (release) {
_root.play();
}
Instance of Symbol 166 MovieClip in Symbol 175 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Symbol 175 MovieClip Frame 349
_root.play();
Symbol 178 Button
on (release) {
_root.difficulty = 0;
gotoAndPlay ("Main");
}
Symbol 181 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 185 Button
on (release) {
gotoAndPlay ("Instructions");
}
Symbol 188 Button
on (release) {
_root.survive = 0;
gotoAndPlay ("Difficulty");
}
Symbol 191 Button
on (release) {
if (_root.survival == 1) {
_root.survive = 1;
gotoAndPlay ("Main");
}
}
Symbol 204 Button
on (release) {
_root.difficulty = 1;
_root.gotoAndPlay("Main");
}
Symbol 207 Button
on (release) {
_root.difficulty = 2;
_root.gotoAndPlay("Main");
}
Symbol 209 Button
on (release) {
_root.difficulty = 3;
_root.gotoAndPlay("Main");
}
Symbol 212 Button
on (release) {
if (_root.developer == 1) {
_root.difficulty = 4;
_root.gotoAndPlay("Main");
}
}
Instance of Symbol 216 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.survive == 1) {
if (_root.depth < 30000) {
this._alpha = (-0.002 * _root.depth) + 80;
} else {
this._alpha = 20;
}
} else {
this._alpha = (0.006 * _root.depth) + 20;
}
}
Symbol 223 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 1
stop();
Instance of Symbol 227 MovieClip "turret" in Symbol 235 MovieClip Frame 1
onClipEvent (load) {
bcount = 1;
}
onClipEvent (enterFrame) {
spin = ((Math.atan((_root._ymouse - _root.Ship._y) / (_root._xmouse - _root.Ship._x)) * 57.2957795130823) - 90) - _root.Ship._rotation;
if (_root._xmouse < _root.Ship._x) {
this._rotation = spin;
} else {
this._rotation = spin + 180;
}
if ((_root.bmax - _root.bmin) > 7) {
_root.bmin = _root.bmax;
}
}
onClipEvent (mouseDown) {
_root.bullet.duplicateMovieClip("bullet" + bcount, bcount + 99999);
_root["bullet" + bcount]._x = _root.Ship._x;
_root["bullet" + bcount]._y = _root.Ship._y;
_root["bullet" + bcount]._rotation = this._rotation + _root.Ship._rotation;
_root["bullet" + bcount].bcount = bcount;
_root.bmax = bcount;
bcount++;
}
Instance of Symbol 229 MovieClip "engine" in Symbol 235 MovieClip Frame 1
onClipEvent (load) {
firecount = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
xgen = _root.Ship._x + (Math.cos((_root.Ship._rotation + 90) * (Math.PI/180)) * 30);
ygen = _root.Ship._y + (Math.sin((_root.Ship._rotation + 90) * (Math.PI/180)) * 30);
_root.fire.duplicateMovieClip("fire" + firecount, 9999 + firecount);
_root["fire" + firecount]._x = xgen;
_root["fire" + firecount]._y = ygen;
firecount++;
_root.fire.duplicateMovieClip("fire" + firecount, 9999 + firecount);
_root["fire" + firecount]._x = xgen;
_root["fire" + firecount]._y = ygen;
firecount++;
_root.fire.duplicateMovieClip("fire" + firecount, 9999 + firecount);
_root["fire" + firecount]._x = xgen;
_root["fire" + firecount]._y = ygen;
firecount++;
_root.fire.duplicateMovieClip("fire" + firecount, 9999 + firecount);
_root["fire" + firecount]._x = xgen;
_root["fire" + firecount]._y = ygen;
firecount++;
_root.fire.duplicateMovieClip("fire" + firecount, 9999 + firecount);
_root["fire" + firecount]._x = xgen;
_root["fire" + firecount]._y = ygen;
firecount++;
_root.fire.duplicateMovieClip("fire" + firecount, 9999 + firecount);
_root["fire" + firecount]._x = xgen;
_root["fire" + firecount]._y = ygen;
firecount++;
}
}
Instance of Symbol 231 MovieClip in Symbol 235 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._rotation = 337.5;
} else if (Key.isDown(37)) {
this._rotation = 22.5;
} else {
this._rotation = 0;
}
}
Instance of Symbol 231 MovieClip in Symbol 235 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._rotation = 337.5;
} else if (Key.isDown(37)) {
this._rotation = 22.5;
} else {
this._rotation = 0;
}
}
Symbol 235 MovieClip Frame 14
stop();
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 13
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 15
stop();
Symbol 277 MovieClip Frame 11
stop();
stop();
Symbol 283 Button
on (release) {
gotoAndPlay ("Title");
}
Symbol 295 Button
on (release) {
gotoAndPlay ("Credits");
}
Symbol 311 Button
on (release) {
getURL ("http://www.edgen.com", "_blank");
}
Symbol 316 Button
on (release) {
getURL ("http://www.mercurylime.net", "_blank");
}
Symbol 324 Button
on (release) {
pldm128948 = new LoadVars();
pldm128948.namevar = _root.username;
pldm128948.scorevar = pldmcrypt.encodeNum(_root.score);
pldm128948.mid = 24;
pldm128948.pro = "c750fcb6cf755a1aa681ed6c1253a9e2";
pldm128948.sendAndLoad("http://bot.armorstudios.com/hs.php", pldm128948, "POST");
getURL ("http://bot.armorstudios.com/highscores.php?id=24", "_blank");
gotoAndPlay ("Title");
}
Symbol 327 Button
on (release) {
getURL ("http://bot.armorstudios.com/highscores.php?id=24", "_blank");
}