Frame 1
function openConsol() {
_root.showConsol = 1;
}
function mainMenu() {
_root.gotoAndStop("menu");
}
function graphicSolutions() {
getURL ("http://www.graphicsolutions.com.au", "_blank");
}
fscommand ("showmenu", "false");
_root.stop();
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndStop ("menu");
} else {
play();
}
var rightClickMenu = new ContextMenu();
rightClickMenu.hideBuiltInItems();
var consol = new ContextMenuItem("Open Consol", openConsol);
var menu = new ContextMenuItem("Main Menu", mainMenu);
var graphic = new ContextMenuItem("\u00A9 GraphicSolutions.com.au", graphicSolutions);
rightClickMenu.customItems.push(consol, menu, graphic);
graphic.separatorBefore = true;
_root.menu = rightClickMenu;
Frame 2
gotoAndPlay (1);
Frame 3
stop();
if (_root.sheildOn >= 1) {
unloadMovie (sheild2);
}
gameOver = 1;
Frame 4
stop();
lives = 5;
score = 0;
gameOver = 0;
_root.sheildOn = 0;
_root.doubleShot = 0;
_root.trippleShot = 0;
_root.waveShot = 0;
Instance of Symbol 35 MovieClip "bullet" in Frame 4
onClipEvent (load) {
this._x = _root.ship._x + 60;
this._y = _root.ship._y + 25;
}
onClipEvent (enterFrame) {
_root.bullet._y = 1000;
this._x = this._x + 40;
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
}
Instance of Symbol 42 MovieClip "unloader" in Frame 4
/* no clip actions */
Instance of Symbol 42 MovieClip "unloader2" in Frame 4
/* no clip actions */
Instance of Symbol 44 MovieClip in Frame 4
onClipEvent (enterFrame) {
_root.s1._x = 800;
_root.s2._x = 800;
_root.s3._x = 800;
_root.s4._x = 800;
_root.s5._x = 800;
_root.s6._x = 800;
_root.s7._x = 800;
_root.s8._x = 800;
_root.s9._x = 800;
_root.s10._x = 800;
_root.s11._x = 800;
_root.s12._x = 800;
_root.s13._x = 800;
_root.s14._x = 800;
_root.s15._x = 800;
_root.s1.gotoAndStop("none");
_root.s2.gotoAndStop("none");
_root.s3.gotoAndStop("none");
_root.s4.gotoAndStop("none");
_root.s5.gotoAndStop("none");
_root.s6.gotoAndStop("none");
_root.s7.gotoAndStop("none");
_root.s8.gotoAndStop("none");
_root.s9.gotoAndStop("none");
_root.s10.gotoAndStop("none");
_root.s11.gotoAndStop("none");
_root.s12.gotoAndStop("none");
_root.s13.gotoAndStop("none");
_root.s14.gotoAndStop("none");
_root.s15.gotoAndStop("none");
}
Instance of Symbol 46 MovieClip "sheild" in Frame 4
onClipEvent (enterFrame) {
_root.sheild._visible = false;
_x = (_root.ship._x + 30);
_y = (_root.ship._y + 20);
}
Instance of Symbol 48 MovieClip "spawn" in Frame 4
onClipEvent (load) {
i = 11;
}
onClipEvent (enterFrame) {
spawn = Math.ceil(Math.random() * _root.spawnChance);
if (spawn == 1) {
i = i + 100;
shipNum = Math.ceil(Math.random() * 15);
duplicateMovieClip ("_root.s" + shipNum, "ship" + i, i);
}
}
Instance of Symbol 50 MovieClip in Frame 4
onClipEvent (load) {
_root.spawnChance = 80;
}
Instance of Symbol 52 MovieClip "p1" in Frame 4
onClipEvent (load) {
speed = 5;
this._x = (Math.random() * 525) + 0;
this._y = -100;
}
onClipEvent (enterFrame) {
if (_root.gameOver >= 1) {
unloadMovie (this);
}
this._y = this._y + speed;
if (this._y >= 700) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
if (_root.sheildOn <= 0) {
unloadMovie (this);
_root.score = _root.score + 5;
_root.ship.gotoAndPlay("powerUp");
z = z + 9999;
duplicateMovieClip (_root.sheild, "sheild2", z);
_root.sheildOn = 1;
}
}
}
Instance of Symbol 54 MovieClip "p4" in Frame 4
onClipEvent (load) {
speed = 5;
this._x = (Math.random() * 525) + 0;
this._y = -100;
}
onClipEvent (enterFrame) {
if (_root.gameOver >= 1) {
unloadMovie (this);
}
this._y = this._y + speed;
if (this._y >= 700) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
unloadMovie (this);
_root.score = _root.score + 5;
_root.ship.gotoAndPlay("powerUp");
if (_root.lives <= 9) {
_root.lives++;
}
}
}
Instance of Symbol 58 MovieClip "p10" in Frame 4
onClipEvent (load) {
speed = 5;
this._x = (Math.random() * 525) + 0;
this._y = -100;
}
onClipEvent (enterFrame) {
if (_root.gameOver >= 1) {
unloadMovie (this);
}
this._y = this._y + speed;
if (this._y >= 700) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
unloadMovie (this);
_root.score = _root.score + 5;
_root.ship.gotoAndPlay("powerUp");
_root.trippleShot = 1;
_root.doubleShot = 0;
_root.trippleShotTimer.gotoAndPlay(2);
}
}
Instance of Symbol 64 MovieClip "wave" in Frame 4
onClipEvent (load) {
this._x = _root.ship._x + 60;
this._y = _root.ship._y + 18;
}
onClipEvent (enterFrame) {
_root.wave._y = 1000;
_root.wave._width = 16.4;
_root.wave._height = 51.7;
this._x = this._x + 40;
if (this._height <= 200) {
this._height = this._height + 50;
this._width = this._width + 10;
}
if (this.hitTest(_root.unloader3)) {
unloadMovie (this);
}
}
Instance of Symbol 65 MovieClip "p12" in Frame 4
onClipEvent (load) {
speed = 5;
this._x = (Math.random() * 525) + 0;
this._y = -100;
}
onClipEvent (enterFrame) {
if (_root.gameOver >= 1) {
unloadMovie (this);
}
this._y = this._y + speed;
if (this._y >= 700) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
unloadMovie (this);
_root.score = _root.score + 5;
_root.ship.gotoAndPlay("powerUp");
_root.waveShotTimer.gotoAndPlay(2);
_root.waveShot = 1;
}
}
Instance of Symbol 42 MovieClip "unloader3" in Frame 4
/* no clip actions */
Instance of Symbol 69 MovieClip in Frame 4
onClipEvent (enterFrame) {
spawnPower = Math.ceil(Math.random() * 200);
if (spawnPower == 1) {
powerNum = Math.ceil(Math.random() * 12);
p2 = p2 + 600;
duplicateMovieClip ("_root.p" + powerNum, "power" + p2, p2);
}
}
Instance of Symbol 54 MovieClip "p5" in Frame 4
onClipEvent (load) {
speed = 5;
this._x = (Math.random() * 525) + 0;
this._y = -100;
}
onClipEvent (enterFrame) {
if (_root.gameOver >= 1) {
unloadMovie (this);
}
this._y = this._y + speed;
if (this._y >= 700) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
unloadMovie (this);
_root.score = _root.score + 5;
_root.ship.gotoAndPlay("powerUp");
if (_root.lives <= 9) {
_root.lives++;
}
}
}
Instance of Symbol 54 MovieClip "p6" in Frame 4
onClipEvent (load) {
speed = 5;
this._x = (Math.random() * 525) + 0;
this._y = -100;
}
onClipEvent (enterFrame) {
if (_root.gameOver >= 1) {
unloadMovie (this);
}
this._y = this._y + speed;
if (this._y >= 700) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
unloadMovie (this);
_root.score = _root.score + 5;
_root.ship.gotoAndPlay("powerUp");
if (_root.lives <= 9) {
_root.lives++;
}
}
}
Instance of Symbol 52 MovieClip "p2" in Frame 4
onClipEvent (load) {
speed = 5;
this._x = (Math.random() * 525) + 0;
this._y = -100;
}
onClipEvent (enterFrame) {
if (_root.gameOver >= 1) {
unloadMovie (this);
}
this._y = this._y + speed;
if (this._y >= 700) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
if (_root.sheildOn <= 0) {
unloadMovie (this);
_root.score = _root.score + 5;
_root.ship.gotoAndPlay("powerUp");
z = z + 9999;
duplicateMovieClip (_root.sheild, "sheild2", z);
_root.sheildOn = 1;
}
}
}
Instance of Symbol 72 MovieClip "p7" in Frame 4
onClipEvent (load) {
speed = 5;
this._x = (Math.random() * 525) + 0;
this._y = -100;
}
onClipEvent (enterFrame) {
if (_root.gameOver >= 1) {
unloadMovie (this);
}
this._y = this._y + speed;
if (this._y >= 700) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
unloadMovie (this);
_root.score = _root.score + 5;
_root.ship.gotoAndPlay("powerUp");
if (_root.trippleShot <= 0) {
_root.doubleShot = 1;
_root.doubleShotTimer.gotoAndPlay(2);
}
}
}
Instance of Symbol 72 MovieClip "p8" in Frame 4
onClipEvent (load) {
speed = 5;
this._x = (Math.random() * 525) + 0;
this._y = -100;
}
onClipEvent (enterFrame) {
if (_root.gameOver >= 1) {
unloadMovie (this);
}
this._y = this._y + speed;
if (this._y >= 700) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
unloadMovie (this);
_root.score = _root.score + 5;
_root.ship.gotoAndPlay("powerUp");
if (_root.trippleShot <= 0) {
_root.doubleShot = 1;
_root.doubleShotTimer.gotoAndPlay(2);
}
}
}
Instance of Symbol 52 MovieClip "p3" in Frame 4
onClipEvent (load) {
speed = 5;
this._x = (Math.random() * 525) + 0;
this._y = -100;
}
onClipEvent (enterFrame) {
if (_root.gameOver >= 1) {
unloadMovie (this);
}
this._y = this._y + speed;
if (this._y >= 700) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
if (_root.sheildOn <= 0) {
unloadMovie (this);
_root.score = _root.score + 5;
_root.ship.gotoAndPlay("powerUp");
z = z + 9999;
duplicateMovieClip (_root.sheild, "sheild2", z);
_root.sheildOn = 1;
}
}
}
Instance of Symbol 72 MovieClip "p9" in Frame 4
onClipEvent (load) {
speed = 5;
this._x = (Math.random() * 525) + 0;
this._y = -100;
}
onClipEvent (enterFrame) {
if (_root.gameOver >= 1) {
unloadMovie (this);
}
this._y = this._y + speed;
if (this._y >= 700) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
unloadMovie (this);
_root.score = _root.score + 5;
_root.ship.gotoAndPlay("powerUp");
if (_root.trippleShot <= 0) {
_root.doubleShot = 1;
_root.doubleShotTimer.gotoAndPlay(2);
}
}
}
Instance of Symbol 58 MovieClip "p11" in Frame 4
onClipEvent (load) {
speed = 5;
this._x = (Math.random() * 525) + 0;
this._y = -100;
}
onClipEvent (enterFrame) {
if (_root.gameOver >= 1) {
unloadMovie (this);
}
this._y = this._y + speed;
if (this._y >= 700) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
unloadMovie (this);
_root.score = _root.score + 5;
_root.ship.gotoAndPlay("powerUp");
_root.trippleShot = 1;
_root.doubleShot = 0;
_root.trippleShotTimer.gotoAndPlay(2);
}
}
Instance of Symbol 74 MovieClip in Frame 4
onClipEvent (enterFrame) {
_root.p1._y = -100;
_root.p2._y = -100;
_root.p3._y = -100;
_root.p4._y = -100;
_root.p5._y = -100;
_root.p6._y = -100;
_root.p7._y = -100;
_root.p8._y = -100;
_root.p9._y = -100;
_root.p10._y = -100;
_root.p11._y = -100;
_root.p12._y = -100;
}
Instance of Symbol 35 MovieClip "bullet2" in Frame 4
onClipEvent (load) {
this._x = _root.ship._x + 60;
this._y = _root.ship._y + 15;
}
onClipEvent (enterFrame) {
_root.bullet2._y = 1000;
this._x = this._x + 40;
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
}
Instance of Symbol 35 MovieClip "bullet3" in Frame 4
onClipEvent (load) {
this._x = _root.ship._x + 60;
this._y = _root.ship._y + 5;
}
onClipEvent (enterFrame) {
_root.bullet3._y = 1000;
this._x = this._x + 40;
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
}
Instance of Symbol 83 MovieClip "ship" in Frame 4
onClipEvent (load) {
speed = 10;
maxXpos = 515;
minXpos = 25;
maxYpos = 350;
minYpos = 50;
}
onClipEvent (enterFrame) {
if (this._x <= maxXpos) {
if (Key.isDown(39)) {
this._x = this._x + speed;
}
}
if (this._x >= minXpos) {
if (Key.isDown(37)) {
this._x = this._x - speed;
}
}
if (this._y <= maxYpos) {
if (Key.isDown(40)) {
this._y = this._y + speed;
}
}
if (this._y >= minYpos) {
if (Key.isDown(38)) {
this._y = this._y - speed;
}
}
}
Instance of Symbol 97 MovieClip "s1" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 8) + 4;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("death");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Instance of Symbol 106 MovieClip "s2" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 6) + 2;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("death");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Instance of Symbol 115 MovieClip "s3" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 8) + 4;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("death");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Instance of Symbol 123 MovieClip "s4" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 8) + 4;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship._currentframe <= 1) {
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("hurt");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Instance of Symbol 123 MovieClip "s8" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 8) + 4;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship._currentframe <= 1) {
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("hurt");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Instance of Symbol 123 MovieClip "s12" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 8) + 4;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship._currentframe <= 1) {
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("hurt");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Instance of Symbol 132 MovieClip "s5" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 10) + 6;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship._currentframe <= 1) {
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("hurt");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Instance of Symbol 132 MovieClip "s9" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 10) + 6;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship._currentframe <= 1) {
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("hurt");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Instance of Symbol 132 MovieClip "s13" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 10) + 6;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship._currentframe <= 1) {
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("hurt");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Instance of Symbol 141 MovieClip "s6" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 10) + 4;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship._currentframe <= 1) {
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("hurt");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Instance of Symbol 141 MovieClip "s10" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 10) + 4;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship._currentframe <= 1) {
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("hurt");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Instance of Symbol 141 MovieClip "s14" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 10) + 4;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship._currentframe <= 1) {
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("hurt");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Instance of Symbol 150 MovieClip "s7" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 8) + 4;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship._currentframe <= 1) {
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("hurt");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Instance of Symbol 150 MovieClip "s11" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 8) + 4;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship._currentframe <= 1) {
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("hurt");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Instance of Symbol 150 MovieClip "s15" in Frame 4
onClipEvent (load) {
speed = (Math.random() * 8) + 4;
this._y = (Math.random() * 310) + 75;
this._x = 700;
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this.ship._currentframe <= 1) {
if (this.ship.hitTest(_root.b1)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b1);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b2)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b2);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b3)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b3);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b4)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b4);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b5)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b5);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b6)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b6);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b7)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b7);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b8)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b8);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b9)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b9);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b10)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b10);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b11)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b11);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b12)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b12);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b13)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b13);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b14)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b14);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b15)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b15);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b16)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b16);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b17)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b17);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b18)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b18);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b19)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b19);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b20)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b20);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b21)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b21);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b22)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b22);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b23)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b23);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b24)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b24);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b25)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b25);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b26)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b26);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b27)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b27);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b28)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b28);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b29)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b29);
this.ship.hit++;
}
if (this.ship.hitTest(_root.b30)) {
this.ship.gotoAndPlay("hurt");
unloadMovie (_root.b30);
this.ship.hit++;
}
if (this.ship.hitTest(_root.ship)) {
if (_root.noHit <= 0) {
_root.ship.gotoAndPlay("hurt");
this.ship.gotoAndPlay("hurt");
}
}
}
if (this._x <= -150) {
unloadMovie (this);
}
if (_root.gameOver >= 1) {
unloadMovie (this);
}
if (this.ship.hitTest(_root.sheild2)) {
this.ship.hit = 100;
this.ship.gotoAndPlay("hurt");
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Frame 5
gameOver = 1;
if (_root.sheildOn >= 1) {
unloadMovie (sheild2);
}
Symbol 17 MovieClip Frame 1
function star(x, y, speed) {
var _local1 = this;
_local1.x = x;
_local1.y = y;
_local1.speed = speed;
}
numstars = 150;
speed = 10;
star_field = new Array(numstars);
i = 0;
while (i < numstars) {
star_field[i] = new star(random(600), random(400), random(speed) + 1);
duplicateMovieClip ("star", "star_" + i, i + 10);
i++;
}
Symbol 17 MovieClip Frame 2
i = 0;
while (i < numstars) {
star_field[i].x = star_field[i].x - star_field[i].speed;
if (star_field[i].x < 0) {
star_field[i].x = 600;
}
setProperty("star_" + i, _x , star_field[i].x);
setProperty("star_" + i, _y , star_field[i].y);
setProperty("star_" + i, _alpha , star_field[i].speed * 40);
i++;
}
Symbol 17 MovieClip Frame 3
gotoAndPlay (2);
Symbol 29 Button
on (release) {
_root.gotoAndStop("start");
}
Symbol 38 Button
on (keyPress "<Space>") {
if (_root.canshoot >= 1) {
if (_root.doubleShot <= 0) {
if (_root.trippleShot <= 0) {
if (_root.waveShot <= 0) {
_root.cooldown.play();
i = i + 1;
if (i >= 10) {
i = 1;
}
duplicateMovieClip (_root.bullet, "b" + i, i);
laserSound = new Sound(this);
laserSound.attachSound("laser");
laserSound.start();
}
}
}
if (_root.doubleShot >= 1) {
if (_root.trippleShot <= 0) {
if (_root.waveShot <= 0) {
_root.cooldown.play();
i = i + 1;
if (i >= 10) {
i = 1;
}
b = 11;
b = b + 1;
if (b >= 20) {
b = 11;
}
duplicateMovieClip (_root.bullet, "b" + i, i);
duplicateMovieClip (_root.bullet2, "b" + b, b);
laserSound = new Sound(this);
laserSound.attachSound("laser");
laserSound.start();
}
}
}
if (_root.trippleShot >= 1) {
if (_root.waveShot <= 0) {
_root.cooldown.play();
i = i + 1;
if (i >= 10) {
i = 1;
}
b = 11;
b = b + 1;
if (b >= 20) {
b = 11;
}
c = 21;
c = c + 1;
if (c >= 30) {
c = 21;
}
duplicateMovieClip (_root.bullet, "b" + i, i);
duplicateMovieClip (_root.bullet2, "b" + b, b);
duplicateMovieClip (_root.bullet3, "b" + c, c);
laserSound = new Sound(this);
laserSound.attachSound("laser");
laserSound.start();
}
}
if (_root.waveShot >= 1) {
_root.cooldown.play();
i = i + 1;
if (i >= 10) {
i = 1;
}
duplicateMovieClip (_root.wave, "b" + i, i);
laserSound = new Sound(this);
laserSound.attachSound("Largelaser");
laserSound.start();
}
}
}
Symbol 40 MovieClip Frame 1
_root.canshoot = 1;
stop();
Symbol 40 MovieClip Frame 2
_root.canshoot = 0;
Symbol 46 MovieClip Frame 20
gotoAndPlay (1);
Symbol 50 MovieClip Frame 60
if (_root.spawnChance > 20) {
_root.spawnChance--;
}
Symbol 60 MovieClip Frame 1
_root.doubleShot = 0;
stop();
Symbol 60 MovieClip Frame 300
powerDownSound = new Sound(this);
powerDownSound.attachSound("powerDown");
powerDownSound.start();
Symbol 62 MovieClip Frame 1
_root.trippleShot = 0;
stop();
Symbol 62 MovieClip Frame 300
powerDownSound = new Sound(this);
powerDownSound.attachSound("powerDown");
powerDownSound.start();
Symbol 67 MovieClip Frame 1
_root.waveShot = 0;
stop();
Symbol 67 MovieClip Frame 300
powerDownSound = new Sound(this);
powerDownSound.attachSound("powerDown");
powerDownSound.start();
Symbol 83 MovieClip Frame 1
stop();
_root.noHit = 0;
Symbol 83 MovieClip Frame 2
shipHitSound = new Sound(this);
shipHitSound.attachSound("shipHit");
shipHitSound.start();
_root.noHit = 1;
_root.lives--;
if (_root.lives <= 0) {
_root.gotoAndStop("gameOver");
}
Symbol 83 MovieClip Frame 46
gotoAndStop (1);
Symbol 83 MovieClip Frame 47
_root.noHit = 0;
powerUpSound = new Sound(this);
powerUpSound.attachSound("powerUp");
powerUpSound.start();
Symbol 83 MovieClip Frame 51
gotoAndStop (1);
Symbol 83 MovieClip Frame 52
_root.noHit = 1;
Symbol 83 MovieClip Frame 58
_root.noHit = 1;
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 2
badHitSound = new Sound(this);
badHitSound.attachSound("badHit");
badHitSound.start();
if (hit >= 1) {
gotoAndPlay ("death");
} else {
_root.score++;
}
Symbol 94 MovieClip Frame 4
if (hit >= 1) {
gotoAndPlay ("death");
} else {
gotoAndStop (1);
}
gotoAndStop (1);
Symbol 94 MovieClip Frame 5
if (hit >= 1) {
_root.score = _root.score + 3;
} else {
gotoAndStop (1);
}
Symbol 94 MovieClip Frame 6
badDeathSound = new Sound(this);
badDeathSound.attachSound("badDeath");
badDeathSound.start();
Symbol 94 MovieClip Frame 9
_parent.dead = 1;
unloadMovie (_parent.ship);
Symbol 97 MovieClip Frame 1
stop();
Instance of Symbol 86 MovieClip "shooter" in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = false;
shoot2 = Math.ceil(Math.random() * 40);
if (shoot2 == 1) {
if (_parent.dead <= 0) {
_parent.gotoAndPlay("shoot");
}
}
}
Instance of Symbol 96 MovieClip in Symbol 97 MovieClip Frame 2
onClipEvent (load) {
badLaserSound = new Sound(this);
badLaserSound.attachSound("badLaser");
badLaserSound.start();
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this.hitTest(_root.unloader2)) {
unloadMovie (this);
}
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
_root.ship.gotoAndPlay("hurt");
unloadMovie (this);
}
if (this.hitTest(_root.sheild2)) {
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (this);
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Symbol 97 MovieClip Frame 25
if (dead >= 1) {
unloadMovie (this);
} else {
gotoAndStop (1);
}
Instance of Symbol 96 MovieClip in Symbol 97 MovieClip Frame 25
onClipEvent (load) {
badLaserSound = new Sound(this);
badLaserSound.attachSound("badLaser");
badLaserSound.start();
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this.hitTest(_root.unloader2)) {
unloadMovie (this);
}
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
_root.ship.gotoAndPlay("hurt");
unloadMovie (this);
}
}
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
badHitSound = new Sound(this);
badHitSound.attachSound("badHit");
badHitSound.start();
if (hit >= 3) {
gotoAndPlay ("death");
} else {
_root.score++;
}
Symbol 105 MovieClip Frame 4
if (hit >= 3) {
gotoAndPlay ("death");
} else {
gotoAndStop (1);
}
Symbol 105 MovieClip Frame 5
if (hit >= 3) {
_root.score = _root.score + 5;
badDeathSound = new Sound(this);
badDeathSound.attachSound("badDeath");
badDeathSound.start();
} else {
gotoAndStop (1);
}
Symbol 105 MovieClip Frame 6
badDeathSound = new Sound(this);
badDeathSound.attachSound("badDeath");
badDeathSound.start();
Symbol 105 MovieClip Frame 9
_parent.dead = 1;
unloadMovie (_parent.ship);
Symbol 106 MovieClip Frame 1
stop();
Instance of Symbol 86 MovieClip "shooter" in Symbol 106 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = false;
shoot2 = Math.ceil(Math.random() * 40);
if (shoot2 == 1) {
if (_parent.dead <= 0) {
_parent.gotoAndPlay("shoot");
}
}
}
Instance of Symbol 96 MovieClip in Symbol 106 MovieClip Frame 2
onClipEvent (load) {
badLaserSound = new Sound(this);
badLaserSound.attachSound("badLaser");
badLaserSound.start();
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this.hitTest(_root.unloader2)) {
unloadMovie (this);
}
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
_root.ship.gotoAndPlay("hurt");
unloadMovie (this);
}
if (this.hitTest(_root.sheild2)) {
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (this);
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Symbol 106 MovieClip Frame 25
if (dead >= 1) {
unloadMovie (this);
} else {
gotoAndStop (1);
}
Instance of Symbol 96 MovieClip in Symbol 106 MovieClip Frame 25
onClipEvent (load) {
badLaserSound = new Sound(this);
badLaserSound.attachSound("badLaser");
badLaserSound.start();
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this.hitTest(_root.unloader2)) {
unloadMovie (this);
}
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
_root.ship.gotoAndPlay("hurt");
unloadMovie (this);
}
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
badHitSound = new Sound(this);
badHitSound.attachSound("badHit");
badHitSound.start();
if (hit >= 2) {
gotoAndPlay ("death");
} else {
_root.score++;
}
Symbol 114 MovieClip Frame 4
if (hit >= 2) {
gotoAndPlay ("death");
} else {
gotoAndStop (1);
}
Symbol 114 MovieClip Frame 5
if (hit >= 2) {
_root.score = _root.score + 3;
badDeathSound = new Sound(this);
badDeathSound.attachSound("badDeath");
badDeathSound.start();
} else {
gotoAndStop (1);
}
Symbol 114 MovieClip Frame 6
badDeathSound = new Sound(this);
badDeathSound.attachSound("badDeath");
badDeathSound.start();
Symbol 114 MovieClip Frame 9
_parent.dead = 1;
unloadMovie (_parent.ship);
Symbol 115 MovieClip Frame 1
stop();
Instance of Symbol 86 MovieClip "shooter" in Symbol 115 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = false;
shoot2 = Math.ceil(Math.random() * 40);
if (shoot2 == 1) {
if (_parent.dead <= 0) {
_parent.gotoAndPlay("shoot");
}
}
}
Instance of Symbol 96 MovieClip in Symbol 115 MovieClip Frame 2
onClipEvent (load) {
badLaserSound = new Sound(this);
badLaserSound.attachSound("badLaser");
badLaserSound.start();
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this.hitTest(_root.unloader2)) {
unloadMovie (this);
}
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
_root.ship.gotoAndPlay("hurt");
unloadMovie (this);
}
if (this.hitTest(_root.sheild2)) {
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (this);
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Symbol 115 MovieClip Frame 25
if (dead >= 1) {
unloadMovie (this);
} else {
gotoAndStop (1);
}
Instance of Symbol 96 MovieClip in Symbol 115 MovieClip Frame 25
onClipEvent (load) {
badLaserSound = new Sound(this);
badLaserSound.attachSound("badLaser");
badLaserSound.start();
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this.hitTest(_root.unloader2)) {
unloadMovie (this);
}
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
_root.ship.gotoAndPlay("hurt");
unloadMovie (this);
}
}
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 2
_root.score = _root.score + 1;
badDeathSound = new Sound(this);
badDeathSound.attachSound("badDeath2");
badDeathSound.start();
play();
Symbol 122 MovieClip Frame 6
_parent.dead = 1;
unloadMovie (_parent.ship);
Symbol 123 MovieClip Frame 1
stop();
Instance of Symbol 86 MovieClip "shooter" in Symbol 123 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = false;
shoot2 = Math.ceil(Math.random() * 40);
if (shoot2 == 1) {
if (_parent.dead <= 0) {
_parent.gotoAndPlay("shoot");
}
}
}
Instance of Symbol 96 MovieClip in Symbol 123 MovieClip Frame 2
onClipEvent (load) {
badLaserSound = new Sound(this);
badLaserSound.attachSound("badLaser2");
badLaserSound.start();
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this.hitTest(_root.unloader2)) {
unloadMovie (this);
}
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
_root.ship.gotoAndPlay("hurt");
unloadMovie (this);
}
if (this.hitTest(_root.sheild2)) {
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (this);
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Symbol 123 MovieClip Frame 25
if (dead >= 1) {
unloadMovie (this);
} else {
gotoAndStop (1);
}
Instance of Symbol 96 MovieClip in Symbol 123 MovieClip Frame 25
onClipEvent (load) {
badLaserSound = new Sound(this);
badLaserSound.attachSound("badLaser2");
badLaserSound.start();
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this.hitTest(_root.unloader2)) {
unloadMovie (this);
}
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
_root.ship.gotoAndPlay("hurt");
unloadMovie (this);
}
}
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 2
_root.score = _root.score + 1;
badDeathSound = new Sound(this);
badDeathSound.attachSound("badDeath2");
badDeathSound.start();
play();
Symbol 131 MovieClip Frame 6
_parent.dead = 1;
unloadMovie (_parent.ship);
Symbol 132 MovieClip Frame 1
stop();
Instance of Symbol 86 MovieClip "shooter" in Symbol 132 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = false;
shoot2 = Math.ceil(Math.random() * 40);
if (shoot2 == 1) {
if (_parent.dead <= 0) {
_parent.gotoAndPlay("shoot");
}
}
}
Instance of Symbol 96 MovieClip in Symbol 132 MovieClip Frame 2
onClipEvent (load) {
badLaserSound = new Sound(this);
badLaserSound.attachSound("badLaser2");
badLaserSound.start();
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this.hitTest(_root.unloader2)) {
unloadMovie (this);
}
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
_root.ship.gotoAndPlay("hurt");
unloadMovie (this);
}
if (this.hitTest(_root.sheild2)) {
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (this);
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Symbol 132 MovieClip Frame 25
if (dead >= 1) {
unloadMovie (this);
} else {
gotoAndStop (1);
}
Instance of Symbol 96 MovieClip in Symbol 132 MovieClip Frame 25
onClipEvent (load) {
badLaserSound = new Sound(this);
badLaserSound.attachSound("badLaser2");
badLaserSound.start();
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this.hitTest(_root.unloader2)) {
unloadMovie (this);
}
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
_root.ship.gotoAndPlay("hurt");
unloadMovie (this);
}
}
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
_root.score = _root.score + 1;
badDeathSound = new Sound(this);
badDeathSound.attachSound("badDeath2");
badDeathSound.start();
play();
Symbol 140 MovieClip Frame 6
_parent.dead = 1;
unloadMovie (_parent.ship);
Symbol 141 MovieClip Frame 1
stop();
Instance of Symbol 86 MovieClip "shooter" in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = false;
shoot2 = Math.ceil(Math.random() * 40);
if (shoot2 == 1) {
if (_parent.dead <= 0) {
_parent.gotoAndPlay("shoot");
}
}
}
Instance of Symbol 96 MovieClip in Symbol 141 MovieClip Frame 2
onClipEvent (load) {
badLaserSound = new Sound(this);
badLaserSound.attachSound("badLaser2");
badLaserSound.start();
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this.hitTest(_root.unloader2)) {
unloadMovie (this);
}
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
_root.ship.gotoAndPlay("hurt");
unloadMovie (this);
}
if (this.hitTest(_root.sheild2)) {
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (this);
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Symbol 141 MovieClip Frame 25
if (dead >= 1) {
unloadMovie (this);
} else {
gotoAndStop (1);
}
Instance of Symbol 96 MovieClip in Symbol 141 MovieClip Frame 25
onClipEvent (load) {
badLaserSound = new Sound(this);
badLaserSound.attachSound("badLaser2");
badLaserSound.start();
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this.hitTest(_root.unloader2)) {
unloadMovie (this);
}
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
_root.ship.gotoAndPlay("hurt");
unloadMovie (this);
}
}
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 2
_root.score = _root.score + 1;
badDeathSound = new Sound(this);
badDeathSound.attachSound("badDeath2");
badDeathSound.start();
play();
Symbol 149 MovieClip Frame 6
_parent.dead = 1;
unloadMovie (_parent.ship);
Symbol 150 MovieClip Frame 1
stop();
Instance of Symbol 86 MovieClip "shooter" in Symbol 150 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = false;
shoot2 = Math.ceil(Math.random() * 40);
if (shoot2 == 1) {
if (_parent.dead <= 0) {
_parent.gotoAndPlay("shoot");
}
}
}
Instance of Symbol 96 MovieClip in Symbol 150 MovieClip Frame 2
onClipEvent (load) {
badLaserSound = new Sound(this);
badLaserSound.attachSound("badLaser2");
badLaserSound.start();
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this.hitTest(_root.unloader2)) {
unloadMovie (this);
}
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
_root.ship.gotoAndPlay("hurt");
unloadMovie (this);
}
if (this.hitTest(_root.sheild2)) {
_root.ship.gotoAndPlay("sheildOff");
unloadMovie (this);
unloadMovie (_root.sheild2);
_root.sheildOn = 0;
}
}
Symbol 150 MovieClip Frame 25
if (dead >= 1) {
unloadMovie (this);
} else {
gotoAndStop (1);
}
Instance of Symbol 96 MovieClip in Symbol 150 MovieClip Frame 25
onClipEvent (load) {
badLaserSound = new Sound(this);
badLaserSound.attachSound("badLaser2");
badLaserSound.start();
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this.hitTest(_root.unloader2)) {
unloadMovie (this);
}
if (this.hitTest(_root.unloader)) {
unloadMovie (this);
}
if (this.hitTest(_root.ship)) {
_root.ship.gotoAndPlay("hurt");
unloadMovie (this);
}
}
Symbol 151 Button
on (press) {
i5 = i5 + 1000;
shipNum = Math.ceil(Math.random() * 15);
duplicateMovieClip ("_root.s" + shipNum, "ship" + i5, i5);
}
Symbol 172 Button
on (release) {
_root.gotoAndStop("start");
}