Frame 1
fscommand ("fullscreen", "true");
fscommand ("showmenu", "false");
fscommand ("trapallkeys", "true");
fscommand ("allowscale", "false");
Frame 146
stop();
Frame 147
_root.loop = 1;
_root.stopflag_l = 0;
_root.stopflag_r = 1;
_root.gunblood = 1;
_root.bloodplane = 1;
_root.bullet_no = 1;
_root.mission = 1;
_root.light = 1;
_root.life_move_flag = 0;
_root.ran = 50;
_root.disblood = 50;
_root.bigbomb = 4;
stop();
Instance of Symbol 13 MovieClip "life" in Frame 147
onClipEvent (load) {
life_xspeed = 1;
life_rotation = 5;
}
onClipEvent (enterFrame) {
if ((_root.life_move_flag == 0) || (this._x >= (this._width / 2))) {
this._rotation = this._rotation + life_rotation;
this._x = this._x + life_xspeed;
if ((this._x < (this._width / 2)) || (this._x >= (400 - (this._width / 2)))) {
life_xspeed = -life_xspeed;
life_rotation = -life_rotation;
}
}
if (_root.life_move_flag == 1) {
this._x = -200;
}
}
Instance of Symbol 39 MovieClip [pr] "planer" in Frame 147
onClipEvent (load) {
plane_r_xspeed = 2;
this._x = 500;
this._y = random(120) + 30;
}
onClipEvent (enterFrame) {
if (_root.stopflag_r == 0) {
this._x = this._x - plane_r_xspeed;
if (this._x < -100) {
_root.stopflag_l = 0;
_root.stopflag_r = 1;
this._x = 500;
}
} else if (_root.stopflag_r == 1) {
this._x = 500;
}
if ((((random(_root.ran) == 5) && (_root.stopflag_r == 0)) && (this._x >= 30)) && (this._x <= 370)) {
_root.attachMovie("bomb", "bomb" + _root.bullet_no, _root.bullet_no * 20);
_root["bomb" + _root.bullet_no]._x = this._x;
_root["bomb" + _root.bullet_no]._y = this._y;
_root["bomb" + _root.bullet_no]._xscale = 70;
_root["bomb" + _root.bullet_no]._yscale = 70;
_root.bullet_no++;
if (_root.bullet_no >= 10) {
_root.bullet_no = 1;
}
}
if (random(1500) == 12) {
planesound = new Sound();
planesound.attachSound("soundplane");
planesound.start();
}
}
Instance of Symbol 36 MovieClip [pl] "planel" in Frame 147
onClipEvent (load) {
plane_l_xspeed = 2;
this._x = -100;
this._y = random(120) + 30;
}
onClipEvent (enterFrame) {
if (_root.stopflag_l == 0) {
this._x = this._x + plane_l_xspeed;
if (this._x > 500) {
_root.stopflag_l = 1;
_root.stopflag_r = 0;
this._x = -100;
}
} else if (_root.stopflag_l == 1) {
this._x = -100;
}
if ((((random(_root.ran) == 5) && (_root.stopflag_l == 0)) && (this._x >= 30)) && (this._x <= 370)) {
_root.attachMovie("bomb", "bomb" + _root.bullet_no, _root.bullet_no * 20);
_root["bomb" + _root.bullet_no]._x = this._x;
_root["bomb" + _root.bullet_no]._y = this._y;
_root["bomb" + _root.bullet_no]._xscale = 70;
_root["bomb" + _root.bullet_no]._yscale = 70;
_root.bullet_no++;
if (_root.bullet_no >= 10) {
_root.bullet_no = 1;
}
}
if (random(1500) == 12) {
planesound = new Sound();
planesound.attachSound("soundplane");
planesound.start();
}
}
Instance of Symbol 67 MovieClip "gun" in Frame 147
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._rotation = this._rotation + 3;
if (this._rotation > 70) {
this._rotation = 70;
}
}
if (Key.isDown(37)) {
this._rotation = this._rotation - 3;
if (this._rotation < -70) {
this._rotation = -70;
}
}
}
onClipEvent (enterFrame) {
turn = (-_root.gun._rotation) + 90;
turnflag = (turn / 180) * Math.PI;
if ((Key.getcode() == 32) && (xxxx != 9999)) {
xxxx = 9999;
soundgun = new Sound();
soundgun.attachSound("gunsound");
soundgun.start();
_root.attachMovie("bullet", "bullet" + _root.loop, _root.loop);
_root["bullet" + _root.loop]._x = this._x + (50 * Math.cos(turnflag));
_root["bullet" + _root.loop]._y = this._y - (50 * Math.sin(turnflag));
_root.loop++;
if (_root.loop >= 10) {
_root.loop = 1;
}
}
}
onClipEvent (keyUp) {
xxxx = 1;
kkk = 1;
}
onClipEvent (load) {
xxxx = 9999;
kkk = 55555;
}
onClipEvent (enterFrame) {
if (Key.isDown(36)) {
_root.mission = 6;
}
if (_root.mission > 5) {
_root.vv.removeMovieClip();
_root.newmission.removeMovieClip();
_root.prstop.removeMovieClip();
_root.plstop.removeMovieClip();
_root.gotoAndPlay("endgame");
_root.mission = 5;
if ((_root.planer._x < 400) && (_root.planer._x > 10)) {
_root.attachMovie("pr", "prstop", 11111);
_root.prstop._x = _root.planer._x;
_root.prstop._y = _root.planer._y;
}
if ((_root.planel._x < 400) && (_root.planel._x > 10)) {
_root.attachMovie("pl", "plstop", 11111);
_root.plstop._x = _root.planel._x;
_root.plstop._y = _root.planel._y;
}
_root.stopflag_l = 1;
_root.stopflag_r = 1;
_root.attachMovie("v", "vv", 9999);
_root.vv._x = 200;
_root.vv._y = 150;
}
}
onClipEvent (enterFrame) {
_root.bombbig.gotoAndStop(_root.bigbomb);
if (((Key.getCode() == 90) && (_root.bigbomb > 1)) && (kkk != 55555)) {
kkk = 55555;
hhhh = new Sound();
hhhh.attachSound("bom");
hhhh.start();
ww = 1;
while (ww <= 10) {
_root["bomb" + ww].removeMovieClip();
ww++;
}
_root.attachMovie("bomblight", "newlight", 6666);
_root.newlight._x = 200;
_root.newlight._y = 150;
_root.newlight._xscale = 1000;
_root.newlight._yscale = 1000;
_root.bigbomb--;
_root.bloodplane = _root.bloodplane + 8;
if (_root.bloodplane > 50) {
_root.bloodplane = 51;
if ((_root.planer._x < 400) && (_root.planer._x > 10)) {
_root.attachMovie("pr", "prstop", 999);
_root.prstop._x = _root.planer._x;
_root.prstop._y = _root.planer._y;
}
if ((_root.planel._x < 400) && (_root.planel._x > 10)) {
_root.attachMovie("pl", "plstop", 999);
_root.plstop._x = _root.planel._x;
_root.plstop._y = _root.planel._y;
}
_root.attachMovie("nextmission", "newmission", 8888);
missioncomplete = new Sound();
missioncomplete.attachSound("complete");
missioncomplete.start();
_root.newmission._x = 180;
_root.newmission._y = 150;
_root.newmission._alpha = 60;
_root.stopflag_l = 1;
_root.stopflag_r = 1;
}
_root.planeblood.gotoAndStop(_root.bloodplane);
}
if (_root.bigbomb < 0) {
_root.bigbomb = 0;
kkk = 55555;
}
}
Frame 276
stop();
Symbol 7 MovieClip [bullet] Frame 1
turn = (-_root.gun._rotation) + 90;
turnflag = (turn / 180) * Math.PI;
bullet_speed = 10;
Symbol 7 MovieClip [bullet] Frame 2
play();
Symbol 7 MovieClip [bullet] Frame 3
this._x = this._x + (bullet_speed * Math.cos(turnflag));
this._y = this._y - (bullet_speed * Math.sin(turnflag));
if (((this._y < 0) || (this._x < 0)) || (this._x > 400)) {
this.removeMovieClip();
}
ff = 1;
while (ff <= 10) {
if (this.hitTest(_root["bomb" + ff])) {
bombsound2 = new Sound();
bombsound2.attachSound("bom");
bombsound2.start();
_root.attachMovie("bomblight", "bomblight" + _root.light, _root.light);
_root["bomblight" + _root.light]._x = _root["bomb" + ff]._x;
_root["bomblight" + _root.light]._y = _root["bomb" + ff]._y;
_root["bomblight" + _root.light].gotoAndPlay(1);
_root["bomb" + ff].removeMovieClip();
_root.light++;
if (_root.light > 10) {
_root.light = 1;
}
this.removeMovieClip();
}
ff++;
}
if (this.hitTest(_root.planel) || (this.hitTest(_root.planer))) {
_root.bloodplane++;
_root.disblood = 51 - _root.bloodplane;
if (_root.bloodplane > 50) {
_root.bloodplane = 51;
if ((_root.planer._x < 400) && (_root.planer._x > 10)) {
_root.attachMovie("pr", "prstop", 999);
_root.prstop._x = _root.planer._x;
_root.prstop._y = _root.planer._y;
}
if ((_root.planel._x < 400) && (_root.planel._x > 10)) {
_root.attachMovie("pl", "plstop", 999);
_root.plstop._x = _root.planel._x;
_root.plstop._y = _root.planel._y;
}
_root.attachMovie("nextmission", "newmission", 8888);
missioncomplete = new Sound();
missioncomplete.attachSound("complete");
missioncomplete.start();
_root.newmission._x = 180;
_root.newmission._y = 150;
_root.newmission._alpha = 60;
_root.stopflag_l = 1;
_root.stopflag_r = 1;
}
_root.planel.gotoAndPlay("hit");
_root.planer.gotoAndPlay("hit");
_root.planeblood.gotoAndStop(_root.bloodplane);
this.removeMovieClip();
}
prevFrame();
Symbol 9 MovieClip [bomb] Frame 1
if (_root.mission == 1) {
bomb_speed = 3;
}
if (_root.mission == 2) {
bomb_speed = 4;
}
if (_root.mission == 3) {
bomb_speed = 5;
}
if (_root.mission == 4) {
bomb_speed = 6;
}
if (_root.mission == 5) {
bomb_speed = 7;
}
Symbol 9 MovieClip [bomb] Frame 2
play();
Symbol 9 MovieClip [bomb] Frame 3
life_xpos = _root.life._x;
life_ypos = _root.life._y;
bomb_xpos = this._x;
bomb_ypos = this._y;
kk = (life_ypos - bomb_ypos) / (life_xpos - bomb_xpos);
angle = ((Math.atan(kk) / 3.1415926) * 180) - 90;
juli = Math.sqrt(Math.pow(life_xpos - bomb_xpos, 2) + Math.pow(life_ypos - bomb_ypos, 2));
tt = juli / bomb_speed;
bomb_xspeed = Math.abs(life_xpos - bomb_xpos) / tt;
bomb_yspeed = (Math.abs(life_ypos - bomb_ypos) / tt) + (bomb_ypos * 0.01);
if (life_xpos >= bomb_xpos) {
this._x = this._x + bomb_xspeed;
this._y = this._y + bomb_yspeed;
this._rotation = angle;
} else {
this._x = this._x - bomb_xspeed;
this._y = this._y + bomb_yspeed;
this._rotation = 180 + angle;
}
if (this.hitTest(_root.life)) {
_root.gunblood++;
if (_root.gunblood > 10) {
_root.gunblood = 11;
if ((_root.planer._x < 400) && (_root.planer._x > 10)) {
_root.attachMovie("pr", "prstop", 999);
_root.prstop._x = _root.planer._x;
_root.prstop._y = _root.planer._y;
}
if ((_root.planel._x < 400) && (_root.planel._x > 10)) {
_root.attachMovie("pl", "plstop", 999);
_root.plstop._x = _root.planel._x;
_root.plstop._y = _root.planel._y;
}
_root.attachMovie("gameover", "newgame", 8888);
_root.newgame._x = 200;
_root.newgame._y = 150;
_root.newgame._alpha = 60;
_root.attachMovie("lifedead", "lifedeadstop", 888);
_root.lifedeadstop._x = _root.life._x;
_root.lifedeadstop._y = _root.life._y;
_root.life_move_flag = 1;
deadsound = new Sound();
deadsound.attachSound("dead");
deadsound.start();
_root.stopflag_l = 1;
_root.stopflag_r = 1;
kk = 1;
while (kk <= 10) {
_root["bomb" + kk].removeMovieClip();
kk++;
}
}
_root.bloodgun.gotoAndStop(_root.gunblood);
}
if (this.hitTest(_root.life) || (this._y >= 290)) {
bombsound = new Sound();
bombsound.attachSound("bom");
bombsound.setVolume(30);
bombsound.start();
_root.attachMovie("bomblight", "bomblight" + _root.light, _root.light);
_root["bomblight" + _root.light]._x = this._x;
_root["bomblight" + _root.light]._y = this._y;
_root["bomblight" + _root.light].gotoAndPlay(1);
this.removeMovieClip();
}
prevFrame();
Symbol 11 MovieClip [bomblight] Frame 16
this.removeMovieClip();
Symbol 14 MovieClip [lifedead] Frame 65
this.removeMovieClip();
Symbol 19 Button
on (release) {
_root.loop = 1;
_root.stopflag_l = 0;
_root.stopflag_r = 1;
_root.gunblood = 1;
_root.bloodplane = 1;
_root.bullet_no = 1;
_root.mission = 1;
_root.bigbomb = 4;
_root.miss.gotoAndStop(_root.mission);
_root.light = 1;
_root.life_move_flag = 0;
_root.ran = 50;
_root.bloodgun.gotoAndStop(_root.gunblood);
_root.planeblood.gotoAndStop(_root.bloodplane);
_root.life._x = (_root.life._width / 2) + 5;
_root.prstop.removeMovieClip();
_root.plstop.removeMovieClip();
this.removeMovieClip();
}
Symbol 25 Button
on (press) {
_root.mission++;
_root.miss.gotoAndStop(_root.mission);
if (_root.mission > 5) {
_root.vv.removeMovieClip();
_root.newmission.removeMovieClip();
_root.prstop.removeMovieClip();
_root.plstop.removeMovieClip();
_root.gotoAndPlay("endgame");
_root.mission = 5;
if ((_root.planer._x < 400) && (_root.planer._x > 10)) {
_root.attachMovie("pr", "prstop", 11111);
_root.prstop._x = _root.planer._x;
_root.prstop._y = _root.planer._y;
}
if ((_root.planel._x < 400) && (_root.planel._x > 10)) {
_root.attachMovie("pl", "plstop", 11111);
_root.plstop._x = _root.planel._x;
_root.plstop._y = _root.planel._y;
}
_root.stopflag_l = 1;
_root.stopflag_r = 1;
}
if (_root.mission == 1) {
_root.ran = 50;
}
if (_root.mission == 2) {
_root.ran = 45;
}
if (_root.mission == 3) {
_root.ran = 40;
}
if (_root.mission == 4) {
_root.ran = 35;
}
if (_root.mission == 5) {
_root.ran = 30;
}
}
on (release) {
if (_root.mission <= 5) {
_root.stopflag_l = 0;
_root.stopflag_r = 1;
_root.gunblood = 1;
_root.bloodgun.gotoAndStop(_root.gunblood);
_root.bloodplane = 1;
_root.disblood = 50;
_root.planeblood.gotoAndStop(_root.bloodplane);
_root.life_move_flag = 0;
_root.life._x = (_root.life._width / 2) + 5;
_root.prstop.removeMovieClip();
_root.plstop.removeMovieClip();
this.removeMovieClip();
}
}
Symbol 36 MovieClip [pl] Frame 1
stop();
if (_root.mission == 1) {
plane_l_xspeed = 3;
}
if (_root.mission == 2) {
plane_l_xspeed = 5;
}
if (_root.mission == 3) {
plane_l_xspeed = 7;
}
if (_root.mission == 4) {
plane_l_xspeed = 9;
}
if (_root.mission == 5) {
plane_l_xspeed = 11;
}
Symbol 36 MovieClip [pl] Frame 6
gotoAndPlay (1);
Symbol 39 MovieClip [pr] Frame 1
stop();
if (_root.mission == 1) {
plane_r_xspeed = 3;
}
if (_root.mission == 2) {
plane_r_xspeed = 5;
}
if (_root.mission == 3) {
plane_r_xspeed = 7;
}
if (_root.mission == 4) {
plane_r_xspeed = 9;
}
if (_root.mission == 5) {
plane_r_xspeed = 11;
}
Symbol 39 MovieClip [pr] Frame 6
gotoAndPlay (1);
Symbol 48 Button
on (rollOver) {
_root.attachMovie("aboutmov", "me", 789);
_root.me._x = 200;
_root.me._y = 180;
}
on (rollOut) {
_root.me.removeMovieClip();
}
Symbol 53 Button
on (rollOver) {
_root.attachMovie("HOWTOPLAY", "HELP", 321456);
_root.HELP._x = 200;
_root.help._y = 180;
}
on (rollOut) {
_root.help.removeMovieClip();
}
Symbol 58 Button
on (release) {
gotoAndPlay (147);
}
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 2
stop();
Symbol 83 MovieClip Frame 3
stop();
Symbol 83 MovieClip Frame 4
stop();
Symbol 83 MovieClip Frame 5
stop();
Symbol 86 Button
on (release) {
fscommand ("quit", true);
}
Symbol 116 Button
on (release) {
gotoAndPlay (147);
}