Frame 1
Stage.showMenu = false;
Instance of Symbol 6 MovieClip "loadbar" in Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.percent);
}
Instance of Symbol 10 MovieClip "mouse" in Frame 1
onClipEvent (load) {
mouse.hide();
this.startDrag(true);
}
Frame 2
loadedb = getBytesLoaded();
total = getBytesTotal();
percent = int((loadedb / total) * 100);
tellTarget (_root.loadbar) {
gotoAndStop(percent);
};
Frame 3
if (loadedb == total) {
play();
} else {
gotoAndPlay (2);
}
Instance of Symbol 6 MovieClip "loadbar" in Frame 4
onClipEvent (enterFrame) {
this.gotoAndStop(_root.percent);
}
Frame 28
stop();
Frame 31
LEVEL = 0;
score2 = 0;
if (diff == "hard") {
multi = 2;
}
if (diff == "normal") {
multi = 1.5;
}
if (diff == "easy") {
multi = 1;
}
i = 1;
j = 10;
enemies = 1;
playlevel = false;
score = 0;
tellTarget (_root.bomb) {
stop();
};
tellTarget (_root.rocket) {
gotoAndStop (1);
};
Instance of Symbol 30 MovieClip "laser" in Frame 31
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y - y;
}
Instance of Symbol 36 MovieClip "level" in Frame 31
onClipEvent (load) {
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (_root.playlevel == false) {
this._x = 300;
this._y = 250;
this.play();
} else {
this._x = 800;
this._y = 400;
this.stop();
}
}
Instance of Symbol 54 MovieClip "rocket" in Frame 31
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if (this.hitTest(_root.ship)) {
play();
}
}
Instance of Symbol 77 MovieClip "ship" in Frame 31
onClipEvent (enterFrame) {
if (_root.armor <= 0) {
tellTarget (_root) {
gotoAndPlay (42);
};
_root.gotoAndPlay(42);
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (this._x < 530) {
this._x = this._x + 12;
this.gotoAndStop(2);
}
} else if (Key.isDown(37) || (Key.isDown(65))) {
if (this._x > 70) {
this._x = this._x - 12;
this.gotoAndStop(3);
}
} else if (Key.isDown(38) || (Key.isDown(87))) {
if (this._y > 70) {
this._y = this._y - 12;
this.gotoAndStop(4);
}
} else if (Key.isDown(40) || (Key.isDown(83))) {
if (this._y < 430) {
this._y = this._y + 12;
this.gotoAndStop(5);
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 100 MovieClip "1" in Frame 31
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 10 MovieClip "mouse" in Frame 31
onClipEvent (load) {
mouse.hide();
this.startDrag(true);
}
onClipEvent (enterFrame) {
if (_root.enemies == 0) {
_root.playlevel = false;
_root.nextFrame();
}
}
Frame 32
enemies = 2;
Instance of Symbol 100 MovieClip "2" in Frame 32
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "3" in Frame 32
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 33
enemies = 3;
Instance of Symbol 100 MovieClip "4" in Frame 33
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "5" in Frame 33
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "1" in Frame 33
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 34
enemies = 5;
Instance of Symbol 100 MovieClip "6" in Frame 34
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "7" in Frame 34
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "8" in Frame 34
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "9" in Frame 34
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "10" in Frame 34
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 35
enemies = 3;
Instance of Symbol 109 MovieClip "12" in Frame 35
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "11" in Frame 35
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "13" in Frame 35
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 36
enemies = 4;
Instance of Symbol 109 MovieClip "16" in Frame 36
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "14" in Frame 36
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "15" in Frame 36
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 109 MovieClip "17" in Frame 36
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 650) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 550) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 37
enemies = 5;
Instance of Symbol 109 MovieClip "20" in Frame 37
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "21" in Frame 37
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "19" in Frame 37
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 109 MovieClip "18" in Frame 37
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 650) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 550) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 109 MovieClip "22" in Frame 37
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 38
enemies = 4;
Instance of Symbol 109 MovieClip "26" in Frame 38
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 109 MovieClip "24" in Frame 38
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 650) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 550) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 109 MovieClip "25" in Frame 38
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 109 MovieClip "23" in Frame 38
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 39
enemies = 6;
Instance of Symbol 109 MovieClip "32" in Frame 39
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 109 MovieClip "31" in Frame 39
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 109 MovieClip "27" in Frame 39
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "28" in Frame 39
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "29" in Frame 39
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "30" in Frame 39
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 40
enemies = 2;
Instance of Symbol 100 MovieClip "32" in Frame 40
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 118 MovieClip "33" in Frame 40
onClipEvent (load) {
life = 8;
this._rotation = 270;
speed = 270;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Frame 41
enemies = 4;
Instance of Symbol 100 MovieClip "34" in Frame 41
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 118 MovieClip "36" in Frame 41
onClipEvent (load) {
life = 8;
this._rotation = 270;
speed = 270;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 100 MovieClip "35" in Frame 41
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 118 MovieClip "37" in Frame 41
onClipEvent (load) {
life = 8;
this._rotation = 180;
speed = 180;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Frame 42
enemies = 4;
Instance of Symbol 118 MovieClip "40" in Frame 42
onClipEvent (load) {
i = 1;
life = 8;
this._rotation = 180;
speed = 180;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 118 MovieClip "39" in Frame 42
onClipEvent (load) {
life = 8;
speed = 0;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 118 MovieClip "38" in Frame 42
onClipEvent (load) {
life = 8;
this._rotation = 90;
speed = 90;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 118 MovieClip "41" in Frame 42
onClipEvent (load) {
life = 8;
this._rotation = 270;
speed = 270;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Frame 43
enemies = 5;
Instance of Symbol 118 MovieClip "42" in Frame 43
onClipEvent (load) {
life = 8;
this._rotation = 270;
speed = 270;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 118 MovieClip "43" in Frame 43
onClipEvent (load) {
life = 8;
this._rotation = 270;
speed = 270;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 100 MovieClip "44" in Frame 43
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "45" in Frame 43
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "46" in Frame 43
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 44
enemies = 4;
Instance of Symbol 118 MovieClip "47" in Frame 44
onClipEvent (load) {
life = 8;
this._rotation = 180;
speed = 180;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 118 MovieClip "48" in Frame 44
onClipEvent (load) {
life = 8;
this._rotation = 270;
speed = 270;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 109 MovieClip "49" in Frame 44
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 109 MovieClip "50" in Frame 44
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 45
enemies = 5;
Instance of Symbol 118 MovieClip "53" in Frame 45
onClipEvent (load) {
life = 8;
this._rotation = 180;
speed = 180;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 118 MovieClip "54" in Frame 45
onClipEvent (load) {
life = 8;
this._rotation = 90;
speed = 90;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 109 MovieClip "51" in Frame 45
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 109 MovieClip "52" in Frame 45
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 118 MovieClip "55" in Frame 45
onClipEvent (load) {
life = 8;
speed = 0;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Frame 46
enemies = 1;
Instance of Symbol 132 MovieClip "56" in Frame 46
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Frame 47
enemies = 4;
Instance of Symbol 132 MovieClip "57" in Frame 47
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Instance of Symbol 132 MovieClip "58" in Frame 47
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Instance of Symbol 132 MovieClip "59" in Frame 47
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Instance of Symbol 132 MovieClip "60" in Frame 47
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Frame 48
enemies = 4;
Instance of Symbol 132 MovieClip "61" in Frame 48
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Instance of Symbol 132 MovieClip "62" in Frame 48
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Instance of Symbol 100 MovieClip "63" in Frame 48
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "64" in Frame 48
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 49
enemies = 8;
Instance of Symbol 100 MovieClip "65" in Frame 49
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "66" in Frame 49
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "67" in Frame 49
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "68" in Frame 49
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "69" in Frame 49
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "70" in Frame 49
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "71" in Frame 49
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "72" in Frame 49
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 50
enemies = 7;
Instance of Symbol 100 MovieClip "73" in Frame 50
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "74" in Frame 50
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "75" in Frame 50
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 109 MovieClip "76" in Frame 50
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 109 MovieClip "77" in Frame 50
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 118 MovieClip "78" in Frame 50
onClipEvent (load) {
life = 8;
speed = 0;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 118 MovieClip "79" in Frame 50
onClipEvent (load) {
life = 8;
this._rotation = 90;
speed = 90;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Frame 51
enemies = 5;
Instance of Symbol 118 MovieClip "81" in Frame 51
onClipEvent (load) {
life = 8;
this._rotation = 270;
speed = 270;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 118 MovieClip "80" in Frame 51
onClipEvent (load) {
life = 8;
this._rotation = 90;
speed = 90;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 132 MovieClip "82" in Frame 51
onClipEvent (load) {
this._rotation = random(360);
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Instance of Symbol 132 MovieClip "83" in Frame 51
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Instance of Symbol 132 MovieClip "84" in Frame 51
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Frame 52
enemies = 6;
Instance of Symbol 132 MovieClip "85" in Frame 52
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Instance of Symbol 132 MovieClip "86" in Frame 52
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Instance of Symbol 132 MovieClip "87" in Frame 52
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Instance of Symbol 132 MovieClip "88" in Frame 52
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Instance of Symbol 132 MovieClip "89" in Frame 52
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Instance of Symbol 100 MovieClip "90" in Frame 52
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 53
enemies = 5;
Instance of Symbol 118 MovieClip "91" in Frame 53
onClipEvent (load) {
life = 8;
this._rotation = 270;
speed = 270;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 118 MovieClip "92" in Frame 53
onClipEvent (load) {
life = 8;
this._rotation = 270;
speed = 270;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 118 MovieClip "93" in Frame 53
onClipEvent (load) {
life = 8;
this._rotation = 270;
speed = 270;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 118 MovieClip "94" in Frame 53
onClipEvent (load) {
life = 8;
this._rotation = 270;
speed = 270;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 118 MovieClip "95" in Frame 53
onClipEvent (load) {
life = 8;
this._rotation = 270;
speed = 270;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Frame 54
enemies = 6;
Instance of Symbol 118 MovieClip "96" in Frame 54
onClipEvent (load) {
life = 8;
speed = 0;
alive = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
this.play();
}
if ((_root.ai == true) && (alive == true)) {
if (random(45) == 0) {
duplicateMovieClip (_root.bomb, "bomb" + _root.j, _root.j);
_root["bomb" + _root.j]._x = this._x;
_root["bomb" + _root.j]._y = this._y;
tellTarget (_root["bomb" + _root.j]) {
play();
};
_root.j = _root.j + 1;
}
if (speed == 0) {
this._y = this._y - 8;
if (this._y < -50) {
this._rotation = 180;
speed = 180;
this._x = random(550) + 25;
}
}
if (speed == 270) {
this._x = this._x - 8;
if (this._x < -50) {
this._rotation = 90;
speed = 90;
this._y = random(450) + 25;
}
}
if (speed == 180) {
this._y = this._y + 8;
if (this._y > 550) {
this._rotation = 0;
speed = 0;
this._x = random(550) + 25;
}
}
if (speed == 90) {
this._x = this._x + 8;
if (this._x > 650) {
this._rotation = 270;
speed = 270;
this._y = random(450) + 25;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
alive = false;
this.play();
}
}
Instance of Symbol 100 MovieClip "97" in Frame 54
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 100 MovieClip "98" in Frame 54
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 5;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
if (_root.ai == true) {
if (this._x >= _root.ship._x) {
this._x = this._x - 2;
}
if (this._x < _root.ship._x) {
this._x = this._x + 2;
}
if (this._y >= _root.ship._y) {
this._y = this._y - 2;
}
if (this._y < _root.ship._y) {
this._y = this._y + 2;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 132 MovieClip "99" in Frame 54
onClipEvent (load) {
this._rotation = random(360) + 1;
alive = true;
angle = 0;
life = 8;
x = 5;
y = random(4) - 2;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
angle = angle + 5;
if ((_root.ai == true) && (alive == true)) {
if (random(50) == 0) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i].y = (Math.sin((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i].x = (Math.cos((angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 4;
_root["rocket" + _root.i]._x = this._x;
_root["rocket" + _root.i]._y = this._y;
_root["rocket" + _root.i]._rotation = angle + 180;
_root.i = _root.i + 1;
}
this._x = this._x + x;
this._y = this._y + y;
if ((this._x <= 10) && (this.x < 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._x >= 590) && (this.x > 0)) {
x = x * -1;
y = random(10) - 5;
}
if ((this._y <= 10) && (this.y < 0)) {
y = x * -1;
x = random(10) - 5;
}
if ((this._y >= 490) && (this.y > 0)) {
y = x * -1;
x = random(10) - 5;
}
}
if (this.hitTest(_root.ship)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
play();
}
}
Instance of Symbol 109 MovieClip "100" in Frame 54
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Instance of Symbol 109 MovieClip "101" in Frame 54
onClipEvent (load) {
rotate = random(360);
this._rotation = rotate;
life = 13;
this.x = 4;
this.y = 4;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
if (_root.ai == true) {
this._y = this._y + y;
this._x = this._x + x;
if ((this._x > 630) && (this.x > 0)) {
x = -4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._x < -50) && (this.x < 0)) {
x = 4;
y = random(2) - 1;
this._y = _root.ship._y;
}
if ((this._y < -50) && (this.y < 0)) {
y = 4;
x = random(2) - 1;
this._x = _root.ship._x;
}
if ((this._y > 530) && (this.y > 0)) {
y = -4;
x = random(2) - 1;
this._x = _root.ship._x;
}
}
if (this.hitTest(_root.ship)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 55
enemies = 1;
Instance of Symbol 150 MovieClip in Frame 55
onClipEvent (load) {
life = 250;
x = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
_root.armor = _root.armor - 4;
}
this._x = this._x + x;
if ((_root.ai == true) && (life > 0)) {
if (this._y < 75) {
this._y = this._y + 3;
} else {
x = 4;
}
if ((this._x < 60) && (x < 0)) {
x = x * -1;
}
if ((this._x > 540) && (x > 0)) {
x = x * -1;
}
if (random(60) < 3) {
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i]._y = this._y + 50;
_root["rocket" + _root.i]._x = this._x + 15;
_root["rocket" + _root.i]._rotation = 180;
_root["rocket" + _root.i].x = 0;
_root["rocket" + _root.i].y = 12;
_root.i = _root.i + 1;
duplicateMovieClip (_root.rocket, "rocket" + _root.i, _root.i);
_root["rocket" + _root.i]._y = this._y + 50;
_root["rocket" + _root.i]._x = this._x - 15;
_root["rocket" + _root.i]._rotation = 180;
_root["rocket" + _root.i].x = 0;
_root["rocket" + _root.i].y = 12;
_root.i = _root.i + 1;
}
}
if (this.hitTest(_root.laser1)) {
this._life = this._life - 1;
removeMovieClip(_root.laser1);
}
if (this.hitTest(_root.laser2)) {
_life = _life - 1;
removeMovieClip(_root.laser2);
}
if (this.hitTest(_root.laser3)) {
life = life - 1;
removeMovieClip(_root.laser3);
}
if (this.hitTest(_root.laser4)) {
life = life - 1;
removeMovieClip(_root.laser4);
}
if (this.hitTest(_root.laser5)) {
life = life - 1;
removeMovieClip(_root.laser5);
}
if (this.hitTest(_root.laser6)) {
life = life - 1;
removeMovieClip(_root.laser6);
}
if (this.hitTest(_root.laser7)) {
life = life - 1;
removeMovieClip(_root.laser7);
}
if (this.hitTest(_root.laser8)) {
life = life - 1;
removeMovieClip(_root.laser8);
}
if (this.hitTest(_root.laser9)) {
life = life - 1;
removeMovieClip(_root.laser9);
}
if (this.hitTest(_root.laser10)) {
life = life - 1;
removeMovieClip(_root.laser10);
}
if (this.life <= 0) {
this.play();
}
}
Frame 56
play();
Instance of Symbol 152 MovieClip in Frame 56
onClipEvent (load) {
mouse.hide();
this.startDrag(true);
}
Frame 87
gotoAndStop (120);
Frame 88
play();
Frame 120
stop();
Instance of Symbol 152 MovieClip in Frame 120
onClipEvent (load) {
mouse.hide();
this.startDrag(true);
}
onClipEvent (enterFrame) {
if (_root.armor < 0) {
_root.armor = 0;
}
if (_root.score2 < _root.score) {
_root.score2 = _root.score2 + 15;
}
if (_root.score2 > _root.score) {
_root.score2 = _root.score;
}
_root.totalscore = int((_root.armor + _root.score2) * _root.multi);
if (_root.score == _root.score2) {
tellTarget (_root) {
nextFrame();
};
}
}
Instance of Symbol 152 MovieClip in Frame 121
onClipEvent (load) {
mouse.hide();
this.startDrag(true);
}
Symbol 10 MovieClip Frame 1
x = this._x - _root.ship._x;
y = _root.ship._y - this._y;
angle = Math.atan(y / x) / (Math.PI/180);
if (x < 0) {
angle = angle + 180;
}
if ((x >= 0) && (y < 0)) {
angle = angle + 360;
}
angle = angle - 90;
_root.ship.gun._rotation = angle * -1;
Symbol 10 MovieClip Frame 2
if (_root.armor < 0) {
_root.gotoAndPlay("dead");
}
Symbol 18 Button
on (press) {
gotoAndStop (29);
}
Symbol 19 Button
on (release) {
gotoAndStop (30);
}
Symbol 22 Button
on (press) {
gotoAndStop (28);
}
Symbol 25 Button
on (press) {
armor = 500;
diff = "hard";
gotoAndStop (31);
}
Symbol 26 Button
on (press) {
armor = 700;
diff = "normal";
gotoAndStop (31);
}
Symbol 27 Button
on (press) {
armor = 1000;
diff = "easy";
gotoAndStop (31);
}
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 2
_root.ai = false;
_root.LEVEL = _root.LEVEL + 1;
Symbol 36 MovieClip Frame 38
_root.playlevel = true;
_root.ai = true;
Symbol 46 MovieClip Frame 61
if (this.hitTest(_root.ship)) {
_root.armor = _root.armor - 50;
}
Symbol 46 MovieClip Frame 73
stop();
this.removeMovieClip;
Symbol 54 MovieClip Frame 2
stop();
Symbol 54 MovieClip Frame 3
_root.armor = _root.armor - 50;
Symbol 54 MovieClip Frame 10
stop();
Symbol 69 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 1
stop();
Instance of Symbol 69 MovieClip "gun" in Symbol 77 MovieClip Frame 1
onClipEvent (load) {
i = 1;
}
onClipEvent (mouseDown) {
this.play();
duplicateMovieClip (_root.laser, "laser" + i, i);
setProperty(_root["laser" + i], _rotation , _root.mouse.angle * -1);
_root["laser" + i].y = (Math.sin((_root.mouse.angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 2;
_root["laser" + i].x = (Math.cos((_root.mouse.angle + 90) * (Math.PI/180)) / (Math.PI/180)) / 2;
_root["laser" + i]._y = _root.ship._y;
_root["laser" + i]._x = _root.ship._x;
i = i + 1;
if (i > 10) {
i = 1;
}
}
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 2
if (this.hitTest(_root.ship)) {
_root.score = _root.score + 15;
_root.armor = _root.armor - 30;
} else {
_root.score = _root.score + 50;
}
Symbol 100 MovieClip Frame 11
life = 1;
Symbol 100 MovieClip Frame 12
_root.enemies = _root.enemies - 1;
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
if (this.hitTest(_root.ship)) {
_root.score = _root.score + 10;
_root.armor = _root.armor - 45;
} else {
_root.score = _root.score + 45;
}
Symbol 109 MovieClip Frame 8
life = 1;
Symbol 109 MovieClip Frame 9
_root.enemies = _root.enemies - 1;
stop();
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 2
if (this.hitTest(_root.ship)) {
_root.score = _root.score + 15;
_root.armor = _root.armor - 30;
} else {
_root.score = _root.score + 50;
}
alive = false;
Symbol 118 MovieClip Frame 13
life = 1;
Symbol 118 MovieClip Frame 14
_root.enemies = _root.enemies - 1;
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 2
if (this.hitTest(_root.ship)) {
_root.score = _root.score + 15;
_root.armor = _root.armor - 30;
} else {
_root.score = _root.score + 65;
}
Symbol 132 MovieClip Frame 10
_root.enemies = _root.enemies - 1;
Symbol 132 MovieClip Frame 16
gotoAndPlay (15);
alive = false;
Symbol 142 MovieClip Frame 200
if (this.hitTest(_root.ship)) {
_root.armor = _root.armor - 150;
}
Symbol 150 MovieClip Frame 1
stop();
Instance of Symbol 142 MovieClip in Symbol 150 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 82 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(30) + 1);
}
Instance of Symbol 82 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(30) + 1);
}
Instance of Symbol 82 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(30) + 1);
}
Instance of Symbol 82 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(30) + 1);
}
Instance of Symbol 82 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(30) + 1);
}
Symbol 150 MovieClip Frame 2
_root.score = _root.score + 1500;
Symbol 150 MovieClip Frame 11
stop();
_root.enemies = _root.enemies - 1;
Symbol 159 Button
on (press) {
_root.gotoAndStop("menu");
}