Frame 1
Mouse.show();
stop();
Frame 1236
stop();
Instance of Symbol 192 MovieClip in Frame 1236
/* no clip actions */
Frame 1237
stop();
Frame 1238
stop();
Frame 1239
stop();
Frame 1240
stop();
Frame 1241
stop();
Frame 1242
stop();
Frame 1243
stop();
Frame 1244
stop();
Frame 1341
this._quality = "LOW";
Mouse.hide();
ambientSound = new Sound(this);
ambientSound.attachSound("ambientnoise");
ambientSound.start(0, 99);
var eating = false;
arrive = 1;
_global.missioncomplete = 0;
_global.kills = 0;
_global.killcount = 0;
_global.cameramoveup = 3;
_global.cameramovedown = 3;
_global.cameramoveleft = 3;
_global.cameramoveright = 3;
_global.lazerreset = 0;
_global.lazeri = 0;
_global.badlazeri = 0;
_global.hostility = 1;
_global.comlinkshow = 0;
_global.coini = 0;
_global.moneyamount = 0;
walkdown = 0;
walkingdown = 0;
walkingleft = 0;
walkingright = 0;
walkingup = 0;
collisionup = 0;
var speed = 3;
_root.mc_background.key1.gotoAndStop(2);
var enemySpd = 2;
_root.onMouseUp = function () {
};
_root.onMouseDown = function () {
_root.warrior.car.muzzleflash.gotoAndPlay(2);
ambientSound.stop("ambientnoise");
_global.topcannonx = topcannon._rotation + 90;
_global.topcannony = topcannon._rotation + 90;
crosshairplace.gotoAndPlay(1);
if (_global.lazeri >= 50) {
_global.lazeri = 0;
}
_global.lazeri++;
_root.attachMovie("lazer", "lazer" + _global.lazeri, _root.getNextHighestDepth());
_root["lazer" + _global.lazeri]._x = warrior._x;
_root["lazer" + _global.lazeri]._y = warrior._y;
};
warrior.onEnterFrame = function () {
_root.kills.text = _global.kills;
_root.killcount.text = _global.killcount;
if (_global.kills == 20) {
_global.missioncomplete = 1;
_root.missioncomplete.play();
}
if (_global.killcount == 22) {
_root.mc_background.key1.gotoAndStop(1);
}
_global.playerx = warrior._x;
_global.playery = warrior._y;
plyrx.text = _global.playerx;
abbhp.text = 100;
plyry.text = _global.playery;
abbx.text = _global.badshipx;
abby.text = _global.badshipy;
if (this.car.hitTest(mc_background.wallhitbox2) || (this.car.hitTest(mc_background.wallhitbox) || (this.car.hitTest(mc_background.wallhitboxrightwallU) || (this.car.hitTest(mc_background.wallhitboxleftwallU) || (this.car.hitTest(mc_background.wallhitboxrightwallfU) || (this.car.hitTest(mc_background.aawallhitboxleftwallfU) || (this.car.hitTest(mc_background.wallhitboxredwallU) || (this.car.hitTest(mc_background.wallhitboxvendingU) || (this.car.hitTest(mc_background.wallhitboxcafetableU) || (this.car.hitTest(mc_background.wallhitboxcafetable2U) || (this.car.hitTest(mc_background.wallhitboxcafetable3U) || (this.car.hitTest(mc_background.wallhitboxcafetable4U) || (this.car.hitTest(mc_background.wallhitboxcafetable5U) || (this.car.hitTest(mc_background.wallhitboxcafetable6U) || (this.car.hitTest(mc_background.wallhitboxcafetable7U) || this.car.hitTest(mc_background.wallhitboxcarU)))))))))))))))) {
_global.cameramoveup = 0;
} else {
_global.cameramoveup = 3;
}
if (this.car.hitTest(mc_background.wallhitbox3) || (this.car.hitTest(mc_background.wallhitbox4) || (this.car.hitTest(mc_background.wallhitboxleftfR) || (this.car.hitTest(mc_background.wallhitboxrightfR) || (this.car.hitTest(mc_background.wallhitboxrightwallR2) || (this.car.hitTest(mc_background.wallhitboxredwallR) || (this.car.hitTest(mc_background.wallhitboxvendingR) || (this.car.hitTest(mc_background.wallhitboxcafetableL) || (this.car.hitTest(mc_background.wallhitboxcafetable2L) || (this.car.hitTest(mc_background.wallhitboxcafetable3L) || (this.car.hitTest(mc_background.wallhitboxcafetable4L) || (this.car.hitTest(mc_background.wallhitboxcafetable5L) || (this.car.hitTest(mc_background.wallhitboxcafetable6L) || (this.car.hitTest(mc_background.wallhitboxcafetable7L) || (this.car.hitTest(wallhitboxredwallL) || this.car.hitTest(mc_background.wallhitboxcarL)))))))))))))))) {
_global.cameramoveleft = 0;
} else {
_global.cameramoveleft = 3;
}
if (this.car.hitTest(mc_background.wallhitbox5) || (this.car.hitTest(mc_background.wallhitboxrightwallL) || (this.car.hitTest(mc_background.wallhitboxrightfL) || (s.car.hitTest(mc_background.wallhitboxleftfL) || (this.car.hitTest(mc_background.wallhitboxleftfL) || (this.car.hitTest(mc_background.wallhitboxleftwallL2) || (this.car.hitTest(mc_background.wallhitboxcafetableR) || (this.car.hitTest(mc_background.wallhitboxcafetable2R) || (this.car.hitTest(mc_background.wallhitboxcafetable3R) || (this.car.hitTest(mc_background.wallhitboxcafetable4R) || (this.car.hitTest(mc_background.wallhitboxcafetable5R) || (this.car.hitTest(mc_background.wallhitboxcafetable6R) || (this.car.hitTest(mc_background.wallhitboxcafetable7R) || this.car.hitTest(mc_background.wallhitboxcarR)))))))))))))) {
_global.cameramoveright = 0;
} else {
_global.cameramoveright = 3;
}
if (this.car.hitTest(mc_background.wallhitbox6) || (this.car.hitTest(mc_background.wallhitboxrightwallD) || (this.car.hitTest(mc_background.wallhitboxleftwallD) || (this.car.hitTest(mc_background.wallhitboxredwallD) || (this.car.hitTest(mc_background.wallhitboxvendingD) || (this.car.hitTest(mc_background.wallhitboxcafetableD) || (this.car.hitTest(mc_background.wallhitboxcafetable2D) || (this.car.hitTest(mc_background.wallhitboxcafetable3D) || (this.car.hitTest(mc_background.wallhitboxcafetable4D) || (this.car.hitTest(mc_background.wallhitboxcafetable5D) || (this.car.hitTest(mc_background.wallhitboxcafetable6D) || (this.car.hitTest(mc_background.wallhitboxcafetable7D) || this.car.hitTest(mc_background.wallhitboxcarD))))))))))))) {
_global.cameramovedown = 0;
} else {
_global.cameramovedown = 3;
}
if (Key.isDown(16)) {
_global.shiftdown = 1;
} else {
_global.shiftdown = 0;
}
_global.foodx = food._x;
warrior._x = bug._x;
warrior._y = bug._y;
if (Key.isDown(65)) {
_global.walking = 1;
directionwalk1 = 1;
walkingright = 1;
_root.warrior.legs.gotoAndStop(2);
mc_background._x = mc_background._x + _global.cameramoveright;
mc_frontground._x = mc_frontground._x + _global.cameramoveright;
footplace._x = footplace._x + _global.cameramoveright;
} else {
directionwalk1 = 0;
walkingright = 0;
}
if (Key.isDown(68)) {
_global.walking = 1;
directionwalk2 = 1;
walkingleft = 1;
_root.warrior.legs.gotoAndStop(2);
mc_frontground._x = mc_frontground._x - _global.cameramoveleft;
mc_background._x = mc_background._x - _global.cameramoveleft;
footplace._x = footplace._x - _global.cameramoveleft;
} else {
directionwalk2 = 0;
walkingleft = 0;
}
if (Key.isDown(87) && (collisionup == 1)) {
_global.cameramovey = 0;
}
if (Key.isDown(83)) {
_global.cameramoveup = 3;
_global.walking = 1;
directionwalk3 = 1;
walkingdown = 1;
_root.warrior.legs.gotoAndStop(2);
mc_frontground._y = mc_frontground._y - _global.cameramovedown;
mc_background._y = mc_background._y - _global.cameramovedown;
footplace._y = footplace._y - _global.cameramovedown;
} else {
directionwalk3 = 0;
walkingdown = 0;
}
if (Key.isDown(87) && (collisionup == 0)) {
walkingup = 1;
_global.walking = 1;
directionwalk4 = 1;
_root.warrior.legs.gotoAndStop(2);
mc_frontground._y = mc_frontground._y + _global.cameramoveup;
mc_background._y = mc_background._y + _global.cameramoveup;
footplace._y = footplace._y + _global.cameramoveup;
} else {
directionwalk4 = 0;
walkingup = 0;
}
if ((((directionwalk1 == 0) && (directionwalk2 == 0)) && (directionwalk3 == 0)) && (directionwalk4 == 0)) {
_global.walking = 0;
_root.warrior.legs.gotoAndStop(1);
}
if (directionwalk3 == 1) {
}
};
footplace.onEnterFrame = function () {
footplace._x = food._x;
footplace._y = food._y;
};
bug.onEnterFrame = function () {
var _local3 = this._x - food._x;
var _local2 = this._y - food._y;
if (eating) {
this._rotation = (Math.atan2(_local3, _local2) / Math.PI) * -180;
this._x = this._x + (speed * Math.sin((this._rotation * Math.PI) / 180));
this._y = this._y + ((-speed) * Math.cos((this._rotation * Math.PI) / 180));
}
if (this.hitTest(food)) {
removeMovieClip(food);
eating = false;
arrive = 1;
}
};
stop();
_global.exphitboxi = 0;
_global.gameover = 0;
Instance of Symbol 234 MovieClip "crosshairplace" in Frame 1341
onClipEvent (load) {
mousex = _root._xmouse;
mousey = _root._ymouse;
}
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
startDrag (_parent.crosshairplace, true);
if ((_root._xmouse == mousex) && (_root._ymouse == mousey)) {
} else {
mousex = _root._xmouse;
mousey = _root._ymouse;
}
}
Instance of Symbol 259 MovieClip in Frame 1341
onClipEvent (load) {
badgreyshiptombalive = 1;
badgreyshipspawni2 = 0;
badgreyshiptombstart = 1;
codetimer = 0;
}
onClipEvent (enterFrame) {
randomize1 = random(450);
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
if (((randomize1 == 336) && (badgreyshiptombalive == 1)) && (badgreyshiptombstart == 1)) {
if (badgreyshipspawni2 >= 25) {
badgreyshiptombalive = 0;
}
_root.attachMovie("badgreyship", "badgreyship" + badgreyshipspawni2, _root.getNextHighestDepth());
_root["badgreyship" + badgreyshipspawni2]._x = this._x + 60;
_root["badgreyship" + badgreyshipspawni2]._y = this._y + 60;
badgreyshipspawni2++;
}
}
Instance of Symbol 259 MovieClip in Frame 1341
onClipEvent (load) {
badgreyshiptombalive = 1;
badgreyshipspawni2 = 26;
badgreyshiptombstart = 1;
codetimer = 0;
}
onClipEvent (enterFrame) {
randomize1 = random(450);
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
if (((randomize1 == 336) && (badgreyshiptombalive == 1)) && (badgreyshiptombstart == 1)) {
if (badgreyshipspawni2 >= 50) {
badgreyshiptombalive = 0;
}
_root.attachMovie("badgreyship", "badgreyship" + badgreyshipspawni2, _root.getNextHighestDepth());
_root["badgreyship" + badgreyshipspawni2]._x = this._x + 60;
_root["badgreyship" + badgreyshipspawni2]._y = this._y + 60;
badgreyshipspawni2++;
}
}
Instance of Symbol 435 MovieClip "mc_frontground" in Frame 1341
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
}
Instance of Symbol 439 MovieClip "topcannon" in Frame 1341
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
this._x = _parent.warrior._x;
this._y = _parent.warrior._y;
this._rotation = this._rotation + ((Math.atan2(_ymouse, _xmouse) / Math.PI) * 180);
}
Instance of Symbol 475 MovieClip "warrior" in Frame 1341
onClipEvent (enterFrame) {
if (Key.isDown(65) && (_global.player1firing == 1)) {
_root.warrior.car.gotoAndStop(7);
}
if (Key.isDown(68) && (_global.player1firing == 1)) {
_root.warrior.car.gotoAndStop(3);
}
if (Key.isDown(83) && (_global.player1firing == 1)) {
_root.warrior.car.gotoAndStop(1);
}
if (Key.isDown(87) && (_global.player1firing == 1)) {
_root.warrior.car.gotoAndStop(5);
}
this.swapDepths(_root.getNextHighestDepth());
}
Frame 1342
_global.gameover = 1;
_root.crosshairplace.removeMovieClip();
_root.warrior.removeMovieClip();
_root.mc_frontground.removeMovieClip();
_root.badgreyship.removeMovieClip();
_root.badgreyship1.removeMovieClip();
_root.badgreyship2.removeMovieClip();
_root.badgreyship3.removeMovieClip();
_root.badgreyship4.removeMovieClip();
_root.badgreyship5.removeMovieClip();
_root.badgreyship6.removeMovieClip();
_root.badgreyship7.removeMovieClip();
_root.badgreyship8.removeMovieClip();
_root.badgreyship9.removeMovieClip();
_root.badgreyship10.removeMovieClip();
_root.badgreyship11.removeMovieClip();
_root.badgreyship12.removeMovieClip();
_root.badgreyship13.removeMovieClip();
_root.badgreyship14.removeMovieClip();
_root.badgreyship15.removeMovieClip();
_root.badgreyship16.removeMovieClip();
_root.badgreyship17.removeMovieClip();
_root.badgreyship18.removeMovieClip();
_root.badgreyship19.removeMovieClip();
_root.badgreyship20.removeMovieClip();
_root.badgreyship21.removeMovieClip();
_root.badgreyship22.removeMovieClip();
_root.badgreyship23.removeMovieClip();
_root.badgreyship24.removeMovieClip();
_root.badgreyship25.removeMovieClip();
_root.badgreyship26.removeMovieClip();
_root.badgreyship27.removeMovieClip();
_root.badgreyship28.removeMovieClip();
_root.badgreyship29.removeMovieClip();
_root.badgreyship30.removeMovieClip();
_root.badgreyship31.removeMovieClip();
Frame 1370
stop();
Frame 1371
Mouse.show();
stop();
Frame 1372
_global.gameover = 1;
_root.crosshairplace.removeMovieClip();
_root.warrior.removeMovieClip();
_root.mc_frontground.removeMovieClip();
_root.badgreyship.removeMovieClip();
_root.badgreyship1.removeMovieClip();
_root.badgreyship2.removeMovieClip();
_root.badgreyship3.removeMovieClip();
_root.badgreyship4.removeMovieClip();
_root.badgreyship5.removeMovieClip();
_root.badgreyship6.removeMovieClip();
_root.badgreyship7.removeMovieClip();
_root.badgreyship8.removeMovieClip();
_root.badgreyship9.removeMovieClip();
_root.badgreyship10.removeMovieClip();
_root.badgreyship11.removeMovieClip();
_root.badgreyship12.removeMovieClip();
_root.badgreyship13.removeMovieClip();
_root.badgreyship14.removeMovieClip();
_root.badgreyship15.removeMovieClip();
_root.badgreyship16.removeMovieClip();
_root.badgreyship17.removeMovieClip();
_root.badgreyship18.removeMovieClip();
_root.badgreyship19.removeMovieClip();
_root.badgreyship20.removeMovieClip();
_root.badgreyship21.removeMovieClip();
_root.badgreyship22.removeMovieClip();
_root.badgreyship23.removeMovieClip();
_root.badgreyship24.removeMovieClip();
_root.badgreyship25.removeMovieClip();
_root.badgreyship26.removeMovieClip();
_root.badgreyship27.removeMovieClip();
_root.badgreyship28.removeMovieClip();
_root.badgreyship29.removeMovieClip();
_root.badgreyship30.removeMovieClip();
_root.badgreyship31.removeMovieClip();
Frame 1373
stop();
Frame 1374
stop();
Frame 1375
stop();
Frame 1376
this.onEnterFrame = function () {
_root.cops.text = _global.killcount;
};
stop();
Frame 1377
stop();
Frame 1378
stop();
Frame 1379
stop();
Frame 1380
stopAllSounds();
Frame 1381
stop();
Symbol 3 MovieClip [lazer] Frame 1
speed = 20;
lazerlife = 0;
lazerburned = 0;
cannonx = _global.topcannonx;
cannony = _global.topcannony;
this.onEnterFrame = function () {
if (_global.gameover == 1) {
this.removeMovieClip();
}
lazerlife = lazerlife + 1;
if (lazerburned == 0) {
_global.bulletfiring = 1;
this._x = this._x + (speed * Math.sin((cannonx * Math.PI) / 180));
this._y = this._y - (speed * Math.cos((cannony * Math.PI) / 180));
}
if (lazerlife > 40) {
lazerburned = 1;
_global.bulletfiring = 0;
lazerlife = 0;
this.gotoAndStop(7);
}
if (Key.isDown(65) && (lazerburned == 0)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68) && (lazerburned == 0)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83) && (lazerburned == 0)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87) && (lazerburned == 0)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Symbol 3 MovieClip [lazer] Frame 4
Symbol 3 MovieClip [lazer] Frame 5
gotoAndStop (7);
Symbol 3 MovieClip [lazer] Frame 6
this.removeMovieClip();
Symbol 3 MovieClip [lazer] Frame 7
this.removeMovieClip();
Symbol 17 MovieClip Frame 60
gotoAndPlay (1);
Symbol 18 MovieClip Frame 1
stop();
Symbol 18 MovieClip Frame 2
stop();
Symbol 39 MovieClip Frame 10
_global.kills = _global.kills + 1;
stop();
Symbol 66 MovieClip Frame 4
_global.killcount = _global.killcount + 1;
Symbol 66 MovieClip Frame 33
stop();
Symbol 68 MovieClip [badgreyship] Frame 1
badshipend = 0;
badshipalive = 1;
health = 1;
badshipgreyxspeed = 0.6;
badshipgreyyspeed = 0.6;
chaserengage = 1;
badshipgrey1x = this._x;
badshipgrey1y = this._y;
codetimer = 0;
badshipgreychase = 1;
badshipgreyalive = 1;
randomdirectionvar = random(100);
randomdirectionvar2 = random(100);
randomdirectionvar3 = random(100);
randomdirectionvar4 = random(100);
this.onEnterFrame = function () {
if (_global.gameover == 1) {
this.removeMovieClip();
}
if (badshipalive == 1) {
if (codetimer < 500) {
codetimer = codetimer + 1;
badshiprandomlazer = random(150);
}
if (codetimer > 500) {
codetimer = codetimer + 1;
badshiprandomlazer = 0;
}
if (codetimer > 1000) {
codetimer = 0;
}
if (badshiprandomlazer == 5) {
if (bullettimer < 20) {
bullettimer = bullettimer + 1;
}
if (bullettimer >= 20) {
badshiprandomlazer = 0;
bullettimer = 0;
}
}
this._x = badshipgrey1x;
_global.badshipx = badshipgrey1x;
this._y = badshipgrey1y;
_global.badshipy = badshipgrey1y;
if (Key.isDown(65)) {
badshipgrey1x = badshipgrey1x + _global.cameramoveright;
}
if (Key.isDown(68)) {
badshipgrey1x = badshipgrey1x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
badshipgrey1y = badshipgrey1y - _global.cameramovedown;
}
if (Key.isDown(87)) {
badshipgrey1y = badshipgrey1y + _global.cameramoveup;
}
if (health <= 0) {
this.gotoAndStop(35);
badshipalive = 0;
badshipgreyxspeed = 0;
badshipgreyyspeed = 0;
badshipgreychase = 0;
}
}
if (health > 0) {
if (chaserengage == 1) {
badshipgreychase = 1;
chaserengage = 0;
}
}
if ((((badshiprandomlazer == 5) && (badshipalive == 1)) && (badshipgreychase == 1)) && (_global.hostility == 1)) {
_global.badlazeri++;
_root.attachMovie("badlazer", "badlazer" + _global.badlazeri, _root.getNextHighestDepth());
_root["badlazer" + _global.badlazeri]._x = this._x;
_root["badlazer" + _global.badlazeri]._y = this._y;
}
if (badshipgreychase == 1) {
if ((_global.playerx < (badshipgrey1x + randomdirectionvar2)) && (badshipgreyalive == 1)) {
badshipgrey1x = badshipgrey1x - badshipgreyxspeed;
}
if ((_global.playerx > (badshipgrey1x + randomdirectionvar3)) && (badshipgreyalive == 1)) {
badshipgrey1x = badshipgrey1x + badshipgreyxspeed;
}
if ((_global.playery < (badshipgrey1y + randomdirectionvar4)) && (badshipgreyalive == 1)) {
badshipgrey1y = badshipgrey1y - badshipgreyyspeed;
}
if (((_global.playery - randomdirectionvar) > badshipgrey1y) && (badshipgreyalive == 1)) {
badshipgrey1y = badshipgrey1y + badshipgreyyspeed;
}
}
};
stop();
Instance of Symbol 18 MovieClip in Symbol 68 MovieClip [badgreyship] Frame 1
onClipEvent (load) {
badshipalive = 1;
health = 1;
moneygive = 0;
movementsensor = 0;
xload = this._x;
yload = this._y;
}
onClipEvent (enterFrame) {
this.gotoAndStop(2);
if (xload2 > xload) {
this.gotoAndStop(2);
}
if (xload2 < xload) {
this.gotoAndStop(2);
}
}
Instance of Symbol 21 MovieClip in Symbol 68 MovieClip [badgreyship] Frame 1
onClipEvent (load) {
badshipalive = 1;
health = 1;
coinshow = 0;
}
onClipEvent (enterFrame) {
if (health <= 0) {
badshipalive = 0;
_parent.gotoAndStop(35);
}
if (this.hitTest(_root.lazer0) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer0.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer1) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer1.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer2) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer2.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer3) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer3.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer4) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer4.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer5) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer5.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer6) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer6.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer7) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer7.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer8) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer8.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer9) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer9.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer10) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer10.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer11) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer11.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer12) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer12.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer13) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer13.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer14) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer14.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer15) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer15.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer16) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer16.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer17) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer17.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer18) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer18.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer19) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer19.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer20) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer20.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer21) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer21.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer22) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer22.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer23) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer23.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer24) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer24.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer25) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer25.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer26) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer26.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer27) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer27.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer28) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer28.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer29) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer29.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer30) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer30.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer31) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer31.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer32) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer32.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer33) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer33.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer34) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer34.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer35) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer35.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer36) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer36.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer37) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer37.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer38) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer38.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer39) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer39.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer40) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer40.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer41) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer41.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer42) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer42.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer43) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer43.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer44) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer44.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer45) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer45.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer46) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer46.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer47) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer47.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer48) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer48.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer49) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer49.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer50) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer50.play();
_global.hostility = 1;
}
}
Symbol 68 MovieClip [badgreyship] Frame 2
badshipalive = 0;
badshipgreyxspeed = 0;
badshipgreyyspeed = 0;
badshipend = 0;
badshipalive = 1;
health = 1;
badshipgreyxspeed = 0.3;
badshipgreyyspeed = 0.6;
chaserengage = 1;
badshipgrey1x = this._x;
badshipgrey1y = this._y;
badshipgreychase = 1;
badshipgreyalive = 1;
this.onEnterFrame = function () {
this._x = badshipgrey1x;
this._y = badshipgrey1y;
if (Key.isDown(65)) {
badshipgrey1x = badshipgrey1x + _global.cameramoveright;
}
if (Key.isDown(68)) {
badshipgrey1x = badshipgrey1x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
badshipgrey1y = badshipgrey1y - _global.cameramovedown;
}
if (Key.isDown(87)) {
badshipgrey1y = badshipgrey1y + _global.cameramoveup;
}
if (_global.gameover == 1) {
this.removeMovieClip();
}
};
Symbol 68 MovieClip [badgreyship] Frame 28
badshipalive = 0;
badshipgreyxspeed = 0;
badshipgreyyspeed = 0;
badshipend = 0;
badshipalive = 1;
health = 1;
badshipgreyxspeed = 0.3;
badshipgreyyspeed = 0.6;
chaserengage = 1;
badshipgrey1x = this._x;
badshipgrey1y = this._y;
bodytimer = 0;
badshipgreychase = 1;
badshipgreyalive = 1;
this.onEnterFrame = function () {
if (_global.gameover == 1) {
this.removeMovieClip();
}
this._x = badshipgrey1x;
this._y = badshipgrey1y;
if (Key.isDown(65)) {
badshipgrey1x = badshipgrey1x + _global.cameramoveright;
}
if (Key.isDown(68)) {
badshipgrey1x = badshipgrey1x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
badshipgrey1y = badshipgrey1y - _global.cameramovedown;
}
if (Key.isDown(87)) {
badshipgrey1y = badshipgrey1y + _global.cameramoveup;
}
};
stop();
Symbol 68 MovieClip [badgreyship] Frame 29
gotoAndStop (28);
Symbol 68 MovieClip [badgreyship] Frame 30
gotoAndStop (29);
Symbol 68 MovieClip [badgreyship] Frame 31
gotoAndStop (29);
Symbol 68 MovieClip [badgreyship] Frame 32
gotoAndStop (29);
Symbol 68 MovieClip [badgreyship] Frame 33
gotoAndStop (29);
Symbol 68 MovieClip [badgreyship] Frame 34
gotoAndStop (29);
Symbol 68 MovieClip [badgreyship] Frame 35
badshipalive = 0;
badshipgreyxspeed = 0;
badshipgreyyspeed = 0;
badshipend = 0;
badshipalive = 1;
health = 1;
badshipgreyxspeed = 0.3;
badshipgreyyspeed = 0.6;
chaserengage = 1;
badshipgrey1x = this._x;
badshipgrey1y = this._y;
badshipgreychase = 1;
badshipgreyalive = 1;
bodytimer = 0;
coinshow = 0;
killcountadd = 0;
if (killcountadd == 0) {
killcountadd = 1;
}
this.onEnterFrame = function () {
if (_global.gameover == 1) {
this.removeMovieClip();
}
this._x = badshipgrey1x;
this._y = badshipgrey1y;
if (Key.isDown(65)) {
badshipgrey1x = badshipgrey1x + _global.cameramoveright;
}
if (Key.isDown(68)) {
badshipgrey1x = badshipgrey1x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
badshipgrey1y = badshipgrey1y - _global.cameramovedown;
}
if (Key.isDown(87)) {
badshipgrey1y = badshipgrey1y + _global.cameramoveup;
}
};
stop();
Symbol 68 MovieClip [badgreyship] Frame 36
gotoAndStop (35);
this.enemy1shotdeath.gotoAndStop(33);
Symbol 68 MovieClip [badgreyship] Frame 37
gotoAndStop (35);
Symbol 68 MovieClip [badgreyship] Frame 38
gotoAndStop (35);
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
this.onEnterFrame = function () {
this.removeMovieClip();
};
stop();
Symbol 77 MovieClip [badlazer] Frame 1
speed = 10;
lazerlife = 0;
lazerburned = 0;
myRadians = Math.atan2(_root.warrior._y - this._y, _root.warrior._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
this._rotation = myDegrees + 90;
cannonx = _global.topcannonx;
cannony = _global.topcannony;
playerx = _global.playerx;
playery = _global.playery;
this.onEnterFrame = function () {
if (this.hitTest(_root.warrior.car)) {
_root.warrior.bloodspray.play();
this.removeMovieClip();
}
if (this.hitTest(_root.redwall)) {
this.removeMovieClip();
}
lazerlife = lazerlife + 1;
if (lazerlife >= 200) {
this.removeMovieClip();
lazerlife = 0;
}
if (_global.gameover == 1) {
this.removeMovieClip();
}
if (Key.isDown(65) && (lazerburned == 0)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68) && (lazerburned == 0)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83) && (lazerburned == 0)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87) && (lazerburned == 0)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Instance of Symbol 69 MovieClip in Symbol 77 MovieClip [badlazer] Frame 1
onClipEvent (load) {
lazerlife = 0;
}
onClipEvent (enterFrame) {
lazerlife = lazerlife + 1;
if (lazerlife < 175) {
this._y = this._y - 10;
} else {
this._y = this._y - 9999;
_parent.removeMovieClip();
this.gotoAndStop(2);
}
}
Symbol 77 MovieClip [badlazer] Frame 4
Symbol 77 MovieClip [badlazer] Frame 5
gotoAndStop (7);
Symbol 77 MovieClip [badlazer] Frame 6
decallife = 0;
this.onEnterFrame = function () {
decallife = decallife + 1;
if (decallife > 200) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramove;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramove;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramove;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramove;
}
};
stop();
Symbol 77 MovieClip [badlazer] Frame 7
this.onEnterFrame = function () {
this.removeMovieClip();
};
Symbol 114 MovieClip Frame 35
this.removeMovieClip();
stop();
Symbol 115 MovieClip Frame 86
stop();
Symbol 116 MovieClip [tanktop] Frame 1
_global.cannonbolti = 0;
badshipalive = 1;
cannonalive = 1;
health = 25;
tanktimer = 0;
myRadians = Math.atan2(_root.warrior._y - this._y, _root.warrior._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
this._rotation = myDegrees + 90;
this.onEnterFrame = function () {
tanktimer = tanktimer + 1;
if (health <= 0) {
cannonalive = 0;
badshipalive = 0;
gotoAndPlay (2);
}
if (_global.bulletfiring == 1) {
if (this.hitTest(_root.lazer0) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer0.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer1) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer1.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer2) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer2.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer3) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer3.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer4) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer4.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer5) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer5.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer6) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer6.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer7) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer7.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer8) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer8.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer9) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer9.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer10) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer10.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer11) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer11.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer12) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer12.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer13) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer13.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer14) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer14.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer15) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer15.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer16) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer16.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer17) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer17.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer18) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer18.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer19) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer19.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer20) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer20.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer21) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer21.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer22) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer22.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer23) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer23.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer24) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer24.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer25) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer25.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer26) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer26.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer27) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer27.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer28) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer28.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer29) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer29.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer30) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer30.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer31) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer31.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer32) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer32.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer33) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer33.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer34) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer34.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer35) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer35.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer36) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer36.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer37) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer37.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer38) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer38.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer39) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer39.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer40) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer40.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer41) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer41.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer42) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer42.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer43) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer43.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer44) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer44.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer45) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer45.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer46) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer46.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer47) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer47.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer48) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer48.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer49) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer49.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer50) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer50.play();
_global.hostility = 1;
}
}
if (((_global.hostility == 1) && (tanktimer >= 200)) && (cannonalive == 1)) {
tanktimer = 0;
_root.attachMovie("cannonbolt", "cannonbolt" + _global.cannonbolti, _root.getNextHighestDepth());
_root["cannonbolt" + _global.cannonbolti]._x = this._x;
_root["cannonbolt" + _global.cannonbolti]._y = this._y;
_global.cannonbolti++;
}
if (_global.walking == 1) {
myRadians = Math.atan2(_root.warrior._y - this._y, _root.warrior._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
this._rotation = myDegrees + 90;
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Symbol 116 MovieClip [tanktop] Frame 2
cannonalive = 0;
Symbol 116 MovieClip [tanktop] Frame 49
badshipalive = 0;
Symbol 116 MovieClip [tanktop] Frame 90
this.onEnterFrame = function () {
this._x = -9999;
this._y = -9999;
this.removeMovieClip();
};
stop();
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 2
this.removeMovieClip();
stop();
Symbol 119 MovieClip [cannonbolt] Frame 1
speed = 10;
lazerlife = 0;
lazerburned = 0;
myRadians = Math.atan2(_root.warrior._y - this._y, _root.warrior._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
this._rotation = myDegrees + 90;
cannonx = _global.topcannonx;
cannony = _global.topcannony;
playerx = _global.playerx;
playery = _global.playery;
this.onEnterFrame = function () {
lazerlife = lazerlife + 1;
if (lazerburned == 0) {
}
if (lazerlife > 175) {
lazerburned = 1;
lazerlife = 0;
gotoAndPlay (2);
}
if (this._y > 700) {
}
if (this._x > 900) {
}
if (this._x < 0) {
}
if (Key.isDown(65) && (lazerburned == 0)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68) && (lazerburned == 0)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83) && (lazerburned == 0)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87) && (lazerburned == 0)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Instance of Symbol 118 MovieClip in Symbol 119 MovieClip [cannonbolt] Frame 1
onClipEvent (load) {
lazerlife = 0;
}
onClipEvent (enterFrame) {
lazerlife = lazerlife + 1;
if (lazerlife < 175) {
this._y = this._y - 5;
} else {
this._y = this._y - 9999;
this.gotoAndStop(2);
this.removeMovieClip();
}
}
Symbol 119 MovieClip [cannonbolt] Frame 4
Symbol 119 MovieClip [cannonbolt] Frame 5
gotoAndStop (7);
Symbol 119 MovieClip [cannonbolt] Frame 6
decallife = 0;
this.onEnterFrame = function () {
decallife = decallife + 1;
if (decallife > 200) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramove;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramove;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramove;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramove;
}
};
stop();
Symbol 119 MovieClip [cannonbolt] Frame 7
this.removeMovieClip();
Symbol 122 MovieClip [expbarrell] Frame 1
expbarrell = 0;
badshipalive = 1;
cannonalive = 1;
health = 1;
this.onEnterFrame = function () {
if (health <= 0) {
cannonalive = 0;
badshipalive = 0;
gotoAndPlay (2);
}
if (this.hitTest(_root.lazer0) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer0.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer1) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer1.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer2) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer2.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer3) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer3.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer4) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer4.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer5) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer5.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer6) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer6.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer7) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer7.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer8) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer8.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer9) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer9.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer10) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer10.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer11) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer11.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer12) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer12.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer13) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer13.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer14) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer14.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer15) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer15.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer16) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer16.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer17) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer17.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer18) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer18.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer19) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer19.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer20) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer20.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer21) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer21.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer22) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer22.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer23) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer23.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer24) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer24.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer25) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer25.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer26) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer26.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer27) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer27.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer28) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer28.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer29) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer29.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer30) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer30.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer31) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer31.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer32) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer32.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer33) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer33.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer34) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer34.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer35) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer35.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer36) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer36.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer37) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer37.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer38) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer38.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer39) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer39.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer40) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer40.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer41) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer41.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer42) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer42.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer43) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer43.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer44) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer44.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer45) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer45.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer46) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer46.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer47) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer47.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer48) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer48.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer49) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer49.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer50) && (badshipalive == 1)) {
health = health - 1;
_global.score = _global.score + 10;
_root.lazer50.play();
_global.hostility = 1;
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Symbol 122 MovieClip [expbarrell] Frame 2
explosiondone = 0;
collisiondone = 0;
this.onEnterFrame = function () {
if (this.hitTest(_root.badgreyship0) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship0.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship1) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship1.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship2) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship2.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship3) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship3.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship4) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship4.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship5) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship5.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship6) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship6.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship7) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship7.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship8) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship8.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship9) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship9.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship10) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship10.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship11) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship11.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship12) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship12.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship13) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship13.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship14) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship14.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship15) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship15.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship16) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship16.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship17) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship17.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship18) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship18.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship19) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship19.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship20) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship20.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship21) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship21.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship22) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship22.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship23) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship23.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship24) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship24.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship25) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship25.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship26) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship26.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship27) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship27.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship28) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship28.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship29) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship29.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship30) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship30.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship31) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship31.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship32) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship32.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship33) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship33.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship34) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship34.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship35) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship35.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship36) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship36.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship37) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship37.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship38) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship38.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship39) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship39.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship40) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship40.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship41) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship41.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship42) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship42.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship43) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship43.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship44) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship44.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship45) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship45.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship46) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship46.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship47) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship47.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship48) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship48.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship49) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship49.play();
_global.hostility = 1;
}
if (this.hitTest(_root.badgreyship50) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.badgreyship50.play();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell0) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell0.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell1) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell1.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell2) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell2.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell3) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell3.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell4) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell4.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell5) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell5.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell6) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell6.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell7) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell7.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell8) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell8.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell9) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell9.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell10) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell10.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell11) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell11.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell12) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell12.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell13) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell13.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell14) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell14.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell15) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell15.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell16) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell16.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell17) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell17.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell18) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell18.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell19) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell19.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell20) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell20.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell21) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell21.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell22) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell22.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell23) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell23.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell24) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell24.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell25) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell25.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell26) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell26.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell27) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell27.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell28) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell28.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell29) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell29.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell30) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell30.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell31) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell31.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell32) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell32.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell33) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell33.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell34) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell34.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell35) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell35.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell36) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell36.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell37) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell37.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell38) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell38.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell39) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell39.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell40) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell40.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell41) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell41.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell42) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell42.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell43) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell43.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell44) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell44.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell45) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell45.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell46) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell46.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell47) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell47.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell48) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell48.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell49) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell49.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.expbarrell50) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.expbarrell50.play()();
_global.hostility = 1;
}
if (this.hitTest(_root.tanktop1) && (explosiondone == 0)) {
_global.score = _global.score + 10;
_root.tanktop1.play()();
_global.hostility = 1;
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramoveup;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramovedown;
}
};
Symbol 122 MovieClip [expbarrell] Frame 49
badshipalive = 0;
Symbol 122 MovieClip [expbarrell] Frame 90
this.onEnterFrame = function () {
this._x = -9999;
this._y = -9999;
this.removeMovieClip();
};
stop();
Symbol 125 MovieClip [exphitbox] Frame 15
this.removeMovieClip();
stop();
Symbol 152 MovieClip [coin] Frame 1
this.onEnterFrame = function () {
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Instance of Symbol 137 MovieClip in Symbol 152 MovieClip [coin] Frame 1
onClipEvent (load) {
badshipalive = 1;
health = 1;
moneygive = 0;
}
onClipEvent (enterFrame) {
if (health <= 0) {
badshipalive = 0;
_parent.gotoAndStop(35);
}
if (this.hitTest(_root.warrior.car) && (badshipalive == 1)) {
_global.score = _global.score + 10;
_parent.play();
_global.hostility = 1;
if (moneygive == 0) {
_global.moneyamount = _global.moneyamount + 1;
moneygive = 1;
}
}
}
Symbol 152 MovieClip [coin] Frame 17
stop();
Symbol 159 MovieClip Frame 700
_root.play();
Symbol 164 Button
on (press) {
gotoAndStop (1341);
}
Symbol 185 MovieClip Frame 221
stop();
Symbol 186 Button
on (press) {
play();
stopAllSounds();
}
Symbol 189 Button
on (press) {
play();
}
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 2
stop();
Symbol 199 Button
on (release) {
_root.play();
}
Symbol 200 MovieClip Frame 200
stop();
Symbol 201 MovieClip Frame 130
stop();
Symbol 205 MovieClip Frame 130
stop();
Symbol 208 MovieClip Frame 130
stop();
Symbol 211 MovieClip Frame 130
stop();
Symbol 214 MovieClip Frame 130
stop();
Symbol 217 MovieClip Frame 130
stop();
Symbol 220 MovieClip Frame 130
stop();
Symbol 229 Button
on (release) {
_root.play();
stopAllSounds();
}
Symbol 230 MovieClip Frame 130
stop();
Symbol 234 MovieClip Frame 1
Symbol 275 MovieClip Frame 1
stop();
expbarrell = 0;
badshipalive = 1;
cannonalive = 1;
health = 1;
this.onEnterFrame = function () {
if (health <= 0) {
cannonalive = 0;
badshipalive = 0;
gotoAndPlay (2);
}
if (this.hitTest(_root.lazer0)) {
health = health - 1;
_root.lazer0.play();
}
if (this.hitTest(_root.lazer1)) {
health = health - 1;
_root.lazer1.play();
}
if (this.hitTest(_root.lazer2)) {
health = health - 1;
_root.lazer2.play();
}
if (this.hitTest(_root.lazer3)) {
health = health - 1;
_root.lazer3.play();
}
if (this.hitTest(_root.lazer4)) {
health = health - 1;
_root.lazer4.play();
}
if (this.hitTest(_root.lazer5)) {
health = health - 1;
_root.lazer5.play();
}
if (this.hitTest(_root.lazer6)) {
health = health - 1;
_root.lazer6.play();
}
if (this.hitTest(_root.lazer7)) {
health = health - 1;
_root.lazer7.play();
}
if (this.hitTest(_root.lazer8)) {
health = health - 1;
_root.lazer8.play();
}
if (this.hitTest(_root.lazer9)) {
health = health - 1;
_root.lazer9.play();
}
if (this.hitTest(_root.lazer10)) {
health = health - 1;
_root.lazer10.play();
}
if (this.hitTest(_root.lazer11)) {
health = health - 1;
_root.lazer11.play();
}
if (this.hitTest(_root.lazer12)) {
health = health - 1;
_root.lazer12.play();
}
if (this.hitTest(_root.lazer13)) {
health = health - 1;
_root.lazer13.play();
}
if (this.hitTest(_root.lazer14)) {
health = health - 1;
_root.lazer14.play();
}
if (this.hitTest(_root.lazer15)) {
health = health - 1;
_root.lazer15.play();
}
if (this.hitTest(_root.lazer16)) {
health = health - 1;
_root.lazer16.play();
}
if (this.hitTest(_root.lazer17)) {
health = health - 1;
_root.lazer17.play();
}
if (this.hitTest(_root.lazer18)) {
health = health - 1;
_root.lazer18.play();
}
if (this.hitTest(_root.lazer19)) {
health = health - 1;
_root.lazer19.play();
}
if (this.hitTest(_root.lazer20)) {
health = health - 1;
_root.lazer20.play();
}
if (this.hitTest(_root.lazer21)) {
health = health - 1;
_root.lazer21.play();
}
if (this.hitTest(_root.lazer22)) {
health = health - 1;
_root.lazer22.play();
}
if (this.hitTest(_root.lazer23)) {
health = health - 1;
_root.lazer23.play();
}
if (this.hitTest(_root.lazer24)) {
health = health - 1;
_root.lazer24.play();
}
if (this.hitTest(_root.lazer25)) {
health = health - 1;
_root.lazer25.play();
}
if (this.hitTest(_root.lazer26)) {
health = health - 1;
_root.lazer26.play();
}
if (this.hitTest(_root.lazer27)) {
health = health - 1;
_root.lazer27.play();
}
if (this.hitTest(_root.lazer28)) {
health = health - 1;
_root.lazer28.play();
}
if (this.hitTest(_root.lazer29)) {
health = health - 1;
_root.lazer29.play();
}
if (this.hitTest(_root.lazer30)) {
health = health - 1;
_root.lazer30.play();
}
if (this.hitTest(_root.lazer31)) {
health = health - 1;
_root.lazer31.play();
}
if (this.hitTest(_root.lazer32)) {
health = health - 1;
_root.lazer32.play();
}
if (this.hitTest(_root.lazer33)) {
health = health - 1;
_root.lazer33.play();
}
if (this.hitTest(_root.lazer34)) {
health = health - 1;
_root.lazer34.play();
}
if (this.hitTest(_root.lazer35)) {
health = health - 1;
_root.lazer35.play();
}
if (this.hitTest(_root.lazer36)) {
health = health - 1;
_root.lazer36.play();
}
if (this.hitTest(_root.lazer37)) {
health = health - 1;
_root.lazer37.play();
}
if (this.hitTest(_root.lazer38)) {
health = health - 1;
_root.lazer38.play();
}
if (this.hitTest(_root.lazer39)) {
health = health - 1;
_root.lazer39.play();
}
if (this.hitTest(_root.lazer40)) {
health = health - 1;
_root.lazer40.play();
}
if (this.hitTest(_root.lazer41)) {
health = health - 1;
_root.lazer41.play();
}
if (this.hitTest(_root.lazer42)) {
health = health - 1;
_root.lazer42.play();
}
if (this.hitTest(_root.lazer43)) {
health = health - 1;
_root.lazer43.play();
}
if (this.hitTest(_root.lazer44)) {
health = health - 1;
_root.lazer44.play();
}
if (this.hitTest(_root.lazer45)) {
health = health - 1;
_root.lazer45.play();
}
if (this.hitTest(_root.lazer46)) {
health = health - 1;
_root.lazer46.play();
}
if (this.hitTest(_root.lazer47)) {
health = health - 1;
_root.lazer47.play();
}
if (this.hitTest(_root.lazer48)) {
health = health - 1;
_root.lazer48.play();
}
if (this.hitTest(_root.lazer49)) {
health = health - 1;
_root.lazer49.play();
}
if (this.hitTest(_root.lazer50)) {
health = health - 1;
_root.lazer50.play();
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Symbol 275 MovieClip Frame 2
explosiondone = 0;
collisiondone = 0;
this.onEnterFrame = function () {
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
Symbol 275 MovieClip Frame 19
stop();
Symbol 275 MovieClip Frame 21
gotoAndStop (19);
Symbol 275 MovieClip Frame 49
badshipalive = 0;
Symbol 275 MovieClip Frame 90
this.onEnterFrame = function () {
};
stop();
Symbol 295 MovieClip Frame 1
stop();
expbarrell = 0;
badshipalive = 1;
cannonalive = 1;
health = 1;
this.onEnterFrame = function () {
if (health <= 0) {
cannonalive = 0;
badshipalive = 0;
gotoAndPlay (2);
}
if (this.hitTest(_root.lazer0)) {
health = health - 1;
_root.lazer0.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer1)) {
health = health - 1;
_root.lazer1.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer2)) {
health = health - 1;
_root.lazer2.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer3)) {
health = health - 1;
_root.lazer3.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer4)) {
health = health - 1;
_root.lazer4.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer5)) {
health = health - 1;
_root.lazer5.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer6)) {
health = health - 1;
_root.lazer6.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer7)) {
health = health - 1;
_root.lazer7.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer8)) {
health = health - 1;
_root.lazer8.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer9)) {
health = health - 1;
_root.lazer9.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer10)) {
health = health - 1;
_root.lazer10.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer11)) {
health = health - 1;
_root.lazer11.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer12)) {
health = health - 1;
_root.lazer12.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer13)) {
health = health - 1;
_root.lazer13.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer14)) {
health = health - 1;
_root.lazer14.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer15)) {
health = health - 1;
_root.lazer15.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer16)) {
health = health - 1;
_root.lazer16.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer17)) {
health = health - 1;
_root.lazer17.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer18)) {
health = health - 1;
_root.lazer18.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer19)) {
health = health - 1;
_root.lazer19.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer20)) {
health = health - 1;
_root.lazer20.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer21)) {
health = health - 1;
_root.lazer21.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer22)) {
health = health - 1;
_root.lazer22.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer23)) {
health = health - 1;
_root.lazer23.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer24)) {
health = health - 1;
_root.lazer24.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer25)) {
health = health - 1;
_root.lazer25.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer26)) {
health = health - 1;
_root.lazer26.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer27)) {
health = health - 1;
_root.lazer27.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer28)) {
health = health - 1;
_root.lazer28.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer29)) {
health = health - 1;
_root.lazer29.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer30)) {
health = health - 1;
_root.lazer30.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer31)) {
health = health - 1;
_root.lazer31.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer32)) {
health = health - 1;
_root.lazer32.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer33)) {
health = health - 1;
_root.lazer33.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer34)) {
health = health - 1;
_root.lazer34.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer35)) {
health = health - 1;
_root.lazer35.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer36)) {
health = health - 1;
_root.lazer36.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer37)) {
health = health - 1;
_root.lazer37.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer38)) {
health = health - 1;
_root.lazer38.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer39)) {
health = health - 1;
_root.lazer39.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer40)) {
health = health - 1;
_root.lazer40.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer41)) {
health = health - 1;
_root.lazer41.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer42)) {
health = health - 1;
_root.lazer42.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer43)) {
health = health - 1;
_root.lazer43.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer44)) {
health = health - 1;
_root.lazer44.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer45)) {
health = health - 1;
_root.lazer45.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer46)) {
health = health - 1;
_root.lazer46.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer47)) {
health = health - 1;
_root.lazer47.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer48)) {
health = health - 1;
_root.lazer48.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer49)) {
health = health - 1;
_root.lazer49.play();
_global.hostility = 1;
}
if (this.hitTest(_root.lazer50)) {
health = health - 1;
_root.lazer50.play();
_global.hostility = 1;
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Symbol 295 MovieClip Frame 2
explosiondone = 0;
collisiondone = 0;
this.onEnterFrame = function () {
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
Symbol 295 MovieClip Frame 25
stop();
Symbol 295 MovieClip Frame 27
gotoAndStop (25);
Symbol 295 MovieClip Frame 49
badshipalive = 0;
Symbol 295 MovieClip Frame 90
this.onEnterFrame = function () {
};
stop();
Symbol 298 MovieClip Frame 1
badshipalive = 0;
badshipgreyxspeed = 0;
badshipgreyyspeed = 0;
badshipend = 0;
badshipalive = 1;
health = 1;
badshipgreyxspeed = 0.3;
badshipgreyyspeed = 0.6;
chaserengage = 1;
badshipgrey1x = this._x;
badshipgrey1y = this._y;
badshipgreychase = 1;
badshipgreyalive = 1;
this.onEnterFrame = function () {
this._x = badshipgrey1x;
this._y = badshipgrey1y;
if (_global.gameover == 1) {
this.removeMovieClip();
}
};
stop();
Symbol 298 MovieClip Frame 6
badshipalive = 0;
badshipgreyxspeed = 0;
badshipgreyyspeed = 0;
badshipend = 0;
badshipalive = 1;
health = 1;
badshipgreyxspeed = 0.3;
badshipgreyyspeed = 0.6;
chaserengage = 1;
badshipgrey1x = this._x;
badshipgrey1y = this._y;
badshipgreychase = 1;
badshipgreyalive = 1;
this.onEnterFrame = function () {
this._x = badshipgrey1x;
this._y = badshipgrey1y;
if (_global.gameover == 1) {
this.removeMovieClip();
}
};
Symbol 298 MovieClip Frame 25
if (_global.missioncomplete == 0) {
_root.gotoAndPlay(1342);
}
if (_global.missioncomplete == 1) {
_root.gotoAndPlay(1372);
}
stop();
Symbol 298 MovieClip Frame 27
gotoAndStop (11);
Symbol 299 MovieClip Frame 5
badshipalive = 0;
badshipgreyxspeed = 0;
badshipgreyyspeed = 0;
badshipend = 0;
badshipalive = 1;
health = 1;
badshipgreyxspeed = 0.3;
badshipgreyyspeed = 0.6;
chaserengage = 1;
badshipgrey1x = this._x;
badshipgrey1y = this._y;
badshipgreychase = 1;
badshipgreyalive = 1;
this.onEnterFrame = function () {
this._x = badshipgrey1x;
this._y = badshipgrey1y;
if (Key.isDown(65)) {
badshipgrey1x = badshipgrey1x + _global.cameramoveright;
}
if (Key.isDown(68)) {
badshipgrey1x = badshipgrey1x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
badshipgrey1y = badshipgrey1y - _global.cameramovedown;
}
if (Key.isDown(87)) {
badshipgrey1y = badshipgrey1y + _global.cameramoveup;
}
if (_global.gameover == 1) {
this.removeMovieClip();
}
};
Symbol 299 MovieClip Frame 24
_root.gotoAndPlay(1342);
stop();
Symbol 299 MovieClip Frame 26
gotoAndStop (11);
Symbol 317 MovieClip Frame 1
stop();
expbarrell = 0;
badshipalive = 1;
cannonalive = 1;
health = 1;
this.onEnterFrame = function () {
if (health <= 0) {
cannonalive = 0;
badshipalive = 0;
gotoAndPlay (2);
}
if (this.hitTest(_root.lazer0)) {
health = health - 1;
_root.lazer0.play();
}
if (this.hitTest(_root.lazer1)) {
health = health - 1;
_root.lazer1.play();
}
if (this.hitTest(_root.lazer2)) {
health = health - 1;
_root.lazer2.play();
}
if (this.hitTest(_root.lazer3)) {
health = health - 1;
_root.lazer3.play();
}
if (this.hitTest(_root.lazer4)) {
health = health - 1;
_root.lazer4.play();
}
if (this.hitTest(_root.lazer5)) {
health = health - 1;
_root.lazer5.play();
}
if (this.hitTest(_root.lazer6)) {
health = health - 1;
_root.lazer6.play();
}
if (this.hitTest(_root.lazer7)) {
health = health - 1;
_root.lazer7.play();
}
if (this.hitTest(_root.lazer8)) {
health = health - 1;
_root.lazer8.play();
}
if (this.hitTest(_root.lazer9)) {
health = health - 1;
_root.lazer9.play();
}
if (this.hitTest(_root.lazer10)) {
health = health - 1;
_root.lazer10.play();
}
if (this.hitTest(_root.lazer11)) {
health = health - 1;
_root.lazer11.play();
}
if (this.hitTest(_root.lazer12)) {
health = health - 1;
_root.lazer12.play();
}
if (this.hitTest(_root.lazer13)) {
health = health - 1;
_root.lazer13.play();
}
if (this.hitTest(_root.lazer14)) {
health = health - 1;
_root.lazer14.play();
}
if (this.hitTest(_root.lazer15)) {
health = health - 1;
_root.lazer15.play();
}
if (this.hitTest(_root.lazer16)) {
health = health - 1;
_root.lazer16.play();
}
if (this.hitTest(_root.lazer17)) {
health = health - 1;
_root.lazer17.play();
}
if (this.hitTest(_root.lazer18)) {
health = health - 1;
_root.lazer18.play();
}
if (this.hitTest(_root.lazer19)) {
health = health - 1;
_root.lazer19.play();
}
if (this.hitTest(_root.lazer20)) {
health = health - 1;
_root.lazer20.play();
}
if (this.hitTest(_root.lazer21)) {
health = health - 1;
_root.lazer21.play();
}
if (this.hitTest(_root.lazer22)) {
health = health - 1;
_root.lazer22.play();
}
if (this.hitTest(_root.lazer23)) {
health = health - 1;
_root.lazer23.play();
}
if (this.hitTest(_root.lazer24)) {
health = health - 1;
_root.lazer24.play();
}
if (this.hitTest(_root.lazer25)) {
health = health - 1;
_root.lazer25.play();
}
if (this.hitTest(_root.lazer26)) {
health = health - 1;
_root.lazer26.play();
}
if (this.hitTest(_root.lazer27)) {
health = health - 1;
_root.lazer27.play();
}
if (this.hitTest(_root.lazer28)) {
health = health - 1;
_root.lazer28.play();
}
if (this.hitTest(_root.lazer29)) {
health = health - 1;
_root.lazer29.play();
}
if (this.hitTest(_root.lazer30)) {
health = health - 1;
_root.lazer30.play();
}
if (this.hitTest(_root.lazer31)) {
health = health - 1;
_root.lazer31.play();
}
if (this.hitTest(_root.lazer32)) {
health = health - 1;
_root.lazer32.play();
}
if (this.hitTest(_root.lazer33)) {
health = health - 1;
_root.lazer33.play();
}
if (this.hitTest(_root.lazer34)) {
health = health - 1;
_root.lazer34.play();
}
if (this.hitTest(_root.lazer35)) {
health = health - 1;
_root.lazer35.play();
}
if (this.hitTest(_root.lazer36)) {
health = health - 1;
_root.lazer36.play();
}
if (this.hitTest(_root.lazer37)) {
health = health - 1;
_root.lazer37.play();
}
if (this.hitTest(_root.lazer38)) {
health = health - 1;
_root.lazer38.play();
}
if (this.hitTest(_root.lazer39)) {
health = health - 1;
_root.lazer39.play();
}
if (this.hitTest(_root.lazer40)) {
health = health - 1;
_root.lazer40.play();
}
if (this.hitTest(_root.lazer41)) {
health = health - 1;
_root.lazer41.play();
}
if (this.hitTest(_root.lazer42)) {
health = health - 1;
_root.lazer42.play();
}
if (this.hitTest(_root.lazer43)) {
health = health - 1;
_root.lazer43.play();
}
if (this.hitTest(_root.lazer44)) {
health = health - 1;
_root.lazer44.play();
}
if (this.hitTest(_root.lazer45)) {
health = health - 1;
_root.lazer45.play();
}
if (this.hitTest(_root.lazer46)) {
health = health - 1;
_root.lazer46.play();
}
if (this.hitTest(_root.lazer47)) {
health = health - 1;
_root.lazer47.play();
}
if (this.hitTest(_root.lazer48)) {
health = health - 1;
_root.lazer48.play();
}
if (this.hitTest(_root.lazer49)) {
health = health - 1;
_root.lazer49.play();
}
if (this.hitTest(_root.lazer50)) {
health = health - 1;
_root.lazer50.play();
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Symbol 317 MovieClip Frame 2
explosiondone = 0;
collisiondone = 0;
this.onEnterFrame = function () {
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
Symbol 317 MovieClip Frame 25
stop();
Symbol 317 MovieClip Frame 49
badshipalive = 0;
Symbol 317 MovieClip Frame 90
this.onEnterFrame = function () {
};
stop();
Symbol 320 MovieClip Frame 1
this.onEnterFrame = function () {
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
Symbol 340 MovieClip Frame 1
stop();
expbarrell = 0;
badshipalive = 1;
cannonalive = 1;
health = 1;
this.onEnterFrame = function () {
if (health <= 0) {
cannonalive = 0;
badshipalive = 0;
gotoAndPlay (2);
}
if (this.hitTest(_root.lazer0)) {
health = health - 1;
_root.lazer0.play();
}
if (this.hitTest(_root.lazer1)) {
health = health - 1;
_root.lazer1.play();
}
if (this.hitTest(_root.lazer2)) {
health = health - 1;
_root.lazer2.play();
}
if (this.hitTest(_root.lazer3)) {
health = health - 1;
_root.lazer3.play();
}
if (this.hitTest(_root.lazer4)) {
health = health - 1;
_root.lazer4.play();
}
if (this.hitTest(_root.lazer5)) {
health = health - 1;
_root.lazer5.play();
}
if (this.hitTest(_root.lazer6)) {
health = health - 1;
_root.lazer6.play();
}
if (this.hitTest(_root.lazer7)) {
health = health - 1;
_root.lazer7.play();
}
if (this.hitTest(_root.lazer8)) {
health = health - 1;
_root.lazer8.play();
}
if (this.hitTest(_root.lazer9)) {
health = health - 1;
_root.lazer9.play();
}
if (this.hitTest(_root.lazer10)) {
health = health - 1;
_root.lazer10.play();
}
if (this.hitTest(_root.lazer11)) {
health = health - 1;
_root.lazer11.play();
}
if (this.hitTest(_root.lazer12)) {
health = health - 1;
_root.lazer12.play();
}
if (this.hitTest(_root.lazer13)) {
health = health - 1;
_root.lazer13.play();
}
if (this.hitTest(_root.lazer14)) {
health = health - 1;
_root.lazer14.play();
}
if (this.hitTest(_root.lazer15)) {
health = health - 1;
_root.lazer15.play();
}
if (this.hitTest(_root.lazer16)) {
health = health - 1;
_root.lazer16.play();
}
if (this.hitTest(_root.lazer17)) {
health = health - 1;
_root.lazer17.play();
}
if (this.hitTest(_root.lazer18)) {
health = health - 1;
_root.lazer18.play();
}
if (this.hitTest(_root.lazer19)) {
health = health - 1;
_root.lazer19.play();
}
if (this.hitTest(_root.lazer20)) {
health = health - 1;
_root.lazer20.play();
}
if (this.hitTest(_root.lazer21)) {
health = health - 1;
_root.lazer21.play();
}
if (this.hitTest(_root.lazer22)) {
health = health - 1;
_root.lazer22.play();
}
if (this.hitTest(_root.lazer23)) {
health = health - 1;
_root.lazer23.play();
}
if (this.hitTest(_root.lazer24)) {
health = health - 1;
_root.lazer24.play();
}
if (this.hitTest(_root.lazer25)) {
health = health - 1;
_root.lazer25.play();
}
if (this.hitTest(_root.lazer26)) {
health = health - 1;
_root.lazer26.play();
}
if (this.hitTest(_root.lazer27)) {
health = health - 1;
_root.lazer27.play();
}
if (this.hitTest(_root.lazer28)) {
health = health - 1;
_root.lazer28.play();
}
if (this.hitTest(_root.lazer29)) {
health = health - 1;
_root.lazer29.play();
}
if (this.hitTest(_root.lazer30)) {
health = health - 1;
_root.lazer30.play();
}
if (this.hitTest(_root.lazer31)) {
health = health - 1;
_root.lazer31.play();
}
if (this.hitTest(_root.lazer32)) {
health = health - 1;
_root.lazer32.play();
}
if (this.hitTest(_root.lazer33)) {
health = health - 1;
_root.lazer33.play();
}
if (this.hitTest(_root.lazer34)) {
health = health - 1;
_root.lazer34.play();
}
if (this.hitTest(_root.lazer35)) {
health = health - 1;
_root.lazer35.play();
}
if (this.hitTest(_root.lazer36)) {
health = health - 1;
_root.lazer36.play();
}
if (this.hitTest(_root.lazer37)) {
health = health - 1;
_root.lazer37.play();
}
if (this.hitTest(_root.lazer38)) {
health = health - 1;
_root.lazer38.play();
}
if (this.hitTest(_root.lazer39)) {
health = health - 1;
_root.lazer39.play();
}
if (this.hitTest(_root.lazer40)) {
health = health - 1;
_root.lazer40.play();
}
if (this.hitTest(_root.lazer41)) {
health = health - 1;
_root.lazer41.play();
}
if (this.hitTest(_root.lazer42)) {
health = health - 1;
_root.lazer42.play();
}
if (this.hitTest(_root.lazer43)) {
health = health - 1;
_root.lazer43.play();
}
if (this.hitTest(_root.lazer44)) {
health = health - 1;
_root.lazer44.play();
}
if (this.hitTest(_root.lazer45)) {
health = health - 1;
_root.lazer45.play();
}
if (this.hitTest(_root.lazer46)) {
health = health - 1;
_root.lazer46.play();
}
if (this.hitTest(_root.lazer47)) {
health = health - 1;
_root.lazer47.play();
}
if (this.hitTest(_root.lazer48)) {
health = health - 1;
_root.lazer48.play();
}
if (this.hitTest(_root.lazer49)) {
health = health - 1;
_root.lazer49.play();
}
if (this.hitTest(_root.lazer50)) {
health = health - 1;
_root.lazer50.play();
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Symbol 340 MovieClip Frame 2
explosiondone = 0;
collisiondone = 0;
this.onEnterFrame = function () {
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
Symbol 340 MovieClip Frame 24
stop();
Symbol 340 MovieClip Frame 25
gotoAndStop (24);
Symbol 340 MovieClip Frame 49
badshipalive = 0;
Symbol 340 MovieClip Frame 90
this.onEnterFrame = function () {
};
stop();
Symbol 360 MovieClip Frame 1
stop();
expbarrell = 0;
badshipalive = 1;
cannonalive = 1;
health = 1;
this.onEnterFrame = function () {
if (health <= 0) {
cannonalive = 0;
badshipalive = 0;
gotoAndPlay (2);
}
if (this.hitTest(_root.lazer0)) {
health = health - 1;
_root.lazer0.play();
}
if (this.hitTest(_root.lazer1)) {
health = health - 1;
_root.lazer1.play();
}
if (this.hitTest(_root.lazer2)) {
health = health - 1;
_root.lazer2.play();
}
if (this.hitTest(_root.lazer3)) {
health = health - 1;
_root.lazer3.play();
}
if (this.hitTest(_root.lazer4)) {
health = health - 1;
_root.lazer4.play();
}
if (this.hitTest(_root.lazer5)) {
health = health - 1;
_root.lazer5.play();
}
if (this.hitTest(_root.lazer6)) {
health = health - 1;
_root.lazer6.play();
}
if (this.hitTest(_root.lazer7)) {
health = health - 1;
_root.lazer7.play();
}
if (this.hitTest(_root.lazer8)) {
health = health - 1;
_root.lazer8.play();
}
if (this.hitTest(_root.lazer9)) {
health = health - 1;
_root.lazer9.play();
}
if (this.hitTest(_root.lazer10)) {
health = health - 1;
_root.lazer10.play();
}
if (this.hitTest(_root.lazer11)) {
health = health - 1;
_root.lazer11.play();
}
if (this.hitTest(_root.lazer12)) {
health = health - 1;
_root.lazer12.play();
}
if (this.hitTest(_root.lazer13)) {
health = health - 1;
_root.lazer13.play();
}
if (this.hitTest(_root.lazer14)) {
health = health - 1;
_root.lazer14.play();
}
if (this.hitTest(_root.lazer15)) {
health = health - 1;
_root.lazer15.play();
}
if (this.hitTest(_root.lazer16)) {
health = health - 1;
_root.lazer16.play();
}
if (this.hitTest(_root.lazer17)) {
health = health - 1;
_root.lazer17.play();
}
if (this.hitTest(_root.lazer18)) {
health = health - 1;
_root.lazer18.play();
}
if (this.hitTest(_root.lazer19)) {
health = health - 1;
_root.lazer19.play();
}
if (this.hitTest(_root.lazer20)) {
health = health - 1;
_root.lazer20.play();
}
if (this.hitTest(_root.lazer21)) {
health = health - 1;
_root.lazer21.play();
}
if (this.hitTest(_root.lazer22)) {
health = health - 1;
_root.lazer22.play();
}
if (this.hitTest(_root.lazer23)) {
health = health - 1;
_root.lazer23.play();
}
if (this.hitTest(_root.lazer24)) {
health = health - 1;
_root.lazer24.play();
}
if (this.hitTest(_root.lazer25)) {
health = health - 1;
_root.lazer25.play();
}
if (this.hitTest(_root.lazer26)) {
health = health - 1;
_root.lazer26.play();
}
if (this.hitTest(_root.lazer27)) {
health = health - 1;
_root.lazer27.play();
}
if (this.hitTest(_root.lazer28)) {
health = health - 1;
_root.lazer28.play();
}
if (this.hitTest(_root.lazer29)) {
health = health - 1;
_root.lazer29.play();
}
if (this.hitTest(_root.lazer30)) {
health = health - 1;
_root.lazer30.play();
}
if (this.hitTest(_root.lazer31)) {
health = health - 1;
_root.lazer31.play();
}
if (this.hitTest(_root.lazer32)) {
health = health - 1;
_root.lazer32.play();
}
if (this.hitTest(_root.lazer33)) {
health = health - 1;
_root.lazer33.play();
}
if (this.hitTest(_root.lazer34)) {
health = health - 1;
_root.lazer34.play();
}
if (this.hitTest(_root.lazer35)) {
health = health - 1;
_root.lazer35.play();
}
if (this.hitTest(_root.lazer36)) {
health = health - 1;
_root.lazer36.play();
}
if (this.hitTest(_root.lazer37)) {
health = health - 1;
_root.lazer37.play();
}
if (this.hitTest(_root.lazer38)) {
health = health - 1;
_root.lazer38.play();
}
if (this.hitTest(_root.lazer39)) {
health = health - 1;
_root.lazer39.play();
}
if (this.hitTest(_root.lazer40)) {
health = health - 1;
_root.lazer40.play();
}
if (this.hitTest(_root.lazer41)) {
health = health - 1;
_root.lazer41.play();
}
if (this.hitTest(_root.lazer42)) {
health = health - 1;
_root.lazer42.play();
}
if (this.hitTest(_root.lazer43)) {
health = health - 1;
_root.lazer43.play();
}
if (this.hitTest(_root.lazer44)) {
health = health - 1;
_root.lazer44.play();
}
if (this.hitTest(_root.lazer45)) {
health = health - 1;
_root.lazer45.play();
}
if (this.hitTest(_root.lazer46)) {
health = health - 1;
_root.lazer46.play();
}
if (this.hitTest(_root.lazer47)) {
health = health - 1;
_root.lazer47.play();
}
if (this.hitTest(_root.lazer48)) {
health = health - 1;
_root.lazer48.play();
}
if (this.hitTest(_root.lazer49)) {
health = health - 1;
_root.lazer49.play();
}
if (this.hitTest(_root.lazer50)) {
health = health - 1;
_root.lazer50.play();
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Symbol 360 MovieClip Frame 2
explosiondone = 0;
collisiondone = 0;
this.onEnterFrame = function () {
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
Symbol 360 MovieClip Frame 22
stop();
Symbol 360 MovieClip Frame 23
gotoAndStop (22);
Symbol 360 MovieClip Frame 49
badshipalive = 0;
Symbol 360 MovieClip Frame 90
this.onEnterFrame = function () {
};
stop();
Symbol 376 MovieClip Frame 1
stop();
expbarrell = 0;
badshipalive = 1;
cannonalive = 1;
health = 1;
this.onEnterFrame = function () {
if (health <= 0) {
cannonalive = 0;
badshipalive = 0;
gotoAndPlay (2);
}
if (this.hitTest(_root.lazer0)) {
health = health - 1;
_root.lazer0.play();
}
if (this.hitTest(_root.lazer1)) {
health = health - 1;
_root.lazer1.play();
}
if (this.hitTest(_root.lazer2)) {
health = health - 1;
_root.lazer2.play();
}
if (this.hitTest(_root.lazer3)) {
health = health - 1;
_root.lazer3.play();
}
if (this.hitTest(_root.lazer4)) {
health = health - 1;
_root.lazer4.play();
}
if (this.hitTest(_root.lazer5)) {
health = health - 1;
_root.lazer5.play();
}
if (this.hitTest(_root.lazer6)) {
health = health - 1;
_root.lazer6.play();
}
if (this.hitTest(_root.lazer7)) {
health = health - 1;
_root.lazer7.play();
}
if (this.hitTest(_root.lazer8)) {
health = health - 1;
_root.lazer8.play();
}
if (this.hitTest(_root.lazer9)) {
health = health - 1;
_root.lazer9.play();
}
if (this.hitTest(_root.lazer10)) {
health = health - 1;
_root.lazer10.play();
}
if (this.hitTest(_root.lazer11)) {
health = health - 1;
_root.lazer11.play();
}
if (this.hitTest(_root.lazer12)) {
health = health - 1;
_root.lazer12.play();
}
if (this.hitTest(_root.lazer13)) {
health = health - 1;
_root.lazer13.play();
}
if (this.hitTest(_root.lazer14)) {
health = health - 1;
_root.lazer14.play();
}
if (this.hitTest(_root.lazer15)) {
health = health - 1;
_root.lazer15.play();
}
if (this.hitTest(_root.lazer16)) {
health = health - 1;
_root.lazer16.play();
}
if (this.hitTest(_root.lazer17)) {
health = health - 1;
_root.lazer17.play();
}
if (this.hitTest(_root.lazer18)) {
health = health - 1;
_root.lazer18.play();
}
if (this.hitTest(_root.lazer19)) {
health = health - 1;
_root.lazer19.play();
}
if (this.hitTest(_root.lazer20)) {
health = health - 1;
_root.lazer20.play();
}
if (this.hitTest(_root.lazer21)) {
health = health - 1;
_root.lazer21.play();
}
if (this.hitTest(_root.lazer22)) {
health = health - 1;
_root.lazer22.play();
}
if (this.hitTest(_root.lazer23)) {
health = health - 1;
_root.lazer23.play();
}
if (this.hitTest(_root.lazer24)) {
health = health - 1;
_root.lazer24.play();
}
if (this.hitTest(_root.lazer25)) {
health = health - 1;
_root.lazer25.play();
}
if (this.hitTest(_root.lazer26)) {
health = health - 1;
_root.lazer26.play();
}
if (this.hitTest(_root.lazer27)) {
health = health - 1;
_root.lazer27.play();
}
if (this.hitTest(_root.lazer28)) {
health = health - 1;
_root.lazer28.play();
}
if (this.hitTest(_root.lazer29)) {
health = health - 1;
_root.lazer29.play();
}
if (this.hitTest(_root.lazer30)) {
health = health - 1;
_root.lazer30.play();
}
if (this.hitTest(_root.lazer31)) {
health = health - 1;
_root.lazer31.play();
}
if (this.hitTest(_root.lazer32)) {
health = health - 1;
_root.lazer32.play();
}
if (this.hitTest(_root.lazer33)) {
health = health - 1;
_root.lazer33.play();
}
if (this.hitTest(_root.lazer34)) {
health = health - 1;
_root.lazer34.play();
}
if (this.hitTest(_root.lazer35)) {
health = health - 1;
_root.lazer35.play();
}
if (this.hitTest(_root.lazer36)) {
health = health - 1;
_root.lazer36.play();
}
if (this.hitTest(_root.lazer37)) {
health = health - 1;
_root.lazer37.play();
}
if (this.hitTest(_root.lazer38)) {
health = health - 1;
_root.lazer38.play();
}
if (this.hitTest(_root.lazer39)) {
health = health - 1;
_root.lazer39.play();
}
if (this.hitTest(_root.lazer40)) {
health = health - 1;
_root.lazer40.play();
}
if (this.hitTest(_root.lazer41)) {
health = health - 1;
_root.lazer41.play();
}
if (this.hitTest(_root.lazer42)) {
health = health - 1;
_root.lazer42.play();
}
if (this.hitTest(_root.lazer43)) {
health = health - 1;
_root.lazer43.play();
}
if (this.hitTest(_root.lazer44)) {
health = health - 1;
_root.lazer44.play();
}
if (this.hitTest(_root.lazer45)) {
health = health - 1;
_root.lazer45.play();
}
if (this.hitTest(_root.lazer46)) {
health = health - 1;
_root.lazer46.play();
}
if (this.hitTest(_root.lazer47)) {
health = health - 1;
_root.lazer47.play();
}
if (this.hitTest(_root.lazer48)) {
health = health - 1;
_root.lazer48.play();
}
if (this.hitTest(_root.lazer49)) {
health = health - 1;
_root.lazer49.play();
}
if (this.hitTest(_root.lazer50)) {
health = health - 1;
_root.lazer50.play();
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Symbol 376 MovieClip Frame 2
explosiondone = 0;
collisiondone = 0;
this.onEnterFrame = function () {
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
Symbol 376 MovieClip Frame 18
stop();
Symbol 376 MovieClip Frame 19
gotoAndStop (18);
Symbol 376 MovieClip Frame 49
badshipalive = 0;
Symbol 376 MovieClip Frame 90
this.onEnterFrame = function () {
};
stop();
Symbol 379 MovieClip Frame 1
this.onEnterFrame = function () {
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
Symbol 382 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.hitTest(_root.lazer0)) {
health = health - 1;
_root.lazer0.play();
}
if (this.hitTest(_root.lazer1)) {
health = health - 1;
_root.lazer1.play();
}
if (this.hitTest(_root.lazer2)) {
health = health - 1;
_root.lazer2.play();
}
if (this.hitTest(_root.lazer3)) {
health = health - 1;
_root.lazer3.play();
}
if (this.hitTest(_root.lazer4)) {
health = health - 1;
_root.lazer4.play();
}
if (this.hitTest(_root.lazer5)) {
health = health - 1;
_root.lazer5.play();
}
if (this.hitTest(_root.lazer6)) {
health = health - 1;
_root.lazer6.play();
}
if (this.hitTest(_root.lazer7)) {
health = health - 1;
_root.lazer7.play();
}
if (this.hitTest(_root.lazer8)) {
health = health - 1;
_root.lazer8.play();
}
if (this.hitTest(_root.lazer9)) {
health = health - 1;
_root.lazer9.play();
}
if (this.hitTest(_root.lazer10)) {
health = health - 1;
_root.lazer10.play();
}
if (this.hitTest(_root.lazer11)) {
health = health - 1;
_root.lazer11.play();
}
if (this.hitTest(_root.lazer12)) {
health = health - 1;
_root.lazer12.play();
}
if (this.hitTest(_root.lazer13)) {
health = health - 1;
_root.lazer13.play();
}
if (this.hitTest(_root.lazer14)) {
health = health - 1;
_root.lazer14.play();
}
if (this.hitTest(_root.lazer15)) {
health = health - 1;
_root.lazer15.play();
}
if (this.hitTest(_root.lazer16)) {
health = health - 1;
_root.lazer16.play();
}
if (this.hitTest(_root.lazer17)) {
health = health - 1;
_root.lazer17.play();
}
if (this.hitTest(_root.lazer18)) {
health = health - 1;
_root.lazer18.play();
}
if (this.hitTest(_root.lazer19)) {
health = health - 1;
_root.lazer19.play();
}
if (this.hitTest(_root.lazer20)) {
health = health - 1;
_root.lazer20.play();
}
if (this.hitTest(_root.lazer21)) {
health = health - 1;
_root.lazer21.play();
}
if (this.hitTest(_root.lazer22)) {
health = health - 1;
_root.lazer22.play();
}
if (this.hitTest(_root.lazer23)) {
health = health - 1;
_root.lazer23.play();
}
if (this.hitTest(_root.lazer24)) {
health = health - 1;
_root.lazer24.play();
}
if (this.hitTest(_root.lazer25)) {
health = health - 1;
_root.lazer25.play();
}
if (this.hitTest(_root.lazer26)) {
health = health - 1;
_root.lazer26.play();
}
if (this.hitTest(_root.lazer27)) {
health = health - 1;
_root.lazer27.play();
}
if (this.hitTest(_root.lazer28)) {
health = health - 1;
_root.lazer28.play();
}
if (this.hitTest(_root.lazer29)) {
health = health - 1;
_root.lazer29.play();
}
if (this.hitTest(_root.lazer30)) {
health = health - 1;
_root.lazer30.play();
}
if (this.hitTest(_root.lazer31)) {
health = health - 1;
_root.lazer31.play();
}
if (this.hitTest(_root.lazer32)) {
health = health - 1;
_root.lazer32.play();
}
if (this.hitTest(_root.lazer33)) {
health = health - 1;
_root.lazer33.play();
}
if (this.hitTest(_root.lazer34)) {
health = health - 1;
_root.lazer34.play();
}
if (this.hitTest(_root.lazer35)) {
health = health - 1;
_root.lazer35.play();
}
if (this.hitTest(_root.lazer36)) {
health = health - 1;
_root.lazer36.play();
}
if (this.hitTest(_root.lazer37)) {
health = health - 1;
_root.lazer37.play();
}
if (this.hitTest(_root.lazer38)) {
health = health - 1;
_root.lazer38.play();
}
if (this.hitTest(_root.lazer39)) {
health = health - 1;
_root.lazer39.play();
}
if (this.hitTest(_root.lazer40)) {
health = health - 1;
_root.lazer40.play();
}
if (this.hitTest(_root.lazer41)) {
health = health - 1;
_root.lazer41.play();
}
if (this.hitTest(_root.lazer42)) {
health = health - 1;
_root.lazer42.play();
}
if (this.hitTest(_root.lazer43)) {
health = health - 1;
_root.lazer43.play();
}
if (this.hitTest(_root.lazer44)) {
health = health - 1;
_root.lazer44.play();
}
if (this.hitTest(_root.lazer45)) {
health = health - 1;
_root.lazer45.play();
}
if (this.hitTest(_root.lazer46)) {
health = health - 1;
_root.lazer46.play();
}
if (this.hitTest(_root.lazer47)) {
health = health - 1;
_root.lazer47.play();
}
if (this.hitTest(_root.lazer48)) {
health = health - 1;
_root.lazer48.play();
}
if (this.hitTest(_root.lazer49)) {
health = health - 1;
_root.lazer49.play();
}
if (this.hitTest(_root.lazer50)) {
health = health - 1;
_root.lazer50.play();
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
Symbol 391 MovieClip Frame 1
stop();
expbarrell = 0;
badshipalive = 1;
cannonalive = 1;
health = 1;
this.onEnterFrame = function () {
if (health <= 0) {
cannonalive = 0;
badshipalive = 0;
gotoAndPlay (2);
}
if (this.hitTest(_root.lazer0)) {
health = health - 1;
_root.lazer0.play();
}
if (this.hitTest(_root.lazer1)) {
health = health - 1;
_root.lazer1.play();
}
if (this.hitTest(_root.lazer2)) {
health = health - 1;
_root.lazer2.play();
}
if (this.hitTest(_root.lazer3)) {
health = health - 1;
_root.lazer3.play();
}
if (this.hitTest(_root.lazer4)) {
health = health - 1;
_root.lazer4.play();
}
if (this.hitTest(_root.lazer5)) {
health = health - 1;
_root.lazer5.play();
}
if (this.hitTest(_root.lazer6)) {
health = health - 1;
_root.lazer6.play();
}
if (this.hitTest(_root.lazer7)) {
health = health - 1;
_root.lazer7.play();
}
if (this.hitTest(_root.lazer8)) {
health = health - 1;
_root.lazer8.play();
}
if (this.hitTest(_root.lazer9)) {
health = health - 1;
_root.lazer9.play();
}
if (this.hitTest(_root.lazer10)) {
health = health - 1;
_root.lazer10.play();
}
if (this.hitTest(_root.lazer11)) {
health = health - 1;
_root.lazer11.play();
}
if (this.hitTest(_root.lazer12)) {
health = health - 1;
_root.lazer12.play();
}
if (this.hitTest(_root.lazer13)) {
health = health - 1;
_root.lazer13.play();
}
if (this.hitTest(_root.lazer14)) {
health = health - 1;
_root.lazer14.play();
}
if (this.hitTest(_root.lazer15)) {
health = health - 1;
_root.lazer15.play();
}
if (this.hitTest(_root.lazer16)) {
health = health - 1;
_root.lazer16.play();
}
if (this.hitTest(_root.lazer17)) {
health = health - 1;
_root.lazer17.play();
}
if (this.hitTest(_root.lazer18)) {
health = health - 1;
_root.lazer18.play();
}
if (this.hitTest(_root.lazer19)) {
health = health - 1;
_root.lazer19.play();
}
if (this.hitTest(_root.lazer20)) {
health = health - 1;
_root.lazer20.play();
}
if (this.hitTest(_root.lazer21)) {
health = health - 1;
_root.lazer21.play();
}
if (this.hitTest(_root.lazer22)) {
health = health - 1;
_root.lazer22.play();
}
if (this.hitTest(_root.lazer23)) {
health = health - 1;
_root.lazer23.play();
}
if (this.hitTest(_root.lazer24)) {
health = health - 1;
_root.lazer24.play();
}
if (this.hitTest(_root.lazer25)) {
health = health - 1;
_root.lazer25.play();
}
if (this.hitTest(_root.lazer26)) {
health = health - 1;
_root.lazer26.play();
}
if (this.hitTest(_root.lazer27)) {
health = health - 1;
_root.lazer27.play();
}
if (this.hitTest(_root.lazer28)) {
health = health - 1;
_root.lazer28.play();
}
if (this.hitTest(_root.lazer29)) {
health = health - 1;
_root.lazer29.play();
}
if (this.hitTest(_root.lazer30)) {
health = health - 1;
_root.lazer30.play();
}
if (this.hitTest(_root.lazer31)) {
health = health - 1;
_root.lazer31.play();
}
if (this.hitTest(_root.lazer32)) {
health = health - 1;
_root.lazer32.play();
}
if (this.hitTest(_root.lazer33)) {
health = health - 1;
_root.lazer33.play();
}
if (this.hitTest(_root.lazer34)) {
health = health - 1;
_root.lazer34.play();
}
if (this.hitTest(_root.lazer35)) {
health = health - 1;
_root.lazer35.play();
}
if (this.hitTest(_root.lazer36)) {
health = health - 1;
_root.lazer36.play();
}
if (this.hitTest(_root.lazer37)) {
health = health - 1;
_root.lazer37.play();
}
if (this.hitTest(_root.lazer38)) {
health = health - 1;
_root.lazer38.play();
}
if (this.hitTest(_root.lazer39)) {
health = health - 1;
_root.lazer39.play();
}
if (this.hitTest(_root.lazer40)) {
health = health - 1;
_root.lazer40.play();
}
if (this.hitTest(_root.lazer41)) {
health = health - 1;
_root.lazer41.play();
}
if (this.hitTest(_root.lazer42)) {
health = health - 1;
_root.lazer42.play();
}
if (this.hitTest(_root.lazer43)) {
health = health - 1;
_root.lazer43.play();
}
if (this.hitTest(_root.lazer44)) {
health = health - 1;
_root.lazer44.play();
}
if (this.hitTest(_root.lazer45)) {
health = health - 1;
_root.lazer45.play();
}
if (this.hitTest(_root.lazer46)) {
health = health - 1;
_root.lazer46.play();
}
if (this.hitTest(_root.lazer47)) {
health = health - 1;
_root.lazer47.play();
}
if (this.hitTest(_root.lazer48)) {
health = health - 1;
_root.lazer48.play();
}
if (this.hitTest(_root.lazer49)) {
health = health - 1;
_root.lazer49.play();
}
if (this.hitTest(_root.lazer50)) {
health = health - 1;
_root.lazer50.play();
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Symbol 391 MovieClip Frame 2
explosiondone = 0;
collisiondone = 0;
this.onEnterFrame = function () {
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
Symbol 391 MovieClip Frame 4
stop();
Symbol 391 MovieClip Frame 5
gotoAndStop (4);
Symbol 391 MovieClip Frame 49
badshipalive = 0;
Symbol 391 MovieClip Frame 90
this.onEnterFrame = function () {
};
stop();
Symbol 400 MovieClip Frame 1
stop();
expbarrell = 0;
badshipalive = 1;
cannonalive = 1;
health = 1;
this.onEnterFrame = function () {
if (health <= 0) {
cannonalive = 0;
badshipalive = 0;
gotoAndPlay (2);
}
if (this.hitTest(_root.lazer0)) {
health = health - 1;
_root.lazer0.play();
}
if (this.hitTest(_root.lazer1)) {
health = health - 1;
_root.lazer1.play();
}
if (this.hitTest(_root.lazer2)) {
health = health - 1;
_root.lazer2.play();
}
if (this.hitTest(_root.lazer3)) {
health = health - 1;
_root.lazer3.play();
}
if (this.hitTest(_root.lazer4)) {
health = health - 1;
_root.lazer4.play();
}
if (this.hitTest(_root.lazer5)) {
health = health - 1;
_root.lazer5.play();
}
if (this.hitTest(_root.lazer6)) {
health = health - 1;
_root.lazer6.play();
}
if (this.hitTest(_root.lazer7)) {
health = health - 1;
_root.lazer7.play();
}
if (this.hitTest(_root.lazer8)) {
health = health - 1;
_root.lazer8.play();
}
if (this.hitTest(_root.lazer9)) {
health = health - 1;
_root.lazer9.play();
}
if (this.hitTest(_root.lazer10)) {
health = health - 1;
_root.lazer10.play();
}
if (this.hitTest(_root.lazer11)) {
health = health - 1;
_root.lazer11.play();
}
if (this.hitTest(_root.lazer12)) {
health = health - 1;
_root.lazer12.play();
}
if (this.hitTest(_root.lazer13)) {
health = health - 1;
_root.lazer13.play();
}
if (this.hitTest(_root.lazer14)) {
health = health - 1;
_root.lazer14.play();
}
if (this.hitTest(_root.lazer15)) {
health = health - 1;
_root.lazer15.play();
}
if (this.hitTest(_root.lazer16)) {
health = health - 1;
_root.lazer16.play();
}
if (this.hitTest(_root.lazer17)) {
health = health - 1;
_root.lazer17.play();
}
if (this.hitTest(_root.lazer18)) {
health = health - 1;
_root.lazer18.play();
}
if (this.hitTest(_root.lazer19)) {
health = health - 1;
_root.lazer19.play();
}
if (this.hitTest(_root.lazer20)) {
health = health - 1;
_root.lazer20.play();
}
if (this.hitTest(_root.lazer21)) {
health = health - 1;
_root.lazer21.play();
}
if (this.hitTest(_root.lazer22)) {
health = health - 1;
_root.lazer22.play();
}
if (this.hitTest(_root.lazer23)) {
health = health - 1;
_root.lazer23.play();
}
if (this.hitTest(_root.lazer24)) {
health = health - 1;
_root.lazer24.play();
}
if (this.hitTest(_root.lazer25)) {
health = health - 1;
_root.lazer25.play();
}
if (this.hitTest(_root.lazer26)) {
health = health - 1;
_root.lazer26.play();
}
if (this.hitTest(_root.lazer27)) {
health = health - 1;
_root.lazer27.play();
}
if (this.hitTest(_root.lazer28)) {
health = health - 1;
_root.lazer28.play();
}
if (this.hitTest(_root.lazer29)) {
health = health - 1;
_root.lazer29.play();
}
if (this.hitTest(_root.lazer30)) {
health = health - 1;
_root.lazer30.play();
}
if (this.hitTest(_root.lazer31)) {
health = health - 1;
_root.lazer31.play();
}
if (this.hitTest(_root.lazer32)) {
health = health - 1;
_root.lazer32.play();
}
if (this.hitTest(_root.lazer33)) {
health = health - 1;
_root.lazer33.play();
}
if (this.hitTest(_root.lazer34)) {
health = health - 1;
_root.lazer34.play();
}
if (this.hitTest(_root.lazer35)) {
health = health - 1;
_root.lazer35.play();
}
if (this.hitTest(_root.lazer36)) {
health = health - 1;
_root.lazer36.play();
}
if (this.hitTest(_root.lazer37)) {
health = health - 1;
_root.lazer37.play();
}
if (this.hitTest(_root.lazer38)) {
health = health - 1;
_root.lazer38.play();
}
if (this.hitTest(_root.lazer39)) {
health = health - 1;
_root.lazer39.play();
}
if (this.hitTest(_root.lazer40)) {
health = health - 1;
_root.lazer40.play();
}
if (this.hitTest(_root.lazer41)) {
health = health - 1;
_root.lazer41.play();
}
if (this.hitTest(_root.lazer42)) {
health = health - 1;
_root.lazer42.play();
}
if (this.hitTest(_root.lazer43)) {
health = health - 1;
_root.lazer43.play();
}
if (this.hitTest(_root.lazer44)) {
health = health - 1;
_root.lazer44.play();
}
if (this.hitTest(_root.lazer45)) {
health = health - 1;
_root.lazer45.play();
}
if (this.hitTest(_root.lazer46)) {
health = health - 1;
_root.lazer46.play();
}
if (this.hitTest(_root.lazer47)) {
health = health - 1;
_root.lazer47.play();
}
if (this.hitTest(_root.lazer48)) {
health = health - 1;
_root.lazer48.play();
}
if (this.hitTest(_root.lazer49)) {
health = health - 1;
_root.lazer49.play();
}
if (this.hitTest(_root.lazer50)) {
health = health - 1;
_root.lazer50.play();
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Symbol 400 MovieClip Frame 2
explosiondone = 0;
collisiondone = 0;
this.onEnterFrame = function () {
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
Symbol 400 MovieClip Frame 4
stop();
Symbol 400 MovieClip Frame 5
gotoAndStop (4);
Symbol 400 MovieClip Frame 49
badshipalive = 0;
Symbol 400 MovieClip Frame 90
this.onEnterFrame = function () {
};
stop();
Symbol 411 MovieClip Frame 1
stop();
expbarrell = 0;
badshipalive = 1;
cannonalive = 1;
health = 1;
this.onEnterFrame = function () {
if (health <= 0) {
cannonalive = 0;
badshipalive = 0;
gotoAndPlay (2);
}
if (this.hitTest(_root.lazer0)) {
health = health - 1;
_root.lazer0.play();
}
if (this.hitTest(_root.lazer1)) {
health = health - 1;
_root.lazer1.play();
}
if (this.hitTest(_root.lazer2)) {
health = health - 1;
_root.lazer2.play();
}
if (this.hitTest(_root.lazer3)) {
health = health - 1;
_root.lazer3.play();
}
if (this.hitTest(_root.lazer4)) {
health = health - 1;
_root.lazer4.play();
}
if (this.hitTest(_root.lazer5)) {
health = health - 1;
_root.lazer5.play();
}
if (this.hitTest(_root.lazer6)) {
health = health - 1;
_root.lazer6.play();
}
if (this.hitTest(_root.lazer7)) {
health = health - 1;
_root.lazer7.play();
}
if (this.hitTest(_root.lazer8)) {
health = health - 1;
_root.lazer8.play();
}
if (this.hitTest(_root.lazer9)) {
health = health - 1;
_root.lazer9.play();
}
if (this.hitTest(_root.lazer10)) {
health = health - 1;
_root.lazer10.play();
}
if (this.hitTest(_root.lazer11)) {
health = health - 1;
_root.lazer11.play();
}
if (this.hitTest(_root.lazer12)) {
health = health - 1;
_root.lazer12.play();
}
if (this.hitTest(_root.lazer13)) {
health = health - 1;
_root.lazer13.play();
}
if (this.hitTest(_root.lazer14)) {
health = health - 1;
_root.lazer14.play();
}
if (this.hitTest(_root.lazer15)) {
health = health - 1;
_root.lazer15.play();
}
if (this.hitTest(_root.lazer16)) {
health = health - 1;
_root.lazer16.play();
}
if (this.hitTest(_root.lazer17)) {
health = health - 1;
_root.lazer17.play();
}
if (this.hitTest(_root.lazer18)) {
health = health - 1;
_root.lazer18.play();
}
if (this.hitTest(_root.lazer19)) {
health = health - 1;
_root.lazer19.play();
}
if (this.hitTest(_root.lazer20)) {
health = health - 1;
_root.lazer20.play();
}
if (this.hitTest(_root.lazer21)) {
health = health - 1;
_root.lazer21.play();
}
if (this.hitTest(_root.lazer22)) {
health = health - 1;
_root.lazer22.play();
}
if (this.hitTest(_root.lazer23)) {
health = health - 1;
_root.lazer23.play();
}
if (this.hitTest(_root.lazer24)) {
health = health - 1;
_root.lazer24.play();
}
if (this.hitTest(_root.lazer25)) {
health = health - 1;
_root.lazer25.play();
}
if (this.hitTest(_root.lazer26)) {
health = health - 1;
_root.lazer26.play();
}
if (this.hitTest(_root.lazer27)) {
health = health - 1;
_root.lazer27.play();
}
if (this.hitTest(_root.lazer28)) {
health = health - 1;
_root.lazer28.play();
}
if (this.hitTest(_root.lazer29)) {
health = health - 1;
_root.lazer29.play();
}
if (this.hitTest(_root.lazer30)) {
health = health - 1;
_root.lazer30.play();
}
if (this.hitTest(_root.lazer31)) {
health = health - 1;
_root.lazer31.play();
}
if (this.hitTest(_root.lazer32)) {
health = health - 1;
_root.lazer32.play();
}
if (this.hitTest(_root.lazer33)) {
health = health - 1;
_root.lazer33.play();
}
if (this.hitTest(_root.lazer34)) {
health = health - 1;
_root.lazer34.play();
}
if (this.hitTest(_root.lazer35)) {
health = health - 1;
_root.lazer35.play();
}
if (this.hitTest(_root.lazer36)) {
health = health - 1;
_root.lazer36.play();
}
if (this.hitTest(_root.lazer37)) {
health = health - 1;
_root.lazer37.play();
}
if (this.hitTest(_root.lazer38)) {
health = health - 1;
_root.lazer38.play();
}
if (this.hitTest(_root.lazer39)) {
health = health - 1;
_root.lazer39.play();
}
if (this.hitTest(_root.lazer40)) {
health = health - 1;
_root.lazer40.play();
}
if (this.hitTest(_root.lazer41)) {
health = health - 1;
_root.lazer41.play();
}
if (this.hitTest(_root.lazer42)) {
health = health - 1;
_root.lazer42.play();
}
if (this.hitTest(_root.lazer43)) {
health = health - 1;
_root.lazer43.play();
}
if (this.hitTest(_root.lazer44)) {
health = health - 1;
_root.lazer44.play();
}
if (this.hitTest(_root.lazer45)) {
health = health - 1;
_root.lazer45.play();
}
if (this.hitTest(_root.lazer46)) {
health = health - 1;
_root.lazer46.play();
}
if (this.hitTest(_root.lazer47)) {
health = health - 1;
_root.lazer47.play();
}
if (this.hitTest(_root.lazer48)) {
health = health - 1;
_root.lazer48.play();
}
if (this.hitTest(_root.lazer49)) {
health = health - 1;
_root.lazer49.play();
}
if (this.hitTest(_root.lazer50)) {
health = health - 1;
_root.lazer50.play();
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Symbol 411 MovieClip Frame 2
explosiondone = 0;
collisiondone = 0;
this.onEnterFrame = function () {
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
Symbol 411 MovieClip Frame 5
stop();
Symbol 411 MovieClip Frame 6
gotoAndStop (4);
Symbol 411 MovieClip Frame 49
badshipalive = 0;
Symbol 411 MovieClip Frame 90
this.onEnterFrame = function () {
};
stop();
Symbol 422 MovieClip Frame 1
stop();
expbarrell = 0;
badshipalive = 1;
cannonalive = 1;
health = 1;
this.onEnterFrame = function () {
if (health <= 0) {
cannonalive = 0;
badshipalive = 0;
gotoAndPlay (2);
}
if (this.hitTest(_root.lazer0)) {
health = health - 1;
_root.lazer0.play();
}
if (this.hitTest(_root.lazer1)) {
health = health - 1;
_root.lazer1.play();
}
if (this.hitTest(_root.lazer2)) {
health = health - 1;
_root.lazer2.play();
}
if (this.hitTest(_root.lazer3)) {
health = health - 1;
_root.lazer3.play();
}
if (this.hitTest(_root.lazer4)) {
health = health - 1;
_root.lazer4.play();
}
if (this.hitTest(_root.lazer5)) {
health = health - 1;
_root.lazer5.play();
}
if (this.hitTest(_root.lazer6)) {
health = health - 1;
_root.lazer6.play();
}
if (this.hitTest(_root.lazer7)) {
health = health - 1;
_root.lazer7.play();
}
if (this.hitTest(_root.lazer8)) {
health = health - 1;
_root.lazer8.play();
}
if (this.hitTest(_root.lazer9)) {
health = health - 1;
_root.lazer9.play();
}
if (this.hitTest(_root.lazer10)) {
health = health - 1;
_root.lazer10.play();
}
if (this.hitTest(_root.lazer11)) {
health = health - 1;
_root.lazer11.play();
}
if (this.hitTest(_root.lazer12)) {
health = health - 1;
_root.lazer12.play();
}
if (this.hitTest(_root.lazer13)) {
health = health - 1;
_root.lazer13.play();
}
if (this.hitTest(_root.lazer14)) {
health = health - 1;
_root.lazer14.play();
}
if (this.hitTest(_root.lazer15)) {
health = health - 1;
_root.lazer15.play();
}
if (this.hitTest(_root.lazer16)) {
health = health - 1;
_root.lazer16.play();
}
if (this.hitTest(_root.lazer17)) {
health = health - 1;
_root.lazer17.play();
}
if (this.hitTest(_root.lazer18)) {
health = health - 1;
_root.lazer18.play();
}
if (this.hitTest(_root.lazer19)) {
health = health - 1;
_root.lazer19.play();
}
if (this.hitTest(_root.lazer20)) {
health = health - 1;
_root.lazer20.play();
}
if (this.hitTest(_root.lazer21)) {
health = health - 1;
_root.lazer21.play();
}
if (this.hitTest(_root.lazer22)) {
health = health - 1;
_root.lazer22.play();
}
if (this.hitTest(_root.lazer23)) {
health = health - 1;
_root.lazer23.play();
}
if (this.hitTest(_root.lazer24)) {
health = health - 1;
_root.lazer24.play();
}
if (this.hitTest(_root.lazer25)) {
health = health - 1;
_root.lazer25.play();
}
if (this.hitTest(_root.lazer26)) {
health = health - 1;
_root.lazer26.play();
}
if (this.hitTest(_root.lazer27)) {
health = health - 1;
_root.lazer27.play();
}
if (this.hitTest(_root.lazer28)) {
health = health - 1;
_root.lazer28.play();
}
if (this.hitTest(_root.lazer29)) {
health = health - 1;
_root.lazer29.play();
}
if (this.hitTest(_root.lazer30)) {
health = health - 1;
_root.lazer30.play();
}
if (this.hitTest(_root.lazer31)) {
health = health - 1;
_root.lazer31.play();
}
if (this.hitTest(_root.lazer32)) {
health = health - 1;
_root.lazer32.play();
}
if (this.hitTest(_root.lazer33)) {
health = health - 1;
_root.lazer33.play();
}
if (this.hitTest(_root.lazer34)) {
health = health - 1;
_root.lazer34.play();
}
if (this.hitTest(_root.lazer35)) {
health = health - 1;
_root.lazer35.play();
}
if (this.hitTest(_root.lazer36)) {
health = health - 1;
_root.lazer36.play();
}
if (this.hitTest(_root.lazer37)) {
health = health - 1;
_root.lazer37.play();
}
if (this.hitTest(_root.lazer38)) {
health = health - 1;
_root.lazer38.play();
}
if (this.hitTest(_root.lazer39)) {
health = health - 1;
_root.lazer39.play();
}
if (this.hitTest(_root.lazer40)) {
health = health - 1;
_root.lazer40.play();
}
if (this.hitTest(_root.lazer41)) {
health = health - 1;
_root.lazer41.play();
}
if (this.hitTest(_root.lazer42)) {
health = health - 1;
_root.lazer42.play();
}
if (this.hitTest(_root.lazer43)) {
health = health - 1;
_root.lazer43.play();
}
if (this.hitTest(_root.lazer44)) {
health = health - 1;
_root.lazer44.play();
}
if (this.hitTest(_root.lazer45)) {
health = health - 1;
_root.lazer45.play();
}
if (this.hitTest(_root.lazer46)) {
health = health - 1;
_root.lazer46.play();
}
if (this.hitTest(_root.lazer47)) {
health = health - 1;
_root.lazer47.play();
}
if (this.hitTest(_root.lazer48)) {
health = health - 1;
_root.lazer48.play();
}
if (this.hitTest(_root.lazer49)) {
health = health - 1;
_root.lazer49.play();
}
if (this.hitTest(_root.lazer50)) {
health = health - 1;
_root.lazer50.play();
}
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
stop();
Symbol 422 MovieClip Frame 2
explosiondone = 0;
collisiondone = 0;
this.onEnterFrame = function () {
if (Key.isDown(65)) {
this._x = this._x + _global.cameramoveright;
}
if (Key.isDown(68)) {
this._x = this._x - _global.cameramoveleft;
}
if (Key.isDown(83)) {
this._y = this._y - _global.cameramovedown;
}
if (Key.isDown(87)) {
this._y = this._y + _global.cameramoveup;
}
};
Symbol 422 MovieClip Frame 5
stop();
Symbol 422 MovieClip Frame 6
gotoAndStop (4);
Symbol 422 MovieClip Frame 49
badshipalive = 0;
Symbol 422 MovieClip Frame 90
this.onEnterFrame = function () {
};
stop();
Symbol 429 MovieClip Frame 1
stop();
Symbol 429 MovieClip Frame 80
stop();
stop();
Symbol 429 MovieClip Frame 81
gotoAndStop (80);
Symbol 446 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 2
stop();
Symbol 459 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 7
gotoAndStop (6);
Instance of Symbol 448 MovieClip "down" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(1);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(3);
}
Instance of Symbol 448 MovieClip "right" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(3);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(2);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (press) {
if (_global.shiftdown == 0) {
_parent.car.gotoAndStop(2);
}
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(4);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(4);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (press) {
_parent.car.gotoAndStop(6);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (rollOver) {
if (_global.shiftdown == 0) {
_parent.car.gotoAndStop(6);
}
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(6);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (press) {
_parent.car.gotoAndStop(8);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(8);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(8);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (press) {
if (_global.shiftdown == 0) {
_parent.car.gotoAndStop(12);
}
}
Instance of Symbol 448 MovieClip "down" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(5);
}
Instance of Symbol 448 MovieClip "right" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(7);
}
Instance of Symbol 448 MovieClip "down" in Symbol 475 MovieClip Frame 1
on (press) {
if (_global.shiftdown == 0) {
_parent.car.gotoAndStop(1);
}
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(3);
}
Instance of Symbol 448 MovieClip "right" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(4);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (press) {
_parent.car.gotoAndStop(2);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(4);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (press) {
_parent.car.gotoAndStop(6);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(6);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (press) {
if (_global.shiftdown == 0) {
_parent.car.gotoAndStop(8);
}
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(8);
}
Instance of Symbol 448 MovieClip "rightdown" in Symbol 475 MovieClip Frame 1
on (press) {
_parent.car.gotoAndStop(12);
}
Instance of Symbol 448 MovieClip "down" in Symbol 475 MovieClip Frame 1
on (press) {
if (_global.shiftdown == 0) {
_parent.car.gotoAndStop(7);
}
}
Instance of Symbol 448 MovieClip "right" in Symbol 475 MovieClip Frame 1
on (rollOver) {
_parent.car.gotoAndStop(7);
}
Symbol 505 MovieClip Frame 235
_root.play();
stop();
Symbol 513 Button
on (press) {
_root.gotoAndStop(1341);
}
Symbol 515 MovieClip Frame 330
stop();
Symbol 518 MovieClip Frame 250
_root.play();
stop();
Symbol 522 MovieClip Frame 352
_root.play();
stop();
Symbol 526 MovieClip Frame 409
_root.play();
Symbol 530 MovieClip Frame 435
_root.play();
stop();
Symbol 532 MovieClip Frame 354
_root.play();
play();
Symbol 536 MovieClip Frame 465
_root.play();
stop();
Symbol 539 MovieClip Frame 734
_root.gotoAndPlay(1);