Frame 1
fscommand ("allowscale", true);
if (getBytesLoaded() <= getBytesTotal()) {
frame = int(getBytesLoaded() / (getBytesTotal() / 100));
loader.gotoAndStop(frame);
}
Frame 2
if (getBytesLoaded() < (getBytesTotal() / 2)) {
gotoAndPlay (1);
} else if (getBytesLoaded() <= getBytesTotal()) {
frame = int(getBytesLoaded() / (getBytesTotal() / 100));
loader.gotoAndStop(frame);
}
Instance of Symbol 21 MovieClip "soundcontrol" in Frame 2
onClipEvent (load) {
fader = 0;
v = 40;
vv = 0;
restart = false;
je = new Sound();
je.attachSound("jetengine");
je.setVolume(40);
je.start();
}
onClipEvent (enterFrame) {
fader++;
if (fader >= 260) {
if (v > 0) {
je.setVolume(v--);
}
if (v == 0) {
je.stop();
restart = true;
je.start();
}
if (restart) {
je.setVolume(vv++);
if (vv == 41) {
v = 40;
vv = 0;
restart = false;
fader = 0;
}
}
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
counter = 80;
this._alpha = 0;
this.ng._enabled = false;
}
onClipEvent (enterFrame) {
counter--;
if (counter <= 0) {
this._alpha = this._alpha + 2;
}
}
Instance of Symbol 31 MovieClip "title" in Frame 2
onClipEvent (load) {
counter = 80;
this._alpha = 0;
}
onClipEvent (enterFrame) {
counter--;
if (counter <= 0) {
this._alpha = this._alpha + 2;
}
}
Instance of Symbol 38 MovieClip "f22" in Frame 2
onClipEvent (load) {
counter = 100;
intro = true;
this._alpha = 0;
}
onClipEvent (enterFrame) {
counter--;
if (counter == 0) {
gotoAndPlay (2);
}
if ((counter <= 0) && (intro)) {
if (this._alpha < 50) {
this._alpha = this._alpha + 4;
}
if (this._alpha >= 50) {
intro = false;
}
}
}
Instance of Symbol 52 MovieClip in Frame 2
onClipEvent (load) {
counter = 80;
this._alpha = 0;
}
onClipEvent (enterFrame) {
counter--;
if (counter <= 0) {
this._alpha = this._alpha + 2;
}
}
Instance of Symbol 54 MovieClip in Frame 2
onClipEvent (load) {
this._alpha = 0;
counter = 80;
}
onClipEvent (enterFrame) {
counter--;
if (counter <= 0) {
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
}
}
}
Frame 3
if (getBytesLoaded() < getBytesTotal()) {
gotoAndPlay (2);
} else {
stop();
}
Frame 4
function flash(target) {
if (target.hitpoints > 0) {
c = new Color(target);
t = new Object();
t.ra = 200;
t.ga = 200;
t.ba = 200;
c.setTransform(t);
target.hit = true;
}
}
function hit(bullets, i, dmg) {
h = false;
if (bullets._visible) {
if ((bullets.hitTest(_root["su30" + i]) && (_root["su30" + i].hitpoints > 0)) && (_root["su30" + i]._y > 0)) {
_root["su30" + i].hitpoints = _root["su30" + i].hitpoints - dmg;
h = true;
flash(_root["su30" + i]);
} else if ((bullets.hitTest(_root["su30a" + i]) && (_root["su30a" + i].hitpoints > 0)) && (_root["su30a" + i]._y > 0)) {
_root["su30a" + i].hitpoints = _root["su30a" + i].hitpoints - dmg;
h = true;
flash(_root["su30a" + i]);
} else if ((bullets.hitTest(_root["mi24hind" + i]) && (_root["mi24hind" + i].hitpoints > 0)) && (_root["mi24hind" + i]._y > 0)) {
_root["mi24hind" + i].hitpoints = _root["mi24hind" + i].hitpoints - dmg;
h = true;
flash(_root["mi24hind" + i]);
} else if ((bullets.hitTest(_root["mig29" + i]) && (_root["mig29" + i].hitpoints > 0)) && (_root["mig29" + i]._y > 0)) {
_root["mig29" + i].hitpoints = _root["mig29" + i].hitpoints - dmg;
h = true;
flash(_root["mig29" + i]);
} else if ((bullets.hitTest(_root["tu16" + i]) && (_root["tu16" + i].hitpoints > 0)) && (_root["tu16" + i]._y > 0)) {
_root["tu16" + i].hitpoints = _root["tu16" + i].hitpoints - dmg;
h = true;
flash(_root["tu16" + i]);
} else if ((bullets.hitTest(_root["m4" + i]) && (_root["m4" + i].hitpoints > 0)) && (_root["m4" + i]._y > 0)) {
_root["m4" + i].hitpoints = _root["m4" + i].hitpoints - dmg;
h = true;
flash(_root["m4" + i]);
} else if ((bullets.hitTest(_root["su32" + i]) && (_root["su32" + i].hitpoints > 0)) && (_root["su32" + i]._y > 0)) {
_root["su32" + i].hitpoints = _root["su32" + i].hitpoints - dmg;
h = true;
flash(_root["su32" + i]);
}
if (h == true) {
hitsound.start();
if (bullets.homing) {
_root.plane.hmissilefired = false;
}
bullets.removeMovieClip();
}
}
}
function su30create() {
inity = -800;
_root.su30._visible = false;
_root.su30shadow.duplicateMovieClip("su30shadow1", layer++);
_root.su30.duplicateMovieClip("su301", layer++);
_root.su301._y = inity;
_root.su301._x = 300;
_root.su301.shad = _root.su30shadow1;
enemy.push(_root.su301);
_root.su30shadow.duplicateMovieClip("su30shadow2", layer++);
_root.su30.duplicateMovieClip("su302", layer++);
_root.su302._y = inity - 50;
_root.su302._x = 350;
_root.su302.shad = _root.su30shadow2;
enemy.push(_root.su302);
_root.su30shadow.duplicateMovieClip("su30shadow3", layer++);
_root.su30.duplicateMovieClip("su303", layer++);
_root.su303._y = inity - 50;
_root.su303._x = 250;
_root.su303.shad = _root.su30shadow3;
enemy.push(_root.su303);
inity = -1400;
_root.su30a._visible = false;
_root.su30shadow.duplicateMovieClip("su30ashadow1", layer++);
_root.su30a.duplicateMovieClip("su30a1", layer++);
_root.su30a1._y = inity;
_root.su30a1._x = 100;
_root.su30a1.shad = _root.su30ashadow1;
enemy.push(_root.su30a1);
_root.su30shadow.duplicateMovieClip("su30ashadow2", layer++);
_root.su30a.duplicateMovieClip("su30a2", layer++);
_root.su30a2._y = inity - 50;
_root.su30a2._x = 150;
_root.su30a2.shad = _root.su30ashadow2;
enemy.push(_root.su30a2);
_root.su30shadow.duplicateMovieClip("su30ashadow3", layer++);
_root.su30a.duplicateMovieClip("su30a3", layer++);
_root.su30a3._y = inity - 50;
_root.su30a3._x = 50;
_root.su30a3.shad = _root.su30ashadow3;
enemy.push(_root.su30a3);
}
function mi24create() {
inity = -2000;
mi24weaponcount = 0;
_root.mi24hind._visible = false;
_root.mi24hind.duplicateMovieClip("mi24hind1", layer++);
_root.mi24hind1._x = 80;
_root.mi24hind1._y = inity;
enemy.push(_root.mi24hind1);
_root.mi24hind.duplicateMovieClip("mi24hind2", layer++);
_root.mi24hind2._x = 300;
_root.mi24hind2._y = inity - 900;
enemy.push(_root.mi24hind2);
}
function tu16create() {
inity = -1700;
_root.tu16._visible = false;
_root.tu16.duplicateMovieClip("tu161", layer++);
_root.mpower.duplicateMovieClip("mpower1", toplayer++);
_root.tu161._x = -60;
_root.tu161._y = inity;
_root.tu161.which = 1;
enemy.push(_root.tu161);
_root.tu16.duplicateMovieClip("tu162", layer++);
_root.mpower.duplicateMovieClip("mpower2", toplayer++);
_root.tu162._x = 560;
_root.tu162._y = inity - 500;
_root.tu162.which = 2;
enemy.push(_root.tu162);
}
function m4create() {
inity = -800;
_root.m4._visible = false;
_root.m4.duplicateMovieClip("m41", layer++);
_root.m4.duplicateMovieClip("m42", layer++);
_root.rpower.duplicateMovieClip("rpower1", toplayer++);
_root.rpower.duplicateMovieClip("rpower2", toplayer++);
_root.m41._x = 150;
_root.m41._y = inity;
_root.m41.which = 1;
enemy.push(_root.m41);
_root.m42._x = 350;
_root.m42._y = inity - 600;
_root.m42.which = 2;
enemy.push(_root.m42);
}
function mig29create() {
inity = -1200;
mig29weaponcount = 0;
_root.mig29._visible = false;
_root.mig29.duplicateMovieClip("mig291", layer++);
_root.mig291._y = inity;
_root.mig291._x = 100;
enemy.push(_root.mig291);
_root.mig29.duplicateMovieClip("mig292", layer++);
_root.mig292._y = inity - 50;
_root.mig292._x = 150;
enemy.push(_root.mig292);
_root.mig29.duplicateMovieClip("mig293", layer++);
_root.mig293._y = inity - 50;
_root.mig293._x = 50;
totalenemies = enemy.push(_root.mig293);
}
fscommand ("allowscale", true);
layer = 1000;
groundlayer = 100;
toplayer = 100000 /* 0x0186A0 */;
eweaponspeed = 3;
numEnemies = 4;
craterspeed = 5;
score = 0;
lives = 2;
counter = 0;
su30count = 0;
su30acount = 0;
mig29count = 0;
m4count = 0;
tu16count = 0;
mi24count = 0;
enemy = new Array();
nsu30 = 40;
nmig29 = 32;
nmi24 = 16;
nm4 = 6;
ntu16 = 6;
music = new Sound();
music.attachSound("music5");
music.start();
music.onSoundComplete = function () {
music.start();
};
bmusic = new Sound();
bmusic.attachsound("bossmusic");
bmusic.onSoundComplete = function () {
bmusic.start();
};
b1 = new Sound();
b2 = new Sound();
b3 = new Sound();
exp = new Sound();
exp.attachSound("exp");
exp.setVolume(60);
pickup = new Sound();
pickup.attachSound("rp");
pickup.setVolume(200);
bexp = new Sound();
bexp.attachSound("be");
hitsound = new Sound();
hitsound.attachSound("b1");
_root.musicoff.enabled = true;
_root.musicon.enabled = false;
mwsound = new Sound();
mwsound.attachSound("mweaponsound");
mwsound.setVolume(40);
_root.f22icon._visible = false;
_root.f22icon.duplicateMovieClip("f22icon1", toplayer++);
_root.f22icon.duplicateMovieClip("f22icon2", toplayer++);
_root.f22icon2._x = _root.f22icon2._x - 20;
_root.f22.duplicateMovieClip("plane", toplayer++);
_root.su32.duplicateMovieClip("su321", layer++);
enemy.push(_root.su321);
su30create();
mi24create();
tu16create();
m4create();
mig29create();
stop();
Instance of Symbol 56 MovieClip in Frame 4
onClipEvent (load) {
this._visible = false;
counter = 80;
}
onClipEvent (enterFrame) {
if (_root.su321.hitpoints <= 0) {
counter--;
if (counter == 0) {
this._visible = true;
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 73 MovieClip "f22shadow" in Frame 4
onClipEvent (load) {
function reset() {
this._x = _root.plane._x;
this._y = _root.plane._y - 20;
this._alpha = 35;
this._visible = true;
shadowspeed = 6;
}
reset();
}
onClipEvent (enterFrame) {
if (this._name == "f22shadow1") {
if (Key.isDown(37)) {
if (this._x > 140) {
this.gotoAndStop(2);
this._x = this._x - shadowspeed;
}
} else if (Key.isDown(39)) {
if (this._x < 360) {
this.gotoAndStop(3);
this._x = this._x + shadowspeed;
}
} else {
this.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (this._y > 240) {
this._y = this._y - shadowspeed;
}
} else if (Key.isDown(40)) {
if (this._y < 506) {
this._y = this._y + shadowspeed;
}
}
}
}
Instance of Symbol 82 MovieClip "f22" in Frame 4
onClipEvent (load) {
if (this._name == "plane") {
planespeed = 12;
score = 0;
hitpoints = 100;
powerup = 1;
mpowerup = 0;
crater = false;
takeoff = false;
missilecooldown = 0;
hmissilecooldown = 0;
hmissilecount = 0;
missilecount = 0;
weaponcounter = 8;
invincibility = 0;
soundcounter = 8;
this._x = 250;
this._y = 500;
_root.f22shadow.duplicateMovieClip("f22shadow1", _root.toplayer - 100);
}
}
onClipEvent (enterFrame) {
if (this._name == "plane") {
if ((planespeed < 0) && (y >= 550)) {
planespeed = 12;
}
if (invincibility > 0) {
invincibility--;
this._alpha = 50;
if (invincibility == 0) {
hitpoints = 100;
this._alpha = 100;
}
}
if (_root.counter >= 100000) {
_root.counter = 0;
if (_root.lives < 5) {
_root.lives++;
_root.f22icon.duplicateMovieClip("f22icon" + _root.lives, _root.toplayer++);
if (_root.lives == 1) {
_root.f22icon1._x = 479;
} else if (_root.lives == 2) {
_root.f22icon2._x = 459;
} else if (_root.lives == 3) {
_root.f22icon3._x = 439;
} else if (_root.lives == 4) {
_root.f22icon4._x = 419;
} else if (_root.lives == 5) {
_root.f22icon5._x = 399;
}
}
}
if ((hitpoints > 0) && (takeoff == false)) {
if (Key.isDown(37)) {
if (this._x > 25) {
this.gotoAndStop(2);
this._x = this._x - planespeed;
}
} else if (Key.isDown(Key.Right)) {
if (this._x < 470) {
this.gotoAndStop(3);
this._x = this._x + planespeed;
}
} else {
this.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (this._y < 560) {
this._y = this._y + planespeed;
}
} else if (Key.isDown(38)) {
if (this._y > 30) {
this._y = this._y - planespeed;
}
}
if (hmissilecooldown > 0) {
hmissilecooldown--;
}
if (missilecooldown > 0) {
missilecooldown--;
}
if ((Key.isDown(32) && (weaponcounter < 9)) && (weaponcounter > -1)) {
weaponcounter--;
if ((soundcounter % 2) == 0) {
_root.b1.start();
} else if ((soundcounter % 2) == 1) {
_root.b2.start();
}
soundcounter--;
if (soundcounter == 0) {
soundcounter = 8;
}
if (powerup == 1) {
_root.mweapon.duplicateMovieClip("mweapon" + (mweaponcount++), _root.layer++);
} else if (powerup == 2) {
_root.mweapon2.duplicateMovieClip("mweapon2" + (mweaponcount++), _root.layer++);
} else if (powerup == 3) {
_root.mweapon3.duplicateMovieClip("mweapon3" + (mweaponcount++), _root.layer++);
} else if (powerup == 4) {
_root.mweapon4.duplicateMovieClip("mweapon4" + (mweaponcount++), _root.layer++);
}
if ((mpowerup == 1) && (missilecooldown == 0)) {
missilecooldown = 20;
_root.raim120.duplicateMovieClip("raim120" + (missilecount++), _root.layer++);
_root.laim120.duplicateMovieClip("laim120" + (missilecount++), _root.layer++);
} else if ((mpowerup == 2) && (missilecooldown == 0)) {
missilecooldown = 20;
_root.raim120.duplicateMovieClip("raim120" + (missilecount++), _root.layer++);
_root.laim120.duplicateMovieClip("laim120" + (missilecount++), _root.layer++);
_root.rraim120.duplicateMovieClip("rraim120" + (missilecount++), _root.layer++);
_root.llaim120.duplicateMovieClip("llaim120" + (missilecount++), _root.layer++);
} else if ((mpowerup == 3) && (hmissilecooldown == 0)) {
hmissilecooldown = 20;
_root.haim120a.duplicateMovieClip("haim120a" + (hmissilecount++), _root.layer++);
_root.haim120b.duplicateMovieClip("haim120b" + (hmissilecount++), _root.layer++);
} else if ((mpowerup == 4) && (hmissilecooldown == 0)) {
hmissilecooldown = 20;
_root.haim120a.duplicateMovieClip("haim120a" + (hmissilecount++), _root.layer++);
_root.haim120b.duplicateMovieClip("haim120b" + (hmissilecount++), _root.layer++);
_root.haim120aa.duplicateMovieClip("haim120aa" + (hmissilecount++), _root.layer++);
_root.haim120bb.duplicateMovieClip("haim120bb" + (hmissilecount++), _root.layer++);
}
} else if (!Key.isDown(Key.Space)) {
weaponcounter = 8;
soundcounter = 8;
}
if (weaponcounter < 0) {
weaponcounter = 12;
} else if (weaponcounter >= 8) {
weaponcounter--;
}
}
if (crater && (hitpoints <= 0)) {
if (_root.lives > 0) {
_root["f22icon" + _root.lives].removeMovieClip();
_root.lives--;
crater = false;
this._x = 250;
this._y = 500;
hitpoints = 1000000 /* 0x0F4240 */;
invincibility = 60;
planespeed = 12;
if (powerup > 1) {
powerup--;
}
if (mpowerup > 0) {
mpowerup--;
}
this.gotoAndStop(12);
_root.f22shadow1.reset();
} else {
_root.gameover._visible = true;
}
if ((this._y > 650) && (_root.lives == 0)) {
this.removeMovieClip();
}
}
if ((hitpoints <= 0) && (planespeed > 0)) {
planespeed = 0;
_root.f22shadow1._visible = false;
this.gotoAndPlay(4);
}
}
}
Instance of Symbol 87 MovieClip "su30shadow" in Frame 4
onClipEvent (load) {
this._alpha = 35;
shadowspeed = 10;
}
onClipEvent (enterFrame) {
this._y = this._y + this.shadowspeed;
if (this._y >= 0) {
this.shadowspeed = 9;
}
}
Instance of Symbol 90 MovieClip "bonus" in Frame 4
onClipEvent (load) {
counter = 40;
}
onClipEvent (enterFrame) {
if (this._name != "bonus") {
this._visible = true;
this.counter--;
if (this.counter == 0) {
this.removeMovieClip();
}
}
}
Instance of Symbol 93 MovieClip "s32homingweapon" in Frame 4
onClipEvent (load) {
speed = 10;
target = _root.plane;
timer = 140;
}
onClipEvent (enterFrame) {
if (this._name != "s32homingweapon") {
timer--;
if (timer == 0) {
gotoAndPlay (5);
}
a = this._y - target._y;
b = this._x - target._x;
angleA = Math.atan2(a, b);
degrees = angleA / (Math.pi / 180);
setProperty(this, _rotation , degrees + 270);
i = 0.04;
do {
yspeed = a * i;
xspeed = b * i;
i = i + 0.04;
} while ((Math.abs(this.yspeed) < s) && (Math.abs(this.xspeed) < s));
this._y = this._y - yspeed;
this._x = this._x - xspeed;
if ((this.hitTest(_root.plane) && (hitpoints > 0)) && (_root.plane.hitpoints == 100)) {
this.removeMovieClip();
_root.plane.hitpoints = _root.plane.hitpoints - 100;
}
}
}
Instance of Symbol 95 MovieClip "s32weapon" in Frame 4
onClipEvent (load) {
speed = 35;
}
onClipEvent (enterFrame) {
if (this._name != "s32weapon") {
this._y = this._y + speed;
if (this._y > 610) {
this.removeMovieClip();
}
if ((this.hitTest(_root.plane.hitzone) && (hitpoints > 0)) && (_root.plane.hitpoints == 100)) {
this.removeMovieClip();
_root.plane.hitpoints = _root.plane.hitpoints - 100;
}
}
}
Instance of Symbol 102 MovieClip "tu16" in Frame 4
onClipEvent (load) {
function reset() {
this.swapDepths(_root.layer++);
_root.tu16count++;
if (_root.tu16count < 4) {
this._y = random(50) - 800;
this._x = 560;
tu16weaponcount = tu16weaponcount + 100;
} else {
this._y = random(50) - 1200;
this._x = -60;
tu16weaponcount = tu16weaponcount + 100;
}
_root.mpower.duplicateMovieClip("mpower" + which, _root.layer++);
this._x = startx;
hit = false;
hitcounter = 3;
tu16speed = 3;
hitpoints = 550;
crater = false;
stopped = false;
assault = false;
beginleftentrance = false;
beginrightentrance = false;
this.gotoAndStop(1);
}
tu16speed = 3;
hitpoints = 250;
thitpoints = 250;
tu16weaponcount = 0;
crater = false;
stopped = false;
assault = false;
beginleftentrance = false;
beginrightentrance = false;
hit = false;
hitcounter = 3;
_root.tu16count++;
}
onClipEvent (enterFrame) {
if (this._name != "tu16") {
this._visible = true;
this._y = this._y + this.tu16speed;
if (this._y > 600) {
if (_root.tu16count < _root.ntu16) {
this.reset();
} else {
this.removeMovieClip();
}
}
if (this.hit) {
this.hitcounter--;
}
if (this.hitcounter == 0) {
c = new Color(this);
t = new Object();
t.ra = 100;
t.ga = 100;
t.ba = 100;
c.setTransform(t);
this.hitcounter = 3;
this.hit = false;
}
if (this._y >= 200) {
if (this._x < 0) {
this.beginleftentrance = true;
} else {
this.beginrightentrance = true;
}
}
if (this.beginleftentrance && (this.hitpoints > 0)) {
this._x = this._x + 4;
this._y = this._y - 5;
if (this._y <= 100) {
this.beginleftentrance = false;
this.assault = true;
}
}
if (this.beginrightentrance && (this.hitpoints > 0)) {
this._x = this._x - 4;
this._y = this._y - 5;
if (this._y <= 100) {
this.beginrightentrance = false;
this.assault = true;
}
}
if (this.assault && (this.hitpoints > 0)) {
this.tu16speed = 0;
this.assault = false;
this.stopped = true;
this.gotoAndPlay(32);
}
if (((this._visible && (this.hitTest(_root.plane))) && ((this.tu16speed > 0) || (this.stopped))) && (_root.plane.hitpoints == 100)) {
_root.plane.hitpoints = _root.plane.hitpoints - 100;
this.hitpoints = 0;
this.tu16speed = 0;
_root["mpower" + which].removeMovieClip();
this.gotoAndPlay(2);
}
if ((this.hitpoints <= 0) && ((this.tu16speed > 0) || (this.stopped))) {
this.tu16speed = 0;
this.stopped = false;
_root.score = _root.score + (this.thitpoints * 5);
_root.counter = _root.counter + (this.thitpoints * 5);
_root["mpower" + which]._visible = true;
_root["mpower" + which]._x = this._x;
_root["mpower" + which]._y = this._y + 30;
this.gotoAndPlay(2);
}
if (this.crater) {
this._y = this._y + _root.craterspeed;
if (this._y > 1000) {
this.removeMovieClip();
}
}
}
}
Instance of Symbol 104 MovieClip "su30a" in Frame 4
onClipEvent (load) {
function reset() {
newy = -500;
newx = random(325) + 75;
_root.su30a1._x = newx;
_root.su30a1._y = newy;
_root.su30a1.shad._x = newx + 20;
_root.su30a1.shad._y = newy + 100;
_root.su30a1.shad._visible = true;
_root.su30a2._x = newx + 50;
_root.su30a2._y = newy - 50;
_root.su30a2.shad._x = newx + 70;
_root.su30a2.shad._y = newy + 50;
_root.su30a2.shad._visible = true;
_root.su30a3._x = newx - 50;
_root.su30a3._y = newy - 50;
_root.su30a3.shad._x = newx - 30;
_root.su30a3.shad._y = newy + 50;
_root.su30a3.shad._visible = true;
_root.su30acount = _root.su30acount + 3;
_root.su30a1.su30speed = 10;
_root.su30a2.su30speed = 10;
_root.su30a3.su30speed = 10;
_root.su30a1.hitpoints = 20;
_root.su30a2.hitpoints = 20;
_root.su30a3.hitpoints = 20;
_root.su30a1.crater = false;
_root.su30a2.crater = false;
_root.su30a3.crater = false;
_root.su30a1.hit = false;
_root.su30a2.hit = false;
_root.su30a3.hit = false;
_root.su30a1.hitcounter = 3;
_root.su30a2.hitcounter = 3;
_root.su30a3.hitcounter = 3;
_root.su30a1.gotoAndStop(1);
_root.su30a2.gotoAndStop(1);
_root.su30a3.gotoAndStop(1);
_root.su30a1.swapDepths(_root.layer++);
_root.su30a2.swapDepths(_root.layer++);
_root.su30a3.swapDepths(_root.layer++);
}
su30speed = 10;
hitpoints = 10;
thitpoints = 10;
crater = false;
shad._x = this._x + 20;
shad._y = this._y + 50;
hit = false;
hitcounter = 3;
_root.su30acount++;
}
onClipEvent (enterFrame) {
if (this._name != "su30a") {
if (this._y > 700) {
if ((_root.su30acount < _root.nsu30) && (((_root.su30acount - 1) % 3) == 0)) {
reset();
} else {
this.removeMovieClip();
}
}
if (this.hit) {
this.hitcounter--;
}
if (this.hitcounter == 0) {
c = new Color(this);
t = new Object();
t.ra = 100;
t.ga = 100;
t.ba = 100;
c.setTransform(t);
this.hitcounter = 3;
this.hit = false;
}
if (this.hitpoints > 0) {
this._y = this._y + su30speed;
} else if ((hitpoints <= 0) && (su30speed > 0)) {
this.shad._visible = false;
_root.score = _root.score + (thitpoints * 5);
_root.counter = _root.counter + (thitpoints * 5);
su30speed = 0;
if (hitpoints == 0) {
this.gotoAndPlay(2);
} else {
this.gotoAndPlay(32);
}
}
if (((this._visible && (this.hitTest(_root.plane))) && (su30speed > 0)) && (_root.plane.hitpoints == 100)) {
_root.plane.hitpoints = _root.plane.hitpoints - 100;
hitpoints = 0;
su30speed = 0;
this.gotoAndPlay(32);
crater = true;
}
if (crater) {
this._y = this._y + _root.craterspeed;
if (this._y > 800) {
this.removeMovieClip();
}
}
}
}
Instance of Symbol 111 MovieClip "su32" in Frame 4
onClipEvent (load) {
this._visible = false;
hitpoints = 9000;
speed = 1;
strafespeed = 5;
ydistance = 1000;
xdistance = 1000;
flyingdown = true;
counter = 0;
superweaponcounter = 3;
deathcounter = 30;
death = false;
scale = 100;
hit = false;
hitcounter = 3;
su32weaponcount = 1;
weaponcooldown = 5;
bossmusicstart = false;
weapon = true;
this._y = -2550;
}
onClipEvent (enterFrame) {
if (this._name != "su32") {
this._visible = true;
if (this._y > -100) {
if (bossmusicstart == false) {
_root.music.setVolume(_root.music.getVolume() - 2);
if (_root.music.getVolume() <= 0) {
_root.music.stop();
bossmusicstart = true;
_root.bmusic.setVolume(100);
_root.bmusic.start();
}
}
}
if (((hitpoints <= 0) && (speed != 0)) && (strafespeed != 0)) {
speed = 0;
strafespeed = 0;
death = true;
}
if (this.hit) {
this.hitcounter--;
}
if (this.hitcounter == 0) {
c = new Color(this);
t = new Object();
t.ra = 100;
t.ga = 100;
t.ba = 100;
c.setTransform(t);
this.hitcounter = 3;
this.hit = false;
}
if (death) {
this._x = this._x + (random(10) - 5);
this._xscale = scale;
this._yscale = scale;
scale = scale - 2;
if (flyingdown) {
this._y = this._y + 5;
} else {
this._y = this._y - 5;
}
deathcounter--;
if (deathcounter == 0) {
death = false;
this.gotoAndPlay(7);
}
}
if (((flyingdown == false) && (hitpoints > 0)) && (this._y < -200)) {
flyingdown = true;
speed = 5;
}
if ((this._y == -40) && (flyingdown)) {
this.gotoAndStop(1);
this._x = _root.plane._x;
speed = 15;
weaponcooldown = 5;
weapon = true;
}
if ((((this._y > 20) && (this._y < 600)) && (flyingdown)) && (hitpoints > 0)) {
if (weapon) {
_root.s32weapon.duplicateMovieClip("s32weapon" + su32weaponcount, _root.layer++);
_root["s32weapon" + su32weaponcount]._x = this._x - 20;
_root["s32weapon" + su32weaponcount]._y = this._y + 15;
su32weaponcount++;
_root.s32weapon.duplicateMovieClip("s32weapon" + su32weaponcount, _root.layer++);
_root["s32weapon" + su32weaponcount]._x = this._x + 20;
_root["s32weapon" + su32weaponcount]._y = this._y + 15;
su32weaponcount++;
_root.s32weapon.duplicateMovieClip("s32weapon" + su32weaponcount, _root.layer++);
_root["s32weapon" + su32weaponcount]._x = this._x - 10;
_root["s32weapon" + su32weaponcount]._y = this._y + 20;
su32weaponcount++;
_root.s32weapon.duplicateMovieClip("s32weapon" + su32weaponcount, _root.layer++);
_root["s32weapon" + su32weaponcount]._x = this._x + 10;
_root["s32weapon" + su32weaponcount]._y = this._y + 20;
su32weaponcount++;
weaponcooldown--;
}
if (weaponcooldown == 0) {
weapon = false;
}
}
if (((ydistance < 250) && (flyingdown)) && (hitpoints > 0)) {
if (this._x < 250) {
this.gotoAndStop(2);
this._x = this._x - strafespeed;
} else {
this.gotoAndStop(3);
this._x = this._x + strafespeed;
}
}
if ((this._y > 900) && (hitpoints > 0)) {
superweaponcounter--;
this.gotoAndStop(4);
this._x = 100;
this._x = this._x + random(200);
speed = -5;
flyingdown = false;
}
if ((flyingdown == false) && (hitpoints > 0)) {
if (counter <= 40) {
this.gotoAndStop(5);
this._x = this._x - strafespeed;
counter++;
} else if (counter <= 80) {
this.gotoAndStop(6);
this._x = this._x + strafespeed;
counter++;
}
if (counter == 80) {
counter = 0;
}
}
if ((this.hitTest(_root.plane) && (hitpoints > 0)) && (_root.plane.hitpoints == 100)) {
_root.plane.hitpoints = _root.plane.hitpoints - 100;
}
ydistance = Math.abs(this._y - _root.plane._y);
xdistance = Math.abs(this._x - _root.plane._x);
this._y = this._y + speed;
if (crater) {
this._y = this._y + _root.craterspeed;
if (this._y > 610) {
this.removeMovieClip();
}
}
}
}
Instance of Symbol 115 MovieClip "mig29" in Frame 4
onClipEvent (load) {
function reset() {
newy = random(50) - 600;
newx = random(350) + 75;
newstrafingpoint = random(50) + 100;
_root.mig291._x = newx;
_root.mig291._y = newy;
_root.mig292._x = newx + 50;
_root.mig292._y = newy - 50;
_root.mig293._x = newx - 50;
_root.mig293._y = newy - 50;
_root.mig29count = _root.mig29count + 3;
_root.mig291.migspeed = 7;
_root.mig292.migspeed = 7;
_root.mig293.migspeed = 7;
_root.mig291.startx = newx;
_root.mig292.startx = newx;
_root.mig293.startx = newx;
_root.mig291.hitpoints = 20;
_root.mig292.hitpoints = 20;
_root.mig293.hitpoints = 20;
_root.mig291.crater = false;
_root.mig292.crater = false;
_root.mig293.crater = false;
_root.mig291.strafingpoint = newstrafingpoint;
_root.mig292.strafingpoint = newstrafingpoint;
_root.mig293.strafingpoint = newstrafingpoint;
_root.mig291.lstrafe = false;
_root.mig292.lstrafe = false;
_root.mig293.lstrafe = false;
_root.mig291.rstrafe = false;
_root.mig292.rstrafe = false;
_root.mig293.rstrafe = false;
_root.mig291.hit = false;
_root.mig292.hit = false;
_root.mig293.hit = false;
_root.mig291.hitcounter = 3;
_root.mig292.hitcounter = 3;
_root.mig293.hitcounter = 3;
_root.mig291.gotoAndStop(1);
_root.mig292.gotoAndStop(1);
_root.mig293.gotoAndStop(1);
_root.mig291.swapDepths(_root.layer++);
_root.mig292.swapDepths(_root.layer++);
_root.mig293.swapDepths(_root.layer++);
}
migspeed = 7;
hitpoints = 20;
thitpoints = 20;
crater = false;
lstrafe = false;
rstrafe = false;
strafingpoint = 100;
hit = false;
hitcounter = 3;
_root.mig29count++;
}
onClipEvent (enterFrame) {
if (this._name != "mig29") {
if (this._y > 700) {
if ((_root.mig29count < _root.nmig29) && (((_root.mig29count - 1) % 3) == 0)) {
reset();
} else {
this.removeMovieClip();
}
}
if (this.hit) {
this.hitcounter--;
}
if (this.hitcounter == 0) {
c = new Color(this);
t = new Object();
t.ra = 100;
t.ga = 100;
t.ba = 100;
c.setTransform(t);
this.hitcounter = 3;
this.hit = false;
}
if (this.hitpoints > 0) {
this._y = this._y + migspeed;
if (startx > 200) {
if ((this._y > strafingpoint) && (this._name == "mig291")) {
this.gotoAndStop(2);
this._x = this._x - 3;
lstrafe = true;
} else if ((this._y > (strafingpoint - 50)) && (this._name != "mig291")) {
this.gotoAndStop(2);
this._x = this._x - 3;
lstrafe = true;
}
} else if (startx < 200) {
if ((this._y > strafingpoint) && (this._name == "mig291")) {
this.gotoAndStop(32);
this._x = this._x + 3;
rstrafe = true;
} else if ((this._y > (strafingpoint - 50)) && (this._name != "mig291")) {
this.gotoAndStop(32);
this._x = this._x + 3;
rstrafe = true;
}
}
} else if ((hitpoints <= 0) && (migspeed > 0)) {
_root.score = _root.score + (thitpoints * 5);
_root.counter = _root.counter + (thitpoints * 5);
migspeed = 0;
if (hitpoints < 0) {
this.gotoAndPlay(62);
} else if (rstrafe) {
this.gotoAndPlay(32);
} else if (lstrafe) {
this.gotoAndPlay(2);
} else {
this.gotoAndPlay(72);
}
}
if (((this._visible && (this.hitTest(_root.plane))) && (migspeed > 0)) && (_root.plane.hitpoints == 100)) {
_root.plane.hitpoints = _root.plane.hitpoints - 100;
hitpoints = 0;
migspeed = 0;
this.gotoAndPlay(62);
crater = true;
}
if (crater) {
this._y = this._y + _root.craterspeed;
if (this._y > 800) {
this.removeMovieClip();
}
}
}
}
Instance of Symbol 104 MovieClip "su30" in Frame 4
onClipEvent (load) {
function reset() {
newy = -400;
newx = random(325) + 75;
_root.su301._x = newx;
_root.su301._y = newy;
_root.su301.shad._x = newx + 20;
_root.su301.shad._y = newy + 100;
_root.su301.shad._visible = true;
_root.su302._x = newx + 50;
_root.su302._y = newy - 50;
_root.su302.shad._x = newx + 70;
_root.su302.shad._y = newy + 50;
_root.su302.shad._visible = true;
_root.su303._x = newx - 50;
_root.su303._y = newy - 50;
_root.su303.shad._x = newx - 30;
_root.su303.shad._y = newy + 50;
_root.su303.shad._visible = true;
_root.su30count = _root.su30count + 3;
_root.su301.su30speed = 10;
_root.su302.su30speed = 10;
_root.su303.su30speed = 10;
_root.su301.hitpoints = 20;
_root.su302.hitpoints = 20;
_root.su303.hitpoints = 20;
_root.su301.crater = false;
_root.su302.crater = false;
_root.su303.crater = false;
_root.su301.hit = false;
_root.su302.hit = false;
_root.su303.hit = false;
_root.su301.hitcounter = 3;
_root.su302.hitcounter = 3;
_root.su303.hitcounter = 3;
_root.su301.gotoAndStop(1);
_root.su302.gotoAndStop(1);
_root.su303.gotoAndStop(1);
_root.su301.swapDepths(_root.layer++);
_root.su302.swapDepths(_root.layer++);
_root.su303.swapDepths(_root.layer++);
}
su30speed = 10;
hitpoints = 20;
thitpoints = 20;
crater = false;
shad._x = this._x + 20;
shad._y = this._y + 50;
hit = false;
hitcounter = 3;
_root.su30count++;
}
onClipEvent (enterFrame) {
if (this._name != "su30") {
if (this._y > 700) {
if ((_root.su30count < _root.nsu30) && (((_root.su30count - 1) % 3) == 0)) {
reset();
} else {
this.removeMovieClip();
}
}
if (this.hit) {
this.hitcounter--;
}
if (this.hitcounter == 0) {
c = new Color(this);
t = new Object();
t.ra = 100;
t.ga = 100;
t.ba = 100;
c.setTransform(t);
this.hitcounter = 3;
this.hit = false;
}
if (this.hitpoints > 0) {
this._y = this._y + su30speed;
} else if ((hitpoints <= 0) && (su30speed > 0)) {
this.shad._visible = false;
_root.score = _root.score + (thitpoints * 5);
_root.counter = _root.counter + (thitpoints * 5);
su30speed = 0;
if (hitpoints == 0) {
this.gotoAndPlay(2);
} else {
this.gotoAndPlay(32);
}
}
if (((this._visible && (this.hitTest(_root.plane))) && (su30speed > 0)) && (_root.plane.hitpoints == 100)) {
_root.plane.hitpoints = _root.plane.hitpoints - 100;
this.hitpoints = 0;
this.su30speed = 0;
this.gotoAndPlay(32);
this.crater = true;
}
if (crater) {
this._y = this._y + _root.craterspeed;
if (this._y > 800) {
this.removeMovieClip();
}
}
}
}
Instance of Symbol 121 MovieClip "m4" in Frame 4
onClipEvent (load) {
function reset() {
this.swapDepths(_root.layer++);
_root.m4count++;
if ((_root.m4count % 2) == 0) {
this._y = random(50) - 700;
m4weaponcount = m4weaponcount + 100;
} else {
this._y = random(100) - 1000;
m4weaponcount = m4weaponcount + 100;
}
_root.rpower.duplicateMovieClip("rpower" + which, _root.layer++);
_root["rpower" + which].swapDepths(_root.toplayer++);
this._x = startx;
if (this._x < 300) {
timer = 408;
} else {
timer = 526;
}
hit = false;
hitcounter = 3;
m4speed = 3;
hitpoints = 550;
crater = false;
stopped = false;
assault = false;
entrance = true;
this.gotoAndStop(1);
}
m4speed = 3;
hitpoints = 300;
thitpoints = 300;
m4weaponcount = 0;
hit = false;
hitcounter = 3;
if (this._x < 300) {
timer = 284;
} else {
timer = 343;
}
crater = false;
stopped = false;
assault = false;
entrance = true;
startx = this._x;
_root.m4count++;
}
onClipEvent (enterFrame) {
if (this._name != "m4") {
this._visible = true;
this._y = this._y + this.m4speed;
if (((this._y > 600) || (this._x > 550)) || (this._x < -50)) {
if (_root.m4count < _root.nm4) {
this.reset();
} else {
this.removeMovieClip();
}
}
if (this.hit) {
this.hitcounter--;
}
if (this.hitcounter == 0) {
c = new Color(this);
t = new Object();
t.ra = 100;
t.ga = 100;
t.ba = 100;
c.setTransform(t);
this.hitcounter = 3;
this.hit = false;
}
if (this._y > 10) {
this.timer--;
}
if ((this.timer <= 0) && (this.hitpoints > 0)) {
if (this._x < 300) {
this._x = this._x - 2;
this._y = this._y + 1;
} else {
this._x = this._x + 2;
this._y = this._y + 1;
}
}
if ((this._y >= 120) && (this.entrance)) {
this.entrance = false;
this.assault = true;
this.m4speed = 0;
}
if (this.assault && (this.hitpoints > 0)) {
this.m4speed = 0;
this.assault = false;
this.stopped = true;
this.gotoAndPlay(32);
}
if (((this._visible && (this.hitTest(_root.plane))) && ((this.m4speed > 0) || (this.stopped))) && (_root.plane.hitpoints == 100)) {
_root.plane.hitpoints = _root.plane.hitpoints - 100;
this.hitpoints = 0;
this.m4speed = 0;
_root["rpower" + which]._visible = true;
_root["rpower" + which]._x = this._x;
_root["rpower" + which]._y = this._y + 30;
this.gotoAndPlay(2);
}
if ((this.hitpoints <= 0) && ((this.m4speed > 0) || (this.stopped))) {
this.m4speed = 0;
this.stopped = false;
_root.score = _root.score + (this.thitpoints * 5);
_root.counter = _root.counter + (this.thitpoints * 5);
_root["rpower" + which]._visible = true;
_root["rpower" + which]._x = this._x;
_root["rpower" + which]._y = this._y + 30;
this.gotoAndPlay(2);
}
if (this.crater) {
this._y = this._y + _root.craterspeed;
if (this._y > 650) {
this.removeMovieClip();
}
}
}
}
Instance of Symbol 126 MovieClip "mi24hind" in Frame 4
onClipEvent (load) {
function reset() {
this._x = random(300) + 60;
if ((_root.mi24count % 2) == 1) {
this._y = random(50) - 500;
} else if ((_root.mi24count % 2) == 0) {
this._y = random(50) - 1800;
}
_root.mi24count++;
hit = false;
hitcounter = 3;
mi24speed = 10;
stopped = false;
hitpoints = 90;
mi24weaponcount = 0;
stoppingpoint = random(200) + 200;
timer = 175;
degrees = 0;
crater = false;
this.gotoAndStop(1);
}
mi24speed = 10;
stopped = false;
hitpoints = 90;
thitpoints = 90;
mi24weaponcount = 0;
degrees = 0;
crater = false;
stoppingpoint = (random(100) + 200) + random(100);
timer = 95;
hit = false;
hitcounter = 3;
_root.mi24count++;
}
onClipEvent (enterFrame) {
if (this._name != "mi24hind") {
if (this._y > 600) {
if (_root.mi24count < _root.nmi24) {
this.reset();
} else {
this.removeMovieClip();
}
}
if (this.hit) {
this.hitcounter--;
}
if (this.hitcounter == 0) {
c = new Color(this);
t = new Object();
t.ra = 100;
t.ga = 100;
t.ba = 100;
c.setTransform(t);
this.hitcounter = 3;
this.hit = false;
}
if (this.stopped && (this.hitpoints > 0)) {
this.timer--;
}
if ((this.timer <= 0) && (this.hitpoints > 0)) {
this._y = this._y + 6;
}
if (((this._y > stoppingpoint) && (this.hitpoints > 0)) && (this.mi24speed > 0)) {
this.mi24speed = 0;
this.stopped = true;
this.gotoAndPlay(35);
}
if (((this._visible && (this.hitTest(_root.plane))) && (this.hitpoints > 0)) && (_root.plane.hitpoints == 100)) {
_root.plane.hitpoints = _root.plane.hitpoints - 100;
this.hitpoints = 0;
this.mi24speed = 0;
this.mi24side = 0;
this.gotoAndPlay(2);
}
if (this.hitpoints > 0) {
a = this._y - _root.plane._y;
b = this._x - _root.plane._x;
angleA = Math.atan2(a, b);
degrees = angleA / (Math.pi / 180);
setProperty(this, _rotation , degrees + 90);
this._y = this._y + mi24speed;
} else if ((hitpoints <= 0) && ((this.mi24speed > 0) || (this.stopped))) {
this.mi24speed = 0;
this.stopped = false;
_root.score = _root.score + (this.thitpoints * 5);
_root.counter = _root.counter + (this.thitpoints * 5);
this.gotoAndPlay(2);
}
if (this.crater) {
this._y = this._y + _root.craterspeed;
if (this._y > 650) {
this.removeMovieClip();
}
}
}
}
Instance of Symbol 130 MovieClip "mpower" in Frame 4
onClipEvent (load) {
taken = false;
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._name != "mpower") {
if ((this.hitTest(_root.plane) && (this._visible)) && (this.taken == false)) {
if (_root.plane.mpowerup < 4) {
_root.plane.mpowerup++;
} else {
this.taken = true;
_root.score = _root.score + 10000;
_root.bonus.duplicateMovieClip("bonus" + this._y, _root.layer++);
_root["bonus" + this._y]._x = this._x;
_root["bonus" + this._y]._y = this._y;
}
_root.pickup.start();
this.removeMovieClip();
}
if (this._visible && (this.taken == false)) {
this._y = this._y + 2;
}
if (this._y > 600) {
this.removeMovieClip();
}
}
}
Instance of Symbol 135 MovieClip "rpower" in Frame 4
onClipEvent (load) {
stoppedx = 0;
stoppedy = 0;
taken = false;
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._name != "rpower") {
if ((this.hitTest(_root.plane) && (this._visible)) && (this.taken == false)) {
if (_root.plane.powerup < 4) {
_root.plane.powerup++;
} else {
this.taken = true;
_root.score = _root.score + 10000;
_root.bonus.duplicateMovieClip("bonus" + this._y, _root.layer++);
_root["bonus" + this._y]._x = this._x;
_root["bonus" + this._y]._y = this._y;
}
_root.pickup.start();
this.removeMovieClip();
}
if (this._visible && (this.taken == false)) {
this._y = this._y + 2;
}
if (this._y > 600) {
this.removeMovieClip();
}
}
}
Instance of Symbol 136 MovieClip "mig29weapon" in Frame 4
onClipEvent (enterFrame) {
if (this._name != "mig29weapon") {
this._y = this._y + 15;
if ((this.hitTest(_root.plane.hitzone) && (_root.plane.hitpoints > 0)) && (_root.plane.invincibility == 0)) {
_root.plane.hitpoints = _root.plane.hitpoints - 100;
this.removeMovieClip();
}
if (this._y > 600) {
this.removeMovieClip();
}
}
}
Instance of Symbol 138 MovieClip "m4weaponb" in Frame 4
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._name != "m4weaponb") {
this._visible = true;
if ((this.hitTest(_root.plane.hitzone) && (_root.plane.hitpoints > 0)) && (_root.plane.invincibility == 0)) {
_root.plane.hitpoints = _root.plane.hitpoints - 100;
this.removeMovieClip();
}
if (this._y > 610) {
this.removeMovieClip();
}
}
}
Instance of Symbol 139 MovieClip "m4weapona" in Frame 4
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._name != "m4weapona") {
this._visible = true;
if ((this.hitTest(_root.plane.hitzone) && (_root.plane.hitpoints > 0)) && (_root.plane.invincibility == 0)) {
_root.plane.hitpoints = _root.plane.hitpoints - 100;
this.removeMovieClip();
}
if (this._y > 610) {
this.removeMovieClip();
}
}
}
Instance of Symbol 140 MovieClip "mi24weapon" in Frame 4
onClipEvent (load) {
this._visible = false;
a = this._y - _root.plane._y;
b = this._x - _root.plane._x;
speedfound = false;
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (this._name != "mi24weapon") {
this._visible = true;
if (speedfound == false) {
i = 0.02;
do {
this.yspeed = a * i;
this.xspeed = b * i;
i = i + 0.02;
} while ((Math.abs(this.yspeed) < 8) && (Math.abs(this.xspeed) < 8));
speedfound = true;
}
this._y = this._y - this.yspeed;
this._x = this._x - this.xspeed;
if (this._y < -10) {
this.removeMovieClip();
} else if (this._x < -10) {
this.removeMovieClip();
} else if (this._x > 510) {
this.removeMovieClip();
} else if (this._y > 610) {
this.removeMovieClip();
}
if ((this.hitTest(_root.plane.hitzone) && (_root.plane.hitpoints > 0)) && (_root.plane.invincibility == 0)) {
_root.plane.hitpoints = _root.plane.hitpoints - 100;
this.removeMovieClip();
}
}
}
Instance of Symbol 141 MovieClip "tu16weaponb" in Frame 4
onClipEvent (load) {
this._visible = false;
a = this._y - _root.plane._y;
b = this._x - _root.plane._x;
angleA = Math.atan2(a, b);
degrees = angleA / (Math.pi / 180);
setProperty(this, _rotation , degrees + 90);
speedfound = false;
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (this._name != "tu16weaponb") {
this._visible = true;
if (speedfound == false) {
i = 0.04;
do {
this.yspeed = a * i;
this.xspeed = b * i;
i = i + 0.04;
} while ((Math.abs(this.yspeed) < 10) && (Math.abs(this.xspeed) < 10));
speedfound = true;
}
this._y = this._y - this.yspeed;
this._x = this._x - this.xspeed;
if (this._y < -10) {
this.removeMovieClip();
} else if (this._x < -10) {
this.removeMovieClip();
} else if (this._x > 510) {
this.removeMovieClip();
} else if (this._y > 610) {
this.removeMovieClip();
}
if ((this.hitTest(_root.plane.hitzone) && (_root.plane.hitpoints > 0)) && (_root.plane.invincibility == 0)) {
_root.plane.hitpoints = _root.plane.hitpoints - 100;
this.removeMovieClip();
}
}
}
Instance of Symbol 142 MovieClip "tu16weaponc" in Frame 4
onClipEvent (load) {
this._visible = false;
a = this._y - _root.plane._y;
b = this._x - _root.plane._x;
angleA = Math.atan2(a, b);
degrees = angleA / (Math.pi / 180);
setProperty(this, _rotation , degrees + 90);
speedfound = false;
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (this._name != "tu16weaponc") {
this._visible = true;
if (speedfound == false) {
i = 0.04;
do {
this.yspeed = a * i;
this.xspeed = b * i;
i = i + 0.04;
} while ((Math.abs(this.yspeed) < 10) && (Math.abs(this.xspeed) < 10));
speedfound = true;
}
this._y = this._y - this.yspeed;
this._x = this._x - this.xspeed;
if (this._y < -10) {
this.removeMovieClip();
} else if (this._x < -10) {
this.removeMovieClip();
} else if (this._x > 510) {
this.removeMovieClip();
} else if (this._y > 610) {
this.removeMovieClip();
}
if ((this.hitTest(_root.plane.hitzone) && (_root.plane.hitpoints > 0)) && (_root.plane.invincibility == 0)) {
_root.plane.hitpoints = _root.plane.hitpoints - 100;
this.removeMovieClip();
}
}
}
Instance of Symbol 144 MovieClip "gameover" in Frame 4
onClipEvent (load) {
this._visible = false;
gameover = false;
}
onClipEvent (enterFrame) {
if (this._visible && (this.gameover == false)) {
this.gameover = true;
this.gotoAndPlay(2);
}
}
Instance of Symbol 160 MovieClip "llaim120" in Frame 4
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._name != "llaim120") {
this._visible = true;
i = 1;
while (i <= _root.numEnemies) {
_root.hit(this, i, 40);
i++;
}
}
}
Instance of Symbol 161 MovieClip "haim120bb" in Frame 4
onClipEvent (load) {
this._visible = false;
home = 0;
targetfound = false;
notarget = false;
speedfound = false;
starttimer = false;
homing = true;
timer = 15;
this._x = _root.plane._x - 5;
this._y = _root.plane._y + 30;
iterations = 0;
xspeed = 20;
yspeed = 30;
speedfound = false;
selfdestruct = false;
}
onClipEvent (enterFrame) {
if (this._name != "haim120bb") {
this._visible = true;
if ((targetfound == false) && (selfdestruct == false)) {
do {
home = random(_root.totalenemies);
if (((((_root.enemy[home]._y > 0) && (_root.enemy[home]._y < 550)) && (_root.enemy[home]._x > 0)) && (_root.enemy[home]._x < 550)) && (_root.enemy[home].hitpoints > 0)) {
targetfound = true;
target = _root.enemy[home];
starttimer = true;
}
iterations++;
if (iterations >= 10) {
notarget = true;
iterations = 0;
break;
}
} while (targetfound == false);
}
if (starttimer) {
timer--;
}
if ((timer <= 0) && ((Math.abs(xspeed) > 0) || (Math.abs(yspeed > 0)))) {
yspeed = 0;
xspeed = 0;
selfdestruct = true;
gotoAndPlay (5);
}
if (notarget) {
this._y = this._y - yspeed;
}
if ((target.hitpoints <= 0) && (targetfound)) {
targetfound = false;
} else if (targetfound && ((Math.abs(xspeed) > 0) || (yspeed > 0))) {
a = this._y - target._y;
b = this._x - target._x;
angleA = Math.atan2(a, b);
degrees = angleA / (Math.pi / 180);
setProperty(this, _rotation , degrees + 270);
i = 0.04;
do {
yspeed = a * i;
xspeed = b * i;
i = i + 0.04;
} while ((Math.abs(this.yspeed) < 25) && (Math.abs(this.xspeed) < 25));
this._y = this._y - yspeed;
this._x = this._x - xspeed;
i = 1;
while (i <= _root.numEnemies) {
_root.hit(this, i, 60);
i++;
}
}
if ((((this._y < 0) || (this._y > 600)) || (this._x < 0)) || (this._x > 500)) {
_root.plane.hmissilefired = false;
this.removeMovieClip();
}
}
}
Instance of Symbol 161 MovieClip "haim120aa" in Frame 4
onClipEvent (load) {
this._visible = false;
home = 0;
targetfound = false;
notarget = false;
speedfound = false;
starttimer = false;
homing = true;
timer = 15;
this._x = _root.plane._x + 5;
this._y = _root.plane._y + 30;
iterations = 0;
xspeed = 20;
yspeed = 30;
speedfound = false;
selfdestruct = false;
}
onClipEvent (enterFrame) {
if (this._name != "haim120aa") {
this._visible = true;
if ((targetfound == false) && (selfdestruct == false)) {
do {
home = random(_root.totalenemies);
if (((((_root.enemy[home]._y > 0) && (_root.enemy[home]._y < 550)) && (_root.enemy[home]._x > 0)) && (_root.enemy[home]._x < 550)) && (_root.enemy[home].hitpoints > 0)) {
targetfound = true;
target = _root.enemy[home];
starttimer = true;
}
iterations++;
if (iterations >= 10) {
notarget = true;
iterations = 0;
break;
}
} while (targetfound == false);
}
if (starttimer) {
timer--;
}
if ((timer <= 0) && ((Math.abs(xspeed) > 0) || (Math.abs(yspeed > 0)))) {
yspeed = 0;
xspeed = 0;
selfdestruct = true;
gotoAndPlay (5);
}
if (notarget) {
this._y = this._y - yspeed;
}
if ((target.hitpoints <= 0) && (targetfound)) {
targetfound = false;
} else if (targetfound && ((Math.abs(xspeed) > 0) || (yspeed > 0))) {
a = this._y - target._y;
b = this._x - target._x;
angleA = Math.atan2(a, b);
degrees = angleA / (Math.pi / 180);
setProperty(this, _rotation , degrees + 270);
i = 0.04;
do {
yspeed = a * i;
xspeed = b * i;
i = i + 0.04;
} while ((Math.abs(this.yspeed) < 25) && (Math.abs(this.xspeed) < 25));
this._y = this._y - yspeed;
this._x = this._x - xspeed;
i = 1;
while (i <= _root.numEnemies) {
_root.hit(this, i, 60);
i++;
}
}
if ((((this._y < 0) || (this._y > 600)) || (this._x < 0)) || (this._x > 500)) {
_root.plane.hmissilefired = false;
this.removeMovieClip();
}
}
}
Instance of Symbol 161 MovieClip "haim120b" in Frame 4
onClipEvent (load) {
this._visible = false;
home = 0;
targetfound = false;
notarget = false;
speedfound = false;
starttimer = false;
homing = true;
timer = 15;
this._x = _root.plane._x - 15;
this._y = _root.plane._y + 30;
iterations = 0;
xspeed = 20;
yspeed = 30;
speedfound = false;
selfdestruct = false;
}
onClipEvent (enterFrame) {
if (this._name != "haim120b") {
this._visible = true;
if ((targetfound == false) && (selfdestruct == false)) {
do {
home = random(_root.totalenemies);
if (((((_root.enemy[home]._y > 0) && (_root.enemy[home]._y < 550)) && (_root.enemy[home]._x > 0)) && (_root.enemy[home]._x < 550)) && (_root.enemy[home].hitpoints > 0)) {
targetfound = true;
target = _root.enemy[home];
starttimer = true;
}
iterations++;
if (iterations >= 10) {
notarget = true;
iterations = 0;
break;
}
} while (targetfound == false);
}
if (starttimer) {
timer--;
}
if ((timer <= 0) && ((Math.abs(xspeed) > 0) || (Math.abs(yspeed > 0)))) {
yspeed = 0;
xspeed = 0;
selfdestruct = true;
gotoAndPlay (5);
}
if (notarget) {
this._y = this._y - yspeed;
}
if ((target.hitpoints <= 0) && (targetfound)) {
targetfound = false;
} else if (targetfound && ((Math.abs(xspeed) > 0) || (yspeed > 0))) {
a = this._y - target._y;
b = this._x - target._x;
angleA = Math.atan2(a, b);
degrees = angleA / (Math.pi / 180);
setProperty(this, _rotation , degrees + 270);
i = 0.04;
do {
yspeed = a * i;
xspeed = b * i;
i = i + 0.04;
} while ((Math.abs(this.yspeed) < 25) && (Math.abs(this.xspeed) < 25));
this._y = this._y - yspeed;
this._x = this._x - xspeed;
i = 1;
while (i <= _root.numEnemies) {
_root.hit(this, i, 60);
i++;
}
}
if ((((this._y < 0) || (this._y > 600)) || (this._x < 0)) || (this._x > 500)) {
_root.plane.hmissilefired = false;
this.removeMovieClip();
}
}
}
Instance of Symbol 161 MovieClip "haim120a" in Frame 4
onClipEvent (load) {
this._visible = false;
home = 0;
targetfound = false;
notarget = false;
speedfound = false;
starttimer = false;
homing = true;
timer = 15;
this._x = _root.plane._x + 15;
this._y = _root.plane._y + 30;
iterations = 0;
xspeed = 20;
yspeed = 30;
speedfound = false;
selfdestruct = false;
}
onClipEvent (enterFrame) {
if (this._name != "haim120a") {
this._visible = true;
if ((targetfound == false) && (selfdestruct == false)) {
do {
home = random(_root.totalenemies);
if (((((_root.enemy[home]._y > 0) && (_root.enemy[home]._y < 550)) && (_root.enemy[home]._x > 0)) && (_root.enemy[home]._x < 550)) && (_root.enemy[home].hitpoints > 0)) {
targetfound = true;
target = _root.enemy[home];
starttimer = true;
}
iterations++;
if (iterations >= 10) {
notarget = true;
iterations = 0;
break;
}
} while (targetfound == false);
}
if (starttimer) {
timer--;
}
if ((timer <= 0) && ((Math.abs(xspeed) > 0) || (Math.abs(yspeed > 0)))) {
yspeed = 0;
xspeed = 0;
selfdestruct = true;
gotoAndPlay (5);
}
if (notarget) {
this._y = this._y - yspeed;
}
if ((target.hitpoints <= 0) && (targetfound)) {
targetfound = false;
} else if (targetfound && ((Math.abs(xspeed) > 0) || (yspeed > 0))) {
a = this._y - target._y;
b = this._x - target._x;
angleA = Math.atan2(a, b);
degrees = angleA / (Math.pi / 180);
setProperty(this, _rotation , degrees + 270);
i = 0.04;
do {
yspeed = a * i;
xspeed = b * i;
i = i + 0.04;
} while ((Math.abs(this.yspeed) < 25) && (Math.abs(this.xspeed) < 25));
this._y = this._y - yspeed;
this._x = this._x - xspeed;
i = 1;
while (i <= _root.numEnemies) {
_root.hit(this, i, 60);
i++;
}
}
if ((((this._y < 0) || (this._y > 600)) || (this._x < 0)) || (this._x > 500)) {
_root.plane.hmissilefired = false;
this.removeMovieClip();
}
}
}
Instance of Symbol 166 MovieClip "mweapon4" in Frame 4
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._name != "mweapon4") {
this._visible = true;
i = 1;
while (i <= _root.numEnemies) {
_root.hit(this, i, 30);
i++;
}
}
}
Instance of Symbol 171 MovieClip "mweapon3" in Frame 4
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._name != "mweapon3") {
this._visible = true;
i = 1;
while (i <= _root.numEnemies) {
_root.hit(this, i, 20);
i++;
}
}
}
Instance of Symbol 176 MovieClip "mweapon2" in Frame 4
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._name != "mweapon2") {
this._visible = true;
i = 1;
while (i <= _root.numEnemies) {
_root.hit(this, i, 15);
i++;
}
}
}
Instance of Symbol 177 MovieClip "rraim120" in Frame 4
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._name != "rraim120") {
this._visible = true;
i = 1;
while (i <= _root.numEnemies) {
_root.hit(this, i, 40);
i++;
}
}
}
Instance of Symbol 182 MovieClip "mweapon" in Frame 4
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._name != "mweapon") {
this._visible = true;
i = 1;
while (i < _root.numenemies) {
_root.hit(this, i, 10);
i++;
}
}
}
Instance of Symbol 183 MovieClip "laim120" in Frame 4
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._name != "laim120") {
this._visible = true;
i = 1;
while (i <= _root.numEnemies) {
_root.hit(this, i, 40);
i++;
}
}
}
Instance of Symbol 184 MovieClip "raim120" in Frame 4
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._name != "raim120") {
this._visible = true;
i = 1;
while (i <= _root.numEnemies) {
_root.hit(this, i, 40);
i++;
}
}
}
Frame 5
stop();
Instance of Symbol 215 MovieClip "scoretable" in Frame 5
onClipEvent (load) {
loadVariables ("http://www30.brinkster.com/bhpfreak/scoreq.asp", this);
}
Symbol 19 MovieClip Frame 1
stop();
Symbol 26 Button
on (release) {
_root.soundcontrol.je.stop();
_root.soundcontrol.je.removeSoundClip();
_root.gotoAndPlay(4);
}
Symbol 47 MovieClip Frame 84
stop();
this.removeMovieClip();
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 60
stop();
_root.gotoAndPlay(5);
Symbol 60 Button
on (release) {
if (_root.musicoff.enabled) {
_root.music.setVolume(0);
_root.bmusic.setVolume(0);
_root.musicon.enabled = true;
}
}
Symbol 64 Button
on (release) {
if (_root.musicon.enabled) {
_root.music.setVolume(40);
_root.bmusic.setVolume(40);
_root.musicoff.enabled = true;
}
}
Symbol 73 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 11
stop();
crater = true;
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 11
this.removeMovieClip();
Symbol 102 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 2
this.swapDepths(_root.groundlayer++);
Symbol 102 MovieClip Frame 16
_root.bexp.start();
Symbol 102 MovieClip Frame 31
this.crater = true;
stop();
Symbol 102 MovieClip Frame 32
tu16weaponcount++;
_root.tu16weapona._visible = false;
_root.tu16weaponb._visible = false;
_root.tu16weaponc._visible = false;
_root.tu16weapond._visible = false;
_root.tu16weaponb.duplicateMovieClip("tu16weaponb" + tu16weaponcount, _root.layer++);
_root["tu16weaponb" + tu16weaponcount]._x = this._x - 20;
_root["tu16weaponb" + tu16weaponcount]._y = this._y + 10;
_root.tu16weaponc.duplicateMovieClip("tu16weaponc" + tu16weaponcount, _root.layer++);
_root["tu16weaponc" + tu16weaponcount]._x = this._x + 10;
_root["tu16weaponc" + tu16weaponcount]._y = this._y + 10;
Symbol 102 MovieClip Frame 115
gotoAndPlay (32);
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
this.swapDepths(_root.dummy1);
Symbol 104 MovieClip Frame 21
_root.exp.start();
Symbol 104 MovieClip Frame 31
stop();
crater = true;
Symbol 104 MovieClip Frame 32
_root.exp.start();
Symbol 104 MovieClip Frame 41
stop();
crater = true;
Symbol 111 MovieClip Frame 1
if ((superweaponcounter <= 0) && (hitpoints > 0)) {
superweaponcounter = 4;
superweaponcounter = superweaponcounter + random(1);
_root.s32homingweapon.duplicateMovieClip("s32homingweapon1", _root.layer++);
_root.s32homingweapon1._x = this._x - 10;
_root.s32homingweapon1._y = this._y;
_root.s32homingweapon1.s = random(3) + 9;
_root.s32homingweapon.duplicateMovieClip("s32homingweapon2", _root.layer++);
_root.s32homingweapon2._x = this._x + 10;
_root.s32homingweapon2._y = this._y;
_root.s32homingweapon2.s = random(3) + 9;
}
stop();
Symbol 111 MovieClip Frame 7
this._xscale = 100;
this._yscale = 100;
_root.exp.start();
Symbol 111 MovieClip Frame 21
crater = true;
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 2
_root.mig29weapon.duplicateMovieClip("mig29weapon" + _root.mig29weaponcount, _root.layer++);
_root["mig29weapon" + _root.mig29weaponcount]._x = this._x;
_root["mig29weapon" + (_root.mig29weaponcount++)]._y = this._y;
Symbol 115 MovieClip Frame 3
this.swapDepths(_root.dummy1);
Symbol 115 MovieClip Frame 21
_root.exp.start();
Symbol 115 MovieClip Frame 31
stop();
crater = true;
Symbol 115 MovieClip Frame 32
_root.mig29weapon.duplicateMovieClip("mig29weapon" + _root.mig29weaponcount, _root.layer++);
_root["mig29weapon" + _root.mig29weaponcount]._x = this._x;
_root["mig29weapon" + (_root.mig29weaponcount++)]._y = this._y;
Symbol 115 MovieClip Frame 33
this.swapDepths(_root.dummy1);
Symbol 115 MovieClip Frame 51
_root.exp.start();
Symbol 115 MovieClip Frame 61
stop();
crater = true;
Symbol 115 MovieClip Frame 62
_root.exp.start();
Symbol 115 MovieClip Frame 71
stop();
crater = true;
Symbol 115 MovieClip Frame 86
_root.exp.start();
Symbol 115 MovieClip Frame 96
crater = true;
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
this.swapDepths(_root.dummy1);
Symbol 121 MovieClip Frame 16
_root.bexp.start();
Symbol 121 MovieClip Frame 31
this.crater = true;
stop();
Symbol 121 MovieClip Frame 32
_root.m4weapona.duplicateMovieClip("m4weapona" + m4weaponcount, _root.layer++);
_root["m4weapona" + m4weaponcount]._x = this._x + 10;
_root["m4weapona" + m4weaponcount]._y = this._y + 10;
m4weaponcount++;
_root.m4weaponb.duplicateMovieClip("m4weaponb" + m4weaponcount, _root.layer++);
_root["m4weaponb" + m4weaponcount]._x = this._x - 10;
_root["m4weaponb" + m4weaponcount]._y = this._y + 10;
m4weaponcount++;
Symbol 121 MovieClip Frame 33
_root.m4weapona.duplicateMovieClip("m4weapona" + m4weaponcount, _root.layer++);
_root["m4weapona" + m4weaponcount]._x = this._x + 30;
_root["m4weapona" + m4weaponcount]._y = this._y + 10;
m4weaponcount++;
_root.m4weaponb.duplicateMovieClip("m4weaponb" + m4weaponcount, _root.layer++);
_root["m4weaponb" + m4weaponcount]._x = this._x - 30;
_root["m4weaponb" + m4weaponcount]._y = this._y + 10;
m4weaponcount++;
Symbol 121 MovieClip Frame 56
_root.m4weapona.duplicateMovieClip("m4weapona" + m4weaponcount, _root.layer++);
_root["m4weapona" + m4weaponcount]._x = this._x + 30;
_root["m4weapona" + m4weaponcount]._y = this._y + 10;
m4weaponcount++;
_root.m4weaponb.duplicateMovieClip("m4weaponb" + m4weaponcount, _root.layer++);
_root["m4weaponb" + m4weaponcount]._x = this._x - 30;
_root["m4weaponb" + m4weaponcount]._y = this._y + 10;
m4weaponcount++;
Symbol 121 MovieClip Frame 85
gotoAndPlay (32);
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 2
this.swapDepths(_root.dummy1);
Symbol 126 MovieClip Frame 20
_root.exp.start();
Symbol 126 MovieClip Frame 34
this.crater = true;
stop();
Symbol 126 MovieClip Frame 35
_root.mi24weapon.duplicateMovieClip("mi24weapon" + _root.mi24weaponcount, _root.layer++);
_root["mi24weapon" + _root.mi24weaponcount]._x = this._x;
_root["mi24weapon" + _root.mi24weaponcount]._y = this._y;
setProperty(_root["mi24weapon" + _root.mi24weaponcount], _rotation , this.degrees + 90);
_root.mi24weaponcount++;
Symbol 126 MovieClip Frame 115
gotoAndPlay (35);
Symbol 138 MovieClip Frame 40
stop();
this.removeMovieClip();
Symbol 139 MovieClip Frame 40
stop();
this.removeMovieClip();
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 60
this.removeMovieClip();
_root.gotoAndPlay(5);
Symbol 160 MovieClip Frame 1
this._x = _root.plane._x;
this._y = _root.plane._y;
Symbol 160 MovieClip Frame 22
stop();
_root.plane.missilefired = false;
this.removeMovieClip();
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 11
stop();
this.removeMovieClip();
Symbol 165 MovieClip Frame 1
blah = random(15) % 2;
if (blah == 0) {
gotoAndPlay (2);
} else if (blah == 1) {
gotoAndPlay (3);
}
Symbol 166 MovieClip Frame 1
this._x = _root.plane._x;
this._y = _root.plane._y;
Symbol 166 MovieClip Frame 20
stop();
this.removeMovieClip();
Symbol 170 MovieClip Frame 1
blah = random(15) % 2;
if (blah == 0) {
gotoAndPlay (2);
} else if (blah == 1) {
gotoAndPlay (3);
}
Symbol 171 MovieClip Frame 1
this._x = _root.plane._x;
this._y = _root.plane._y;
Symbol 171 MovieClip Frame 20
stop();
this.removeMovieClip();
Symbol 175 MovieClip Frame 1
blah = random(15) % 2;
if (blah == 0) {
gotoAndPlay (2);
} else if (blah == 1) {
gotoAndPlay (3);
}
Symbol 176 MovieClip Frame 1
this._x = _root.plane._x;
this._y = _root.plane._y;
Symbol 176 MovieClip Frame 20
stop();
this.removeMovieClip();
Symbol 177 MovieClip Frame 1
this._x = _root.plane._x;
this._y = _root.plane._y;
Symbol 177 MovieClip Frame 22
stop();
_root.plane.mmissilefired = false;
this.removeMovieClip();
Symbol 181 MovieClip Frame 1
blah = random(15) % 2;
if (blah == 0) {
gotoAndPlay (2);
} else if (blah == 1) {
gotoAndPlay (3);
}
Symbol 182 MovieClip Frame 1
this._x = _root.plane._x;
this._y = _root.plane._y;
Symbol 182 MovieClip Frame 20
stop();
this.removeMovieClip();
Symbol 183 MovieClip Frame 1
this._x = _root.plane._x;
this._y = _root.plane._y;
Symbol 183 MovieClip Frame 22
stop();
_root.plane.missilefired = false;
this.removeMovieClip();
Symbol 184 MovieClip Frame 1
this._x = _root.plane._x;
this._y = _root.plane._y;
Symbol 184 MovieClip Frame 22
stop();
_root.plane.missilefired = false;
this.removeMovieClip();
Symbol 192 Button
on (release) {
i = 0;
while (i < _root.totalenemies) {
_root.enemy[i].removeMovieClip();
i++;
}
_root.music.stop();
_root.gotoAndPlay(4);
}