Frame 1
stop();
btn_start._visible = 0;
Instance of Symbol 129 MovieClip in Frame 1
on (press) {
getURL ("http://yellowmoon.keenspace.com", "_blank");
}
Instance of Symbol 135 MovieClip in Frame 1
onClipEvent (load) {
total = _root.getBytesTotal();
cc = 0;
maxWidth = _root.progBar.prog._width;
}
onClipEvent (enterFrame) {
cc = cc + 0.5;
download = _root.getBytesLoaded() + " bytes";
bytesleft = (_root.getBytesTotal() - _root.getBytesLoaded()) + " bytes";
percent = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (percent <= 100) {
_root.progBar.prog._width = (percent / 100) * maxWidth;
_root.percentTxt.text = Math.round(percent) + "%";
}
if (percent >= 100) {
_root.gotoAndPlay(2);
}
}
Instance of Symbol 145 MovieClip "btn_start" in Frame 1
on (press) {
_root.gotoAndPlay(2);
}
Instance of Symbol 149 MovieClip in Frame 1
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Frame 2
_root._x = -50;
Frame 35
s = new Sound();
s.attachSound("sword");
s.start();
Frame 41
s = new Sound();
s.attachSound("sword");
s.start();
Frame 88
function switchMission(m) {
pause = 0;
pause_screen._visible = 0;
if (_root.pts >= _root.looseCond) {
_root.interMission.brif_txt.scroll = 0;
_root.nextMission = m;
_root.interMission.mission_txt.text = m;
_root.interMission._visible = 1;
_root.interMission.btn_next._visible = 1;
_root.interMission.btn_up._visible = 1;
switch (m) {
case 1 :
_root.interMission.brif_txt.text = "Mission 1 briefing \nWelcome, Comrade. As you may well be aware the situation is not so good for us. The enemy's overwhelming air power has practically neutralized our transportation roots. Even in the vicinity of the capital our forces find it dangerous to operate. There is, however, some hope. Our Soviet friends have provided us with new jet aircraft and surface-to-air missiles. But the enemy is not stupid, and they've dispatched fighter-bombers to destroy airstrips and radar installations. While some SAM sites have already become operational we still need pilots to protect the capital and associated facilities from the air. Now we know that as a forward thinking comrade you will loathe to take credit for others' victories but in the interest of raising morale we will credit you with enemy planes destroyed by SAMs. It looks better if our pilot defended the city rather then foreign missiles manned by their military advisors.";
_root.interMission.screen.attachMovie("vid0", "vid_0", _root.air_base - 2);
_root.interMission.screen2.attachMovie("bmp0", "bmp_0", _root.air_base - 1);
break;
case 2 :
_root.interMission.brif_txt.text = "Mission 2 briefing \nAh, good, you've survived! Unfortunately many or your comrades have not... The enemy introduced a fearful new aircraft, called F-4 Phantom II. A pair of them has been spotted near here, and you must destroy them before they threaten the airstrip. They're larger and better-armed then MiG-21, so you may wish to upgrade. Additional armor can be helpful. Also you should know that Phantoms apparently use the Sparrow missiles. They are more accurate and powerful, but rely on the launching aircraft to illuminate the target, if the Phantom is destroyed before its missiles reach the target they will loose the radar signal and self-destruct. Once the Phantoms are destroyed you must travel outside of the area protected by SAMs and neutralize as many enemy armed reconnaissance patrols as you can so that supplies from the harbor can be moved more easily during the day.";
_root.interMission.screen.attachMovie("vid1", "vid_1", _root.air_base - 2);
_root.interMission.screen2.attachMovie("bmp1", "bmp_1", _root.air_base - 1);
break;
case 3 :
_root.interMission.brif_txt.text = "Mission 3 briefing\nThanks to you, the enemy is more and more reluctant to send out planes in search of targets of opportunity. They cannot handle high attrition well, which gives hope for ultimate victory. However now they brought up destroyers to shell our positions from the gulf. Thus comes this mission, which may seem more complex then usual but we are sure you can handle it. First you must clear Phantom patrol near the shore, and then proceed towards the destroyer. It is protected by enemy gunboats, which are reportedly equipped with the Sea Sparrow missiles. If these boats fail to stop you the enemy will likely deploy naval aviation against you. Shoot them down or avoid them, but the destroyer must be bombed. Incidentally naval vessels can only be damaged by bombes that we will provide you with for this mission (activated by pressing X).";
_root.interMission.screen.attachMovie("vid2", "vid_2", _root.air_base - 2);
_root.interMission.screen2.attachMovie("bmp2", "bmp_2", _root.air_base - 1);
break;
case 4 :
_root.interMission.brif_txt.text = "Mission 4 briefing\nThings are finally starting to look up for us, the war, as it were, has been brought within the measurable distance of its end. However, we have received some disturbing news. People's Militia as well as regular army captured many enemy pilots and after... ah, let's say, thorough interrogation they revealed that the enemy is deploying new heavy bombers, called F-111 Aardvark. They are supposedly very heavily armored and carry a large load of bombs, as well as air-to-air missiles. Shooting them down might be rather difficult, but you have to manage somehow. If these bombers break through they will wreck havoc upon our supply depots, airfields and so on. If you let this happen we won't shoot you, but some stars will be deducted.";
_root.interMission.screen.attachMovie("vid3", "vid_3", _root.air_base - 2);
_root.interMission.screen2.attachMovie("bmp3", "bmp_3", _root.air_base - 1);
break;
case 5 :
_root.interMission.brif_txt.text = "Mission 5 briefing\nThanks to many brave pilots, but especially you, the heavy attrition finally seems to get to the enemy. They are ready to discuss peace. But in an attempt to negotiate better terms for themselves they've launched a massive bombing campaign using B-52 strategic bombers against our capital. We must show them that the resolve of the people will not be broken with these atrocities! A bomber was just detected near this airfield. You must go after it, destroy its escort and take down the B-52. Be advised that the bombers use highly advanced ECM equipment, so missiles can be launched at it in unguided mode, fortunately they are slow and should be easy to hit.";
_root.interMission.screen.attachMovie("vid4", "vid_4", _root.air_base - 2);
_root.interMission.screen2.attachMovie("bmp4", "bmp_4", _root.air_base - 1);
break;
case 6 :
_root.interMission.brif_txt.text = "Congratulations, Comrade!\nThanks largely to your many victories the enemy's will to fight was broken and they are leaving the country. Even their mighty strategic bombers could not defeat us, though their scraps would make nice additions to any war museum...";
_root.interMission.screen.attachMovie("vidf", "vid_f", _root.air_base - 2);
_root.interMission.screen2.attachMovie("bmpf", "bmp_f", _root.air_base - 1);
_root.interMission.mission_txt.text = "N/A";
_root.interMission.btn_next._visible = 0;
_root.interMission.btn_up._visible = 0;
_root.interMission.btn_restart._visible = 1;
}
} else {
_root.game_over_screen._visible = 1;
_root.game_over_screen.go_txt.text = ("Your red stars fell below " + _root.looseCond) + "... That means you are loosing too many airplanes, while not shooting down enough of the enemy...";
}
}
function movePlane() {
if (pause == 0) {
if (Key.isDown(16)) {
if (MG <= 0) {
_root.mig_21.FireMachineGun();
MG = MG_cooldown;
}
}
if (Key.isDown(37)) {
this._x = this._x - this.speed;
}
if (Key.isDown(39)) {
this._x = this._x + this.speed;
}
if (Key.isDown(38)) {
this._y = this._y - this.speed;
}
if (Key.isDown(40)) {
this._y = this._y + this.speed;
}
if (this._x > (StageWidth - this._width)) {
this._x = this._x - this.speed;
}
if (this._x < (0 + (this._width / 2))) {
this._x = this._x + this.speed;
}
if (this._y > (StageHeight - this._height)) {
this._y = this._y - this.speed;
}
if (this._y < 0) {
this._y = this._y + this.speed;
}
}
}
StageWidth = 900;
StageHeight = 370;
MG = 0;
MS = 0;
BM = 0;
watchKeyBoard = new Object();
watchKeyBoard.onKeyDown = function () {
if ((Key.getAscii() == 97) || (Key.getAscii() == 65)) {
if (MG <= 0) {
_root.mig_21.FireMachineGun();
MG = MG_cooldown;
}
}
if ((Key.getAscii() == 122) || (Key.getAscii() == 90)) {
if (MS <= 0) {
_root.mig_21.FireMissile();
MS = MS_cooldown;
}
}
if ((Key.getAscii() == 120) || (Key.getAscii() == 88)) {
if ((BM <= 0) && (bomb == 1)) {
_root.mig_21.FireBomb();
BM = BM_cooldown;
}
}
if ((Key.getAscii() == 112) || (Key.getAscii() == 80)) {
if (mission != 0) {
if (pause == 0) {
pause = 1;
_root.pause_screen._visible = 1;
} else {
pause = 0;
_root.pause_screen._visible = 0;
}
}
}
if ((Key.getAscii() == 115) || (Key.getAscii() == 83)) {
if (game_sound == 0) {
_root.game_sound = 1;
_root.bg_sound.start();
} else {
_root.game_sound = 0;
_root.bg_sound.stop();
}
}
if ((Key.getAscii() == 113) || (Key.getAscii() == 81)) {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else {
_quality = "HIGH";
}
}
};
Key.addListener(watchKeyBoard);
function init() {
bg_sound = new Sound();
bg_sound.attachSound("snd_music_0");
bg_sound.stop();
bg_sound.start();
bg_sound.onSoundComplete = function () {
bg_sound.start();
};
game_sound = 1;
ground_depth = 0;
air_base = 1000000 /* 0x0F4240 */;
total_num = air_base;
bg_speed = 1;
bg_move = 1;
smokeSpeed = 3;
game_speed = 1.2;
pause = 0;
MG_power = 1;
k13_power = 3;
r60_power = 5;
MG_cooldown = 7;
MS_cooldown = 40;
BM_cooldown = 20;
migHP = 5;
k13_inacuracy = 30;
r60_inacuracy = 15;
bomb = 0;
pts = 0;
ups = 3;
en_num = 0;
bmr_num = 0;
ssLost = 0;
thLost = 0;
phLost = 0;
crLost = 0;
aaLost = 0;
sfLost = 0;
GSh30 = 0;
GSh623 = 0;
ammo0 = 0;
ammo1 = 0;
K13up = 0;
r60m = 0;
irseek = 0;
frag = 0;
radar = 0;
armor0 = 0;
armor1 = 0;
GSh30_price = 15;
GSh623_price = 100;
ammo0_price = 15;
ammo1_price = 50;
K13up_price = 5;
r60m_price = 30;
irseek_price = 7;
frag_price = 30;
radar_price = 30;
armor0_price = 20;
armor1_price = 70;
_root.startScreen._visible = 1;
_root.startScreen.diff_label._visible = 0;
_root.startScreen.btn_hero._visible = 0;
_root.startScreen.btn_def._visible = 0;
_root.startScreen.btn_peasant._visible = 0;
_root.interMission._visible = 0;
_root.interMission.btn_restart._visible = 0;
_root.interMission.btn_next._visible = 1;
_root.interMission.btn_up._visible = 1;
_root.upgradeScreen._visible = 0;
_root.game_over_screen._visible = 0;
_root.pause_screen._visible = 0;
_root.instr_screen._visible = 0;
_root.options_screen._visible = 0;
_root.password_screen._visible = 0;
sabreHP = 3;
thudHP = 7;
PhantomHP = 20;
crusaderHP = 10;
aardvarkHP = 30;
sfHP = 25;
b52HP = 1000;
phROF = 10;
crROF = 5;
swPOW = 3;
spPOW = 5;
looseCond = -10;
}
function sound_f(sn) {
if (_root.game_sound == 1) {
switch (sn) {
case "snd_rpg" :
snd = new Sound();
snd.attachSound("snd_rpg_" + "0");
snd.start();
return;
default :
snd = new Sound();
snd.attachSound(sn);
snd.start();
}
}
}
stop();
_root._x = 0;
duplicateMovieClip (_root.BORDER, "brd", 9000000);
init();
function CreateMig21(y) {
duplicateMovieClip (_root.MIG21, "mig_21", _root.total_num);
_root.mig_21._visible = 1;
_root.mig_21._x = 0;
_root.mig_21._y = y;
_root.mig_21.active = 1;
_root.mig_21.name = "mig_21";
_root.total_num = _root.total_num + 1;
_root.mig_21.onEnterFrame = movePlane;
_root.HP_txt.text = 5;
}
function CreateSAM(y, x) {
duplicateMovieClip (_root.SAM, "sam" + _root.ground_depth, _root.ground_depth);
_root["sam" + _root.ground_depth]._visible = 1;
_root["sam" + _root.ground_depth]._x = 1000 + x;
_root["sam" + _root.ground_depth]._y = y;
_root["sam" + _root.ground_depth].active = 1;
_root.ground_depth = _root.ground_depth + 1;
}
function CreateSabre(y, x) {
duplicateMovieClip (_root.SUPERSABRE, "en" + en_num, total_num);
_root["en" + en_num]._visible = 1;
_root["en" + en_num]._x = 1000 + x;
_root["en" + en_num]._y = y;
_root["en" + en_num].active = 1;
_root["en" + en_num].name = "en" + en_num;
total_num = total_num + 1;
if (_root.radar == 1) {
EarlyWarning("en" + en_num, "Super Sabre");
}
en_num = en_num + 1;
}
function CreateThunderchief(y, x) {
duplicateMovieClip (_root.THUNDERCHIEF, "en" + en_num, total_num);
_root["en" + en_num]._visible = 1;
_root["en" + en_num]._x = 1000 + x;
_root["en" + en_num]._y = y;
_root["en" + en_num].active = 1;
_root["en" + en_num].name = "en" + en_num;
total_num = total_num + 1;
if (_root.radar == 1) {
EarlyWarning("en" + en_num, "Thunderchief");
}
en_num = en_num + 1;
}
function CreatePhantom(y, x) {
duplicateMovieClip (_root.PHANTOM2, "en" + en_num, total_num);
_root["en" + en_num]._visible = 1;
_root["en" + en_num]._x = 1000 + x;
_root["en" + en_num]._y = y;
_root["en" + en_num].active = 1;
_root["en" + en_num].name = "en" + en_num;
total_num = total_num + 1;
if (_root.radar == 1) {
EarlyWarning("en" + en_num, "Phantom II");
}
en_num = en_num + 1;
}
function CreateCrusader(y, x) {
duplicateMovieClip (_root.CRUSADER, "en" + en_num, total_num);
_root["en" + en_num]._visible = 1;
_root["en" + en_num]._x = 1000 + x;
_root["en" + en_num]._y = y;
_root["en" + en_num].active = 1;
_root["en" + en_num].name = "en" + en_num;
total_num = total_num + 1;
if (_root.radar == 1) {
EarlyWarning("en" + en_num, "Crusader");
}
en_num = en_num + 1;
}
function CreateAardvark(y, x) {
duplicateMovieClip (_root.AARDVARK, "en" + en_num, total_num);
_root["en" + en_num]._visible = 1;
_root["en" + en_num]._x = 1000 + x;
_root["en" + en_num]._y = y;
_root["en" + en_num].active = 1;
_root["en" + en_num].name = "en" + en_num;
total_num = total_num + 1;
if (_root.radar == 1) {
EarlyWarning("en" + en_num, "Aardvark");
}
en_num = en_num + 1;
}
function CreateStarfighter(y, x) {
duplicateMovieClip (_root.STARFIGHTER, "en" + en_num, total_num);
_root["en" + en_num]._visible = 1;
_root["en" + en_num]._x = 1000 + x;
_root["en" + en_num]._y = y;
_root["en" + en_num].active = 1;
_root["en" + en_num].name = "en" + en_num;
total_num = total_num + 1;
if (_root.radar == 1) {
EarlyWarning("en" + en_num, "Starfighter");
}
en_num = en_num + 1;
}
function CreateB52(y, x) {
duplicateMovieClip (_root.B52, "b_52" + bmr_num, total_num);
_root["b_52" + bmr_num]._visible = 1;
_root["b_52" + bmr_num]._x = 1000 + x;
_root["b_52" + bmr_num]._y = y;
_root["b_52" + bmr_num].active = 1;
_root["b_52" + bmr_num].name = "b_52" + bmr_num;
total_num = total_num + 1;
if (_root.radar == 1) {
EarlyWarning("b_52" + bmr_num, "B - 52");
}
bmr_num = bmr_num + 1;
}
function CreateGunboat(y, x) {
duplicateMovieClip (_root.GUN_BOAT, "ship" + en_num, _root.ground_depth);
_root["ship" + en_num]._visible = 1;
_root["ship" + en_num]._x = 1000 + x;
_root["ship" + en_num]._y = y;
_root["ship" + en_num].active = 1;
_root["ship" + en_num].name = "ship" + en_num;
_root.ground_depth = _root.ground_depth + 1;
if (_root.radar == 1) {
EarlyWarning("ship" + en_num, "Gun Boat");
}
en_num = en_num + 1;
}
function CreateDestroyer(y, x) {
duplicateMovieClip (_root.DESTROYER, "ship" + en_num, _root.ground_depth);
_root["ship" + en_num]._visible = 1;
_root["ship" + en_num]._x = 1800 + x;
_root["ship" + en_num]._y = y;
_root["ship" + en_num].active = 1;
_root["ship" + en_num].name = "ship" + en_num;
_root.ground_depth = _root.ground_depth + 1;
if (_root.radar == 1) {
EarlyWarning("ship" + en_num, "Destroyer");
}
en_num = en_num + 1;
}
function CreateCloud(y, x) {
duplicateMovieClip (_root.CLOUD, "cl" + _root.ground_depth, _root.ground_depth);
_root["cl" + _root.ground_depth]._visible = 1;
_root["cl" + _root.ground_depth]._x = 1000 + x;
_root["cl" + _root.ground_depth]._y = y;
_root["cl" + _root.ground_depth].active = 1;
_root.ground_depth = _root.ground_depth + 1;
}
function CreateSQUADss2() {
CreateSabre(random(300), 0);
CreateSabre(random(300), 100);
}
function CreateSQUADss3() {
CreateSabre(random(300), 0);
CreateSabre(random(300), 100);
CreateSabre(random(300), 200);
}
function CreateSQUADss2th1() {
CreateSabre(random(300), 0);
CreateSabre(random(300), 100);
CreateThunderchief(random(300), 200);
}
function CreateSQUADth2() {
CreateThunderchief(random(300), 0);
CreateThunderchief(random(300), 100);
}
function CreateSQUADph2() {
CreatePhantom(random(300), 0);
CreatePhantom(random(300), 100);
}
function CreateSQUADcr2() {
CreateCrusader(random(300), 0);
CreateCrusader(random(300), 100);
}
function CreateSQUADcr1sf1() {
CreateStarfighter(random(300), 0);
CreateCrusader(random(300), 100);
}
function CreateSQUADsf2() {
CreateStarfighter(random(300), 0);
CreateStarfighter(random(300), 100);
}
function CreateSQUADaa2() {
CreateAardvark(random(300), 0);
CreateAardvark(random(300), 100);
}
function EarlyWarning(t, n) {
duplicateMovieClip (_root.radarWarn, "sh" + total_num, total_num);
_root["sh" + total_num]._x = 715.7;
_root["sh" + total_num].trg = t;
_root["sh" + total_num].name = n;
_root["sh" + total_num].active = 1;
total_num++;
}
function KillAll() {
removeMovieClip(_root.mig_21);
i = 0;
while (i < en_num) {
removeMovieClip(_root["en" + i]);
removeMovieClip(_root["ship" + i]);
i++;
}
i = 0;
while (i < ground_depth) {
removeMovieClip(_root["sam" + i]);
removeMovieClip(_root["cl" + i]);
i++;
}
i = air_base;
while (i < total_num) {
removeMovieClip(_root["sh" + i]);
removeMovieClip(_root["ssd" + i]);
removeMovieClip(_root["thd" + i]);
removeMovieClip(_root["phd" + i]);
removeMovieClip(_root["crd" + i]);
removeMovieClip(_root["aad" + i]);
removeMovieClip(_root["sfd" + i]);
i++;
}
i = 0;
while (i < bmr_num) {
removeMovieClip(_root["b_52" + i]);
i++;
}
bmr_num = 0;
en_num = 0;
total_num = air_base;
ground_depth = 0;
}
function InitiateDelays() {
distance = -1;
distanceMAX = -1;
ss_cooldown = 10;
ss_delay = -1;
th_cooldown = 10;
th_delay = -1;
ph_cooldown = 10;
ph_delay = -1;
cr_cooldown = 10;
cr_delay = -1;
aa_cooldown = 10;
aa_delay = -1;
sf_cooldown = 10;
sf_delay = -1;
cl_cooldown = 10;
cl_delay = -1;
gb_cooldown = 10;
gb_delay = -1;
gb_num = 0;
b52_cooldown = 10;
b52_delay = -1;
b52_num = 0;
sam_cooldown = 10;
sam_delay = -1;
sam_num = 0;
SQUADss2_cooldown = 10;
SQUADss2_delay = -1;
SQUADss2_Num = 0;
SQUADss3_cooldown = 10;
SQUADss3_delay = -1;
SQUADss3_Num = 0;
SQUADss2th1_cooldown = 10;
SQUADss2th1_delay = -1;
SQUADss2th1_Num = 0;
SQUADth2_cooldown = 10;
SQUADth2_delay = -1;
SQUADth2_Num = 0;
SQUADph2_cooldown = 10;
SQUADph2_delay = -1;
SQUADph2_Num = 0;
SQUADcr2_cooldown = 10;
SQUADcr2_delay = -1;
SQUADcr2_Num = 0;
SQUADcr1sf1_cooldown = 10;
SQUADcr1sf1_delay = -1;
SQUADcr1sf1_Num = 0;
SQUADsf2_cooldown = 10;
SQUADsf2_delay = -1;
SQUADsf2_Num = 0;
SQUADaa2_cooldown = 10;
SQUADaa2_delay = -1;
SQUADaa2_Num = 0;
DEST_cooldown = 10;
DEST_delay = -1;
DEST_Num = 0;
}
function StartMission(m) {
_root.interMission._visible = 0;
InitiateDelays();
CreateMig21(100);
mission = m;
switch (m) {
case 1 :
distance = 1700;
distanceMAX = distance;
cl_cooldown = 50;
cl_delay = 50;
ss_cooldown = 220;
ss_delay = 850;
th_cooldown = 300;
th_delay = 900;
sam_cooldown = 310;
sam_delay = 50;
sam_num = 5;
SQUADss2th1_cooldown = 300;
SQUADss2th1_delay = 50;
SQUADss2th1_Num = 2;
SQUADth2_cooldown = 100;
SQUADth2_delay = 550;
SQUADth2_Num = 1;
SQUADss3_cooldown = 100;
SQUADss3_delay = 750;
SQUADss3_Num = 1;
return;
case 2 :
distance = 2000;
distanceMAX = distance;
cl_cooldown = 50;
cl_delay = 50;
ss_cooldown = 250;
ss_delay = 250;
SQUADth2_cooldown = 350;
SQUADth2_delay = 750;
SQUADth2_Num = 2;
SQUADss3_cooldown = 100;
SQUADss3_delay = 1650;
SQUADss3_Num = 1;
sam_cooldown = 50;
sam_delay = 10;
sam_num = 3;
SQUADph2_cooldown = 500;
SQUADph2_delay = 200;
SQUADph2_Num = 1;
return;
case 3 :
distance = 2500;
distanceMAX = distance;
_root.bomb = 1;
_root.bg00.gotoAndStop(2);
_root.bg01.gotoAndStop(2);
_root.bg_speed = 5;
DEST_delay = 1600;
DEST_Num = 1;
gb_cooldown = 150;
gb_delay = 550;
gb_num = 3;
SQUADph2_delay = 100;
SQUADph2_Num = 1;
cr_cooldown = 450;
cr_delay = 1100;
SQUADcr2_cooldown = 1000;
SQUADcr2_delay = 1200;
SQUADcr2_Num = 2;
return;
case 4 :
distance = 2370;
distanceMAX = distance;
_root.bg00.gotoAndStop(1);
_root.bg01.gotoAndStop(1);
_root.bg_speed = 1;
_root.bomb = 0;
cl_cooldown = 50;
cl_delay = 50;
SQUADss3_cooldown = 150;
SQUADss3_delay = 150;
SQUADss3_Num = 2;
SQUADth2_cooldown = 200;
SQUADth2_delay = 50;
SQUADth2_Num = 2;
SQUADaa2_cooldown = 400;
SQUADaa2_delay = 600;
SQUADaa2_Num = 2;
ph_cooldown = 120;
ph_delay = 700;
SQUADcr1sf1_cooldown = 400;
SQUADcr1sf1_delay = 1600;
SQUADcr1sf1_Num = 2;
return;
case 5 :
distance = 3000;
distanceMAX = distance;
cl_cooldown = 50;
cl_delay = 50;
SQUADsf2_cooldown = 300;
SQUADsf2_delay = 1600;
SQUADsf2_Num = 4;
SQUADaa2_cooldown = 400;
SQUADaa2_delay = 100;
SQUADaa2_Num = 4;
sam_cooldown = 310;
sam_delay = 50;
sam_num = 6;
b52_delay = 2800;
b52_num = 1;
}
}
mission = 0;
nextMission = 0;
_root.onEnterFrame = function () {
if ((mission == 0) || (pause == 1)) {
return(undefined);
}
ss_delay--;
th_delay--;
ph_delay--;
cr_delay--;
aa_delay--;
sf_delay--;
cl_delay--;
if (gb_num > 0) {
gb_delay--;
}
if (b52_num > 0) {
b52_delay--;
}
if (sam_num > 0) {
sam_delay--;
}
if (ss_delay == 0) {
ss_delay = ss_cooldown;
CreateSabre(random(300), 0);
}
if (th_delay == 0) {
th_delay = th_cooldown;
CreateThunderchief(random(300), 0);
}
if (ph_delay == 0) {
ph_delay = ph_cooldown;
CreatePhantom(random(300), 0);
}
if (cr_delay == 0) {
cr_delay = cr_cooldown;
CreateCrusader(random(300), 0);
}
if (aa_delay == 0) {
aa_delay = aa_cooldown;
CreateAardvark(random(300), 0);
}
if (sf_delay == 0) {
sf_delay = sf_cooldown;
CreateStarfighter(random(300), 0);
}
if (cl_delay == 0) {
cl_delay = cl_cooldown;
CreateCloud(random(300), 0);
}
if (gb_delay == 0) {
gb_delay = gb_cooldown;
CreateGunboat(random(100) + 200, 0);
gb_num--;
}
if (b52_delay == 0) {
b52_delay = b52_cooldown;
CreateB52(random(100) + 50, 0);
b52_num--;
}
if (sam_delay == 0) {
sam_delay = sam_cooldown;
CreateSAM(random(300), 0);
sam_num--;
}
if (SQUADss2_Num > 0) {
SQUADss2_delay--;
}
if (SQUADss3_Num > 0) {
SQUADss3_delay--;
}
if (SQUADss2th1_Num > 0) {
SQUADss2th1_delay--;
}
if (SQUADth2_Num > 0) {
SQUADth2_delay--;
}
if (SQUADph2_Num > 0) {
SQUADph2_delay--;
}
if (SQUADcr2_Num > 0) {
SQUADcr2_delay--;
}
if (SQUADcr1sf1_Num > 0) {
SQUADcr1sf1_delay--;
}
if (SQUADsf2_Num > 0) {
SQUADsf2_delay--;
}
if (SQUADaa2_Num > 0) {
SQUADaa2_delay--;
}
if (DEST_Num > 0) {
DEST_delay--;
}
if (SQUADss2_delay == 0) {
SQUADss2_delay = SQUADss2_cooldown;
CreateSQUADss2();
SQUADss2_Num--;
}
if (SQUADss3_delay == 0) {
SQUADss3_delay = SQUADss3_cooldown;
CreateSQUADss3();
SQUADss3_Num--;
}
if (SQUADss2th1_delay == 0) {
SQUADss2th1_delay = SQUADss2th1_cooldown;
CreateSQUADss2th1();
SQUADss2th1_Num--;
}
if (SQUADth2_delay == 0) {
SQUADth2_delay = SQUADth2_cooldown;
CreateSQUADth2();
SQUADth2_Num--;
}
if (SQUADph2_delay == 0) {
SQUADph2_delay = SQUADph2_cooldown;
CreateSQUADph2();
SQUADph2_Num--;
}
if (SQUADcr2_delay == 0) {
SQUADcr2_delay = SQUADcr2_cooldown;
CreateSQUADcr2();
SQUADcr2_Num--;
}
if (SQUADcr1sf1_delay == 0) {
SQUADcr1sf1_delay = SQUADcr1sf1_cooldown;
CreateSQUADcr1sf1();
SQUADcr1sf1_Num--;
}
if (SQUADsf2_delay == 0) {
SQUADsf2_delay = SQUADsf2_cooldown;
CreateSQUADsf2();
SQUADsf2_Num--;
}
if (SQUADaa2_delay == 0) {
SQUADaa2_delay = SQUADaa2_cooldown;
CreateSQUADaa2();
SQUADaa2_Num--;
}
if (DEST_delay == 0) {
DEST_delay = DEST_cooldown;
CreateDestroyer(random(100) + 200, 0);
DEST_Num--;
}
distance--;
_root.pointer._x = 700 - ((distance / distanceMAX) * 400);
if (distance == 0) {
switchMission(mission + 1);
mission = 0;
KillAll();
}
};
Instance of Symbol 158 MovieClip "bg01" in Frame 88
onClipEvent (load) {
function lineup() {
_root.bg00._x = _x + 950;
_root.bg00._y = _y;
}
_xscale = 280;
_yscale = 270;
_x = 0;
_y = 0;
}
onClipEvent (enterFrame) {
if ((_root.bg_move == 1) && (_root.pause == 0)) {
_x = (_x - _root.bg_speed);
if ((_x < 0) && (_root.bg00._x < 0)) {
lineup();
}
}
}
Instance of Symbol 161 MovieClip "bg00" in Frame 88
onClipEvent (load) {
function lineup() {
_root.bg01._x = _x + 950;
_root.bg01._y = _y;
}
_xscale = 280;
_yscale = 270;
_x = 0;
_y = 0;
lineup();
}
onClipEvent (enterFrame) {
if ((_root.bg_move == 1) && (_root.pause == 0)) {
_x = (_x - _root.bg_speed);
if ((_x < 0) && (_root.bg01._x < 0)) {
lineup();
}
}
}
Instance of Symbol 173 MovieClip "MIG21" in Frame 88
onClipEvent (load) {
function damage(val) {
myhp = myhp - val;
_root.HP_txt.text = myhp;
if (myhp <= 0) {
duplicateMovieClip (_root.MIG_D, "migd", _root.total_num);
_root.migd._x = _x;
_root.migd._y = _y;
_root.migd.active = 1;
_root.total_num++;
duplicateMovieClip (_root.parachute, "para", _root.total_num);
_root.para._x = _x + 50;
_root.para._y = _y - 50;
_root.para.active = 1;
_root.total_num++;
_root.attachMovie("expl_large", "el" + _root.total_num, _root.total_num);
_root["el" + _root.total_num]._x = _x;
_root["el" + _root.total_num]._y = _y;
_root.total_num++;
_root.sound_f("snd_sam_exp");
removeMovieClip(this);
}
}
function FireMachineGun() {
_root.sound_f("snd_rpg");
duplicateMovieClip (_root.mgShot, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x + 42;
_root["sh" + _root.total_num]._y = (_y + 20) + random(5);
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num].active = 1;
_root.total_num = _root.total_num + 1;
}
function FireMissile() {
_root.sound_f("snd_sam");
missile0._visible = 0;
if (_root.r60m == 1) {
duplicateMovieClip (_root.R60, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num].originator = name;
} else {
duplicateMovieClip (_root.R3, "sh" + _root.total_num, _root.total_num);
}
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x;
_root["sh" + _root.total_num]._y = _y + 25;
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num].active = 1;
_root.total_num = _root.total_num + 1;
}
function FireBomb() {
_root.sound_f("snd_bomb");
duplicateMovieClip (_root.FAB250, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x;
_root["sh" + _root.total_num]._y = _y + 25;
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num].active = 1;
_root.total_num = _root.total_num + 1;
}
myhp = _root.migHP;
maxhp = myhp;
speed = 5;
_global.name = "unsub";
_global.active = 0;
_xscale = 50;
_yscale = 50;
if (_root.armor0 == 1) {
this.gotoAndStop(2);
}
if (_root.armor1 == 1) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_root.HP_txt.text = myhp;
if (_root.MG > 0) {
_root.MG--;
}
if (_root.MS > 0) {
_root.MS--;
}
if (_root.BM > 0) {
_root.BM--;
}
if (_root.MS <= 0) {
missile0._visible = 1;
}
}
}
Instance of Symbol 175 MovieClip "mgShot" in Frame 88
onClipEvent (load) {
speed = 25;
speed = speed * _root.game_speed;
power = _root.MG_power;
_global.dir = 0;
_global.active = 0;
_xscale = (random(100) + 10);
if (_quality == "LOW") {
_yscale = 150;
}
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
if (dir == 0) {
_x = (_x + speed);
} else {
_x = (_x - speed);
}
if (_x >= 870) {
removeMovieClip(this);
}
i = 0;
while (i < _root.bmr_num) {
if ((((this.hitTest(_root["b_52" + i].air_target00) || (this.hitTest(_root["b_52" + i].air_target01))) || (this.hitTest(_root["b_52" + i].air_target02))) || (this.hitTest(_root["b_52" + i].air_target03))) || (this.hitTest(_root["b_52" + i].air_target04))) {
_root["b_52" + i].damage(power);
removeMovieClip(this);
}
i++;
}
i = 0;
while (i < _root.en_num) {
if (this.hitTest(_root["en" + i])) {
_root["en" + i].damage(power);
removeMovieClip(this);
}
i++;
}
}
}
Instance of Symbol 176 MovieClip "R3" in Frame 88
onClipEvent (load) {
speed = 12;
speed = speed * _root.game_speed;
power = _root.k13_power;
inacuracy = _root.k13_inacuracy;
_global.dir = 0;
_global.active = 0;
_xscale = 50;
_yscale = 50;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
y = _y;
i = 0;
while (i < _root.en_num) {
if (_root["en" + i]._x > 100) {
y = _root["en" + i]._y;
break;
}
i++;
}
speedY = (y - this._y) / inacuracy;
_x = (_x + speed);
_y = (_y + speedY);
direction = ((Math.atan(speedY / speed) * 180) / Math.PI) * 1;
this._rotation = direction;
i = 0;
while (i < 2) {
_root.attachMovie("missileExhaust", "mex" + _root.total_num, _root.total_num);
_root["mex" + _root.total_num]._x = _x - (i * 8);
_root["mex" + _root.total_num]._y = _y + (random(5) - 3);
_root.total_num++;
i++;
}
if (_x >= 870) {
removeMovieClip(this);
}
i = 0;
while (i < _root.bmr_num) {
if ((((this.hitTest(_root["b_52" + i].air_target00) || (this.hitTest(_root["b_52" + i].air_target01))) || (this.hitTest(_root["b_52" + i].air_target02))) || (this.hitTest(_root["b_52" + i].air_target03))) || (this.hitTest(_root["b_52" + i].air_target04))) {
_root["b_52" + i].damage(power);
_root.sound_f("snd_he_exp_2");
duplicateMovieClip (_root.missile_blast, "bl" + _root.total_num, _root.total_num);
_root["bl" + _root.total_num]._x = _x;
_root["bl" + _root.total_num]._y = _y;
_root["bl" + _root.total_num].active = 1;
_root.total_num++;
if (_root.frag == 1) {
duplicateMovieClip (_root.shrapnel, "bl" + _root.total_num, _root.total_num);
_root["bl" + _root.total_num]._x = _x;
_root["bl" + _root.total_num]._y = _y;
_root["bl" + _root.total_num].active = 1;
_root.total_num++;
}
removeMovieClip(this);
}
i++;
}
i = 0;
while (i < _root.en_num) {
if (this.hitTest(_root["en" + i])) {
_root["en" + i].damage(power);
_root.sound_f("snd_he_exp_2");
duplicateMovieClip (_root.missile_blast, "bl" + _root.total_num, _root.total_num);
_root["bl" + _root.total_num]._x = _x;
_root["bl" + _root.total_num]._y = _y;
_root["bl" + _root.total_num].active = 1;
_root.total_num++;
if (_root.frag == 1) {
duplicateMovieClip (_root.shrapnel, "bl" + _root.total_num, _root.total_num);
_root["bl" + _root.total_num]._x = _x;
_root["bl" + _root.total_num]._y = _y;
_root["bl" + _root.total_num].active = 1;
_root.total_num++;
}
removeMovieClip(this);
}
i++;
}
}
}
Instance of Symbol 182 MovieClip "SUPERSABRE" in Frame 88
onClipEvent (load) {
function damage(val) {
myhp = myhp - val;
if (myhp <= 0) {
_root.pts = _root.pts + value;
_root.ssLost++;
duplicateMovieClip (_root.sabreD, "ssd" + _root.total_num, _root.total_num);
_root["ssd" + _root.total_num]._x = _x;
_root["ssd" + _root.total_num]._y = _y;
_root["ssd" + _root.total_num].active = 1;
_root.total_num++;
duplicateMovieClip (_root.exp_large, "el" + _root.total_num, _root.total_num);
_root["el" + _root.total_num].active = 1;
_root["el" + _root.total_num]._x = _x + 20;
_root["el" + _root.total_num]._y = _y + 20;
_root.total_num++;
_root.sound_f("snd_sam_exp");
removeMovieClip(this);
}
}
function FireMachineGun() {
_root.sound_f("snd_rpg");
duplicateMovieClip (_root.enMgShot, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x + 52;
_root["sh" + _root.total_num]._y = _y + 25;
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num].active = 1;
_root.total_num = _root.total_num + 1;
}
function FireMissile() {
_root.sound_f("snd_sam");
duplicateMovieClip (_root.Sidewinder, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x + 50;
_root["sh" + _root.total_num]._y = _y + 25;
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num].active = 1;
_root.total_num = _root.total_num + 1;
}
myhp = _root.sabreHP;
maxhp = myhp;
value = 1;
speed = (7 + random(5)) / 2;
speed = speed * _root.game_speed;
MGcooldown = 20;
MScooldown = 20;
MissileNum = 1;
MG = MGcooldown;
MS = MScooldown;
_global.name = "unsub";
_global.active = 0;
_global.mood = 1;
_xscale = 50;
_yscale = 50;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
if (MG > 0) {
MG--;
}
if (MS > 0) {
MS--;
}
_x = (_x - speed);
if ((mood == 1) && (_root.mig_21._x > 0)) {
if ((_root.mig_21._y - _y) > (speed / 2)) {
_y = (_y + (speed / 2));
}
if ((_y - _root.mig_21._y) > (speed / 2)) {
_y = (_y - (speed / 2));
}
}
if (MG <= 0) {
FireMachineGun();
MG = MGcoolDown;
}
if (((MS <= 0) && (MissileNum > 0)) && ((_x < 750) || (_root.mig_21._x >= 700))) {
FireMissile();
MS = MScoolDown;
MissileNum--;
this["missile" + MissileNum]._visible = 0;
}
if (_x <= -200) {
active = 0;
removeMovieClip(this);
}
}
}
Instance of Symbol 183 MovieClip "Sidewinder" in Frame 88
onClipEvent (load) {
speed = -10;
speed = speed * _root.game_speed;
power = _root.swPOW;
inacuracy = 20;
_global.dir = 0;
_global.active = 0;
_xscale = 50;
_yscale = 50;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
y = _y;
if (_root.mig_21._x > 0) {
y = _root.mig_21._y + 20;
}
speedY = (y - this._y) / inacuracy;
_x = (_x + speed);
_y = (_y + speedY);
direction = ((Math.atan(speedY / speed) * 180) / Math.PI) * 1;
this._rotation = direction;
_root.attachMovie("missileExhaust", "mex" + _root.total_num, _root.total_num);
_root["mex" + _root.total_num]._x = _x;
_root["mex" + _root.total_num]._y = _y + (random(5) - 3);
_root.total_num++;
if (_x <= -100) {
removeMovieClip(this);
}
if (this.hitTest(_root.mig_21)) {
_root.mig_21.damage(power);
_root.sound_f("snd_he_exp_2");
duplicateMovieClip (_root.missile_blast, "bl" + _root.total_num, _root.total_num);
_root["bl" + _root.total_num]._x = _x;
_root["bl" + _root.total_num]._y = _y;
_root["bl" + _root.total_num].active = 1;
_root.total_num++;
removeMovieClip(this);
}
}
}
Instance of Symbol 185 MovieClip "Sparrow" in Frame 88
onClipEvent (load) {
speed = -10;
speed = speed * _root.game_speed;
power = _root.spPOW;
inacuracy = 10;
_global.dir = 0;
_global.active = 0;
_global.originator = "";
_xscale = 50;
_yscale = 50;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
if (_root[originator].myhp <= 0) {
removeMovieClip(this);
}
y = _y;
if (_root.mig_21._x > 0) {
y = _root.mig_21._y + 20;
}
speedY = (y - this._y) / inacuracy;
_x = (_x + speed);
_y = (_y + speedY);
direction = ((Math.atan(speedY / speed) * 180) / Math.PI) * 1;
this._rotation = direction;
_root.attachMovie("missileExhaust", "mex" + _root.total_num, _root.total_num);
_root["mex" + _root.total_num]._x = _x;
_root["mex" + _root.total_num]._y = _y + (random(5) - 3);
_root.total_num++;
if (_x <= -100) {
removeMovieClip(this);
}
if (this.hitTest(_root.mig_21)) {
_root.mig_21.damage(power);
_root.sound_f("snd_he_exp_2");
duplicateMovieClip (_root.missile_blast, "bl" + _root.total_num, _root.total_num);
_root["bl" + _root.total_num]._x = _x;
_root["bl" + _root.total_num]._y = _y;
_root["bl" + _root.total_num].active = 1;
_root.total_num++;
removeMovieClip(this);
}
}
}
Instance of Symbol 187 MovieClip "enMgShot" in Frame 88
onClipEvent (load) {
speed = -25;
speed = speed * _root.game_speed;
power = 1;
_global.dir = 0;
_global.active = 0;
if (_quality == "LOW") {
_yscale = 150;
}
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
if (dir == 0) {
_x = (_x + speed);
} else {
_x = (_x - speed);
}
if (_x <= -100) {
removeMovieClip(this);
}
if (this.hitTest(_root.mig_21)) {
_root.mig_21.damage(power);
removeMovieClip(this);
}
}
}
Instance of Symbol 193 MovieClip "PHANTOM2" in Frame 88
onClipEvent (load) {
function damage(val) {
myhp = myhp - val;
if (myhp <= 0) {
_root.pts = _root.pts + value;
_root.phLost++;
duplicateMovieClip (_root.phD, "phd" + _root.total_num, _root.total_num);
_root["phd" + _root.total_num]._x = _x;
_root["phd" + _root.total_num]._y = _y;
_root["phd" + _root.total_num].active = 1;
_root.total_num++;
duplicateMovieClip (_root.exp_large, "el" + _root.total_num, _root.total_num);
_root["el" + _root.total_num].active = 1;
_root["el" + _root.total_num]._x = _x + 20;
_root["el" + _root.total_num]._y = _y + 20;
_root.total_num++;
_root.sound_f("snd_sam_exp");
removeMovieClip(this);
}
}
function FireMachineGun() {
_root.sound_f("snd_rpg");
duplicateMovieClip (_root.enMgShot, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x + 52;
_root["sh" + _root.total_num]._y = _y + 25;
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num].active = 1;
_root.total_num = _root.total_num + 1;
}
function FireMissile(y) {
_root.sound_f("snd_sam");
duplicateMovieClip (_root.Sparrow, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x + 50;
_root["sh" + _root.total_num]._y = (y / 2) + _y;
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num].active = 1;
_root["sh" + _root.total_num].originator = name;
_root.total_num = _root.total_num + 1;
}
myhp = _root.phantomHP;
maxhp = myhp;
value = 7;
speed = (7 + random(3)) / 2;
speed = speed * _root.game_speed;
MGcooldown = _root.phROF;
MScooldown = 10;
MissileNum = 2;
MG = MGcooldown;
MS = MScooldown;
_global.name = "unsub";
_global.active = 0;
_global.mood = 1;
_xscale = 50;
_yscale = 50;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
if (MG > 0) {
MG--;
}
if (MS > 0) {
MS--;
}
_x = (_x - speed);
if ((mood == 1) && (_root.mig_21._x > 0)) {
if ((_root.mig_21._y - _y) > (speed / 2)) {
_y = (_y + (speed / 2));
}
if ((_y - _root.mig_21._y) > (speed / 2)) {
_y = (_y - (speed / 2));
}
}
if (MG <= 0) {
FireMachineGun();
MG = MGcoolDown;
}
if (((MS <= 0) && (MissileNum > 0)) && ((_x < 750) || (_root.mig_21._x >= 670))) {
FireMissile(this["missile" + (MissileNum - 1)]._y);
MS = MScoolDown;
MissileNum--;
this["missile" + MissileNum]._visible = 0;
}
if (_x <= -200) {
active = 0;
removeMovieClip(this);
}
}
}
Instance of Symbol 199 MovieClip "THUNDERCHIEF" in Frame 88
onClipEvent (load) {
function damage(val) {
myhp = myhp - val;
if (myhp <= 0) {
_root.pts = _root.pts + value;
_root.thLost++;
duplicateMovieClip (_root.thudD, "thd" + _root.total_num, _root.total_num);
_root["thd" + _root.total_num]._x = _x;
_root["thd" + _root.total_num]._y = _y;
_root["thd" + _root.total_num].active = 1;
_root.total_num++;
duplicateMovieClip (_root.exp_large, "el" + _root.total_num, _root.total_num);
_root["el" + _root.total_num].active = 1;
_root["el" + _root.total_num]._x = _x + 20;
_root["el" + _root.total_num]._y = _y + 20;
_root.total_num++;
_root.sound_f("snd_sam_exp");
removeMovieClip(this);
}
}
function FireMachineGun() {
duplicateMovieClip (_root.enMgShot, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x + 52;
_root["sh" + _root.total_num]._y = _y + 25;
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num]._alpha = random(50) + 50;
_root["sh" + _root.total_num].active = 1;
_root.total_num = _root.total_num + 1;
}
function FireMissile(y) {
_root.sound_f("snd_sam");
duplicateMovieClip (_root.Sidewinder, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x + 50;
_root["sh" + _root.total_num]._y = (y / 2) + _y;
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num].active = 1;
_root.total_num = _root.total_num + 1;
}
myhp = _root.thudHP;
maxhp = myhp;
value = 2;
speed = (7 + random(3)) / 2;
speed = speed * _root.game_speed;
MGcooldown = 300;
MScooldown = 10;
MissileNum = 2;
MG = MGcooldown;
MS = MScooldown;
_global.name = "unsub";
_global.active = 0;
_xscale = 50;
_yscale = 50;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
if (MG > 0) {
MG--;
}
if (MS > 0) {
MS--;
}
_x = (_x - speed);
if (MG <= 0) {
FireMachineGun();
MG = MGcoolDown;
}
if (((MS <= 0) && (MissileNum > 0)) && ((_x < 750) || (_root.mig_21._x >= 670))) {
FireMissile(this["missile" + (MissileNum - 1)]._y);
MS = MScoolDown;
MissileNum--;
this["missile" + MissileNum]._visible = 0;
}
if (_x <= -200) {
active = 0;
removeMovieClip(this);
}
}
}
Instance of Symbol 201 MovieClip "R60" in Frame 88
onClipEvent (load) {
speed = 12;
speed = speed * _root.game_speed;
power = _root.r60_power;
inacuracy = _root.r60_inacuracy;
_global.dir = 0;
_global.active = 0;
_global.originator = "";
_xscale = 50;
_yscale = 50;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
if (_root[originator].myhp <= 0) {
removeMovieClip(this);
}
y = _y;
i = 0;
while (i < _root.en_num) {
if (_root["en" + i]._x > 100) {
y = _root["en" + i]._y;
break;
}
i++;
}
speedY = (y - this._y) / inacuracy;
_x = (_x + speed);
_y = (_y + speedY);
direction = ((Math.atan(speedY / speed) * 180) / Math.PI) * 1;
this._rotation = direction;
i = 0;
while (i < 3) {
_root.attachMovie("missileExhaust", "mex" + _root.total_num, _root.total_num);
_root["mex" + _root.total_num]._x = _x - (i * 8);
_root["mex" + _root.total_num]._y = _y + (random(5) - 3);
_root.total_num++;
i++;
}
if (_x >= 870) {
removeMovieClip(this);
}
i = 0;
while (i < _root.bmr_num) {
if ((((this.hitTest(_root["b_52" + i].air_target00) || (this.hitTest(_root["b_52" + i].air_target01))) || (this.hitTest(_root["b_52" + i]).air_target02)) || (this.hitTest(_root["b_52" + i].air_target03))) || (this.hitTest(_root["b_52" + i].air_target04))) {
_root["b_52" + i].damage(power);
_root.sound_f("snd_he_exp_2");
duplicateMovieClip (_root.missile_blast, "bl" + _root.total_num, _root.total_num);
_root["bl" + _root.total_num]._x = _x;
_root["bl" + _root.total_num]._y = _y;
_root["bl" + _root.total_num].active = 1;
_root.total_num++;
if (_root.frag == 1) {
duplicateMovieClip (_root.shrapnel, "bl" + _root.total_num, _root.total_num);
_root["bl" + _root.total_num]._x = _x;
_root["bl" + _root.total_num]._y = _y;
_root["bl" + _root.total_num].active = 1;
_root.total_num++;
}
removeMovieClip(this);
}
i++;
}
i = 0;
while (i < _root.en_num) {
if (this.hitTest(_root["en" + i])) {
_root["en" + i].damage(power);
_root.sound_f("snd_he_exp_2");
duplicateMovieClip (_root.missile_blast, "bl" + _root.total_num, _root.total_num);
_root["bl" + _root.total_num]._x = _x;
_root["bl" + _root.total_num]._y = _y;
_root["bl" + _root.total_num].active = 1;
_root.total_num++;
if (_root.frag == 1) {
duplicateMovieClip (_root.shrapnel, "bl" + _root.total_num, _root.total_num);
_root["bl" + _root.total_num]._x = _x;
_root["bl" + _root.total_num]._y = _y;
_root["bl" + _root.total_num].active = 1;
_root.total_num++;
}
removeMovieClip(this);
}
i++;
}
}
}
Instance of Symbol 207 MovieClip "CRUSADER" in Frame 88
onClipEvent (load) {
function damage(val) {
myhp = myhp - val;
if (myhp <= 0) {
_root.pts = _root.pts + value;
_root.crLost++;
duplicateMovieClip (_root.crD, "crd" + _root.total_num, _root.total_num);
_root["crd" + _root.total_num]._x = _x;
_root["crd" + _root.total_num]._y = _y;
_root["crd" + _root.total_num].active = 1;
_root.total_num++;
duplicateMovieClip (_root.exp_large, "el" + _root.total_num, _root.total_num);
_root["el" + _root.total_num].active = 1;
_root["el" + _root.total_num]._x = _x + 20;
_root["el" + _root.total_num]._y = _y + 20;
_root.total_num++;
_root.sound_f("snd_sam_exp");
removeMovieClip(this);
}
}
function FireMachineGun() {
_root.sound_f("snd_rpg");
duplicateMovieClip (_root.enMgShot, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x + 52;
_root["sh" + _root.total_num]._y = _y + random(30);
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num].active = 1;
_root.total_num = _root.total_num + 1;
}
function FireMissile(y) {
_root.sound_f("snd_sam");
duplicateMovieClip (_root.Sidewinder, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x + 50;
_root["sh" + _root.total_num]._y = (y / 2) + _y;
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num].active = 1;
_root.total_num = _root.total_num + 1;
}
myhp = _root.crusaderHP;
maxhp = myhp;
value = 4;
speed = (10 + random(3)) / 2;
speed = speed * _root.game_speed;
MGcooldown = _root.crROF;
MScooldown = 20;
MissileNum = 2;
MG = MGcooldown;
MS = MScooldown;
_global.name = "unsub";
_global.active = 0;
_global.mood = 1;
_xscale = 50;
_yscale = 50;
}
onClipEvent (enterFrame) {
if (active == 1) {
if (MG > 0) {
MG--;
}
if (MS > 0) {
MS--;
}
_x = (_x - speed);
if ((mood == 1) && (_root.mig_21._x > 0)) {
if ((_root.mig_21._y - _y) > (speed / 2)) {
_y = (_y + (speed / 2));
}
if ((_y - _root.mig_21._y) > (speed / 2)) {
_y = (_y - (speed / 2));
}
}
if (MG <= 0) {
FireMachineGun();
MG = MGcoolDown;
}
if (((MS <= 0) && (MissileNum > 0)) && ((_x < 750) || (_root.mig_21._x >= 670))) {
FireMissile(this["missile" + (MissileNum - 1)]._y);
MS = MScoolDown;
MissileNum--;
this["missile" + MissileNum]._visible = 0;
}
if (_x <= -200) {
active = 0;
removeMovieClip(this);
}
}
}
Instance of Symbol 217 MovieClip "AARDVARK" in Frame 88
onClipEvent (load) {
function damage(val) {
myhp = myhp - val;
if (myhp <= 0) {
_root.pts = _root.pts + value;
_root.aaLost++;
duplicateMovieClip (_root.aaD, "aad" + _root.total_num, _root.total_num);
_root["aad" + _root.total_num]._x = _x;
_root["aad" + _root.total_num]._y = _y;
_root["aad" + _root.total_num].active = 1;
_root.total_num++;
duplicateMovieClip (_root.exp_large, "el" + _root.total_num, _root.total_num);
_root["el" + _root.total_num].active = 1;
_root["el" + _root.total_num]._x = _x + 20;
_root["el" + _root.total_num]._y = _y + 20;
_root.total_num++;
_root.sound_f("snd_sam_exp");
removeMovieClip(this);
}
}
function FireMissile(y) {
_root.sound_f("snd_sam");
duplicateMovieClip (_root.Sparrow, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x + 110;
_root["sh" + _root.total_num]._y = (y / 2) + _y;
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num].active = 1;
_root["sh" + _root.total_num].originator = name;
_root.total_num = _root.total_num + 1;
}
myhp = _root.aardvarkHP;
maxhp = myhp;
value = 10;
speed = (10 + random(3)) / 2;
speed = speed * _root.game_speed;
MScooldown = 30;
MissileNum = 4;
MS = MScooldown;
_global.name = "unsub";
_global.active = 0;
_xscale = 50;
_yscale = 50;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
if (MS > 0) {
MS--;
}
_x = (_x - speed);
if (((MS <= 0) && (MissileNum > 0)) && ((_x < 750) || (_root.mig_21._x >= 670))) {
FireMissile(this["missile" + (MissileNum - 1)]._y);
MS = MScoolDown;
MissileNum--;
this["missile" + MissileNum]._visible = 0;
}
if (_x <= -200) {
active = 0;
_root.pts = _root.pts - 5;
removeMovieClip(this);
}
}
}
Instance of Symbol 123 MovieClip [exp_large] "exp_large" in Frame 88
onClipEvent (load) {
_global.active = 0;
_xscale = 100;
_yscale = 100;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_alpha = (_alpha - 12);
}
if (_alpha <= 0) {
removeMovieClip(this);
}
}
Instance of Symbol 222 MovieClip "parachute" in Frame 88
onClipEvent (load) {
speed = 2;
lifetime = 250;
dir = 1;
_xscale = 70;
_yscale = 70;
_global.active = 0;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_root.distance++;
_xscale = (_xscale-1);
_yscale = (_yscale-1);
if (dir == 1) {
_rotation = (_rotation + 0.5);
} else {
_rotation = (_rotation - 0.5);
}
if (_rotation >= 10) {
dir = 0;
}
if (_rotation <= -10) {
dir = 1;
}
_x = (_x + (speed / 2));
_y = (_y + speed);
lifetime--;
if ((((_xscale <= 0) || (_y >= 400)) || (_x >= 1000)) || (lifetime <= 0)) {
_root.ups--;
_root.pts = _root.pts - (10 + _root.mission);
_root.switchMission(_root.mission);
_root.mission = 0;
_root.KillAll();
removeMovieClip(this);
}
}
}
Instance of Symbol 224 MovieClip "missile_blast" in Frame 88
onClipEvent (load) {
_global.active = 0;
_xscale = 10;
_yscale = 10;
_alpha = 50;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_xscale = (_xscale + 90);
_yscale = (_yscale + 90);
_alpha = (_alpha - 7);
if (_alpha <= 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 233 MovieClip "shrapnel" in Frame 88
onClipEvent (load) {
power = 1 + _root.frag;
_global.active = 0;
}
onClipEvent (enterFrame) {
if (active == 1) {
i = 0;
while (i < _root.en_num) {
if (this.hitTest(_root["en" + i])) {
_root["en" + i].damage(power);
}
i++;
}
i = 0;
while (i < _root.bmr_num) {
if (this.hitTest(_root["b_52" + i])) {
_root["b_52" + i].damage(power);
}
i++;
}
}
}
Instance of Symbol 235 MovieClip "SAM" in Frame 88
onClipEvent (load) {
speed = _root.bg_speed;
_alpha = 20;
_global.active = 0;
missileNum = 6;
MScooldown = 60;
MS = MScooldown;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_x = (_x - speed);
MS--;
if ((missileNum > 0) && (_x < 850)) {
found = 0;
enname = "";
i = 0;
while (i < _root.en_num) {
if (_root["en" + i]._x > 100) {
y = _root["en" + i]._y;
found = 1;
enname = "en" + i;
break;
}
i++;
}
if (found == 0) {
i = 0;
while (i < _root.bmr_num) {
if (_root["b_52" + i]._x > 100) {
y = _root["b_52" + i]._y;
found = 1;
enname = "b_52" + i;
break;
}
i++;
}
}
if ((found == 1) && (MS <= 0)) {
_root.sound_f("missile_s");
missileNum--;
MS = MScooldown;
duplicateMovieClip (_root.V750, "sh" + _root.total_num, _root.ground_depth);
_root["sh" + _root.total_num]._x = _x;
_root["sh" + _root.total_num]._y = _y;
_root["sh" + _root.total_num].us_plane = enname;
_root["sh" + _root.total_num].active = 1;
_root.ground_depth++;
_root.total_num++;
}
}
}
}
Instance of Symbol 239 MovieClip "GUN_BOAT" in Frame 88
onClipEvent (load) {
function damage(val) {
myhp = myhp - val;
if (myhp <= 0) {
_root.pts = _root.pts + value;
_root.gbLost++;
missileNum = 0;
_root.sound_f("snd_flame_0");
}
}
function FireMissile(y) {
_root.sound_f("snd_sam");
duplicateMovieClip (_root.Sparrow, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x + 20;
_root["sh" + _root.total_num]._y = _y - 20;
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num].active = 1;
_root["sh" + _root.total_num].originator = name;
_root.total_num = _root.total_num + 1;
}
myhp = 1;
maxhp = myhp;
value = 7;
speed = (10 + random(3)) / 2;
speed = speed * _root.game_speed;
MScooldown = 40;
MissileNum = 4;
MS = MScooldown;
_global.name = "unsub";
_global.active = 0;
_xscale = 50;
_yscale = 50;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
if (MS > 0) {
MS--;
}
_x = (_x - speed);
if (((MS <= 0) && (MissileNum > 0)) && (_x < 650)) {
FireMissile(this["missile" + (MissileNum - 1)]._y);
MS = MScoolDown;
MissileNum--;
this["missile" + MissileNum]._visible = 0;
}
if (_x <= -200) {
active = 0;
removeMovieClip(this);
}
if (myhp <= 0) {
i = 0;
while (i < 2) {
_root.attachMovie("planeburn", "pb" + _root.total_num, _root.total_num);
_root["pb" + _root.total_num]._x = _x - (i * 5);
_root["pb" + _root.total_num]._y = (_y + 10) + (random(10) - 5);
_root["pb" + _root.total_num].onEnterFrame = function () {
this._y = this._y - 7;
this._x = this._x + 5;
};
_root.total_num++;
i++;
}
}
}
}
Instance of Symbol 243 MovieClip "DESTROYER" in Frame 88
onClipEvent (load) {
function damage(val) {
myhp = myhp - val;
if (myhp <= 0) {
_root.sound_f("snd_flame_0");
_root.pts = _root.pts + value;
_root.gbLost++;
missileNum = 0;
}
}
function FireMissile(y) {
_root.sound_f("snd_sam");
duplicateMovieClip (_root.Sparrow, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x - 250;
_root["sh" + _root.total_num]._y = _y + 20;
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num].active = 1;
_root["sh" + _root.total_num].originator = name;
_root.total_num = _root.total_num + 1;
}
myhp = 5;
maxhp = myhp;
value = 25;
speed = (10 + random(3)) / 2;
MScooldown = 70;
MissileNum = 10;
MS = MScooldown;
_global.name = "unsub";
_global.active = 0;
_xscale = 50;
_yscale = 50;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
if (myhp > 0) {
_root.distance++;
}
if (MS > 0) {
MS--;
}
_x = (_x - speed);
if (((MS <= 0) && (MissileNum > 0)) && (_x < 1350)) {
FireMissile(this["missile" + (MissileNum - 1)]._y);
MS = MScoolDown;
MissileNum--;
this["missile" + MissileNum]._visible = 0;
}
if (_x <= -200) {
active = 0;
removeMovieClip(this);
}
if (myhp <= 0) {
speed = 5;
i = 0;
while (i < 2) {
_root.attachMovie("planeburn", "pb" + _root.total_num, _root.total_num);
_root["pb" + _root.total_num]._x = (_x - 50) - (i * 5);
_root["pb" + _root.total_num]._y = (_y + 70) + (random(10) - 5);
_root["pb" + _root.total_num].onEnterFrame = function () {
this._y = this._y - 7;
this._x = this._x + 5;
};
_root.total_num++;
i++;
}
}
if (_x <= 1250) {
if (speed > 0) {
speed = speed - 0.05;
}
}
if (myhp <= 3) {
i = 0;
while (i < 2) {
_root.attachMovie("planeburn", "pb" + _root.total_num, _root.total_num);
_root["pb" + _root.total_num]._x = (_x - 200) - (i * 5);
_root["pb" + _root.total_num]._y = (_y + 50) + (random(10) - 5);
_root["pb" + _root.total_num].onEnterFrame = function () {
this._y = this._y - 7;
this._x = this._x + 5;
};
_root.total_num++;
i++;
}
}
}
}
Instance of Symbol 245 MovieClip "FAB250" in Frame 88
onClipEvent (load) {
power = 1;
speed = 7;
lifetime = 30;
dir = 1;
_xscale = 50;
_yscale = 50;
_global.active = 0;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
if (dir == 1) {
_rotation = (_rotation + 2);
} else {
_rotation = (_rotation - 2);
}
if (_rotation >= 10) {
dir = 0;
}
if (_rotation <= -10) {
dir = 1;
}
_x = (_x - (speed / 4));
_y = (_y + speed);
lifetime--;
if (((_y >= 400) || (_x >= 1000)) || (lifetime <= 0)) {
duplicateMovieClip (_root.splash, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._x = _x;
_root["sh" + _root.total_num]._y = _y;
_root["sh" + _root.total_num].active = 1;
_root.total_num++;
removeMovieClip(this);
}
}
i = 0;
while (i < _root.en_num) {
if (this.hitTest(_root["ship" + i].ds_target00) || (this.hitTest(_root["ship" + i].ds_target01))) {
_root["ship" + i].damage(power);
_root.sound_f("snd_he_exp_1");
duplicateMovieClip (_root.missile_blast, "bl" + _root.total_num, _root.total_num);
_root["bl" + _root.total_num]._x = _x;
_root["bl" + _root.total_num]._y = _y;
_root["bl" + _root.total_num].active = 1;
_root.total_num++;
duplicateMovieClip (_root.shrapnel, "bl" + _root.total_num, _root.total_num);
_root["bl" + _root.total_num]._x = _x;
_root["bl" + _root.total_num]._y = _y;
_root["bl" + _root.total_num].active = 1;
_root.total_num++;
removeMovieClip(this);
}
i++;
}
}
Instance of Symbol 249 MovieClip "V750" in Frame 88
onClipEvent (load) {
speed = 0.1;
_xscale = 5;
_yscale = 5;
_global.active = 0;
_global.us_plane = "";
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
if (_root[us_plane].myhp <= 0) {
removeMovieClip(this);
}
duplicateMovieClip (_root.v750_exhaust, "mex" + _root.total_num, _root.ground_depth);
_root["mex" + _root.total_num]._x = _x;
_root["mex" + _root.total_num]._y = _y;
_root["mex" + _root.total_num]._xscale = _xscale;
_root["mex" + _root.total_num]._yscale = _yscale;
_root["mex" + _root.total_num].active = 1;
_root.total_num++;
_root.ground_depth++;
delta_x = _x - (_root[us_plane]._x + 100);
delta_y = _y - (_root[us_plane]._y + 20);
Rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = Rotation;
proximity = Math.sqrt((delta_x * delta_x) + (delta_y * delta_y));
if (proximity > (_height / 2)) {
_y = (_y - (speed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (speed * Math.sin(_rotation * (Math.PI/180))));
}
if (_xscale < 10) {
_xscale = (_xscale + 0.2);
_yscale = (_yscale + 0.2);
speed = speed + (0.05 * _root.game_speed);
} else if (_xscale < 70) {
_xscale = (_xscale + 0.9);
_yscale = (_yscale + 0.9);
speed = speed + (0.15 * _root.game_speed);
}
if (_xscale >= 30) {
if (proximity < 50) {
_root.sound_f("snd_he_exp_2");
duplicateMovieClip (_root.missile_blast, "bl" + _root.total_num, _root.total_num);
_root["bl" + _root.total_num]._x = _x;
_root["bl" + _root.total_num]._y = _y;
_root["bl" + _root.total_num].active = 1;
_root.total_num++;
duplicateMovieClip (_root.shrapnel, "bl" + _root.total_num, _root.total_num);
_root["bl" + _root.total_num]._x = _x;
_root["bl" + _root.total_num]._y = _y;
_root["bl" + _root.total_num].active = 1;
_root.total_num++;
removeMovieClip(this);
}
}
}
}
Instance of Symbol 251 MovieClip "v750_exhaust" in Frame 88
onClipEvent (load) {
_alpha = 50;
_global.active = 0;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
_alpha = (_alpha - 3);
if (_alpha <= 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 265 MovieClip "B52" in Frame 88
onClipEvent (load) {
function damage(val) {
myhp = myhp - val;
if (myhp <= 0) {
_root.pts = _root.pts + value;
_root.b52Lost++;
duplicateMovieClip (_root.exp_large, "el" + _root.total_num, _root.total_num);
_root["el" + _root.total_num].active = 1;
_root["el" + _root.total_num]._x = _x + 20;
_root["el" + _root.total_num]._y = _y + 20;
_root.total_num++;
duplicateMovieClip (_root.B52_D, "b52d" + _root.total_num, _root.total_num);
_root["b52d" + _root.total_num]._x = _x;
_root["b52d" + _root.total_num]._y = _y;
_root["b52d" + _root.total_num].active = 1;
_root.total_num++;
_root.sound_f("snd_sam_exp");
removeMovieClip(this);
}
}
function FireGUN(dx, dy) {
_root.sound_f("snd_tnk_shot");
duplicateMovieClip (_root.b52_shot, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 0;
_root["sh" + _root.total_num]._x = _x - 220;
_root["sh" + _root.total_num]._y = _y - 10;
_root["sh" + _root.total_num].delta_x = dx;
_root["sh" + _root.total_num].delta_y = dy;
_root["sh" + _root.total_num].active = 1;
_root.total_num = _root.total_num + 1;
}
myhp = _root.b52HP;
maxhp = myhp;
value = 50;
speed = 5;
MGcooldown = 12;
MG = 0;
_global.name = "unsub";
_global.active = 0;
_xscale = 50;
_yscale = 50;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_root.distance++;
if (MG > 0) {
MG--;
}
_x = (_x - speed);
if (_root.mig_21._x > 0) {
if ((_root.mig_21._y - _y) > (speed / 2)) {
_y = (_y + Math.abs(speed / 2));
}
if ((_y - _root.mig_21._y) > (speed / 2)) {
_y = (_y - Math.abs(speed / 2));
}
}
if (_x <= 500) {
dir = 1;
speed = speed - 0.1;
}
if ((_x >= 1300) && (dir == 1)) {
speed = speed + 0.1;
}
delta_x = _x - _root.mig_21._x;
delta_y = _y - (_root.mig_21._y + 20);
Rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
this.b52_gun._rotation = Rotation + 90;
if ((MG <= 0) && (_x < 1750)) {
FireGUN(delta_x, delta_y);
MG = MGcoolDown;
}
if (_x <= -200) {
active = 0;
removeMovieClip(this);
}
}
}
Instance of Symbol 273 MovieClip "B52_D" in Frame 88
onClipEvent (load) {
speed = 3;
lifetime = 200;
darkness = 0;
_xscale = 50;
_yscale = 50;
_global.active = 0;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_rotation = (_rotation + 0.05);
_x = (_x + speed);
_y = (_y + (speed / 2));
lifetime--;
if (((_y >= 600) || (_x >= 1200)) || (lifetime <= 0)) {
removeMovieClip(this);
}
i = 0;
while (i < 1) {
_root.attachMovie("planeburn", "pb" + _root.total_num, _root.total_num);
_root["pb" + _root.total_num]._x = (_x - 200) - (i * 5);
_root["pb" + _root.total_num]._y = (_y - 20) + (random(10) - 5);
_root.total_num++;
i++;
}
i = 0;
while (i < 2) {
_root.attachMovie("planeburn", "pb" + _root.total_num, _root.total_num);
_root["pb" + _root.total_num]._x = _x - (i * 5);
_root["pb" + _root.total_num]._y = (_y + 20) + (random(10) - 5);
_root.total_num++;
i++;
}
darkness = darkness - 0.9;
var colour = new Color(this);
var trans = {ra:"100", rb:darkness, ga:"100", gb:darkness, ba:"100", bb:darkness};
colour.setTransform(trans);
}
}
Instance of Symbol 275 MovieClip "b52_shot" in Frame 88
onClipEvent (load) {
speed = 25;
power = 3;
lifetime = 0;
_global.dir = 0;
_global.active = 0;
_xscale = 50;
_yscale = 50;
_global.delta_x = 0;
_global.delta_y = 0;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
lifetime++;
if (lifetime == 3) {
_visible = 1;
}
Rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_rotation = (Rotation + 90);
proximity = Math.sqrt((delta_x * delta_x) + (delta_y * delta_y));
_y = (_y - (speed * Math.cos(Rotation * (Math.PI/180))));
_x = (_x + (speed * Math.sin(Rotation * (Math.PI/180))));
if (_x <= -100) {
removeMovieClip(this);
}
if (this.hitTest(_root.mig_21)) {
_root.mig_21.damage(power);
removeMovieClip(this);
}
}
}
Instance of Symbol 277 MovieClip "sabreD" in Frame 88
onClipEvent (load) {
speed = 9;
lifetime = 200;
darkness = 0;
_xscale = 50;
_yscale = 50;
_global.active = 0;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_xscale = (_xscale - 1);
_yscale = (_yscale - 1);
_alpha = (_alpha - 3);
_rotation = (_rotation - 0.3);
_x = (_x - speed);
_y = (_y + (speed / 2));
lifetime--;
if (((((_alpha <= 0) || (_y >= 400)) || (_x >= 1000)) || (lifetime <= 0)) || (_xscale <= 0)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 279 MovieClip "thudD" in Frame 88
onClipEvent (load) {
speed = 9;
lifetime = 200;
darkness = 0;
_xscale = 50;
_yscale = 50;
_global.active = 0;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_xscale = (_xscale - 1);
_yscale = (_yscale - 1);
_alpha = (_alpha - 3);
_rotation = (_rotation - 0.3);
_x = (_x - speed);
_y = (_y + (speed / 2));
lifetime--;
if (((((_alpha <= 0) || (_y >= 400)) || (_x >= 1000)) || (lifetime <= 0)) || (_xscale <= 0)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 281 MovieClip "phD" in Frame 88
onClipEvent (load) {
speed = 9;
lifetime = 200;
darkness = 0;
_xscale = 50;
_yscale = 50;
_global.active = 0;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_xscale = (_xscale - 1);
_yscale = (_yscale - 1);
_alpha = (_alpha - 3);
_rotation = (_rotation - 0.3);
_x = (_x - speed);
_y = (_y + (speed / 2));
lifetime--;
if (((((_alpha <= 0) || (_y >= 400)) || (_x >= 1000)) || (lifetime <= 0)) || (_xscale <= 0)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 283 MovieClip "crD" in Frame 88
onClipEvent (load) {
speed = 9;
lifetime = 200;
darkness = 0;
_xscale = 50;
_yscale = 50;
_global.active = 0;
if (_root.armor0 == 1) {
gotoAndStop (89);
}
if (_root.armor1 == 1) {
gotoAndStop (90);
}
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_xscale = (_xscale - 1);
_yscale = (_yscale - 1);
_alpha = (_alpha - 3);
_rotation = (_rotation - 0.3);
_x = (_x - speed);
_y = (_y + (speed / 2));
lifetime--;
if (((((_alpha <= 0) || (_y >= 400)) || (_x >= 1000)) || (lifetime <= 0)) || (_xscale <= 0)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 285 MovieClip "aaD" in Frame 88
onClipEvent (load) {
speed = 9;
lifetime = 200;
darkness = 0;
_xscale = 50;
_yscale = 50;
_global.active = 0;
if (_root.armor0 == 1) {
gotoAndStop (89);
}
if (_root.armor1 == 1) {
gotoAndStop (90);
}
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_xscale = (_xscale - 1);
_yscale = (_yscale - 1);
_alpha = (_alpha - 3);
_rotation = (_rotation - 0.3);
_x = (_x - speed);
_y = (_y + (speed / 2));
lifetime--;
if (((((_alpha <= 0) || (_y >= 400)) || (_x >= 1000)) || (lifetime <= 0)) || (_xscale <= 0)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 287 MovieClip "sfD" in Frame 88
onClipEvent (load) {
speed = 9;
lifetime = 200;
darkness = 0;
_xscale = 50;
_yscale = 50;
_global.active = 0;
if (_root.armor0 == 1) {
gotoAndStop (89);
}
if (_root.armor1 == 1) {
gotoAndStop (90);
}
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_xscale = (_xscale - 1);
_yscale = (_yscale - 1);
_alpha = (_alpha - 3);
_rotation = (_rotation - 0.3);
_x = (_x - speed);
_y = (_y + (speed / 2));
lifetime--;
if (((((_alpha <= 0) || (_y >= 400)) || (_x >= 1000)) || (lifetime <= 0)) || (_xscale <= 0)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 289 MovieClip "splash" in Frame 88
onClipEvent (load) {
_global.active = 0;
_xscale = 10;
_yscale = 10;
_alpha = 100;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_xscale = (_xscale + 20);
_yscale = (_yscale + 20);
_alpha = (_alpha - 7);
if (_alpha <= 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 291 MovieClip "MIG_D" in Frame 88
onClipEvent (load) {
speed = 9;
lifetime = 200;
darkness = 0;
_xscale = 50;
_yscale = 50;
_global.active = 0;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_xscale = (_xscale - 1);
_yscale = (_yscale - 1);
_alpha = (_alpha - 3);
_rotation = (_rotation + 0.3);
_x = (_x + speed);
_y = (_y + (speed / 2));
lifetime--;
if (((((_alpha <= 0) || (_y >= 400)) || (_x >= 1000)) || (lifetime <= 0)) || (_xscale <= 0)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 293 MovieClip "CLOUD" in Frame 88
onClipEvent (load) {
speed = (27 + random(5)) / 2;
_global.active = 0;
scale = random(50) + 10;
_xscale = (scale * 2);
_yscale = scale;
_alpha = (random(20) + 5);
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
_x = (_x - speed);
if (_x <= -200) {
active = 0;
removeMovieClip(this);
}
}
}
Instance of Symbol 303 MovieClip "STARFIGHTER" in Frame 88
onClipEvent (load) {
function damage(val) {
myhp = myhp - val;
if (myhp <= 0) {
_root.pts = _root.pts + value;
_root.sfLost++;
duplicateMovieClip (_root.sfD, "sfd" + _root.total_num, _root.total_num);
_root["sfd" + _root.total_num]._x = _x;
_root["sfd" + _root.total_num]._y = _y;
_root["sfd" + _root.total_num].active = 1;
_root.total_num++;
duplicateMovieClip (_root.exp_large, "el" + _root.total_num, _root.total_num);
_root["el" + _root.total_num].active = 1;
_root["el" + _root.total_num]._x = _x + 20;
_root["el" + _root.total_num]._y = _y + 20;
_root.total_num++;
_root.sound_f("snd_sam_exp");
removeMovieClip(this);
}
}
function FireMissile(y) {
_root.sound_f("snd_sam");
duplicateMovieClip (_root.Sidewinder, "sh" + _root.total_num, _root.total_num);
_root["sh" + _root.total_num]._visible = 1;
_root["sh" + _root.total_num]._x = _x + 90;
_root["sh" + _root.total_num]._y = (y / 2) + _y;
_root["sh" + _root.total_num].dir = 0;
_root["sh" + _root.total_num].active = 1;
_root.total_num = _root.total_num + 1;
}
myhp = _root.sfHP;
maxhp = myhp;
value = 10;
speed = (15 + random(3)) / 2;
speed = speed * _root.game_speed;
MScooldown = 20;
MissileNum = 4;
MS = MScooldown;
_global.name = "unsub";
_global.active = 0;
_xscale = 50;
_yscale = 50;
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
if (MS > 0) {
MS--;
}
_x = (_x - speed);
if (((MS <= 0) && (MissileNum > 0)) && ((_x < 750) || (_root.mig_21._x >= 670))) {
FireMissile(this["missile" + (MissileNum - 1)]._y);
MS = MScoolDown;
MissileNum--;
this["missile" + MissileNum]._visible = 0;
}
if (_x <= -200) {
active = 0;
removeMovieClip(this);
}
}
}
Instance of Symbol 311 MovieClip in Frame 88
onClipEvent (enterFrame) {
_root.pts_txt.text = _root.pts;
}
Instance of Symbol 318 MovieClip "radarWarn" in Frame 88
onClipEvent (load) {
_xscale = 70;
_yscale = 70;
lifetime = 50;
_global.active = 0;
_global.trg = "";
_global.name = "";
}
onClipEvent (enterFrame) {
if ((active == 1) && (_root.pause == 0)) {
if (_visible == 1) {
_visible = 0;
} else {
_visible = 1;
}
lifetime--;
this.radar_txt.text = name;
_y = (_root[trg]._y + 20);
if ((lifetime <= 0) || (_root[trg].myhp <= 0)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 329 MovieClip in Frame 88
on (press) {
if (mission != 0) {
if (_root.pause == 0) {
_root.pause = 1;
_root.pause_screen._visible = 1;
} else {
_root.pause = 0;
_root.pause_screen._visible = 0;
}
}
}
Instance of Symbol 370 MovieClip "startScreen" in Frame 88
onClipEvent (load) {
this.btn_hero._visible = 0;
this.btn_def._visible = 0;
this.btn_peasant._visible = 0;
}
Instance of Symbol 387 MovieClip in Frame 88
on (press) {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else {
_quality = "HIGH";
}
}
Instance of Symbol 389 MovieClip in Frame 88
on (press) {
if (_root.game_sound == 0) {
_root.game_sound = 1;
_root.bg_sound.start();
} else {
_root.game_sound = 0;
_root.bg_sound.stop();
}
}
on (rollOver) {
var colour = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
Symbol 50 MovieClip [missileExhaust] Frame 1
_alpha = 70;
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = 50;
_yscale = 30;
_x = (_x - _root.smokeSpeed);
Symbol 50 MovieClip [missileExhaust] Frame 2
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 50 MovieClip [missileExhaust] Frame 3
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 50 MovieClip [missileExhaust] Frame 4
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 50 MovieClip [missileExhaust] Frame 5
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 50 MovieClip [missileExhaust] Frame 6
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 50 MovieClip [missileExhaust] Frame 7
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 50 MovieClip [missileExhaust] Frame 8
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 50 MovieClip [missileExhaust] Frame 9
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 50 MovieClip [missileExhaust] Frame 10
_alpha = (_alpha - 1);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 50 MovieClip [missileExhaust] Frame 11
_alpha = (_alpha - 1);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 50 MovieClip [missileExhaust] Frame 12
_alpha = (_alpha - 1);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 50 MovieClip [missileExhaust] Frame 13
_alpha = (_alpha - 1);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 50 MovieClip [missileExhaust] Frame 14
_alpha = (_alpha - 1);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 50 MovieClip [missileExhaust] Frame 15
removeMovieClip(this);
Symbol 59 MovieClip [planeburn] Frame 1
_alpha = 70;
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = 70;
_yscale = 50;
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 2
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 3
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 4
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 5
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 6
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 7
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 8
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 9
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 10
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 11
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 12
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 13
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 14
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 15
_alpha = (_alpha - 7);
_rotation = (_rotation + 10);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
_x = (_x - _root.smokeSpeed);
Symbol 59 MovieClip [planeburn] Frame 16
removeMovieClip(this);
Symbol 105 MovieClip [vidf] Frame 1
_xscale = 95;
_yscale = 95;
_x = 48;
_y = 10;
Symbol 134 MovieClip Frame 276
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
stop();
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 2
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
stop();
Symbol 173 MovieClip Frame 3
stop();
Symbol 233 MovieClip Frame 9
removeMovieClip(this);
Instance of Symbol 320 MovieClip in Symbol 323 MovieClip Frame 1
on (press) {
_root.init();
}
Instance of Symbol 334 MovieClip "screen" in Symbol 347 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 337 MovieClip "btn_next" in Symbol 347 MovieClip Frame 1
on (press) {
_root.StartMission(_root.NextMission);
_root.interMission._visible = 0;
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
on (rollOver) {
var colour = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
Instance of Symbol 339 MovieClip "btn_up" in Symbol 347 MovieClip Frame 1
on (press) {
_root.interMission._visible = 0;
_root.upgradeScreen._visible = 1;
}
on (rollOver) {
var colour = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
Instance of Symbol 340 MovieClip "screen2" in Symbol 347 MovieClip Frame 1
onClipEvent (load) {
dir = 0;
intVal = 1;
alphaMax = 120;
alphaMin = -20;
}
onClipEvent (enterFrame) {
if (_root.interMission._visible) {
if (dir == 0) {
_alpha = (_alpha + intVal);
}
if (dir == 1) {
_alpha = (_alpha - intVal);
}
if (_alpha >= alphaMax) {
dir = 1;
}
if (_alpha <= alphaMin) {
dir = 0;
}
}
}
Instance of Symbol 342 MovieClip "btn_restart" in Symbol 347 MovieClip Frame 1
on (press) {
_root.init();
_root.interMission._visible = 0;
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
on (rollOver) {
var colour = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
Instance of Symbol 344 MovieClip in Symbol 347 MovieClip Frame 1
on (press) {
_root.interMission.brif_txt.scroll = _root.interMission.brif_txt.scroll - 2;
}
on (rollOver) {
var colour = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
Instance of Symbol 346 MovieClip in Symbol 347 MovieClip Frame 1
on (press) {
_root.interMission.brif_txt.scroll = _root.interMission.brif_txt.scroll + 2;
}
on (rollOver) {
var colour = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
Instance of Symbol 352 MovieClip in Symbol 370 MovieClip Frame 1
on (press) {
_root.instr_screen._visible = 0;
_root.startScreen.diff_label._visible = 1;
_root.startScreen.diff_label._alpha = 0;
_root.startScreen.btn_hero._visible = 1;
_root.startScreen.btn_hero._alpha = 0;
_root.startScreen.btn_def._visible = 1;
_root.startScreen.btn_def._alpha = -20;
_root.startScreen.btn_peasant._visible = 1;
_root.startScreen.btn_peasant._alpha = -50;
}
on (rollOver) {
var colour = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
Instance of Symbol 354 MovieClip in Symbol 370 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
on (press) {
trace("OPTIONS");
_root.startScreen.btn_hero._visible = 0;
_root.startScreen.btn_def._visible = 0;
_root.startScreen.btn_peasant._visible = 0;
_root.instr_screen._visible = 0;
_root.options_screen._visible = 1;
_root.password_screen._visible = 0;
}
on (rollOver) {
var colour = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
Instance of Symbol 356 MovieClip in Symbol 370 MovieClip Frame 1
on (press) {
_root.startScreen.diff_label._visible = 0;
_root.startScreen.btn_hero._visible = 0;
_root.startScreen.btn_def._visible = 0;
_root.startScreen.btn_peasant._visible = 0;
_root.instr_screen._visible = 1;
_root.options_screen._visible = 0;
_root.password_screen._visible = 0;
}
on (rollOver) {
var colour = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
Instance of Symbol 358 MovieClip "btn_hero" in Symbol 370 MovieClip Frame 1
on (press) {
_root.sabreHP = 3;
_root.thudHP = 7;
_root.PhantomHP = 20;
_root.crusaderHP = 10;
_root.aardvarkHP = 30;
_root.sfHP = 25;
_root.b52HP = 1000;
_root.phROF = 10;
_root.crROF = 5;
_root.swPOW = 3;
_root.spPOW = 5;
_root.looseCond = -1;
_root.switchMission(1);
_root.startScreen._visible = 0;
}
on (rollOver) {
var colour = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
onClipEvent (enterFrame) {
if ((_visible == 1) && (_alpha < 100)) {
_alpha = (_alpha + 7);
}
}
Instance of Symbol 360 MovieClip "btn_def" in Symbol 370 MovieClip Frame 1
on (press) {
_root.sabreHP = 2;
_root.thudHP = 5;
_root.PhantomHP = 12;
_root.crusaderHP = 7;
_root.aardvarkHP = 20;
_root.sfHP = 15;
_root.b52HP = 1000;
_root.phROF = 15;
_root.crROF = 7;
_root.swPOW = 2;
_root.spPOW = 4;
_root.looseCond = -5;
_root.switchMission(1);
_root.startScreen._visible = 0;
}
on (rollOver) {
var colour = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
onClipEvent (enterFrame) {
if ((_visible == 1) && (_alpha < 100)) {
_alpha = (_alpha + 7);
}
}
Instance of Symbol 362 MovieClip "btn_peasant" in Symbol 370 MovieClip Frame 1
on (press) {
_root.sabreHP = 2;
_root.thudHP = 3;
_root.PhantomHP = 10;
_root.crusaderHP = 5;
_root.aardvarkHP = 15;
_root.sfHP = 12;
_root.b52HP = 700;
_root.phROF = 20;
_root.crROF = 15;
_root.swPOW = 2;
_root.spPOW = 3;
_root.migHP = 10;
_root.looseCond = -10;
_root.switchMission(1);
_root.startScreen._visible = 0;
}
on (rollOver) {
var colour = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
onClipEvent (enterFrame) {
if ((_visible == 1) && (_alpha < 100)) {
_alpha = (_alpha + 7);
}
}
Instance of Symbol 365 MovieClip "diff_label" in Symbol 370 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_visible == 1) && (_alpha < 100)) {
_alpha = (_alpha + 7);
}
}
Instance of Symbol 367 MovieClip in Symbol 370 MovieClip Frame 1
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
on (rollOver) {
var colour = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
Instance of Symbol 369 MovieClip in Symbol 370 MovieClip Frame 1
on (press) {
getURL ("http://www.armorgames.com", "_blank");
_alpha = 0;
}
on (releaseOutside) {
_alpha = 0;
}
on (rollOut) {
_alpha = 0;
}
on (rollOver) {
_alpha = 10;
}
Instance of Symbol 395 MovieClip in Symbol 457 MovieClip Frame 1
on (press) {
if ((_root.GSh30 != 1) && (_root.GSh623 != 1)) {
if (_root.pts >= _root.GSh30_price) {
_root.MG_cooldown = 4;
_root.pts = _root.pts - _root.GSh30_price;
_root.GSh30 = 1;
}
}
}
on (rollOver) {
var colour = new Color(this);
if ((_root.GSh30 == 0) && (_root.GSh623 == 0)) {
if (_root.pts >= _root.GSh30_price) {
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
_root.upgradeScreen.upg_status_txt.text = "GSh-30\nA double barrel aircraft cannon that icreases the rate of fire\n\nCost: " + _root.GSh30_price;
} else {
var trans = {ra:"100", rb:"50", ga:"100", gb:"00", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Not enough RED STARS\n Cost: " + _root.GSh30_price;
}
} else {
var trans = {ra:"100", rb:"00", ga:"100", gb:"50", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Already Purchased\n You have this or better upgrade";
}
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
_root.upgradeScreen.upg_status_txt.text = " ";
}
Instance of Symbol 399 MovieClip in Symbol 457 MovieClip Frame 1
on (press) {
if (_root.GSh623 != 1) {
if (_root.pts >= _root.GSh623_price) {
_root.MG_cooldown = 1;
_root.pts = _root.pts - _root.GSh623_price;
_root.GSh623 = 1;
}
}
}
on (rollOver) {
var colour = new Color(this);
if (_root.GSh623 == 0) {
if (_root.pts >= _root.GSh623_price) {
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
_root.upgradeScreen.upg_status_txt.text = "GSh-6-23\nThis six barrel Gatling Gun is the ultimate areal machine gun capable of taking down almost any threat in seconds\n\nCost: " + _root.GSh623_price;
} else {
var trans = {ra:"100", rb:"50", ga:"100", gb:"00", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Not enough RED STARS\n Cost: " + _root.GSh623_price;
}
} else {
var trans = {ra:"100", rb:"00", ga:"100", gb:"50", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Already Purchased";
}
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
_root.upgradeScreen.upg_status_txt.text = " ";
}
Instance of Symbol 404 MovieClip in Symbol 457 MovieClip Frame 1
on (press) {
if ((_root.ammo0 != 1) && (_root.ammo1 != 1)) {
if (_root.pts >= _root.ammo0_price) {
_root.MG_power = 2;
_root.pts = _root.pts - _root.ammo0_price;
_root.ammo0 = 1;
}
}
}
on (rollOver) {
var colour = new Color(this);
if ((_root.ammo0 == 0) && (_root.ammo1 == 0)) {
if (_root.pts >= _root.ammo0_price) {
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
_root.upgradeScreen.upg_status_txt.text = "Incendiary Rounds do twice the amount of damage as the regular variety\n\nCost: " + _root.ammo0_price;
} else {
var trans = {ra:"100", rb:"50", ga:"100", gb:"00", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Not enough RED STARS\n Cost: " + _root.ammo0_price;
}
} else {
var trans = {ra:"100", rb:"00", ga:"100", gb:"50", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Already Purchased\n You have this or better upgrade";
}
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
_root.upgradeScreen.upg_status_txt.text = " ";
}
Instance of Symbol 409 MovieClip in Symbol 457 MovieClip Frame 1
on (press) {
if (_root.ammo1 != 1) {
if (_root.pts >= _root.ammo1_price) {
_root.MG_power = 3;
_root.pts = _root.pts - _root.ammo1_price;
_root.ammo1 = 1;
}
}
}
on (rollOver) {
var colour = new Color(this);
if (_root.ammo1 == 0) {
if (_root.pts >= _root.ammo1_price) {
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
_root.upgradeScreen.upg_status_txt.text = "Explosive Rounds are one and a half times more damaging then the incendiary rounds or three times the power of the original\n\nCost: " + _root.ammo1_price;
} else {
var trans = {ra:"100", rb:"50", ga:"100", gb:"00", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Not enough RED STARS\n Cost: " + _root.ammo1_price;
}
} else {
var trans = {ra:"100", rb:"00", ga:"100", gb:"50", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Already Purchased";
}
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
_root.upgradeScreen.upg_status_txt.text = " ";
}
Instance of Symbol 416 MovieClip in Symbol 457 MovieClip Frame 1
on (press) {
if ((_root.K13up != 1) && (_root.r60m != 1)) {
if (_root.pts >= _root.K13up_price) {
_root.k13_power = _root.k13_power + 1;
_root.k13_inaccuracy = _root.k13_inaccuracy - 5;
_root.pts = _root.pts - _root.K13up_price;
_root.K13up = 1;
}
}
}
on (rollOver) {
var colour = new Color(this);
if ((_root.K13up == 0) && (_root.r60m == 0)) {
if (_root.pts >= _root.K13up_price) {
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
_root.upgradeScreen.upg_status_txt.text = "K - 13 Upgrade\nBy increasing the warhead size and improving the infra red seeker the performance of K - 13 can be improved\n\nCost: " + _root.K13up_price;
} else {
var trans = {ra:"100", rb:"50", ga:"100", gb:"00", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Not enough RED STARS\n Cost: " + _root.K13up_price;
}
} else {
var trans = {ra:"100", rb:"00", ga:"100", gb:"50", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Already Purchased\nThis or better upgrade is alredy available";
}
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
_root.upgradeScreen.upg_status_txt.text = " ";
}
Instance of Symbol 423 MovieClip in Symbol 457 MovieClip Frame 1
on (press) {
if (_root.r60m != 1) {
if (_root.pts >= _root.r60m_price) {
_root.pts = _root.pts - _root.r60m_price;
_root.r60m = 1;
}
}
}
on (rollOver) {
var colour = new Color(this);
if (_root.r60m == 0) {
if (_root.pts >= _root.r60m_price) {
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
_root.upgradeScreen.upg_status_txt.text = "R-60 Missile\nEven with cooled seekers IR guided missiles are somewhat limited in performance, the semi-active radar guided R-60 is more accurate and carries a more powerful warhead\n(replaces K - 13)\n\nCost: " + _root.r60m_price;
} else {
var trans = {ra:"100", rb:"50", ga:"100", gb:"00", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Not enough RED STARS\n Cost: " + _root.r60m_price;
}
} else {
var trans = {ra:"100", rb:"00", ga:"100", gb:"50", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Already Purchased";
}
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
_root.upgradeScreen.upg_status_txt.text = " ";
}
Instance of Symbol 430 MovieClip in Symbol 457 MovieClip Frame 1
on (press) {
if ((_root.irseek != 1) && (_root.r60m != 1)) {
if (_root.pts >= _root.irseek_price) {
_root.k13_inaccuracy = _root.k13_inaccuracy - 10;
_root.pts = _root.pts - _root.irseek_price;
_root.irseek = 1;
}
}
}
on (rollOver) {
var colour = new Color(this);
if ((_root.irseek == 0) && (_root.r60m == 0)) {
if (_root.pts >= _root.irseek_price) {
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
_root.upgradeScreen.upg_status_txt.text = "Nitrogen Cooler\nUsing liquid nitrogen to cool the IR-seeker significantly improves the accuracy of K - 13\n\nCost: " + _root.irseek_price;
} else {
var trans = {ra:"100", rb:"50", ga:"100", gb:"00", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Not enough RED STARS\n Cost: " + _root.irseek_price;
}
} else {
var trans = {ra:"100", rb:"00", ga:"100", gb:"50", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Already Purchased\nThis or better upgrade is already available";
}
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
_root.upgradeScreen.upg_status_txt.text = " ";
}
Instance of Symbol 435 MovieClip in Symbol 457 MovieClip Frame 1
on (press) {
if (_root.frag != 1) {
if (_root.pts >= _root.frag_price) {
_root.pts = _root.pts - _root.frag_price;
_root.frag = 1;
}
}
}
on (rollOver) {
var colour = new Color(this);
if (_root.frag == 0) {
if (_root.pts >= _root.frag_price) {
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
_root.upgradeScreen.upg_status_txt.text = "Shrapnel Warhead\nAirplanes are relatively soft targets, shrapnel can rip them apart. As an added benefit shapnel might also damage nearby airplanes\n(applies to both K-13 and R-60)\n\nCost: " + _root.frag_price;
} else {
var trans = {ra:"100", rb:"50", ga:"100", gb:"00", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Not enough RED STARS\n Cost: " + _root.frag_price;
}
} else {
var trans = {ra:"100", rb:"00", ga:"100", gb:"50", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Already Purchased";
}
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
_root.upgradeScreen.upg_status_txt.text = " ";
}
Instance of Symbol 443 MovieClip in Symbol 457 MovieClip Frame 1
on (press) {
if (_root.radar != 1) {
if (_root.pts >= _root.radar_price) {
_root.r60_inacuracy = _root.r60_inacuracy - 10;
_root.pts = _root.pts - _root.radar_price;
_root.radar = 1;
}
}
}
on (rollOver) {
var colour = new Color(this);
if (_root.radar == 0) {
if (_root.pts >= _root.radar_price) {
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
_root.upgradeScreen.upg_status_txt.text = "ELM - 2032 Radar\nThis advanced radar will provide you with some early warning of upcomming enemy aircraft and vessels. Due to the higher resolution, this radar can guide R-60 missiles much more accurately\n\nCost: " + _root.radar_price;
} else {
var trans = {ra:"100", rb:"50", ga:"100", gb:"00", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Not enough RED STARS\n Cost: " + _root.radar_price;
}
} else {
var trans = {ra:"100", rb:"00", ga:"100", gb:"50", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Already Purchased";
}
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
_root.upgradeScreen.upg_status_txt.text = " ";
}
Instance of Symbol 445 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.upgradeScreen._visible == 1) {
_root.upgradeScreen.upg_stars.text = _root.pts;
}
}
Instance of Symbol 448 MovieClip in Symbol 457 MovieClip Frame 1
on (press) {
_root.StartMission(_root.NextMission);
_root.interMission._visible = 0;
_root.upgradeScreen._visible = 0;
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
on (rollOver) {
var colour = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
}
Instance of Symbol 452 MovieClip in Symbol 457 MovieClip Frame 1
on (press) {
if (_root.armor0 != 1) {
if (_root.pts >= _root.armor0_price) {
_root.migHP = _root.migHP + 5;
_root.pts = _root.pts - _root.armor0_price;
_root.armor0 = 1;
}
}
}
on (rollOver) {
var colour = new Color(this);
if (_root.armor0 == 0) {
if (_root.pts >= _root.armor0_price) {
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
_root.upgradeScreen.upg_status_txt.text = "Light Armor\nSometimes enemy fire and even missiles can not be completely avoided, a little additional armor can make their shots less lethal\n(stacks with Heavy Armor)\n\nCost: " + _root.armor0_price;
} else {
var trans = {ra:"100", rb:"50", ga:"100", gb:"00", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Not enough RED STARS\n Cost: " + _root.armor0_price;
}
} else {
var trans = {ra:"100", rb:"00", ga:"100", gb:"50", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Already Purchased";
}
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
_root.upgradeScreen.upg_status_txt.text = " ";
}
Instance of Symbol 456 MovieClip in Symbol 457 MovieClip Frame 1
on (press) {
if (_root.armor1 != 1) {
if (_root.pts >= _root.armor1_price) {
_root.migHP = _root.migHP + 10;
_root.pts = _root.pts - _root.armor1_price;
_root.armor1 = 1;
}
}
}
on (rollOver) {
var colour = new Color(this);
if (_root.armor1 == 0) {
if (_root.pts >= _root.armor1_price) {
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
_root.upgradeScreen.upg_status_txt.text = "Heavy Armor\nThis armor can help survive thicker engagements and even withstand at least two hits of Sparrow Missile\n(stacks with Light Armor)\n\nCost: " + _root.armor1_price;
} else {
var trans = {ra:"100", rb:"50", ga:"100", gb:"00", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Not enough RED STARS\n Cost: " + _root.armor1_price;
}
} else {
var trans = {ra:"100", rb:"00", ga:"100", gb:"50", ba:"100", bb:"00"};
_root.upgradeScreen.upg_status_txt.text = "Already Purchased";
}
colour.setTransform(trans);
}
on (rollOut) {
var colour = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
colour.setTransform(trans);
_root.upgradeScreen.upg_status_txt.text = " ";
}