Frame 1
function aienemytank() {
if (_root.aimoney >= 50) {
_root.aimoney = _root.aimoney - 50;
duplicateMovieClip (_root.enemytank, "enemytank" + _root.enemytanknum, (_root.enemytank.getDepth() + _root.enemytanknum) + 1200);
_root["enemytank" + _root.enemytanknum]._x = _root.enemybase._x - 40;
_root["enemytank" + _root.enemytanknum]._y = (110 - random(20)) + _root.spacer;
_root.enemytanknum++;
if (_root.spacer == 40) {
_root.spacer = 0;
} else if (_root.spacer == 0) {
_root.spacer = 20;
} else {
_root.spacer = 40;
}
}
}
function aienemytroop() {
if (_root.aimoney >= 20) {
_root.aimoney = _root.aimoney - 20;
duplicateMovieClip (_root.enemy, "enemy" + _root.enemynum, (_root.enemy.getDepth() + _root.enemynum) + 1100);
_root["enemy" + _root.enemynum]._x = _root.enemybase._x - 40;
_root["enemy" + _root.enemynum]._y = 150 - random(50);
_root.enemynum++;
}
}
function aienemyair() {
if ((_root.aimoney >= 80) && (_root.roundtime > 800)) {
_root.aimoney = _root.aimoney - 80;
duplicateMovieClip (_root.enemyair, "enemyair" + _root.enemyairnum, (_root.enemyair.getDepth() + _root.enemyairnum) + 1300);
_root["enemyair" + _root.enemyairnum]._x = _root.enemybase._x - 40;
_root["enemyair" + _root.enemyairnum]._y = 15 + random(30);
_root.enemyairnum++;
}
}
function aienemysniper() {
if (_root.aimoney >= 50) {
_root.aimoney = _root.aimoney - 40;
duplicateMovieClip (_root.enemyspecial, "enemy" + _root.enemynum, (_root.enemy.getDepth() + _root.enemynum) + 1100);
_root["enemy" + _root.enemynum]._x = _root.enemybase._x - 40;
_root["enemy" + _root.enemynum]._y = 150 - random(50);
_root.enemynum++;
}
}
Instance of Symbol 7 MovieClip "Bar" in Frame 1
onClipEvent (enterFrame) {
setProperty(_this, _width , 112.2 * (_root.getBytesLoaded() / _root.getBytesTotal()));
}
Frame 2
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
play();
} else {
gotoAndPlay (1);
}
Frame 3
stop();
stage.scaleMode = "exactFit";
heronumber = 0;
heroselected = "";
forcehero = [0, 0, 0, 0, 0];
enemyhero = [0, 0, 0, 0, 0];
fscommand ("showmenu", "false");
user = SharedObject.getLocal("user_profile");
function AI5() {
if (_root.roundtime >= 300) {
if (_root.roundtime >= _root.timerneed) {
_root.aimoney = _root.aimoney + random(30);
_root.timerneed = _root.timerneed + (random(70) + 60);
_root.AIrandom = random(6);
if (_root.AIrandom <= 1) {
_root.aienemytank();
_root.aienemyair();
_root.aienemysniper();
} else if (_root.AIrandom == 2) {
_root.aienemytroop();
_root.aienemytank();
_root.aienemytroop();
} else if (_root.AIrandom == 3) {
_root.aienemytank();
_root.aienemysniper();
_root.aienemysniper();
} else if ((_root.AIrandom = 4)) {
_root.aienemyair();
_root.aienemytank();
_root.aienemyair();
} else if ((_root.AIrandom = 5)) {
_root.aienemytroop();
_root.aienemytroop();
_root.aienemysniper();
} else if (_root.AIrandom > 5) {
duplicateMovieClip (_root.enemymissleup, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.enemybase._x;
_root["bombshell" + _root.bombnum]._y = _root.enemybase._y - 20;
_root.bombnum++;
}
}
}
if ((_root.roundtime > 780) && (_root.roundtime < 2301)) {
if (_root.roundtime == 2300) {
if (_root.enemycannonbuilt == false) {
_root.enemycannontime = _root.roundtime + 10;
_root.enemycannonbuilt = true;
tellTarget (_root.enemycannon) {
gotoAndPlay ("ready");
};
}
}
if (_root.roundtime <= 2) {
if (_root.enemycannonbuilt == false) {
_root.enemycannontime = _root.roundtime + 10;
_root.enemycannonbuilt = true;
tellTarget (_root.enemycannon) {
gotoAndPlay ("ready");
};
}
}
if (_root.roundtime == 1600) {
if (_root.enemycannonbuilt == false) {
_root.enemycannontime = _root.roundtime + 10;
_root.enemycannonbuilt = true;
tellTarget (_root.enemycannon) {
gotoAndPlay ("ready");
};
}
}
if (_root.roundtime == 800) {
if (_root.enemycannonbuilt == false) {
_root.enemycannontime = _root.roundtime + 10;
_root.enemycannonbuilt = true;
tellTarget (_root.enemycannon) {
gotoAndPlay ("ready");
};
}
}
}
if (_root.roundtime < 601) {
if (_root.roundtime == 250) {
_root.aiincome = _root.aiincome + 5;
tellTarget (_root.enemybuilding1) {
gotoAndStop ("business");
};
tellTarget (_root.enemybuilding0) {
gotoAndStop ("barracks");
};
}
if (_root.roundtime == 350) {
tellTarget (_root.enemybuilding2) {
gotoAndStop ("airbase");
};
}
if (_root.roundtime == 600) {
_root.enemybuildingname[3] = "defence";
tellTarget (_root.enemybuilding3) {
gotoAndStop ("defence");
};
}
}
}
function AI4() {
if (_root.roundtime >= 300) {
if (_root.roundtime >= _root.timerneed) {
_root.aimoney = _root.aimoney + random(30);
_root.timerneed = _root.timerneed + (random(70) + 65);
_root.AIrandom = random(7);
if (_root.AIrandom <= 1) {
_root.aienemytank();
_root.aienemyair();
_root.aienemysniper();
} else if (_root.AIrandom == 2) {
_root.aienemytroop();
_root.aienemytank();
} else if (_root.AIrandom == 3) {
_root.aienemytank();
_root.aienemysniper();
} else if ((_root.AIrandom = 4)) {
_root.aienemyair();
_root.aienemytank();
} else if (_root.AIrandom > 5) {
_root.aienemytroop();
_root.aienemytroop();
_root.aienemysniper();
}
}
}
if ((_root.roundtime > 780) && (_root.roundtime < 2301)) {
if (_root.roundtime == 2300) {
if (_root.enemycannonbuilt == false) {
_root.enemycannontime = _root.roundtime + 10;
_root.enemycannonbuilt = true;
tellTarget (_root.enemycannon) {
gotoAndPlay ("ready");
};
}
}
if (_root.roundtime <= 2) {
if (_root.enemycannonbuilt == false) {
_root.enemycannontime = _root.roundtime + 10;
_root.enemycannonbuilt = true;
tellTarget (_root.enemycannon) {
gotoAndPlay ("ready");
};
}
}
if (_root.roundtime == 1600) {
if (_root.enemycannonbuilt == false) {
_root.enemycannontime = _root.roundtime + 10;
_root.enemycannonbuilt = true;
tellTarget (_root.enemycannon) {
gotoAndPlay ("ready");
};
}
}
if (_root.roundtime == 800) {
if (_root.enemycannonbuilt == false) {
_root.enemycannontime = _root.roundtime + 10;
_root.enemycannonbuilt = true;
tellTarget (_root.enemycannon) {
gotoAndPlay ("ready");
};
}
}
}
if (_root.roundtime < 601) {
if (_root.roundtime == 250) {
_root.aiincome = _root.aiincome + 5;
tellTarget (_root.enemybuilding1) {
gotoAndStop ("business");
};
tellTarget (_root.enemybuilding0) {
gotoAndStop ("barracks");
};
}
if (_root.roundtime == 350) {
tellTarget (_root.enemybuilding2) {
gotoAndStop ("airbase");
};
}
if (_root.roundtime == 600) {
_root.enemybuildingname[3] = "defence";
tellTarget (_root.enemybuilding3) {
gotoAndStop ("defence");
};
}
}
}
function AI3() {
if (_root.roundtime >= 290) {
if (_root.roundtime >= _root.timerneed) {
_root.timerneed = _root.timerneed + (random(80) + 75);
_root.AIrandom = random(4);
if (_root.AIrandom <= 1) {
_root.aienemytroop();
_root.aienemytroop();
} else if (_root.AIrandom == 2) {
_root.aienemytroop();
_root.aienemytank();
} else if (_root.AIrandom >= 3) {
_root.aienemytank();
_root.aienemytank();
}
}
}
if ((_root.roundtime > 780) && (_root.roundtime < 1601)) {
if (_root.roundtime == 1600) {
if (_root.enemycannonbuilt == false) {
_root.enemycannontime = _root.roundtime + 10;
_root.enemycannonbuilt = true;
tellTarget (_root.enemycannon) {
gotoAndPlay ("ready");
};
}
}
if (_root.roundtime == 800) {
if (_root.enemycannonbuilt == false) {
_root.enemycannontime = _root.roundtime + 10;
_root.enemycannonbuilt = true;
tellTarget (_root.enemycannon) {
gotoAndPlay ("ready");
};
}
}
}
if (_root.roundtime < 601) {
if (_root.roundtime == 250) {
_root.aiincome = _root.aiincome + 5;
tellTarget (_root.enemybuilding1) {
gotoAndStop ("business");
};
tellTarget (_root.enemybuilding0) {
gotoAndStop ("barracks");
};
}
if (_root.roundtime == 350) {
tellTarget (_root.enemybuilding2) {
gotoAndStop ("barracks");
};
}
if (_root.roundtime == 600) {
_root.enemybuildingname[3] = "defence";
tellTarget (_root.enemybuilding3) {
gotoAndStop ("defence");
};
}
}
}
function AI2() {
if (_root.roundtime >= 300) {
if (_root.roundtime >= _root.timerneed) {
_root.timerneed = _root.timerneed + (random(80) + 100);
_root.AIrandom = random(3);
if (_root.AIrandom <= 1) {
_root.aienemyair();
_root.aienemytroop();
} else if (_root.AIrandom == 2) {
_root.aienemytroop();
_root.aienemytank();
} else if (_root.AIrandom >= 3) {
_root.aienemytroop();
_root.aienemysniper();
}
}
}
if (_root.roundtime < 601) {
if (_root.roundtime == 250) {
tellTarget (_root.enemybuilding1) {
gotoAndStop ("airbase");
};
tellTarget (_root.enemybuilding0) {
gotoAndStop ("barracks");
};
}
if (_root.roundtime == 350) {
tellTarget (_root.enemybuilding2) {
gotoAndStop ("airbase");
};
}
if (_root.roundtime == 600) {
tellTarget (_root.enemybuilding3) {
gotoAndStop ("airbase");
};
}
}
}
function AI1() {
if (_root.roundtime >= 270) {
if (_root.roundtime >= _root.timerneed) {
_root.timerneed = _root.timerneed + (random(80) + 120);
_root.AIrandom = random(3);
if (_root.AIrandom <= 1) {
_root.aienemytroop();
_root.aienemysniper();
} else if (_root.AIrandom == 2) {
_root.aienemytank();
} else if (_root.AIrandom >= 3) {
_root.aienemytroop();
_root.aienemytroop();
}
}
}
if ((_root.roundtime > 780) && (_root.roundtime < 1601)) {
if (_root.roundtime == 1600) {
if (_root.enemycannonbuilt == false) {
_root.enemycannontime = _root.roundtime + 10;
_root.enemycannonbuilt = true;
tellTarget (_root.enemycannon) {
gotoAndPlay ("ready");
};
}
}
}
if (_root.roundtime < 601) {
if (_root.roundtime == 250) {
_root.aiincome = _root.aiincome + 5;
tellTarget (_root.enemybuilding1) {
gotoAndStop ("business");
};
tellTarget (_root.enemybuilding0) {
gotoAndStop ("barracks");
};
}
if (_root.roundtime == 350) {
tellTarget (_root.enemybuilding2) {
gotoAndStop ("barracks");
};
}
if (_root.roundtime == 600) {
_root.enemybuildingname[3] = "defence";
tellTarget (_root.enemybuilding3) {
gotoAndStop ("defence");
};
}
}
}
function herothing(number) {
if (_root.forcehero[number] == "thing") {
} else if (_root.forcehero[number] == "business") {
_root.income = _root.income + 5;
} else if (_root.forcehero[number] == "troopcaptain") {
_root.forcedmg[0]++;
} else if (_root.forcehero[number] == "snipercaptain") {
_root.forcedmg[1]++;
} else if (_root.forcehero[number] == "tankcaptain") {
_root.forcedmg[2]++;
} else if (_root.forcehero[number] == "cannonhero") {
_root.forcecannonrate = _root.forcecannonrate - 5;
}
}
function playSound(name) {
if (soundOn == true) {
soundfx.gotoAndPlay(name);
}
}
function dieSound(name) {
if (soundOn == true) {
tellTarget (name) {
play();
};
}
}
Stage.showMenu = false;
soundOn = true;
stop();
Frame 120
function AddDialogue(Char, Numbertag, Text) {
Mission.Characters[Mission.Characters.length] = Char;
Mission.Characters2[Mission.Characters2.length] = Numbertag;
Mission.Speech[Mission.Speech.length] = Text;
}
Mouse.show();
if (_root.soundOn == true) {
menumuse = new Sound();
menumuse.attachSound("menuloop");
menumuse.start();
menumuse.onSoundComplete = function () {
_root.menumuse.start();
};
}
DialogueNum = 0;
Mission = new Object();
Mission.Characters = new Array();
Mission.Characters2 = new Array();
Mission.Speech = new Array();
AddDialogue("General Kostyuk", "p2", "Hello?... Hello, is anybody recieving? Respond... .... .... Hello?!");
AddDialogue("Colonel Russell", "p1", "General! This is Colonel Russell, transmitting from the Pacific Front. We have lost contact for the past three days.");
AddDialogue("General Kostyuk", "p2", "Colonel, what is the situation there?");
AddDialogue("Colonel Russell", "p1", "We were defeated, the Confedrates passed through our defensive grounds, very few survivors, our presence is unknown to the enemy, requesting immediate help and medical support.");
AddDialogue("Sergeant", "p3", "Sir! Nearby enemy camps detected our signals, small groups of soldiers and tanks are headed this way.");
AddDialogue("Colonel Russell", "p1", "God Damnit! Lousy, cheap-shit transmitters! Arm the men who can still fight, take the rest down south to the port.");
AddDialogue("General Kostyuk", "p2", "Colonel, the enemy has advanced further into our defences. As you know, my men are currently executing a heavy assault against the enemy front");
AddDialogue("General Kostyuk", "p2", "The confederates' allies have begun to construct an airbase on the outskirts of our country. If this base is ever completed, our lands will fall. My men won't have a home to return to.");
AddDialogue("Colonel Russell", "p1", "Don't worry General, their planes will never leave the ground, I'll make sure of it.");
AddDialogue("Tank Captain", "p3", "Colonel, the Confedracy has been our enemy since the start of the war, my tanks are at your command! We must move out immediately!");
AddDialogue("Sniper Elite", "p2", "Colonel, our forces have discovered a massive weapon storage facility located up north. We must eradicate this threat before they unleash destruction upon us. ts defences are too great for my forces alone, we request your aid in this operation.");
AddDialogue("Colonel Russell", "p1", "Affirmative Captain, we're on our way.");
AddDialogue("Sniper Elite", "p2", "Very well sir, I shall join your ranks and increase the strength and preformance of your snipers. We must take action immediately.");
AddDialogue("Business Man", "p3", "The Confedracy has held the financial world back under its grasp, with high taxes and other shit. I will provide you with supporting funds.");
AddDialogue("Sniper Elite", "p2", "Our work here is done, we are ready for the next strike against the enemy, sir. Any word from the General?");
AddDialogue("Colonel Russell", "p1", "No. I haven't heard from him for quite awhile, his absence is concerning, almost disturbing... We may be out of communication range...");
AddDialogue("Wounded Soldier", "p3", "We are under heavy fire! They have us surrounded! Does anybody read me!? Please help us!");
AddDialogue("Lost Signal", "p3", "");
AddDialogue("General Kostyuk", "p3", "Colonel... Captain... ");
AddDialogue("Colonel Russell", "p1", "We were informed of your situation sir! We will go in to help you immediately!");
AddDialogue("General Kostyuk", "p3", "No. ");
AddDialogue("General Kostyuk", "p3", "The enemy is attacking us with the bulk of its army. They would've expected you and the captain to come here, and smite you as they are doing us now.");
AddDialogue("General Kostyuk", "p3", "The heart of the Confedracy is left vulnerable, this is our chance to bring down the darkness that has consumed this world.");
AddDialogue("Colonel Russell", "p1", "General, we can intervene the assault and get you out of there!");
AddDialogue("General Kostyuk", "p3", "No.");
AddDialogue("Sniper Elite", "p2", "Don't worry, we can get you out of there!");
AddDialogue("General Kostyuk", "p3", "NO! Listen to me! You must gather what forces you have and wipe out our enemy while their powers are concentrated on us! That is my last order. Do not try to help me, or my people. Our fate is inevitable. But the rest of the world can be freed from this menace. ");
AddDialogue("General Kostyuk", "p3", "The enemy main base is located on an artificial island. Destroy it. Don't let us die for nothing.");
AddDialogue("Lost Signal", "p3", "");
AddDialogue("Colonel Russell", "p1", "...Well...let's move.");
Frame 134
stop();
Instance of Symbol 155 MovieClip "soundthing" in Frame 136
onClipEvent (enterFrame) {
if (_root.SoundOn == true) {
with (this) {
gotoAndStop(1);
}
} else {
with (this) {
gotoAndStop(2);
stopAllSounds();
}
}
}
Frame 137
colorforce = 26265;
Frame 139
if (user.data.a == undefinned) {
}
stop();
Frame 546
stop();
Frame 547
stop();
buttonshit._x = _root.setx;
buttonshit._y = _root.sety;
Mouse.hide();
Instance of Symbol 354 MovieClip in Frame 547
onClipEvent (load) {
this._x = _root.setx;
this._y = _root.sety;
}
Instance of Symbol 363 MovieClip in Frame 547
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 363 MovieClip in Frame 547
onClipEvent (enterFrame) {
this._x = _root._xmouse;
}
Frame 548
menumuse.onSoundComplete = function () {
_root.menumuse.start();
};
stop();
Speaker = Mission.Characters[DialogueNum];
Speaker2 = Mission.Characters2[DialogueNum];
Bulk = Mission.Speech[DialogueNum];
attachMovie("Selectable", "Selectable", 100000);
_root.Selectable._x = _root[Speaker2]._x;
_root.Selectable._y = _root[Speaker2]._y;
Instance of Symbol 402 MovieClip "p1" in Frame 548
onClipEvent (load) {
with (this) {
gotoAndPlay(_root.briefpic[0]);
}
}
Instance of Symbol 402 MovieClip "p2" in Frame 548
onClipEvent (load) {
with (this) {
gotoAndPlay(_root.briefpic[1]);
}
}
Instance of Symbol 402 MovieClip "p3" in Frame 548
onClipEvent (load) {
with (this) {
gotoAndPlay(_root.briefpic[2]);
}
}
Instance of Symbol 402 MovieClip "p4" in Frame 548
onClipEvent (load) {
with (this) {
gotoAndPlay(_root.briefpic[3]);
}
}
Frame 549
_root.endgame = false;
_root.endtime = false;
_root.enemyendtime = false;
enemycount = 0;
forcecount = 0;
forcenum = 0;
enemynum = 0;
enemytanknum = 0;
enemytankcount = 0;
forcetanknum = 0;
forcetankcount = 0;
enemyaircount = 0;
forceaircount = 0;
forceairnum = 0;
enemyairnum = 0;
forcehold = 0;
enemyhold = 0;
speed = 0.8;
airspeed = speed * 3;
forcedmg = [0, 0, 0, 0];
forceup = [0, 0, 0, 0];
enemydmg = [0, 0, 0, 0];
bombnum = 1;
bombstock = "none";
research = [false, false];
forcecannonbuilt2 = false;
forcecannonbuilt = false;
enemycannonbuilt = false;
misslestock = 0;
forcecannonlevel = 0;
forcecannonrate = 135;
enemycannonrate = forcecannonrate;
tobuild = [[0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0]];
buildingcurrent = 0;
enemybuildingname = [];
buildingname = [];
buildingarray = ["barracks", "airbase", "business", "science", "defence", "weapons"];
aido = false;
aimoney = 1000;
spacer = 40;
money = 1000;
income = 25;
forcelifemax = 100;
enemylifemax = 100;
forcelife = forcelifemax;
enemylife = enemylifemax;
shocktime = 0;
timerneed = 0;
timermoneyneed = 50;
roundtime = 0;
_root.herothing(0);
_root.herothing(1);
_root.herothing(2);
_root.herothing(3);
_root.herothing(4);
duplicateMovieClip (this["forcetank" + forcecolorvar], "forcetank", 1000);
duplicateMovieClip (this["forcespecial" + forcecolorvar], "forcespecial", 1001);
duplicateMovieClip (this["forceair" + forcecolorvar], "forceair", 1002);
duplicateMovieClip (this["forcebomber" + forcecolorvar], "forcebomber", 1003);
duplicateMovieClip (forcez, "force", 1004);
duplicateMovieClip (this["forcedrill" + forcecolorvar], "forcebomber", 1015);
duplicateMovieClip (this["enemyair" + enemycolorvar], "enemyair", 1007);
duplicateMovieClip (this["enemytank" + enemycolorvar], "enemytank", 1010);
duplicateMovieClip (this["enemyspecial" + enemycolorvar], "enemyspecial", 1011);
duplicateMovieClip (this["enemybomber" + enemycolorvar], "enemybomber", 1012);
duplicateMovieClip (this["enemydrill" + forcecolorvar], "enemydrill", 1014);
duplicateMovieClip (enemyz, "enemy", 1013);
Instance of Symbol 426 MovieClip in Frame 549
onClipEvent (load) {
with (this) {
gotoAndStop(_root.skybg);
}
}
Instance of Symbol 434 MovieClip in Frame 549
onClipEvent (load) {
with (this) {
gotoAndStop(_root.stagebg);
}
}
Instance of Symbol 197 MovieClip "forcebase" in Frame 549
onClipEvent (load) {
this.swapDepth(-999999);
}
Instance of Symbol 436 MovieClip in Frame 549
onClipEvent (enterFrame) {
if (_root.forcelife > 25) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 436 MovieClip in Frame 549
onClipEvent (enterFrame) {
if (_root.forcelife > 25) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip "basehitter2" in Frame 549
onClipEvent (load) {
gotoAndStop(Math.random(1) + 1 +548);
}
Instance of Symbol 444 MovieClip "enemybase" in Frame 549
onClipEvent (load) {
this.swapDepth(-999998);
}
Instance of Symbol 436 MovieClip in Frame 549
onClipEvent (enterFrame) {
if (_root.enemylife > 25) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 436 MovieClip in Frame 549
onClipEvent (enterFrame) {
if (_root.enemylife > 25) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 567 MovieClip "menu" in Frame 549
onClipEvent (load) {
businessprice = 0;
}
Instance of Symbol 58 MovieClip "enemybar" in Frame 549
onClipEvent (load) {
colorchoosenenemy = new Color(this);
colorchoosenenemy.setRGB(_root.colorenemy);
}
Instance of Symbol 58 MovieClip "bar" in Frame 549
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 602 MovieClip "buildingpic" in Frame 549
onClipEvent (load) {
with (this) {
gotoAndStop("base");
}
}
Instance of Symbol 216 MovieClip "roundthing" in Frame 549
onClipEvent (load) {
this._x = _root.forcebase._x;
this._y = _root.forcebase._y - 20;
}
Instance of Symbol 637 MovieClip "delayer1" in Frame 549
onClipEvent (load) {
numberthing = 1;
}
Instance of Symbol 637 MovieClip "delayer2" in Frame 549
onClipEvent (load) {
numberthing = 2;
}
Instance of Symbol 637 MovieClip "delayer3" in Frame 549
onClipEvent (load) {
numberthing = 3;
}
Instance of Symbol 637 MovieClip "delayer0" in Frame 549
onClipEvent (load) {
numberthing = 0;
}
Instance of Symbol 660 MovieClip "forcez" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcex) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[0], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[0], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (2 + _root.forcedmg[0]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 670 MovieClip "enemyz" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._y > 0)) && (this._x == _root.enemyx)) && (this._y < 145)) {
this._y = this._y + 1;
} else if (((((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._y > 0)) && (this._y > 100)) && (this._x == _root.enemyx)) {
this._y = this._y - 1;
}
if (this.hitTest(_root.forcetankx + _root.enemydmg[0], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[0], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (2 + _root.enemydmg[0]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 678 MovieClip "forcetankblue" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcetankx) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[2], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (10 + _root.forcedmg[2]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x >= 700)) {
removeMovieClip(this);
} else {
this._x = this._x + (_root.speed / 2);
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[2], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
}
}
Instance of Symbol 685 MovieClip "enemytankblue" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[2], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[2], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (10 + _root.enemydmg[3]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - (_root.speed / 2);
}
if ((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) && (this._y < 140)) {
this._y = this._y - 1;
} else if (((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) {
this._y = this._y + 1;
}
}
}
Instance of Symbol 704 MovieClip "forcespecialblue" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx - _root.forcedmg[1], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[1], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (1 + _root.forcedmg[1]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 716 MovieClip "enemyspecialblue" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[1], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[1], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (1 + _root.enemydmg[2]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 718 MovieClip "forceairblue" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemyairx - _root.forcedmg[3], this._y) && (this._y < 400)) {
_root.airshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank4)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 515) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
}
}
Instance of Symbol 337 MovieClip "enemyairblue" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forceairx + _root.enemydmg[3], this._y) && (_root.forceairx != undefinned)) {
_root.enemyairshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank2)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x <= 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
}
}
Instance of Symbol 722 MovieClip "forcebomber" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - (_root.speed * 2);
}
this._x = this._x + (_root.speed * 3);
}
if (this.hitTest(_root.enemytankx, this._y) && (this._y < 400)) {
_root.bombnum++;
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
_root.bombnum++;
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
}
}
}
Instance of Symbol 722 MovieClip "forcebomberblue" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 724 MovieClip "enemybomberblue" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank2) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
if (this.hitTest(_root.forcex, this._y) || (this.hitTest(_root.forcetankx, this._y))) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 730 MovieClip "forcetankyellow" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcetankx) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[2], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (10 + _root.forcedmg[2]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x >= 700)) {
removeMovieClip(this);
} else {
this._x = this._x + (_root.speed / 2);
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[2], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
}
}
Instance of Symbol 736 MovieClip "enemytankyellow" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[2], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[2], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (10 + _root.enemydmg[3]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - (_root.speed / 2);
}
if ((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) && (this._y < 140)) {
this._y = this._y - 1;
} else if (((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) {
this._y = this._y + 1;
}
}
}
Instance of Symbol 752 MovieClip "forcespecialyellow" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx - _root.forcedmg[1], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[1], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (1 + _root.forcedmg[1]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 764 MovieClip "enemyspecialyellow" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[1], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[1], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (1 + _root.enemydmg[2]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 767 MovieClip "forceairyellow" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemyairx - _root.forcedmg[3], this._y) && (this._y < 400)) {
_root.airshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank4)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 515) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
}
}
Instance of Symbol 768 MovieClip "enemyairyellow" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forceairx + _root.enemydmg[3], this._y) && (_root.forceairx != undefinned)) {
_root.enemyairshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank2)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x <= 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
}
}
Instance of Symbol 770 MovieClip "forcebomberyellow" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 771 MovieClip "enemybomberyellow" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank2) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
if (this.hitTest(_root.forcex, this._y) || (this.hitTest(_root.forcetankx, this._y))) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 777 MovieClip "forcetankteal" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcetankx) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[2], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (10 + _root.forcedmg[2]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x >= 700)) {
removeMovieClip(this);
} else {
this._x = this._x + (_root.speed / 2);
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[2], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
}
}
Instance of Symbol 783 MovieClip "enemytankteal" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[2], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[2], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (10 + _root.enemydmg[3]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - (_root.speed / 2);
}
if ((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) && (this._y < 140)) {
this._y = this._y - 1;
} else if (((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) {
this._y = this._y + 1;
}
}
}
Instance of Symbol 799 MovieClip "forcespecialteal" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx - _root.forcedmg[1], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[1], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (1 + _root.forcedmg[1]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 811 MovieClip "enemyspecialteal" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[1], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[1], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (1 + _root.enemydmg[2]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 814 MovieClip "forceairteal" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemyairx - _root.forcedmg[3], this._y) && (this._y < 400)) {
_root.airshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank4)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 515) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
}
}
Instance of Symbol 815 MovieClip "enemyairteal" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forceairx + _root.enemydmg[3], this._y) && (_root.forceairx != undefinned)) {
_root.enemyairshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank2)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x <= 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
}
}
Instance of Symbol 817 MovieClip "forcebomberteal" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 818 MovieClip "enemybomberteal" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank2) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
if (this.hitTest(_root.forcex, this._y) || (this.hitTest(_root.forcetankx, this._y))) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 824 MovieClip "forcetankred" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcetankx) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[2], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (10 + _root.forcedmg[2]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x >= 700)) {
removeMovieClip(this);
} else {
this._x = this._x + (_root.speed / 2);
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[2], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
}
}
Instance of Symbol 830 MovieClip "enemytankred" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[2], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[2], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (10 + _root.enemydmg[3]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - (_root.speed / 2);
}
if ((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) && (this._y < 140)) {
this._y = this._y - 1;
} else if (((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) {
this._y = this._y + 1;
}
}
}
Instance of Symbol 846 MovieClip "forcespecialred" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx - _root.forcedmg[1], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[1], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (1 + _root.forcedmg[1]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 858 MovieClip "enemyspecialred" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[1], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[1], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (1 + _root.enemydmg[2]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 861 MovieClip "forceairred" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemyairx - _root.forcedmg[3], this._y) && (this._y < 400)) {
_root.airshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank4)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 515) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
}
}
Instance of Symbol 863 MovieClip "enemyairred" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forceairx + _root.enemydmg[3], this._y) && (_root.forceairx != undefinned)) {
_root.enemyairshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank2)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x <= 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
}
}
Instance of Symbol 865 MovieClip "forcebomberred" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 866 MovieClip "enemybomberred" in Frame 549
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank2) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
if (this.hitTest(_root.forcex, this._y) || (this.hitTest(_root.forcetankx, this._y))) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 868 MovieClip in Frame 549
onClipEvent (load) {
if (_root.skybg == "day") {
this._visible = false;
}
}
Frame 550
forcetankx = this["forcetank" + forcetankcount]._x;
enemytankx = this["enemytank" + enemytankcount]._x;
forcetanky = this["forcetank" + forcetankcount]._y;
enemytanky = this["enemytank" + enemytankcount]._y;
enemyairy = this["enemyair" + enemyaircount]._y;
forceairy = this["forceair" + forceaircount]._y;
enemyairx = this["enemyair" + enemyaircount]._x;
forceairx = this["forceair" + forceaircount]._x;
enemyx = this["enemy" + enemycount]._x;
forcex = this["force" + forcecount]._x;
enemyy = this["enemy" + enemycount]._y;
forcey = this["force" + forcecount]._y;
if (_root.shooting == true) {
_root.dieSound("troopdie");
tellTarget (this["enemy" + enemycount]) {
gotoAndPlay ("dead");
_root.shooting = false;
};
}
if (_root.tankshooting == true) {
_root.dieSound("tankdie");
tellTarget (this["enemytank" + enemytankcount]) {
gotoAndPlay ("dead");
_root.tankshooting = false;
};
}
if (_root.enemyshooting == true) {
_root.dieSound("troopdie");
tellTarget (this["force" + forcecount]) {
gotoAndPlay ("dead");
_root.enemyshooting = false;
};
}
if (_root.enemytankshooting == true) {
_root.dieSound("tankdie");
tellTarget (this["forcetank" + forcetankcount]) {
gotoAndPlay ("dead");
_root.enemytankshooting = false;
};
}
if (_root.airshooting == true) {
_root.dieSound("airdie");
tellTarget (this["enemyair" + enemyaircount]) {
gotoAndPlay ("dead");
_root.airshooting = false;
};
}
if (_root.enemyairshooting == true) {
_root.dieSound("airdie");
tellTarget (this["forceair" + forceaircount]) {
gotoAndPlay ("dead");
_root.enemyairshooting = false;
};
}
if (_root.roundtime >= _root.timermoneyneed) {
timermoneyneed = timermoneyneed + 50;
_root.money = _root.money + _root.income;
_root.aimoney = _root.aimoney + (_root.income + 20);
}
if (_root.DialogueNum == 9) {
_root.AI2();
} else if (_root.DialogueNum == 13) {
_root.AI3();
} else {
_root.AI4();
}
Instance of Symbol 872 MovieClip "boom" in Frame 550
onClipEvent (load) {
if (this._y > 400) {
with (this) {
stop();
}
}
}
onClipEvent (load) {
if (this.hitTest(_root.enemytankx, this._y)) {
_root.tankshooting = true;
removeMovieClip(this);
}
if (this.hitTest(_root.enemyx, this._y)) {
_root.shooting = true;
removeMovieClip(this);
}
if (this.hitTest(_root.forcetankx, this._y)) {
_root.enemytankshooting = true;
removeMovieClip(this);
}
if (this.hitTest(_root.forcex, this._y)) {
_root.enemyshooting = true;
removeMovieClip(this);
}
}
Instance of Symbol 874 MovieClip "bombshell" in Frame 550
onClipEvent (enterFrame) {
if (this._y < 400) {
this._y = this._y + 5;
if (this._y > 120) {
duplicateMovieClip (_root.boom, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
}
if (this.hitTest(_root.enemybase)) {
_root.enemylife = _root.enemylife - (5 + _root.forcedmg[3]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.forcebase)) {
_root.forcelife = _root.forcelife - (5 + _root.enemydmg[3]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
}
}
if (((_root.endgame == true) || (this.hitTest(_root.forcebase))) || (this.hitTest(_root.enemybase))) {
removeMovieClip(this);
}
}
Instance of Symbol 874 MovieClip "bombershell" in Frame 550
onClipEvent (enterFrame) {
if (((_root.endgame == true) || (this.hitTest(_root.forcebase))) || (this.hitTest(_root.enemybase))) {
removeMovieClip(this);
}
if (this._y < 400) {
this._y = this._y + 7;
if (this._y > 120) {
_root.playSound("boom1");
duplicateMovieClip (_root.boom, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
}
}
}
Instance of Symbol 878 MovieClip "cannonshell" in Frame 550
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.enemyx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.enemyx) {
this._x = this._x + 3;
} else if (this._x > _root.enemyx) {
this._x = this._x - 3;
}
if (this._y < _root.enemyy) {
this._y = this._y + 1;
} else if (this._y > _root.enemyy) {
this._y = this._y - 1;
}
if (this.hitTest(_root.enemyx, _root.enemyy)) {
_root.shooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "cannonshellair" in Frame 550
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.enemyairx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.enemyairx) {
this._x = this._x + 3;
} else if (this._x > _root.enemyairx) {
this._x = this._x - 3;
}
if (this._y < _root.enemyairy) {
this._y = this._y + 2;
} else if (this._y > _root.enemyairy) {
this._y = this._y - 2;
}
if (this.hittest(_root.enemyairx, _root.enemyairy)) {
_root.airshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "enemycannonshell" in Frame 550
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.forcex == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.forcex) {
this._x = this._x + 3;
} else if (this._x > _root.forcex) {
this._x = this._x - 3;
}
if (this._y < _root.forcey) {
this._y = this._y + 1;
} else if (this._y > _root.forcey) {
this._y = this._y - 1;
}
if (this.hittest(_root.forcex, _root.forcey)) {
_root.enemyshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "enemycannonshellair" in Frame 550
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.forceairx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.forceairx) {
this._x = this._x + 3;
} else if (this._x > _root.forceairx) {
this._x = this._x - 3;
}
if (this._y < _root.forceairy) {
this._y = this._y + 2;
} else if (this._y > _root.forceairy) {
this._y = this._y - 2;
}
if (this.hittest(_root.forceairx, _root.forceairy)) {
_root.enemyairshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "cannonshelltank" in Frame 550
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.enemytankx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.enemytankx) {
this._x = this._x + 3;
} else if (this._x > _root.enemytankx) {
this._x = this._x - 3;
}
if (this._y < _root.enemytanky) {
this._y = this._y + 1;
} else if (this._y > _root.enemytanky) {
this._y = this._y - 1;
}
if (this.hittest(_root.enemytankx, _root.enemytanky)) {
_root.tankshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "enemycannonshelltank" in Frame 550
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.forcetankx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.forcetankx) {
this._x = this._x + 3;
} else if (this._x > _root.forcetankx) {
this._x = this._x - 3;
}
if (this._y < _root.forcetanky) {
this._y = this._y + 1;
} else if (this._y > _root.forcetanky) {
this._y = this._y - 1;
}
if (this.hittest(_root.forcetankx, _root.forcetanky)) {
_root.enemytankshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 341 MovieClip "missledown" in Frame 550
onClipEvent (enterFrame) {
if (_root.endgame == true) {
removeMovieClip(this);
}
if (this._y < 400) {
this._y = this._y + 10;
if (this._y > 120) {
duplicateMovieClip (_root.boom2, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
_root.bombnum++;
removeMovieClip(this);
_root.playSound("boom1");
}
}
}
Instance of Symbol 341 MovieClip "missleup" in Frame 550
onClipEvent (enterFrame) {
if (this._y < 400) {
this._y = this._y - 10;
if (this._y < -100) {
if (_root.enemyx != undefinned) {
duplicateMovieClip (_root.missledown, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.enemyx;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
} else if (_root.enemytankx != undefinned) {
duplicateMovieClip (_root.missledown, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.enemytankx;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
} else {
removeMovieClip(this);
}
}
}
if (_root.endgame == true) {
removeMovieClip(this);
}
}
Instance of Symbol 872 MovieClip "boom2" in Frame 550
onClipEvent (load) {
if (this._y > 400) {
with (this) {
stop();
}
}
}
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx, this._y)) {
_root.tankshooting = true;
}
if (this.hitTest(_root.enemyx, this._y)) {
_root.shooting = true;
}
if (this.hitTest(_root.forcetankx, this._y)) {
_root.enemytankshooting = true;
}
if (this.hitTest(_root.forcex, this._y)) {
_root.enemyshooting = true;
}
}
}
Instance of Symbol 880 MovieClip "emp" in Frame 550
onClipEvent (load) {
if (this._y > 400) {
stopAllSounds();
with (this) {
stop();
}
}
}
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx, this._y)) {
_root.tankshooting = true;
}
if (this.hitTest(_root.enemyairx, this._y)) {
_root.airshooting = true;
}
if (this.hitTest(_root.forcetankx, this._y)) {
_root.enemytankshooting = true;
}
if (this.hitTest(_root.forceairx, this._y)) {
_root.enemyairshooting = true;
}
}
}
Instance of Symbol 883 MovieClip "shock" in Frame 550
onClipEvent (load) {
if (this._y > 400) {
with (this) {
stop();
}
}
}
Instance of Symbol 341 MovieClip "enemymissleup" in Frame 550
onClipEvent (enterFrame) {
if (this._y < 400) {
this._y = this._y - 10;
if (this._y < -100) {
if (_root.forcex != undefinned) {
duplicateMovieClip (_root.missledown, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.forcex;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
} else if (_root.forcetankx != undefinned) {
duplicateMovieClip (_root.missledown, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.forcetankx;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
} else {
removeMovieClip(this);
}
}
}
if (_root.endgame == true) {
removeMovieClip(this);
}
}
Frame 551
roundtime++;
enemyx = this["enemy" + enemycount]._x;
forcex = this["force" + forcecount]._x;
_root.timermoney++;
if (endtime == true) {
gotoAndPlay (578);
_root.endgame = true;
} else if (enemyendtime == true) {
_root.endgame = true;
gotoAndPlay (556);
} else {
gotoAndPlay (550);
}
Frame 553
_root.endgame = false;
_root.endtime = false;
_root.enemyendtime = false;
enemycount = 0;
forcecount = 0;
forcenum = 0;
enemynum = 0;
enemytanknum = 0;
enemytankcount = 0;
forcetanknum = 0;
forcetankcount = 0;
enemyaircount = 0;
forceaircount = 0;
forceairnum = 0;
enemyairnum = 0;
forcehold = 0;
enemyhold = 0;
speed = 0.8;
airspeed = speed * 3;
forcedmg = [0, 0, 0, 0];
forceup = [0, 0, 0, 0];
enemydmg = [0, 0, 0, 0];
bombnum = 1;
bombstock = "none";
research = [false, false];
forcecannonbuilt2 = false;
forcecannonbuilt = false;
enemycannonbuilt = false;
misslestock = 0;
forcecannonlevel = 0;
forcecannonrate = 135;
enemycannonrate = 160;
tobuild = [[0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0]];
buildingcurrent = 0;
enemybuildingname = [];
buildingname = [];
buildingarray = ["barracks", "airbase", "business", "science", "defence", "weapons"];
aido = false;
aimoney = 1000;
spacer = 40;
money = 1000;
income = 25;
forcelifemax = 50;
enemylifemax = 30;
forcelife = forcelifemax;
enemylife = enemylifemax;
shocktime = 0;
timerneed = 300;
timermoneyneed = 50;
roundtime = 0;
_root.herothing(0);
_root.herothing(1);
_root.herothing(2);
_root.herothing(3);
_root.herothing(4);
duplicateMovieClip (this["forcetank" + forcecolorvar], "forcetank", 1000);
duplicateMovieClip (this["forcespecial" + forcecolorvar], "forcespecial", 1001);
duplicateMovieClip (this["forceair" + forcecolorvar], "forceair", 1002);
duplicateMovieClip (this["forcebomber" + forcecolorvar], "forcebomber", 1003);
duplicateMovieClip (forcez, "force", 1004);
duplicateMovieClip (this["forcedrill" + forcecolorvar], "forcebomber", 1015);
duplicateMovieClip (this["enemyair" + enemycolorvar], "enemyair", 1007);
duplicateMovieClip (this["enemytank" + enemycolorvar], "enemytank", 1010);
duplicateMovieClip (this["enemyspecial" + enemycolorvar], "enemyspecial", 1011);
duplicateMovieClip (this["enemybomber" + enemycolorvar], "enemybomber", 1012);
duplicateMovieClip (this["enemydrill" + forcecolorvar], "enemydrill", 1014);
duplicateMovieClip (enemyz, "enemy", 1013);
Instance of Symbol 925 MovieClip "menu" in Frame 553
onClipEvent (load) {
businessprice = 0;
}
Instance of Symbol 58 MovieClip "enemybar" in Frame 553
onClipEvent (load) {
colorchoosenenemy = new Color(this);
colorchoosenenemy.setRGB(_root.colorenemy);
}
Instance of Symbol 58 MovieClip "bar" in Frame 553
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 602 MovieClip "buildingpic" in Frame 553
onClipEvent (load) {
with (this) {
gotoAndStop("base");
}
}
Instance of Symbol 216 MovieClip "roundthing" in Frame 553
onClipEvent (load) {
this._x = _root.forcebase._x;
this._y = _root.forcebase._y - 20;
}
Instance of Symbol 637 MovieClip "delayer1" in Frame 553
onClipEvent (load) {
numberthing = 1;
}
Instance of Symbol 637 MovieClip "delayer0" in Frame 553
onClipEvent (load) {
numberthing = 0;
}
Instance of Symbol 660 MovieClip "forcez" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcex) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[0], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[0], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (2 + _root.forcedmg[0]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 670 MovieClip "enemyz" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._y > 0)) && (this._x == _root.enemyx)) && (this._y < 145)) {
this._y = this._y + 1;
} else if (((((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._y > 0)) && (this._y > 100)) && (this._x == _root.enemyx)) {
this._y = this._y - 1;
}
if (this.hitTest(_root.forcetankx + _root.enemydmg[0], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[0], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (2 + _root.enemydmg[0]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 678 MovieClip "forcetankblue" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcetankx) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[2], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (10 + _root.forcedmg[2]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x >= 700)) {
removeMovieClip(this);
} else {
this._x = this._x + (_root.speed / 2);
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[2], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
}
}
Instance of Symbol 685 MovieClip "enemytankblue" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[2], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[2], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (10 + _root.enemydmg[3]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - (_root.speed / 2);
}
if ((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) && (this._y < 140)) {
this._y = this._y - 1;
} else if (((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) {
this._y = this._y + 1;
}
}
}
Instance of Symbol 704 MovieClip "forcespecialblue" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx - _root.forcedmg[1], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[1], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (1 + _root.forcedmg[1]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 716 MovieClip "enemyspecialblue" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[1], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[1], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (1 + _root.enemydmg[2]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 718 MovieClip "forceairblue" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemyairx - _root.forcedmg[3], this._y) && (this._y < 400)) {
_root.airshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank4)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 515) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
}
}
Instance of Symbol 337 MovieClip "enemyairblue" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forceairx + _root.enemydmg[3], this._y) && (_root.forceairx != undefinned)) {
_root.enemyairshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank2)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x <= 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
}
}
Instance of Symbol 722 MovieClip "forcebomber" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - (_root.speed * 2);
}
this._x = this._x + (_root.speed * 3);
}
if (this.hitTest(_root.enemytankx, this._y) && (this._y < 400)) {
_root.bombnum++;
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
_root.bombnum++;
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
}
}
}
Instance of Symbol 722 MovieClip "forcebomberblue" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 724 MovieClip "enemybomberblue" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank2) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
if (this.hitTest(_root.forcex, this._y) || (this.hitTest(_root.forcetankx, this._y))) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 730 MovieClip "forcetankyellow" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcetankx) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[2], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (10 + _root.forcedmg[2]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x >= 700)) {
removeMovieClip(this);
} else {
this._x = this._x + (_root.speed / 2);
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[2], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
}
}
Instance of Symbol 736 MovieClip "enemytankyellow" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[2], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[2], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (10 + _root.enemydmg[3]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - (_root.speed / 2);
}
if ((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) && (this._y < 140)) {
this._y = this._y - 1;
} else if (((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) {
this._y = this._y + 1;
}
}
}
Instance of Symbol 752 MovieClip "forcespecialyellow" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx - _root.forcedmg[1], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[1], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (1 + _root.forcedmg[1]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 764 MovieClip "enemyspecialyellow" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[1], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[1], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (1 + _root.enemydmg[2]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 767 MovieClip "forceairyellow" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemyairx - _root.forcedmg[3], this._y) && (this._y < 400)) {
_root.airshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank4)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 515) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
}
}
Instance of Symbol 768 MovieClip "enemyairyellow" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forceairx + _root.enemydmg[3], this._y) && (_root.forceairx != undefinned)) {
_root.enemyairshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank2)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x <= 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
}
}
Instance of Symbol 770 MovieClip "forcebomberyellow" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 771 MovieClip "enemybomberyellow" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank2) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
if (this.hitTest(_root.forcex, this._y) || (this.hitTest(_root.forcetankx, this._y))) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 777 MovieClip "forcetankteal" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcetankx) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[2], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (10 + _root.forcedmg[2]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x >= 700)) {
removeMovieClip(this);
} else {
this._x = this._x + (_root.speed / 2);
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[2], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
}
}
Instance of Symbol 783 MovieClip "enemytankteal" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[2], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[2], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (10 + _root.enemydmg[3]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - (_root.speed / 2);
}
if ((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) && (this._y < 140)) {
this._y = this._y - 1;
} else if (((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) {
this._y = this._y + 1;
}
}
}
Instance of Symbol 799 MovieClip "forcespecialteal" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx - _root.forcedmg[1], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[1], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (1 + _root.forcedmg[1]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 811 MovieClip "enemyspecialteal" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[1], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[1], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (1 + _root.enemydmg[2]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 814 MovieClip "forceairteal" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemyairx - _root.forcedmg[3], this._y) && (this._y < 400)) {
_root.airshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank4)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 515) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
}
}
Instance of Symbol 815 MovieClip "enemyairteal" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forceairx + _root.enemydmg[3], this._y) && (_root.forceairx != undefinned)) {
_root.enemyairshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank2)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x <= 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
}
}
Instance of Symbol 817 MovieClip "forcebomberteal" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 818 MovieClip "enemybomberteal" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank2) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
if (this.hitTest(_root.forcex, this._y) || (this.hitTest(_root.forcetankx, this._y))) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 824 MovieClip "forcetankred" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcetankx) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[2], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (10 + _root.forcedmg[2]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x >= 700)) {
removeMovieClip(this);
} else {
this._x = this._x + (_root.speed / 2);
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[2], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
}
}
Instance of Symbol 830 MovieClip "enemytankred" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[2], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[2], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (10 + _root.enemydmg[3]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - (_root.speed / 2);
}
if ((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) && (this._y < 140)) {
this._y = this._y - 1;
} else if (((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) {
this._y = this._y + 1;
}
}
}
Instance of Symbol 846 MovieClip "forcespecialred" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx - _root.forcedmg[1], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[1], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (1 + _root.forcedmg[1]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 858 MovieClip "enemyspecialred" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[1], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[1], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.forcelife = _root.forcelife - (1 + _root.enemydmg[2]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 861 MovieClip "forceairred" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemyairx - _root.forcedmg[3], this._y) && (this._y < 400)) {
_root.airshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank4)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 515) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
}
}
Instance of Symbol 863 MovieClip "enemyairred" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forceairx + _root.enemydmg[3], this._y) && (_root.forceairx != undefinned)) {
_root.enemyairshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank2)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x <= 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
}
}
Instance of Symbol 865 MovieClip "forcebomberred" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 866 MovieClip "enemybomberred" in Frame 553
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank2) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
if (this.hitTest(_root.forcex, this._y) || (this.hitTest(_root.forcetankx, this._y))) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Frame 554
forcetankx = this["forcetank" + forcetankcount]._x;
enemytankx = this["enemytank" + enemytankcount]._x;
forcetanky = this["forcetank" + forcetankcount]._y;
enemytanky = this["enemytank" + enemytankcount]._y;
enemyairy = this["enemyair" + enemyaircount]._y;
forceairy = this["forceair" + forceaircount]._y;
enemyairx = this["enemyair" + enemyaircount]._x;
forceairx = this["forceair" + forceaircount]._x;
enemyx = this["enemy" + enemycount]._x;
forcex = this["force" + forcecount]._x;
enemyy = this["enemy" + enemycount]._y;
forcey = this["force" + forcecount]._y;
if (_root.shooting == true) {
_root.dieSound("troopdie");
tellTarget (this["enemy" + enemycount]) {
gotoAndPlay ("dead");
_root.shooting = false;
};
}
if (_root.tankshooting == true) {
_root.dieSound("tankdie");
tellTarget (this["enemytank" + enemytankcount]) {
gotoAndPlay ("dead");
_root.tankshooting = false;
};
}
if (_root.enemyshooting == true) {
_root.dieSound("troopdie");
tellTarget (this["force" + forcecount]) {
gotoAndPlay ("dead");
_root.enemyshooting = false;
};
}
if (_root.enemytankshooting == true) {
_root.dieSound("tankdie");
tellTarget (this["forcetank" + forcetankcount]) {
gotoAndPlay ("dead");
_root.enemytankshooting = false;
};
}
if (_root.airshooting == true) {
_root.dieSound("airdie");
tellTarget (this["enemyair" + enemyaircount]) {
gotoAndPlay ("dead");
_root.airshooting = false;
};
}
if (_root.enemyairshooting == true) {
_root.dieSound("airdie");
tellTarget (this["forceair" + forceaircount]) {
gotoAndPlay ("dead");
_root.enemyairshooting = false;
};
}
if (_root.roundtime >= _root.timermoneyneed) {
timermoneyneed = timermoneyneed + 50;
_root.money = _root.money + _root.income;
_root.aimoney = _root.aimoney + (_root.income + 20);
}
_root.AI1();
Instance of Symbol 872 MovieClip "boom" in Frame 554
onClipEvent (load) {
if (this._y > 400) {
with (this) {
stop();
}
}
}
onClipEvent (load) {
if (this.hitTest(_root.enemytankx, this._y)) {
_root.tankshooting = true;
removeMovieClip(this);
}
if (this.hitTest(_root.enemyx, this._y)) {
_root.shooting = true;
removeMovieClip(this);
}
if (this.hitTest(_root.forcetankx, this._y)) {
_root.enemytankshooting = true;
removeMovieClip(this);
}
if (this.hitTest(_root.forcex, this._y)) {
_root.enemyshooting = true;
removeMovieClip(this);
}
}
Instance of Symbol 874 MovieClip "bombshell" in Frame 554
onClipEvent (enterFrame) {
if (this._y < 400) {
this._y = this._y + 5;
if (this._y > 120) {
duplicateMovieClip (_root.boom, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
}
if (this.hitTest(_root.enemybase)) {
_root.enemylife = _root.enemylife - (5 + _root.forcedmg[3]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.forcebase)) {
_root.forcelife = _root.forcelife - (5 + _root.enemydmg[3]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
}
}
if (((_root.endgame == true) || (this.hitTest(_root.forcebase))) || (this.hitTest(_root.enemybase))) {
removeMovieClip(this);
}
}
Instance of Symbol 874 MovieClip "bombershell" in Frame 554
onClipEvent (enterFrame) {
if (((_root.endgame == true) || (this.hitTest(_root.forcebase))) || (this.hitTest(_root.enemybase))) {
removeMovieClip(this);
}
if (this._y < 400) {
this._y = this._y + 7;
if (this._y > 120) {
_root.playSound("boom1");
duplicateMovieClip (_root.boom, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
}
}
}
Instance of Symbol 878 MovieClip "cannonshell" in Frame 554
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.enemyx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.enemyx) {
this._x = this._x + 3;
} else if (this._x > _root.enemyx) {
this._x = this._x - 3;
}
if (this._y < _root.enemyy) {
this._y = this._y + 1;
} else if (this._y > _root.enemyy) {
this._y = this._y - 1;
}
if (this.hitTest(_root.enemyx, _root.enemyy)) {
_root.shooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "cannonshellair" in Frame 554
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.enemyairx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.enemyairx) {
this._x = this._x + 3;
} else if (this._x > _root.enemyairx) {
this._x = this._x - 3;
}
if (this._y < _root.enemyairy) {
this._y = this._y + 2;
} else if (this._y > _root.enemyairy) {
this._y = this._y - 2;
}
if (this.hittest(_root.enemyairx, _root.enemyairy)) {
_root.airshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "enemycannonshell" in Frame 554
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.forcex == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.forcex) {
this._x = this._x + 3;
} else if (this._x > _root.forcex) {
this._x = this._x - 3;
}
if (this._y < _root.forcey) {
this._y = this._y + 1;
} else if (this._y > _root.forcey) {
this._y = this._y - 1;
}
if (this.hittest(_root.forcex, _root.forcey)) {
_root.enemyshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "enemycannonshellair" in Frame 554
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.forceairx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.forceairx) {
this._x = this._x + 3;
} else if (this._x > _root.forceairx) {
this._x = this._x - 3;
}
if (this._y < _root.forceairy) {
this._y = this._y + 2;
} else if (this._y > _root.forceairy) {
this._y = this._y - 2;
}
if (this.hittest(_root.forceairx, _root.forceairy)) {
_root.enemyairshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "cannonshelltank" in Frame 554
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.enemytankx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.enemytankx) {
this._x = this._x + 3;
} else if (this._x > _root.enemytankx) {
this._x = this._x - 3;
}
if (this._y < _root.enemytanky) {
this._y = this._y + 1;
} else if (this._y > _root.enemytanky) {
this._y = this._y - 1;
}
if (this.hittest(_root.enemytankx, _root.enemytanky)) {
_root.tankshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "enemycannonshelltank" in Frame 554
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.forcetankx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.forcetankx) {
this._x = this._x + 3;
} else if (this._x > _root.forcetankx) {
this._x = this._x - 3;
}
if (this._y < _root.forcetanky) {
this._y = this._y + 1;
} else if (this._y > _root.forcetanky) {
this._y = this._y - 1;
}
if (this.hittest(_root.forcetankx, _root.forcetanky)) {
_root.enemytankshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 341 MovieClip "missledown" in Frame 554
onClipEvent (enterFrame) {
if (_root.endgame == true) {
removeMovieClip(this);
}
if (this._y < 400) {
this._y = this._y + 10;
if (this._y > 120) {
duplicateMovieClip (_root.boom2, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
_root.bombnum++;
removeMovieClip(this);
_root.playSound("boom1");
}
}
}
Instance of Symbol 341 MovieClip "missleup" in Frame 554
onClipEvent (enterFrame) {
if (this._y < 400) {
this._y = this._y - 10;
if (this._y < -100) {
if (_root.enemyx != undefinned) {
duplicateMovieClip (_root.missledown, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.enemyx;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
} else if (_root.enemytankx != undefinned) {
duplicateMovieClip (_root.missledown, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.enemytankx;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
} else {
removeMovieClip(this);
}
}
}
if (_root.endgame == true) {
removeMovieClip(this);
}
}
Instance of Symbol 872 MovieClip "boom2" in Frame 554
onClipEvent (load) {
if (this._y > 400) {
with (this) {
stop();
}
}
}
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx, this._y)) {
_root.tankshooting = true;
}
if (this.hitTest(_root.enemyx, this._y)) {
_root.shooting = true;
}
if (this.hitTest(_root.forcetankx, this._y)) {
_root.enemytankshooting = true;
}
if (this.hitTest(_root.forcex, this._y)) {
_root.enemyshooting = true;
}
}
}
Instance of Symbol 880 MovieClip "emp" in Frame 554
onClipEvent (load) {
if (this._y > 400) {
stopAllSounds();
with (this) {
stop();
}
}
}
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx, this._y)) {
_root.tankshooting = true;
}
if (this.hitTest(_root.enemyairx, this._y)) {
_root.airshooting = true;
}
if (this.hitTest(_root.forcetankx, this._y)) {
_root.enemytankshooting = true;
}
if (this.hitTest(_root.forceairx, this._y)) {
_root.enemyairshooting = true;
}
}
}
Instance of Symbol 883 MovieClip "shock" in Frame 554
onClipEvent (load) {
if (this._y > 400) {
with (this) {
stop();
}
}
}
Instance of Symbol 341 MovieClip "enemymissleup" in Frame 554
onClipEvent (enterFrame) {
if (this._y < 400) {
this._y = this._y - 10;
if (this._y < -100) {
if (_root.forcex != undefinned) {
duplicateMovieClip (_root.missledown, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.forcex;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
} else if (_root.forcetankx != undefinned) {
duplicateMovieClip (_root.missledown, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.forcetankx;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
} else {
removeMovieClip(this);
}
}
}
if (_root.endgame == true) {
removeMovieClip(this);
}
}
Frame 555
roundtime++;
enemyx = this["enemy" + enemycount]._x;
forcex = this["force" + forcecount]._x;
_root.timermoney++;
if (endtime == true) {
_root.endgame = true;
gotoAndPlay (578);
} else if (enemyendtime == true) {
_root.endgame = true;
gotoAndPlay (556);
} else {
gotoAndPlay (554);
}
Frame 556
if (_root.DialogueNum == 29) {
stopAllSounds();
gotoAndPlay (652);
}
Frame 577
stopAllSounds();
stop();
Frame 599
stopAllSounds();
stop();
Frame 600
stop();
forcehero = [0, 0, 0, 0, 0];
Frame 601
_root.heronumber = 0;
_root.credits = 0;
forcecolorvar = "blue";
colorforce = 26265;
_root.forcelifemax = 100;
_root.forcelife = _root.forcelifemax;
_root.skybg = "day";
Instance of Symbol 177 MovieClip in Frame 601
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
onClipEvent (enterFrame) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 478 MovieClip in Frame 601
onClipEvent (load) {
with (this) {
gotoAndStop("troopcaptain");
}
}
Instance of Symbol 478 MovieClip in Frame 601
onClipEvent (load) {
with (this) {
gotoAndStop("tankcaptain");
}
}
Instance of Symbol 478 MovieClip in Frame 601
onClipEvent (load) {
with (this) {
gotoAndStop("snipercaptain");
}
}
Instance of Symbol 478 MovieClip in Frame 601
onClipEvent (load) {
with (this) {
gotoAndStop("business");
}
}
Frame 602
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
Instance of Symbol 177 MovieClip in Frame 602
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
colorchoosenforce = new Color(_root.teamtag);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 58 MovieClip "bar" in Frame 602
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 478 MovieClip "hero1" in Frame 602
onClipEvent (load) {
with (this) {
gotoAndStop(_root.forcehero[0]);
}
}
Instance of Symbol 478 MovieClip "hero2" in Frame 602
onClipEvent (load) {
with (this) {
gotoAndStop(_root.forcehero[1]);
}
}
Instance of Symbol 478 MovieClip "hero3" in Frame 602
onClipEvent (load) {
with (this) {
gotoAndStop(_root.forcehero[2]);
}
}
Instance of Symbol 478 MovieClip "hero4" in Frame 602
onClipEvent (load) {
with (this) {
gotoAndStop(_root.forcehero[3]);
}
}
Instance of Symbol 478 MovieClip "hero5" in Frame 602
onClipEvent (load) {
with (this) {
gotoAndStop(_root.forcehero[4]);
}
}
Instance of Symbol 478 MovieClip in Frame 602
onClipEvent (load) {
with (this) {
gotoAndStop("troopcaptain");
}
}
Instance of Symbol 478 MovieClip in Frame 602
onClipEvent (load) {
with (this) {
gotoAndStop("tankcaptain");
}
}
Instance of Symbol 478 MovieClip in Frame 602
onClipEvent (load) {
with (this) {
gotoAndStop("snipercaptain");
}
}
Instance of Symbol 478 MovieClip in Frame 602
onClipEvent (load) {
with (this) {
gotoAndStop("business");
}
}
Frame 603
stop();
Mouse.hide();
Instance of Symbol 363 MovieClip in Frame 603
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 363 MovieClip in Frame 603
onClipEvent (enterFrame) {
this._x = _root._xmouse;
}
Frame 604
gotoAndPlay (605);
if ((_root.skybg = "night")) {
_root.skybg = "day";
} else {
_root.skybg = "night";
}
Frame 605
_root.forcelifemax2 = _root.forcelifemax;
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
_root.endgame = false;
_root.endtime = false;
_root.enemyendtime = false;
enemycount = 0;
forcecount = 0;
forcenum = 0;
enemynum = 0;
enemytanknum = 0;
enemytankcount = 0;
forcetanknum = 0;
forcetankcount = 0;
enemyaircount = 0;
forceaircount = 0;
forceairnum = 0;
enemyairnum = 0;
forcehold = 0;
enemyhold = 0;
speed = 0.8;
airspeed = speed * 3;
forcedmg = [0, 0, 0, 0];
forceup = [0, 0, 0, 0];
enemydmg = [0, 0, 0, 0];
bombnum = 1;
bombstock = "none";
research = [false, false];
forcecannonbuilt2 = false;
forcecannonbuilt = false;
enemycannonbuilt = false;
misslestock = 0;
forcecannonlevel = 0;
forcecannonrate = 135;
enemycannonrate = forcecannonrate;
tobuild = [[0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0]];
buildingcurrent = 0;
enemybuildingname = [];
buildingname = [];
buildingarray = ["barracks", "airbase", "business", "science", "defence", "weapons"];
aido = false;
aimoney = 1000;
spacer = 40;
money = 1000;
income = 25;
enemylife = enemylifemax;
shocktime = 0;
timerneed = 0;
timermoneyneed = 50;
roundtime = 0;
_root.herothing(0);
_root.herothing(1);
_root.herothing(2);
_root.herothing(3);
_root.herothing(4);
duplicateMovieClip (this["forcetank" + forcecolorvar], "forcetank", 1000);
duplicateMovieClip (this["forcespecial" + forcecolorvar], "forcespecial", 1001);
duplicateMovieClip (this["forceair" + forcecolorvar], "forceair", 1002);
duplicateMovieClip (this["forcebomber" + forcecolorvar], "forcebomber", 1003);
duplicateMovieClip (forcez, "force", 1004);
duplicateMovieClip (this["forcedrill" + forcecolorvar], "forcebomber", 1015);
duplicateMovieClip (this["enemyair" + enemycolorvar], "enemyair", 1007);
duplicateMovieClip (this["enemytank" + enemycolorvar], "enemytank", 1010);
duplicateMovieClip (this["enemyspecial" + enemycolorvar], "enemyspecial", 1011);
duplicateMovieClip (this["enemybomber" + enemycolorvar], "enemybomber", 1012);
duplicateMovieClip (this["enemydrill" + forcecolorvar], "enemydrill", 1014);
duplicateMovieClip (enemyz, "enemy", 1013);
Instance of Symbol 426 MovieClip in Frame 605
onClipEvent (load) {
with (this) {
gotoAndStop(_root.skybg);
}
}
Instance of Symbol 434 MovieClip in Frame 605
onClipEvent (load) {
with (this) {
gotoAndStop(_root.stagebg);
}
}
Instance of Symbol 197 MovieClip "forcebase" in Frame 605
onClipEvent (load) {
this.swapDepth(-999999);
}
Instance of Symbol 436 MovieClip in Frame 605
onClipEvent (enterFrame) {
if (_root.forcelife > 25) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 436 MovieClip in Frame 605
onClipEvent (enterFrame) {
if (_root.forcelife > 25) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip "basehitter2" in Frame 605
onClipEvent (load) {
gotoAndStop(Math.random(1) + 1 +604);
}
Instance of Symbol 444 MovieClip "enemybase" in Frame 605
onClipEvent (load) {
this.swapDepth(-999998);
}
Instance of Symbol 436 MovieClip in Frame 605
onClipEvent (enterFrame) {
if (_root.enemylife > 25) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 436 MovieClip in Frame 605
onClipEvent (enterFrame) {
if (_root.enemylife > 25) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 567 MovieClip "menu" in Frame 605
onClipEvent (load) {
businessprice = 0;
}
Instance of Symbol 58 MovieClip "enemybar" in Frame 605
onClipEvent (load) {
colorchoosenenemy = new Color(this);
colorchoosenenemy.setRGB(_root.colorenemy);
}
Instance of Symbol 58 MovieClip "bar" in Frame 605
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 602 MovieClip "buildingpic" in Frame 605
onClipEvent (load) {
with (this) {
gotoAndStop("base");
}
}
Instance of Symbol 216 MovieClip "roundthing" in Frame 605
onClipEvent (load) {
this._x = _root.forcebase._x;
this._y = _root.forcebase._y - 20;
}
Instance of Symbol 637 MovieClip "delayer1" in Frame 605
onClipEvent (load) {
numberthing = 1;
}
Instance of Symbol 637 MovieClip "delayer2" in Frame 605
onClipEvent (load) {
numberthing = 2;
}
Instance of Symbol 637 MovieClip "delayer3" in Frame 605
onClipEvent (load) {
numberthing = 3;
}
Instance of Symbol 637 MovieClip "delayer0" in Frame 605
onClipEvent (load) {
numberthing = 0;
}
Instance of Symbol 660 MovieClip "forcez" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcex) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[0], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[0], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (2 + _root.forcedmg[0]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 670 MovieClip "enemyz" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._y > 0)) && (this._x == _root.enemyx)) && (this._y < 145)) {
this._y = this._y + 1;
} else if (((((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._y > 0)) && (this._y > 100)) && (this._x == _root.enemyx)) {
this._y = this._y - 1;
}
if (this.hitTest(_root.forcetankx + _root.enemydmg[0], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[0], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
if (this.hitTest(_root.basehitter2)) {
_root.forcelife = _root.forcelife - (2 + _root.enemydmg[0]);
}
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 678 MovieClip "forcetankblue" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcetankx) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[2], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (10 + _root.forcedmg[2]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x >= 700)) {
removeMovieClip(this);
} else {
this._x = this._x + (_root.speed / 2);
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[2], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
}
}
Instance of Symbol 685 MovieClip "enemytankblue" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[2], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[2], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
if (this.hitTest(_root.basehitter2)) {
_root.forcelife = _root.forcelife - (10 + _root.enemydmg[2]);
}
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - (_root.speed / 2);
}
if ((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) && (this._y < 140)) {
this._y = this._y - 1;
} else if (((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) {
this._y = this._y + 1;
}
}
}
Instance of Symbol 704 MovieClip "forcespecialblue" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx - _root.forcedmg[1], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[1], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (1 + _root.forcedmg[1]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 716 MovieClip "enemyspecialblue" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[1], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[1], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
if (this.hitTest(_root.basehitter2)) {
_root.forcelife = _root.forcelife - (1 + _root.enemydmg[1]);
}
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 718 MovieClip "forceairblue" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemyairx - _root.forcedmg[3], this._y) && (this._y < 400)) {
_root.airshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank4)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 515) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
}
}
Instance of Symbol 337 MovieClip "enemyairblue" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forceairx + _root.enemydmg[3], this._y) && (_root.forceairx != undefinned)) {
_root.enemyairshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank2)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x <= 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
}
}
Instance of Symbol 722 MovieClip "forcebomber" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - (_root.speed * 2);
}
this._x = this._x + (_root.speed * 3);
}
if (this.hitTest(_root.enemytankx, this._y) && (this._y < 400)) {
_root.bombnum++;
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
_root.bombnum++;
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
}
}
}
Instance of Symbol 722 MovieClip "forcebomberblue" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 724 MovieClip "enemybomberblue" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank2) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
if (this.hitTest(_root.forcex, this._y) || (this.hitTest(_root.forcetankx, this._y))) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 730 MovieClip "forcetankyellow" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcetankx) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[2], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (10 + _root.forcedmg[2]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x >= 700)) {
removeMovieClip(this);
} else {
this._x = this._x + (_root.speed / 2);
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[2], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
}
}
Instance of Symbol 736 MovieClip "enemytankyellow" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[2], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[2], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
if (this.hitTest(_root.basehitter2)) {
_root.forcelife = _root.forcelife - (10 + _root.enemydmg[2]);
}
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - (_root.speed / 2);
}
if ((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) && (this._y < 140)) {
this._y = this._y - 1;
} else if (((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) {
this._y = this._y + 1;
}
}
}
Instance of Symbol 752 MovieClip "forcespecialyellow" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx - _root.forcedmg[1], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[1], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (1 + _root.forcedmg[1]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 764 MovieClip "enemyspecialyellow" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[1], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[1], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
if (this.hitTest(_root.basehitter2)) {
_root.forcelife = _root.forcelife - (1 + _root.enemydmg[1]);
}
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 767 MovieClip "forceairyellow" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemyairx - _root.forcedmg[3], this._y) && (this._y < 400)) {
_root.airshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank4)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 515) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
}
}
Instance of Symbol 768 MovieClip "enemyairyellow" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forceairx + _root.enemydmg[3], this._y) && (_root.forceairx != undefinned)) {
_root.enemyairshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank2)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x <= 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
}
}
Instance of Symbol 770 MovieClip "forcebomberyellow" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 771 MovieClip "enemybomberyellow" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank2) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
if (this.hitTest(_root.forcex, this._y) || (this.hitTest(_root.forcetankx, this._y))) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 777 MovieClip "forcetankteal" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcetankx) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[2], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (10 + _root.forcedmg[2]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x >= 700)) {
removeMovieClip(this);
} else {
this._x = this._x + (_root.speed / 2);
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[2], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
}
}
Instance of Symbol 783 MovieClip "enemytankteal" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[2], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[2], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
if (this.hitTest(_root.basehitter2)) {
_root.forcelife = _root.forcelife - (10 + _root.enemydmg[2]);
}
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - (_root.speed / 2);
}
if ((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) && (this._y < 140)) {
this._y = this._y - 1;
} else if (((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) {
this._y = this._y + 1;
}
}
}
Instance of Symbol 799 MovieClip "forcespecialteal" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx - _root.forcedmg[1], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[1], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (1 + _root.forcedmg[1]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 811 MovieClip "enemyspecialteal" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[1], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[1], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
if (this.hitTest(_root.basehitter2)) {
_root.forcelife = _root.forcelife - (1 + _root.enemydmg[1]);
}
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 814 MovieClip "forceairteal" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemyairx - _root.forcedmg[3], this._y) && (this._y < 400)) {
_root.airshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank4)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 515) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
}
}
Instance of Symbol 815 MovieClip "enemyairteal" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forceairx + _root.enemydmg[3], this._y) && (_root.forceairx != undefinned)) {
_root.enemyairshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank2)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x <= 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
}
}
Instance of Symbol 817 MovieClip "forcebomberteal" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 818 MovieClip "enemybomberteal" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank2) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
if (this.hitTest(_root.forcex, this._y) || (this.hitTest(_root.forcetankx, this._y))) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 824 MovieClip "forcetankred" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this._x == _root.forcetankx) {
if ((this._y < _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y + 1;
} else if ((this._y > _root.enemyy) && (_root.enemyy != undefinned)) {
this._y = this._y - 1;
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[2], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (10 + _root.forcedmg[2]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x >= 700)) {
removeMovieClip(this);
} else {
this._x = this._x + (_root.speed / 2);
}
if (this.hitTest(_root.enemytankx - _root.forcedmg[2], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
}
}
Instance of Symbol 830 MovieClip "enemytankred" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[2], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[2], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
if (this.hitTest(_root.basehitter2)) {
_root.forcelife = _root.forcelife - (10 + _root.enemydmg[2]);
}
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - (_root.speed / 2);
}
if ((((this._y > _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) && (this._y < 140)) {
this._y = this._y - 1;
} else if (((this._y < _root.forcey) && (_root.forcey != undefinned)) && (this._x == _root.enemytankx)) {
this._y = this._y + 1;
}
}
}
Instance of Symbol 846 MovieClip "forcespecialred" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx - _root.forcedmg[1], this._y)) {
_root.tankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.enemyx - _root.forcedmg[1], this._y)) {
_root.shooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter) && (_root.endgame != true)) || (_root.endgame == true)) {
_root.enemylife = _root.enemylife - (1 + _root.forcedmg[1]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x > 700)) {
removeMovieClip(this);
} else {
this._x = this._x + _root.speed;
}
}
}
Instance of Symbol 858 MovieClip "enemyspecialred" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forcetankx + _root.enemydmg[1], this._y)) {
_root.enemytankshooting = true;
with (this) {
play();
}
}
if (this.hitTest(_root.forcex + _root.enemydmg[1], this._y)) {
_root.enemyshooting = true;
with (this) {
play();
}
} else if ((this.hitTest(_root.basehitter2) && (_root.endgame != true)) || (_root.endgame == true)) {
if (this.hitTest(_root.basehitter2)) {
_root.forcelife = _root.forcelife - (1 + _root.enemydmg[1]);
}
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
this._x = this._x - _root.speed;
}
}
}
Instance of Symbol 861 MovieClip "forceairred" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemyairx - _root.forcedmg[3], this._y) && (this._y < 400)) {
_root.airshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank4)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 515) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
}
}
Instance of Symbol 863 MovieClip "enemyairred" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.forceairx + _root.enemydmg[3], this._y) && (_root.forceairx != undefinned)) {
_root.enemyairshooting = true;
with (this) {
play();
}
} else if (this.hitTest(_root.blank2)) {
duplicateMovieClip (_root.bombshell, "bombshell" + _root.bombnum, _root.bombnum + 560000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (_root.endgame == true) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x <= 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
}
}
Instance of Symbol 865 MovieClip "forcebomberred" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank4) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || ((this._x >= 850) && (this._y < 400))) {
removeMovieClip(this);
} else {
if (this._x > 525) {
this._y = this._y - 1.6;
}
this._x = this._x + _root.airspeed;
}
if ((this.hitTest(_root.enemyx, this._y) || (this.hitTest(_root.enemytankx, this._y))) && (this._y < 400)) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 866 MovieClip "enemybomberred" in Frame 605
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.blank2) || (_root.endgame == true)) {
this._x = -80;
this._y = -80;
with (this) {
gotoAndPlay("dead");
play();
}
} else if (this.hitTest(_root.blank) || (this._x < 0)) {
removeMovieClip(this);
} else {
if (this._x < 175) {
this._y = this._y - 1.6;
}
this._x = this._x - _root.airspeed;
}
if (this.hitTest(_root.forcex, this._y) || (this.hitTest(_root.forcetankx, this._y))) {
duplicateMovieClip (_root.bombershell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y + 5;
_root.bombnum++;
}
}
}
Instance of Symbol 868 MovieClip in Frame 605
onClipEvent (load) {
if (_root.skybg == "day") {
this._visible = false;
}
}
Frame 606
forcetankx = this["forcetank" + forcetankcount]._x;
enemytankx = this["enemytank" + enemytankcount]._x;
forcetanky = this["forcetank" + forcetankcount]._y;
enemytanky = this["enemytank" + enemytankcount]._y;
enemyairy = this["enemyair" + enemyaircount]._y;
forceairy = this["forceair" + forceaircount]._y;
enemyairx = this["enemyair" + enemyaircount]._x;
forceairx = this["forceair" + forceaircount]._x;
enemyx = this["enemy" + enemycount]._x;
forcex = this["force" + forcecount]._x;
enemyy = this["enemy" + enemycount]._y;
forcey = this["force" + forcecount]._y;
if (_root.shooting == true) {
_root.dieSound("troopdie");
tellTarget (this["enemy" + enemycount]) {
gotoAndPlay ("dead");
_root.shooting = false;
};
}
if (_root.tankshooting == true) {
_root.dieSound("tankdie");
tellTarget (this["enemytank" + enemytankcount]) {
gotoAndPlay ("dead");
_root.tankshooting = false;
};
}
if (_root.enemyshooting == true) {
_root.dieSound("troopdie");
tellTarget (this["force" + forcecount]) {
gotoAndPlay ("dead");
_root.enemyshooting = false;
};
}
if (_root.enemytankshooting == true) {
_root.dieSound("tankdie");
tellTarget (this["forcetank" + forcetankcount]) {
gotoAndPlay ("dead");
_root.enemytankshooting = false;
};
}
if (_root.airshooting == true) {
_root.dieSound("airdie");
tellTarget (this["enemyair" + enemyaircount]) {
gotoAndPlay ("dead");
_root.airshooting = false;
};
}
if (_root.enemyairshooting == true) {
_root.dieSound("airdie");
tellTarget (this["forceair" + forceaircount]) {
gotoAndPlay ("dead");
_root.enemyairshooting = false;
};
}
if (_root.roundtime >= _root.timermoneyneed) {
timermoneyneed = timermoneyneed + 50;
_root.money = _root.money + _root.income;
_root.aimoney = _root.aimoney + (_root.income + 20);
}
if (_root.customai == 0) {
_root.AI1();
} else if (_root.customai == 1) {
_root.AI2();
} else if (_root.customai == 2) {
_root.AI4();
} else if (_root.customai == 3) {
_root.AI5();
}
Instance of Symbol 872 MovieClip "boom" in Frame 606
onClipEvent (load) {
if (this._y > 400) {
with (this) {
stop();
}
}
}
onClipEvent (load) {
if (this.hitTest(_root.enemytankx, this._y)) {
_root.tankshooting = true;
removeMovieClip(this);
}
if (this.hitTest(_root.enemyx, this._y)) {
_root.shooting = true;
removeMovieClip(this);
}
if (this.hitTest(_root.forcetankx, this._y)) {
_root.enemytankshooting = true;
removeMovieClip(this);
}
if (this.hitTest(_root.forcex, this._y)) {
_root.enemyshooting = true;
removeMovieClip(this);
}
}
Instance of Symbol 874 MovieClip "bombshell" in Frame 606
onClipEvent (enterFrame) {
if (this._y < 400) {
this._y = this._y + 5;
if (this._y > 120) {
duplicateMovieClip (_root.boom, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
}
if (this.hitTest(_root.enemybase)) {
_root.enemylife = _root.enemylife - (5 + _root.forcedmg[3]);
_root.enemybar._width = (_root.enemylife / _root.enemylifemax) * 140;
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
} else if (this.hitTest(_root.forcebase)) {
_root.forcelife = _root.forcelife - (5 + _root.enemydmg[3]);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
}
}
if (((_root.endgame == true) || (this.hitTest(_root.forcebase))) || (this.hitTest(_root.enemybase))) {
removeMovieClip(this);
}
}
Instance of Symbol 874 MovieClip "bombershell" in Frame 606
onClipEvent (enterFrame) {
if (((_root.endgame == true) || (this.hitTest(_root.forcebase))) || (this.hitTest(_root.enemybase))) {
removeMovieClip(this);
}
if (this._y < 400) {
this._y = this._y + 7;
if (this._y > 120) {
_root.playSound("boom1");
duplicateMovieClip (_root.boom, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
}
}
}
Instance of Symbol 878 MovieClip "cannonshell" in Frame 606
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.enemyx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.enemyx) {
this._x = this._x + 3;
} else if (this._x > _root.enemyx) {
this._x = this._x - 3;
}
if (this._y < _root.enemyy) {
this._y = this._y + 1;
} else if (this._y > _root.enemyy) {
this._y = this._y - 1;
}
if (this.hitTest(_root.enemyx, _root.enemyy)) {
_root.shooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "cannonshellair" in Frame 606
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.enemyairx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.enemyairx) {
this._x = this._x + 3;
} else if (this._x > _root.enemyairx) {
this._x = this._x - 3;
}
if (this._y < _root.enemyairy) {
this._y = this._y + 2;
} else if (this._y > _root.enemyairy) {
this._y = this._y - 2;
}
if (this.hittest(_root.enemyairx, _root.enemyairy)) {
_root.airshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "enemycannonshell" in Frame 606
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.forcex == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.forcex) {
this._x = this._x + 3;
} else if (this._x > _root.forcex) {
this._x = this._x - 3;
}
if (this._y < _root.forcey) {
this._y = this._y + 1;
} else if (this._y > _root.forcey) {
this._y = this._y - 1;
}
if (this.hittest(_root.forcex, _root.forcey)) {
_root.enemyshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "enemycannonshellair" in Frame 606
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.forceairx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.forceairx) {
this._x = this._x + 3;
} else if (this._x > _root.forceairx) {
this._x = this._x - 3;
}
if (this._y < _root.forceairy) {
this._y = this._y + 2;
} else if (this._y > _root.forceairy) {
this._y = this._y - 2;
}
if (this.hittest(_root.forceairx, _root.forceairy)) {
_root.enemyairshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "cannonshelltank" in Frame 606
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.enemytankx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.enemytankx) {
this._x = this._x + 3;
} else if (this._x > _root.enemytankx) {
this._x = this._x - 3;
}
if (this._y < _root.enemytanky) {
this._y = this._y + 1;
} else if (this._y > _root.enemytanky) {
this._y = this._y - 1;
}
if (this.hittest(_root.enemytankx, _root.enemytanky)) {
_root.tankshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 878 MovieClip "enemycannonshelltank" in Frame 606
onClipEvent (enterFrame) {
if ((_root.endgame == true) || (_root.forcetankx == undefinned)) {
removeMovieClip(this);
}
if (this._y < 400) {
if (this._x < _root.forcetankx) {
this._x = this._x + 3;
} else if (this._x > _root.forcetankx) {
this._x = this._x - 3;
}
if (this._y < _root.forcetanky) {
this._y = this._y + 1;
} else if (this._y > _root.forcetanky) {
this._y = this._y - 1;
}
if (this.hittest(_root.forcetankx, _root.forcetanky)) {
_root.enemytankshooting = true;
removeMovieClip(this);
}
}
}
Instance of Symbol 341 MovieClip "missledown" in Frame 606
onClipEvent (enterFrame) {
if (_root.endgame == true) {
removeMovieClip(this);
}
if (this._y < 400) {
this._y = this._y + 10;
if (this._y > 120) {
duplicateMovieClip (_root.boom2, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = this._x;
_root["bombshell" + _root.bombnum]._y = this._y;
_root.bombnum++;
removeMovieClip(this);
_root.playSound("boom1");
}
}
}
Instance of Symbol 341 MovieClip "missleup" in Frame 606
onClipEvent (enterFrame) {
if (this._y < 400) {
this._y = this._y - 10;
if (this._y < -100) {
if (_root.enemyx != undefinned) {
duplicateMovieClip (_root.missledown, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.enemyx;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
} else if (_root.enemytankx != undefinned) {
duplicateMovieClip (_root.missledown, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.enemytankx;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
} else {
removeMovieClip(this);
}
}
}
if (_root.endgame == true) {
removeMovieClip(this);
}
}
Instance of Symbol 872 MovieClip "boom2" in Frame 606
onClipEvent (load) {
if (this._y > 400) {
with (this) {
stop();
}
}
}
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx, this._y)) {
_root.tankshooting = true;
}
if (this.hitTest(_root.enemyx, this._y)) {
_root.shooting = true;
}
if (this.hitTest(_root.forcetankx, this._y)) {
_root.enemytankshooting = true;
}
if (this.hitTest(_root.forcex, this._y)) {
_root.enemyshooting = true;
}
}
}
Instance of Symbol 880 MovieClip "emp" in Frame 606
onClipEvent (load) {
if (this._y > 400) {
stopAllSounds();
with (this) {
stop();
}
}
}
onClipEvent (enterFrame) {
if (this._y < 400) {
if (this.hitTest(_root.enemytankx, this._y)) {
_root.tankshooting = true;
}
if (this.hitTest(_root.enemyairx, this._y)) {
_root.airshooting = true;
}
if (this.hitTest(_root.forcetankx, this._y)) {
_root.enemytankshooting = true;
}
if (this.hitTest(_root.forceairx, this._y)) {
_root.enemyairshooting = true;
}
}
}
Instance of Symbol 883 MovieClip "shock" in Frame 606
onClipEvent (load) {
if (this._y > 400) {
with (this) {
stop();
}
}
}
Instance of Symbol 341 MovieClip "enemymissleup" in Frame 606
onClipEvent (enterFrame) {
if (this._y < 400) {
this._y = this._y - 10;
if (this._y < -100) {
if (_root.forcex != undefinned) {
duplicateMovieClip (_root.missledown, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.forcex;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
} else if (_root.forcetankx != undefinned) {
duplicateMovieClip (_root.missledown, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.forcetankx;
_root["bombshell" + _root.bombnum]._y = 0;
_root.bombnum++;
removeMovieClip(this);
this._y = 400;
} else {
removeMovieClip(this);
}
}
}
if (_root.endgame == true) {
removeMovieClip(this);
}
}
Frame 607
roundtime++;
enemyx = this["enemy" + enemycount]._x;
forcex = this["force" + forcecount]._x;
_root.timermoney++;
if (endtime == true) {
gotoAndPlay (630);
_root.endgame = true;
} else if (enemyendtime == true) {
_root.endgame = true;
gotoAndPlay (608);
} else {
gotoAndPlay (606);
}
Frame 608
enemycount = 0;
forcecount = 0;
forcenum = 0;
enemynum = 0;
Frame 629
stopAllSounds();
_root.credits = _root.credits + _root.creditup;
stop();
Frame 630
enemycount = 0;
forcecount = 0;
forcenum = 0;
enemynum = 0;
Frame 651
stopAllSounds();
stop();
Frame 652
if (_root.soundOn == false) {
gotoAndPlay (652);
}
Frame 683
_root.playSound("tankfire2");
Frame 688
_root.playSound("tankfire2");
Frame 691
_root.playSound("endboom");
Frame 720
_root.playSound("sniperkfire2");
Frame 728
_root.playSound("endboom");
Frame 766
_root.playSound("tankfire2");
Frame 788
_root.playSound("endboom");
Frame 797
_root.playSound("sniperkfire2");
Frame 830
_root.playSound("sniperkfire2");
Frame 848
_root.playSound("tankfire2");
Frame 1510
stop();
Symbol 17 Button
on (release) {
getURL ("http://www.mofunzone.com/", "_blank");
}
Symbol 27 Button
on (release) {
gotoAndPlay (5);
}
Symbol 56 MovieClip Frame 26
stop();
Symbol 73 MovieClip Frame 51
stop();
Symbol 113 Button
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
on (release) {
gotoAndStop (137);
}
Symbol 114 Button
on (release) {
gotoAndStop (135);
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 115 Button
on (release) {
gotoAndStop (600);
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 116 Button
on (release) {
gotoAndStop (136);
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 118 Button
on (release) {
gotoAndStop (138);
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 124 Button
on (release, keyPress "<Enter>") {
_root.endgame = true;
removeMovieClip("Selectable");
stopAllSounds();
gotoAndPlay (120);
}
Symbol 125 MovieClip Frame 4
_root.endgame = false;
_root.endtime = false;
_root.enemyendtime = false;
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
stop();
Symbol 139 MovieClip Frame 4
gotoAndStop (1);
Symbol 139 MovieClip Frame 6
gotoAndStop (1);
Symbol 139 MovieClip Frame 8
gotoAndStop (1);
Symbol 139 MovieClip Frame 10
gotoAndStop (1);
Symbol 139 MovieClip Frame 13
gotoAndStop (1);
Symbol 139 MovieClip Frame 15
gotoAndStop (1);
Symbol 139 MovieClip Frame 17
gotoAndStop (1);
Symbol 139 MovieClip Frame 19
gotoAndStop (1);
Symbol 139 MovieClip Frame 21
gotoAndStop (1);
Symbol 139 MovieClip Frame 23
gotoAndStop (1);
Symbol 139 MovieClip Frame 25
gotoAndStop (1);
Symbol 139 MovieClip Frame 27
gotoAndStop (1);
Symbol 139 MovieClip Frame 29
gotoAndStop (1);
Symbol 139 MovieClip Frame 31
gotoAndStop (1);
Symbol 139 MovieClip Frame 33
gotoAndStop (1);
Symbol 143 Button
on (release) {
_root.forcehero = [0, 0, 0, 0, 0];
_root.briefpic = [3, 2, 1, 1];
_root.textthing = "Coastal Evac";
_root.setx = 216;
_root.sety = 145;
_root.DialogueNum = 0;
_root.objective = "-Destroy Enemy Encampment";
gotoAndPlay (139);
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 144 Button
on (release) {
if (user.data.a == undefinned) {
_root.playSound("no");
} else {
_root.briefpic = [0, 0, 0, 0];
_root.forcehero = [0, 0, 0, 0, 0];
_root.textthing = user.data.a;
_root.setx = user.data.b;
_root.sety = user.data.c;
_root.DialogueNum = user.data.d;
_root.DialogueNum++;
_root.briefpic[0] = user.data.e1;
_root.briefpic[1] = user.data.e2;
_root.briefpic[2] = user.data.e3;
_root.briefpic[3] = user.data.e4;
_root.objective = user.data.f;
_root.forcehero[0] = user.data.g1;
_root.forcehero[1] = user.data.g2;
_root.forcehero[2] = user.data.g3;
_root.playSound("yes");
gotoAndStop (547);
}
}
on (rollOver) {
_root.playSound("select");
}
Symbol 145 Button
on (release) {
gotoAndStop (134);
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 151 Button
on (release) {
_root.playSound("musicmenu");
_root.soundOn = (_root.soundOn ? false : true);
if (_root.soundOn == true) {
menumuse = new Sound();
menumuse.attachSound("menuloop");
menumuse.start();
menumuse.onSoundComplete = function () {
_root.menumuse.start();
};
}
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 158 Button
on (release) {
_quality = "HIGH";
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 159 Button
on (release) {
_quality = "MEDIUM";
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 160 Button
on (release) {
_quality = "LOW";
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 194 MovieClip Frame 1
stop();
Instance of Symbol 174 MovieClip in Symbol 194 MovieClip Frame 3
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 177 MovieClip in Symbol 194 MovieClip Frame 4
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 180 MovieClip in Symbol 194 MovieClip Frame 5
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 183 MovieClip in Symbol 194 MovieClip Frame 6
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 186 MovieClip in Symbol 194 MovieClip Frame 7
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 189 MovieClip in Symbol 194 MovieClip Frame 8
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 192 MovieClip in Symbol 194 MovieClip Frame 9
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Symbol 197 MovieClip Frame 1
stop();
Instance of Symbol 194 MovieClip in Symbol 197 MovieClip Frame 1
onClipEvent (load) {
with (this) {
gotoAndStop("base");
}
}
Symbol 197 MovieClip Frame 2
if (_root.forcecannonbuilt == true) {
tellTarget (_root.forcecannon) {
gotoAndPlay ("dead");
};
}
_root.playSound("boom1");
Symbol 197 MovieClip Frame 5
if (_root.forcelife <= 0) {
play();
} else {
gotoAndStop (1);
}
Symbol 197 MovieClip Frame 6
_root.playSound("endboom");
_root.forcelife = 0;
Symbol 197 MovieClip Frame 14
_root.endtime = true;
_root.endgame = true;
stop();
Symbol 197 MovieClip Frame 16
_root.forcecannonbuilt2 = false;
Instance of Symbol 194 MovieClip in Symbol 197 MovieClip Frame 16
onClipEvent (load) {
with (this) {
gotoAndStop("base");
}
}
Symbol 197 MovieClip Frame 23
if (_root.forcelife < _root.forcelifemax) {
_root.forcelife++;
gotoAndPlay (16);
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
} else {
gotoAndStop (1);
}
Symbol 212 Button
on (release) {
gotoAndStop (134);
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 218 Button
on (release, keyPress "<Space>") {
_root.playSound("select");
roundthing._x = this.b5._x;
roundthing._y = this.b5._y;
}
Symbol 219 Button
on (release, keyPress "e") {
_root.playSound("select");
roundthing._x = this.b1._x;
roundthing._y = this.b1._y;
}
Symbol 220 Button
on (release, keyPress "s") {
_root.playSound("select");
roundthing._x = this.b2._x;
roundthing._y = this.b2._y;
}
Symbol 221 Button
on (release, keyPress "f") {
_root.playSound("select");
roundthing._x = this.b4._x;
roundthing._y = this.b4._y;
}
Symbol 222 Button
on (release, keyPress "d") {
_root.playSound("select");
roundthing._x = this.b3._x;
roundthing._y = this.b3._y;
}
Symbol 243 Button
on (release) {
getURL ("http://www.ntnd.net", "_blank");
}
Symbol 284 MovieClip Frame 508
_root.play();
Symbol 286 Button
on (release, keyPress "k") {
gotoAndStop (547);
}
Symbol 323 MovieClip Frame 43
gotoAndPlay (36);
Symbol 336 MovieClip Frame 5
stop();
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 2
_root.playSound("planefire");
Symbol 337 MovieClip Frame 4
gotoAndPlay (1);
Symbol 337 MovieClip Frame 6
_root.enemyaircount++;
Symbol 337 MovieClip Frame 12
stop();
Symbol 351 Button
on (release) {
gotoAndStop (547);
}
Symbol 359 MovieClip Frame 11
stop();
text2 = _root.textthing;
Symbol 360 Button
on (release) {
Mouse.show();
play();
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 364 Button
on (release, keyPress "<Enter>") {
_root.endgame = true;
removeMovieClip("Selectable");
stopAllSounds();
gotoAndPlay (120);
Mouse.show();
}
Symbol 402 MovieClip Frame 1
stop();
Symbol 412 Button
on (press) {
tellTarget (_root.lines) {
gotoAndPlay ("big");
};
removeMovieClip("Selectable");
if (_root.DialogueNum == 27) {
tellTarget (_root.p3) {
gotoAndStop (1);
};
}
if (_root.DialogueNum == 17) {
tellTarget (_root.p3) {
gotoAndStop (2);
};
}
if (_root.DialogueNum == 16) {
tellTarget (_root.p3) {
gotoAndStop (1);
};
}
if (_root.DialogueNum == 15) {
tellTarget (_root.p3) {
gotoAndStop (7);
};
}
if (_root.DialogueNum == 8) {
tellTarget (_root.p3) {
gotoAndStop (6);
};
}
if (_root.DialogueNum == 3) {
tellTarget (_root.p3) {
gotoAndStop (4);
};
}
if (_root.DialogueNum == 5) {
_root.objective = "-Destroy enemy airbase";
_root.briefpic = [3, 2, 1, 1];
_root.textthing = "Threat Dawns";
_root.setx = 494;
_root.sety = 125;
_root.stagebg = "grass";
_root.skybg = "day";
forcecolorvar = "blue";
colorforce = 26265;
enemycolorvar = "red";
colorenemy = 13369344 /* 0xCC0000 */;
stopAllSounds();
gotoAndPlay (553);
} else if (_root.DialogueNum == 9) {
_root.forcehero[0] = "tankcaptain";
_root.objective = "-Destroy enemy defences (Sniper preformance increased, Money income increased)";
_root.briefpic = [3, 5, 8, 1];
_root.textthing = "Hidden Storm";
_root.setx = 281;
_root.sety = 70;
_root.stagebg = "city";
_root.skybg = "day";
forcecolorvar = "blue";
colorforce = 26265;
enemycolorvar = "teal";
colorenemy = 52377;
stopAllSounds();
gotoAndPlay (549);
} else if (_root.DialogueNum == 13) {
_root.forcehero[1] = "snipercaptain";
_root.forcehero[2] = "business";
_root.objective = "-Destroy enemy base";
_root.briefpic = [3, 5, 1, 1];
_root.textthing = "Darkness Falls";
_root.setx = 272;
_root.sety = 181;
_root.stagebg = "snow";
_root.skybg = "night";
forcecolorvar = "blue";
colorforce = 26265;
enemycolorvar = "red";
colorenemy = 13369344 /* 0xCC0000 */;
stopAllSounds();
gotoAndPlay (549);
} else if (_root.DialogueNum == 29) {
_root.stagebg = "dirt";
_root.skybg = "night";
forcecolorvar = "blue";
colorforce = 26265;
enemycolorvar = "red";
colorenemy = 13369344 /* 0xCC0000 */;
stopAllSounds();
gotoAndPlay (549);
} else {
_root.DialogueNum++;
_root.Speaker = _root.Mission.Characters[DialogueNum];
_root.Speaker2 = _root.Mission.Characters2[DialogueNum];
_root.Bulk = _root.Mission.Speech[DialogueNum];
removeMovieClip("Selectable");
attachMovie("Selectable", "Selectable", 1000);
_root.Selectable._x = _root[Speaker2]._x;
_root.Selectable._y = _root[Speaker2]._y;
}
}
Symbol 419 MovieClip Frame 26
gotoAndPlay (1);
Symbol 443 MovieClip Frame 1
stop();
Instance of Symbol 174 MovieClip in Symbol 443 MovieClip Frame 2
onClipEvent (load) {
colorchoosenenemy = new Color(this);
colorchoosenenemy.setRGB(_root.colorenemy);
}
Instance of Symbol 177 MovieClip in Symbol 443 MovieClip Frame 3
onClipEvent (load) {
colorchoosenenemy = new Color(this);
colorchoosenenemy.setRGB(_root.colorenemy);
}
Instance of Symbol 180 MovieClip in Symbol 443 MovieClip Frame 4
onClipEvent (load) {
colorchoosenenemy = new Color(this);
colorchoosenenemy.setRGB(_root.colorenemy);
}
Instance of Symbol 183 MovieClip in Symbol 443 MovieClip Frame 5
onClipEvent (load) {
colorchoosenenemy = new Color(this);
colorchoosenenemy.setRGB(_root.colorenemy);
}
Instance of Symbol 186 MovieClip in Symbol 443 MovieClip Frame 6
onClipEvent (load) {
colorchoosenenemy = new Color(this);
colorchoosenenemy.setRGB(_root.colorenemy);
}
Instance of Symbol 189 MovieClip in Symbol 443 MovieClip Frame 7
onClipEvent (load) {
colorchoosenenemy = new Color(this);
colorchoosenenemy.setRGB(_root.colorenemy);
}
Instance of Symbol 192 MovieClip in Symbol 443 MovieClip Frame 8
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Symbol 444 MovieClip Frame 1
stop();
Instance of Symbol 443 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
with (this) {
gotoAndStop("base");
}
}
Symbol 444 MovieClip Frame 2
if (_root.enemycannonbuilt == true) {
tellTarget (_root.enemycannon) {
gotoAndPlay ("dead");
};
}
_root.playSound("boom1");
Symbol 444 MovieClip Frame 5
if (_root.enemylife <= 0) {
play();
} else {
gotoAndPlay (1);
}
Symbol 444 MovieClip Frame 6
_root.playSound("endboom");
_root.enemylife = 0;
Instance of Symbol 194 MovieClip in Symbol 444 MovieClip Frame 6
onClipEvent (load) {
with (this) {
gotoAndStop("base");
}
}
Symbol 444 MovieClip Frame 22
_root.enemyendtime = true;
_root.endgame = true;
stop();
Instance of Symbol 194 MovieClip in Symbol 444 MovieClip Frame 24
onClipEvent (load) {
with (this) {
gotoAndStop("base");
}
}
Symbol 444 MovieClip Frame 31
if (_root.enemylife < _root.enemylifemax) {
_root.enemylife++;
gotoAndPlay (24);
_root.bar._width = (_root.enemylife / _root.enemylifemax) * 140;
} else {
gotoAndStop (1);
}
Symbol 478 MovieClip Frame 1
stop();
Symbol 483 Button
on (rollOver) {
text = "War Industry";
price = "$100";
explain = "Builds soldiers and tanks";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "1") {
if (_root.money >= 100) {
if (_root["nodelay" + _root.buildingcurrent] == true) {
_root.playSound("yes");
_root.money = _root.money - 100;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 180;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root.buildingpic) {
gotoAndStop ("building");
};
tellTarget (_root["building" + _root.buildingcurrent]) {
gotoAndStop ("building");
};
gotoAndStop (10);
_root.buildingname[_root.buildingcurrent] = "building";
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makebarracks");
};
}
}
}
Symbol 484 Button
on (rollOver) {
text = "Airbase";
price = "$150";
if ((((_root.buildingname[0] == "barracks") || (_root.buildingname[1] == "barracks")) || (_root.buildingname[2] == "barracks")) || (_root.buildingname[3] == "barracks")) {
explain = "Builds Fighters and Bombers";
} else {
requires = "Requires War Industry";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
requires = "";
price = "";
}
on (release, keyPress "3") {
if (_root.money >= 150) {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if ((((_root.buildingname[0] == "barracks") || (_root.buildingname[1] == "barracks")) || (_root.buildingname[2] == "barracks")) || (_root.buildingname[3] == "barracks")) {
_root.playSound("yes");
_root.money = _root.money - 150;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 240;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
_root.buildingname[_root.buildingcurrent] = "building";
tellTarget (_root.buildingpic) {
gotoAndStop ("building");
};
tellTarget (_root["building" + _root.buildingcurrent]) {
gotoAndStop ("building");
};
gotoAndStop (10);
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makeairbase");
};
}
}
}
}
Symbol 485 Button
on (release) {
_root.playSound("yes");
}
on (rollOver) {
text = "Business Center";
price = "$120";
explain = "Earn more money / Improve income";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "2") {
if (_root.money >= 120) {
if (_root["nodelay" + _root.buildingcurrent] == true) {
_root.playSound("yes");
_root.money = _root.money - 120;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 300;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
_root.buildingname[_root.buildingcurrent] = "building";
tellTarget (_root.buildingpic) {
gotoAndStop ("building");
};
tellTarget (_root["building" + _root.buildingcurrent]) {
gotoAndStop ("building");
};
gotoAndStop (10);
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makebusiness");
};
}
}
}
Symbol 486 Button
on (rollOver) {
text = "Defence Network";
price = "$200";
if ((((_root.buildingname[0] == "business") || (_root.buildingname[1] == "business")) || (_root.buildingname[2] == "business")) || (_root.buildingname[3] == "business")) {
explain = "Builds defences against attacks";
} else {
requires = "Requires Business Center";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
requires = "";
price = "";
}
on (release, keyPress "4") {
if (_root.money >= 200) {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if ((((_root.buildingname[0] == "business") || (_root.buildingname[1] == "business")) || (_root.buildingname[2] == "business")) || (_root.buildingname[3] == "business")) {
_root.playSound("yes");
_root.money = _root.money - 200;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 400;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
_root.buildingname[_root.buildingcurrent] = "building";
tellTarget (_root.buildingpic) {
gotoAndStop ("building");
};
tellTarget (_root["building" + _root.buildingcurrent]) {
gotoAndStop ("building");
};
gotoAndStop (10);
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makedefence");
};
}
}
}
}
Symbol 487 Button
on (rollOver) {
text = "Research Facility";
price = "$200";
if ((((_root.buildingname[0] == "business") || (_root.buildingname[1] == "business")) || (_root.buildingname[2] == "business")) || (_root.buildingname[3] == "business")) {
explain = "Researches weapons and upgrades";
} else {
requires = "Requires Business Center";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
requires = "";
price = "";
}
on (release, keyPress "5") {
if (_root.money >= 200) {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if ((((_root.buildingname[0] == "business") || (_root.buildingname[1] == "business")) || (_root.buildingname[2] == "business")) || (_root.buildingname[3] == "business")) {
_root.playSound("yes");
_root.money = _root.money - 200;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 400;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
_root.buildingname[_root.buildingcurrent] = "building";
tellTarget (_root.buildingpic) {
gotoAndStop ("building");
};
tellTarget (_root["building" + _root.buildingcurrent]) {
gotoAndStop ("building");
};
gotoAndStop (10);
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makescience");
};
}
}
}
}
Symbol 488 Button
on (rollOver) {
text = "Weapon Terminal";
price = "$200";
if ((((_root.buildingname[0] == "science") || (_root.buildingname[1] == "science")) || (_root.buildingname[2] == "science")) || (_root.buildingname[3] == "science")) {
explain = "Launch Deadly Weapons";
} else {
requires = "Requires Research Center";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
requires = "";
price = "";
}
on (release, keyPress "6") {
if (_root.money >= 200) {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if ((((_root.buildingname[0] == "science") || (_root.buildingname[1] == "science")) || (_root.buildingname[2] == "science")) || (_root.buildingname[3] == "science")) {
_root.playSound("yes");
_root.money = _root.money - 200;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 500;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
_root.buildingname[_root.buildingcurrent] = "building";
tellTarget (_root.buildingpic) {
gotoAndStop ("building");
};
tellTarget (_root["building" + _root.buildingcurrent]) {
gotoAndStop ("building");
};
gotoAndStop (10);
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makeweapons");
};
}
}
}
}
Symbol 497 Button
on (rollOver) {
text = "Infantry";
price = "$25";
explain = "Light assult unit";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "1") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 25) {
_root.playSound("yes");
_root.money = _root.money - 25;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 30;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.tobuild[_root.buildingcurrent][1] = _root.forcebase._x + 40;
_root.tobuild[_root.buildingcurrent][2] = 150 - random(50);
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makeman");
};
}
}
}
Symbol 498 Button
on (rollOver) {
text = "Tank";
price = "$50";
explain = "Heavy Assult Unit";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "2") {
if (_root.money >= 50) {
if (_root["nodelay" + _root.buildingcurrent] == true) {
_root.playSound("yes");
_root["nodelay" + _root.buildingcurrent] = false;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 55;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.tobuild[_root.buildingcurrent][1] = _root.forcebase._x + 40;
_root.tobuild[_root.buildingcurrent][2] = (110 - random(20)) + _root.spacer;
_root["nodelay" + _root.buildingcurrent] = false;
_root.money = _root.money - 50;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("maketank");
};
if (_root.spacer == 40) {
_root.spacer = 0;
} else if (_root.spacer == 0) {
_root.spacer = 20;
} else {
_root.spacer = 40;
}
}
}
}
Symbol 499 Button
on (rollOver) {
text = "Elite Sniper";
price = "$50";
explain = "Long Range Support Unit";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "3") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 50) {
_root.playSound("yes");
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 50;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.tobuild[_root.buildingcurrent][1] = _root.forcebase._x + 40;
_root.tobuild[_root.buildingcurrent][2] = 150 - random(50);
_root.money = _root.money - 50;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makesniper");
};
}
}
}
Symbol 505 MovieClip Frame 1
bombstock2 = _root.bombstock;
Symbol 506 Button
on (rollOver) {
text = "Fighter";
price = "$80";
explain = "Air assult and bombardment unit";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "3") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 80) {
_root.playSound("yes");
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 60;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.tobuild[_root.buildingcurrent][1] = _root.forcebase._x + 40;
_root.tobuild[_root.buildingcurrent][2] = 15 + random(30);
_root["nodelay" + _root.buildingcurrent] = false;
_root.money = _root.money - 80;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makefighter");
};
}
}
}
Symbol 507 Button
on (rollOver) {
text = "Bomber";
price = "$50";
if (_root.bombstock == "loaded") {
explain = "Heavy Bombardment Unit";
} else {
requires = "Requires bombs";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
requires = "";
price = "";
}
on (release, keyPress "2") {
if (((_root["nodelay" + _root.buildingcurrent] == true) && (_root.money >= 50)) && (_root.bombstock == "loaded")) {
_root.playSound("yes");
_root.money = _root.money - 50;
_root.bombstock = "none";
_root["nodelay" + _root.buildingcurrent] = false;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 50;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.tobuild[_root.buildingcurrent][1] = _root.forcebase._x + 40;
_root.tobuild[_root.buildingcurrent][2] = 15 + random(30);
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makebomber");
};
}
}
Symbol 508 Button
on (rollOver) {
text = "Manufacture Bombs";
price = "$100";
explain = "Creates bomb shells";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "1") {
if ((_root["nodelay" + _root.buildingcurrent] == true) && (_root.bombstock == "none")) {
if (_root.money >= 100) {
_root.playSound("yes");
_root.money = _root.money - 100;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 180;
_root["nodelay" + _root.buildingcurrent] = false;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makebomb");
};
}
}
}
Symbol 518 Button
on (rollOver) {
text = "Improve Income";
price = "$" + (businessprice + 100);
explain = "Permenantly Increase income by +5";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "1") {
if ((_root["nodelay" + _root.buildingcurrent] == true) && (_root.money >= (businessprice + 100))) {
_root.playSound("yes");
_root.money = _root.money - (businessprice + 100);
businessprice = businessprice + 50;
price = businessprice + 100;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 800;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makeincome");
};
}
}
Symbol 521 Button
on (rollOver) {
text = "Soldier Upgrade";
price = "$" + (100 + _root.forceup[0]);
if (_root.forceup[0] < 300) {
explain = "Increase soldier damage by 1";
} else {
requires = "Upgrade Maxed";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
requires = "";
price = "";
}
on (release, keyPress "1") {
if (((_root["nodelay" + _root.buildingcurrent] == true) && (_root.money > (100 + _root.forceup[0]))) && (_root.forceup[0] < 300)) {
_root.playSound("yes");
_root.money = _root.money - (100 + _root.forceup[0]);
_root.forceup[0] = _root.forceup[0] + 100;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 800;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makemanup");
};
}
}
Symbol 522 Button
on (rollOver) {
text = "Sniper Upgrade";
price = "$" + (100 + _root.forceup[1]);
if (_root.forceup[1] <= 300) {
explain = "Increase sniper damage by 1";
} else {
requires = "Upgrade Maxed";
}
}
on (rollOut, dragOut) {
text = "";
requires = "";
explain = "";
price = "";
}
on (release, keyPress "2") {
if (((_root["nodelay" + _root.buildingcurrent] == true) && (_root.money > (100 + _root.forceup[1]))) && (_root.forceup[1] <= 300)) {
_root.playSound("yes");
_root.money = _root.money - (100 + _root.forceup[1]);
_root.forceup[1] = _root.forceup[1] + 100;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 800;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makesniperup");
};
}
}
Symbol 523 Button
on (rollOver) {
text = "Tank Upgrade";
price = "$" + (100 + _root.forceup[2]);
if (_root.forceup[2] <= 300) {
explain = "Increase tank damage by 1";
} else {
requires = "Upgrade Maxed";
}
}
on (rollOut, dragOut) {
text = "";
requires = "";
explain = "";
price = "";
}
on (release, keyPress "3") {
if (((_root["nodelay" + _root.buildingcurrent] == true) && (_root.money > (100 + _root.forceup[2]))) && (_root.forceup[2] <= 300)) {
_root.playSound("yes");
_root.money = _root.money - (100 + _root.forceup[2]);
_root.forceup[2] = _root.forceup[2] + 100;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 800;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("maketankup");
};
}
}
Symbol 524 Button
on (rollOver) {
text = "Fighter upgrade";
price = "$" + (100 + _root.forceup[3]);
if (_root.forceup[3] <= 300) {
explain = "Increase fighter damage by 1";
} else {
requires = "Upgrade Maxed";
}
}
on (rollOut, dragOut) {
text = "";
requires = "";
explain = "";
price = "";
}
on (release, keyPress "4") {
if (((_root["nodelay" + _root.buildingcurrent] == true) && (_root.money > (100 + _root.forceup[3]))) && (_root.forceup[3] <= 300)) {
_root.playSound("yes");
_root.money = _root.money - (100 + _root.forceup[3]);
_root.forceup[3] = _root.forceup[3] + 100;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 800;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makefighterup");
};
}
}
Symbol 534 MovieClip Frame 1
lvl0 = _root.forcedmg[0];
lvl1 = _root.forcedmg[1];
lvl2 = _root.forcedmg[2];
lvl3 = _root.forcedmg[3];
Symbol 541 Button
on (rollOver) {
text = "Research Hack";
price = "$200";
}
on (rollOut, dragOut) {
text = "";
price = "";
}
on (release, keyPress "6") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 200) {
_root.playSound("yes");
_root.research[1] = "thing";
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 700;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 200;
_root["nodelay" + _root.buildingcurrent] = false;
this.hack._visible = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makehackre");
};
}
}
}
Symbol 543 Button
on (rollOver) {
text = "Research E.M.P.";
price = "$200";
}
on (rollOut, dragOut) {
text = "";
price = "";
}
on (release, keyPress "5") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 200) {
_root.playSound("yes");
_root.research[0] = "thing";
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 700;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 200;
_root["nodelay" + _root.buildingcurrent] = false;
this.elec._visible = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makeempre");
};
}
}
}
Symbol 547 Button
on (rollOver) {
text = "Defence Cannon";
price = "$120";
if (_root.forcecannonbuilt2 == false) {
explain = "Fires at enemy units";
} else {
requires = "Only one cannon allowed at a time";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
requires = "";
}
on (release, keyPress "1") {
if (_root.forcecannonbuilt2 == false) {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 120) {
_root.playSound("yes");
_root.forcecannonbuilt2 = true;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 200;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 120;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makecannon");
};
}
}
}
}
Symbol 548 Button
on (rollOver) {
text = "Upgrade Cannon";
price = "$100";
if (_root.forcecannonlevel < 2) {
explain = "Upgrade cannon fire speed";
} else {
requires = "Upgrade Maxed";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
requires = "";
}
on (release, keyPress "2") {
if (_root.forcecannonlevel < 2) {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 100) {
_root.playSound("yes");
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 240;
_root.forcecannonlevel++;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 100;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makecannonrate");
};
}
}
}
}
Symbol 552 MovieClip Frame 1
forcecannonthing = _root.forcecannonlevel;
Symbol 553 Button
on (rollOver) {
text = "Shockwave";
price = "$250";
explain = "Slows ground units";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
requires = "";
}
on (release, keyPress "3") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 250) {
_root.playSound("yes");
shocktime = 580;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 190;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 250;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makeshock");
};
}
}
}
Symbol 557 Button
on (rollOver) {
text = "Fire missile";
price = "$50";
if (_root.misslestock > 0) {
explain = "Fires a missile at enemy units";
} else {
requires = "Requires one or more missiles";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
requires = "";
}
on (release, keyPress "2") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if ((_root.money >= 50) && (_root.misslestock > 0)) {
_root.playSound("yes");
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 50;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 50;
_root.misslestock--;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makemissle");
};
}
}
}
Symbol 558 Button
on (rollOver) {
text = "Make missile";
price = "$125";
explain = "Prepares a missile";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "1") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 125) {
_root.playSound("yes");
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 160;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 125;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makemisslestock");
};
}
}
}
Symbol 562 MovieClip Frame 1
misslething = _root.misslestock;
Symbol 563 Button
on (rollOver) {
text = "E.M.P.";
price = "$120";
if (_root.research[0] == true) {
explain = "Destroys mechanical units";
} else {
requires = "Research at research center";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
requires = "";
}
on (release, keyPress "3") {
if ((_root["nodelay" + _root.buildingcurrent] == true) && (_root.research[0] == true)) {
if (_root.money >= 120) {
_root.playSound("yes");
shocktime = 480;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 80;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 120;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makeemp");
};
}
}
}
Symbol 564 Button
on (rollOver) {
text = "Hack";
price = "$250";
if (_root.research[1] == true) {
explain = "Enemy owes dept of -$100";
} else {
requires = "Research at research center";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
requires = "";
}
on (release, keyPress "4") {
if ((_root["nodelay" + _root.buildingcurrent] == true) && (_root.research[1] == true)) {
if (_root.money >= 250) {
_root.playSound("yes");
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 240;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 250;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makehack");
};
}
}
}
Instance of Symbol 478 MovieClip "hero1" in Symbol 567 MovieClip Frame 1
onClipEvent (load) {
with (this) {
gotoAndStop(_root.forcehero[0]);
}
}
Instance of Symbol 478 MovieClip "hero2" in Symbol 567 MovieClip Frame 1
onClipEvent (load) {
with (this) {
gotoAndStop(_root.forcehero[1]);
}
}
Instance of Symbol 478 MovieClip "hero3" in Symbol 567 MovieClip Frame 1
onClipEvent (load) {
with (this) {
gotoAndStop(_root.forcehero[2]);
}
}
Instance of Symbol 478 MovieClip "hero4" in Symbol 567 MovieClip Frame 1
onClipEvent (load) {
with (this) {
gotoAndStop(_root.forcehero[3]);
}
}
Instance of Symbol 478 MovieClip "hero5" in Symbol 567 MovieClip Frame 1
onClipEvent (load) {
with (this) {
gotoAndStop(_root.forcehero[4]);
}
}
Symbol 567 MovieClip Frame 2
text = "";
explain = "";
requires = "";
price = "";
passive = "";
stop();
income2 = _root.income;
dmg0 = _root.forcedmg[0] + 2;
dmg1 = _root.forcedmg[1] + 1;
dmg2 = _root.forcedmg[2] + 10;
dmg3 = _root.forcedmg[3] + 5;
Symbol 567 MovieClip Frame 3
text = "";
explain = "";
requires = "";
price = "";
passive = "";
Instance of Symbol 174 MovieClip in Symbol 567 MovieClip Frame 3
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 180 MovieClip in Symbol 567 MovieClip Frame 3
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 186 MovieClip in Symbol 567 MovieClip Frame 3
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 189 MovieClip in Symbol 567 MovieClip Frame 3
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 183 MovieClip in Symbol 567 MovieClip Frame 3
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 192 MovieClip in Symbol 567 MovieClip Frame 3
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 58 MovieClip in Symbol 567 MovieClip Frame 3
onClipEvent (load) {
if ((((_root.buildingname[0] == "barracks") || (_root.buildingname[1] == "barracks")) || (_root.buildingname[2] == "barracks")) || (_root.buildingname[3] == "barracks")) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if ((((_root.buildingname[0] == "barracks") || (_root.buildingname[1] == "barracks")) || (_root.buildingname[2] == "barracks")) || (_root.buildingname[3] == "barracks")) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 567 MovieClip Frame 3
onClipEvent (load) {
if ((((_root.buildingname[0] == "business") || (_root.buildingname[1] == "business")) || (_root.buildingname[2] == "business")) || (_root.buildingname[3] == "business")) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if ((((_root.buildingname[0] == "business") || (_root.buildingname[1] == "business")) || (_root.buildingname[2] == "business")) || (_root.buildingname[3] == "business")) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 567 MovieClip Frame 3
onClipEvent (load) {
if ((((_root.buildingname[0] == "business") || (_root.buildingname[1] == "business")) || (_root.buildingname[2] == "business")) || (_root.buildingname[3] == "business")) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if ((((_root.buildingname[0] == "business") || (_root.buildingname[1] == "business")) || (_root.buildingname[2] == "business")) || (_root.buildingname[3] == "business")) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 567 MovieClip Frame 3
onClipEvent (load) {
if ((((_root.buildingname[0] == "science") || (_root.buildingname[1] == "science")) || (_root.buildingname[2] == "science")) || (_root.buildingname[3] == "science")) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if ((((_root.buildingname[0] == "science") || (_root.buildingname[1] == "science")) || (_root.buildingname[2] == "science")) || (_root.buildingname[3] == "science")) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 567 MovieClip Frame 4
text = "";
explain = "";
requires = "";
price = "";
passive = "";
Symbol 567 MovieClip Frame 5
text = "";
explain = "";
requires = "";
price = "";
passive = "";
Instance of Symbol 58 MovieClip in Symbol 567 MovieClip Frame 5
onClipEvent (load) {
if (_root.bombstock == "loaded") {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.bombstock == "loaded") {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 567 MovieClip Frame 6
text = "";
explain = "";
requires = "";
price = "";
passive = "";
Symbol 567 MovieClip Frame 7
text = "";
explain = "";
requires = "";
price = "";
passive = "";
if ((_root.research[0] == "thing") || (_root.research[0] == true)) {
elec._visible = false;
}
if ((_root.research[1] == true) || (_root.research[1] == "thing")) {
hack._visible = false;
}
Instance of Symbol 58 MovieClip in Symbol 567 MovieClip Frame 7
onClipEvent (load) {
if (_root.forceup[0] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.forceup[0] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 567 MovieClip Frame 7
onClipEvent (load) {
if (_root.forceup[1] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.forceup[1] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 567 MovieClip Frame 7
onClipEvent (load) {
if (_root.forceup[2] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.forceup[2] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 567 MovieClip Frame 7
onClipEvent (load) {
if (_root.forceup[3] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.forceup[3] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 567 MovieClip Frame 8
text = "";
explain = "";
requires = "";
price = "";
passive = "";
Instance of Symbol 58 MovieClip in Symbol 567 MovieClip Frame 8
onClipEvent (load) {
if (_root.forcecannonbuilt2 == false) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.forcecannonbuilt2 == false) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 567 MovieClip Frame 8
onClipEvent (load) {
if (_root.forcecannonlevel < 2) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.forcecannonlevel < 2) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 567 MovieClip Frame 9
text = "";
explain = "";
requires = "";
price = "";
passive = "";
Instance of Symbol 58 MovieClip in Symbol 567 MovieClip Frame 9
onClipEvent (load) {
if (_root.misslestock > 0) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.misslestock > 0) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 567 MovieClip Frame 9
onClipEvent (load) {
if (_root.research[0] == true) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.research[0] == true) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 567 MovieClip Frame 9
onClipEvent (load) {
if (_root.research[1] == true) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.research[1] == true) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 567 MovieClip Frame 10
text = "";
explain = "";
requires = "";
price = "";
passive = "";
Symbol 574 Button
on (release) {
duplicateMovieClip (_root.enemybomber, "enemyair" + _root.enemyairnum, (_root.enemybomber.getDepth() + _root.enemyairnum) + 530000);
_root["enemyair" + _root.enemyairnum]._x = _root.enemybase._x - 40;
_root["enemyair" + _root.enemyairnum]._y = 15 + random(30);
_root.enemyairnum++;
}
Symbol 576 Button
on (release) {
duplicateMovieClip (_root.enemy, "enemy" + _root.enemynum, (_root.enemy.getDepth() + _root.enemynum) + 110000);
_root["enemy" + _root.enemynum]._x = _root.enemybase._x - 40;
_root["enemy" + _root.enemynum]._y = 150 - random(50);
_root.enemynum++;
}
Symbol 577 Button
on (release) {
duplicateMovieClip (_root.enemytank, "enemytank" + _root.enemytanknum, (_root.enemytank.getDepth() + _root.enemytanknum) + 80000);
_root["enemytank" + _root.enemytanknum]._x = _root.enemybase._x - 40;
_root["enemytank" + _root.enemytanknum]._y = 150 - random(50);
_root.enemytanknum++;
}
Symbol 578 Button
on (release) {
duplicateMovieClip (_root.enemyspecial, "enemy" + _root.enemynum, (_root.enemy.getDepth() + _root.enemynum) + 110000);
_root["enemy" + _root.enemynum]._x = _root.enemybase._x - 40;
_root["enemy" + _root.enemynum]._y = 150 - random(50);
_root.enemynum++;
}
Symbol 579 Button
on (release) {
duplicateMovieClip (_root.enemyair, "enemyair" + _root.enemyairnum, (_root.enemyair.getDepth() + _root.enemyairnum) + 530000);
_root["enemyair" + _root.enemyairnum]._x = _root.enemybase._x - 40;
_root["enemyair" + _root.enemyairnum]._y = 15 + random(30);
_root.enemyairnum++;
}
Symbol 586 Button
on (release, keyPress "w") {
_root.playSound("select");
if (_root.buildingname[3] == undefinned) {
tellTarget (_root.buildingpic) {
gotoAndStop ("build");
};
tellTarget (_root.menu) {
gotoAndStop ("build");
};
} else {
tellTarget (_root.buildingpic) {
gotoAndStop(_root.buildingname[3]);
};
tellTarget (_root.menu) {
gotoAndStop(_root.buildingname[3]);
};
}
_root.highlighter._x = _root.delayer3._x;
_root.highlighter._y = _root.delayer3._y;
roundthing._x = _root.building3._x;
roundthing._y = _root.building3._y - 20;
_root.buildingcurrent = 3;
}
Symbol 587 Button
on (release, keyPress "a") {
_root.playSound("select");
if (_root.buildingname[2] == undefinned) {
tellTarget (_root.buildingpic) {
gotoAndStop ("build");
};
tellTarget (_root.menu) {
gotoAndStop ("build");
};
} else {
tellTarget (_root.buildingpic) {
gotoAndStop(_root.buildingname[2]);
};
tellTarget (_root.menu) {
gotoAndStop(_root.buildingname[2]);
};
}
roundthing._x = _root.building2._x;
roundthing._y = _root.building2._y - 20;
_root.highlighter._x = _root.delayer2._x;
_root.highlighter._y = _root.delayer2._y;
_root.buildingcurrent = 2;
}
Symbol 588 Button
on (release, keyPress "<Space>") {
_root.playSound("select");
_root.buildingcurrent = undefinned;
tellTarget (_root.buildingpic) {
gotoAndStop ("base");
};
tellTarget (_root.menu) {
gotoAndStop ("basestats");
};
_root.highlighter._x = -100;
_root.highlighter._y - 100;
roundthing._x = _root.forcebase._x;
roundthing._y = _root.forcebase._y - 20;
}
Symbol 592 Button
on (release) {
_root.money = _root.money + 50;
tellTarget (_root.buildingpic) {
gotoAndPlay ("new");
};
_root.buildingname[_root.buildingcurrent] = undefinned;
tellTarget (_root.menu) {
gotoAndStop ("build");
};
tellTarget (_root["building" + _root.buildingcurrent]) {
gotoAndStop ("build");
};
}
on (release) {
_root["nodelay" + _root.buildingcurrent] = true;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndStop (1);
};
}
Symbol 596 Button
on (release) {
_root.income = _root.income - 5;
_root.money = _root.money + 50;
tellTarget (_root.buildingpic) {
gotoAndPlay ("new");
};
_root.buildingname[_root.buildingcurrent] = undefinned;
tellTarget (_root.menu) {
gotoAndStop ("build");
};
tellTarget (_root["building" + _root.buildingcurrent]) {
gotoAndStop ("build");
};
}
on (release) {
_root["nodelay" + _root.buildingcurrent] = true;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndStop (1);
};
}
Symbol 602 MovieClip Frame 1
stop();
Instance of Symbol 58 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 177 MovieClip in Symbol 602 MovieClip Frame 3
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 174 MovieClip in Symbol 602 MovieClip Frame 4
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 180 MovieClip in Symbol 602 MovieClip Frame 5
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 183 MovieClip in Symbol 602 MovieClip Frame 6
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 186 MovieClip in Symbol 602 MovieClip Frame 7
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 189 MovieClip in Symbol 602 MovieClip Frame 8
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 192 MovieClip in Symbol 602 MovieClip Frame 9
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Symbol 603 Button
on (release) {
_root.tobuild[4][0] = _root.roundtime + 50;
_root.tobuild[4][1] = _root.roundtime;
_root.fix1._visible = false;
tellTarget (_root.delaybase) {
gotoAndPlay ("fix");
};
}
Symbol 604 Button
on (release) {
_root.tobuild[4][0] = _root.roundtime + 50;
_root.tobuild[4][1] = _root.roundtime;
_root.fix2._visible = false;
tellTarget (_root.delaybase) {
gotoAndPlay ("fix");
};
}
Symbol 605 Button
on (release) {
_root.tobuild[4][0] = _root.roundtime + 50;
_root.tobuild[4][1] = _root.roundtime;
_root.fix3._visible = false;
tellTarget (_root.delaybase) {
gotoAndPlay ("fix");
};
}
Symbol 609 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 2
bar._width = ((_root.roundtime - _root.tobuild[4][1]) / (_root.tobuild[4][0] - _root.tobuild[4][1])) * 100;
Symbol 609 MovieClip Frame 3
if (_root.roundtime == _root.tobuild[4][0]) {
bar._width = ((_root.roundtime - _root.tobuild[4][1]) / (_root.tobuild[4][0] - _root.tobuild[4][1])) * 100;
tellTarget (_root.forcebase) {
gotoAndPlay ("fix");
};
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 612 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 3
if (_root.roundtime == _root.cannontime) {
_root.cannontime = _root.cannontime + _root.forcecannonrate;
if ((_root.enemynum - _root.enemycount) > 0) {
_root.playSound("towerfire");
duplicateMovieClip (_root.cannonshell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.forcecannon._x;
_root["bombshell" + _root.bombnum]._y = _root.forcecannon._y;
_root.bombnum++;
} else if ((_root.enemytanknum - _root.enemytankcount) > 0) {
_root.playSound("towerfire");
duplicateMovieClip (_root.cannonshelltank, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.forcecannon._x;
_root["bombshell" + _root.bombnum]._y = _root.forcecannon._y;
_root.bombnum++;
}
if ((_root.enemyairnum - _root.enemyaircount) > 0) {
duplicateMovieClip (_root.cannonshellair, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.forcecannon._x;
_root["bombshell" + _root.bombnum]._y = _root.forcecannon._y;
_root.bombnum++;
_root.playSound("towerfire");
}
}
gotoAndPlay (2);
Symbol 612 MovieClip Frame 4
_root.forcecannonbuilt = false;
_root.forcecannonbuilt2 = false;
Symbol 614 MovieClip Frame 1
stop();
Symbol 614 MovieClip Frame 3
if (_root.roundtime == _root.enemycannontime) {
_root.enemycannontime = _root.enemycannontime + _root.enemycannonrate;
if ((_root.forcenum - _root.forcecount) > 0) {
_root.playSound("towerfire");
duplicateMovieClip (_root.enemycannonshell, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.enemycannon._x;
_root["bombshell" + _root.bombnum]._y = _root.enemycannon._y;
_root.bombnum++;
} else if ((_root.forcetanknum - _root.forcetankcount) > 0) {
_root.playSound("towerfire");
duplicateMovieClip (_root.enemycannonshelltank, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.enemycannon._x;
_root["bombshell" + _root.bombnum]._y = _root.enemycannon._y;
_root.bombnum++;
}
if ((_root.forceairnum - _root.forceaircount) > 0) {
_root.playSound("towerfire");
duplicateMovieClip (_root.enemycannonshellair, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.enemycannon._x;
_root["bombshell" + _root.bombnum]._y = _root.enemycannon._y;
_root.bombnum++;
}
}
gotoAndPlay (2);
Symbol 614 MovieClip Frame 4
_root.enemycannonbuilt = false;
Symbol 615 Button
on (release) {
if (_root.enemycannonbuilt == false) {
_root.enemycannontime = _root.roundtime + 10;
_root.enemycannonbuilt = true;
tellTarget (_root.enemycannon) {
gotoAndPlay ("ready");
};
}
}
Symbol 626 MovieClip Frame 1
stop();
Symbol 626 MovieClip Frame 8
tellTarget (_root.enemybase) {
gotoAndPlay ("hit");
};
Symbol 626 MovieClip Frame 16
gotoAndStop (1);
Symbol 627 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 8
tellTarget (_root.forcebase) {
gotoAndPlay ("hit");
};
Symbol 627 MovieClip Frame 16
gotoAndStop (1);
Symbol 631 MovieClip Frame 1
stop();
Symbol 631 MovieClip Frame 8
stop();
Symbol 631 MovieClip Frame 15
stop();
Symbol 631 MovieClip Frame 22
stop();
Symbol 632 Button
on (release, keyPress "d") {
_root.playSound("select");
if (_root.buildingname[0] == undefinned) {
tellTarget (_root.menu) {
gotoAndStop ("build");
};
tellTarget (_root.buildingpic) {
gotoAndStop ("build");
};
} else {
tellTarget (_root.buildingpic) {
gotoAndStop(_root.buildingname[0]);
};
tellTarget (_root.menu) {
gotoAndStop(_root.buildingname[0]);
};
}
roundthing._x = _root.building0._x;
roundthing._y = _root.building0._y - 20;
_root.highlighter._x = _root.delayer0._x;
_root.highlighter._y = _root.delayer0._y;
_root.buildingcurrent = 0;
}
Symbol 633 Button
on (release, keyPress "s") {
_root.playSound("select");
if (_root.buildingname[1] == undefinned) {
tellTarget (_root.buildingpic) {
gotoAndStop ("build");
};
tellTarget (_root.menu) {
gotoAndStop ("build");
};
} else {
tellTarget (_root.buildingpic) {
gotoAndStop(_root.buildingname[1]);
};
tellTarget (_root.menu) {
gotoAndStop(_root.buildingname[1]);
};
}
_root.highlighter._x = _root.delayer1._x;
_root.highlighter._y = _root.delayer1._y;
roundthing._x = _root.building1._x;
roundthing._y = _root.building1._y - 20;
_root.buildingcurrent = 1;
}
Symbol 637 MovieClip Frame 1
if (numberthing == _root.buildingcurrent) {
tellTarget (_root.buildingpic) {
gotoAndStop(_root.buildingname[this.numberthing]);
};
}
_root["nodelay" + numberthing] = true;
stop();
Symbol 637 MovieClip Frame 3
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
duplicateMovieClip (_root.force, "force" + _root.forcenum, (_root.force.getDepth() + _root.forcenum) + 100);
_root["force" + _root.forcenum]._x = _root.tobuild[numberthing][1];
_root["force" + _root.forcenum]._y = _root.tobuild[numberthing][2];
_root.forcenum++;
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 637 MovieClip Frame 5
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.buildingname[numberthing] = _root.buildingarray[0];
if (_root.buildingcurrent == numberthing) {
tellTarget (_root.menu) {
gotoAndStop ("barracks");
};
}
tellTarget (_root["building" + numberthing]) {
gotoAndStop ("barracks");
};
gotoAndStop (1);
} else {
gotoAndPlay (4);
}
Symbol 637 MovieClip Frame 7
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.buildingname[numberthing] = _root.buildingarray[1];
if (_root.buildingcurrent == numberthing) {
tellTarget (_root.menu) {
gotoAndStop ("airbase");
};
}
tellTarget (_root["building" + numberthing]) {
gotoAndStop ("airbase");
};
gotoAndStop (1);
} else {
gotoAndPlay (6);
}
Symbol 637 MovieClip Frame 9
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.income = _root.income + 5;
_root.buildingname[numberthing] = _root.buildingarray[2];
if (_root.buildingcurrent == undefinned) {
tellTarget (_root.menu) {
gotoAndPlay (1);
};
}
if (_root.buildingcurrent == numberthing) {
tellTarget (_root.menu) {
gotoAndStop ("business");
};
}
tellTarget (_root["building" + numberthing]) {
gotoAndStop ("business");
};
gotoAndStop (1);
} else {
gotoAndPlay (8);
}
Symbol 637 MovieClip Frame 11
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
duplicateMovieClip (_root.forcetank, "forcetank" + _root.forcetanknum, (_root.forcetank.getDepth() + _root.forcetanknum) + 200);
_root["forcetank" + _root.forcetanknum]._x = _root.tobuild[numberthing][1];
_root["forcetank" + _root.forcetanknum]._y = _root.tobuild[numberthing][2];
_root.forcetanknum++;
gotoAndStop (1);
} else {
gotoAndPlay (10);
}
Symbol 637 MovieClip Frame 13
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
duplicateMovieClip (_root.forcespecial, "force" + _root.forcenum, (_root.force.getDepth() + _root.forcenum) + 100);
_root["force" + _root.forcenum]._x = _root.tobuild[numberthing][1];
_root["force" + _root.forcenum]._y = _root.tobuild[numberthing][2];
_root.forcenum++;
gotoAndStop (1);
} else {
gotoAndPlay (12);
}
Symbol 637 MovieClip Frame 15
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
duplicateMovieClip (_root.forceair, "forceair" + _root.forceairnum, (_root.forceair.getDepth() + _root.forceairnum) + 300);
_root["forceair" + _root.forceairnum]._x = _root.tobuild[numberthing][1];
_root["forceair" + _root.forceairnum]._y = _root.tobuild[numberthing][2];
_root.forceairnum++;
gotoAndStop (1);
} else {
gotoAndPlay (14);
}
Symbol 637 MovieClip Frame 17
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.bombstock = "loaded";
gotoAndStop (1);
} else {
gotoAndPlay (16);
}
Symbol 637 MovieClip Frame 19
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
duplicateMovieClip (_root.forcebomber, "forceair" + _root.forceairnum, (_root.forceair.getDepth() + _root.forceairnum) + 300);
_root["forceair" + _root.forceairnum]._x = _root.tobuild[numberthing][1];
_root["forceair" + _root.forceairnum]._y = _root.tobuild[numberthing][2];
_root.forceairnum++;
gotoAndStop (1);
} else {
gotoAndPlay (18);
}
Symbol 637 MovieClip Frame 21
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.income = _root.income + 5;
if (_root.buildingcurrent == undefinned) {
tellTarget (_root.menu) {
gotoAndPlay (1);
};
}
gotoAndStop (1);
} else {
gotoAndPlay (20);
}
Symbol 637 MovieClip Frame 23
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.buildingname[numberthing] = _root.buildingarray[4];
if (_root.buildingcurrent == numberthing) {
tellTarget (_root.menu) {
gotoAndStop ("defence");
};
}
tellTarget (_root["building" + numberthing]) {
gotoAndStop ("defence");
};
gotoAndStop (1);
} else {
gotoAndPlay (22);
}
Symbol 637 MovieClip Frame 25
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.buildingname[numberthing] = _root.buildingarray[3];
if (_root.buildingcurrent == numberthing) {
tellTarget (_root.menu) {
gotoAndStop ("science");
};
}
tellTarget (_root["building" + numberthing]) {
gotoAndStop ("science");
};
gotoAndStop (1);
} else {
gotoAndPlay (24);
}
Symbol 637 MovieClip Frame 27
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.cannontime = _root.roundtime + 10;
tellTarget (_root.forcecannon) {
gotoAndPlay ("cannonready");
_root.forcecannonbuilt = true;
};
gotoAndStop (1);
} else {
gotoAndPlay (26);
}
Symbol 637 MovieClip Frame 29
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.forcedmg[0]++;
if (_root.buildingcurrent == undefinned) {
tellTarget (_root.menu) {
gotoAndPlay (1);
};
}
gotoAndStop (1);
} else {
gotoAndPlay (28);
}
Symbol 637 MovieClip Frame 31
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.forcedmg[1]++;
if (_root.buildingcurrent == undefinned) {
tellTarget (_root.menu) {
gotoAndPlay (1);
};
}
gotoAndStop (1);
} else {
gotoAndPlay (30);
}
Symbol 637 MovieClip Frame 33
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.forcedmg[2]++;
if (_root.buildingcurrent == undefinned) {
tellTarget (_root.menu) {
gotoAndPlay (1);
};
}
gotoAndStop (1);
} else {
gotoAndPlay (32);
}
Symbol 637 MovieClip Frame 35
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.forcedmg[3]++;
if (_root.buildingcurrent == undefinned) {
tellTarget (_root.menu) {
gotoAndPlay (1);
};
}
gotoAndStop (1);
} else {
gotoAndPlay (34);
}
Symbol 637 MovieClip Frame 37
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.buildingname[numberthing] = _root.buildingarray[5];
if (_root.buildingcurrent == numberthing) {
tellTarget (_root.menu) {
gotoAndStop ("weapons");
};
}
tellTarget (_root["building" + numberthing]) {
gotoAndStop ("weapons");
};
gotoAndStop (1);
} else {
gotoAndPlay (36);
}
Symbol 637 MovieClip Frame 39
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.forcecannonrate = _root.forcecannonrate - 15;
gotoAndStop (1);
} else {
gotoAndPlay (38);
}
Symbol 637 MovieClip Frame 41
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.misslestock++;
gotoAndStop (1);
} else {
gotoAndPlay (40);
}
Symbol 637 MovieClip Frame 43
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
duplicateMovieClip (_root.missleup, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root["building" + numberthing]._x;
_root["bombshell" + _root.bombnum]._y = _root["building" + numberthing]._y - 20;
_root.bombnum++;
gotoAndStop (1);
} else {
gotoAndPlay (42);
}
Symbol 637 MovieClip Frame 45
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.speed = 0.3;
_root.shocktime = 100;
duplicateMovieClip (_root.shock, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = 350;
_root["bombshell" + _root.bombnum]._y = 125;
_root.bombnum++;
gotoAndStop (1);
} else {
gotoAndPlay (44);
}
Symbol 637 MovieClip Frame 47
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.playSound("emp");
duplicateMovieClip (_root.emp, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = 350;
_root["bombshell" + _root.bombnum]._y = 125;
_root.bombnum++;
gotoAndStop (1);
} else {
gotoAndPlay (46);
}
Symbol 637 MovieClip Frame 49
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
if ((((_root.enemybuildingname[0] == "defence") || (_root.enemybuildingname[1] == "defence")) || (_root.enemybuildingname[2] == "defence")) || (_root.enemybuildingname[3] == "defence")) {
tellTarget (_root.enemyhackpic) {
gotoAndPlay ("anti");
};
} else {
_root.aimoney = -100;
tellTarget (_root.enemyhackpic) {
play();
};
}
gotoAndStop (1);
} else {
gotoAndPlay (48);
}
Symbol 637 MovieClip Frame 51
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.research[0] = true;
gotoAndStop (1);
} else {
gotoAndPlay (50);
}
Symbol 637 MovieClip Frame 53
bar._width = ((_root.roundtime - _root.tobuild[numberthing][3]) / (_root.tobuild[numberthing][0] - _root.tobuild[numberthing][3])) * 100;
if (_root.roundtime == _root.tobuild[numberthing][0]) {
_root.research[1] = true;
gotoAndStop (1);
} else {
gotoAndPlay (52);
}
Symbol 638 Button
on (release) {
if ((((_root.buildingname[0] == "defence") || (_root.buildingname[1] == "defence")) || (_root.buildingname[2] == "defence")) || (_root.buildingname[3] == "defence")) {
tellTarget (_root.forcehackpic) {
gotoAndPlay ("anti");
};
} else {
_root.money = -100;
tellTarget (_root.forcehackpic) {
play();
};
}
}
Symbol 639 Button
on (release) {
duplicateMovieClip (_root.enemymissleup, "bombshell" + _root.bombnum, _root.bombnum + 5000);
_root["bombshell" + _root.bombnum]._x = _root.enemybase._x;
_root["bombshell" + _root.bombnum]._y = _root.enemybase._y - 20;
_root.bombnum++;
}
Symbol 641 MovieClip Frame 15
if (_root.soundOn == true) {
play();
} else {
gotoAndStop (1);
}
Symbol 641 MovieClip Frame 17
stop();
Symbol 642 Button
on (keyPress "=") {
_root.enemyendtime = true;
}
Symbol 660 MovieClip Frame 1
stop();
Symbol 660 MovieClip Frame 2
_root.playSound("troopfire");
Symbol 660 MovieClip Frame 4
gotoAndPlay (1);
Symbol 660 MovieClip Frame 6
_root.forcecount++;
Symbol 660 MovieClip Frame 17
stop();
Symbol 670 MovieClip Frame 1
stop();
Symbol 670 MovieClip Frame 2
_root.playSound("troopfire");
Symbol 670 MovieClip Frame 4
gotoAndPlay (1);
Symbol 670 MovieClip Frame 6
_root.enemycount++;
Symbol 670 MovieClip Frame 17
stop();
Symbol 673 MovieClip Frame 11
gotoAndPlay (7);
Symbol 678 MovieClip Frame 1
stop();
Symbol 678 MovieClip Frame 2
_root.playSound("tankfire");
Symbol 678 MovieClip Frame 4
gotoAndPlay (1);
Symbol 678 MovieClip Frame 6
_root.forcetankcount++;
Symbol 678 MovieClip Frame 12
stop();
Symbol 685 MovieClip Frame 1
stop();
Symbol 685 MovieClip Frame 2
_root.playSound("tankfire");
Symbol 685 MovieClip Frame 4
gotoAndPlay (1);
Symbol 685 MovieClip Frame 6
_root.enemytankcount++;
Symbol 685 MovieClip Frame 12
stop();
Symbol 690 MovieClip Frame 42
gotoAndPlay (40);
Symbol 704 MovieClip Frame 1
stop();
Symbol 704 MovieClip Frame 2
_root.playSound("sniperfire");
Symbol 704 MovieClip Frame 6
gotoAndPlay (1);
Symbol 704 MovieClip Frame 8
_root.forcecount++;
Symbol 704 MovieClip Frame 19
stop();
Symbol 716 MovieClip Frame 1
stop();
Symbol 716 MovieClip Frame 2
_root.playSound("sniperfire");
Symbol 716 MovieClip Frame 6
gotoAndPlay (1);
Symbol 716 MovieClip Frame 8
_root.enemycount++;
Symbol 716 MovieClip Frame 19
stop();
Symbol 718 MovieClip Frame 1
stop();
Symbol 718 MovieClip Frame 2
_root.playSound("planefire");
Symbol 718 MovieClip Frame 4
gotoAndPlay (1);
Symbol 718 MovieClip Frame 6
_root.forceaircount++;
Symbol 718 MovieClip Frame 12
stop();
Symbol 722 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 2
_root.forceaircount++;
Symbol 722 MovieClip Frame 8
stop();
Symbol 724 MovieClip Frame 1
stop();
Symbol 724 MovieClip Frame 2
_root.enemyaircount++;
Symbol 724 MovieClip Frame 8
stop();
Symbol 730 MovieClip Frame 1
stop();
Symbol 730 MovieClip Frame 2
_root.playSound("tankfire");
Symbol 730 MovieClip Frame 4
gotoAndPlay (1);
Symbol 730 MovieClip Frame 6
_root.forcetankcount++;
Symbol 730 MovieClip Frame 12
stop();
Symbol 736 MovieClip Frame 1
stop();
Symbol 736 MovieClip Frame 2
_root.playSound("tankfire");
Symbol 736 MovieClip Frame 4
gotoAndPlay (1);
Symbol 736 MovieClip Frame 6
_root.enemytankcount++;
Symbol 736 MovieClip Frame 12
stop();
Symbol 752 MovieClip Frame 1
stop();
Symbol 752 MovieClip Frame 2
_root.playSound("sniperfire");
Symbol 752 MovieClip Frame 6
gotoAndPlay (1);
Symbol 752 MovieClip Frame 8
_root.forcecount++;
Symbol 752 MovieClip Frame 19
stop();
Symbol 764 MovieClip Frame 1
stop();
Symbol 764 MovieClip Frame 2
_root.playSound("sniperfire");
Symbol 764 MovieClip Frame 6
gotoAndPlay (1);
Symbol 764 MovieClip Frame 8
_root.enemycount++;
Symbol 764 MovieClip Frame 19
stop();
Symbol 767 MovieClip Frame 1
stop();
Symbol 767 MovieClip Frame 2
_root.playSound("planefire");
Symbol 767 MovieClip Frame 4
gotoAndPlay (1);
Symbol 767 MovieClip Frame 6
_root.forceaircount++;
Symbol 767 MovieClip Frame 12
stop();
Symbol 768 MovieClip Frame 1
stop();
Symbol 768 MovieClip Frame 2
_root.playSound("planefire");
Symbol 768 MovieClip Frame 4
gotoAndPlay (1);
Symbol 768 MovieClip Frame 6
_root.enemyaircount++;
Symbol 768 MovieClip Frame 12
stop();
Symbol 770 MovieClip Frame 1
stop();
Symbol 770 MovieClip Frame 2
_root.forceaircount++;
Symbol 770 MovieClip Frame 8
stop();
Symbol 771 MovieClip Frame 1
stop();
Symbol 771 MovieClip Frame 2
_root.enemyaircount++;
Symbol 771 MovieClip Frame 8
stop();
Symbol 777 MovieClip Frame 1
stop();
Symbol 777 MovieClip Frame 2
_root.playSound("tankfire");
Symbol 777 MovieClip Frame 4
gotoAndPlay (1);
Symbol 777 MovieClip Frame 6
_root.forcetankcount++;
Symbol 777 MovieClip Frame 12
stop();
Symbol 783 MovieClip Frame 1
stop();
Symbol 783 MovieClip Frame 2
_root.playSound("tankfire");
Symbol 783 MovieClip Frame 4
gotoAndPlay (1);
Symbol 783 MovieClip Frame 6
_root.enemytankcount++;
Symbol 783 MovieClip Frame 12
stop();
Symbol 799 MovieClip Frame 1
stop();
Symbol 799 MovieClip Frame 2
_root.playSound("sniperfire");
Symbol 799 MovieClip Frame 6
gotoAndPlay (1);
Symbol 799 MovieClip Frame 8
_root.forcecount++;
Symbol 799 MovieClip Frame 19
stop();
Symbol 811 MovieClip Frame 1
stop();
Symbol 811 MovieClip Frame 2
_root.playSound("sniperfire");
Symbol 811 MovieClip Frame 6
gotoAndPlay (1);
Symbol 811 MovieClip Frame 8
_root.enemycount++;
Symbol 811 MovieClip Frame 19
stop();
Symbol 814 MovieClip Frame 1
stop();
Symbol 814 MovieClip Frame 2
_root.playSound("planefire");
Symbol 814 MovieClip Frame 4
gotoAndPlay (1);
Symbol 814 MovieClip Frame 6
_root.forceaircount++;
Symbol 814 MovieClip Frame 12
stop();
Symbol 815 MovieClip Frame 1
stop();
Symbol 815 MovieClip Frame 2
_root.playSound("planefire");
Symbol 815 MovieClip Frame 4
gotoAndPlay (1);
Symbol 815 MovieClip Frame 6
_root.enemyaircount++;
Symbol 815 MovieClip Frame 12
stop();
Symbol 817 MovieClip Frame 1
stop();
Symbol 817 MovieClip Frame 2
_root.forceaircount++;
Symbol 817 MovieClip Frame 8
stop();
Symbol 818 MovieClip Frame 1
stop();
Symbol 818 MovieClip Frame 2
_root.enemyaircount++;
Symbol 818 MovieClip Frame 8
stop();
Symbol 824 MovieClip Frame 1
stop();
Symbol 824 MovieClip Frame 2
_root.playSound("tankfire");
Symbol 824 MovieClip Frame 4
gotoAndPlay (1);
Symbol 824 MovieClip Frame 6
_root.forcetankcount++;
Symbol 824 MovieClip Frame 12
stop();
Symbol 830 MovieClip Frame 1
stop();
Symbol 830 MovieClip Frame 2
_root.playSound("tankfire");
Symbol 830 MovieClip Frame 4
gotoAndPlay (1);
Symbol 830 MovieClip Frame 6
_root.enemytankcount++;
Symbol 830 MovieClip Frame 12
stop();
Symbol 846 MovieClip Frame 1
stop();
Symbol 846 MovieClip Frame 2
_root.playSound("sniperfire");
Symbol 846 MovieClip Frame 6
gotoAndPlay (1);
Symbol 846 MovieClip Frame 8
_root.forcecount++;
Symbol 846 MovieClip Frame 19
stop();
Symbol 858 MovieClip Frame 1
stop();
Symbol 858 MovieClip Frame 2
_root.playSound("sniperfire");
Symbol 858 MovieClip Frame 6
gotoAndPlay (1);
Symbol 858 MovieClip Frame 8
_root.enemycount++;
Symbol 858 MovieClip Frame 19
stop();
Symbol 861 MovieClip Frame 1
stop();
Symbol 861 MovieClip Frame 2
_root.playSound("planefire");
Symbol 861 MovieClip Frame 4
gotoAndPlay (1);
Symbol 861 MovieClip Frame 6
_root.forceaircount++;
Symbol 861 MovieClip Frame 12
stop();
Symbol 863 MovieClip Frame 1
stop();
Symbol 863 MovieClip Frame 2
_root.playSound("planefire");
Symbol 863 MovieClip Frame 4
gotoAndPlay (1);
Symbol 863 MovieClip Frame 6
_root.enemyaircount++;
Symbol 863 MovieClip Frame 12
stop();
Symbol 865 MovieClip Frame 1
stop();
Symbol 865 MovieClip Frame 2
_root.forceaircount++;
Symbol 865 MovieClip Frame 8
stop();
Symbol 866 MovieClip Frame 1
stop();
Symbol 866 MovieClip Frame 2
_root.enemyaircount++;
Symbol 866 MovieClip Frame 8
stop();
Symbol 871 Button
on (release) {
getURL ("http://www.mofunzone.com/", "_blank");
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 872 MovieClip Frame 13
stop();
_parent.removeMovieClip();
removeMovieClip(this);
removeMovieClip(_parent);
Symbol 880 MovieClip Frame 52
_parent.removeMovieClip();
removeMovieClip(this);
removeMovieClip(_parent);
Symbol 883 MovieClip Frame 2
if (_root.shocktime <= 0) {
_root.speed = 0.8;
_parent.removeMovieClip();
removeMovieClip(this);
removeMovieClip(_parent);
} else {
_root.shocktime--;
}
Symbol 884 MovieClip Frame 1
stop();
Symbol 885 MovieClip Frame 1
stop();
Symbol 899 Button
on (rollOver) {
text = "War Industry";
price = "$100";
explain = "Builds soldiers and tanks";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "1") {
if (_root.money >= 100) {
if (_root["nodelay" + _root.buildingcurrent] == true) {
_root.playSound("yes");
_root.money = _root.money - 100;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 180;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root.buildingpic) {
gotoAndStop ("building");
};
tellTarget (_root["building" + _root.buildingcurrent]) {
gotoAndStop ("building");
};
gotoAndStop (10);
_root.buildingname[_root.buildingcurrent] = "building";
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makebarracks");
};
}
}
}
Symbol 900 Button
on (rollOver) {
text = "Business Center";
price = "$120";
explain = "Earn more money / Improve income";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "2") {
if (_root.money >= 120) {
if (_root["nodelay" + _root.buildingcurrent] == true) {
_root.playSound("yes");
_root.money = _root.money - 120;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 300;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
_root.buildingname[_root.buildingcurrent] = "building";
tellTarget (_root.buildingpic) {
gotoAndStop ("building");
};
tellTarget (_root["building" + _root.buildingcurrent]) {
gotoAndStop ("building");
};
gotoAndStop (10);
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makebusiness");
};
}
}
}
Symbol 902 Button
on (rollOver) {
text = "Infantry";
price = "$25";
explain = "Light assult unit";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "1") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 25) {
_root.playSound("yes");
_root.money = _root.money - 25;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 30;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.tobuild[_root.buildingcurrent][1] = _root.forcebase._x + 40;
_root.tobuild[_root.buildingcurrent][2] = 150 - random(50);
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makeman");
};
}
}
}
Symbol 903 Button
on (rollOver) {
text = "Elite Sniper";
price = "$50";
explain = "Long Range Support Unit";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "3") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 50) {
_root.playSound("yes");
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 50;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.tobuild[_root.buildingcurrent][1] = _root.forcebase._x + 40;
_root.tobuild[_root.buildingcurrent][2] = 150 - random(50);
_root.money = _root.money - 50;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makesniper");
};
}
}
}
Symbol 905 Button
on (rollOver) {
text = "Fighter";
price = "$80";
explain = "Air assult and bombardment unit";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "3") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 80) {
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 60;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.tobuild[_root.buildingcurrent][1] = _root.forcebase._x + 40;
_root.tobuild[_root.buildingcurrent][2] = 15 + random(30);
_root["nodelay" + _root.buildingcurrent] = false;
_root.money = _root.money - 80;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makefighter");
};
}
}
}
Symbol 906 Button
on (rollOver) {
text = "Bomber";
price = "$50";
if (_root.bombstock == "loaded") {
explain = "Heavy Bombardment Unit";
} else {
requires = "Requires bombs";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
requires = "";
price = "";
}
on (release, keyPress "2") {
if (((_root["nodelay" + _root.buildingcurrent] == true) && (_root.money >= 50)) && (_root.bombstock == "loaded")) {
_root.money = _root.money - 50;
_root.bombstock = "none";
_root["nodelay" + _root.buildingcurrent] = false;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 50;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.tobuild[_root.buildingcurrent][1] = _root.forcebase._x + 40;
_root.tobuild[_root.buildingcurrent][2] = 15 + random(30);
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makebomber");
};
}
}
Symbol 907 Button
on (rollOver) {
text = "Manufacture Bombs";
price = "$100";
explain = "Creates bomb shells";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "1") {
if ((_root["nodelay" + _root.buildingcurrent] == true) && (_root.bombstock == "none")) {
if (_root.money >= 100) {
_root.money = _root.money - 100;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 180;
_root["nodelay" + _root.buildingcurrent] = false;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makebomb");
};
}
}
}
Symbol 908 Button
on (rollOver) {
text = "Improve Income";
price = "$" + (businessprice + 100);
explain = "Permenantly Increase income by +5";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "1") {
if ((_root["nodelay" + _root.buildingcurrent] == true) && (_root.money > (businessprice + 100))) {
_root.money = _root.money - (businessprice + 100);
businessprice = businessprice + 50;
price = businessprice + 100;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 800;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makeincome");
};
}
}
Symbol 910 Button
on (rollOver) {
text = "Soldier Upgrade";
price = "$" + (100 + _root.forceup[0]);
if (_root.forceup[0] < 300) {
explain = "Increase soldier damage by 1";
} else {
requires = "Upgrade Maxed";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
requires = "";
price = "";
}
on (release, keyPress "1") {
if (((_root["nodelay" + _root.buildingcurrent] == true) && (_root.money > (100 + _root.forceup[0]))) && (_root.forceup[0] < 300)) {
_root.money = _root.money - (100 + _root.forceup[0]);
_root.forceup[0] = _root.forceup[0] + 100;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 800;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makemanup");
};
}
}
Symbol 911 Button
on (rollOver) {
text = "Sniper Upgrade";
price = "$" + (100 + _root.forceup[1]);
if (_root.forceup[1] <= 300) {
explain = "Increase sniper damage by 1";
} else {
requires = "Upgrade Maxed";
}
}
on (rollOut, dragOut) {
text = "";
requires = "";
explain = "";
price = "";
}
on (release, keyPress "2") {
if (((_root["nodelay" + _root.buildingcurrent] == true) && (_root.money > (100 + _root.forceup[1]))) && (_root.forceup[1] <= 300)) {
_root.money = _root.money - (100 + _root.forceup[1]);
_root.forceup[1] = _root.forceup[1] + 100;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 800;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makesniperup");
};
}
}
Symbol 912 Button
on (rollOver) {
text = "Tank Upgrade";
price = "$" + (100 + _root.forceup[2]);
if (_root.forceup[2] <= 300) {
explain = "Increase tank damage by 1";
} else {
requires = "Upgrade Maxed";
}
}
on (rollOut, dragOut) {
text = "";
requires = "";
explain = "";
price = "";
}
on (release, keyPress "3") {
if (((_root["nodelay" + _root.buildingcurrent] == true) && (_root.money > (100 + _root.forceup[2]))) && (_root.forceup[2] <= 300)) {
_root.money = _root.money - (100 + _root.forceup[2]);
_root.forceup[2] = _root.forceup[2] + 100;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 800;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("maketankup");
};
}
}
Symbol 913 Button
on (rollOver) {
text = "Fighter upgrade";
price = "$" + (100 + _root.forceup[3]);
if (_root.forceup[3] <= 300) {
explain = "Increase fighter damage by 1";
} else {
requires = "Upgrade Maxed";
}
}
on (rollOut, dragOut) {
text = "";
requires = "";
explain = "";
price = "";
}
on (release, keyPress "4") {
if (((_root["nodelay" + _root.buildingcurrent] == true) && (_root.money > (100 + _root.forceup[3]))) && (_root.forceup[3] <= 300)) {
_root.money = _root.money - (100 + _root.forceup[3]);
_root.forceup[3] = _root.forceup[3] + 100;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 800;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makefighterup");
};
}
}
Symbol 914 Button
on (rollOver) {
text = "Research Hack";
price = "$200";
}
on (rollOut, dragOut) {
text = "";
price = "";
}
on (release, keyPress "6") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 200) {
_root.research[1] = "thing";
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 700;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 200;
_root["nodelay" + _root.buildingcurrent] = false;
this.hack._visible = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makehackre");
};
}
}
}
Symbol 915 Button
on (rollOver) {
text = "Research E.M.P.";
price = "$200";
}
on (rollOut, dragOut) {
text = "";
price = "";
}
on (release, keyPress "5") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 200) {
_root.research[0] = "thing";
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 700;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 200;
_root["nodelay" + _root.buildingcurrent] = false;
this.elec._visible = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makeempre");
};
}
}
}
Symbol 917 Button
on (rollOver) {
text = "Defence Cannon";
price = "$120";
if (_root.forcecannonbuilt2 == false) {
explain = "Fires at enemy units";
} else {
requires = "Only one cannon allowed at a time";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
requires = "";
}
on (release, keyPress "1") {
if (_root.forcecannonbuilt2 == false) {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 120) {
_root.forcecannonbuilt2 = true;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 200;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 120;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makecannon");
};
}
}
}
}
Symbol 918 Button
on (rollOver) {
text = "Upgrade Cannon";
price = "$100";
if (_root.forcecannonlevel < 2) {
explain = "Upgrade cannon fire speed";
} else {
requires = "Upgrade Maxed";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
requires = "";
}
on (release, keyPress "2") {
if (_root.forcecannonlevel < 2) {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 100) {
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 240;
_root.forcecannonlevel++;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 100;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makecannonrate");
};
}
}
}
}
Symbol 919 Button
on (rollOver) {
text = "Shockwave";
price = "$250";
explain = "Slows ground units";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
requires = "";
}
on (release, keyPress "3") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 250) {
shocktime = 580;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 190;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 250;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makeshock");
};
}
}
}
Symbol 921 Button
on (rollOver) {
text = "Fire missle";
price = "$50";
if (_root.misslestock > 0) {
explain = "Fires missle at enemy units";
} else {
requires = "Requires one or more missles";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
requires = "";
}
on (release, keyPress "2") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if ((_root.money >= 50) && (_root.misslestock > 0)) {
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 50;
_root.forcecannonlevel++;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 50;
_root.misslestock--;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makemissle");
};
}
}
}
Symbol 922 Button
on (rollOver) {
text = "Make missle";
price = "$125";
explain = "Prepares a missle";
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
}
on (release, keyPress "1") {
if (_root["nodelay" + _root.buildingcurrent] == true) {
if (_root.money >= 125) {
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 160;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 125;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makemisslestock");
};
}
}
}
Symbol 923 Button
on (rollOver) {
text = "E.M.P.";
price = "$120";
if (_root.research[0] == true) {
explain = "Destroys mechanical units";
} else {
requires = "Research at research center";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
requires = "";
}
on (release, keyPress "3") {
if ((_root["nodelay" + _root.buildingcurrent] == true) && (_root.research[0] == true)) {
if (_root.money >= 120) {
shocktime = 480;
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 80;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 120;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makeemp");
};
}
}
}
Symbol 924 Button
on (rollOver) {
text = "Hack";
price = "$250";
if (_root.research[1] == true) {
explain = "Enemy owes dept of -$100";
} else {
requires = "Research at research center";
}
}
on (rollOut, dragOut) {
text = "";
explain = "";
price = "";
requires = "";
}
on (release, keyPress "4") {
if ((_root["nodelay" + _root.buildingcurrent] == true) && (_root.research[1] == true)) {
if (_root.money >= 250) {
_root.tobuild[_root.buildingcurrent][0] = _root.roundtime + 240;
_root.tobuild[_root.buildingcurrent][3] = _root.roundtime;
_root.money = _root.money - 250;
_root["nodelay" + _root.buildingcurrent] = false;
tellTarget (_root["delayer" + _root.buildingcurrent]) {
gotoAndPlay ("makehack");
};
}
}
}
Symbol 925 MovieClip Frame 2
text = "";
explain = "";
requires = "";
price = "";
passive = "";
stop();
income2 = _root.income;
dmg0 = _root.forcedmg[0] + 2;
dmg1 = _root.forcedmg[1] + 1;
dmg2 = _root.forcedmg[2] + 10;
dmg3 = _root.forcedmg[3] + 5;
Symbol 925 MovieClip Frame 3
text = "";
explain = "";
requires = "";
price = "";
passive = "";
Instance of Symbol 174 MovieClip in Symbol 925 MovieClip Frame 3
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Instance of Symbol 186 MovieClip in Symbol 925 MovieClip Frame 3
onClipEvent (load) {
colorchoosenforce = new Color(this);
colorchoosenforce.setRGB(_root.colorforce);
}
Symbol 925 MovieClip Frame 4
text = "";
explain = "";
requires = "";
price = "";
passive = "";
Symbol 925 MovieClip Frame 5
text = "";
explain = "";
requires = "";
price = "";
passive = "";
Instance of Symbol 58 MovieClip in Symbol 925 MovieClip Frame 5
onClipEvent (load) {
if (_root.bombstock == "loaded") {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.bombstock == "loaded") {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 925 MovieClip Frame 6
text = "";
explain = "";
requires = "";
price = "";
passive = "";
Symbol 925 MovieClip Frame 7
text = "";
explain = "";
requires = "";
price = "";
passive = "";
if ((_root.research[0] == "thing") || (_root.research[0] == true)) {
elec._visible = false;
}
if ((_root.research[1] == true) || (_root.research[1] == "thing")) {
hack._visible = false;
}
Instance of Symbol 58 MovieClip in Symbol 925 MovieClip Frame 7
onClipEvent (load) {
if (_root.forceup[0] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.forceup[0] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 925 MovieClip Frame 7
onClipEvent (load) {
if (_root.forceup[1] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.forceup[1] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 925 MovieClip Frame 7
onClipEvent (load) {
if (_root.forceup[2] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.forceup[2] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 925 MovieClip Frame 7
onClipEvent (load) {
if (_root.forceup[3] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.forceup[3] < 300) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 925 MovieClip Frame 8
text = "";
explain = "";
requires = "";
price = "";
passive = "";
Instance of Symbol 58 MovieClip in Symbol 925 MovieClip Frame 8
onClipEvent (load) {
if (_root.forcecannonbuilt2 == false) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.forcecannonbuilt2 == false) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 925 MovieClip Frame 8
onClipEvent (load) {
if (_root.forcecannonlevel < 2) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.forcecannonlevel < 2) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 925 MovieClip Frame 9
text = "";
explain = "";
requires = "";
price = "";
passive = "";
Instance of Symbol 58 MovieClip in Symbol 925 MovieClip Frame 9
onClipEvent (load) {
if (_root.misslestock >= 0) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.misslestock >= 0) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 925 MovieClip Frame 9
onClipEvent (load) {
if (_root.research[0] == true) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.research[0] == true) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 58 MovieClip in Symbol 925 MovieClip Frame 9
onClipEvent (load) {
if (_root.research[1] == true) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.research[1] == true) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 925 MovieClip Frame 10
text = "";
explain = "";
requires = "";
price = "";
passive = "";
Symbol 929 Button
on (release, keyPress "<Space>") {
_root.playSound("yes");
_root.buildingcurrent = undefinned;
tellTarget (_root.buildingpic) {
gotoAndStop ("base");
};
tellTarget (_root.menu) {
gotoAndStop ("basestats");
};
_root.highlighter._x = -100;
_root.highlighter._y - 100;
roundthing._x = _root.forcebase._x;
roundthing._y = _root.forcebase._y - 20;
}
Symbol 930 Button
on (release, keyPress "d") {
_root.playSound("yes");
if (_root.buildingname[0] == undefinned) {
tellTarget (_root.menu) {
gotoAndStop ("build");
};
tellTarget (_root.buildingpic) {
gotoAndStop ("build");
};
} else {
tellTarget (_root.buildingpic) {
gotoAndStop(_root.buildingname[0]);
};
tellTarget (_root.menu) {
gotoAndStop(_root.buildingname[0]);
};
}
roundthing._x = _root.building0._x;
roundthing._y = _root.building0._y - 20;
_root.highlighter._x = _root.delayer0._x;
_root.highlighter._y = _root.delayer0._y;
_root.buildingcurrent = 0;
}
Symbol 931 Button
on (release, keyPress "s") {
_root.playSound("yes");
if (_root.buildingname[1] == undefinned) {
tellTarget (_root.buildingpic) {
gotoAndStop ("build");
};
tellTarget (_root.menu) {
gotoAndStop ("build");
};
} else {
tellTarget (_root.buildingpic) {
gotoAndStop(_root.buildingname[1]);
};
tellTarget (_root.menu) {
gotoAndStop(_root.buildingname[1]);
};
}
_root.highlighter._x = _root.delayer1._x;
_root.highlighter._y = _root.delayer1._y;
roundthing._x = _root.building1._x;
roundthing._y = _root.building1._y - 20;
_root.buildingcurrent = 1;
}
Symbol 940 Button
on (release) {
_root.DialogueNum++;
if (_root.soundOn == true) {
menumuse = new Sound();
menumuse.attachSound("menuloop");
menumuse.start();
menumuse.onSoundComplete = function () {
_root.menumuse.start();
};
}
gotoAndStop (547);
}
Symbol 941 Button
on (release) {
_root.playSound("select");
}
on (release) {
user.data.a = textthing;
user.data.b = setx;
user.data.c = sety;
user.data.d = dialoguenum;
user.data.e1 = briefpic[0];
user.data.e2 = briefpic[1];
user.data.e3 = briefpic[2];
user.data.e4 = briefpic[3];
user.data.f = objective;
user.data.g1 = _root.forcehero[0];
user.data.g2 = _root.forcehero[1];
user.data.g3 = _root.forcehero[2];
user.flush();
tellTarget ("indicator") {
play();
};
}
Symbol 942 Button
on (release) {
gotoAndPlay (120);
}
Symbol 946 MovieClip Frame 1
stop();
Symbol 953 Button
on (release) {
if (_root.DialogueNum < 9) {
gotoAndPlay (553);
} else {
gotoAndPlay (549);
}
}
Symbol 959 Button
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
on (release) {
gotoAndStop (601);
}
Symbol 960 Button
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
on (release) {
if (user.data.z == undefinned) {
_root.playSound("no");
} else {
_root.forcelifemax = user.data.aa;
_root.forcelife = user.data.ab;
_root.credits = user.data.ac;
_root.forcecolorvar = user.data.z;
_root.colorforce = user.data.x;
_root.forcehero[0] = user.data.v1;
_root.forcehero[1] = user.data.v2;
_root.forcehero[2] = user.data.v3;
_root.forcehero[3] = user.data.v4;
_root.forcehero[4] = user.data.v5;
_root.skybg = user.data.q;
_root.teamname = user.data.w;
gotoAndStop (602);
}
}
Symbol 974 Button
on (release) {
forcecolorvar = "blue";
colorforce = 26265;
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 978 Button
on (release) {
forcecolorvar = "yellow";
colorforce = 16763904 /* 0xFFCC00 */;
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 982 Button
on (release) {
forcecolorvar = "teal";
colorforce = 52377;
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 986 Button
on (release) {
forcecolorvar = "red";
colorforce = 13369344 /* 0xCC0000 */;
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 988 Button
on (rollOver) {
_root.heroselected = "troopcaptain";
}
on (release) {
_root.forcehero[0] = _root.heroselected;
roundthing._x = this.b1._x;
roundthing._y = this.b1._y;
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 989 Button
on (rollOver) {
_root.heroselected = "tankcaptain";
}
on (release) {
_root.forcehero[0] = _root.heroselected;
roundthing._x = this.b2._x;
roundthing._y = this.b2._y;
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 990 Button
on (rollOver) {
_root.heroselected = "snipercaptain";
}
on (release) {
_root.forcehero[0] = _root.heroselected;
roundthing._x = this.b3._x;
roundthing._y = this.b3._y;
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 991 Button
on (rollOver) {
_root.heroselected = "business";
}
on (release) {
_root.forcehero[0] = _root.heroselected;
roundthing._x = this.b4._x;
roundthing._y = this.b4._y;
}
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
Symbol 999 Button
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
on (release) {
_root.teamname = _root.subteamname;
gotoAndStop (602);
}
Symbol 1007 Button
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
on (release) {
if (_root.credits >= 500) {
_root.credits = _root.credits - 500;
_root.forcelife = _root.forcelifemax;
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
}
}
Symbol 1008 Button
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
on (release) {
if (_root.credits >= 2000) {
_root.credits = _root.credits - 2000;
_root.forcelife = _root.forcelife + 5;
_root.forcelifemax = _root.forcelifemax + 5;
_root.bar._width = (_root.forcelife / _root.forcelifemax) * 140;
}
}
Symbol 1010 Button
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
on (release) {
user.data.ac = _root.credits;
user.data.z = _root.forcecolorvar;
user.data.x = _root.colorforce;
user.data.v1 = _root.forcehero[0];
user.data.v2 = _root.forcehero[1];
user.data.v3 = _root.forcehero[2];
user.data.v4 = _root.forcehero[3];
user.data.v5 = _root.forcehero[4];
user.data.q = _root.skybg;
user.data.w = _root.teamname;
user.data.aa = _root.forcelifemax;
user.data.ab = _root.forcelife;
user.flush();
tellTarget ("indicator") {
play();
};
}
Symbol 1016 Button
on (rollOver) {
_root.heroselected = "troopcaptain";
}
on (release) {
if (_root.credits >= 8000) {
_root.credits = _root.credits - 8000;
inumber = 0;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 1;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 2;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 3;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 4;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
_root.playSound("no");
_root.credits = _root.credits + 8000;
}
}
}
}
}
} else {
_root.playSound("no");
}
}
Symbol 1017 Button
on (rollOver) {
_root.heroselected = "tankcaptain";
}
on (release) {
if (_root.credits >= 3000) {
_root.credits = _root.credits - 3000;
inumber = 0;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 1;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 2;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 3;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 4;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
_root.playSound("no");
_root.credits = _root.credits + 3000;
}
}
}
}
}
} else {
_root.playSound("no");
}
}
Symbol 1018 Button
on (rollOver) {
_root.heroselected = "snipercaptain";
}
on (release) {
if (_root.credits >= 9000) {
_root.credits = _root.credits - 9000;
inumber = 0;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 1;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 2;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 3;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 4;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
_root.playSound("no");
_root.credits = _root.credits + 9000;
}
}
}
}
}
} else {
_root.playSound("no");
}
}
Symbol 1019 Button
on (rollOver) {
_root.heroselected = "business";
}
on (release) {
if (_root.credits >= 4000) {
_root.credits = _root.credits - 4000;
inumber = 0;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 1;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 2;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 3;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
inumber = 4;
if (_root.forcehero[inumber] == 0) {
_root.forcehero[inumber] = _root.heroselected;
tellTarget (_root["hero" + (inumber + 1)]) {
gotoAndStop(_root.heroselected);
};
} else {
_root.playSound("no");
_root.credits = _root.credits + 4000;
}
}
}
}
}
} else {
_root.playSound("no");
}
}
Symbol 1020 Button
on (release) {
_root.forcehero[0] = 0;
tellTarget (_root.hero1) {
gotoAndStop ("0");
};
}
Symbol 1021 Button
on (release) {
_root.forcehero[1] = 0;
tellTarget (_root.hero2) {
gotoAndStop ("0");
};
}
Symbol 1022 Button
on (release) {
_root.forcehero[2] = 0;
tellTarget (_root.hero3) {
gotoAndStop ("0");
};
}
Symbol 1023 Button
on (release) {
_root.forcehero[3] = 0;
tellTarget (_root.hero4) {
gotoAndStop ("0");
};
}
Symbol 1024 Button
on (release) {
_root.forcehero[4] = 0;
tellTarget (_root.hero5) {
gotoAndStop ("0");
};
}
Symbol 1036 Button
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
on (release) {
gotoAndStop (603);
}
Symbol 1039 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "grass";
enemycolorvar = "yellow";
colorenemy = 16763904 /* 0xFFCC00 */;
enemylifemax = 100;
_root.customai = 1;
_root.creditup = 1400;
_root.textthing = "New Zealand";
}
Symbol 1045 Button
on (rollOver) {
_root.playSound("select");
}
on (release) {
_root.playSound("yes");
}
on (release) {
Mouse.show();
gotoAndStop (602);
}
Symbol 1050 Button
on (release) {
_root.stagebg = "dirt";
}
Symbol 1051 Button
on (release) {
_root.stagebg = "snow";
}
Symbol 1052 Button
on (release) {
_root.stagebg = "grass";
}
Symbol 1053 Button
on (release) {
_root.stagebg = "city";
}
Symbol 1054 Button
on (release) {
_root.skybg = "night";
}
Symbol 1055 Button
on (release) {
_root.skybg = "day";
}
Symbol 1058 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "snow";
enemycolorvar = "yellow";
colorenemy = 16763904 /* 0xFFCC00 */;
enemylifemax = 140;
_root.customai = 1;
_root.creditup = 3000;
_root.textthing = "Sweden";
}
Symbol 1059 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "city";
enemycolorvar = "red";
colorenemy = 10027008 /* 0x990000 */;
enemylifemax = 200;
_root.customai = 2;
_root.creditup = 6000;
_root.textthing = "Asia";
}
Symbol 1060 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "city";
enemycolorvar = "red";
colorenemy = 10027008 /* 0x990000 */;
enemylifemax = 400;
_root.customai = 2;
_root.creditup = 7000;
_root.textthing = "United States";
}
Symbol 1061 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "grass";
enemycolorvar = "teal";
colorenemy = 52377;
enemylifemax = 60;
_root.customai = 0;
_root.creditup = 900;
_root.textthing = "Africa";
}
Symbol 1062 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "city";
enemycolorvar = "yellow";
colorenemy = 16763904 /* 0xFFCC00 */;
enemylifemax = 100;
_root.customai = 1;
_root.creditup = 2000;
_root.textthing = "Russia";
}
Symbol 1063 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "snow";
enemycolorvar = "teal";
colorenemy = 52377;
enemylifemax = 40;
_root.customai = 0;
_root.creditup = 600;
_root.textthing = "Arctic Base";
}
Symbol 1064 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "city";
enemycolorvar = "red";
colorenemy = 10027008 /* 0x990000 */;
enemylifemax = 250;
_root.customai = 2;
_root.creditup = 6500;
_root.textthing = "Japan";
}
Symbol 1065 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "dirt";
enemycolorvar = "yellow";
colorenemy = 16763904 /* 0xFFCC00 */;
enemylifemax = 100;
_root.customai = 1;
_root.creditup = 3000;
_root.textthing = "South America";
}
Symbol 1066 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "dirt";
enemycolorvar = "yellow";
colorenemy = 16763904 /* 0xFFCC00 */;
enemylifemax = 100;
_root.customai = 1;
_root.creditup = 1500;
_root.textthing = "Australia";
}
Symbol 1067 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "dirt";
enemycolorvar = "yellow";
colorenemy = 16763904 /* 0xFFCC00 */;
enemylifemax = 120;
_root.CustomAI = 1;
_root.creditup = 2000;
_root.textthing = "Egypt";
}
Symbol 1068 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "grass";
enemycolorvar = "red";
colorenemy = 10027008 /* 0x990000 */;
enemylifemax = 400;
_root.customai = 2;
_root.creditup = 6000;
_root.textthing = "United Kingdom";
}
Symbol 1069 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "grass";
enemycolorvar = "yellow";
colorenemy = 16763904 /* 0xFFCC00 */;
enemylifemax = 130;
_root.CustomAI = 1;
_root.creditup = 3500;
_root.textthing = "Germany";
}
Symbol 1070 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "dirt";
enemycolorvar = "blue";
colorenemy = 26265;
enemylifemax = 500;
_root.customai = 3;
_root.creditup = 13000;
_root.textthing = "Confederate Base";
}
Symbol 1071 Button
on (release) {
Mouse.show();
play();
_root.playSound("yes");
}
on (rollOver) {
_root.playSound("select");
}
on (rollOver) {
_root.stagebg = "grass";
enemycolorvar = "red";
colorenemy = 10027008 /* 0x990000 */;
enemylifemax = 300;
_root.customai = 2;
_root.creditup = 7000;
_root.textthing = "Canada";
}
Symbol 1078 Button
on (release) {
_root.tobuild[4][0] = _root.roundtime + 50;
_root.tobuild[4][1] = _root.roundtime;
_root.fix1._visible = false;
tellTarget (_root.delaybase) {
gotoAndPlay ("fix");
};
}
Symbol 1079 Button
on (release) {
_root.tobuild[4][0] = _root.roundtime + 50;
_root.tobuild[4][1] = _root.roundtime;
_root.fix2._visible = false;
tellTarget (_root.delaybase) {
gotoAndPlay ("fix");
};
}
Symbol 1080 Button
on (release) {
_root.tobuild[4][0] = _root.roundtime + 50;
_root.tobuild[4][1] = _root.roundtime;
_root.fix3._visible = false;
tellTarget (_root.delaybase) {
gotoAndPlay ("fix");
};
}
Symbol 1081 Button
on (release) {
if (_root.enemycannonbuilt == false) {
_root.enemycannontime = _root.roundtime + 10;
_root.enemycannonbuilt = true;
tellTarget (_root.enemycannon) {
gotoAndPlay ("ready");
};
}
}
Symbol 1082 Button
on (release) {
if ((((_root.buildingname[0] == "defence") || (_root.buildingname[1] == "defence")) || (_root.buildingname[2] == "defence")) || (_root.buildingname[3] == "defence")) {
tellTarget (_root.forcehackpic) {
gotoAndPlay ("anti");
};
} else {
_root.money = -100;
tellTarget (_root.forcehackpic) {
play();
};
}
}
Symbol 1083 Button
on (release, keyPress "w") {
_root.playSound("select");
if (_root.buildingname[3] == undefinned) {
tellTarget (_root.buildingpic) {
gotoAndStop ("build");
};
tellTarget (_root.menu) {
gotoAndStop ("build");
};
} else {
tellTarget (_root.buildingpic) {
gotoAndStop(_root.buildingname[3]);
};
tellTarget (_root.menu) {
gotoAndStop(_root.buildingname[3]);
};
}
_root.highlighter._x = _root.delayer3._x;
_root.highlighter._y = _root.delayer3._y;
roundthing._x = _root.building3._x;
roundthing._y = _root.building3._y - 20;
_root.buildingcurrent = 3;
}
Symbol 1084 Button
on (release, keyPress "a") {
_root.playSound("select");
if (_root.buildingname[2] == undefinned) {
tellTarget (_root.buildingpic) {
gotoAndStop ("build");
};
tellTarget (_root.menu) {
gotoAndStop ("build");
};
} else {
tellTarget (_root.buildingpic) {
gotoAndStop(_root.buildingname[2]);
};
tellTarget (_root.menu) {
gotoAndStop(_root.buildingname[2]);
};
}
roundthing._x = _root.building2._x;
roundthing._y = _root.building2._y - 20;
_root.highlighter._x = _root.delayer2._x;
_root.highlighter._y = _root.delayer2._y;
_root.buildingcurrent = 2;
}
Symbol 1085 Button
on (release, keyPress "<Space>") {
_root.playSound("select");
_root.buildingcurrent = undefinned;
tellTarget (_root.buildingpic) {
gotoAndStop ("base");
};
tellTarget (_root.menu) {
gotoAndStop ("basestats");
};
_root.highlighter._x = -100;
_root.highlighter._y - 100;
roundthing._x = _root.forcebase._x;
roundthing._y = _root.forcebase._y - 20;
}
Symbol 1086 Button
on (release, keyPress "d") {
_root.playSound("select");
if (_root.buildingname[0] == undefinned) {
tellTarget (_root.menu) {
gotoAndStop ("build");
};
tellTarget (_root.buildingpic) {
gotoAndStop ("build");
};
} else {
tellTarget (_root.buildingpic) {
gotoAndStop(_root.buildingname[0]);
};
tellTarget (_root.menu) {
gotoAndStop(_root.buildingname[0]);
};
}
roundthing._x = _root.building0._x;
roundthing._y = _root.building0._y - 20;
_root.highlighter._x = _root.delayer0._x;
_root.highlighter._y = _root.delayer0._y;
_root.buildingcurrent = 0;
}
Symbol 1087 Button
on (release, keyPress "s") {
_root.playSound("select");
if (_root.buildingname[1] == undefinned) {
tellTarget (_root.buildingpic) {
gotoAndStop ("build");
};
tellTarget (_root.menu) {
gotoAndStop ("build");
};
} else {
tellTarget (_root.buildingpic) {
gotoAndStop(_root.buildingname[1]);
};
tellTarget (_root.menu) {
gotoAndStop(_root.buildingname[1]);
};
}
_root.highlighter._x = _root.delayer1._x;
_root.highlighter._y = _root.delayer1._y;
roundthing._x = _root.building1._x;
roundthing._y = _root.building1._y - 20;
_root.buildingcurrent = 1;
}
Symbol 1094 Button
on (release) {
if (_root.soundOn == true) {
menumuse = new Sound();
menumuse.attachSound("menuloop");
menumuse.start();
menumuse.onSoundComplete = function () {
_root.menumuse.start();
};
}
gotoAndStop (602);
}
Symbol 1098 Button
on (release) {
_root.forcelifemax = _root.forcelifemax2;
gotoAndPlay (605);
}
Symbol 1115 MovieClip Frame 7
stop();
Symbol 1126 MovieClip Frame 18
_root.dieSound("troopdie");
Symbol 1126 MovieClip Frame 27
_root.dieSound("troopdie");
Symbol 1126 MovieClip Frame 35
_root.dieSound("troopdie");
Symbol 1126 MovieClip Frame 42
stop();
Symbol 1129 MovieClip Frame 13
stop();
Symbol 1130 MovieClip Frame 105
_root.playSound("sniperfire");
Symbol 1130 MovieClip Frame 114
_root.playSound("tankfire");
Symbol 1130 MovieClip Frame 124
_root.playSound("sniperfire");
Symbol 1130 MovieClip Frame 128
_root.playSound("sniperfire");
Symbol 1130 MovieClip Frame 133
_root.playSound("sniperfire");
Instance of Symbol 1126 MovieClip "die" in Symbol 1130 MovieClip Frame 196
onClipEvent (load) {
with (this) {
play();
}
}
Symbol 1134 MovieClip Frame 18
stop();
Symbol 1139 MovieClip Frame 20
_root.playSound("boom1");
Symbol 1139 MovieClip Frame 58
_root.playSound("boom1");
Symbol 1139 MovieClip Frame 89
_root.playSound("boom1");
Symbol 1139 MovieClip Frame 115
_root.playSound("boom1");
Symbol 1161 Button
on (release) {
getURL ("http://www.mofunzone.com", _blank);
}