Frame 1
my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
my_cm.builtInItems.quality = true;
_root.menu = my_cm;
stop();
onEnterFrame = function () {
var _local2 = 0;
if (_root.starti == 1) {
delete _root.onEnterFrame;
_root.gotoAndStop(2);
}
};
Instance of Symbol 174 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_currentframe == 3) {
_root.starti = 1;
}
}
Frame 2
stop();
onEnterFrame = function () {
var _local2 = 0;
if (_root.starta == 1) {
delete _root.onEnterFrame;
_root.gotoAndStop(4);
}
};
Instance of Symbol 190 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_currentframe == 75) {
_root.starta = 1;
}
}
Frame 3
stop();
Frame 4
stop();
_quality = "HIGH";
Frame 5
var starting = 0;
onEnterFrame = function () {
if (_root.starting == 1) {
_root.gotoAndStop(6);
}
};
Instance of Symbol 390 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_currentframe == 230) {
_root.starting = 1;
}
}
Frame 6
var scor = 10;
var nam = "Player";
stop();
_quality = "LOW";
var POU = 0;
var lvl1 = 0;
var fir = 0;
var fir2 = 0;
var pion = 3;
var boss1life = 1000;
var boss2life = 2000;
var boss3life = 2000;
var boss4life = 2000;
var boss5life = 2000;
var boss1 = 0;
var boss2 = 0;
var boss3 = 0;
var boss4 = 0;
var boss5 = 0;
var tran2 = 0;
var tran3 = 0;
var tran4 = 0;
var missammo = 20;
var bombammo = 10;
var life = 500;
onEnterFrame = function () {
if (_root.POU == 0) {
if (_root.life < 0) {
_root.gotoAndStop(12);
stopAllSounds();
}
if ((((_root._currentframe == 12) || (_root._currentframe == 11)) || (_root._currentframe == 13)) || (_root._currentframe == 4)) {
delete _root.onEnterFrame;
}
var _local4 = 0;
if (_root.stage1 == 1) {
_root.gotoAndStop(7);
delete _root.onEnterFrame;
}
updateFrameRate();
if ((_root.fir == 1) & (_root.missammo > 0)) {
var mfir = _root.attachMovie("mfir", "mfir" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
mfir.onEnterFrame = function () {
if (mfir._currentframe == 1) {
mfir._x = _root.heli._x;
mfir._y = _root.heli._y;
mfir._rotation = _root.heli._rotation;
mfir.play();
}
if (mfir._currentframe == 5) {
mfir.swapDepths(5);
mfir.removeMovieClip();
}
};
if ((_root.fir == 1) & (_root.missammo > 0)) {
var miss = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
miss.onEnterFrame = function () {
var _local2 = miss._currentframe;
if (miss._currentframe == 1) {
miss._x = _root.heli._x;
miss._y = _root.heli._y;
miss._rotation = _root.heli._rotation;
_root.missammo = _root.missammo - 1;
miss.play();
}
if ((miss._y > 385) && (miss._currentframe == 2)) {
miss.gotoAndPlay(3);
}
if ((miss._currentframe != 2) & (miss._currentframe != 1)) {
miss._rotation = 90;
}
if (miss._currentframe == 16) {
miss.swapDepths(5);
miss.removeMovieClip();
}
if ((miss._currentframe == 2) || (miss._currentframe == 1)) {
if (miss.hitTest(_root.ag)) {
miss.play();
}
if (miss.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
miss.play();
}
if (miss.hitTest(_root.bos2)) {
_root.boss2life = _root.boss2life - 12;
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 4;
if (_local2 < 3) {
miss.gotoAndPlay(17);
}
}
if (miss.hitTest(_root.ad)) {
miss.play();
}
if (miss.hitTest(_root.ak)) {
miss.play();
}
if (miss.hitTest(_root.ah)) {
miss.play();
}
if (miss.hitTest(_root.ag)) {
miss.play();
}
if (miss.hitTest(_root.af)) {
miss.play();
}
if (miss.hitTest(_root.al)) {
miss.play();
}
if (miss.hitTest(_root.p1)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.p2)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.p3)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.qw)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.qe)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.qr)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.ws)) {
miss.play();
}
}
if (miss._currentframe == 2) {
miss._y = miss._y + (28 * Math.sin(miss._rotation * (Math.PI/180)));
miss._x = miss._x + (28 * Math.cos(miss._rotation * (Math.PI/180)));
if ((miss._x > 700) || (_root._currentframe == 11)) {
miss.swapDepths(5);
miss.removeMovieClip();
}
}
};
if (_root.fir2 == 1) {
var sho = _root.attachMovie("sho", "sho" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
sho.onEnterFrame = function () {
if (sho._currentframe == 1) {
sho._x = _root.heli._x;
sho._y = _root.heli._y;
sho._rotation = _root.heli._rotation;
sho.play();
}
if ((sho._y > 372) && (sho._currentframe == 2)) {
sho.play();
}
if (sho._currentframe == 6) {
sho.swapDepths(5);
sho.removeMovieClip();
}
if (sho.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 2;
sho.play();
}
if (sho.hitTest(_root.bos2)) {
_root.boss2life = _root.boss2life - 2;
sho.play();
}
if (sho.hitTest(_root.ad)) {
sho.play();
}
if (sho.hitTest(_root.ak1)) {
sho.play();
}
if (sho.hitTest(_root.ah)) {
sho.play();
}
if (sho.hitTest(_root.ag)) {
sho.play();
}
if (sho.hitTest(_root.af1)) {
sho.play();
}
if (sho.hitTest(_root.al)) {
sho.play();
}
if (sho.hitTest(_root.p1)) {
sho.play();
}
if (sho.hitTest(_root.p2)) {
sho.play();
}
if (sho.hitTest(_root.p3)) {
sho.play();
}
if (sho.hitTest(_root.qw)) {
sho.play();
}
if (sho.hitTest(_root.qe)) {
sho.play();
}
if (sho.hitTest(_root.qr)) {
sho.play();
}
if (sho.hitTest(_root.ws)) {
sho.play();
}
if (sho._currentframe == 2) {
sho._y = sho._y + (25 * Math.sin(sho._rotation * (Math.PI/180)));
sho._x = sho._x + (25 * Math.cos(sho._rotation * (Math.PI/180)));
if ((sho._x > 650) || (_root._currentframe == 11)) {
sho.swapDepths(5);
sho.removeMovieClip();
}
}
};
if (_root.fir2 == 1) {
var shel = _root.attachMovie("shel", "shel" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
shel.onEnterFrame = function () {
if (shel._currentframe == 1) {
shel._x = _root.heli._x;
shel._y = _root.heli._y;
shel._rotation = random(360);
shel.play();
}
if (shel._currentframe == 2) {
shel._y = shel._y + (random(2) + 7);
shel._x = shel._x - (random(4) + 11);
shel._rotation = shel._rotation + random(4);
if ((shel._x < -50) || (_root._currentframe == 11)) {
shel.gotoAndStop(3);
}
if ((shel._y > 372) && (shel._currentframe == 2)) {
shel._y = 372;
shel._x = shel._x + 3;
}
if (shel._currentframe == 3) {
shel.swapDepths(5);
shel.removeMovieClip();
}
}
};
if ((_root.fir3 == 1) & (_root.bombammo > 0)) {
var mina = _root.attachMovie("mina", "mina" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
mina.onEnterFrame = function () {
if (mina._currentframe == 1) {
speed = 1;
mina._x = _root.heli._x - 5;
mina._y = _root.heli._y;
_root.bombammo = _root.bombammo - 1;
mina.play();
}
if ((mina._y > 355) && (mina._currentframe == 2)) {
mina.gotoAndPlay(3);
}
if (mina._currentframe == 16) {
mina.swapDepths(5);
mina.removeMovieClip();
}
if (mina.hitTest(_root.ag)) {
mina.play();
}
if (mina.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
mina.play();
}
if (mina.hitTest(_root.ad)) {
mina.play();
}
if (mina.hitTest(_root.ak)) {
mina.play();
}
if (mina.hitTest(_root.ah)) {
mina.play();
}
if (mina.hitTest(_root.ag)) {
mina.play();
}
if (mina.hitTest(_root.af)) {
mina.play();
}
if (mina.hitTest(_root.al)) {
mina.play();
}
if (mina.hitTest(_root.p1)) {
mina.play();
}
if (mina.hitTest(_root.p2)) {
mina.play();
}
if (mina.hitTest(_root.p3)) {
mina.play();
}
if (mina.hitTest(_root.qw)) {
mina.play();
}
if (mina.hitTest(_root.qe)) {
mina.play();
}
if (mina.hitTest(_root.qr)) {
mina.play();
}
if (mina.hitTest(_root.ws)) {
mina.play();
}
if (mina._currentframe == 2) {
speed = speed + 1;
mina._y = mina._y + speed;
if (mina._rotation < 90) {
mina._rotation = mina._rotation + 5;
} else {
mina._rotation = 90;
}
if ((mina._x > 700) || (_root._currentframe == 11)) {
mina.swapDepths(5);
mina.removeMovieClip();
}
}
};
if (((_root.fir == 1) & (_root.missammo > 0)) & (_root.tran3 == 1)) {
var mis2 = _root.attachMovie("mis2", "mis2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
mis2.onEnterFrame = function () {
var _local2 = mis2._currentframe;
if (mis2._currentframe == 1) {
mis2._x = _root.heli._x;
mis2._y = _root.heli._y;
mis2._rotation = _root.heli._rotation + 90;
_root.missammo = _root.missammo - 1;
mis2.play();
}
if ((mis2._y > 385) && (mis2._currentframe == 2)) {
mis2.gotoAndPlay(3);
}
if ((mis2._currentframe != 2) & (mis2._currentframe != 1)) {
mis2._rotation = 90;
}
if (mis2._currentframe == 16) {
mis2.swapDepths(5);
mis2.removeMovieClip();
}
if ((mis2._currentframe == 2) || (mis2._currentframe == 1)) {
if (mis2.hitTest(_root.ag)) {
mis2.play();
}
if (mis2.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
mis2.play();
}
if (mis2.hitTest(_root.bos2)) {
_root.boss2life = _root.boss2life - 4;
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.ad)) {
mis2.play();
}
if (mis2.hitTest(_root.ak)) {
mis2.play();
}
if (mis2.hitTest(_root.ah)) {
mis2.play();
}
if (mis2.hitTest(_root.ag)) {
mis2.play();
}
if (mis2.hitTest(_root.af)) {
mis2.play();
}
if (mis2.hitTest(_root.al)) {
mis2.play();
}
if (mis2.hitTest(_root.p1)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.p2)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.p3)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.qw)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.qe)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.qr)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.ws)) {
mis2.play();
}
}
if (mis2._currentframe == 2) {
if (mis2._rotation > -30) {
mis2._rotation = mis2._rotation - 6;
}
mis2._y = mis2._y + (15 * Math.sin(mis2._rotation * (Math.PI/180)));
mis2._x = mis2._x + (15 * Math.cos(mis2._rotation * (Math.PI/180)));
if ((mis2._x > 700) || (_root._currentframe == 11)) {
mis2.swapDepths(5);
mis2.removeMovieClip();
}
}
};
if (((_root.fir == 1) & (_root.missammo > 0)) & (_root.tran2 == 1)) {
var mis3 = _root.attachMovie("mis3", "mis3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
mis3.onEnterFrame = function () {
var _local2 = mis3._currentframe;
if (mis3._currentframe == 1) {
mis3._x = _root.heli._x;
mis3._y = _root.heli._y;
mis3._rotation = _root.heli._rotation - 90;
_root.missammo = _root.missammo - 1;
mis3.play();
}
if ((mis3._y > 385) & (mis3._currentframe == 2)) {
mis3.gotoAndPlay(3);
}
if ((mis3._currentframe != 2) & (mis3._currentframe != 1)) {
mis3._rotation = 90;
}
if (mis3._currentframe == 16) {
mis3.swapDepths(5);
mis3.removeMovieClip();
}
if ((mis3._currentframe == 2) || (mis3._currentframe == 1)) {
if (mis3.hitTest(_root.ag)) {
mis3.play();
}
if (mis3.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
mis3.play();
}
if (mis3.hitTest(_root.bos2)) {
_root.boss2life = _root.boss2life - 4;
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.ad)) {
mis3.play();
}
if (mis3.hitTest(_root.ak)) {
mis3.play();
}
if (mis3.hitTest(_root.ah)) {
mis3.play();
}
if (mis3.hitTest(_root.ag)) {
mis3.play();
}
if (mis3.hitTest(_root.af)) {
mis3.play();
}
if (mis3.hitTest(_root.al)) {
mis3.play();
}
if (mis3.hitTest(_root.p1)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.p2)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.p3)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.qw)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.qe)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.qr)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.ws)) {
mis3.play();
}
}
if (mis3._currentframe == 2) {
if (mis3._rotation < 30) {
mis3._rotation = mis3._rotation + 6;
}
mis3._y = mis3._y + (15 * Math.sin(mis3._rotation * (Math.PI/180)));
mis3._x = mis3._x + (15 * Math.cos(mis3._rotation * (Math.PI/180)));
if ((mis3._x > 700) || (_root._currentframe == 11)) {
mis3.swapDepths(5);
mis3.removeMovieClip();
}
}
};
if ((((_root.fir2 == 1) & (_root.tran2 == 1)) & (_root.tran3 == 1)) & (_root.tran4 == 1)) {
var sho2 = _root.attachMovie("sho2", "sho2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
sho2.onEnterFrame = function () {
if (sho2._currentframe == 1) {
sho2._x = _root.heli._x;
sho2._y = _root.heli._y;
sho2._rotation = _root.heli._rotation;
sho2.play();
}
if ((sho2._y > 372) && (sho2._currentframe == 2)) {
sho2.play();
}
if (sho2._currentframe == 6) {
sho2.swapDepths(5);
sho2.removeMovieClip();
}
if (sho2.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 2;
sho2.play();
}
if (sho2.hitTest(_root.ad)) {
sho2.play();
}
if (sho2.hitTest(_root.ak)) {
sho2.play();
}
if (sho2.hitTest(_root.ah)) {
sho2.play();
}
if (sho2.hitTest(_root.ag)) {
sho2.play();
}
if (sho2.hitTest(_root.af)) {
sho2.play();
}
if (sho2.hitTest(_root.al)) {
sho2.play();
}
if (sho2.hitTest(_root.p1)) {
sho2.play();
}
if (sho2.hitTest(_root.p2)) {
sho2.play();
}
if (sho2.hitTest(_root.p3)) {
sho2.play();
}
if (sho2.hitTest(_root.qw)) {
sho2.play();
}
if (sho2.hitTest(_root.qe)) {
sho2.play();
}
if (sho2.hitTest(_root.qr)) {
sho2.play();
}
if (sho2.hitTest(_root.ws)) {
sho2.play();
}
if (sho2._currentframe == 2) {
sho2._y = sho2._y + (25 * Math.sin(sho2._rotation * (Math.PI/180)));
sho2._x = sho2._x + (25 * Math.cos(sho2._rotation * (Math.PI/180)));
if ((sho2._x > 650) || (_root._currentframe == 11)) {
sho2.swapDepths(5);
sho2.removeMovieClip();
}
}
};
if ((_root.fir2 == 1) & (_root.tran3 == 1)) {
var sho3 = _root.attachMovie("sho3", "sho3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
sho3.onEnterFrame = function () {
var _local2 = new Sound(sho3);
_local2.setVolume(50);
if (sho3._currentframe == 1) {
sho3._x = _root.heli._x;
sho3._y = _root.heli._y;
sho3._rotation = _root.heli._rotation;
sho3.play();
}
if ((sho3._y > 372) && (sho3._currentframe == 2)) {
sho3.play();
}
if (sho3._currentframe == 6) {
sho3.swapDepths(5);
sho3.removeMovieClip();
}
if (sho3.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 2;
_local2.start();
sho3.play();
}
if (sho3.hitTest(_root.ad)) {
_local2.start();
sho3.play();
}
if (sho3.hitTest(_root.ak)) {
_local2.start();
sho3.play();
}
if (sho3.hitTest(_root.ah)) {
_local2.start();
sho3.play();
}
if (sho3.hitTest(_root.ag)) {
_local2.start();
sho3.play();
}
if (sho3.hitTest(_root.af)) {
_local2.start();
sho3.play();
}
if (sho3.hitTest(_root.al)) {
_local2.start();
sho3.play();
}
if (sho3.hitTest(_root.p1)) {
_local2.start();
sho3.play();
}
if (sho3.hitTest(_root.p2)) {
_local2.start();
sho3.play();
}
if (sho3.hitTest(_root.p3)) {
_local2.start();
sho3.play();
}
if (sho3.hitTest(_root.qw)) {
_local2.start();
sho3.play();
}
if (sho3.hitTest(_root.qe)) {
_local2.start();
sho3.play();
}
if (sho3.hitTest(_root.qr)) {
_local2.start();
sho3.play();
}
if (sho3.hitTest(_root.ws)) {
_local2.start();
sho3.play();
}
if (sho3._currentframe == 2) {
sho3._y = sho3._y + (25 * Math.sin(sho3._rotation * (Math.PI/180)));
sho3._x = sho3._x + (25 * Math.cos(sho3._rotation * (Math.PI/180)));
if ((sho3._x > 650) || (_root._currentframe == 11)) {
sho3.swapDepths(5);
sho3.removeMovieClip();
}
}
};
if (random(1000) > 997) {
var drop1 = _root.attachMovie("drop1", "drop1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
drop1.onEnterFrame = function () {
if (drop1._currentframe == 1) {
drop1._x = random(200) + 350;
drop1._y = -70;
drop1.play();
}
if (drop1._currentframe == 2) {
drop1._y = drop1._y + 3;
drop1._x = drop1._x - 3;
if (drop1.hitTest(_root.heli)) {
drop1.gotoAndStop(6);
_root.life = 100;
}
if (drop1._y > 375) {
drop1.play();
}
}
if (drop1._currentframe == 6) {
drop1.swapDepths(5);
drop1.removeMovieClip();
}
};
if (random(1000) > 995) {
var drop2 = _root.attachMovie("drop2", "drop2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
drop2.onEnterFrame = function () {
if (drop2._currentframe == 1) {
drop2._x = random(200) + 350;
drop2._y = -70;
drop2.play();
}
if (drop2._currentframe == 2) {
drop2._y = drop2._y + 3;
drop2._x = drop2._x - 3;
if (drop2.hitTest(_root.heli)) {
drop2.gotoAndStop(6);
_root.bombammo = _root.bombammo + 5;
}
if (drop2._y > 375) {
drop2.play();
}
}
if (drop2._currentframe == 6) {
drop2.swapDepths(5);
drop2.removeMovieClip();
}
};
if (random(1000) > 995) {
var drop3 = _root.attachMovie("drop3", "drop3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
drop3.onEnterFrame = function () {
if (drop3._currentframe == 1) {
drop3._x = random(200) + 350;
drop3._y = -70;
drop3.play();
}
if (drop3._currentframe == 2) {
drop3._y = drop3._y + 3;
drop3._x = drop3._x - 3;
if (drop3.hitTest(_root.heli)) {
drop3.gotoAndStop(6);
_root.missammo = _root.missammo + 20;
}
if (drop3._y > 375) {
drop3.play();
}
}
if (drop3._currentframe == 6) {
drop3.swapDepths(5);
drop3.removeMovieClip();
}
};
if ((_root.ak._x > 0) & (random(1000) > 990)) {
var enfir = _root.attachMovie("enfir", "enfir" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
enfir.onEnterFrame = function () {
if (enfir._currentframe == 1) {
enfir._x = _root.ak._x - 70;
enfir._y = _root.ak._y - 50;
enfir._rotation = -60;
enfir.play();
}
if (enfir._currentframe == 16) {
enfir.swapDepths(5);
enfir.removeMovieClip();
}
if (enfir.hitTest(_root.heli)) {
enfir.play();
_root.life = _root.life - 1;
}
if (enfir._currentframe == 2) {
enfir._rotation = enfir._rotation + 0.2;
enfir._y = enfir._y + (8 * Math.sin(enfir._rotation * (Math.PI/180)));
enfir._x = enfir._x + (8 * Math.cos(enfir._rotation * (Math.PI/180)));
if ((enfir._x > 700) || (_root._currentframe == 11)) {
enfir.swapDepths(5);
enfir.removeMovieClip();
}
}
};
if ((_root.p2._x < 600) & (random(1000) > 990)) {
var minka1 = _root.attachMovie("minka1", "minka1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
minka1.onEnterFrame = function () {
if (minka1._currentframe == 1) {
minka1._x = _root.p2._x;
minka1._y = _root.p2._y;
minka1.play();
}
if ((minka1._y > 355) && (minka1._currentframe == 2)) {
minka1.gotoAndPlay(3);
}
if (minka1._currentframe == 16) {
minka1.swapDepths(5);
minka1.removeMovieClip();
}
if (minka1.hitTest(_root.heli)) {
minka1.play();
_root.life = _root.life - 1;
}
if (minka1._currentframe == 2) {
minka1._x = minka1._x - 3;
minka1._y = minka1._y + 1;
if ((minka1._x < -50) || (_root._currentframe == 11)) {
minka1.swapDepths(5);
minka1.removeMovieClip();
}
}
};
if ((_root.qe._x > 0) & (random(1000) > 100)) {
var minka2 = _root.attachMovie("minka2", "minka2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
minka2.onEnterFrame = function () {
if (minka2._currentframe == 1) {
minka2._x = _root.qe._x;
minka2._y = _root.qe._y;
minka2.play();
}
if ((minka2._y > 355) && (minka2._currentframe == 2)) {
minka2.gotoAndPlay(3);
}
if (minka2._currentframe == 16) {
minka2.swapDepths(5);
minka2.removeMovieClip();
}
if (minka2.hitTest(_root.heli)) {
minka2.play();
_root.life = _root.life - 1;
}
if (minka2._currentframe == 2) {
minka2._x = minka2._x - 3;
minka2._y = minka2._y + 1;
if ((minka2._x < -50) || (_root._currentframe == 11)) {
minka2.swapDepths(5);
minka2.removeMovieClip();
}
}
};
if ((_root.boss1 == 1) & (random(1000) > 980)) {
var lsr = _root.attachMovie("lsr", "lsr" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
lsr.onEnterFrame = function () {
if (lsr._currentframe == 1) {
lsr._x = _root.boss1reka._x;
lsr._y = _root.boss1reka._y;
lsr._rotation = _root.boss1reka._rotation;
lsr.play();
}
if (lsr._currentframe == 2) {
lsr._y = lsr._y + (4 * Math.sin(lsr._rotation * (Math.PI/180)));
lsr._x = lsr._x + (4 * Math.cos(lsr._rotation * (Math.PI/180)));
if (lsr.hitTest(_root.heli)) {
lsr.play();
_root.life = _root.life - 1;
}
}
if (((lsr._x > 750) || (lsr._x < -150)) || (_root._currentframe == 11)) {
lsr.swapDepths(5);
lsr.removeMovieClip();
}
if (lsr._currentframe == 17) {
lsr.swapDepths(5);
lsr.removeMovieClip();
}
};
if ((_root.boss2 == 1) & (random(1000) > 970)) {
var lsr2 = _root.attachMovie("lsr2", "lsr2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
lsr2.onEnterFrame = function () {
if (lsr2._currentframe == 1) {
lsr2._x = _root.robo2reka._x;
lsr2._y = _root.robo2reka._y;
lsr2._rotation = _root.robo2reka._rotation;
lsr2.play();
}
if (lsr2._currentframe == 2) {
lsr2._y = lsr2._y + (4 * Math.sin(lsr2._rotation * (Math.PI/180)));
lsr2._x = lsr2._x + (4 * Math.cos(lsr2._rotation * (Math.PI/180)));
if (lsr2.hitTest(_root.heli)) {
lsr2.play();
_root.life = _root.life - 1;
}
}
if (((lsr2._x > 750) || (lsr2._x < -150)) || (_root._currentframe == 11)) {
lsr2.swapDepths(5);
lsr2.removeMovieClip();
}
if (lsr2._currentframe == 17) {
lsr2.swapDepths(5);
lsr2.removeMovieClip();
}
};
if ((((_root.af._x < 600) && (random(1000) > 990)) && (_root.af._currentframe != 12)) && (_root.af._currentframe != 13)) {
var enfir2 = _root.attachMovie("enfir2", "enfir2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
enfir2.onEnterFrame = function () {
if (enfir2._currentframe == 1) {
enfir2._x = _root.af._x;
enfir2._y = _root.af._y - 35;
enfir2._rotation = -60;
enfir2.play();
}
if (enfir2._currentframe == 16) {
enfir2.swapDepths(5);
enfir2.removeMovieClip();
}
if (enfir2.hitTest(_root.heli)) {
enfir2.play();
_root.life = _root.life - 1;
}
if (enfir2._currentframe == 2) {
enfir2._rotation = enfir2._rotation + 0.2;
enfir2._y = enfir2._y + (8 * Math.sin(enfir2._rotation * (Math.PI/180)));
enfir2._x = enfir2._x + (8 * Math.cos(enfir2._rotation * (Math.PI/180)));
if ((enfir2._x > 700) || (_root._currentframe == 11)) {
enfir2.swapDepths(5);
enfir2.removeMovieClip();
}
}
};
}
};
Instance of Symbol 407 MovieClip in Frame 6
onClipEvent (enterFrame) {
_root.pion = 3;
if (Key.isDown(90) & (_root.missammo > 0)) {
if (_currentframe == 1) {
_root.fir = 1;
_root.pion = 3;
play();
}
} else {
_root.fir = 0;
_root.pion = 3;
}
if (_currentframe != 1) {
_root.fir = 0;
_root.pion = 3;
}
}
Instance of Symbol 409 MovieClip in Frame 6
onClipEvent (enterFrame) {
_root.pion = 3;
if (Key.isDown(88)) {
if (_currentframe == 1) {
_root.fir2 = 1;
_root.pion = 3;
play();
}
} else {
_root.fir2 = 0;
_root.pion = 3;
}
if (_currentframe != 1) {
_root.fir2 = 0;
_root.pion = 3;
}
}
Instance of Symbol 458 MovieClip "qr" in Frame 6
onClipEvent (enterFrame) {
if (((_currentframe == 1) & (random(1000) > 995)) & (_root.scor > 150)) {
_x = 700;
_y = random(150);
dx = Math.atan2(_root.heli._y - _y, _root.heli._x - _x) / (Math.PI/180);
xSpeed = 10 * Math.cos(dx * (Math.PI/180));
ySpeed = 10 * Math.sin(dx * (Math.PI/180));
play();
}
if ((_currentframe != 1) & (_currentframe != 20)) {
_y = (_y + ySpeed);
_x = (_x + xSpeed);
if (_x < -100) {
gotoAndStop (1);
}
if (_y >= 310) {
_y = 310;
_x = (_x - 10);
}
}
if (_currentframe == 20) {
_x = (_x - 1);
_y = (_y + 4);
if (_y > 360) {
play();
}
}
if ((_root.scor > 520) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
if (_currentframe == 27) {
_x = 714;
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 520) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
Instance of Symbol 458 MovieClip "qe" in Frame 6
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (((_currentframe == 1) & (random(1000) > 990)) & (_root.scor > 100)) {
play();
}
if ((_currentframe != 1) & (_currentframe != 20)) {
if (_y >= 170) {
_rotation = 210;
_x = (_x + 5);
_y = (_y - 1);
}
if ((_x > -200) & (_y < 170)) {
_rotation = 155;
_x = (_x - 4);
_y = (_y - 2);
}
if ((_x <= -150) & (_y < 170)) {
_x = -150;
_y = 330;
gotoAndStop (1);
}
}
if (_currentframe == 20) {
_x = (_x - 1);
_y = (_y + 4);
if (_y > 360) {
play();
}
}
if (_currentframe == 27) {
_x = -200;
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 530) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 460 MovieClip in Frame 6
onClipEvent (enterFrame) {
_root.pion = 3;
if (Key.isDown(67) & (_root.bombammo > 0)) {
if (_currentframe == 1) {
_root.fir3 = 1;
_root.pion = 3;
play();
}
} else {
_root.fir3 = 0;
_root.pion = 3;
}
if (_currentframe != 1) {
_root.fir3 = 0;
_root.pion = 3;
}
}
Instance of Symbol 479 MovieClip "bos2" in Frame 6
onClipEvent (load) {
xscale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_root.boss2 == 1) {
if (_x > 450) {
_x = (_x - 3);
}
if (_y > 210) {
_y = 210;
}
if ((_root.boss2life < 10) & (_currentframe != 17)) {
play();
}
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
loc = Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180);
_y = (_y + (5 * Math.sin(loc * (Math.PI/180))));
if (_x < _root.heli._x) {
_xscale = (-xscale);
} else {
_xscale = xscale;
}
}
if (_currentframe == 9) {
_x = 800;
if (_root.scor > 520) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
}
Instance of Symbol 482 MovieClip "robo2reka" in Frame 6
onClipEvent (load) {
xscale = _xscale;
yscale = _yscale;
}
onClipEvent (enterFrame) {
if (_root.boss2life > 10) {
_x = _root.bos2._x;
_y = _root.bos2._y;
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
_rotation = (Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180));
if (_x < _root.heli._x) {
_yscale = (-yscale);
} else {
_yscale = yscale;
}
}
if (_root.boss2life < 10) {
_rotation = 0;
_y = (_y + 5);
if (_y > 380) {
_y = 380;
_x = (_x - 3);
}
if (_x < -150) {
if (_root.scor > 520) {
this.swapDepths(5);
this.removeMovieClip();
}
_x = _root.bos2._x;
_y = _root.bos2._y;
_root.bos2.gotoAndStop(1);
_root.boss2life = 3000;
}
}
}
Instance of Symbol 506 MovieClip "ag" in Frame 6
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if ((random(10000) > 9860) & (_root.scor > 100)) {
play();
}
}
if (_currentframe != 1) {
_x = (_x - 2);
_x - 2;
}
if (_x < -100) {
_x = (random(850) + 650);
gotoAndStop (1);
}
if (_currentframe == 12) {
_x = (random(850) + 650);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 510) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 530 MovieClip "ad" in Frame 6
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (random(100) > 50) {
play();
}
}
if (_currentframe != 1) {
_x = (_x - 1);
_x - 1;
}
if (_x < -100) {
_x = (random(850) + 650);
gotoAndStop (1);
}
if (_currentframe == 20) {
_x = (random(850) + 650);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 500) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 566 MovieClip "p3" in Frame 6
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (((_currentframe == 1) & (random(1000) > 998)) & (_root.scor > 250)) {
fx = Math.atan2(_root.heli._y - _y, _root.heli._x - _x) / (Math.PI/180);
_rotation = fx;
xSpeed = 11 * Math.cos(fx * (Math.PI/180));
ySpeed = 11 * Math.sin(fx * (Math.PI/180));
play();
}
if (_currentframe != 1) {
_y = (_y + ySpeed);
_x = (_x + xSpeed);
if (_y >= 310) {
_rotation = 0;
_y = 310;
_x = (_x + 11);
}
}
if (_x > 600) {
_x = ((random(400) * -1) - 100);
_y = 100;
gotoAndStop (1);
}
if (_currentframe == 11) {
_x = (_x + 3);
_y = (_y + 7);
if (_y > 370) {
_y = 370;
play();
}
}
if (_currentframe == 18) {
_x = 714;
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 520) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 568 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_currentframe != 1551) {
_root.boss1 = 0;
} else {
_root.boss1 = 1;
}
if ((_root.boss1life < 10) && (_currentframe == 1551)) {
gotoAndPlay (1);
}
}
Instance of Symbol 570 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_currentframe != 3200) {
_root.boss2 = 0;
} else {
_root.boss2 = 1;
}
if ((_root.boss2life < 10) && (_currentframe == 3200)) {
gotoAndPlay (1);
}
}
Instance of Symbol 572 MovieClip "p31" in Frame 6
onClipEvent (enterFrame) {
_x = _root.p3._x;
_y = _root.p3._y;
_rotation = _root.p3._rotation;
_visible = false;
}
Instance of Symbol 574 MovieClip "ad1" in Frame 6
onClipEvent (enterFrame) {
_x = _root.ad._x;
_visible = false;
}
Instance of Symbol 585 MovieClip "ak" in Frame 6
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
play();
}
if (_currentframe != 1) {
_x = (_x + 2);
_x + 2;
}
if (_x > 680) {
_x = (-1 * random(600));
gotoAndStop (1);
}
if (_currentframe == 11) {
_x = ((-1 * random(800)) - 100);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 500) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 614 MovieClip "ao" in Frame 6
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (_root.scor > 110) {
if (random(1000) > 750) {
play();
}
}
}
if (_currentframe != 1) {
_x = (_x + 2);
_x + 2;
}
if (_x < -100) {
_x = (random(550) + 650);
gotoAndStop (1);
}
if (_currentframe == 13) {
_x = ((-1 * random(800)) - 100);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 520) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 574 MovieClip "ak1" in Frame 6
onClipEvent (enterFrame) {
_x = _root.ak._x;
_visible = false;
}
Instance of Symbol 614 MovieClip "af" in Frame 6
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (_root.scor > 180) {
if (random(1000) > 750) {
play();
}
}
}
if (_currentframe != 1) {
_x = (_x - 2);
_x - 2;
}
if (_x < -100) {
_x = (random(550) + 650);
gotoAndStop (1);
}
if (_currentframe == 13) {
_x = (random(850) + 650);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 520) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 621 MovieClip "bos1" in Frame 6
onClipEvent (load) {
xscale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_root.boss1 == 1) {
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
loc = Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180);
_x = (_x + (5 * Math.cos(loc * (Math.PI/180))));
if (_x < _root.heli._x) {
_xscale = (-xscale);
} else {
_xscale = xscale;
}
}
if (_currentframe == 33) {
_x = 1000;
if (_root.scor > 520) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
}
Instance of Symbol 624 MovieClip "boss1reka" in Frame 6
onClipEvent (load) {
xscale = _xscale;
yscale = _yscale;
}
onClipEvent (enterFrame) {
if (_root.boss1life > 10) {
_x = _root.bos1._x;
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
_rotation = (Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180));
if (_x < _root.heli._x) {
_yscale = (-yscale);
} else {
_yscale = yscale;
}
}
if (_root.boss1life < 10) {
_rotation = 0;
_y = (_y + 5);
if (_y > 380) {
_y = 380;
_x = (_x - 3);
}
if (_x < -150) {
_root.boss1life = 1000;
if (_root.scor > 520) {
this.swapDepths(5);
this.removeMovieClip();
}
_x = _root.bos1._x;
_y = 303;
_root.bos1.gotoAndPlay(1);
}
}
}
Instance of Symbol 639 MovieClip "ws" in Frame 6
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if ((random(1000) > 998) & (_root.scor > 100)) {
play();
}
}
if (_currentframe != 1) {
_x = (_x - 10);
}
if (_x < -100) {
_x = (random(1650) + 650);
gotoAndStop (1);
}
if (_currentframe == 20) {
_x = (random(850) + 650);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 500) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 666 MovieClip "p2" in Frame 6
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
_y = random(150);
if ((random(1000) > 989) & (_root.scor > 120)) {
play();
}
}
if (_currentframe != 1) {
_x = (_x - 8);
}
if (_x < -100) {
_x = 803;
gotoAndStop (1);
}
if (_currentframe == 17) {
_x = (_x - 3);
_y = (_y + 7);
if (_y > 370) {
_y = 370;
play();
}
}
if (_currentframe == 24) {
_x = 803;
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 520) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 682 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_x = _root.bos2._x;
_y = _root.bos2._y;
if ((_root.tran2 == 0) & (_root.boss2life < 10)) {
gotoAndStop (2);
}
}
if (_currentframe == 2) {
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
var loco = (Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180));
_y = (_y + (4 * Math.sin(loco * (Math.PI/180))));
_x = (_x + (2 * Math.cos(loco * (Math.PI/180))));
if (hitTest(_root.heli)) {
gotoAndPlay (3);
_root.tran2 = 1;
}
}
if (_currentframe == 14) {
this.swapDepths(5);
this.removeMovieClip();
}
}
Instance of Symbol 739 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (((_root.tran2 == 1) & (_currentframe == 1)) & (_root.scor > 500)) {
gotoAndPlay (2);
}
if (_currentframe == 200) {
_root.stage1 = 1;
}
}
Instance of Symbol 745 MovieClip "pause" in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(80)) {
_root.POU = 1;
}
if (_root.POU == 1) {
gotoAndStop (2);
_visible = true;
}
if (_root.POU == 0) {
gotoAndStop (1);
_visible = false;
}
}
Instance of Symbol 789 MovieClip "heli" in Frame 6
onClipEvent (load) {
x = 0.1;
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 7) || (_root._currentframe == 9)) {
_y = 250;
}
if (_root.POU == 0) {
yspeed = yspeed + 0.1;
if ((_root.tran2 == 1) & (_currentframe != 58)) {
play();
}
if ((_root.tran3 == 1) & (_currentframe != 118)) {
play();
}
if ((_root.tran4 == 1) & (_currentframe != 179)) {
play();
}
if (_y > 375) {
_y = (_y - 10);
}
if (Key.isDown(39)) {
if (_rotation < 45) {
_rotation = (_rotation + (5 + random(2)));
}
if (x < 0) {
x = x + 0.6;
xspeed = x;
} else {
x = x + 0.3;
xspeed = x;
}
} else {
if (x > 0) {
x = x - 0.4;
}
if (_rotation > 0) {
_rotation = (_rotation - (5 + random(2)));
}
}
if (Key.isDown(37)) {
if (_rotation > -10) {
_rotation = (_rotation - (5 + random(2)));
}
if (x > 0) {
x = x - 0.6;
xspeed = x;
} else {
x = x - 0.3;
xspeed = x;
}
} else {
if (x < 0) {
x = x + 0.4;
}
if (_rotation < 0) {
_rotation = (_rotation + (5 + random(2)));
}
}
_x = (_x + xspeed);
if (Key.isDown(40)) {
yspeed = 3.5;
} else if (Key.isDown(38)) {
yspeed = -3.5;
}
if (yspeed > 0) {
yspeed = yspeed - 0.05;
} else if (yspeed < 0) {
yspeed = yspeed + 0.1;
}
_y = (_y + yspeed);
if (_y < 0) {
_y = 0;
}
if (_x > 600) {
xspeed = -1;
_x = 550;
}
if (_x < 0) {
xspeed = 1;
_x = 0;
}
if (_y > 400) {
_root.life = _root.life - 30;
}
}
}
Instance of Symbol 792 MovieClip in Frame 6
onClipEvent (enterFrame) {
_x = _root.heli._x;
_y = _root.heli._y;
_rotation = _root.heli._rotation;
if (_root.fir2 == 1) {
play();
}
}
Instance of Symbol 822 MovieClip in Frame 6
onClipEvent (enterFrame) {
this.getNextHighestDepth();
}
Instance of Symbol 572 MovieClip "qe1" in Frame 6
onClipEvent (enterFrame) {
_x = _root.qe._x;
_y = _root.qe._y;
_rotation = _root.qe._rotation;
_visible = false;
}
Instance of Symbol 572 MovieClip "qr1" in Frame 6
onClipEvent (enterFrame) {
_x = _root.qr._x;
_y = _root.qr._y;
_rotation = _root.qr._rotation;
_visible = false;
}
Instance of Symbol 572 MovieClip "p21" in Frame 6
onClipEvent (enterFrame) {
_x = _root.p2._x;
_y = _root.p2._y;
_rotation = _root.p2._rotation;
_visible = false;
}
Frame 7
var starting2 = 0;
_root.life = 500;
onEnterFrame = function () {
if (_root.starting2 == 1) {
delete _root.onEnterFrame;
_root.gotoAndStop(8);
}
};
stop();
Instance of Symbol 936 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_currentframe == 210) {
_root.starting2 = 1;
}
}
Frame 8
onEnterFrame = function () {
if (_root.POU == 0) {
if (_root.life < 0) {
_root.gotoAndStop(12);
stopAllSounds();
}
if ((((_root._currentframe == 12) || (_root._currentframe == 11)) || (_root._currentframe == 13)) || (_root._currentframe == 4)) {
delete _root.onEnterFrame;
}
var _local2 = 0;
if (_root.stage2 == 1) {
_root.gotoAndStop(9);
delete _root.onEnterFrame;
}
updateFrameRate();
if ((_root.fir == 1) & (_root.missammo > 0)) {
var mfir = _root.attachMovie("mfir", "mfir" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
mfir.onEnterFrame = function () {
if (mfir._currentframe == 1) {
mfir._x = _root.heli._x;
mfir._y = _root.heli._y;
mfir._rotation = _root.heli._rotation;
mfir.play();
}
if (mfir._currentframe == 5) {
mfir.swapDepths(5);
mfir.removeMovieClip();
}
};
if ((_root.fir == 1) & (_root.missammo > 0)) {
var miss = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
miss.onEnterFrame = function () {
var _local2 = miss._currentframe;
if (miss._currentframe == 1) {
miss._x = _root.heli._x;
miss._y = _root.heli._y;
_root.missammo = _root.missammo - 1;
miss._rotation = _root.heli._rotation;
miss.play();
}
if ((miss._y > 385) && (miss._currentframe == 2)) {
miss.gotoAndPlay(3);
}
if ((miss._currentframe != 2) & (miss._currentframe != 1)) {
miss._rotation = 90;
}
if (miss._currentframe == 16) {
miss.swapDepths(5);
miss.removeMovieClip();
}
if ((miss._currentframe == 2) || (miss._currentframe == 1)) {
if (miss.hitTest(_root.ag)) {
miss.play();
}
if (miss.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
miss.play();
}
if (miss.hitTest(_root.bos2)) {
_root.boss2life = _root.boss2life - 4;
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 4;
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.ad)) {
miss.play();
}
if (miss.hitTest(_root.ak)) {
miss.play();
}
if (miss.hitTest(_root.ah)) {
miss.play();
}
if (miss.hitTest(_root.ag)) {
miss.play();
}
if (miss.hitTest(_root.af)) {
miss.play();
}
if (miss.hitTest(_root.al)) {
miss.play();
}
if (miss.hitTest(_root.p1)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.p2)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.p3)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.qw)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.qe)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.qr)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.ws)) {
miss.play();
}
}
if (miss._currentframe == 2) {
miss._y = miss._y + (28 * Math.sin(miss._rotation * (Math.PI/180)));
miss._x = miss._x + (28 * Math.cos(miss._rotation * (Math.PI/180)));
if ((miss._x > 700) || (_root._currentframe == 11)) {
miss.swapDepths(5);
miss.removeMovieClip();
}
}
};
if (_root.fir2 == 1) {
var sho = _root.attachMovie("sho", "sho" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
sho.onEnterFrame = function () {
if (sho._currentframe == 1) {
sho._x = _root.heli._x;
sho._y = _root.heli._y;
sho._rotation = _root.heli._rotation;
sho.play();
}
if ((sho._y > 372) && (sho._currentframe == 2)) {
sho.play();
}
if (sho._currentframe == 6) {
sho.swapDepths(5);
sho.removeMovieClip();
}
if (sho.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 2;
sho.play();
}
if (sho.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 4;
sho.gotoAndPlay(17);
}
if (sho.hitTest(_root.bos4)) {
_root.boss4life = _root.boss4life - 4;
sho.gotoAndPlay(17);
}
if (sho.hitTest(_root.ad)) {
sho.play();
}
if (sho.hitTest(_root.ak1)) {
sho.play();
}
if (sho.hitTest(_root.ah)) {
sho.play();
}
if (sho.hitTest(_root.ag)) {
sho.play();
}
if (sho.hitTest(_root.af1)) {
sho.play();
}
if (sho.hitTest(_root.al)) {
sho.play();
}
if (sho.hitTest(_root.p1)) {
sho.play();
}
if (sho.hitTest(_root.p2)) {
sho.play();
}
if (sho.hitTest(_root.p3)) {
sho.play();
}
if (sho.hitTest(_root.qw)) {
sho.play();
}
if (sho.hitTest(_root.qe)) {
sho.play();
}
if (sho.hitTest(_root.qr)) {
sho.play();
}
if (sho.hitTest(_root.ws)) {
sho.play();
}
if (sho._currentframe == 2) {
sho._y = sho._y + (25 * Math.sin(sho._rotation * (Math.PI/180)));
sho._x = sho._x + (25 * Math.cos(sho._rotation * (Math.PI/180)));
if ((sho._x > 650) || (_root._currentframe == 11)) {
sho.swapDepths(5);
sho.removeMovieClip();
}
}
};
if (_root.fir2 == 1) {
var shel = _root.attachMovie("shel", "shel" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
shel.onEnterFrame = function () {
if (shel._currentframe == 1) {
shel._x = _root.heli._x;
shel._y = _root.heli._y;
shel._rotation = random(360);
shel.play();
}
if (shel._currentframe == 2) {
shel._y = shel._y + (random(2) + 7);
shel._x = shel._x - (random(4) + 11);
shel._rotation = shel._rotation + random(4);
if ((shel._x < -50) || (_root._currentframe == 11)) {
shel.gotoAndStop(3);
}
if ((shel._y > 372) && (shel._currentframe == 2)) {
shel._y = 372;
shel._x = shel._x + 3;
}
if (shel._currentframe == 3) {
shel.swapDepths(5);
shel.removeMovieClip();
}
}
};
if ((_root.fir3 == 1) & (_root.bombammo > 0)) {
var mina = _root.attachMovie("mina", "mina" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
mina.onEnterFrame = function () {
if (mina._currentframe == 1) {
speed = 1;
mina._x = _root.heli._x - 5;
mina._y = _root.heli._y;
_root.bombammo = _root.bombammo - 1;
mina.play();
}
if ((mina._y > 355) && (mina._currentframe == 2)) {
mina.gotoAndPlay(3);
}
if (mina._currentframe == 16) {
mina.swapDepths(5);
mina.removeMovieClip();
}
if (mina.hitTest(_root.ag)) {
mina.play();
}
if (mina.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
mina.play();
}
if (mina.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 15;
mina.play();
}
if (mina.hitTest(_root.bos4)) {
_root.boss4life = _root.boss4life - 15;
mina.play();
}
if (mina.hitTest(_root.ad)) {
mina.play();
}
if (mina.hitTest(_root.ak)) {
mina.play();
}
if (mina.hitTest(_root.ah)) {
mina.play();
}
if (mina.hitTest(_root.ag)) {
mina.play();
}
if (mina.hitTest(_root.af)) {
mina.play();
}
if (mina.hitTest(_root.al)) {
mina.play();
}
if (mina.hitTest(_root.p1)) {
mina.play();
}
if (mina.hitTest(_root.p2)) {
mina.play();
}
if (mina.hitTest(_root.p3)) {
mina.play();
}
if (mina.hitTest(_root.qw)) {
mina.play();
}
if (mina.hitTest(_root.qe)) {
mina.play();
}
if (mina.hitTest(_root.qr)) {
mina.play();
}
if (mina.hitTest(_root.ws)) {
mina.play();
}
if (mina._currentframe == 2) {
speed = speed + 1;
mina._y = mina._y + speed;
if (mina._rotation < 90) {
mina._rotation = mina._rotation + 5;
} else {
mina._rotation = 90;
}
if ((mina._x > 700) || (_root._currentframe == 11)) {
mina.swapDepths(5);
mina.removeMovieClip();
}
}
};
if (((_root.fir == 1) & (_root.missammo > 0)) & ((_root.tran3 == 1) || (_root.tran4 == 1))) {
var mis2 = _root.attachMovie("mis2", "mis2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
mis2.onEnterFrame = function () {
var _local2 = mis2._currentframe;
if (mis2._currentframe == 1) {
mis2._x = _root.heli._x;
mis2._y = _root.heli._y;
mis2._rotation = _root.heli._rotation + 90;
_root.missammo = _root.missammo - 1;
mis2.play();
}
if ((mis2._y > 385) & (mis2._currentframe == 2)) {
mis2.gotoAndPlay(3);
}
if ((mis2._currentframe != 2) & (mis2._currentframe != 1)) {
mis2._rotation = 90;
}
if (mis2._currentframe == 16) {
mis2.swapDepths(5);
mis2.removeMovieClip();
}
if ((mis2._currentframe == 2) || (mis2._currentframe == 1)) {
if (mis2.hitTest(_root.ag)) {
mis2.play();
}
if (mis2.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
mis2.play();
}
if (mis2.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 10;
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.bos4)) {
_root.boss4life = _root.boss4life - 10;
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.ad)) {
mis2.play();
}
if (mis2.hitTest(_root.ak)) {
mis2.play();
}
if (mis2.hitTest(_root.ah)) {
mis2.play();
}
if (mis2.hitTest(_root.ag)) {
mis2.play();
}
if (mis2.hitTest(_root.af)) {
mis2.play();
}
if (mis2.hitTest(_root.al)) {
mis2.play();
}
if (mis2.hitTest(_root.p1)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.p2)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.p3)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.qw)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.qe)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.qr)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.ws)) {
mis2.play();
}
}
if (mis2._currentframe == 2) {
if (mis2._rotation > -30) {
mis2._rotation = mis2._rotation - 6;
}
mis2._y = mis2._y + (15 * Math.sin(mis2._rotation * (Math.PI/180)));
mis2._x = mis2._x + (15 * Math.cos(mis2._rotation * (Math.PI/180)));
if ((mis2._x > 700) || (_root._currentframe == 11)) {
mis2.swapDepths(5);
mis2.removeMovieClip();
}
}
};
if (((_root.fir == 1) & (_root.missammo > 0)) & (((_root.tran2 == 1) || (_root.tran3 == 1)) || (_root.tran4 == 1))) {
var mis3 = _root.attachMovie("mis3", "mis3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
mis3.onEnterFrame = function () {
var _local2 = mis3._currentframe;
if (mis3._currentframe == 1) {
mis3._x = _root.heli._x;
mis3._y = _root.heli._y;
_root.missammo = _root.missammo - 1;
mis3._rotation = _root.heli._rotation - 90;
mis3.play();
}
if ((mis3._y > 385) && (mis3._currentframe == 2)) {
mis3.gotoAndPlay(3);
}
if ((mis3._currentframe != 2) & (mis3._currentframe != 1)) {
mis3._rotation = 90;
}
if (mis3._currentframe == 16) {
mis3.swapDepths(5);
mis3.removeMovieClip();
}
if ((mis3._currentframe == 2) || (mis3._currentframe == 3)) {
if (mis3.hitTest(_root.ag)) {
mis3.play();
}
if (mis3.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
mis3.play();
}
if (mis3.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 10;
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.bos4)) {
_root.boss4life = _root.boss4life - 10;
mis3.play();
}
if (mis3.hitTest(_root.ad)) {
mis3.play();
}
if (mis3.hitTest(_root.ak)) {
mis3.play();
}
if (mis3.hitTest(_root.ah)) {
mis3.play();
}
if (mis3.hitTest(_root.ag)) {
mis3.play();
}
if (mis3.hitTest(_root.af)) {
mis3.play();
}
if (mis3.hitTest(_root.al)) {
mis3.play();
}
if (mis3.hitTest(_root.p1)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.p2)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.p3)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.qw)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.qe)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.qr)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.ws)) {
mis3.play();
}
}
if (mis3._currentframe == 2) {
if (mis3._rotation < 30) {
mis3._rotation = mis3._rotation + 6;
}
mis3._y = mis3._y + (15 * Math.sin(mis3._rotation * (Math.PI/180)));
mis3._x = mis3._x + (15 * Math.cos(mis3._rotation * (Math.PI/180)));
if ((mis3._x > 700) || (_root._currentframe == 11)) {
mis3.swapDepths(5);
mis3.removeMovieClip();
}
}
};
if ((_root.fir2 == 1) & (((_root.tran2 == 1) || (_root.tran3 == 1)) || (_root.tran4 == 1))) {
var sho2 = _root.attachMovie("sho2", "sho2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
sho2.onEnterFrame = function () {
if (sho2._currentframe == 1) {
sho2._x = _root.heli._x;
sho2._y = _root.heli._y;
sho2._rotation = _root.heli._rotation;
sho2.play();
}
if ((sho2._y > 372) && (sho2._currentframe == 2)) {
sho2.play();
}
if (sho2._currentframe == 6) {
sho2.swapDepths(5);
sho2.removeMovieClip();
}
if (sho2.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 2;
sho2.play();
}
if (sho2.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 4;
sho2.play();
}
if (sho2.hitTest(_root.bos4)) {
_root.boss4life = _root.boss4life - 4;
sho2.play();
}
if (sho2.hitTest(_root.ad)) {
sho2.play();
}
if (sho2.hitTest(_root.ak)) {
sho2.play();
}
if (sho2.hitTest(_root.ah)) {
sho2.play();
}
if (sho2.hitTest(_root.ag)) {
sho2.play();
}
if (sho2.hitTest(_root.af)) {
sho2.play();
}
if (sho2.hitTest(_root.al)) {
sho2.play();
}
if (sho2.hitTest(_root.p1)) {
sho2.play();
}
if (sho2.hitTest(_root.p2)) {
sho2.play();
}
if (sho2.hitTest(_root.p3)) {
sho2.play();
}
if (sho2.hitTest(_root.qw)) {
sho2.play();
}
if (sho2.hitTest(_root.qe)) {
sho2.play();
}
if (sho2.hitTest(_root.qr)) {
sho2.play();
}
if (sho2.hitTest(_root.ws)) {
sho2.play();
}
if (sho2._currentframe == 2) {
sho2._y = sho2._y + (25 * Math.sin(sho2._rotation * (Math.PI/180)));
sho2._x = sho2._x + (25 * Math.cos(sho2._rotation * (Math.PI/180)));
if ((sho2._x > 650) || (_root._currentframe == 11)) {
sho2.swapDepths(5);
sho2.removeMovieClip();
}
}
};
if ((_root.fir2 == 1) & ((_root.tran3 == 1) || (_root.tran4 == 1))) {
var sho3 = _root.attachMovie("sho3", "sho3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
sho3.onEnterFrame = function () {
if (sho3._currentframe == 1) {
sho3._x = _root.heli._x;
sho3._y = _root.heli._y;
sho3._rotation = _root.heli._rotation;
sho3.play();
}
if ((sho3._y > 372) && (sho3._currentframe == 2)) {
sho3.play();
}
if (sho3._currentframe == 6) {
sho3.swapDepths(5);
sho3.removeMovieClip();
}
if (sho3.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 2;
sho3.play();
}
if (sho3.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 4;
sho3.play();
}
if (sho3.hitTest(_root.bos4)) {
_root.boss4life = _root.boss4life - 4;
sho3.play();
}
if (sho3.hitTest(_root.ad)) {
sho3.play();
}
if (sho3.hitTest(_root.ak)) {
sho3.play();
}
if (sho3.hitTest(_root.ah)) {
sho3.play();
}
if (sho3.hitTest(_root.ag)) {
sho3.play();
}
if (sho3.hitTest(_root.af)) {
sho3.play();
}
if (sho3.hitTest(_root.al)) {
sho3.play();
}
if (sho3.hitTest(_root.p1)) {
sho3.play();
}
if (sho3.hitTest(_root.p2)) {
sho3.play();
}
if (sho3.hitTest(_root.p3)) {
sho3.play();
}
if (sho3.hitTest(_root.qw)) {
sho3.play();
}
if (sho3.hitTest(_root.qe)) {
sho3.play();
}
if (sho3.hitTest(_root.qr)) {
sho3.play();
}
if (sho3.hitTest(_root.ws)) {
sho3.play();
}
if (sho3._currentframe == 2) {
sho3._y = sho3._y + (25 * Math.sin(sho3._rotation * (Math.PI/180)));
sho3._x = sho3._x + (25 * Math.cos(sho3._rotation * (Math.PI/180)));
if ((sho3._x > 650) || (_root._currentframe == 11)) {
sho3.swapDepths(5);
sho3.removeMovieClip();
}
}
};
if (random(1000) > 998) {
var drop1 = _root.attachMovie("drop1", "drop1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
drop1.onEnterFrame = function () {
if (drop1._currentframe == 1) {
drop1._x = random(200) + 350;
drop1._y = -70;
drop1.play();
}
if (drop1._currentframe == 2) {
drop1._y = drop1._y + 3;
drop1._x = drop1._x - 3;
if (drop1.hitTest(_root.heli)) {
drop1.gotoAndStop(6);
_root.life = 100;
}
if (drop1._y > 375) {
drop1.play();
}
}
if (drop1._currentframe == 6) {
drop1.swapDepths(5);
drop1.removeMovieClip();
}
};
if (random(1000) > 995) {
var drop2 = _root.attachMovie("drop2", "drop2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
drop2.onEnterFrame = function () {
if (drop2._currentframe == 1) {
drop2._x = random(200) + 350;
drop2._y = -70;
drop2.play();
}
if (drop2._currentframe == 2) {
drop2._y = drop2._y + 3;
drop2._x = drop2._x - 3;
if (drop2.hitTest(_root.heli)) {
drop2.gotoAndStop(6);
_root.bombammo = _root.bombammo + 5;
}
if (drop2._y > 375) {
drop2.play();
}
}
if (drop2._currentframe == 6) {
drop2.swapDepths(5);
drop2.removeMovieClip();
}
};
if (random(1000) > 995) {
var drop3 = _root.attachMovie("drop3", "drop3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
drop3.onEnterFrame = function () {
if (drop3._currentframe == 1) {
drop3._x = random(200) + 350;
drop3._y = -70;
drop3.play();
}
if (drop3._currentframe == 2) {
drop3._y = drop3._y + 3;
drop3._x = drop3._x - 3;
if (drop3.hitTest(_root.heli)) {
drop3.gotoAndStop(6);
_root.missammo = _root.missammo + 15;
}
if (drop3._y > 375) {
drop3.play();
}
}
if (drop3._currentframe == 6) {
drop3.swapDepths(5);
drop3.removeMovieClip();
}
};
if (((_root.ak._x < 600) & (random(1000) > 990)) & (_root.scor < 1300)) {
var enfir = _root.attachMovie("enfir", "enfir" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
enfir.onEnterFrame = function () {
if (enfir._currentframe == 1) {
enfir._x = _root.ak._x - 50;
enfir._y = _root.ak._y - 30;
enfir._rotation = -60;
enfir.play();
}
if (enfir._currentframe == 2) {
enfir._rotation = enfir._rotation + 0.2;
enfir._y = enfir._y + (8 * Math.sin(enfir._rotation * (Math.PI/180)));
enfir._x = enfir._x + (8 * Math.cos(enfir._rotation * (Math.PI/180)));
if (enfir.hitTest(_root.heli)) {
enfir.play();
_root.life = _root.life - 1;
}
if ((enfir._x > 700) || (_root._currentframe == 11)) {
enfir.swapDepths(5);
enfir.removeMovieClip();
}
}
if (enfir._currentframe == 16) {
enfir.swapDepths(5);
enfir.removeMovieClip();
}
};
if ((_root.p2._x < 600) & (random(1000) > 990)) {
var minka1 = _root.attachMovie("minka1", "minka1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
minka1.onEnterFrame = function () {
if (minka1._currentframe == 1) {
minka1._x = _root.p2._x;
minka1._y = _root.p2._y;
minka1.play();
}
if ((minka1._y > 355) && (minka1._currentframe == 2)) {
minka1.gotoAndPlay(3);
}
if (minka1._currentframe == 16) {
minka1.swapDepths(5);
minka1.removeMovieClip();
}
if (minka1.hitTest(_root.heli)) {
minka1.play();
_root.life = _root.life - 1;
}
if (minka1._currentframe == 2) {
minka1._x = minka1._x - 3;
minka1._y = minka1._y + 1;
if ((minka1._x > 700) || (_root._currentframe == 11)) {
minka1.swapDepths(5);
minka1.removeMovieClip();
}
}
};
if ((_root.qe._x > 0) & (random(1000) > 960)) {
var minka2 = _root.attachMovie("minka2", "minka2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
minka2.onEnterFrame = function () {
if (minka2._currentframe == 1) {
minka2._x = _root.qe._x;
minka2._y = _root.qe._y;
minka2.play();
}
if ((minka2._y > 355) && (minka2._currentframe == 2)) {
minka2.gotoAndPlay(3);
}
if (minka2._currentframe == 16) {
minka2.swapDepths(5);
minka2.removeMovieClip();
}
if (minka2.hitTest(_root.heli)) {
minka2.play();
_root.life = _root.life - 1;
}
if (minka2._currentframe == 2) {
minka2._x = minka2._x - 3;
minka2._y = minka2._y + 1;
if ((minka2._x > 700) || (_root._currentframe == 11)) {
minka2.swapDepths(5);
minka2.removeMovieClip();
}
}
};
if ((_root.qr._x > 0) & (random(1000) > 970)) {
var minka3 = _root.attachMovie("minka3", "minka3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
minka3.onEnterFrame = function () {
if (minka3._currentframe == 1) {
minka3._x = _root.qr._x;
minka3._y = _root.qr._y;
minka3.play();
}
if ((minka3._y > 355) && (minka3._currentframe == 2)) {
minka3.gotoAndPlay(3);
}
if (minka3._currentframe == 16) {
minka3.swapDepths(5);
minka3.removeMovieClip();
}
if (minka3.hitTest(_root.heli)) {
minka3.play();
_root.life = _root.life - 1;
}
if (minka3._currentframe == 2) {
minka3._x = minka3._x - 3;
minka3._y = minka3._y + 1;
if ((minka3._x > 700) || (_root._currentframe == 11)) {
minka3.swapDepths(5);
minka3.removeMovieClip();
}
}
};
if ((_root.qw._x > 0) & (random(1000) > 980)) {
var minka4 = _root.attachMovie("minka4", "minka4" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
minka4.onEnterFrame = function () {
if (minka4._currentframe == 1) {
minka4._x = _root.qw._x;
minka4._y = _root.qw._y;
minka4.play();
}
if ((minka4._y > 355) && (minka4._currentframe == 2)) {
minka4.gotoAndPlay(3);
}
if (minka4._currentframe == 16) {
minka4.swapDepths(5);
minka4.removeMovieClip();
}
if (minka4.hitTest(_root.heli)) {
minka4.play();
_root.life = _root.life - 1;
}
if (minka4._currentframe == 2) {
minka4._x = minka4._x - 3;
minka4._y = minka4._y + 1;
if ((minka4._x > 700) || (_root._currentframe == 11)) {
minka4.swapDepths(5);
minka4.removeMovieClip();
}
}
};
if ((_root.boss3 == 1) & (random(1000) > 980)) {
var lsr = _root.attachMovie("lsr", "lsr" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
lsr.onEnterFrame = function () {
if (lsr._currentframe == 1) {
lsr._x = _root.robo3reka._x;
lsr._y = _root.robo3reka._y;
lsr._rotation = _root.robo3reka._rotation;
lsr.play();
}
if (lsr._currentframe == 2) {
lsr._y = lsr._y + (4 * Math.sin(lsr._rotation * (Math.PI/180)));
lsr._x = lsr._x + (4 * Math.cos(lsr._rotation * (Math.PI/180)));
if (lsr.hitTest(_root.heli)) {
lsr.play();
_root.life = _root.life - 1;
}
if (((lsr._x > 750) || (lsr._x < -150)) || (_root._currentframe == 11)) {
lsr.swapDepths(5);
lsr.removeMovieClip();
}
}
if (lsr._currentframe == 16) {
lsr.swapDepths(5);
lsr.removeMovieClip();
}
};
if ((_root.boss4 == 1) & (random(1000) > 975)) {
var lsr2 = _root.attachMovie("lsr2", "lsr2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
lsr2.onEnterFrame = function () {
if (lsr2._currentframe == 1) {
lsr2._x = _root.robo4reka._x;
lsr2._y = _root.robo4reka._y;
lsr2._rotation = _root.robo4reka._rotation;
lsr2.play();
}
if (lsr2._currentframe == 2) {
lsr2._y = lsr2._y + (4 * Math.sin(lsr2._rotation * (Math.PI/180)));
lsr2._x = lsr2._x + (4 * Math.cos(lsr2._rotation * (Math.PI/180)));
if (lsr2.hitTest(_root.heli)) {
lsr2.play();
_root.life = _root.life - 1;
}
if (((lsr2._x > 750) || (lsr2._x < -150)) || (_root._currentframe == 11)) {
lsr2.swapDepths(5);
lsr2.removeMovieClip();
}
}
if (lsr2._currentframe == 16) {
lsr2.swapDepths(5);
lsr2.removeMovieClip();
}
};
if ((((_root.af._x < 600) && (random(1000) > 990)) && (_root.af._currentframe != 12)) && (_root.af._currentframe != 13)) {
var enfir2 = _root.attachMovie("enfir2", "enfir2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
enfir2.onEnterFrame = function () {
if (enfir2._currentframe == 1) {
enfir2._x = _root.af._x;
enfir2._y = _root.af._y - 50;
enfir2._rotation = -60;
enfir2.play();
}
if (enfir2._currentframe == 2) {
enfir2._rotation = enfir2._rotation + 0.2;
enfir2._y = enfir2._y + (8 * Math.sin(enfir2._rotation * (Math.PI/180)));
enfir2._x = enfir2._x + (8 * Math.cos(enfir2._rotation * (Math.PI/180)));
if (enfir2.hitTest(_root.heli)) {
enfir2.play();
_root.life = _root.life - 1;
}
if ((enfir2._x > 700) || (_root._currentframe == 11)) {
enfir2.swapDepths(5);
enfir2.removeMovieClip();
}
}
if (enfir2._currentframe == 16) {
enfir2.swapDepths(5);
enfir2.removeMovieClip();
}
};
if ((((_root.ah._x < 600) & (random(1000) > 990)) && (_root.ah._currentframe != 15)) && (_root.ah._currentframe != 16)) {
var enfir3 = _root.attachMovie("enfir3", "enfir3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
enfir3.onEnterFrame = function () {
if (enfir3._currentframe == 1) {
enfir3._x = _root.ah._x + 50;
enfir3._y = _root.ah._y - 50;
enfir3._rotation = -60;
enfir3.play();
}
if (enfir3._currentframe == 2) {
enfir3._rotation = enfir3._rotation + 0.2;
enfir3._y = enfir3._y + (8 * Math.sin(enfir3._rotation * (Math.PI/180)));
enfir3._x = enfir3._x + (8 * Math.cos(enfir3._rotation * (Math.PI/180)));
if (enfir3.hitTest(_root.heli)) {
enfir3.play();
_root.life = _root.life - 1;
}
if ((enfir3._x > 700) || (_root._currentframe == 11)) {
enfir3.swapDepths(5);
enfir3.removeMovieClip();
}
}
if (enfir3._currentframe == 16) {
enfir3.swapDepths(5);
enfir3.removeMovieClip();
}
};
if ((((_root.al._x > 0) && (random(1000) > 990)) && (_root.al._currentframe != 15)) && (_root.al._currentframe != 16)) {
var enfir4 = _root.attachMovie("enfir4", "enfir4" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
enfir4.onEnterFrame = function () {
if (enfir4._currentframe == 1) {
enfir4._x = _root.al._x - 50;
enfir4._y = _root.al._y - 50;
enfir4._rotation = 60;
enfir4.gotoAndPlay(3);
}
if (enfir4._currentframe == 2) {
enfir4._rotation = enfir4._rotation - 0.2;
enfir4._y = enfir4._y + (8 * Math.sin(enfir4._rotation * (Math.PI/180)));
enfir4._x = enfir4._x + (8 * Math.cos(enfir4._rotation * (Math.PI/180)));
if (enfir4.hitTest(_root.heli)) {
enfir4.play();
_root.life = _root.life - 1;
}
if ((enfir4._x < -70) || (_root._currentframe == 11)) {
enfir4.swapDepths(5);
enfir4.removeMovieClip();
}
}
if (enfir4._currentframe == 16) {
enfir4.swapDepths(5);
enfir4.removeMovieClip();
}
};
}
};
Instance of Symbol 407 MovieClip in Frame 8
onClipEvent (enterFrame) {
_root.pion = 3;
if (Key.isDown(90)) {
if (_currentframe == 1) {
_root.fir = 1;
_root.pion = 3;
play();
}
} else {
_root.fir = 0;
_root.pion = 3;
}
if (_currentframe != 1) {
_root.fir = 0;
_root.pion = 3;
}
}
Instance of Symbol 409 MovieClip in Frame 8
onClipEvent (enterFrame) {
_root.pion = 3;
if (Key.isDown(88)) {
if (_currentframe == 1) {
_root.fir2 = 1;
_root.pion = 3;
play();
}
} else {
_root.fir2 = 0;
_root.pion = 3;
}
if (_currentframe != 1) {
_root.fir2 = 0;
_root.pion = 3;
}
}
Instance of Symbol 458 MovieClip "qr" in Frame 8
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if ((_currentframe == 1) & (random(1000) > 995)) {
_x = 850;
_y = random(150);
dx = Math.atan2(_root.heli._y - _y, _root.heli._x - _x) / (Math.PI/180);
xSpeed = 10 * Math.cos(dx * (Math.PI/180));
ySpeed = 10 * Math.sin(dx * (Math.PI/180));
play();
}
if ((_currentframe != 1) & (_currentframe != 20)) {
_y = (_y + ySpeed);
_x = (_x + xSpeed);
if (_x < -100) {
gotoAndStop (1);
}
if (_y >= 310) {
_y = 310;
_x = (_x - 10);
}
}
if (_currentframe == 20) {
_x = (_x - 1);
_y = (_y + 4);
if (_y > 360) {
play();
}
}
if (_currentframe == 27) {
_x = 714;
_root.scor = _root.scor + 5;
gotoAndStop (1);
}
if ((_root.scor > 1300) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 458 MovieClip "qe" in Frame 8
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (((_currentframe == 1) & (random(1000) > 990)) & (_root.scor > 600)) {
play();
var loco = 90;
}
if ((_currentframe != 1) & (_currentframe != 20)) {
loco = loco - 1;
_y = (_y + (5 * Math.sin(loco * (Math.PI/180))));
_x = (_x + (5 * Math.cos(loco * (Math.PI/180))));
if ((_x > 700) & (_y < -50)) {
_x = -150;
_y = -50;
gotoAndStop (1);
}
}
if (_currentframe == 20) {
_x = (_x - 1);
_y = (_y + 4);
if (_y > 360) {
play();
}
}
if (_currentframe == 27) {
_x = (random(200) - 70);
_y = -65;
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 1300) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 460 MovieClip in Frame 8
onClipEvent (enterFrame) {
_root.pion = 3;
if (Key.isDown(67)) {
if (_currentframe == 1) {
_root.fir3 = 1;
_root.pion = 3;
play();
}
} else {
_root.fir3 = 0;
_root.pion = 3;
}
if (_currentframe != 1) {
_root.fir3 = 0;
_root.pion = 3;
}
}
Instance of Symbol 530 MovieClip "ad" in Frame 8
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if ((_currentframe == 1) & (_root.scor > 560)) {
if (random(100) > 60) {
play();
}
}
if (_currentframe != 1) {
_x = (_x + 2);
_x + 2;
}
if (_x > 680) {
_x = ((-1 * random(1000)) - 200);
gotoAndStop (1);
}
if (_currentframe == 20) {
_x = ((-1 * random(1000)) - 200);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 1300) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 614 MovieClip "af" in Frame 8
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (random(1000) > 750) {
play();
}
}
if (_currentframe != 1) {
_x = (_x + 2);
_x + 2;
}
if (_x > 700) {
_x = ((-1 * random(1000)) - 200);
gotoAndStop (1);
}
if (_currentframe == 13) {
_x = ((-1 * random(1000)) - 200);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 1300) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 974 MovieClip "ah" in Frame 8
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if ((_currentframe == 1) & (_root.scor > 800)) {
if (random(1000) > 950) {
play();
}
}
if (_currentframe != 1) {
_x = (_x - 2);
_x - 2;
}
if (_x < -100) {
_x = (random(850) + 650);
gotoAndStop (1);
}
if (_currentframe == 16) {
_x = (random(850) + 650);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 1300) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 585 MovieClip "ak" in Frame 8
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
play();
}
if (_currentframe != 1) {
_x = (_x - 1);
_x - 1;
}
if (_x < -100) {
_x = (850 + random(600));
gotoAndStop (1);
}
if (_currentframe == 11) {
_x = (850 + random(600));
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 1350) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 566 MovieClip "p3" in Frame 8
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (((_currentframe == 1) & (random(1000) > 998)) & (_root.scor > 820)) {
fx = 0;
_rotation = fx;
play();
}
if ((_currentframe != 1) & (_currentframe != 11)) {
if (fx < 355) {
fx = fx + 2;
}
_y = (_y + (6 * Math.sin(fx * (Math.PI/180))));
_x = (_x + (6 * Math.cos(fx * (Math.PI/180))));
if (_y >= 310) {
fx = 0;
_y = 310;
_x = (_x + 11);
}
}
if (_x > 600) {
_x = (random(400) * -1);
_y = 100;
gotoAndStop (1);
}
if (_currentframe == 11) {
_x = (_x + 3);
_y = (_y + 7);
if (_y > 370) {
_y = 370;
play();
}
}
if (_currentframe == 18) {
_x = -150;
_root.scor = _root.scor + 5;
gotoAndStop (1);
}
if ((_root.scor > 1300) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 974 MovieClip "al" in Frame 8
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if ((_currentframe == 1) & (_root.scor > 700)) {
play();
}
if (_currentframe != 1) {
_x = (_x + 2);
_x + 2;
}
if (_x > 680) {
_x = (-1 * random(800));
gotoAndStop (1);
}
if (_currentframe == 16) {
_x = (-1 * random(800));
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 1300) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 639 MovieClip "ws" in Frame 8
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if ((random(1000) > 99) & (_root.scor > 720)) {
play();
}
}
if (_currentframe != 1) {
_x = (_x - 10);
}
if (_x < -100) {
_x = (random(850) + 650);
gotoAndStop (1);
}
if (_currentframe == 20) {
_x = (random(1000) + 650);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 1300) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 458 MovieClip "qw" in Frame 8
onClipEvent (enterFrame) {
if (((_currentframe == 1) & (random(1000) > 990)) & (_root.scor > 700)) {
var loco = 180;
play();
}
if ((_currentframe != 1) & (_currentframe != 20)) {
(loco = loco - 1);
_y = (_y + (4 * Math.sin(loco * (Math.PI/180))));
_x = (_x + (4 * Math.cos(loco * (Math.PI/180))));
if ((_x > 700) & (_y < -50)) {
_x = (random(300) + 300);
_y = -100;
gotoAndStop (1);
}
}
if (_currentframe == 20) {
_x = (_x - 1);
_y = (_y + 4);
if (_y > 360) {
play();
}
}
if (_currentframe == 27) {
_x = random(450);
_y = -100;
_root.scor = _root.scor + 5;
gotoAndStop (1);
}
if ((_root.scor > 1300) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
Instance of Symbol 666 MovieClip "p1" in Frame 8
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (((_currentframe == 1) & (random(1000) > 990)) & (_root.scor > 900)) {
play();
_rotation = 55;
}
if ((_currentframe != 1) & (_currentframe != 17)) {
_rotation = (_rotation - 1);
_y = (_y + (8 * Math.sin(_rotation * (Math.PI/180))));
_x = (_x + (8 * Math.cos(_rotation * (Math.PI/180))));
}
if (_x > 750) {
_x = ((random(400) * -1) - 100);
_y = 150;
if (_currentframe == 17) {
_root.scor = _root.scor + 5;
}
gotoAndStop (1);
}
if (_currentframe == 17) {
_x = (_x + 3);
_y = (_y + 7);
if (_y > 370) {
_y = 370;
play();
}
}
if (_currentframe == 24) {
_x = -170;
_y = 120;
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 1300) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 978 MovieClip "bos3" in Frame 8
onClipEvent (load) {
xscale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_root.boss3 == 1) {
if (_x > 450) {
_x = (_x - 3);
}
if (_y > 210) {
_y = 210;
}
if ((_root.boss3life < 10) & (_currentframe != 17)) {
play();
}
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
loc = Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180);
_y = (_y + (5 * Math.sin(loc * (Math.PI/180))));
if (_x < _root.heli._x) {
_xscale = (-xscale);
} else {
_xscale = xscale;
}
}
if (_currentframe == 17) {
_x = 1000;
if ((_root.scor > 1300) & (_root.boss3 != 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
}
Instance of Symbol 981 MovieClip "robo3reka" in Frame 8
onClipEvent (load) {
xscale = _xscale;
yscale = _yscale;
}
onClipEvent (enterFrame) {
if (_root.boss3life > 10) {
_x = _root.bos3._x;
_y = _root.bos3._y;
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
_rotation = (Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180));
if (_x < _root.heli._x) {
_yscale = (-yscale);
} else {
_yscale = yscale;
}
}
if (_root.boss3life < 10) {
_rotation = 0;
_y = (_y + 5);
if (_y > 380) {
_y = 380;
_x = (_x - 3);
}
if (_x < -150) {
_root.boss3life = 3000;
if (_root.scor > 520) {
this.swapDepths(5);
this.removeMovieClip();
}
_x = _root.boss3._x;
_y = _root.boss3._y;
_root.bos3.gotoAndStop(1);
}
}
}
Instance of Symbol 983 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_currentframe != 4000) {
_root.boss3 = 0;
} else {
_root.boss3 = 1;
}
if ((_root.boss3life < 10) && (_currentframe == 4000)) {
gotoAndPlay (1);
}
}
Instance of Symbol 756 MovieClip "bos4" in Frame 8
onClipEvent (load) {
xscale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_root.boss4 == 1) {
if (_root.boss4 == 1) {
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
loc = Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180);
_x = (_x + (5 * Math.cos(loc * (Math.PI/180))));
}
if ((_root.boss4life < 10) & (_currentframe != 30)) {
play();
}
}
if (_currentframe == 30) {
_x = 1000;
if ((_root.scor > 1300) & (_root.boss4 != 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
}
Instance of Symbol 986 MovieClip "robo5reka" in Frame 8
onClipEvent (load) {
xscale = _xscale;
yscale = _yscale;
}
onClipEvent (enterFrame) {
if (_root.boss4life > 10) {
_x = _root.bos4._x;
_y = _root.bos4._y;
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
_rotation = (Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180));
if (_x < _root.heli._x) {
_yscale = (-yscale);
} else {
_yscale = yscale;
}
}
if (_root.boss4life < 10) {
_rotation = 0;
_y = (_y + 5);
if (_y > 380) {
_y = 380;
_x = (_x - 3);
}
if (_x < -150) {
_root.boss4life = 3000;
if (_root.scor > 1400) {
this.swapDepths(5);
this.removeMovieClip();
}
_x = _root.boss4._x;
_y = _root.boss4._y;
_root.bos4.gotoAndStop(1);
}
}
}
Instance of Symbol 990 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_currentframe != 2300) {
_root.boss4 = 0;
} else {
_root.boss4 = 1;
}
if ((_root.boss4life < 10) && (_currentframe == 2300)) {
gotoAndPlay (1);
}
}
Instance of Symbol 666 MovieClip "p2" in Frame 8
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
_y = random(150);
if ((random(1000) > 989) & (_root.scor > 700)) {
play();
}
}
if ((_currentframe != 1) & (_currentframe != 17)) {
_x = (_x - 8);
}
if (_x < -100) {
_x = 803;
gotoAndStop (1);
}
if (_currentframe == 17) {
_x = (_x - 3);
_y = (_y + 7);
if (_y > 370) {
_y = 370;
play();
}
}
if (_currentframe == 24) {
_x = 803;
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if ((_root.scor > 520) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
if ((_root.scor > 1300) & (_currentframe == 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 739 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (((_root.scor > 1320) & (_currentframe == 1)) & (_root.tran3 == 1)) {
gotoAndPlay (2);
}
if (_currentframe == 200) {
_root.stage2 = 1;
}
}
Instance of Symbol 682 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_x = _root.bos3._x;
_y = _root.bos3._y;
if ((_root.tran3 == 0) & (_root.boss3life < 10)) {
gotoAndStop (2);
}
}
if (_currentframe == 2) {
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
var loco = (Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180));
_y = (_y + (4 * Math.sin(loco * (Math.PI/180))));
_x = (_x + (2 * Math.cos(loco * (Math.PI/180))));
if (hitTest(_root.heli)) {
gotoAndPlay (3);
_root.tran2 = 0;
_root.tran3 = 1;
}
}
if (_currentframe == 14) {
this.swapDepths(5);
this.removeMovieClip();
}
}
Instance of Symbol 745 MovieClip "pause" in Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(80)) {
_root.POU = 1;
}
if (_root.POU == 1) {
gotoAndStop (2);
_visible = true;
}
if (_root.POU == 0) {
gotoAndStop (1);
_visible = false;
}
}
Frame 9
var starting3 = 0;
onEnterFrame = function () {
if (_root.starting3 == 1) {
_root.gotoAndStop(10);
}
};
stop();
Instance of Symbol 1053 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_currentframe == 160) {
_root.starting3 = 1;
}
}
Frame 10
onEnterFrame = function () {
if (_root.POU == 0) {
if (_root.life < 0) {
_root.gotoAndStop(12);
stopAllSounds();
}
if ((((_root._currentframe == 12) || (_root._currentframe == 11)) || (_root._currentframe == 13)) || (_root._currentframe == 4)) {
delete _root.onEnterFrame;
}
var _local2 = 0;
if ((_root._currentframe == 11) && (_root._currentframe == 12)) {
delete _root.onEnterFrame;
}
updateFrameRate();
if ((_root.fir == 1) & (_root.missammo > 0)) {
var mfir = _root.attachMovie("mfir", "mfir" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
mfir.onEnterFrame = function () {
if (mfir._currentframe == 1) {
mfir._x = _root.heli._x;
mfir._y = _root.heli._y;
mfir._rotation = _root.heli._rotation;
mfir.play();
}
if (mfir._currentframe == 5) {
mfir.swapDepths(5);
mfir.removeMovieClip();
}
};
if ((_root.fir == 1) & (_root.missammo > 0)) {
var miss = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
miss.onEnterFrame = function () {
var _local2 = miss._currentframe;
if (miss._currentframe == 1) {
miss._x = _root.heli._x;
miss._y = _root.heli._y;
_root.missammo = _root.missammo - 1;
miss._rotation = _root.heli._rotation;
miss.play();
}
if ((miss._y > 385) && (miss._currentframe == 2)) {
miss.gotoAndPlay(3);
}
if ((miss._currentframe != 2) & (miss._currentframe != 1)) {
miss._rotation = 90;
}
if (miss._currentframe == 16) {
miss.swapDepths(5);
miss.removeMovieClip();
}
if ((miss._currentframe == 2) || (miss._currentframe == 1)) {
if (miss.hitTest(_root.ag)) {
miss.play();
}
if (miss.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
miss.play();
}
if (miss.hitTest(_root.bos2)) {
_root.boss2life = _root.boss2life - 4;
miss.play();
}
if (miss.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 4;
miss.play();
}
if (miss.hitTest(_root.bos4)) {
_root.boss4life = _root.boss4life - 4;
miss.play();
}
if (miss.hitTest(_root.bos5)) {
_root.boss5life = _root.boss5life - 4;
miss.play();
}
if (miss.hitTest(_root.ad)) {
miss.play();
}
if (miss.hitTest(_root.ak)) {
miss.play();
}
if (miss.hitTest(_root.ah)) {
miss.play();
}
if (miss.hitTest(_root.ag)) {
miss.play();
}
if (miss.hitTest(_root.af)) {
miss.play();
}
if (miss.hitTest(_root.al)) {
miss.play();
}
if (miss.hitTest(_root.p1)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.p2)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.p3)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.qw)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.qe)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.qr)) {
miss.gotoAndPlay(17);
}
if (miss.hitTest(_root.ws)) {
miss.play();
}
}
if (miss._currentframe == 2) {
miss._y = miss._y + (28 * Math.sin(miss._rotation * (Math.PI/180)));
miss._x = miss._x + (28 * Math.cos(miss._rotation * (Math.PI/180)));
if ((miss._x > 700) || (_root._currentframe == 11)) {
miss.swapDepths(5);
miss.removeMovieClip();
}
}
};
if (_root.fir2 == 1) {
var sho = _root.attachMovie("sho", "sho" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
sho.onEnterFrame = function () {
if (sho._currentframe == 1) {
sho._x = _root.heli._x;
sho._y = _root.heli._y;
sho._rotation = _root.heli._rotation;
sho.play();
}
if ((sho._y > 372) && (sho._currentframe == 2)) {
sho.play();
}
if (sho._currentframe == 6) {
sho.swapDepths(5);
sho.removeMovieClip();
}
if (sho.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 2;
sho.play();
}
if (sho.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 4;
sho.play();
}
if (sho.hitTest(_root.bos4)) {
_root.boss4life = _root.boss4life - 4;
sho.play();
}
if (sho.hitTest(_root.bos5)) {
_root.boss5life = _root.boss5life - 4;
sho.play();
}
if (sho.hitTest(_root.ad)) {
sho.play();
}
if (sho.hitTest(_root.ak1)) {
sho.play();
}
if (sho.hitTest(_root.ah)) {
sho.play();
}
if (sho.hitTest(_root.ag)) {
sho.play();
}
if (sho.hitTest(_root.af1)) {
sho.play();
}
if (sho.hitTest(_root.al)) {
sho.play();
}
if (sho.hitTest(_root.p1)) {
sho.play();
}
if (sho.hitTest(_root.p2)) {
sho.play();
}
if (sho.hitTest(_root.p3)) {
sho.play();
}
if (sho.hitTest(_root.qw)) {
sho.play();
}
if (sho.hitTest(_root.qe)) {
sho.play();
}
if (sho.hitTest(_root.qr)) {
sho.play();
}
if (sho.hitTest(_root.ws)) {
sho.play();
}
if (sho._currentframe == 2) {
sho._y = sho._y + (25 * Math.sin(sho._rotation * (Math.PI/180)));
sho._x = sho._x + (25 * Math.cos(sho._rotation * (Math.PI/180)));
if ((sho._x > 650) || (_root._currentframe == 11)) {
sho.swapDepths(5);
sho.removeMovieClip();
}
}
};
if (_root.fir2 == 1) {
var shel = _root.attachMovie("shel", "shel" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
shel.onEnterFrame = function () {
if (shel._currentframe == 1) {
shel._x = _root.heli._x;
shel._y = _root.heli._y;
shel._rotation = random(360);
shel.play();
}
if (shel._currentframe == 2) {
shel._y = shel._y + (random(2) + 7);
shel._x = shel._x - (random(4) + 11);
shel._rotation = shel._rotation + random(4);
if ((shel._x < -50) || (_root._currentframe == 11)) {
shel.gotoAndStop(3);
}
if ((shel._y > 372) && (shel._currentframe == 2)) {
shel._y = 372;
shel._x = shel._x + 3;
}
if (shel._currentframe == 3) {
shel.swapDepths(5);
shel.removeMovieClip();
}
}
};
if ((_root.fir3 == 1) & (_root.bombammo > 0)) {
var mina = _root.attachMovie("mina", "mina" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
mina.onEnterFrame = function () {
if (mina._currentframe == 1) {
speed = 1;
mina._x = _root.heli._x - 5;
mina._y = _root.heli._y;
_root.bombammo = _root.bombammo - 1;
mina.play();
}
if ((mina._y > 355) && (mina._currentframe == 2)) {
mina.gotoAndPlay(3);
}
if (mina._currentframe == 16) {
mina.swapDepths(5);
mina.removeMovieClip();
}
if (mina.hitTest(_root.ag)) {
mina.play();
}
if (mina.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
mina.play();
}
if (mina.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 15;
mina.play();
}
if (mina.hitTest(_root.bos4)) {
_root.boss4life = _root.boss4life - 15;
mina.play();
}
if (mina.hitTest(_root.bos5)) {
_root.boss5life = _root.boss5life - 15;
mina.play();
}
if (mina.hitTest(_root.ad)) {
mina.play();
}
if (mina.hitTest(_root.ak)) {
mina.play();
}
if (mina.hitTest(_root.ah)) {
mina.play();
}
if (mina.hitTest(_root.ag)) {
mina.play();
}
if (mina.hitTest(_root.af)) {
mina.play();
}
if (mina.hitTest(_root.al)) {
mina.play();
}
if (mina.hitTest(_root.p1)) {
mina.play();
}
if (mina.hitTest(_root.p2)) {
mina.play();
}
if (mina.hitTest(_root.p3)) {
mina.play();
}
if (mina.hitTest(_root.qw)) {
mina.play();
}
if (mina.hitTest(_root.qe)) {
mina.play();
}
if (mina.hitTest(_root.qr)) {
mina.play();
}
if (mina.hitTest(_root.ws)) {
mina.play();
}
if (mina._currentframe == 2) {
speed = speed + 1;
mina._y = mina._y + speed;
if (mina._rotation < 90) {
mina._rotation = mina._rotation + 5;
} else {
mina._rotation = 90;
}
if ((mina._x > 700) || (_root._currentframe == 11)) {
mina.swapDepths(5);
mina.removeMovieClip();
}
}
};
if (((_root.fir == 1) & (_root.missammo > 0)) & ((_root.tran3 == 1) || (_root.tran4 == 1))) {
var mis2 = _root.attachMovie("mis2", "mis2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
mis2.onEnterFrame = function () {
var _local2 = mis2._currentframe;
if (mis2._currentframe == 1) {
mis2._x = _root.heli._x;
mis2._y = _root.heli._y;
mis2._rotation = _root.heli._rotation + 90;
_root.missammo = _root.missammo - 1;
mis2.play();
}
if ((mis2._y > 385) & (mis2._currentframe == 2)) {
mis2.gotoAndPlay(3);
}
if ((mis2._currentframe != 2) & (mis2._currentframe != 1)) {
mis2._rotation = 90;
}
if (mis2._currentframe == 16) {
mis2.swapDepths(5);
mis2.removeMovieClip();
}
if ((mis2._currentframe == 2) || (mis2._currentframe == 1)) {
if (mis2.hitTest(_root.ag)) {
mis2.play();
}
if (mis2.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
mis2.play();
}
if (mis2.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 10;
mis2.play();
}
if (mis2.hitTest(_root.bos4)) {
_root.boss4life = _root.boss4life - 10;
mis2.play();
}
if (mis2.hitTest(_root.bos5)) {
_root.boss5life = _root.boss5life - 10;
mis2.play();
}
if (mis2.hitTest(_root.ad)) {
mis2.play();
}
if (mis2.hitTest(_root.ak)) {
mis2.play();
}
if (mis2.hitTest(_root.ah)) {
mis2.play();
}
if (mis2.hitTest(_root.ag)) {
mis2.play();
}
if (mis2.hitTest(_root.af)) {
mis2.play();
}
if (mis2.hitTest(_root.al)) {
mis2.play();
}
if (mis2.hitTest(_root.p1)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.p2)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.p3)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.qw)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.qe)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.qr)) {
mis2.gotoAndPlay(17);
}
if (mis2.hitTest(_root.ws)) {
mis2.play();
}
}
if (mis2._currentframe == 2) {
if (mis2._rotation > -30) {
mis2._rotation = mis2._rotation - 6;
}
mis2._y = mis2._y + (15 * Math.sin(mis2._rotation * (Math.PI/180)));
mis2._x = mis2._x + (15 * Math.cos(mis2._rotation * (Math.PI/180)));
if ((mis2._x > 700) || (_root._currentframe == 11)) {
mis2.swapDepths(5);
mis2.removeMovieClip();
}
}
};
if (((_root.fir == 1) & (_root.missammo > 0)) & (((_root.tran2 == 1) || (_root.tran3 == 1)) || (_root.tran4 == 1))) {
var mis3 = _root.attachMovie("mis3", "mis3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
mis3.onEnterFrame = function () {
var _local2 = mis3._currentframe;
if (mis3._currentframe == 1) {
mis3._x = _root.heli._x;
mis3._y = _root.heli._y;
mis3._rotation = _root.heli._rotation - 90;
_root.missammo = _root.missammo - 1;
mis3.play();
}
if ((mis3._y > 385) && (mis3._currentframe == 2)) {
mis3.gotoAndPlay(3);
}
if ((mis3._currentframe != 2) & (mis3._currentframe != 1)) {
mis3._rotation = 90;
}
if (mis3._currentframe == 16) {
mis3.swapDepths(5);
mis3.removeMovieClip();
}
if ((mis3._currentframe == 2) || (mis3._currentframe == 3)) {
if (mis3.hitTest(_root.ag)) {
mis3.play();
}
if (mis3.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
mis3.play();
}
if (mis3.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 10;
mis3.play();
}
if (mis3.hitTest(_root.bos4)) {
_root.boss4life = _root.boss4life - 10;
mis3.play();
}
if (mis3.hitTest(_root.bos5)) {
_root.boss5life = _root.boss5life - 10;
mis3.play();
}
if (mis3.hitTest(_root.ad)) {
mis3.play();
}
if (mis3.hitTest(_root.ak)) {
mis3.play();
}
if (mis3.hitTest(_root.ah)) {
mis3.play();
}
if (mis3.hitTest(_root.ag)) {
mis3.play();
}
if (mis3.hitTest(_root.af)) {
mis3.play();
}
if (mis3.hitTest(_root.al)) {
mis3.play();
}
if (mis3.hitTest(_root.p1)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.p2)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.p3)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.qw)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.qe)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.qr)) {
mis3.gotoAndPlay(17);
}
if (mis3.hitTest(_root.ws)) {
mis3.play();
}
}
if (mis3._currentframe == 2) {
if (mis3._rotation < 30) {
mis3._rotation = mis3._rotation + 6;
}
mis3._y = mis3._y + (15 * Math.sin(mis3._rotation * (Math.PI/180)));
mis3._x = mis3._x + (15 * Math.cos(mis3._rotation * (Math.PI/180)));
if ((mis3._x > 700) || (_root._currentframe == 11)) {
mis3.swapDepths(5);
mis3.removeMovieClip();
}
}
};
if ((_root.fir2 == 1) & (((_root.tran2 == 1) || (_root.tran3 == 1)) || (_root.tran4 == 1))) {
var sho2 = _root.attachMovie("sho2", "sho2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
sho2.onEnterFrame = function () {
if (sho2._currentframe == 1) {
sho2._x = _root.heli._x;
sho2._y = _root.heli._y;
sho2._rotation = _root.heli._rotation;
sho2.play();
}
if ((sho2._y > 372) && (sho2._currentframe == 2)) {
sho2.play();
}
if (sho2._currentframe == 6) {
sho2.swapDepths(5);
sho2.removeMovieClip();
}
if (sho2.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 2;
sho2.play();
}
if (sho2.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 4;
sho2.play();
}
if (sho2.hitTest(_root.bos4)) {
_root.boss4life = _root.boss4life - 4;
sho2.play();
}
if (sho2.hitTest(_root.bos5)) {
_root.boss5life = _root.boss5life - 4;
sho2.play();
}
if (sho2.hitTest(_root.ad)) {
sho2.play();
}
if (sho2.hitTest(_root.ak)) {
sho2.play();
}
if (sho2.hitTest(_root.ah)) {
sho2.play();
}
if (sho2.hitTest(_root.ag)) {
sho2.play();
}
if (sho2.hitTest(_root.af)) {
sho2.play();
}
if (sho2.hitTest(_root.al)) {
sho2.play();
}
if (sho2.hitTest(_root.p1)) {
sho2.play();
}
if (sho2.hitTest(_root.p2)) {
sho2.play();
}
if (sho2.hitTest(_root.p3)) {
sho2.play();
}
if (sho2.hitTest(_root.qw)) {
sho2.play();
}
if (sho2.hitTest(_root.qe)) {
sho2.play();
}
if (sho2.hitTest(_root.qr)) {
sho2.play();
}
if (sho2.hitTest(_root.ws)) {
sho2.play();
}
if (sho2._currentframe == 2) {
sho2._y = sho2._y + (25 * Math.sin(sho2._rotation * (Math.PI/180)));
sho2._x = sho2._x + (25 * Math.cos(sho2._rotation * (Math.PI/180)));
if ((sho2._x > 650) || (_root._currentframe == 11)) {
sho2.swapDepths(5);
sho2.removeMovieClip();
}
}
};
if ((_root.fir2 == 1) & ((_root.tran3 == 1) || (_root.tran4 == 1))) {
var sho3 = _root.attachMovie("sho3", "sho3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
sho3.onEnterFrame = function () {
if (sho3._currentframe == 1) {
sho3._x = _root.heli._x;
sho3._y = _root.heli._y;
sho3._rotation = _root.heli._rotation;
sho3.play();
}
if ((sho3._y > 372) && (sho3._currentframe == 2)) {
sho3.play();
}
if (sho3._currentframe == 6) {
sho3.swapDepths(5);
sho3.removeMovieClip();
}
if (sho3.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 2;
sho3.play();
}
if (sho3.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 4;
sho3.play();
}
if (sho3.hitTest(_root.bos4)) {
_root.boss4life = _root.boss4life - 4;
sho3.play();
}
if (sho3.hitTest(_root.bos5)) {
_root.boss5life = _root.boss5life - 4;
sho3.play();
}
if (sho3.hitTest(_root.ad)) {
sho3.play();
}
if (sho3.hitTest(_root.ak)) {
sho3.play();
}
if (sho3.hitTest(_root.ah)) {
sho3.play();
}
if (sho3.hitTest(_root.ag)) {
sho3.play();
}
if (sho3.hitTest(_root.af)) {
sho3.play();
}
if (sho3.hitTest(_root.al)) {
sho3.play();
}
if (sho3.hitTest(_root.p1)) {
sho3.play();
}
if (sho3.hitTest(_root.p2)) {
sho3.play();
}
if (sho3.hitTest(_root.p3)) {
sho3.play();
}
if (sho3.hitTest(_root.qw)) {
sho3.play();
}
if (sho3.hitTest(_root.qe)) {
sho3.play();
}
if (sho3.hitTest(_root.qr)) {
sho3.play();
}
if (sho3.hitTest(_root.ws)) {
sho3.play();
}
if (sho3._currentframe == 2) {
sho3._y = sho3._y + (25 * Math.sin(sho3._rotation * (Math.PI/180)));
sho3._x = sho3._x + (25 * Math.cos(sho3._rotation * (Math.PI/180)));
if ((sho3._x > 650) || (_root._currentframe == 11)) {
sho3.swapDepths(5);
sho3.removeMovieClip();
}
}
};
if (random(1000) > 998) {
var drop1 = _root.attachMovie("drop1", "drop1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
drop1.onEnterFrame = function () {
if (drop1._currentframe == 1) {
drop1._x = random(200) + 350;
drop1._y = -70;
drop1.play();
}
if (drop1._currentframe == 2) {
drop1._y = drop1._y + 3;
drop1._x = drop1._x - 3;
if (drop1.hitTest(_root.heli)) {
drop1.gotoAndStop(6);
_root.life = 100;
}
if (drop1._y > 375) {
drop1.play();
}
}
if (drop1._currentframe == 6) {
drop1.swapDepths(5);
drop1.removeMovieClip();
}
};
if (random(1000) > 995) {
var drop2 = _root.attachMovie("drop2", "drop2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
drop2.onEnterFrame = function () {
if (drop2._currentframe == 1) {
drop2._x = random(200) + 350;
drop2._y = -70;
drop2.play();
}
if (drop2._currentframe == 2) {
drop2._y = drop2._y + 3;
drop2._x = drop2._x - 3;
if (drop2.hitTest(_root.heli)) {
drop2.gotoAndStop(6);
_root.bombammo = _root.bombammo + 5;
}
if (drop2._y > 375) {
drop2.play();
}
}
if (drop2._currentframe == 6) {
drop2.swapDepths(5);
drop2.removeMovieClip();
}
};
if (random(1000) > 995) {
var drop3 = _root.attachMovie("drop3", "drop3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
drop3.onEnterFrame = function () {
if (drop3._currentframe == 1) {
drop3._x = random(200) + 350;
drop3._y = -70;
drop3.play();
}
if (drop3._currentframe == 2) {
drop3._y = drop3._y + 3;
drop3._x = drop3._x - 3;
if (drop3.hitTest(_root.heli)) {
drop3.gotoAndStop(6);
_root.missammo = _root.missammo + 15;
}
if (drop3._y > 375) {
drop3.play();
}
}
if (drop3._currentframe == 6) {
drop3.swapDepths(5);
drop3.removeMovieClip();
}
};
if (((_root.ak._x > 0) & (random(1000) > 990)) & (_root.scor > 1400)) {
var enfir = _root.attachMovie("enfir", "enfir" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
enfir.onEnterFrame = function () {
if (enfir._currentframe == 1) {
enfir._x = _root.ak._x - 50;
enfir._y = _root.ak._y - 30;
enfir._rotation = -60;
enfir.play();
}
if (enfir._currentframe == 2) {
enfir._rotation = enfir._rotation + 0.2;
enfir._y = enfir._y + (8 * Math.sin(enfir._rotation * (Math.PI/180)));
enfir._x = enfir._x + (8 * Math.cos(enfir._rotation * (Math.PI/180)));
if (enfir.hitTest(_root.heli)) {
enfir.play();
_root.life = _root.life - 1;
}
if ((enfir._x > 700) || (_root._currentframe == 11)) {
enfir.swapDepths(5);
enfir.removeMovieClip();
}
}
if (enfir._currentframe == 16) {
enfir.swapDepths(5);
enfir.removeMovieClip();
}
};
if ((_root.p2._x < 600) & (random(1000) > 990)) {
var minka1 = _root.attachMovie("minka1", "minka1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
minka1.onEnterFrame = function () {
if (minka1._currentframe == 1) {
minka1._x = _root.p2._x;
minka1._y = _root.p2._y;
minka1.play();
}
if ((minka1._y > 355) && (minka1._currentframe == 2)) {
minka1.gotoAndPlay(3);
}
if (minka1._currentframe == 16) {
minka1.swapDepths(5);
minka1.removeMovieClip();
}
if (minka1.hitTest(_root.heli)) {
minka1.play();
_root.life = _root.life - 1;
}
if (minka1._currentframe == 2) {
minka1._x = minka1._x - 3;
minka1._y = minka1._y + 1;
if ((minka1._x > 700) || (_root._currentframe == 11)) {
minka1.swapDepths(5);
minka1.removeMovieClip();
}
}
};
if ((_root.qe._x > 0) & (random(1000) > 100)) {
var minka2 = _root.attachMovie("minka2", "minka2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
minka2.onEnterFrame = function () {
if (minka2._currentframe == 1) {
minka2._x = _root.qe._x;
minka2._y = _root.qe._y;
minka2.play();
}
if ((minka2._y > 355) && (minka2._currentframe == 2)) {
minka2.gotoAndPlay(3);
}
if (minka2._currentframe == 16) {
minka2.swapDepths(5);
minka2.removeMovieClip();
}
if (minka2.hitTest(_root.heli)) {
minka2.play();
_root.life = _root.life - 1;
}
if (minka2._currentframe == 2) {
minka2._x = minka2._x - 3;
minka2._y = minka2._y + 1;
if ((minka2._x > 700) || (_root._currentframe == 11)) {
minka2.swapDepths(5);
minka2.removeMovieClip();
}
}
};
if ((_root.boss3 == 1) & (random(1000) > 980)) {
var lsr = _root.attachMovie("lsr", "lsr" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
lsr.onEnterFrame = function () {
if (lsr._currentframe == 1) {
lsr._x = _root.robo3reka._x;
lsr._y = _root.robo3reka._y;
lsr._rotation = _root.robo3reka._rotation;
lsr.play();
}
if (lsr._currentframe == 2) {
lsr._y = lsr._y + (5 * Math.sin(lsr._rotation * (Math.PI/180)));
lsr._x = lsr._x + (5 * Math.cos(lsr._rotation * (Math.PI/180)));
if (lsr.hitTest(_root.heli)) {
lsr.play();
_root.life = _root.life - 1;
}
if (((lsr._x > 750) || (lsr._x < -150)) || (_root._currentframe == 11)) {
lsr.swapDepths(5);
lsr.removeMovieClip();
}
if (lsr._currentframe == 16) {
lsr.swapDepths(5);
lsr.removeMovieClip();
}
}
};
if ((_root.boss4 == 1) & (random(1000) > 980)) {
var lsr2 = _root.attachMovie("lsr2", "lsr2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
lsr2.onEnterFrame = function () {
if (lsr2._currentframe == 1) {
lsr2._x = _root.robo4reka._x;
lsr2._y = _root.robo4reka._y;
lsr2._rotation = _root.robo4reka._rotation;
lsr2.play();
}
if (lsr2._currentframe == 2) {
lsr2._y = lsr2._y + (4 * Math.sin(lsr2._rotation * (Math.PI/180)));
lsr2._x = lsr2._x + (4 * Math.cos(lsr2._rotation * (Math.PI/180)));
if (lsr2.hitTest(_root.heli)) {
lsr2.play();
_root.life = _root.life - 1;
}
if (((lsr2._x > 750) || (lsr2._x < -150)) || (_root._currentframe == 11)) {
lsr2.swapDepths(5);
lsr2.removeMovieClip();
}
if (lsr2._currentframe == 16) {
lsr2.swapDepths(5);
lsr2.removeMovieClip();
}
}
};
if ((_root.boss5 == 1) & (random(1000) > 975)) {
var lsr3 = _root.attachMovie("lsr3", "lsr3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
lsr3.onEnterFrame = function () {
if (lsr3._currentframe == 1) {
lsr3._x = _root.robo5reka._x;
lsr3._y = _root.robo5reka._y;
lsr3._rotation = _root.robo5reka._rotation;
lsr3.play();
}
if (lsr3._currentframe == 2) {
lsr3._y = lsr3._y + (5 * Math.sin(lsr3._rotation * (Math.PI/180)));
lsr3._x = lsr3._x + (5 * Math.cos(lsr3._rotation * (Math.PI/180)));
if (lsr3.hitTest(_root.heli)) {
lsr3.play();
_root.life = _root.life - 1;
}
if (((lsr3._x > 750) || (lsr3._x < -150)) || (_root._currentframe == 11)) {
lsr3.swapDepths(5);
lsr3.removeMovieClip();
}
if (lsr3._currentframe == 16) {
lsr3.swapDepths(5);
lsr3.removeMovieClip();
}
}
};
if ((((_root.af._x < 600) & (random(1000) > 990)) && (_root.af._currentframe != 13)) && (_root.af._currentframe != 12)) {
var enfir2 = _root.attachMovie("enfir2", "enfir2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
enfir2.onEnterFrame = function () {
if (enfir2._currentframe == 1) {
enfir2._x = _root.af._x;
enfir2._y = _root.af._y - 50;
enfir2._rotation = -60;
enfir2.play();
}
if (enfir2._currentframe == 2) {
enfir2._rotation = enfir2._rotation + 0.2;
enfir2._y = enfir2._y + (8 * Math.sin(enfir2._rotation * (Math.PI/180)));
enfir2._x = enfir2._x + (8 * Math.cos(enfir2._rotation * (Math.PI/180)));
if (enfir2.hitTest(_root.heli)) {
enfir2.play();
_root.life = _root.life - 1;
}
if ((enfir2._x > 700) || (_root._currentframe == 11)) {
enfir2.swapDepths(5);
enfir2.removeMovieClip();
}
}
if (enfir2._currentframe == 16) {
enfir2.swapDepths(5);
enfir2.removeMovieClip();
}
};
if ((((_root.ah._x < 600) && (random(1000) > 990)) && (_root.ah._currentframe != 15)) && (_root.ah._currentframe != 16)) {
var enfir3 = _root.attachMovie("enfir3", "enfir3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
enfir3.onEnterFrame = function () {
if (enfir3._currentframe == 1) {
enfir3._x = _root.ah._x + 50;
enfir3._y = _root.ah._y - 50;
enfir3._rotation = -60;
enfir3.play();
}
if (enfir3._currentframe == 2) {
enfir3._rotation = enfir3._rotation + 0.2;
enfir3._y = enfir3._y + (8 * Math.sin(enfir3._rotation * (Math.PI/180)));
enfir3._x = enfir3._x + (8 * Math.cos(enfir3._rotation * (Math.PI/180)));
if (enfir3.hitTest(_root.heli)) {
enfir3.play();
_root.life = _root.life - 1;
}
if ((enfir3._x > 700) || (_root._currentframe == 11)) {
enfir3.swapDepths(5);
enfir3.removeMovieClip();
}
}
if (enfir3._currentframe == 16) {
enfir3.swapDepths(5);
enfir3.removeMovieClip();
}
};
if ((_root.fir4 == 1) & (_root.missammo > 0)) {
var laserm = _root.attachMovie("laserm", "laserm" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
laserm.onEnterFrame = function () {
var _local2 = laserm._currentframe;
if (laserm._currentframe == 1) {
laserm._x = _root.heli._x;
laserm._y = _root.heli._y;
laserm._rotation = _root.heli._rotation;
_root.missammo = _root.missammo - 1;
laserm.gotoAndPlay(2);
}
if (laserm._currentframe == 16) {
laserm.swapDepths(5);
laserm.removeMovieClip();
}
if ((laserm._currentframe != 16) || (laserm._currentframe != 1)) {
if (laserm.hitTest(_root.ag)) {
laserm.play();
}
if (laserm.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 5;
}
if (laserm.hitTest(_root.bos2)) {
_root.boss2life = _root.boss2life - 5;
}
if (laserm.hitTest(_root.bos3)) {
_root.boss3life = _root.boss3life - 5;
}
if (laserm.hitTest(_root.bos5)) {
_root.boss5life = _root.boss5life - 5;
}
if (laserm.hitTest(_root.bos5)) {
_root.boss5life = _root.boss5life - 5;
}
if (laserm.hitTest(_root.ad)) {
laserm.play();
}
if (laserm.hitTest(_root.ak)) {
laserm.play();
}
if (laserm.hitTest(_root.ah)) {
laserm.play();
}
if (laserm.hitTest(_root.ag)) {
laserm.play();
}
if (laserm.hitTest(_root.af)) {
laserm.play();
}
if (laserm.hitTest(_root.al)) {
laserm.play();
}
if (laserm.hitTest(_root.p1)) {
laserm.gotoAndPlay(17);
}
if (laserm.hitTest(_root.p2)) {
laserm.gotoAndPlay(17);
}
if (laserm.hitTest(_root.p3)) {
laserm.gotoAndPlay(17);
}
if (laserm.hitTest(_root.qw)) {
laserm.gotoAndPlay(17);
}
if (laserm.hitTest(_root.qe)) {
laserm.gotoAndPlay(17);
}
if (laserm.hitTest(_root.qr)) {
laserm.gotoAndPlay(17);
}
if (laserm.hitTest(_root.ws)) {
laserm.play();
}
}
};
if ((((_root.al._x > 0) && (random(1000) > 990)) && (_root.al._currentframe != 15)) && (_root.al._currentframe != 16)) {
var enfir4 = _root.attachMovie("enfir4", "enfir4" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
enfir4.onEnterFrame = function () {
if (enfir4._currentframe == 1) {
enfir4._x = _root.al._x - 50;
enfir4._y = _root.al._y - 50;
enfir4._rotation = 240;
enfir4.play();
}
if (enfir4._currentframe == 2) {
enfir4._rotation = enfir4._rotation - 0.2;
enfir4._y = enfir4._y + (8 * Math.sin(enfir4._rotation * (Math.PI/180)));
enfir4._x = enfir4._x + (8 * Math.cos(enfir4._rotation * (Math.PI/180)));
if (enfir4.hitTest(_root.heli)) {
enfir4.play();
_root.life = _root.life - 1;
}
if ((enfir4._x < -70) || (_root._currentframe == 11)) {
enfir4.swapDepths(5);
enfir4.removeMovieClip();
}
}
if (enfir4._currentframe == 16) {
enfir4.swapDepths(5);
enfir4.removeMovieClip();
}
};
}
};
Instance of Symbol 682 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_x = _root.bos5._x;
_y = _root.bos5._y;
if ((_root.tran4 == 0) & (_root.boss5life < 10)) {
gotoAndStop (2);
}
}
if (_currentframe == 2) {
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
var loco = (Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180));
_y = (_y + (4 * Math.sin(loco * (Math.PI/180))));
_x = (_x + (2 * Math.cos(loco * (Math.PI/180))));
if (hitTest(_root.heli)) {
gotoAndPlay (3);
_root.tran2 = 0;
_root.tran3 = 0;
_root.tran4 = 1;
}
}
if (_currentframe == 14) {
this.swapDepths(5);
this.removeMovieClip();
}
}
Instance of Symbol 458 MovieClip "qw" in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if ((_currentframe == 1) & (random(1000) > 992)) {
play();
}
if (_y > 200) {
_y = 200;
}
if ((_currentframe != 1) & (_currentframe != 20)) {
if ((_x >= 70) & (_y <= 200)) {
_x = (_x - (random(3) - 3));
_y = (_y + (random(3) + 3));
} else {
_x = (_x - 6);
}
if (_x < -100) {
_x = (random(600) + 200);
_y = -55;
gotoAndStop (1);
}
}
if (_currentframe == 20) {
_x = (_x - 1);
_y = (_y + 4);
if (_y > 360) {
play();
}
}
if (_currentframe == 27) {
_x = 714;
_root.scor = _root.scor + 5;
gotoAndStop (1);
}
}
}
Instance of Symbol 407 MovieClip in Frame 10
onClipEvent (enterFrame) {
_root.pion = 3;
if (Key.isDown(90)) {
if (_currentframe == 1) {
_root.fir = 1;
_root.pion = 3;
play();
}
} else {
_root.fir = 0;
_root.pion = 3;
}
if (_currentframe != 1) {
_root.fir = 0;
_root.pion = 3;
}
}
Instance of Symbol 409 MovieClip in Frame 10
onClipEvent (enterFrame) {
_root.pion = 3;
if (Key.isDown(88)) {
if (_currentframe == 1) {
_root.fir2 = 1;
_root.pion = 3;
play();
}
} else {
_root.fir2 = 0;
_root.pion = 3;
}
if (_currentframe != 1) {
_root.fir2 = 0;
_root.pion = 3;
}
}
Instance of Symbol 458 MovieClip "qr" in Frame 10
onClipEvent (enterFrame) {
if ((_currentframe == 1) & (random(1000) > 995)) {
_x = 700;
_y = random(150);
dx = Math.atan2(_root.heli._y - _y, _root.heli._x - _x) / (Math.PI/180);
xSpeed = 10 * Math.cos(dx * (Math.PI/180));
ySpeed = 10 * Math.sin(dx * (Math.PI/180));
play();
}
if ((_currentframe != 1) & (_currentframe != 20)) {
_y = (_y + ySpeed);
_x = (_x + xSpeed);
if (_x < -100) {
gotoAndStop (1);
}
}
if (_currentframe == 20) {
_x = (_x - 1);
_y = (_y + 4);
if (_y > 360) {
play();
}
}
if (_currentframe == 27) {
_x = 714;
_root.scor = _root.scor + 5;
gotoAndStop (1);
}
}
Instance of Symbol 458 MovieClip "qe" in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (((_currentframe == 1) & (random(1000) > 990)) & (_root.scor > 1420)) {
play();
}
if ((_currentframe != 1) & (_currentframe != 20)) {
_rotation = 210;
_y = (_y - 2);
_x = (_x + 6);
if ((_x > 750) & (_y < -100)) {
_x = -200;
_y = (random(230) + 100);
gotoAndStop (1);
}
}
if (_currentframe == 20) {
_rotation = 0;
_x = (_x - 1);
_y = (_y + 6);
if (_y > 360) {
play();
}
}
if (_currentframe == 27) {
_x = 714;
_root.scor = _root.scor + 5;
gotoAndStop (1);
}
}
}
Instance of Symbol 460 MovieClip in Frame 10
onClipEvent (enterFrame) {
_root.pion = 3;
if (Key.isDown(67)) {
if (_currentframe == 1) {
_root.fir3 = 1;
_root.pion = 3;
play();
}
} else {
_root.fir3 = 0;
_root.pion = 3;
}
if (_currentframe != 1) {
_root.fir3 = 0;
_root.pion = 3;
}
}
Instance of Symbol 506 MovieClip "ag" in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (random(10000) > 9860) {
play();
}
}
if (_currentframe != 1) {
_x = (_x - 2);
_x - 2;
}
if (_x < -100) {
_x = (random(850) + 650);
gotoAndStop (1);
}
if (_currentframe == 12) {
_x = (random(850) + 650);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
}
}
Instance of Symbol 530 MovieClip "ad" in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (random(100) > 60) {
play();
}
}
if (_currentframe != 1) {
_x = (_x - 1);
_x - 1;
}
if (_x < -100) {
_x = (random(850) + 650);
gotoAndStop (1);
}
if (_currentframe == 20) {
_x = (random(850) + 650);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
}
}
Instance of Symbol 614 MovieClip "af" in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if ((random(1000) > 750) & (_root.scor > 1550)) {
play();
}
}
if (_currentframe != 1) {
_x = (_x - 2);
_x - 2;
}
if (_x < -100) {
_x = (random(850) + 650);
gotoAndStop (1);
}
if (_currentframe == 13) {
_x = (random(850) + 650);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
}
}
Instance of Symbol 974 MovieClip "ah" in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if ((random(1000) > 950) & (_root.scor > 1500)) {
play();
}
}
if (_currentframe != 1) {
_x = (_x - 2);
_x - 2;
}
if (_x < -100) {
_x = (random(850) + 650);
gotoAndStop (1);
}
if (_currentframe == 20) {
_x = (random(850) + 650);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
}
}
Instance of Symbol 585 MovieClip "ak" in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
play();
}
if (_currentframe != 1) {
_x = (_x + 2);
_x + 2;
}
if (_x > 680) {
_x = (-1 * random(600));
gotoAndStop (1);
}
if (_currentframe == 11) {
_x = (-1 * random(600));
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
}
}
Instance of Symbol 566 MovieClip "p3" in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (((_currentframe == 1) & (random(1000) > 995)) & (_root.scor > 1500)) {
fx = Math.atan2(_root.heli._y - _y, _root.heli._x - _x) / (Math.PI/180);
_rotation = fx;
xSpeed = 9 * Math.cos(fx * (Math.PI/180));
ySpeed = 9 * Math.sin(fx * (Math.PI/180));
play();
}
if (_currentframe != 1) {
_y = (_y + ySpeed);
_x = (_x + xSpeed);
if (_y >= 310) {
_rotation = 0;
_y = 310;
_x = (_x + 11);
}
}
if (_x > 600) {
_x = ((random(400) * -1) - 150);
_y = 100;
gotoAndStop (1);
}
if (_currentframe == 11) {
_x = (_x + 3);
_y = (_y + 7);
if (_y > 370) {
_y = 370;
play();
}
}
if (_currentframe == 18) {
_x = 714;
_root.scor = _root.scor + 5;
gotoAndStop (1);
}
}
}
Instance of Symbol 666 MovieClip "p1" in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if ((_currentframe == 1) & (random(1000) > 998)) {
play();
}
if (_currentframe != 1) {
_x = (_x + 6);
_y = (_y + 0);
_y + 0;
}
if (_x > 600) {
_x = ((random(400) * -1) - 100);
_y = 150;
gotoAndStop (1);
}
if (_currentframe == 17) {
_x = (_x + 3);
_y = (_y + 7);
if (_y > 370) {
_y = 370;
play();
}
}
if (_currentframe == 24) {
_x = 714;
_root.scor = _root.scor + 5;
gotoAndStop (1);
}
}
}
Instance of Symbol 974 MovieClip "al" in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if ((_currentframe == 1) & (_root.scor > 1450)) {
play();
}
if (_currentframe != 1) {
_x = (_x + 2);
_x + 2;
}
if (_x > 680) {
_x = (-1 * random(600));
gotoAndStop (1);
}
if (_currentframe == 20) {
_x = (-1 * random(600));
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
}
}
Instance of Symbol 639 MovieClip "ws" in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (random(1000) > 99) {
play();
}
}
if (_currentframe != 1) {
_x = (_x - 10);
}
if (_x < -100) {
_x = (random(1200) + 900);
gotoAndStop (1);
}
if (_currentframe == 20) {
_x = (random(1200) + 900);
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if (_root.scor > 320) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 1062 MovieClip "bos5" in Frame 10
onClipEvent (load) {
xscale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.boss5 == 1) {
if (_root.boss5 == 1) {
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
loc = Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180);
_x = (_x + (5 * Math.cos(loc * (Math.PI/180))));
}
}
if ((_root.boss5life < 10) & (_currentframe != 30)) {
play();
}
if (_currentframe == 30) {
_x = 1000;
}
}
Instance of Symbol 666 MovieClip "p2" in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
_rotation = 180;
_y = random(150);
if ((random(1000) > 989) & (_root.scor > 1420)) {
play();
}
}
if ((_currentframe != 1) & (_currentframe != 17)) {
_x = (_x - 8);
if ((_x < 500) & (_rotation <= 210)) {
_rotation = (_rotation + 1);
}
_y = (_y + (6 * Math.sin(_rotation * (Math.PI/180))));
_x = (_x + (7 * Math.cos(_rotation * (Math.PI/180))));
if (_x < -100) {
_x = 803;
_y = (random(100) + 200);
gotoAndStop (1);
}
}
if (_currentframe == 17) {
_x = (_x - 3);
_y = (_y + 7);
if (_y > 370) {
_y = 370;
play();
}
}
if (_currentframe == 24) {
_x = 803;
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
}
}
Instance of Symbol 1064 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe != 3000) {
_root.boss5 = 0;
} else {
_root.boss5 = 1;
}
if ((_root.boss5life < 10) && (_currentframe == 3000)) {
gotoAndPlay (1);
}
}
}
Instance of Symbol 1066 MovieClip "robo5reka" in Frame 10
onClipEvent (load) {
xscale = _xscale;
yscale = _yscale;
}
onClipEvent (enterFrame) {
if (_root.boss5life > 10) {
_x = _root.bos5._x;
_y = _root.bos5._y;
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
_rotation = (Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180));
if (_x < _root.heli._x) {
_yscale = (-yscale);
} else {
_yscale = yscale;
}
}
if (_root.boss5life < 10) {
_rotation = 0;
_y = (_y + 5);
if (_y > 380) {
_y = 380;
_x = (_x - 3);
}
if (_x < -150) {
_root.boss5life = 3000;
_x = _root.boss5._x;
_y = _root.boss5._y;
_root.bos5.gotoAndStop(1);
}
}
}
Instance of Symbol 990 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe != 2300) {
_root.boss4 = 0;
} else {
_root.boss4 = 1;
}
if ((_root.boss4life < 10) && (_currentframe == 2300)) {
gotoAndPlay (1);
}
}
}
Instance of Symbol 978 MovieClip "bos3" in Frame 10
onClipEvent (load) {
xscale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_root.boss3 == 1) {
if (_x > 450) {
_x = (_x - 3);
}
if (_y > 210) {
_y = 210;
}
if ((_root.boss3life < 10) & (_currentframe != 17)) {
play();
}
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
loc = Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180);
_y = (_y + (5 * Math.sin(loc * (Math.PI/180))));
if (_x < _root.heli._x) {
_xscale = (-xscale);
} else {
_xscale = xscale;
}
}
if (_currentframe == 17) {
_x = 1000;
if ((_root.scor > 1300) & (_root.boss3 != 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
}
Instance of Symbol 981 MovieClip "robo3reka" in Frame 10
onClipEvent (load) {
xscale = _xscale;
yscale = _yscale;
}
onClipEvent (enterFrame) {
if (_root.boss3life > 10) {
_x = _root.bos3._x;
_y = _root.bos3._y;
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
_rotation = (Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180));
if (_x < _root.heli._x) {
_yscale = (-yscale);
} else {
_yscale = yscale;
}
}
if (_root.boss3life < 10) {
_rotation = 0;
_y = (_y + 5);
if (_y > 380) {
_y = 380;
_x = (_x - 3);
}
if (_x < -150) {
_root.boss3life = 3000;
if (_root.scor > 520) {
this.swapDepths(5);
this.removeMovieClip();
}
_x = _root.boss3._x;
_y = _root.boss3._y;
_root.bos3.gotoAndStop(1);
}
}
}
Instance of Symbol 983 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe != 4000) {
_root.boss3 = 0;
} else {
_root.boss3 = 1;
}
if ((_root.boss3life < 10) && (_currentframe == 4000)) {
gotoAndPlay (1);
}
}
}
Instance of Symbol 756 MovieClip "bos4" in Frame 10
onClipEvent (load) {
xscale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_root.boss4 == 1) {
if (_root.boss4 == 1) {
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
loc = Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180);
_x = (_x + (5 * Math.cos(loc * (Math.PI/180))));
}
if ((_root.boss4life < 10) & (_currentframe != 30)) {
play();
}
}
if (_currentframe == 30) {
_x = 1000;
if ((_root.scor > 1300) & (_root.boss4 != 1)) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
}
Instance of Symbol 986 MovieClip "robo4reka" in Frame 10
onClipEvent (load) {
xscale = _xscale;
yscale = _yscale;
}
onClipEvent (enterFrame) {
if (_root.boss4life > 10) {
_x = _root.bos4._x;
_y = _root.bos4._y;
_root.newx = _root.heli._y;
_root.newy = _root.heli._x;
var initx = _x;
var inity = _y;
_rotation = (Math.atan2(_root.newx - inity, _root.newy - initx) / (Math.PI/180));
if (_x < _root.heli._x) {
_yscale = (-yscale);
} else {
_yscale = yscale;
}
}
if (_root.boss4life < 10) {
_rotation = 0;
_y = (_y + 5);
if (_y > 380) {
_y = 380;
_x = (_x - 3);
}
if (_x < -150) {
_root.boss4life = 3000;
if (_root.scor > 1400) {
this.swapDepths(5);
this.removeMovieClip();
}
_x = _root.boss4._x;
_y = _root.boss4._y;
_root.bos4.gotoAndStop(1);
}
}
}
Instance of Symbol 1106 MovieClip in Frame 10
onClipEvent (enterFrame) {
if ((_root.scor > 1820) & (_currentframe == 1)) {
gotoAndPlay (2);
}
}
Instance of Symbol 745 MovieClip "pause" in Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(80)) {
_root.POU = 1;
}
if (_root.POU == 1) {
gotoAndStop (2);
_visible = true;
}
if (_root.POU == 0) {
gotoAndStop (1);
_visible = false;
}
}
Frame 11
onEnterFrame = function () {
stop();
var _local2 = 0;
if (_root.kon == 1) {
delete _root.onEnterFrame;
_root.gotoAndStop(4);
}
};
stop();
_quality = "HIGH";
Frame 12
stop();
_quality = "HIGH";
Symbol 23 MovieClip [luska] Frame 1
stop();
Symbol 23 MovieClip [luska] Frame 25
stop();
Symbol 23 MovieClip [luska] Frame 59
stop();
Symbol 23 MovieClip [luska] Frame 90
stop();
Symbol 27 MovieClip Frame 11
Symbol 35 MovieClip [minka4] Frame 1
stop();
Symbol 35 MovieClip [minka4] Frame 2
stop();
Symbol 35 MovieClip [minka4] Frame 16
stop();
Symbol 36 MovieClip [minka3] Frame 1
stop();
Symbol 36 MovieClip [minka3] Frame 2
stop();
Symbol 36 MovieClip [minka3] Frame 16
stop();
Symbol 41 MovieClip [enfir4] Frame 1
stop();
Symbol 41 MovieClip [enfir4] Frame 2
stop();
Symbol 41 MovieClip [enfir4] Frame 16
stop();
Symbol 44 MovieClip [enfir3] Frame 1
stop();
Symbol 44 MovieClip [enfir3] Frame 2
stop();
Symbol 44 MovieClip [enfir3] Frame 16
stop();
Symbol 48 MovieClip [lsr3] Frame 1
stop();
Symbol 48 MovieClip [lsr3] Frame 2
stop();
Symbol 48 MovieClip [lsr3] Frame 17
stop();
Symbol 55 MovieClip [laserm] Frame 1
stop();
Instance of Symbol 51 MovieClip in Symbol 55 MovieClip [laserm] Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.ad)) {
var adc = _root.ad._currentframe;
if (adc < 7) {
_root.ad.gotoAndPlay(7);
}
}
if (hitTest(_root.ak)) {
var akc = _root.ak._currentframe;
if (akc < 7) {
_root.ak.gotoAndPlay(7);
}
}
if (hitTest(_root.qw)) {
_root.qw.gotoAndStop(20);
}
if (hitTest(_root.qr)) {
_root.qr.gotoAndStop(20);
}
if (hitTest(_root.qe)) {
_root.qe.gotoAndStop(20);
}
if (hitTest(_root.af)) {
_root.af.gotoAndStop(12);
}
if (hitTest(_root.ah)) {
_root.ah.gotoAndStop(15);
}
if (hitTest(_root.al)) {
_root.al.gotoAndStop(15);
}
if (hitTest(_root.ws)) {
_root.ws.gotoAndStop(8);
}
if (hitTest(_root.al)) {
_root.al.gotoAndStop(15);
}
if (hitTest(_root.ag)) {
_root.ag.gotoAndStop(11);
}
if (hitTest(_root.p1)) {
_root.p1.gotoAndStop(17);
}
if (hitTest(_root.p2)) {
_root.p2.gotoAndStop(17);
}
if (hitTest(_root.p3)) {
_root.p3.gotoAndStop(11);
}
}
Instance of Symbol 54 MovieClip in Symbol 55 MovieClip [laserm] Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.ad)) {
var adc = _root.ad._currentframe;
if (adc < 7) {
_root.ad.gotoAndPlay(7);
}
}
if (hitTest(_root.ak)) {
var akc = _root.ak._currentframe;
if (akc < 7) {
_root.ak.gotoAndPlay(7);
}
}
if (hitTest(_root.qw)) {
_root.qw.gotoAndStop(20);
}
if (hitTest(_root.qr)) {
_root.qr.gotoAndStop(20);
}
if (hitTest(_root.qe)) {
_root.qe.gotoAndStop(20);
}
if (hitTest(_root.af)) {
_root.af.gotoAndStop(12);
}
if (hitTest(_root.ah)) {
_root.ah.gotoAndStop(15);
}
if (hitTest(_root.al)) {
_root.al.gotoAndStop(15);
}
if (hitTest(_root.ws)) {
_root.ws.gotoAndStop(8);
}
if (hitTest(_root.al)) {
_root.al.gotoAndStop(15);
}
if (hitTest(_root.ag)) {
_root.ag.gotoAndStop(11);
}
if (hitTest(_root.p1)) {
_root.p1.gotoAndStop(17);
}
if (hitTest(_root.p2)) {
_root.p2.gotoAndStop(17);
}
if (hitTest(_root.p3)) {
_root.p3.gotoAndStop(11);
}
}
Symbol 55 MovieClip [laserm] Frame 16
stop();
Symbol 59 MovieClip Frame 1
stop();
Symbol 66 MovieClip [sho3] Frame 1
stop();
Symbol 66 MovieClip [sho3] Frame 2
stop();
Instance of Symbol 59 MovieClip in Symbol 66 MovieClip [sho3] Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.ad)) {
_root.ad.play();
}
if (hitTest(_root.ak)) {
_root.ak.play();
}
if (hitTest(_root.qw)) {
if (_root.qw._currentframe != 20) {
_root.qw.play();
}
}
if (hitTest(_root.af)) {
if (_root.af._currentframe != 12) {
_root.af.play();
}
}
if (hitTest(_root.ah)) {
if (_root.ah._currentframe != 15) {
_root.ah.play();
}
}
if (hitTest(_root.al)) {
if (_root.al._currentframe != 15) {
_root.al.play();
}
}
if (hitTest(_root.ws)) {
if (_root.ws._currentframe != 8) {
_root.ws.play();
}
}
if (hitTest(_root.al)) {
if (_root.al._currentframe != 15) {
_root.al.play();
}
}
if (hitTest(_root.ag)) {
if (_root.ag._currentframe != 11) {
_root.ag.play();
}
}
if (hitTest(_root.p1)) {
if (_root.p1._currentframe != 17) {
_root.p1.play();
}
}
if (hitTest(_root.p2)) {
if (_root.p2._currentframe != 17) {
_root.p2.play();
}
}
if (hitTest(_root.p3)) {
if (_root.p3._currentframe != 11) {
_root.p3.play();
}
}
}
Symbol 66 MovieClip [sho3] Frame 6
stop();
Symbol 69 MovieClip [sho2] Frame 1
stop();
Symbol 69 MovieClip [sho2] Frame 2
stop();
Instance of Symbol 59 MovieClip in Symbol 69 MovieClip [sho2] Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.ad)) {
_root.ad.play();
}
if (hitTest(_root.ak)) {
_root.ak.play();
}
if (hitTest(_root.qw)) {
if (_root.qw._currentframe != 20) {
_root.qw.play();
}
}
if (hitTest(_root.af)) {
if (_root.af._currentframe != 12) {
_root.af.play();
}
}
if (hitTest(_root.ah)) {
if (_root.ah._currentframe != 15) {
_root.ah.play();
}
}
if (hitTest(_root.al)) {
if (_root.al._currentframe != 15) {
_root.al.play();
}
}
if (hitTest(_root.ws)) {
if (_root.ws._currentframe != 8) {
_root.ws.play();
}
}
if (hitTest(_root.al)) {
if (_root.al._currentframe != 15) {
_root.al.play();
}
}
if (hitTest(_root.ag)) {
if (_root.ag._currentframe != 11) {
_root.ag.play();
}
}
if (hitTest(_root.p1)) {
if (_root.p1._currentframe != 17) {
_root.p1.play();
}
}
if (hitTest(_root.p2)) {
if (_root.p2._currentframe != 17) {
_root.p2.play();
}
}
if (hitTest(_root.p3)) {
if (_root.p3._currentframe != 11) {
_root.p3.play();
}
}
}
Symbol 69 MovieClip [sho2] Frame 6
stop();
Symbol 73 MovieClip [shel] Frame 1
stop();
Symbol 73 MovieClip [shel] Frame 2
stop();
Symbol 73 MovieClip [shel] Frame 3
stop();
Symbol 76 MovieClip [sho] Frame 1
stop();
Symbol 76 MovieClip [sho] Frame 2
stop();
Instance of Symbol 59 MovieClip in Symbol 76 MovieClip [sho] Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.ad)) {
this.play();
_root.ad.play();
}
if (hitTest(_root.ak)) {
this.play();
_root.ak.play();
}
if (hitTest(_root.qw)) {
this.play();
if (_root.qw._currentframe != 20) {
_root.qw.play();
}
}
if (hitTest(_root.qw)) {
this.play();
}
if (hitTest(_root.bos1)) {
this.play();
}
if (hitTest(_root.bos2)) {
this.play();
}
if (hitTest(_root.bos3)) {
this.play();
}
if (hitTest(_root.bos4)) {
this.play();
}
if (hitTest(_root.bos5)) {
this.play();
}
if (hitTest(_root.af)) {
this.play();
if (_root.af._currentframe != 12) {
_root.af.play();
}
}
if (hitTest(_root.ah)) {
this.play();
if (_root.ah._currentframe != 15) {
_root.ah.play();
}
}
if (hitTest(_root.al)) {
this.play();
if (_root.al._currentframe != 15) {
_root.al.play();
}
}
if (hitTest(_root.ws)) {
this.play();
if (_root.ws._currentframe != 8) {
_root.ws.play();
}
}
if (hitTest(_root.al)) {
this.play();
if (_root.al._currentframe != 15) {
_root.al.play();
}
}
if (hitTest(_root.ag)) {
this.play();
if (_root.ag._currentframe != 11) {
_root.ag.play();
}
}
if (hitTest(_root.p1)) {
this.play();
if (_root.p1._currentframe != 17) {
_root.p1.play();
}
}
if (hitTest(_root.p2)) {
this.play();
if (_root.p2._currentframe != 17) {
_root.p2.play();
}
}
if (hitTest(_root.p3)) {
this.play();
if (_root.p3._currentframe != 11) {
_root.p3.play();
}
}
}
Symbol 76 MovieClip [sho] Frame 6
stop();
Symbol 80 MovieClip [enfir2] Frame 1
stop();
Symbol 80 MovieClip [enfir2] Frame 2
stop();
Symbol 80 MovieClip [enfir2] Frame 16
stop();
Symbol 86 MovieClip [lsr2] Frame 1
stop();
Symbol 86 MovieClip [lsr2] Frame 2
stop();
Symbol 86 MovieClip [lsr2] Frame 17
stop();
Symbol 88 MovieClip [lsr] Frame 1
stop();
Symbol 88 MovieClip [lsr] Frame 2
stop();
Symbol 88 MovieClip [lsr] Frame 17
stop();
Symbol 89 MovieClip [minka1] Frame 1
stop();
Symbol 89 MovieClip [minka1] Frame 2
stop();
Symbol 89 MovieClip [minka1] Frame 16
stop();
Symbol 92 MovieClip [enfir] Frame 1
stop();
Symbol 92 MovieClip [enfir] Frame 2
stop();
Symbol 92 MovieClip [enfir] Frame 16
stop();
Symbol 103 MovieClip [drop2] Frame 1
stop();
Symbol 103 MovieClip [drop2] Frame 2
stop();
Symbol 103 MovieClip [drop2] Frame 6
stop();
Symbol 108 MovieClip [drop1] Frame 1
stop();
Symbol 108 MovieClip [drop1] Frame 2
stop();
Symbol 108 MovieClip [drop1] Frame 6
stop();
Symbol 112 MovieClip [drop3] Frame 1
stop();
Symbol 112 MovieClip [drop3] Frame 2
stop();
Symbol 112 MovieClip [drop3] Frame 6
stop();
Symbol 125 MovieClip [mis3] Frame 1
stop();
Symbol 125 MovieClip [mis3] Frame 2
stop();
Instance of Symbol 124 MovieClip in Symbol 125 MovieClip [mis3] Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.ad)) {
var adc = _root.ad._currentframe;
if (adc < 7) {
_root.ad.gotoAndPlay(7);
}
}
if (hitTest(_root.ak)) {
var akc = _root.ak._currentframe;
if (akc < 7) {
_root.ak.gotoAndPlay(7);
}
}
if (hitTest(_root.qw)) {
_root.qw.gotoAndStop(20);
}
if (hitTest(_root.qr)) {
_root.qr.gotoAndStop(20);
}
if (hitTest(_root.qe)) {
_root.qe.gotoAndStop(20);
}
if (hitTest(_root.af)) {
_root.af.gotoAndStop(12);
}
if (hitTest(_root.ah)) {
_root.ah.gotoAndStop(15);
}
if (hitTest(_root.al)) {
_root.al.gotoAndStop(15);
}
if (hitTest(_root.ws)) {
_root.ws.gotoAndStop(8);
}
if (hitTest(_root.al)) {
_root.al.gotoAndStop(15);
}
if (hitTest(_root.ag)) {
_root.ag.gotoAndStop(11);
}
if (hitTest(_root.p1)) {
_root.p1.gotoAndStop(17);
}
if (hitTest(_root.p2)) {
_root.p2.gotoAndStop(17);
}
if (hitTest(_root.p3)) {
_root.p3.gotoAndStop(11);
}
}
Symbol 125 MovieClip [mis3] Frame 16
stop();
Symbol 125 MovieClip [mis3] Frame 17
play();
Symbol 125 MovieClip [mis3] Frame 30
stop();
gotoAndStop (16);
Symbol 126 MovieClip [mis2] Frame 1
stop();
Symbol 126 MovieClip [mis2] Frame 2
stop();
Instance of Symbol 124 MovieClip in Symbol 126 MovieClip [mis2] Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.ad)) {
var adc = _root.ad._currentframe;
if (adc < 7) {
_root.ad.gotoAndPlay(7);
}
}
if (hitTest(_root.ak)) {
var akc = _root.ak._currentframe;
if (akc < 7) {
_root.ak.gotoAndPlay(7);
}
}
if (hitTest(_root.qw)) {
_root.qw.gotoAndStop(20);
}
if (hitTest(_root.qr)) {
_root.qr.gotoAndStop(20);
}
if (hitTest(_root.qe)) {
_root.qe.gotoAndStop(20);
}
if (hitTest(_root.af)) {
_root.af.gotoAndStop(12);
}
if (hitTest(_root.ah)) {
_root.ah.gotoAndStop(15);
}
if (hitTest(_root.al)) {
_root.al.gotoAndStop(15);
}
if (hitTest(_root.ws)) {
_root.ws.gotoAndStop(8);
}
if (hitTest(_root.al)) {
_root.al.gotoAndStop(15);
}
if (hitTest(_root.ag)) {
_root.ag.gotoAndStop(11);
}
if (hitTest(_root.p1)) {
_root.p1.gotoAndStop(17);
}
if (hitTest(_root.p2)) {
_root.p2.gotoAndStop(17);
}
if (hitTest(_root.p3)) {
_root.p3.gotoAndStop(11);
}
}
Symbol 126 MovieClip [mis2] Frame 16
stop();
Symbol 126 MovieClip [mis2] Frame 17
play();
Symbol 126 MovieClip [mis2] Frame 30
stop();
gotoAndStop (16);
Symbol 131 MovieClip [mina] Frame 1
stop();
Symbol 131 MovieClip [mina] Frame 2
stop();
Instance of Symbol 130 MovieClip in Symbol 131 MovieClip [mina] Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.ad)) {
var adc = _root.ad._currentframe;
if (adc < 7) {
_root.ad.gotoAndPlay(7);
}
}
if (hitTest(_root.ak)) {
var akc = _root.ak._currentframe;
if (akc < 7) {
_root.ak.gotoAndPlay(7);
}
}
if (hitTest(_root.qw)) {
_root.qw.gotoAndStop(20);
}
if (hitTest(_root.qr)) {
_root.qr.gotoAndStop(20);
}
if (hitTest(_root.qe)) {
_root.qe.gotoAndStop(20);
}
if (hitTest(_root.af)) {
_root.af.gotoAndStop(12);
}
if (hitTest(_root.ah)) {
_root.ah.gotoAndStop(15);
}
if (hitTest(_root.al)) {
_root.al.gotoAndStop(15);
}
if (hitTest(_root.ws)) {
_root.ws.gotoAndStop(8);
}
if (hitTest(_root.al)) {
_root.al.gotoAndStop(15);
}
if (hitTest(_root.ag)) {
_root.ag.gotoAndStop(11);
}
if (hitTest(_root.p1)) {
_root.p1.gotoAndStop(17);
}
if (hitTest(_root.p2)) {
_root.p2.gotoAndStop(17);
}
if (hitTest(_root.p3)) {
_root.p3.gotoAndStop(11);
}
}
Symbol 131 MovieClip [mina] Frame 16
stop();
Symbol 134 MovieClip [plus20] Frame 11
stop();
Symbol 135 MovieClip [miss] Frame 1
stop();
Symbol 135 MovieClip [miss] Frame 2
stop();
Instance of Symbol 124 MovieClip in Symbol 135 MovieClip [miss] Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.ad)) {
var adc = _root.ad._currentframe;
if (adc < 7) {
_root.ad.gotoAndPlay(7);
}
}
if (hitTest(_root.ak)) {
var akc = _root.ak._currentframe;
if (akc < 7) {
_root.ak.gotoAndPlay(7);
}
}
if (hitTest(_root.qw)) {
_root.qw.gotoAndStop(20);
}
if (hitTest(_root.qr)) {
_root.qr.gotoAndStop(20);
}
if (hitTest(_root.qe)) {
_root.qe.gotoAndStop(20);
}
if (hitTest(_root.af)) {
_root.af.gotoAndStop(12);
}
if (hitTest(_root.ah)) {
_root.ah.gotoAndStop(15);
}
if (hitTest(_root.al)) {
_root.al.gotoAndStop(15);
}
if (hitTest(_root.ws)) {
_root.ws.gotoAndStop(8);
}
if (hitTest(_root.al)) {
_root.al.gotoAndStop(15);
}
if (hitTest(_root.ag)) {
_root.ag.gotoAndStop(11);
}
if (hitTest(_root.p1)) {
_root.p1.gotoAndStop(17);
}
if (hitTest(_root.p2)) {
_root.p2.gotoAndStop(17);
}
if (hitTest(_root.p3)) {
_root.p3.gotoAndStop(11);
}
}
Symbol 135 MovieClip [miss] Frame 16
stop();
Symbol 135 MovieClip [miss] Frame 17
play();
Symbol 135 MovieClip [miss] Frame 30
stop();
gotoAndStop (16);
Symbol 140 MovieClip [mfir] Frame 1
stop();
Symbol 140 MovieClip [mfir] Frame 5
stop();
Symbol 173 Button
on (press) {
getURL ("http://www.games.fratu.pl", "_self");
}
Symbol 174 MovieClip Frame 1
Percentloaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (Percentloaded != 100) {
bar._xscale = Percentloaded;
} else {
gotoAndStop (3);
}
Symbol 174 MovieClip Frame 2
gotoAndPlay (1);
Symbol 174 MovieClip Frame 3
stop();
Symbol 177 Button
on (release) {
getURL ("http://www.applecartgames.com/", "_blank");
}
Symbol 190 MovieClip Frame 75
stop();
_root.starta = 1;
Symbol 199 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 234 Button
on (release) {
stopAllSounds();
_root.gotoAndStop(3);
}
Symbol 237 Button
on (release) {
stopAllSounds();
_root.gotoAndStop(3);
}
Symbol 240 Button
on (release) {
var my_lv = new LoadVars();
my_lv.TheGamesNameValue = "HeliCombat";
my_lv.send("http://www.applecartgames.com/HiScores/HiScorePage.aspx", "_blank", "POST");
}
Symbol 243 Button
on (release) {
stopAllSounds();
gotoAndStop (11);
}
Symbol 390 MovieClip Frame 230
stop();
Symbol 402 Button
on (release) {
stopAllSounds();
_root.scor = 10;
delete _root.onEnterFrame;
_root.gotoAndStop(4);
}
Symbol 407 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 1
stop();
Symbol 458 MovieClip Frame 1
stop();
Symbol 458 MovieClip Frame 2
stop();
Symbol 458 MovieClip Frame 3
stop();
Symbol 458 MovieClip Frame 4
stop();
Symbol 458 MovieClip Frame 5
stop();
Symbol 458 MovieClip Frame 6
stop();
Symbol 458 MovieClip Frame 7
stop();
Symbol 458 MovieClip Frame 8
stop();
Symbol 458 MovieClip Frame 9
stop();
Symbol 458 MovieClip Frame 10
stop();
Symbol 458 MovieClip Frame 11
stop();
Symbol 458 MovieClip Frame 12
stop();
Symbol 458 MovieClip Frame 13
stop();
Symbol 458 MovieClip Frame 14
stop();
Symbol 458 MovieClip Frame 15
stop();
Symbol 458 MovieClip Frame 16
stop();
Symbol 458 MovieClip Frame 17
stop();
Symbol 458 MovieClip Frame 18
stop();
Symbol 458 MovieClip Frame 19
stop();
Symbol 458 MovieClip Frame 20
stop();
Symbol 458 MovieClip Frame 27
stop();
Symbol 460 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 2
stop();
Symbol 475 MovieClip Frame 3
stop();
Symbol 475 MovieClip Frame 4
stop();
Symbol 475 MovieClip Frame 5
stop();
Symbol 479 MovieClip Frame 1
stop();
if (_root.boss2life < 10) {
play();
}
Instance of Symbol 475 MovieClip in Symbol 479 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.boss2life <= 2500) && (_root.boss2life > 2000)) {
gotoAndStop (2);
}
if ((_root.boss2life <= 2000) && (_root.boss2life > 1500)) {
gotoAndStop (3);
}
if ((_root.boss2life <= 1500) && (_root.boss2life > 700)) {
gotoAndStop (4);
}
if ((_root.boss2life <= 700) && (_root.boss2life > 10)) {
gotoAndStop (5);
}
}
Instance of Symbol 475 MovieClip in Symbol 479 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_root.boss1life <= 800) && (_root.boss1life > 600)) {
gotoAndStop (2);
}
if ((_root.boss1life <= 600) && (_root.boss1life > 400)) {
gotoAndStop (3);
}
if ((_root.boss1life <= 400) && (_root.boss1life > 200)) {
gotoAndStop (4);
}
if ((_root.boss1life <= 200) && (_root.boss1life > 10)) {
gotoAndStop (5);
}
}
Symbol 479 MovieClip Frame 9
stop();
Symbol 505 MovieClip Frame 8
stop();
Symbol 506 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 2
stop();
Symbol 506 MovieClip Frame 3
stop();
Symbol 506 MovieClip Frame 4
stop();
Symbol 506 MovieClip Frame 5
stop();
Symbol 506 MovieClip Frame 6
stop();
Symbol 506 MovieClip Frame 7
stop();
Symbol 506 MovieClip Frame 8
stop();
Symbol 506 MovieClip Frame 9
stop();
Symbol 506 MovieClip Frame 10
stop();
Symbol 506 MovieClip Frame 11
stop();
if (_root.czl2._currentframe == 8) {
gotoAndStop (12);
}
Symbol 506 MovieClip Frame 12
stop();
Symbol 530 MovieClip Frame 1
stop();
Symbol 530 MovieClip Frame 2
stop();
Symbol 530 MovieClip Frame 3
stop();
Symbol 530 MovieClip Frame 4
stop();
Symbol 530 MovieClip Frame 5
stop();
Symbol 530 MovieClip Frame 6
stop();
Symbol 530 MovieClip Frame 20
stop();
Symbol 540 MovieClip Frame 5
stop();
Symbol 559 MovieClip Frame 9
stop();
Symbol 566 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 2
stop();
Symbol 566 MovieClip Frame 3
stop();
Symbol 566 MovieClip Frame 4
stop();
Symbol 566 MovieClip Frame 5
stop();
Symbol 566 MovieClip Frame 6
stop();
Symbol 566 MovieClip Frame 7
stop();
Symbol 566 MovieClip Frame 8
stop();
Symbol 566 MovieClip Frame 9
stop();
Symbol 566 MovieClip Frame 10
stop();
Symbol 566 MovieClip Frame 11
stop();
Symbol 566 MovieClip Frame 18
stop();
Symbol 568 MovieClip Frame 1551
stop();
Symbol 570 MovieClip Frame 3200
stop();
Symbol 585 MovieClip Frame 1
stop();
Symbol 585 MovieClip Frame 2
stop();
Symbol 585 MovieClip Frame 3
stop();
Symbol 585 MovieClip Frame 4
stop();
Symbol 585 MovieClip Frame 5
stop();
Symbol 585 MovieClip Frame 6
stop();
Symbol 585 MovieClip Frame 11
stop();
Symbol 595 MovieClip Frame 6
stop();
Symbol 613 MovieClip Frame 14
stop();
Symbol 614 MovieClip Frame 1
stop();
Symbol 614 MovieClip Frame 2
stop();
Symbol 614 MovieClip Frame 3
stop();
Symbol 614 MovieClip Frame 4
stop();
Symbol 614 MovieClip Frame 5
stop();
Symbol 614 MovieClip Frame 6
stop();
Symbol 614 MovieClip Frame 7
stop();
Symbol 614 MovieClip Frame 8
stop();
Symbol 614 MovieClip Frame 9
stop();
Symbol 614 MovieClip Frame 10
stop();
Symbol 614 MovieClip Frame 11
stop();
Symbol 614 MovieClip Frame 12
stop();
if (_root.czl1._currentframe == 14) {
gotoAndStop (13);
}
Symbol 614 MovieClip Frame 13
stop();
Instance of Symbol 475 MovieClip in Symbol 621 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.boss1life <= 800) && (_root.boss1life > 600)) {
gotoAndStop (2);
}
if ((_root.boss1life <= 600) && (_root.boss1life > 400)) {
gotoAndStop (3);
}
if ((_root.boss1life <= 400) && (_root.boss1life > 200)) {
gotoAndStop (4);
}
if ((_root.boss1life <= 200) && (_root.boss1life > 10)) {
gotoAndStop (5);
}
}
Symbol 621 MovieClip Frame 25
if (_root.boss1life < 10) {
play();
} else {
gotoAndPlay (1);
}
Symbol 621 MovieClip Frame 33
stop();
Symbol 638 MovieClip Frame 6
stop();
Symbol 639 MovieClip Frame 1
stop();
Symbol 639 MovieClip Frame 2
stop();
Symbol 639 MovieClip Frame 3
stop();
Symbol 639 MovieClip Frame 4
stop();
Symbol 639 MovieClip Frame 5
stop();
Symbol 639 MovieClip Frame 6
stop();
Symbol 639 MovieClip Frame 7
stop();
Symbol 639 MovieClip Frame 8
stop();
if (_root.czl5._currentframe == 6) {
gotoAndStop (9);
}
Symbol 639 MovieClip Frame 9
stop();
Symbol 662 MovieClip Frame 5
stop();
Symbol 666 MovieClip Frame 1
stop();
Symbol 666 MovieClip Frame 2
stop();
Symbol 666 MovieClip Frame 3
stop();
Symbol 666 MovieClip Frame 4
stop();
Symbol 666 MovieClip Frame 5
stop();
Symbol 666 MovieClip Frame 6
stop();
Symbol 666 MovieClip Frame 7
stop();
Symbol 666 MovieClip Frame 8
stop();
Symbol 666 MovieClip Frame 9
stop();
Symbol 666 MovieClip Frame 10
stop();
Symbol 666 MovieClip Frame 11
stop();
Symbol 666 MovieClip Frame 12
stop();
Symbol 666 MovieClip Frame 13
stop();
Symbol 666 MovieClip Frame 14
stop();
Symbol 666 MovieClip Frame 15
stop();
Symbol 666 MovieClip Frame 16
stop();
Symbol 666 MovieClip Frame 17
stop();
Symbol 666 MovieClip Frame 24
stop();
Symbol 682 MovieClip Frame 1
stop();
Symbol 682 MovieClip Frame 2
stop();
Symbol 682 MovieClip Frame 14
stop();
Symbol 739 MovieClip Frame 1
stop();
Symbol 739 MovieClip Frame 200
stop();
Symbol 742 Button
on (release) {
_root.POU = 0;
}
Symbol 745 MovieClip Frame 1
stop();
Symbol 745 MovieClip Frame 2
stop();
Symbol 756 MovieClip Frame 1
stop();
Symbol 756 MovieClip Frame 30
stop();
Symbol 761 MovieClip Frame 1
stop();
Symbol 761 MovieClip Frame 4
_root.life = _root.life - 1;
Symbol 769 MovieClip Frame 1
stop();
Symbol 769 MovieClip Frame 4
_root.life = _root.life - 1;
Symbol 775 MovieClip Frame 1
stop();
Symbol 775 MovieClip Frame 4
_root.life = _root.life - 1;
Symbol 787 MovieClip Frame 1
stop();
Symbol 788 MovieClip Frame 1
stop();
Symbol 788 MovieClip Frame 4
_root.life = _root.life - 1;
Symbol 789 MovieClip Frame 1
stop();
Instance of Symbol 761 MovieClip in Symbol 789 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.heli._y > 375) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ag)) {
miss.play();
}
if (_root.heli.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.bos2)) {
_root.boss2life = _root.boss2life - 4;
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ad)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ak1)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ah)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ag)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.af1)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.al)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.p1)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.p2)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.p3)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.qw)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.qe)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.qr)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ws)) {
gotoAndPlay (2);
}
}
Symbol 789 MovieClip Frame 58
stop();
Instance of Symbol 769 MovieClip in Symbol 789 MovieClip Frame 58
onClipEvent (enterFrame) {
if (_root.heli._y > 375) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ag)) {
miss.play();
}
if (_root.heli.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.bos2)) {
_root.boss2life = _root.boss2life - 4;
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ad)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ak1)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ah)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ag)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.af1)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.al)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.p1)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.p2)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.p3)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.qw)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.qe)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.qr)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ws)) {
gotoAndPlay (2);
}
}
Symbol 789 MovieClip Frame 118
stop();
Instance of Symbol 775 MovieClip in Symbol 789 MovieClip Frame 118
onClipEvent (enterFrame) {
if (_root.heli._y > 375) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ag)) {
miss.play();
}
if (_root.heli.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.bos2)) {
_root.boss2life = _root.boss2life - 4;
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ad)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ak1)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ah)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ag)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.af1)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.al)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.p1)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.p2)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.p3)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.qw)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.qe)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.qr)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ws)) {
gotoAndPlay (2);
}
}
Symbol 789 MovieClip Frame 179
stop();
Instance of Symbol 787 MovieClip in Symbol 789 MovieClip Frame 179
onClipEvent (enterFrame) {
_root.pion = 3;
if (Key.isDown(90)) {
if (_currentframe == 1) {
_root.fir4 = 1;
_root.pion = 3;
play();
}
} else {
_root.fir4 = 0;
_root.pion = 3;
}
if (_currentframe != 1) {
_root.fir4 = 0;
_root.pion = 3;
}
}
Instance of Symbol 788 MovieClip in Symbol 789 MovieClip Frame 179
onClipEvent (enterFrame) {
if (_root.heli._y > 375) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ag)) {
miss.play();
}
if (_root.heli.hitTest(_root.bos1)) {
_root.boss1life = _root.boss1life - 4;
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.bos2)) {
_root.boss2life = _root.boss2life - 4;
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ad)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ak1)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ah)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ag)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.af1)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.al)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.p1)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.p2)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.p3)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.qw)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.qe)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.qr)) {
gotoAndPlay (2);
}
if (_root.heli.hitTest(_root.ws)) {
gotoAndPlay (2);
}
}
Symbol 792 MovieClip Frame 1
stop();
Symbol 792 MovieClip Frame 3
stop();
Symbol 802 MovieClip Frame 1
stop();
Instance of Symbol 799 MovieClip in Symbol 802 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = _root.life;
}
Symbol 810 Button
on (release) {
my_sound = new Sound();
my_sound.setVolume(0);
gotoAndStop (2);
}
Symbol 812 Button
on (release) {
my_sound = new Sound();
my_sound.setVolume(100);
gotoAndStop (1);
}
Symbol 813 MovieClip Frame 1
stop();
Symbol 813 MovieClip Frame 2
stop();
Instance of Symbol 816 MovieClip in Symbol 822 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_root.heli._y + 300);
}
Symbol 936 MovieClip Frame 210
stop();
Symbol 973 MovieClip Frame 15
stop();
Symbol 974 MovieClip Frame 1
stop();
Symbol 974 MovieClip Frame 2
stop();
Symbol 974 MovieClip Frame 3
stop();
Symbol 974 MovieClip Frame 4
stop();
Symbol 974 MovieClip Frame 5
stop();
Symbol 974 MovieClip Frame 6
stop();
Symbol 974 MovieClip Frame 7
stop();
Symbol 974 MovieClip Frame 8
stop();
Symbol 974 MovieClip Frame 9
stop();
Symbol 974 MovieClip Frame 10
stop();
Symbol 974 MovieClip Frame 11
stop();
Symbol 974 MovieClip Frame 12
stop();
Symbol 974 MovieClip Frame 13
stop();
Symbol 974 MovieClip Frame 14
stop();
Symbol 974 MovieClip Frame 15
stop();
if (_root.czl4._currentframe == 15) {
gotoAndStop (16);
}
Symbol 974 MovieClip Frame 16
stop();
Symbol 978 MovieClip Frame 1
stop();
if (_root.boss3life < 10) {
play();
}
Symbol 978 MovieClip Frame 17
stop();
Symbol 983 MovieClip Frame 4000
stop();
Symbol 990 MovieClip Frame 2300
stop();
Symbol 1053 MovieClip Frame 160
stop();
Symbol 1062 MovieClip Frame 1
stop();
Symbol 1062 MovieClip Frame 30
stop();
Symbol 1064 MovieClip Frame 3000
stop();
Symbol 1106 MovieClip Frame 1
stop();
Symbol 1106 MovieClip Frame 326
stop();
Symbol 1118 MovieClip Frame 400
_root.kon = 1;
Symbol 1125 Button
on (release) {
stopAllSounds();
_root.gotoAndStop(4);
}
Symbol 1130 Button
on (release) {
gotoAndStop (13);
}
Symbol 1132 Button
on (release) {
_root.scor = 10;
gotoAndStop (4);
}
Symbol 1139 Button
on (release) {
var my_lv = new LoadVars();
my_lv.TheGamesNameValue = "HeliCombat";
my_lv.ThePlayersNameValue = _root.nam;
my_lv.TheHighScoreValue = _root.scor;
my_lv.send("http://www.applecartgames.com/HiScores/HiScorePage.aspx", "_blank", "POST");
}