Frame 1
stop();
Instance of Symbol 20 MovieClip in Frame 1
onClipEvent (enterFrame) {
_root.total = int(_root.getBytesTotal());
_root.current = int(_root.getBytesLoaded());
_root.percent = int((_root.current / _root.total) * 100);
this._xscale = _root.percent;
if (_root.percent >= 100) {
_root.gotoAndPlay("b");
}
}
Frame 2
stop();
Frame 3
stop();
Frame 10
gotoAndPlay ("try_again");
Frame 12
function enemyAcodes() {
if ((this.exploded == true) and (this._currentframe < 41)) {
this.gotoAndPlay("explode");
}
if (this.waitTime > 0) {
this.waitTime = this.waitTime - 0.1;
} else if (_root.aTime < 1000) {
if (this._x < 200) {
this._x = this._x + _root.speedA;
} else if (((this._x > 300) and (this._y > 200)) and (this.exploded == false)) {
if (_root.truck._currentframe < 5) {
_root.truck.gotoAndPlay("explode");
_root.dead = true;
}
} else {
this._x = this._x + (_root.speedA * 0.75);
this._y = this._y + (_root.speedA * 0.75);
}
} else {
if (this.exploded == false) {
this.gotoAndPlay("explode");
}
this.exploded = true;
}
}
function enemyBcodes() {
if (this.waitTime > 0) {
this.waitTime = this.waitTime - 0.1;
} else if (_root.aTime < 1000) {
if (this._y < 300) {
this._y = this._y + _root.speedB;
} else if (this._rotation < 80) {
this._rotation = this._rotation + 5;
} else if ((this._x > 350) and (this.exploded == false)) {
if (_root.truck._currentframe < 5) {
_root.truck.gotoAndPlay("explode");
_root.dead = true;
}
} else {
this._x = this._x + _root.speedB;
}
}
}
function enemyCcodes() {
if (this.waitTime > 0) {
this.waitTime = this.waitTime - 0.1;
} else if (_root.aTime < 1000) {
if ((this.exploded == true) and (this._currentframe < 35)) {
this.gotoAndPlay("explode2");
}
if (this._y < -100) {
this._y = 70;
this._x = 100 + _root.speedC;
_root.speedC = _root.speedC + 75;
this.gotoAndPlay(2);
} else {
x = this._x - _root.truck._x;
y = this._y - _root.truck._y;
this.targetRotation = int(((-Math.atan2(x, y)) / (Math.PI/180)) + 180);
if (this.targetRotation >= 180) {
this.targetRotation = this.targetRotation - 360;
}
if (this._rotation < this.targetRotation) {
this._rotation = this._rotation + (Math.round(0.1 * (this.targetRotation - this._rotation)) + 1);
_root.testRotation = this._rotation;
} else if (this._rotation > this.targetRotation) {
this._rotation = this._rotation - (Math.round(0.1 * (this.targetRotation - this._rotation)) - 1);
_root.testRotation = this._rotation;
} else if (this._currentframe < 10) {
this.gotoAndPlay("charge");
}
}
}
}
function enemyDcodes() {
if ((this.exploded == true) and (this._currentframe < 2)) {
this.gotoAndPlay("explode");
}
if (this.waitTime > 0) {
this.waitTime = this.waitTime - 0.1;
} else if (_root.aTime < 1000) {
if ((this._x < 300) and (this._currentframe == 1)) {
this._x = this._x + _root.speedD;
} else if ((_root.truck._currentframe < 5) and (this._currentframe == 1)) {
_root.truck.gotoAndPlay("explode");
_root.dead = true;
}
}
}
var totalAenemies = (random(15) + 55);
var currentAenemies = 1;
var totalAfc = 0;
while (_root.totalAenemies > _root.currentAenemies) {
_root.enemyA1.duplicateMovieClip([("enemyA" + _root.currentAenemies) + 1], [2000 + currentAenemies]);
_root[("enemyA" + _root.currentAenemies) + 1].waitTime = random(105);
_root.currentAenemies = _root.currentAenemies + 1;
}
var totalBenemies = 1;
var currentBenemies = 1;
var totalBfc = 0;
var totalCenemies = 1;
var currentCenemies = 1;
var totalCfc = 0;
var totalDenemies = 1;
var currentDenemies = 1;
var totalDfc = 0;
var testx = 0;
var seconds = 0;
var globalspeed = 2;
var aTime = 1;
var totalrockets = 10000;
var tipX = 0;
var tipY = 0;
var speedA = 4;
var speedB = 7;
var speedC = 0;
var speedD = 8;
var totalHits = 0;
var totalShots = 0;
var accuracy = 0;
var totalR = 100;
var dead = false;
var rank = 1;
var rankb = "A";
var ranks = ["Bad.", "You're absolutely horrible. I can't believe you made it. You're really going to have to step up if you expect to live much longer.", "You made it, even if you weren't very good. But still... you didn't do very good. Work on your aim.", "A little trigger-happy, are we? You shot way more rockets than you needed to.", "Eh... You could do a lot better. You barely made it back to the base.", "Just average...You could have done better. But you made it, and that's what counts.", "Well... At least you completed the mission. You could have done better if you hadn't fired as many shots.", "You did alright, kid.", "Excellent work, soldier", "Amazing shots! You're a sharpshooter", "That was absolutely amazing. You're getting a promotion... to president."];
var rankc = ranks[rank];
var canShoot = true;
var my_music = new Sound();
my_music.attachSound("theme");
my_music.setVolume(100);
my_music.start(0, 1);
var ending = new Sound();
ending.attachSound("60secgame_complete");
var sound_rocket = new Sound();
sound_rocket.attachSound("rocket1b");
var sound_boom = new Sound();
sound_boom.attachSound("explosion1b");
var sound_boom_b = new Sound();
sound_boom_b.attachSound("explosion4");
var sound_boom_c = new Sound();
sound_boom_c.attachSound("explosion6");
var sound_boom_d = new Sound();
sound_boom_d.attachSound("explosion7");
var sound_boom_e = new Sound();
sound_boom_e.attachSound("explosion8");
_root.mousefollow = false;
Mouse.hide();
_root.mouse.duplicateMovieClip("mouseb", 100000000000000);
_root.mouse.removeMovieClip();
_quality = "MEDIUM";
stop();
Instance of Symbol 87 MovieClip "bg5" in Frame 12
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed / 10);
}
Instance of Symbol 87 MovieClip "bg5" in Frame 12
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed / 4);
}
Instance of Symbol 137 MovieClip "speed" in Frame 12
onClipEvent (load) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed + (this._y - 263));
if (this._x < -100) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
}
Instance of Symbol 137 MovieClip "speed" in Frame 12
onClipEvent (load) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed + (this._y - 263));
if (this._x < -100) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
}
Instance of Symbol 137 MovieClip "speed" in Frame 12
onClipEvent (load) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed + (this._y - 263));
if (this._x < -100) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
}
Instance of Symbol 137 MovieClip "speed" in Frame 12
onClipEvent (load) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed + (this._y - 263));
if (this._x < -100) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
}
Instance of Symbol 137 MovieClip "speed" in Frame 12
onClipEvent (load) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed + (this._y - 263));
if (this._x < -100) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
}
Instance of Symbol 137 MovieClip "speed" in Frame 12
onClipEvent (load) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed + (this._y - 263));
if (this._x < -100) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
}
Instance of Symbol 137 MovieClip "speed" in Frame 12
onClipEvent (load) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed + (this._y - 263));
if (this._x < -100) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
}
Instance of Symbol 137 MovieClip "speed" in Frame 12
onClipEvent (load) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed + (this._y - 263));
if (this._x < -100) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
}
Instance of Symbol 137 MovieClip "speed" in Frame 12
onClipEvent (load) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed + (this._y - 263));
if (this._x < -100) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
}
Instance of Symbol 137 MovieClip "speed" in Frame 12
onClipEvent (load) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed + (this._y - 263));
if (this._x < -100) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
}
Instance of Symbol 137 MovieClip "speed" in Frame 12
onClipEvent (load) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed + (this._y - 263));
if (this._x < -100) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
}
Instance of Symbol 137 MovieClip "speed" in Frame 12
onClipEvent (load) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed + (this._y - 263));
if (this._x < -100) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
}
Instance of Symbol 137 MovieClip "speed" in Frame 12
onClipEvent (load) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed + (this._y - 263));
if (this._x < -100) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
}
Instance of Symbol 137 MovieClip "speed" in Frame 12
onClipEvent (load) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
onClipEvent (enterFrame) {
this._x = this._x - (_root.globalspeed + (this._y - 263));
if (this._x < -100) {
this._x = 600;
this._y = random(40) + 263;
this._xscale = (this._y - 263) * 2;
}
}
Instance of Symbol 153 MovieClip "guy" in Frame 12
onClipEvent (load) {
offX = _root.truck._x - this._x;
offY = _root.truck._y - this._y;
}
onClipEvent (enterFrame) {
if (_root.dead == false) {
this._x = _root.truck._x - offX;
this._y = _root.truck._y - offY;
if (_root.mousefollow == true) {
x = (_x - _root._xmouse) + 120;
y = (_y - _root._ymouse) + 30;
_rotation = ((((-Math.atan2(x, y)) / (Math.PI/180)) / 2) + 50);
this._visible = true;
}
} else {
this._visible = false;
}
}
Instance of Symbol 189 MovieClip "gun" in Frame 12
onClipEvent (load) {
offX = _root.truck._x - this._x;
offY = _root.truck._y - this._y;
}
onClipEvent (enterFrame) {
if (_root.dead == false) {
this._x = _root.truck._x - offX;
this._y = _root.truck._y - offY;
if (_root.mousefollow == true) {
x = _x - _root._xmouse;
y = _y - _root._ymouse;
_rotation = (((-Math.atan2(x, y)) / (Math.PI/180)) + 270);
this._visible = true;
}
} else {
this._visible = false;
}
}
Instance of Symbol 200 MovieClip "truck" in Frame 12
onClipEvent (enterFrame) {
_root.aTime = _root.aTime + 1;
if (_root.aTime < 30) {
this._x = this._x + 20;
} else if (_root.aTime < 50) {
this._x = this._x + 16;
} else if (_root.aTime < 70) {
this._x = this._x + 9;
} else if (_root.aTime < 80) {
this._x = this._x - 13;
} else if (_root.aTime < 90) {
this._x = this._x - 11;
_root.mousefollow = true;
} else if (_root.aTime < 1100) {
} else if (_root.aTime < 1178) {
this._x = this._x - 5;
_root.mousefollow = false;
}
}
Instance of Symbol 202 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.dead == false) {
_root.totalAenemies = _root.currentAenemies;
_root.totalBenemies = _root.currentBenemies;
_root.totalCenemies = _root.currentCenemies;
_root.totalDenemies = _root.currentDenemies;
_root.speedA = _root.speedA + 0.004;
_root.speedB = _root.speedB + 0.004;
_root.speedC = _root.speedC + 0.004;
_root.speedD = _root.speedD + 0.004;
_root.onMouseDown = function () {
if (_root.canShoot == true) {
if (_root.totalR > 0) {
_root.totalShots = _root.totalShots + 1;
_root.totalR = _root.totalR - 1;
if (_root.aTime > 90) {
_root.sound_rocket.start(1, 1);
_root.recentX = _root._xmouse;
_root.recentY = _root._ymouse;
_root.gun.play();
_root.flash.play();
}
_root.tipX = _root.gun._x + (Math.cos(((_root.gun._rotation + 10) * Math.PI) / 180) * 81);
_root.tipY = _root.gun._y + (Math.sin(((_root.gun._rotation + 10) * Math.PI) / 180) * 81);
}
}
};
}
}
Instance of Symbol 177 MovieClip "rocket" in Frame 12
onClipEvent (load) {
var difX;
var difY;
var real;
var exploded = false;
var acceleration = 1.2;
var speed = 30;
var recentX = _root.recentX;
var recentY = _root.recentY;
var radAngle = Math.atan2(recentY - this._y, recentX - this._x);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
var const;
var startX = this._x;
var startY = this._y;
}
onClipEvent (enterFrame) {
if (real == true) {
const = (Math.PI/180) * _rotation;
_root.totalAfc = _root.totalAenemies;
_root.totalBfc = _root.totalBenemies;
_root.totalCfc = _root.totalCenemies;
_root.totalDfc = _root.totalDenemies;
while (_root.totalAfc > 0) {
if ((_root["enemyA" + _root.totalAfc].hitTest(recentX, recentY) and (_root["enemyA" + _root.totalAfc].exploded == false)) and (this._currentframe == 7)) {
_root["enemyA" + _root.totalAfc].exploded = true;
_root["enemyA" + _root.totalAfc].gotoAndPlay("explode");
_root.sound_boom_b.start(0, 1);
this.gotoAndPlay("boom");
exploded = true;
_root.totalHits = _root.totalHits + 1;
}
_root.totalAfc = _root.totalAfc - 1;
}
while (_root.totalBfc > 0) {
if ((_root["enemyB" + _root.totalBfc].hitTest(recentX, recentY) and (_root["enemyB" + _root.totalBfc].exploded == false)) and (this._currentframe == 7)) {
_root["enemyB" + _root.totalBfc].exploded = true;
_root["enemyB" + _root.totalBfc].gotoAndPlay("explode");
_root.sound_boom_d.start(0, 1);
this.gotoAndPlay("boom");
exploded = true;
_root.totalHits = _root.totalHits + 1;
}
_root.totalBfc = _root.totalBfc - 1;
}
while (_root.totalCfc > 0) {
if ((_root["enemyC" + _root.totalCfc].hitTest(recentX, recentY) and (_root["enemyC" + _root.totalCfc].exploded == false)) and (this._currentframe == 7)) {
_root["enemyC" + _root.totalCfc].exploded = true;
_root["enemyC" + _root.totalCfc].gotoAndPlay("explode");
_root.sound_boom_c.start(0, 1);
this.gotoAndPlay("boom");
exploded = true;
_root.totalHits = _root.totalHits + 1;
}
_root.totalCfc = _root.totalCfc - 1;
}
while (_root.totalDfc > 0) {
if ((_root["enemyD" + _root.totalDfc].hitTest(recentX, recentY) and (_root["enemyD" + _root.totalDfc].exploded == false)) and (this._currentframe == 7)) {
_root["enemyD" + _root.totalDfc].exploded = true;
_root["enemyD" + _root.totalDfc].gotoAndPlay("explode");
_root.sound_boom_d.start(0, 1);
this.gotoAndPlay("boom");
exploded = true;
_root.totalHits = _root.totalHits + 1;
}
_root.totalDfc = _root.totalDfc - 1;
}
if ((((startX >= recentX) and (this._x <= recentX)) or ((startX <= recentX) and (this._x >= recentX))) and (this._currentframe < 5)) {
_root.sound_boom.start(0, 1);
this._y = recentY;
this._x = recentX;
this.gotoAndPlay("boom");
exploded = true;
} else if (exploded == true) {
this._x = this._x - (_root.globalspeed * 10);
} else if (this._rotation > 180) {
_y = (_y + (speed * Math.cos(const)));
_x = (_x - (speed * Math.sin(const)));
} else {
_y = (_y - (speed * Math.cos(const)));
_x = (_x + (speed * Math.sin(const)));
}
speed = speed * acceleration;
}
}
Instance of Symbol 207 MovieClip "mouse" in Frame 12
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (enterFrame) {
if (_root.aTime >= 1200) {
this._visible = false;
}
}
Instance of Symbol 209 MovieClip "spawnerA" in Frame 12
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.aTime = 950;
}
_root.accuracy = Math.round((_root.totalHits / _root.totalShots) * 100);
if (_root.aTime == 1200) {
_root.end_screen._visible = true;
_root.ending.start(0, 1);
Mouse.show();
_root.canShoot = false;
}
if (_root.dead == true) {
if (_root.died_screen._currentframe == 1) {
_root.died_screen.gotoAndPlay("go");
}
}
}
Instance of Symbol 236 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 20;
this._name = ["enemyB" + _root.currentBenemies];
this.onEnterFrame = _root.enemyBcodes;
_root.currentBenemies = _root.currentBenemies + 1;
this._x = 99;
this._y = -130;
var exploded = false;
}
Instance of Symbol 236 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 25;
this._name = ["enemyB" + _root.currentBenemies];
this.onEnterFrame = _root.enemyBcodes;
_root.currentBenemies = _root.currentBenemies + 1;
this._x = 99;
this._y = -130;
var exploded = false;
}
Instance of Symbol 236 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 38;
this._name = ["enemyB" + _root.currentBenemies];
this.onEnterFrame = _root.enemyBcodes;
_root.currentBenemies = _root.currentBenemies + 1;
this._x = 99;
this._y = -130;
var exploded = false;
}
Instance of Symbol 236 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 42;
this._name = ["enemyB" + _root.currentBenemies];
this.onEnterFrame = _root.enemyBcodes;
_root.currentBenemies = _root.currentBenemies + 1;
this._x = 99;
this._y = -130;
var exploded = false;
}
Instance of Symbol 236 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 50;
this._name = ["enemyB" + _root.currentBenemies];
this.onEnterFrame = _root.enemyBcodes;
_root.currentBenemies = _root.currentBenemies + 1;
this._x = 99;
this._y = -130;
var exploded = false;
}
Instance of Symbol 236 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 60;
this._name = ["enemyB" + _root.currentBenemies];
this.onEnterFrame = _root.enemyBcodes;
_root.currentBenemies = _root.currentBenemies + 1;
this._x = 99;
this._y = -130;
var exploded = false;
}
Instance of Symbol 236 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 90;
this._name = ["enemyB" + _root.currentBenemies];
this.onEnterFrame = _root.enemyBcodes;
_root.currentBenemies = _root.currentBenemies + 1;
this._x = 99;
this._y = -130;
var exploded = false;
}
Instance of Symbol 236 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 100;
this._name = ["enemyB" + _root.currentBenemies];
this.onEnterFrame = _root.enemyBcodes;
_root.currentBenemies = _root.currentBenemies + 1;
this._x = 99;
this._y = -130;
var exploded = false;
}
Instance of Symbol 274 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 50;
var targetRotation = 0;
this._name = ["enemyC" + _root.currentCenemies];
this.onEnterFrame = _root.enemyCcodes;
_root.currentCenemies = _root.currentCenemies + 1;
this._x = -398;
this._y = -189;
var exploded = false;
}
Instance of Symbol 274 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 60;
var targetRotation = 0;
this._name = ["enemyC" + _root.currentCenemies];
this.onEnterFrame = _root.enemyCcodes;
_root.currentCenemies = _root.currentCenemies + 1;
this._x = -398;
this._y = -189;
var exploded = false;
}
Instance of Symbol 274 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 70;
var targetRotation = 0;
this._name = ["enemyC" + _root.currentCenemies];
this.onEnterFrame = _root.enemyCcodes;
_root.currentCenemies = _root.currentCenemies + 1;
this._x = -398;
this._y = -189;
var exploded = false;
}
Instance of Symbol 274 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 80;
var targetRotation = 0;
this._name = ["enemyC" + _root.currentCenemies];
this.onEnterFrame = _root.enemyCcodes;
_root.currentCenemies = _root.currentCenemies + 1;
this._x = -398;
this._y = -189;
var exploded = false;
}
Instance of Symbol 274 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 90;
var targetRotation = 0;
this._name = ["enemyC" + _root.currentCenemies];
this.onEnterFrame = _root.enemyCcodes;
_root.currentCenemies = _root.currentCenemies + 1;
this._x = -398;
this._y = -189;
var exploded = false;
}
Instance of Symbol 274 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 100;
var targetRotation = 0;
this._name = ["enemyC" + _root.currentCenemies];
this.onEnterFrame = _root.enemyCcodes;
_root.currentCenemies = _root.currentCenemies + 1;
this._x = -398;
this._y = -189;
var exploded = false;
}
Instance of Symbol 310 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 100;
this._name = ["enemyD" + _root.currentDenemies];
this.onEnterFrame = _root.enemyDcodes;
_root.currentDenemies = _root.currentDenemies + 1;
this._x = -800;
this._y = 265;
var exploded = false;
}
Instance of Symbol 310 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 95;
this._name = ["enemyD" + _root.currentDenemies];
this.onEnterFrame = _root.enemyDcodes;
_root.currentDenemies = _root.currentDenemies + 1;
this._x = -800;
this._y = 265;
var exploded = false;
}
Instance of Symbol 310 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 90;
this._name = ["enemyD" + _root.currentDenemies];
this.onEnterFrame = _root.enemyDcodes;
_root.currentDenemies = _root.currentDenemies + 1;
this._x = -800;
this._y = 265;
var exploded = false;
}
Instance of Symbol 310 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 70;
this._name = ["enemyD" + _root.currentDenemies];
this.onEnterFrame = _root.enemyDcodes;
_root.currentDenemies = _root.currentDenemies + 1;
this._x = -800;
this._y = 265;
var exploded = false;
}
Instance of Symbol 310 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 50;
this._name = ["enemyD" + _root.currentDenemies];
this.onEnterFrame = _root.enemyDcodes;
_root.currentDenemies = _root.currentDenemies + 1;
this._x = -800;
this._y = 265;
var exploded = false;
}
Instance of Symbol 310 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 20;
this._name = ["enemyD" + _root.currentDenemies];
this.onEnterFrame = _root.enemyDcodes;
_root.currentDenemies = _root.currentDenemies + 1;
this._x = -800;
this._y = 265;
var exploded = false;
}
Instance of Symbol 310 MovieClip in Frame 12
onClipEvent (load) {
var waitTime = 8;
this._name = ["enemyD" + _root.currentDenemies];
this.onEnterFrame = _root.enemyDcodes;
_root.currentDenemies = _root.currentDenemies + 1;
this._x = -800;
this._y = 265;
var exploded = false;
}
Instance of Symbol 330 MovieClip "enemyA1" in Frame 12
onClipEvent (load) {
this.waitTime = 10000;
this.onEnterFrame = _root.enemyAcodes;
_root.currentAenemies = _root.currentAenemies + 1;
this._x = -300;
var exploded = false;
}
Instance of Symbol 331 MovieClip "thing3" in Frame 12
onClipEvent (enterFrame) {
if (_root.aTime < 120) {
_root.seconds = "SECONDS REMAINING: 60";
} else if (_root.aTime < 1013) {
_root.seconds = ["SECONDS REMAINING: " + int(((-_root.aTime) + 1000) / 14.5)];
} else {
_root.seconds = "MISSION COMPLETE!";
}
_root.profit = 51234 + (_root.accuracy * 1234);
_root.rankc = _root.ranks[_root.rank];
if (_root.accuracy < 40) {
_root.rank = 1;
_root.rankb = "F--";
} else if (_root.accuracy < 50) {
_root.rank = 2;
_root.rankb = "F-";
} else if (_root.accuracy < 60) {
_root.rank = 3;
_root.rankb = "F";
} else if (_root.accuracy < 70) {
_root.rank = 4;
_root.rankb = "D";
} else if (_root.accuracy < 80) {
_root.rank = 5;
_root.rankb = "C";
} else if (_root.accuracy < 90) {
_root.rank = 6;
_root.rankb = "B";
} else if (_root.accuracy < 100) {
_root.rank = 7;
_root.rankb = "A";
} else if (_root.accuracy < 110) {
_root.rank = 8;
_root.rankb = "A+";
} else if (_root.accuracy < 120) {
_root.rank = 9;
_root.rankb = "A++";
} else if (_root.accuracy < 130) {
_root.rank = 10;
_root.rankb = "A+++";
}
}
Instance of Symbol 337 MovieClip "head" in Frame 12
onClipEvent (enterFrame) {
if (this._x < 510) {
this._x = _root.line._x + (((_root.aTime - 90) / 1000) * (_root.line._width - 50));
}
}
Instance of Symbol 363 MovieClip "end_screen" in Frame 12
onClipEvent (load) {
this._visible = false;
}
Frame 13
Mouse.show();
_root.mouseb.removeMovieClip();
_root.canShoot = false;
Instance of Symbol 394 MovieClip in Frame 14
onClipEvent (enterFrame) {
currentV = _root.my_music.getVolume() - 20;
_root.my_music.setVolume(currentV);
_root.sound_boom_b.start();
}
Frame 19
stop();
_root.my_music.stop();
_root.mouseb._visible = false;
Frame 20
stop();
Symbol 37 Button
on (release) {
getURL ("http://www.armorgames.com", "_armor");
}
Symbol 83 Button
on (release) {
_root.play();
}
Symbol 84 MovieClip Frame 143
_root.play();
stop();
Symbol 91 MovieClip Frame 475
stop();
Symbol 107 Button
on (release) {
_root.gotoAndPlay("next");
}
Symbol 113 Button
on (release) {
_root.gotoAndStop("instructions");
}
Symbol 125 MovieClip Frame 1199
stop();
Instance of Symbol 155 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
if (_parent.real == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 160 MovieClip in Symbol 177 MovieClip Frame 2
onClipEvent (load) {
if (_parent.real == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 164 MovieClip in Symbol 177 MovieClip Frame 3
onClipEvent (load) {
if (_parent.real == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 168 MovieClip in Symbol 177 MovieClip Frame 4
onClipEvent (load) {
if (_parent.real == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 177 MovieClip Frame 5
gotoAndPlay (1);
Symbol 177 MovieClip Frame 11
this.removeMovieClip(this);
stop();
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 4
_root.rocket.duplicateMovieClip(["rocket" + _root.totalrockets], _root.totalrockets);
_root["rocket" + _root.totalrockets]._x = _root.tipX;
_root["rocket" + _root.totalrockets]._y = _root.tipY;
_root["rocket" + _root.totalrockets].real = true;
_root["rocket" + _root.totalrockets]._rotation = _root.gun._rotation + 90;
_root.totalrockets = _root.totalrockets + 1;
Symbol 200 MovieClip Frame 5
gotoAndPlay (1);
Symbol 200 MovieClip Frame 12
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 5
gotoAndStop (1);
Symbol 236 MovieClip Frame 20
gotoAndPlay (1);
Symbol 236 MovieClip Frame 29
stop();
Symbol 267 MovieClip Frame 2
stop();
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 9
stop();
Symbol 274 MovieClip Frame 29
_root.truck.gotoAndPlay("explode");
_root.dead = true;
Symbol 274 MovieClip Frame 33
gotoAndPlay ("beam");
Instance of Symbol 269 MovieClip in Symbol 274 MovieClip Frame 34
onClipEvent (load) {
var playedframe = false;
}
onClipEvent (enterFrame) {
if (playedframe == true) {
gotoAndPlay ("explode2");
} else {
playedframe = true;
}
}
Symbol 274 MovieClip Frame 42
stop();
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 14
stop();
Symbol 330 MovieClip Frame 40
gotoAndPlay (1);
Symbol 330 MovieClip Frame 46
stop();
Symbol 334 MovieClip Frame 188
stop();
Symbol 334 MovieClip Frame 189
stop();
Symbol 357 Button
on (release) {
_root.gotoAndPlay("try_again");
}
Symbol 362 Button
on (release) {
_root.gotoAndPlay("menu");
}
Symbol 377 MovieClip Frame 72
stop();
Symbol 384 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 11
_root.gotoAndPlay("died");