Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
lavr = 13;
mochi.as2.MochiAd.showPreGameAd({id:"97089e0c92eb814e", res:"800x600"});
__com_mochibot__("8160cd57", this, 10301, true);
function menuChoiceOne() {
getURL ("http://www.pyrozen.com");
}
stop();
_root.user = SharedObject.getLocal("user_RedneckvsZombie");
onEnterFrame = function () {
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
domEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(domEnd, domain.length);
if (domain == "gamesfree.ca") {
_root.gore = 2;
} else {
_root.gore = 1;
}
};
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Pyrozen", menuChoiceOne));
this.menu = NewMenu;
Frame 3
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4);
}
};
Frame 19
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (20);
}
};
Frame 20
stop();
_global.IntroSound = new Sound();
_global.IntroSound.attachSound("Intro");
_global.IntroSound.start(0, 999);
if ((_root.user.data.LevelAvaliable != undefined) and (_global.LevelAvaliable == undefined)) {
_global.LevelAvaliable = _root.user.data.LevelAvaliable;
_global.LoadGame = true;
}
if (_global.LevelAvaliable == undefined) {
_global.LevelAvaliable = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
_global.LoadGame = false;
}
if ((_root.user.data.Money != undefined) and (_global.Money == undefined)) {
_global.Money = _root.user.data.Money;
}
if (_global.Money == undefined) {
_global.Money = 1000;
}
if ((_root.user.data.SpeedUpgrade != undefined) and (_global.SpeedUpgrade == undefined)) {
_global.SpeedUpgrade = _root.user.data.SpeedUpgrade;
}
if (_global.SpeedUpgrade == undefined) {
_global.SpeedUpgrade = 0;
}
if ((_root.user.data.PowerUpgrade != undefined) and (_global.PowerUpgrade == undefined)) {
_global.PowerUpgrade = _root.user.data.PowerUpgrade;
}
if (_global.PowerUpgrade == undefined) {
_global.PowerUpgrade = 0;
}
if ((_root.user.data.RocketAmmo != undefined) and (_global.RocketAmmo == undefined)) {
_global.RocketAmmo = _root.user.data.RocketAmmo;
}
if (_global.RocketAmmo == undefined) {
_global.RocketAmmo = 0;
}
if ((_root.user.data.NukeAmmo != undefined) and (_global.NukeAmmo == undefined)) {
_global.NukeAmmo = _root.user.data.NukeAmmo;
}
if (_global.NukeAmmo == undefined) {
_global.NukeAmmo = 0;
}
if ((_root.user.data.SniperScope != undefined) and (_global.SniperScope == undefined)) {
_global.SniperScope = _root.user.data.SniperScope;
}
if (_global.SniperScope == undefined) {
_global.SniperScope = 0;
}
if ((_root.user.data.CoolingSys != undefined) and (_global.CoolingSys == undefined)) {
_global.CoolingSys = _root.user.data.CoolingSys;
}
if (_global.CoolingSys == undefined) {
_global.CoolingSys = 0;
}
if ((_root.user.data.NadeLuncher != undefined) and (_global.NadeLuncher == undefined)) {
_global.NadeLuncher = _root.user.data.NadeLuncher;
}
if (_global.NadeLuncher == undefined) {
_global.NadeLuncher = 0;
}
if ((_root.user.data.NadeUpgrade != undefined) and (_global.NadeUpgrade == undefined)) {
_global.NadeUpgrade = _root.user.data.NadeUpgrade;
}
if (_global.NadeUpgrade == undefined) {
_global.NadeUpgrade = 0;
}
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_global.FirstArmory = true;
_global.FirstQuest = true;
_global.FirstMap = true;
_global.Combo = 0;
_global.LargeCombo = 0;
_global.Level = 1;
_global.Quest = 1;
_global.NbLoop = 0;
_global.NbLooped = 0;
_global.NbZombies = 0;
_global.NbZombies2 = 0;
_global.NbZombies3 = 0;
_global.NbBaril = 0;
_global.NbBuild1 = 0;
_global.NbBuild2 = 0;
_global.NbBuild3 = 0;
_global.NbBuild4 = 0;
_global.NbBuild5 = 0;
_global.NbBuild6 = 0;
_global.NbBuild7 = 0;
_global.NbBuild8 = 0;
_global.NbBuild9 = 0;
_global.NbBuild10 = 0;
_global.NbBuild11 = 0;
_global.NbAnt1 = 0;
_global.NbAnt2 = 0;
_global.NbVeh1 = 0;
_global.NbVeh2 = 0;
_global.NbArbre1 = 0;
_global.TipsOpened = false;
_global.Objective = 0;
_global.LevelFinished = true;
_global.InfiniteAmmo = false;
_global.ZombieSwarm = false;
_global.EcplosiveAmmo = false;
_global.InfiniteMode = false;
_global.CurrentWeapon = None;
_global.EquippedWeapon = 0;
Mouse.hide();
startDrag (MenuAim, true);
Instance of Symbol 101 MovieClip "btnMoreGames" in Frame 20
onClipEvent (load) {
this.btnText = "MORE GAMES";
}
onClipEvent (enterFrame) {
if (act == 2) {
_global.BtnSound = new Sound();
_global.BtnSound.attachSound("Btn");
_global.BtnSound.start();
getURL ("http://www.gamesfree.ca", "_blank");
act = 1;
}
}
Instance of Symbol 105 MovieClip "btnNewGame" in Frame 20
onClipEvent (load) {
this.btnText = "NEW GAME";
}
onClipEvent (enterFrame) {
if (act == 2) {
_global.BtnSound = new Sound();
_global.BtnSound.attachSound("Btn");
_global.BtnSound.start();
_global.LevelAvaliable = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
_global.Money = 1500;
_global.RocketAmmo = 0;
_global.NukeAmmo = 0;
_global.PowerUpgrade = 0;
_global.SpeedUpgrade = 0;
_global.SniperScope = 0;
_global.CoolingSys = 0;
_global.NadeLuncher = 0;
_global.NadeUpgrade = 0;
_global.Quest = 0;
_global.Level = 0;
_root.gotoAndStop("SELECTOR");
act = 1;
}
}
Instance of Symbol 107 MovieClip "btnContinue" in Frame 20
onClipEvent (load) {
if (!_global.LoadGame) {
this._alpha = 20;
}
}
onClipEvent (enterFrame) {
if ((act == 2) && (_global.LoadGame)) {
_global.BtnSound = new Sound();
_global.BtnSound.attachSound("Btn");
_global.BtnSound.start();
_root.gotoAndStop("SELECTOR");
act = 1;
}
}
Instance of Symbol 313 MovieClip "diadd" in Frame 20
onClipEvent (load) {
boxx.gotoAndStop(Math.round(_root.lavr));
boxx2.boxx.gotoAndStop(Math.round(_root.lavr));
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Frame 21
stop();
Frame 22
stop();
Frame 23
stop();
Frame 24
stop();
Frame 39
stop();
Frame 40
stop();
Frame 51
stop();
startDrag (MenuAim, true);
if (_global.FirstMap) {
ProTips.gotoAndStop(2);
_global.FirstMap = false;
}
Instance of Symbol 428 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (act == 2) {
_global.BtnSound = new Sound();
_global.BtnSound.attachSound("Btn");
_global.BtnSound.start();
getURL ("http://www.gamesfree.ca/customPage/94/", "_blank");
act = 1;
}
}
Instance of Symbol 313 MovieClip "diadd" in Frame 51
onClipEvent (load) {
boxx.gotoAndStop(Math.round(_root.lavr));
boxx2.boxx.gotoAndStop(Math.round(_root.lavr));
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Frame 52
stop();
Frame 53
!!!ERROR
Instance of Symbol 859 MovieClip "InfMode" in Frame 53
onClipEvent (enterFrame) {
if ((act == 2) && (!_global.LevelFinished)) {
_parent.Cockpit.gotoAndPlay(2);
_global.LevelFinished = true;
act = 1;
}
}
Instance of Symbol 912 MovieClip "Gun" in Frame 53
onClipEvent (enterFrame) {
if (!_global.TipsOpened) {
this._x = (_parent._xmouse / 2) + 100;
this._y = 366 - (_global.LevelFinished * 2000);
}
}
Frame 54
stop();
startDrag (MenuAim, true);
Scope._x = -10000;
MinigunAim._x = -10000;
Cross._x = -10000;
RocketAim._x = -10000;
NukeAim._x = -10000;
_root._x = 0;
_root._y = 0;
if (_global.FirstQuest) {
ProTips.gotoAndStop(2);
_global.FirstQuest = false;
}
if ((_global.Level == 4) && (_global.Quest == 4)) {
ProTips.gotoAndStop(3);
}
Symbol 36 MovieClip [RocketBullet] Frame 1
_global.LunchSound = new Sound();
_global.LunchSound.attachSound("Lunch");
_global.LunchSound.start();
Symbol 36 MovieClip [RocketBullet] Frame 14
_global.RocketSound = new Sound();
_global.RocketSound.attachSound("Rocket");
_global.RocketSound.start();
_root.ShakeNumber = 40;
Symbol 36 MovieClip [RocketBullet] Frame 20
tabZombie = [_root.Gameplay.Zombie_1, _root.Gameplay.Zombie_2, _root.Gameplay.Zombie_3, _root.Gameplay.Zombie_4, _root.Gameplay.Zombie_5, _root.Gameplay.Zombie_6, _root.Gameplay.Zombie_7, _root.Gameplay.Zombie_8, _root.Gameplay.Zombie_9, _root.Gameplay.Zombie_10, _root.Gameplay.Zombie_11, _root.Gameplay.Zombie_12, _root.Gameplay.Zombie_13, _root.Gameplay.Zombie_14, _root.Gameplay.Zombie_15, _root.Gameplay.Zombie_16, _root.Gameplay.Zombie_17, _root.Gameplay.Zombie_18, _root.Gameplay.Zombie_19, _root.Gameplay.Zombie_20, _root.Gameplay.Zombie_21, _root.Gameplay.Zombie_22, _root.Gameplay.Zombie_23, _root.Gameplay.Zombie_24, _root.Gameplay.Zombie_25, _root.Gameplay.Zombie_26, _root.Gameplay.Zombie_27, _root.Gameplay.Zombie_28, _root.Gameplay.Zombie_29, _root.Gameplay.Zombie_30, _root.Gameplay.Zombie_31, _root.Gameplay.Zombie_32, _root.Gameplay.Zombie_33, _root.Gameplay.Zombie_34, _root.Gameplay.Zombie_35, _root.Gameplay.Zombie_36, _root.Gameplay.Zombie_37, _root.Gameplay.Zombie_38, _root.Gameplay.Zombie_39, _root.Gameplay.Zombie_40, _root.Gameplay.Zombie_41, _root.Gameplay.Zombie_42, _root.Gameplay.Zombie_43, _root.Gameplay.Zombie_44, _root.Gameplay.Zombie_45, _root.Gameplay.Zombie_46, _root.Gameplay.Zombie_47, _root.Gameplay.Zombie_48, _root.Gameplay.Zombie_49, _root.Gameplay.Zombie_50, _root.Gameplay.Zombie_51, _root.Gameplay.Zombie_52, _root.Gameplay.Zombie_53, _root.Gameplay.Zombie_54, _root.Gameplay.Zombie_55, _root.Gameplay.Zombie_56, _root.Gameplay.Zombie_57, _root.Gameplay.Zombie_58, _root.Gameplay.Zombie_59, _root.Gameplay.Zombie_60, _root.Gameplay.Zombie_61, _root.Gameplay.Zombie_62, _root.Gameplay.Zombie_63, _root.Gameplay.Zombie_64, _root.Gameplay.Zombie_65, _root.Gameplay.Zombie_66, _root.Gameplay.Zombie_67, _root.Gameplay.Zombie_68, _root.Gameplay.Zombie_69, _root.Gameplay.Zombie_70, _root.Gameplay.Zombie_71, _root.Gameplay.Zombie_72, _root.Gameplay.Zombie_73, _root.Gameplay.Zombie_74, _root.Gameplay.Zombie_75, _root.Gameplay.Zombie_76, _root.Gameplay.Zombie_77, _root.Gameplay.Zombie_78, _root.Gameplay.Zombie_79, _root.Gameplay.Zombie_80];
tabZombie2 = [_root.Gameplay.Zombie2_1, _root.Gameplay.Zombie2_2, _root.Gameplay.Zombie2_3, _root.Gameplay.Zombie2_4, _root.Gameplay.Zombie2_5, _root.Gameplay.Zombie2_6, _root.Gameplay.Zombie2_7, _root.Gameplay.Zombie2_8, _root.Gameplay.Zombie2_9, _root.Gameplay.Zombie2_10];
tabZombie3 = [_root.Gameplay.Zombie3_1, _root.Gameplay.Zombie3_2, _root.Gameplay.Zombie3_3, _root.Gameplay.Zombie3_4, _root.Gameplay.Zombie3_5, _root.Gameplay.Zombie3_6, _root.Gameplay.Zombie3_7, _root.Gameplay.Zombie3_8, _root.Gameplay.Zombie3_9, _root.Gameplay.Zombie3_10];
tabBuilding = [_root.Gameplay.Building_1, _root.Gameplay.Building_2, _root.Gameplay.Building_3, _root.Gameplay.Building_4, _root.Gameplay.Building_5, _root.Gameplay.Building_6, _root.Gameplay.Building_7, _root.Gameplay.Building_8, _root.Gameplay.Building_9, _root.Gameplay.Building_10];
tabBuilding2 = [_root.Gameplay.Building2_1, _root.Gameplay.Building2_2, _root.Gameplay.Building2_3, _root.Gameplay.Building2_4, _root.Gameplay.Building2_5, _root.Gameplay.Building2_6, _root.Gameplay.Building2_7, _root.Gameplay.Building2_8, _root.Gameplay.Building2_9, _root.Gameplay.Building2_10];
tabBuilding3 = [_root.Gameplay.Building3_1, _root.Gameplay.Building3_2, _root.Gameplay.Building3_3, _root.Gameplay.Building3_4, _root.Gameplay.Building3_5, _root.Gameplay.Building3_6, _root.Gameplay.Building3_7, _root.Gameplay.Building3_8, _root.Gameplay.Building3_9, _root.Gameplay.Building3_10];
tabBuilding4 = [_root.Gameplay.Building4_1, _root.Gameplay.Building4_2, _root.Gameplay.Building4_3, _root.Gameplay.Building4_4, _root.Gameplay.Building4_5, _root.Gameplay.Building4_6, _root.Gameplay.Building4_7, _root.Gameplay.Building4_8, _root.Gameplay.Building4_9, _root.Gameplay.Building4_10];
tabBuilding5 = [_root.Gameplay.Building5_1, _root.Gameplay.Building5_2, _root.Gameplay.Building5_3, _root.Gameplay.Building5_4, _root.Gameplay.Building5_5, _root.Gameplay.Building5_6, _root.Gameplay.Building5_7, _root.Gameplay.Building5_8, _root.Gameplay.Building5_9, _root.Gameplay.Building5_10];
tabBaril = [_root.Gameplay.Baril_1, _root.Gameplay.Baril_2, _root.Gameplay.Baril_3, _root.Gameplay.Baril_4, _root.Gameplay.Baril_5];
i = 0;
while (i < tabZombie.length) {
if (Nuke.hitTest(tabZombie[i]) && (!tabZombie[i].Dead)) {
tabZombie[i].HP = tabZombie[i].HP - 20;
Bullet.gotoAndStop(2);
if (tabZombie[i].HP <= 0) {
noDeath = random(3) + 1;
tabZombie[i].gotoAndStop(2);
if (noDeath == 2) {
tabZombie[i].zomb2.gotoAndPlay(29);
} else if (noDeath == 3) {
tabZombie[i].zomb2.gotoAndPlay(58);
}
tabZombie[i].Dead = true;
_global.Money = _global.Money + 50;
_global.KillCount++;
}
}
i++;
}
i = 0;
while (i < tabZombie2.length) {
if (Nuke.hitTest(tabZombie2[i]) && (!tabZombie2[i].Dead)) {
tabZombie2[i].HP = tabZombie2[i].HP - 20;
Bullet.gotoAndStop(2);
if (tabZombie2[i].HP <= 0) {
tabZombie2[i].gotoAndStop(5);
tabZombie2[i].Dead = true;
_global.Money = _global.Money + 150;
_global.KillCount2++;
}
}
i++;
}
i = 0;
while (i < tabZombie3.length) {
if (Nuke.hitTest(tabZombie3[i]) && (!tabZombie3[i].Dead)) {
tabZombie3[i].HP = tabZombie3[i].HP - 20;
Bullet.gotoAndStop(2);
if (tabZombie3[i].HP <= 0) {
noDeath = random(3) + 1;
tabZombie3[i].gotoAndStop(2);
if (noDeath == 2) {
tabZombie3[i].zomb2.gotoAndPlay(11);
}
tabZombie3[i].gotoAndStop(2);
tabZombie3[i].Dead = true;
_global.KillCount3++;
_global.Money = _global.Money + 100;
}
}
i++;
}
i = 0;
while (i < tabBuilding.length) {
if (Nuke.hitTest(tabBuilding[i]) && (!tabBuilding[i].Dead)) {
tabBuilding[i].HP = tabBuilding[i].HP - 20;
Bullet.gotoAndStop(3);
if ((tabBuilding[i].HP <= 80) && (tabBuilding[i].HP > 60)) {
tabBuilding[i].gotoAndStop(2);
} else if ((tabBuilding[i].HP <= 60) && (tabBuilding[i].HP > 40)) {
tabBuilding[i].gotoAndStop(3);
} else if ((tabBuilding[i].HP <= 40) && (tabBuilding[i].HP > 20)) {
tabBuilding[i].gotoAndStop(4);
} else if ((tabBuilding[i].HP <= 20) && (tabBuilding[i].HP > 0)) {
tabBuilding[i].gotoAndStop(5);
}
if (tabBuilding[i].HP <= 0) {
tabBuilding[i].gotoAndStop(6);
tabBuilding[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding2.length) {
if (Nuke.hitTest(tabBuilding2[i]) && (!tabBuilding2[i].Dead)) {
tabBuilding2[i].HP = tabBuilding2[i].HP - 20;
Bullet.gotoAndStop(3);
if ((tabBuilding2[i].HP <= 80) && (tabBuilding2[i].HP > 60)) {
tabBuilding2[i].gotoAndStop(2);
} else if ((tabBuilding2[i].HP <= 60) && (tabBuilding2[i].HP > 40)) {
tabBuilding2[i].gotoAndStop(3);
} else if ((tabBuilding2[i].HP <= 40) && (tabBuilding2[i].HP > 20)) {
tabBuilding2[i].gotoAndStop(4);
} else if ((tabBuilding2[i].HP <= 20) && (tabBuilding2[i].HP > 0)) {
tabBuilding2[i].gotoAndStop(5);
}
if (tabBuilding2[i].HP <= 0) {
tabBuilding2[i].gotoAndStop(6);
tabBuilding2[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding3.length) {
if (Nuke.hitTest(tabBuilding3[i]) && (!tabBuilding3[i].Dead)) {
tabBuilding3[i].HP = tabBuilding3[i].HP - 20;
Bullet.gotoAndStop(3);
if ((tabBuilding3[i].HP <= 80) && (tabBuilding3[i].HP > 60)) {
tabBuilding3[i].gotoAndStop(2);
} else if ((tabBuilding3[i].HP <= 60) && (tabBuilding3[i].HP > 40)) {
tabBuilding3[i].gotoAndStop(3);
} else if ((tabBuilding3[i].HP <= 40) && (tabBuilding3[i].HP > 20)) {
tabBuilding3[i].gotoAndStop(4);
} else if ((tabBuilding3[i].HP <= 20) && (tabBuilding3[i].HP > 0)) {
tabBuilding3[i].gotoAndStop(5);
}
if (tabBuilding3[i].HP <= 0) {
tabBuilding3[i].gotoAndStop(6);
tabBuilding3[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding4.length) {
if (Nuke.hitTest(tabBuilding4[i]) && (!tabBuilding4[i].Dead)) {
tabBuilding4[i].HP = tabBuilding4[i].HP - 20;
Bullet.gotoAndStop(3);
if ((tabBuilding4[i].HP <= 80) && (tabBuilding4[i].HP > 60)) {
tabBuilding4[i].gotoAndStop(2);
} else if ((tabBuilding4[i].HP <= 60) && (tabBuilding4[i].HP > 40)) {
tabBuilding4[i].gotoAndStop(3);
} else if ((tabBuilding4[i].HP <= 40) && (tabBuilding4[i].HP > 20)) {
tabBuilding4[i].gotoAndStop(4);
} else if ((tabBuilding4[i].HP <= 20) && (tabBuilding4[i].HP > 0)) {
tabBuilding4[i].gotoAndStop(5);
}
if (tabBuilding4[i].HP <= 0) {
tabBuilding4[i].gotoAndStop(6);
tabBuilding4[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding5.length) {
if (Nuke.hitTest(tabBuilding5[i]) && (!tabBuilding5[i].Dead)) {
tabBuilding5[i].HP = tabBuilding5[i].HP - 20;
Bullet.gotoAndStop(3);
if ((tabBuilding5[i].HP <= 80) && (tabBuilding5[i].HP > 60)) {
tabBuilding5[i].gotoAndStop(2);
} else if ((tabBuilding5[i].HP <= 60) && (tabBuilding5[i].HP > 40)) {
tabBuilding5[i].gotoAndStop(3);
} else if ((tabBuilding5[i].HP <= 40) && (tabBuilding5[i].HP > 20)) {
tabBuilding5[i].gotoAndStop(4);
} else if ((tabBuilding5[i].HP <= 20) && (tabBuilding5[i].HP > 0)) {
tabBuilding5[i].gotoAndStop(5);
}
if (tabBuilding5[i].HP <= 0) {
tabBuilding5[i].gotoAndStop(6);
tabBuilding5[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding6.length) {
if (Nuke.hitTest(tabBuilding6[i]) && (!tabBuilding6[i].Dead)) {
tabBuilding6[i].HP = tabBuilding6[i].HP - 20;
Bullet.gotoAndStop(3);
if ((tabBuilding6[i].HP <= 80) && (tabBuilding6[i].HP > 60)) {
tabBuilding6[i].gotoAndStop(2);
} else if ((tabBuilding6[i].HP <= 60) && (tabBuilding6[i].HP > 40)) {
tabBuilding6[i].gotoAndStop(3);
} else if ((tabBuilding6[i].HP <= 40) && (tabBuilding6[i].HP > 20)) {
tabBuilding6[i].gotoAndStop(4);
} else if ((tabBuilding6[i].HP <= 20) && (tabBuilding6[i].HP > 0)) {
tabBuilding6[i].gotoAndStop(5);
}
if (tabBuilding6[i].HP <= 0) {
tabBuilding6[i].gotoAndStop(6);
tabBuilding6[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding7.length) {
if (Nuke.hitTest(tabBuilding7[i]) && (!tabBuilding7[i].Dead)) {
tabBuilding7[i].HP = tabBuilding7[i].HP - 20;
Bullet.gotoAndStop(3);
if ((tabBuilding7[i].HP <= 70) && (tabBuilding7[i].HP > 60)) {
tabBuilding7[i].gotoAndStop(2);
} else if ((tabBuilding7[i].HP <= 60) && (tabBuilding7[i].HP > 45)) {
tabBuilding7[i].gotoAndStop(3);
} else if ((tabBuilding7[i].HP <= 45) && (tabBuilding7[i].HP > 20)) {
tabBuilding7[i].gotoAndStop(4);
} else if ((tabBuilding7[i].HP <= 20) && (tabBuilding7[i].HP > 0)) {
tabBuilding7[i].gotoAndStop(5);
} else if (tabBuilding7[i].HP <= 0) {
tabBuilding7[i].gotoAndStop(6);
tabBuilding7[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding8.length) {
if (Nuke.hitTest(tabBuilding8[i]) && (!tabBuilding8[i].Dead)) {
tabBuilding8[i].HP = tabBuilding8[i].HP - 20;
Bullet.gotoAndStop(3);
if ((tabBuilding8[i].HP <= 80) && (tabBuilding8[i].HP > 60)) {
tabBuilding8[i].gotoAndStop(2);
} else if ((tabBuilding8[i].HP <= 60) && (tabBuilding8[i].HP > 40)) {
tabBuilding8[i].gotoAndStop(3);
} else if ((tabBuilding8[i].HP <= 40) && (tabBuilding8[i].HP > 20)) {
tabBuilding8[i].gotoAndStop(4);
} else if ((tabBuilding8[i].HP <= 20) && (tabBuilding8[i].HP > 0)) {
tabBuilding8[i].gotoAndStop(5);
}
if (tabBuilding8[i].HP <= 0) {
tabBuilding8[i].gotoAndStop(6);
tabBuilding8[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding9.length) {
if (Nuke.hitTest(tabBuilding9[i]) && (!tabBuilding9[i].Dead)) {
tabBuilding9[i].HP = tabBuilding9[i].HP - 20;
Bullet.gotoAndStop(3);
if ((tabBuilding9[i].HP <= 70) && (tabBuilding9[i].HP > 60)) {
tabBuilding9[i].gotoAndStop(2);
} else if ((tabBuilding9[i].HP <= 60) && (tabBuilding9[i].HP > 45)) {
tabBuilding9[i].gotoAndStop(3);
} else if ((tabBuilding9[i].HP <= 45) && (tabBuilding9[i].HP > 20)) {
tabBuilding9[i].gotoAndStop(4);
} else if ((tabBuilding9[i].HP <= 20) && (tabBuilding9[i].HP > 0)) {
tabBuilding9[i].gotoAndStop(5);
} else if (tabBuilding9[i].HP <= 0) {
tabBuilding9[i].gotoAndStop(6);
tabBuilding9[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding10.length) {
if (Nuke.hitTest(tabBuilding10[i]) && (!tabBuilding10[i].Dead)) {
tabBuilding10[i].HP = tabBuilding10[i].HP - 20;
Bullet.gotoAndStop(3);
if ((tabBuilding10[i].HP <= 80) && (tabBuilding10[i].HP > 60)) {
tabBuilding10[i].gotoAndStop(2);
} else if ((tabBuilding10[i].HP <= 60) && (tabBuilding10[i].HP > 40)) {
tabBuilding10[i].gotoAndStop(3);
} else if ((tabBuilding10[i].HP <= 40) && (tabBuilding10[i].HP > 20)) {
tabBuilding10[i].gotoAndStop(4);
} else if ((tabBuilding10[i].HP <= 20) && (tabBuilding10[i].HP > 0)) {
tabBuilding10[i].gotoAndStop(5);
}
if (tabBuilding10[i].HP <= 0) {
tabBuilding10[i].gotoAndStop(6);
tabBuilding10[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding11.length) {
if (Nuke.hitTest(tabBuilding11[i]) && (!tabBuilding11[i].Dead)) {
tabBuilding11[i].HP = tabBuilding11[i].HP - 20;
Bullet.gotoAndStop(3);
if ((tabBuilding11[i].HP <= 80) && (tabBuilding11[i].HP > 60)) {
tabBuilding11[i].gotoAndStop(2);
} else if ((tabBuilding11[i].HP <= 60) && (tabBuilding11[i].HP > 40)) {
tabBuilding11[i].gotoAndStop(3);
} else if ((tabBuilding11[i].HP <= 40) && (tabBuilding11[i].HP > 20)) {
tabBuilding11[i].gotoAndStop(4);
} else if ((tabBuilding11[i].HP <= 20) && (tabBuilding11[i].HP > 0)) {
tabBuilding11[i].gotoAndStop(5);
}
if (tabBuilding11[i].HP <= 0) {
tabBuilding11[i].gotoAndStop(6);
tabBuilding11[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabVehicule1.length) {
if (Nuke.hitTest(tabVehicule1[i]) && (!tabVehicule1[i].Dead)) {
tabVehicule1[i].HP = tabVehicule1[i].HP - 15;
Bullet.gotoAndStop(3);
if (tabVehicule1[i].HP <= 0) {
tabVehicule1[i].gotoAndPlay(2);
tabVehicule1[i].Dead = true;
_global.Money = _global.Money + 30;
}
}
i++;
}
i = 0;
while (i < tabVehicule2.length) {
if (Nuke.hitTest(tabVehicule2[i]) && (!tabVehicule2[i].Dead)) {
tabVehicule2[i].HP = tabVehicule2[i].HP - 15;
Bullet.gotoAndStop(3);
if (tabVehicule2[i].HP <= 0) {
tabVehicule2[i].gotoAndStop(2);
tabVehicule2[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabAnt1.length) {
if (Nuke.hitTest(tabAnt1[i]) && (!tabAnt1[i].Dead)) {
tabAnt1[i].HP = tabAnt1[i].HP - 20;
Bullet.gotoAndStop(3);
if ((tabAnt1[i].HP <= 70) && (tabAnt1[i].HP > 60)) {
tabAnt1[i].gotoAndStop(2);
} else if ((tabAnt1[i].HP <= 60) && (tabAnt1[i].HP > 45)) {
tabAnt1[i].gotoAndStop(3);
} else if ((tabAnt1[i].HP <= 45) && (tabAnt1[i].HP > 20)) {
tabAnt1[i].gotoAndStop(4);
} else if ((tabAnt1[i].HP <= 20) && (tabAnt1[i].HP > 0)) {
tabAnt1[i].gotoAndStop(5);
}
if (tabAnt1[i].HP <= 0) {
tabAnt1[i].gotoAndStop(6);
tabAnt1[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabAnt2.length) {
if (Nuke.hitTest(tabAnt2[i]) && (!tabAnt2[i].Dead)) {
tabAnt2[i].HP = tabAnt2[i].HP - 20;
Bullet.gotoAndStop(3);
if ((tabAnt2[i].HP <= 70) && (tabAnt2[i].HP > 60)) {
tabAnt2[i].gotoAndStop(2);
} else if ((tabAnt2[i].HP <= 60) && (tabAnt2[i].HP > 45)) {
tabAnt2[i].gotoAndStop(3);
} else if ((tabAnt2[i].HP <= 45) && (tabAnt2[i].HP > 20)) {
tabAnt2[i].gotoAndStop(4);
} else if ((tabAnt2[i].HP <= 20) && (tabAnt2[i].HP > 0)) {
tabAnt2[i].gotoAndStop(5);
} else if (tabAnt2[i].HP <= 0) {
tabAnt2[i].gotoAndStop(6);
tabAnt2[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabArbre.length) {
if (Nuke.hitTest(tabArbre[i]) && (!tabArbre[i].Dead)) {
tabArbre[i].HP = tabArbre[i].HP - 20;
Bullet.gotoAndStop(3);
if ((tabArbre[i].HP <= 80) && (tabArbre[i].HP > 60)) {
tabArbre[i].gotoAndStop(2);
} else if ((tabArbre[i].HP <= 60) && (tabArbre[i].HP > 40)) {
tabArbre[i].gotoAndStop(3);
} else if ((tabArbre[i].HP <= 40) && (tabArbre[i].HP > 20)) {
tabArbre[i].gotoAndStop(4);
} else if ((tabArbre[i].HP <= 20) && (tabArbre[i].HP > 0)) {
tabArbre[i].gotoAndStop(5);
}
if (tabArbre[i].HP <= 0) {
tabArbre[i].gotoAndStop(6);
tabArbre[i].Dead = true;
_global.Money = _global.Money + 10;
}
}
i++;
}
i = 0;
while (i < tabBaril.length) {
if (Nuke.hitTest(tabBaril[i])) {
if (tabBaril[i]._currentFrame == 1) {
_global.Money = _global.Money + 20;
tabBaril[i].gotoAndPlay(2);
}
}
i++;
}
Symbol 36 MovieClip [RocketBullet] Frame 23
stop();
this.removeMovieClip();
Symbol 37 MovieClip [NukeBullet] Frame 8
_global.FallingSound = new Sound();
_global.FallingSound.attachSound("Falling");
_global.FallingSound.start();
Symbol 37 MovieClip [NukeBullet] Frame 29
_global.RocketSound = new Sound();
_global.RocketSound.attachSound("Nuke");
_global.RocketSound.start();
_root.ShakeNumber = 60;
Symbol 37 MovieClip [NukeBullet] Frame 40
tabZombie = [_root.Gameplay.Zombie_1, _root.Gameplay.Zombie_2, _root.Gameplay.Zombie_3, _root.Gameplay.Zombie_4, _root.Gameplay.Zombie_5, _root.Gameplay.Zombie_6, _root.Gameplay.Zombie_7, _root.Gameplay.Zombie_8, _root.Gameplay.Zombie_9, _root.Gameplay.Zombie_10, _root.Gameplay.Zombie_11, _root.Gameplay.Zombie_12, _root.Gameplay.Zombie_13, _root.Gameplay.Zombie_14, _root.Gameplay.Zombie_15, _root.Gameplay.Zombie_16, _root.Gameplay.Zombie_17, _root.Gameplay.Zombie_18, _root.Gameplay.Zombie_19, _root.Gameplay.Zombie_20, _root.Gameplay.Zombie_21, _root.Gameplay.Zombie_22, _root.Gameplay.Zombie_23, _root.Gameplay.Zombie_24, _root.Gameplay.Zombie_25, _root.Gameplay.Zombie_26, _root.Gameplay.Zombie_27, _root.Gameplay.Zombie_28, _root.Gameplay.Zombie_29, _root.Gameplay.Zombie_30, _root.Gameplay.Zombie_31, _root.Gameplay.Zombie_32, _root.Gameplay.Zombie_33, _root.Gameplay.Zombie_34, _root.Gameplay.Zombie_35, _root.Gameplay.Zombie_36, _root.Gameplay.Zombie_37, _root.Gameplay.Zombie_38, _root.Gameplay.Zombie_39, _root.Gameplay.Zombie_40, _root.Gameplay.Zombie_41, _root.Gameplay.Zombie_42, _root.Gameplay.Zombie_43, _root.Gameplay.Zombie_44, _root.Gameplay.Zombie_45, _root.Gameplay.Zombie_46, _root.Gameplay.Zombie_47, _root.Gameplay.Zombie_48, _root.Gameplay.Zombie_49, _root.Gameplay.Zombie_50, _root.Gameplay.Zombie_51, _root.Gameplay.Zombie_52, _root.Gameplay.Zombie_53, _root.Gameplay.Zombie_54, _root.Gameplay.Zombie_55, _root.Gameplay.Zombie_56, _root.Gameplay.Zombie_57, _root.Gameplay.Zombie_58, _root.Gameplay.Zombie_59, _root.Gameplay.Zombie_60, _root.Gameplay.Zombie_61, _root.Gameplay.Zombie_62, _root.Gameplay.Zombie_63, _root.Gameplay.Zombie_64, _root.Gameplay.Zombie_65, _root.Gameplay.Zombie_66, _root.Gameplay.Zombie_67, _root.Gameplay.Zombie_68, _root.Gameplay.Zombie_69, _root.Gameplay.Zombie_70, _root.Gameplay.Zombie_71, _root.Gameplay.Zombie_72, _root.Gameplay.Zombie_73, _root.Gameplay.Zombie_74, _root.Gameplay.Zombie_75, _root.Gameplay.Zombie_76, _root.Gameplay.Zombie_77, _root.Gameplay.Zombie_78, _root.Gameplay.Zombie_79, _root.Gameplay.Zombie_80];
tabZombie2 = [_root.Gameplay.Zombie2_1, _root.Gameplay.Zombie2_2, _root.Gameplay.Zombie2_3, _root.Gameplay.Zombie2_4, _root.Gameplay.Zombie2_5, _root.Gameplay.Zombie2_6, _root.Gameplay.Zombie2_7, _root.Gameplay.Zombie2_8, _root.Gameplay.Zombie2_9, _root.Gameplay.Zombie2_10];
tabBuilding = [_root.Gameplay.Building_1, _root.Gameplay.Building_2, _root.Gameplay.Building_3, _root.Gameplay.Building_4, _root.Gameplay.Building_5, _root.Gameplay.Building_6, _root.Gameplay.Building_7, _root.Gameplay.Building_8, _root.Gameplay.Building_9, _root.Gameplay.Building_10];
tabBuilding2 = [_root.Gameplay.Building2_1, _root.Gameplay.Building2_2, _root.Gameplay.Building2_3, _root.Gameplay.Building2_4, _root.Gameplay.Building2_5, _root.Gameplay.Building2_6, _root.Gameplay.Building2_7, _root.Gameplay.Building2_8, _root.Gameplay.Building2_9, _root.Gameplay.Building2_10];
tabBuilding3 = [_root.Gameplay.Building3_1, _root.Gameplay.Building3_2, _root.Gameplay.Building3_3, _root.Gameplay.Building3_4, _root.Gameplay.Building3_5, _root.Gameplay.Building3_6, _root.Gameplay.Building3_7, _root.Gameplay.Building3_8, _root.Gameplay.Building3_9, _root.Gameplay.Building3_10];
tabBuilding4 = [_root.Gameplay.Building4_1, _root.Gameplay.Building4_2, _root.Gameplay.Building4_3, _root.Gameplay.Building4_4, _root.Gameplay.Building4_5, _root.Gameplay.Building4_6, _root.Gameplay.Building4_7, _root.Gameplay.Building4_8, _root.Gameplay.Building4_9, _root.Gameplay.Building4_10];
tabBuilding5 = [_root.Gameplay.Building5_1, _root.Gameplay.Building5_2, _root.Gameplay.Building5_3, _root.Gameplay.Building5_4, _root.Gameplay.Building5_5, _root.Gameplay.Building5_6, _root.Gameplay.Building5_7, _root.Gameplay.Building5_8, _root.Gameplay.Building5_9, _root.Gameplay.Building5_10];
tabBaril = [_root.Gameplay.Baril_1, _root.Gameplay.Baril_2, _root.Gameplay.Baril_3, _root.Gameplay.Baril_4, _root.Gameplay.Baril_5];
i = 0;
while (i < tabZombie.length) {
if (Nuke.hitTest(tabZombie[i]) && (!tabZombie[i].Dead)) {
tabZombie[i].HP = tabZombie[i].HP - 100;
Bullet.gotoAndStop(2);
if (tabZombie[i].HP <= 0) {
noDeath = random(3) + 1;
tabZombie[i].gotoAndStop(2);
if (noDeath == 2) {
tabZombie[i].zomb2.gotoAndPlay(29);
} else if (noDeath == 3) {
tabZombie[i].zomb2.gotoAndPlay(58);
}
tabZombie[i].Dead = true;
_global.Money = _global.Money + 50;
_global.KillCount++;
}
}
i++;
}
i = 0;
while (i < tabZombie2.length) {
if (Nuke.hitTest(tabZombie2[i]) && (!tabZombie2[i].Dead)) {
tabZombie2[i].HP = tabZombie2[i].HP - 1000;
Bullet.gotoAndStop(2);
if (tabZombie2[i].HP <= 0) {
tabZombie2[i].gotoAndStop(5);
tabZombie2[i].Dead = true;
_global.Money = _global.Money + 150;
_global.KillCount2++;
}
}
i++;
}
i = 0;
while (i < tabZombie3.length) {
if (Nuke.hitTest(tabZombie3[i]) && (!tabZombie3[i].Dead)) {
tabZombie3[i].HP = tabZombie3[i].HP + 5;
Bullet.gotoAndStop(2);
if (tabZombie3[i].HP <= 0) {
noDeath = random(3) + 1;
tabZombie3[i].gotoAndStop(2);
if (noDeath == 2) {
tabZombie3[i].zomb2.gotoAndPlay(11);
}
tabZombie3[i].gotoAndStop(2);
tabZombie3[i].Dead = true;
_global.KillCount3++;
_global.Money = _global.Money + 100;
}
}
i++;
}
i = 0;
while (i < tabBuilding.length) {
if (Nuke.hitTest(tabBuilding[i]) && (!tabBuilding[i].Dead)) {
tabBuilding[i].HP = tabBuilding[i].HP - 100;
if (tabBuilding[i].HP <= 0) {
tabBuilding[i].gotoAndStop(6);
tabBuilding[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding2.length) {
if (Nuke.hitTest(tabBuilding2[i]) && (!tabBuilding2[i].Dead)) {
tabBuilding2[i].HP = tabBuilding2[i].HP - 100;
if (tabBuilding2[i].HP <= 0) {
tabBuilding2[i].gotoAndStop(6);
tabBuilding2[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding3.length) {
if (Nuke.hitTest(tabBuilding3[i]) && (!tabBuilding3[i].Dead)) {
tabBuilding3[i].HP = tabBuilding3[i].HP - 100;
if (tabBuilding3[i].HP <= 0) {
tabBuilding3[i].gotoAndStop(6);
tabBuilding3[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding4.length) {
if (Nuke.hitTest(tabBuilding4[i]) && (!tabBuilding4[i].Dead)) {
tabBuilding4[i].HP = tabBuilding4[i].HP - 100;
if (tabBuilding4[i].HP <= 0) {
tabBuilding4[i].gotoAndStop(6);
tabBuilding4[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding5.length) {
if (Nuke.hitTest(tabBuilding5[i]) && (!tabBuilding5[i].Dead)) {
tabBuilding5[i].HP = tabBuilding5[i].HP - 100;
if (tabBuilding5[i].HP <= 0) {
tabBuilding5[i].gotoAndStop(6);
tabBuilding5[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding6.length) {
if (Nuke.hitTest(tabBuilding6[i]) && (!tabBuilding6[i].Dead)) {
tabBuilding6[i].HP = tabBuilding6[i].HP - 1000;
Bullet.gotoAndStop(3);
if ((tabBuilding6[i].HP <= 80) && (tabBuilding6[i].HP > 60)) {
tabBuilding6[i].gotoAndStop(2);
} else if ((tabBuilding6[i].HP <= 60) && (tabBuilding6[i].HP > 40)) {
tabBuilding6[i].gotoAndStop(3);
} else if ((tabBuilding6[i].HP <= 40) && (tabBuilding6[i].HP > 20)) {
tabBuilding6[i].gotoAndStop(4);
} else if ((tabBuilding6[i].HP <= 20) && (tabBuilding6[i].HP > 0)) {
tabBuilding6[i].gotoAndStop(5);
}
if (tabBuilding6[i].HP <= 0) {
tabBuilding6[i].gotoAndStop(6);
tabBuilding6[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding7.length) {
if (Nuke.hitTest(tabBuilding7[i]) && (!tabBuilding7[i].Dead)) {
tabBuilding7[i].HP = tabBuilding7[i].HP - 1000;
Bullet.gotoAndStop(3);
if ((tabBuilding7[i].HP <= 70) && (tabBuilding7[i].HP > 60)) {
tabBuilding7[i].gotoAndStop(2);
} else if ((tabBuilding7[i].HP <= 60) && (tabBuilding7[i].HP > 45)) {
tabBuilding7[i].gotoAndStop(3);
} else if ((tabBuilding7[i].HP <= 45) && (tabBuilding7[i].HP > 20)) {
tabBuilding7[i].gotoAndStop(4);
} else if ((tabBuilding7[i].HP <= 20) && (tabBuilding7[i].HP > 0)) {
tabBuilding7[i].gotoAndStop(5);
} else if (tabBuilding7[i].HP <= 0) {
tabBuilding7[i].gotoAndStop(6);
tabBuilding7[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding8.length) {
if (Nuke.hitTest(tabBuilding8[i]) && (!tabBuilding8[i].Dead)) {
tabBuilding8[i].HP = tabBuilding8[i].HP - 1000;
Bullet.gotoAndStop(3);
if ((tabBuilding8[i].HP <= 80) && (tabBuilding8[i].HP > 60)) {
tabBuilding8[i].gotoAndStop(2);
} else if ((tabBuilding8[i].HP <= 60) && (tabBuilding8[i].HP > 40)) {
tabBuilding8[i].gotoAndStop(3);
} else if ((tabBuilding8[i].HP <= 40) && (tabBuilding8[i].HP > 20)) {
tabBuilding8[i].gotoAndStop(4);
} else if ((tabBuilding8[i].HP <= 20) && (tabBuilding8[i].HP > 0)) {
tabBuilding8[i].gotoAndStop(5);
}
if (tabBuilding8[i].HP <= 0) {
tabBuilding8[i].gotoAndStop(6);
tabBuilding8[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding9.length) {
if (Nuke.hitTest(tabBuilding9[i]) && (!tabBuilding9[i].Dead)) {
tabBuilding9[i].HP = tabBuilding9[i].HP - 1000;
Bullet.gotoAndStop(3);
if ((tabBuilding9[i].HP <= 70) && (tabBuilding9[i].HP > 60)) {
tabBuilding9[i].gotoAndStop(2);
} else if ((tabBuilding9[i].HP <= 60) && (tabBuilding9[i].HP > 45)) {
tabBuilding9[i].gotoAndStop(3);
} else if ((tabBuilding9[i].HP <= 45) && (tabBuilding9[i].HP > 20)) {
tabBuilding9[i].gotoAndStop(4);
} else if ((tabBuilding9[i].HP <= 20) && (tabBuilding9[i].HP > 0)) {
tabBuilding9[i].gotoAndStop(5);
} else if (tabBuilding9[i].HP <= 0) {
tabBuilding9[i].gotoAndStop(6);
tabBuilding9[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding10.length) {
if (Nuke.hitTest(tabBuilding10[i]) && (!tabBuilding10[i].Dead)) {
tabBuilding10[i].HP = tabBuilding10[i].HP - 1000;
Bullet.gotoAndStop(3);
if ((tabBuilding10[i].HP <= 80) && (tabBuilding10[i].HP > 60)) {
tabBuilding10[i].gotoAndStop(2);
} else if ((tabBuilding10[i].HP <= 60) && (tabBuilding10[i].HP > 40)) {
tabBuilding10[i].gotoAndStop(3);
} else if ((tabBuilding10[i].HP <= 40) && (tabBuilding10[i].HP > 20)) {
tabBuilding10[i].gotoAndStop(4);
} else if ((tabBuilding10[i].HP <= 20) && (tabBuilding10[i].HP > 0)) {
tabBuilding10[i].gotoAndStop(5);
}
if (tabBuilding10[i].HP <= 0) {
tabBuilding10[i].gotoAndStop(6);
tabBuilding10[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding11.length) {
if (Nuke.hitTest(tabBuilding11[i]) && (!tabBuilding11[i].Dead)) {
tabBuilding11[i].HP = tabBuilding11[i].HP - 1000;
Bullet.gotoAndStop(3);
if ((tabBuilding11[i].HP <= 80) && (tabBuilding11[i].HP > 60)) {
tabBuilding11[i].gotoAndStop(2);
} else if ((tabBuilding11[i].HP <= 60) && (tabBuilding11[i].HP > 40)) {
tabBuilding11[i].gotoAndStop(3);
} else if ((tabBuilding11[i].HP <= 40) && (tabBuilding11[i].HP > 20)) {
tabBuilding11[i].gotoAndStop(4);
} else if ((tabBuilding11[i].HP <= 20) && (tabBuilding11[i].HP > 0)) {
tabBuilding11[i].gotoAndStop(5);
}
if (tabBuilding11[i].HP <= 0) {
tabBuilding11[i].gotoAndStop(6);
tabBuilding11[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabVehicule1.length) {
if (Nuke.hitTest(tabVehicule1[i]) && (!tabVehicule1[i].Dead)) {
tabVehicule1[i].HP = tabVehicule1[i].HP - 15;
Bullet.gotoAndStop(3);
if (tabVehicule1[i].HP <= 0) {
tabVehicule1[i].gotoAndPlay(2);
tabVehicule1[i].Dead = true;
_global.Money = _global.Money + 30;
}
}
i++;
}
i = 0;
while (i < tabVehicule2.length) {
if (Nuke.hitTest(tabVehicule2[i]) && (!tabVehicule2[i].Dead)) {
tabVehicule2[i].HP = tabVehicule2[i].HP - 15;
Bullet.gotoAndStop(3);
if (tabVehicule2[i].HP <= 0) {
tabVehicule2[i].gotoAndStop(2);
tabVehicule2[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabAnt1.length) {
if (Nuke.hitTest(tabAnt1[i]) && (!tabAnt1[i].Dead)) {
tabAnt1[i].HP = tabAnt1[i].HP - 1000;
Bullet.gotoAndStop(3);
if ((tabAnt1[i].HP <= 70) && (tabAnt1[i].HP > 60)) {
tabAnt1[i].gotoAndStop(2);
} else if ((tabAnt1[i].HP <= 60) && (tabAnt1[i].HP > 45)) {
tabAnt1[i].gotoAndStop(3);
} else if ((tabAnt1[i].HP <= 45) && (tabAnt1[i].HP > 20)) {
tabAnt1[i].gotoAndStop(4);
} else if ((tabAnt1[i].HP <= 20) && (tabAnt1[i].HP > 0)) {
tabAnt1[i].gotoAndStop(5);
}
if (tabAnt1[i].HP <= 0) {
tabAnt1[i].gotoAndStop(6);
tabAnt1[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabAnt2.length) {
if (Nuke.hitTest(tabAnt2[i]) && (!tabAnt2[i].Dead)) {
tabAnt2[i].HP = tabAnt2[i].HP - 1000;
Bullet.gotoAndStop(3);
if ((tabAnt2[i].HP <= 70) && (tabAnt2[i].HP > 60)) {
tabAnt2[i].gotoAndStop(2);
} else if ((tabAnt2[i].HP <= 60) && (tabAnt2[i].HP > 45)) {
tabAnt2[i].gotoAndStop(3);
} else if ((tabAnt2[i].HP <= 45) && (tabAnt2[i].HP > 20)) {
tabAnt2[i].gotoAndStop(4);
} else if ((tabAnt2[i].HP <= 20) && (tabAnt2[i].HP > 0)) {
tabAnt2[i].gotoAndStop(5);
} else if (tabAnt2[i].HP <= 0) {
tabAnt2[i].gotoAndStop(6);
tabAnt2[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabArbre.length) {
if (Nuke.hitTest(tabArbre[i]) && (!tabArbre[i].Dead)) {
tabArbre[i].HP = tabArbre[i].HP - 1000;
Bullet.gotoAndStop(3);
if ((tabArbre[i].HP <= 80) && (tabArbre[i].HP > 60)) {
tabArbre[i].gotoAndStop(2);
} else if ((tabArbre[i].HP <= 60) && (tabArbre[i].HP > 40)) {
tabArbre[i].gotoAndStop(3);
} else if ((tabArbre[i].HP <= 40) && (tabArbre[i].HP > 20)) {
tabArbre[i].gotoAndStop(4);
} else if ((tabArbre[i].HP <= 20) && (tabArbre[i].HP > 0)) {
tabArbre[i].gotoAndStop(5);
}
if (tabArbre[i].HP <= 0) {
tabArbre[i].gotoAndStop(6);
tabArbre[i].Dead = true;
_global.Money = _global.Money + 10;
}
}
i++;
}
i = 0;
while (i < tabBaril.length) {
if (Nuke.hitTest(tabBaril[i])) {
if (tabBaril[i]._currentFrame == 1) {
_global.Money = _global.Money + 20;
tabBaril[i].gotoAndPlay(2);
}
}
i++;
}
Symbol 37 MovieClip [NukeBullet] Frame 43
stop();
this.removeMovieClip();
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 2
stop();
Symbol 46 MovieClip Frame 3
stop();
Symbol 46 MovieClip Frame 4
stop();
Symbol 46 MovieClip Frame 5
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 2
stop();
Symbol 52 MovieClip Frame 3
stop();
Symbol 52 MovieClip Frame 4
stop();
Symbol 52 MovieClip Frame 5
stop();
Symbol 53 MovieClip Frame 1
stop();
Set(aleatoire, random(5) + 1);
Imp.gotoAndStop(eval (aleatoire));
Imp._xscale = random(20) + 75;
Imp._yscale = random(20) + 75;
Imp._rotation = (360 - _parent._rotation) + (random(20) - 10);
Symbol 53 MovieClip Frame 2
stop();
Set(aleatoire, random(5) + 1);
Splat.gotoAndStop(eval (aleatoire));
Splat._xscale = random(20) + 80;
Splat._yscale = random(20) + 80;
Splat._rotation = 360 - _parent._rotation;
Symbol 53 MovieClip Frame 3
stop();
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 2
stop();
Symbol 59 MovieClip Frame 3
stop();
Symbol 59 MovieClip Frame 4
stop();
Symbol 59 MovieClip Frame 5
stop();
Symbol 59 MovieClip Frame 6
stop();
Symbol 60 MovieClip [AkBullet] Frame 7
tabZombie = [_root.Gameplay.Zombie_1, _root.Gameplay.Zombie_2, _root.Gameplay.Zombie_3, _root.Gameplay.Zombie_4, _root.Gameplay.Zombie_5, _root.Gameplay.Zombie_6, _root.Gameplay.Zombie_7, _root.Gameplay.Zombie_8, _root.Gameplay.Zombie_9, _root.Gameplay.Zombie_10, _root.Gameplay.Zombie_11, _root.Gameplay.Zombie_12, _root.Gameplay.Zombie_13, _root.Gameplay.Zombie_14, _root.Gameplay.Zombie_15, _root.Gameplay.Zombie_16, _root.Gameplay.Zombie_17, _root.Gameplay.Zombie_18, _root.Gameplay.Zombie_19, _root.Gameplay.Zombie_20, _root.Gameplay.Zombie_21, _root.Gameplay.Zombie_22, _root.Gameplay.Zombie_23, _root.Gameplay.Zombie_24, _root.Gameplay.Zombie_25, _root.Gameplay.Zombie_26, _root.Gameplay.Zombie_27, _root.Gameplay.Zombie_28, _root.Gameplay.Zombie_29, _root.Gameplay.Zombie_30, _root.Gameplay.Zombie_31, _root.Gameplay.Zombie_32, _root.Gameplay.Zombie_33, _root.Gameplay.Zombie_34, _root.Gameplay.Zombie_35, _root.Gameplay.Zombie_36, _root.Gameplay.Zombie_37, _root.Gameplay.Zombie_38, _root.Gameplay.Zombie_39, _root.Gameplay.Zombie_40, _root.Gameplay.Zombie_41, _root.Gameplay.Zombie_42, _root.Gameplay.Zombie_43, _root.Gameplay.Zombie_44, _root.Gameplay.Zombie_45, _root.Gameplay.Zombie_46, _root.Gameplay.Zombie_47, _root.Gameplay.Zombie_48, _root.Gameplay.Zombie_49, _root.Gameplay.Zombie_50, _root.Gameplay.Zombie_51, _root.Gameplay.Zombie_52, _root.Gameplay.Zombie_53, _root.Gameplay.Zombie_54, _root.Gameplay.Zombie_55, _root.Gameplay.Zombie_56, _root.Gameplay.Zombie_57, _root.Gameplay.Zombie_58, _root.Gameplay.Zombie_59, _root.Gameplay.Zombie_60, _root.Gameplay.Zombie_61, _root.Gameplay.Zombie_62, _root.Gameplay.Zombie_63, _root.Gameplay.Zombie_64, _root.Gameplay.Zombie_65, _root.Gameplay.Zombie_66, _root.Gameplay.Zombie_67, _root.Gameplay.Zombie_68, _root.Gameplay.Zombie_69, _root.Gameplay.Zombie_70, _root.Gameplay.Zombie_71, _root.Gameplay.Zombie_72, _root.Gameplay.Zombie_73, _root.Gameplay.Zombie_74, _root.Gameplay.Zombie_75, _root.Gameplay.Zombie_76, _root.Gameplay.Zombie_77, _root.Gameplay.Zombie_78, _root.Gameplay.Zombie_79, _root.Gameplay.Zombie_80];
tabZombie2 = [_root.Gameplay.Zombie2_1, _root.Gameplay.Zombie2_2, _root.Gameplay.Zombie2_3, _root.Gameplay.Zombie2_4, _root.Gameplay.Zombie2_5, _root.Gameplay.Zombie2_6, _root.Gameplay.Zombie2_7, _root.Gameplay.Zombie2_8, _root.Gameplay.Zombie2_9, _root.Gameplay.Zombie2_10];
tabZombie3 = [_root.Gameplay.Zombie3_1, _root.Gameplay.Zombie3_2, _root.Gameplay.Zombie3_3, _root.Gameplay.Zombie3_4, _root.Gameplay.Zombie3_5, _root.Gameplay.Zombie3_6, _root.Gameplay.Zombie3_7, _root.Gameplay.Zombie3_8, _root.Gameplay.Zombie3_9, _root.Gameplay.Zombie3_10];
tabBuilding = [_root.Gameplay.Building_1, _root.Gameplay.Building_2, _root.Gameplay.Building_3, _root.Gameplay.Building_4, _root.Gameplay.Building_5, _root.Gameplay.Building_6, _root.Gameplay.Building_7, _root.Gameplay.Building_8, _root.Gameplay.Building_9, _root.Gameplay.Building_10];
tabBuilding2 = [_root.Gameplay.Building2_1, _root.Gameplay.Building2_2, _root.Gameplay.Building2_3, _root.Gameplay.Building2_4, _root.Gameplay.Building2_5, _root.Gameplay.Building2_6, _root.Gameplay.Building2_7, _root.Gameplay.Building2_8, _root.Gameplay.Building2_9, _root.Gameplay.Building2_10];
tabBuilding3 = [_root.Gameplay.Building3_1, _root.Gameplay.Building3_2, _root.Gameplay.Building3_3, _root.Gameplay.Building3_4, _root.Gameplay.Building3_5, _root.Gameplay.Building3_6, _root.Gameplay.Building3_7, _root.Gameplay.Building3_8, _root.Gameplay.Building3_9, _root.Gameplay.Building3_10];
tabBuilding4 = [_root.Gameplay.Building4_1, _root.Gameplay.Building4_2, _root.Gameplay.Building4_3, _root.Gameplay.Building4_4, _root.Gameplay.Building4_5, _root.Gameplay.Building4_6, _root.Gameplay.Building4_7, _root.Gameplay.Building4_8, _root.Gameplay.Building4_9, _root.Gameplay.Building4_10];
tabBuilding5 = [_root.Gameplay.Building5_1, _root.Gameplay.Building5_2, _root.Gameplay.Building5_3, _root.Gameplay.Building5_4, _root.Gameplay.Building5_5, _root.Gameplay.Building5_6, _root.Gameplay.Building5_7, _root.Gameplay.Building5_8, _root.Gameplay.Building5_9, _root.Gameplay.Building5_10];
tabBuilding6 = [_root.Gameplay.Building6_1, _root.Gameplay.Building6_2, _root.Gameplay.Building6_3];
tabBuilding7 = [_root.Gameplay.Building7_1, _root.Gameplay.Building7_2, _root.Gameplay.Building7_3];
tabBuilding8 = [_root.Gameplay.Building8_1, _root.Gameplay.Building8_2, _root.Gameplay.Building8_3];
tabBuilding9 = [_root.Gameplay.Building9_1, _root.Gameplay.Building9_2, _root.Gameplay.Building9_3];
tabBuilding10 = [_root.Gameplay.Building10_1, _root.Gameplay.Building10_2, _root.Gameplay.Building10_3];
tabBuilding11 = [_root.Gameplay.Building11_1];
tabVehicule1 = [_root.Gameplay.Veh1_1, _root.Gameplay.Veh1_2, _root.Gameplay.Veh1_3];
tabVehicule2 = [_root.Gameplay.Veh2_1, _root.Gameplay.Veh2_2, _root.Gameplay.Veh2_3];
tabAnt1 = [_root.Gameplay.Ant1_1, _root.Gameplay.Ant1_2, _root.Gameplay.Ant1_3];
tabAnt2 = [_root.Gameplay.Ant2_1, _root.Gameplay.Ant2_2, _root.Gameplay.Ant2_3];
tabArbre = [_root.Gameplay.Arbre1_1, _root.Gameplay.Arbre1_2, _root.Gameplay.Arbre1_3, _root.Gameplay.Arbre1_4];
tabBaril = [_root.Gameplay.Baril_1, _root.Gameplay.Baril_2, _root.Gameplay.Baril_3, _root.Gameplay.Baril_4, _root.Gameplay.Baril_5];
if (_global.Level == 2) {
Bullet.gotoAndStop(4);
} else if (_global.Level == 3) {
Bullet.gotoAndStop(5);
} else if (_global.Level == 4) {
Bullet.gotoAndStop(6);
}
i = 0;
while (i < tabBuilding.length) {
if (Hit.hitTest(tabBuilding[i]) && (!tabBuilding[i].Dead)) {
tabBuilding[i].HP = tabBuilding[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(3);
if ((tabBuilding[i].HP <= 80) && (tabBuilding[i].HP > 60)) {
tabBuilding[i].gotoAndStop(2);
} else if ((tabBuilding[i].HP <= 60) && (tabBuilding[i].HP > 40)) {
tabBuilding[i].gotoAndStop(3);
} else if ((tabBuilding[i].HP <= 40) && (tabBuilding[i].HP > 20)) {
tabBuilding[i].gotoAndStop(4);
} else if ((tabBuilding[i].HP <= 20) && (tabBuilding[i].HP > 0)) {
tabBuilding[i].gotoAndStop(5);
}
if (tabBuilding[i].HP <= 0) {
tabBuilding[i].gotoAndStop(6);
tabBuilding[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding2.length) {
if (Hit.hitTest(tabBuilding2[i]) && (!tabBuilding2[i].Dead)) {
tabBuilding2[i].HP = tabBuilding2[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(3);
if ((tabBuilding2[i].HP <= 80) && (tabBuilding2[i].HP > 60)) {
tabBuilding2[i].gotoAndStop(2);
} else if ((tabBuilding2[i].HP <= 60) && (tabBuilding2[i].HP > 40)) {
tabBuilding2[i].gotoAndStop(3);
} else if ((tabBuilding2[i].HP <= 40) && (tabBuilding2[i].HP > 20)) {
tabBuilding2[i].gotoAndStop(4);
} else if ((tabBuilding2[i].HP <= 20) && (tabBuilding2[i].HP > 0)) {
tabBuilding2[i].gotoAndStop(5);
}
if (tabBuilding2[i].HP <= 0) {
tabBuilding2[i].gotoAndStop(6);
tabBuilding2[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding3.length) {
if (Hit.hitTest(tabBuilding3[i]) && (!tabBuilding3[i].Dead)) {
tabBuilding3[i].HP = tabBuilding3[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(3);
if ((tabBuilding3[i].HP <= 80) && (tabBuilding3[i].HP > 60)) {
tabBuilding3[i].gotoAndStop(2);
} else if ((tabBuilding3[i].HP <= 60) && (tabBuilding3[i].HP > 40)) {
tabBuilding3[i].gotoAndStop(3);
} else if ((tabBuilding3[i].HP <= 40) && (tabBuilding3[i].HP > 20)) {
tabBuilding3[i].gotoAndStop(4);
} else if ((tabBuilding3[i].HP <= 20) && (tabBuilding3[i].HP > 0)) {
tabBuilding3[i].gotoAndStop(5);
}
if (tabBuilding3[i].HP <= 0) {
tabBuilding3[i].gotoAndStop(6);
tabBuilding3[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding4.length) {
if (Hit.hitTest(tabBuilding4[i]) && (!tabBuilding4[i].Dead)) {
tabBuilding4[i].HP = tabBuilding4[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(3);
if ((tabBuilding4[i].HP <= 80) && (tabBuilding4[i].HP > 60)) {
tabBuilding4[i].gotoAndStop(2);
} else if ((tabBuilding4[i].HP <= 60) && (tabBuilding4[i].HP > 40)) {
tabBuilding4[i].gotoAndStop(3);
} else if ((tabBuilding4[i].HP <= 40) && (tabBuilding4[i].HP > 20)) {
tabBuilding4[i].gotoAndStop(4);
} else if ((tabBuilding4[i].HP <= 20) && (tabBuilding4[i].HP > 0)) {
tabBuilding4[i].gotoAndStop(5);
}
if (tabBuilding4[i].HP <= 0) {
tabBuilding4[i].gotoAndStop(6);
tabBuilding4[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding5.length) {
if (Hit.hitTest(tabBuilding5[i]) && (!tabBuilding5[i].Dead)) {
tabBuilding5[i].HP = tabBuilding5[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(3);
if ((tabBuilding5[i].HP <= 80) && (tabBuilding5[i].HP > 60)) {
tabBuilding5[i].gotoAndStop(2);
} else if ((tabBuilding5[i].HP <= 60) && (tabBuilding5[i].HP > 40)) {
tabBuilding5[i].gotoAndStop(3);
} else if ((tabBuilding5[i].HP <= 40) && (tabBuilding5[i].HP > 20)) {
tabBuilding5[i].gotoAndStop(4);
} else if ((tabBuilding5[i].HP <= 20) && (tabBuilding5[i].HP > 0)) {
tabBuilding5[i].gotoAndStop(5);
}
if (tabBuilding5[i].HP <= 0) {
tabBuilding5[i].gotoAndStop(6);
tabBuilding5[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding6.length) {
if (Hit.hitTest(tabBuilding6[i]) && (!tabBuilding6[i].Dead)) {
tabBuilding6[i].HP = tabBuilding6[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(3);
if ((tabBuilding6[i].HP <= 80) && (tabBuilding6[i].HP > 60)) {
tabBuilding6[i].gotoAndStop(2);
} else if ((tabBuilding6[i].HP <= 60) && (tabBuilding6[i].HP > 40)) {
tabBuilding6[i].gotoAndStop(3);
} else if ((tabBuilding6[i].HP <= 40) && (tabBuilding6[i].HP > 20)) {
tabBuilding6[i].gotoAndStop(4);
} else if ((tabBuilding6[i].HP <= 20) && (tabBuilding6[i].HP > 0)) {
tabBuilding6[i].gotoAndStop(5);
}
if (tabBuilding6[i].HP <= 0) {
tabBuilding6[i].gotoAndStop(6);
tabBuilding6[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding7.length) {
if (Hit.hitTest(tabBuilding7[i]) && (!tabBuilding7[i].Dead)) {
tabBuilding7[i].HP = tabBuilding7[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(3);
if ((tabBuilding7[i].HP <= 70) && (tabBuilding7[i].HP > 60)) {
tabBuilding7[i].gotoAndStop(2);
} else if ((tabBuilding7[i].HP <= 60) && (tabBuilding7[i].HP > 45)) {
tabBuilding7[i].gotoAndStop(3);
} else if ((tabBuilding7[i].HP <= 45) && (tabBuilding7[i].HP > 20)) {
tabBuilding7[i].gotoAndStop(4);
} else if ((tabBuilding7[i].HP <= 20) && (tabBuilding7[i].HP > 0)) {
tabBuilding7[i].gotoAndStop(5);
} else if (tabBuilding7[i].HP <= 0) {
tabBuilding7[i].gotoAndStop(6);
tabBuilding7[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding8.length) {
if (Hit.hitTest(tabBuilding8[i]) && (!tabBuilding8[i].Dead)) {
tabBuilding8[i].HP = tabBuilding8[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(3);
if ((tabBuilding8[i].HP <= 80) && (tabBuilding8[i].HP > 60)) {
tabBuilding8[i].gotoAndStop(2);
} else if ((tabBuilding8[i].HP <= 60) && (tabBuilding8[i].HP > 40)) {
tabBuilding8[i].gotoAndStop(3);
} else if ((tabBuilding8[i].HP <= 40) && (tabBuilding8[i].HP > 20)) {
tabBuilding8[i].gotoAndStop(4);
} else if ((tabBuilding8[i].HP <= 20) && (tabBuilding8[i].HP > 0)) {
tabBuilding8[i].gotoAndStop(5);
}
if (tabBuilding8[i].HP <= 0) {
tabBuilding8[i].gotoAndStop(6);
tabBuilding8[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding9.length) {
if (Hit.hitTest(tabBuilding9[i]) && (!tabBuilding9[i].Dead)) {
tabBuilding9[i].HP = tabBuilding9[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(3);
if ((tabBuilding9[i].HP <= 70) && (tabBuilding9[i].HP > 60)) {
tabBuilding9[i].gotoAndStop(2);
} else if ((tabBuilding9[i].HP <= 60) && (tabBuilding9[i].HP > 45)) {
tabBuilding9[i].gotoAndStop(3);
} else if ((tabBuilding9[i].HP <= 45) && (tabBuilding9[i].HP > 20)) {
tabBuilding9[i].gotoAndStop(4);
} else if ((tabBuilding9[i].HP <= 20) && (tabBuilding9[i].HP > 0)) {
tabBuilding9[i].gotoAndStop(5);
} else if (tabBuilding9[i].HP <= 0) {
tabBuilding9[i].gotoAndStop(6);
tabBuilding9[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding10.length) {
if (Hit.hitTest(tabBuilding10[i]) && (!tabBuilding10[i].Dead)) {
tabBuilding10[i].HP = tabBuilding10[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(3);
if ((tabBuilding10[i].HP <= 80) && (tabBuilding10[i].HP > 60)) {
tabBuilding10[i].gotoAndStop(2);
} else if ((tabBuilding10[i].HP <= 60) && (tabBuilding10[i].HP > 40)) {
tabBuilding10[i].gotoAndStop(3);
} else if ((tabBuilding10[i].HP <= 40) && (tabBuilding10[i].HP > 20)) {
tabBuilding10[i].gotoAndStop(4);
} else if ((tabBuilding10[i].HP <= 20) && (tabBuilding10[i].HP > 0)) {
tabBuilding10[i].gotoAndStop(5);
}
if (tabBuilding10[i].HP <= 0) {
tabBuilding10[i].gotoAndStop(6);
tabBuilding10[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding11.length) {
if (Hit.hitTest(tabBuilding11[i]) && (!tabBuilding11[i].Dead)) {
tabBuilding11[i].HP = tabBuilding11[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(3);
if ((tabBuilding11[i].HP <= 80) && (tabBuilding11[i].HP > 60)) {
tabBuilding11[i].gotoAndStop(2);
} else if ((tabBuilding11[i].HP <= 60) && (tabBuilding11[i].HP > 40)) {
tabBuilding11[i].gotoAndStop(3);
} else if ((tabBuilding11[i].HP <= 40) && (tabBuilding11[i].HP > 20)) {
tabBuilding11[i].gotoAndStop(4);
} else if ((tabBuilding11[i].HP <= 20) && (tabBuilding11[i].HP > 0)) {
tabBuilding11[i].gotoAndStop(5);
}
if (tabBuilding11[i].HP <= 0) {
tabBuilding11[i].gotoAndStop(6);
tabBuilding11[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabVehicule1.length) {
if (Hit.hitTest(tabVehicule1[i]) && (!tabVehicule1[i].Dead)) {
tabVehicule1[i].HP = tabVehicule1[i].HP - 15;
Bullet.gotoAndStop(3);
if (tabVehicule1[i].HP <= 0) {
tabVehicule1[i].gotoAndPlay(2);
tabVehicule1[i].Dead = true;
_global.Money = _global.Money + 30;
}
}
i++;
}
i = 0;
while (i < tabVehicule2.length) {
if (Hit.hitTest(tabVehicule2[i]) && (!tabVehicule2[i].Dead)) {
tabVehicule2[i].HP = tabVehicule2[i].HP - 15;
Bullet.gotoAndStop(3);
if (tabVehicule2[i].HP <= 0) {
tabVehicule2[i].gotoAndStop(2);
tabVehicule2[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabAnt1.length) {
if (Hit.hitTest(tabAnt1[i]) && (!tabAnt1[i].Dead)) {
tabAnt1[i].HP = tabAnt1[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(3);
if ((tabAnt1[i].HP <= 70) && (tabAnt1[i].HP > 60)) {
tabAnt1[i].gotoAndStop(2);
} else if ((tabAnt1[i].HP <= 60) && (tabAnt1[i].HP > 45)) {
tabAnt1[i].gotoAndStop(3);
} else if ((tabAnt1[i].HP <= 45) && (tabAnt1[i].HP > 20)) {
tabAnt1[i].gotoAndStop(4);
} else if ((tabAnt1[i].HP <= 20) && (tabAnt1[i].HP > 0)) {
tabAnt1[i].gotoAndStop(5);
}
if (tabAnt1[i].HP <= 0) {
tabAnt1[i].gotoAndStop(6);
tabAnt1[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabAnt2.length) {
if (Hit.hitTest(tabAnt2[i]) && (!tabAnt2[i].Dead)) {
tabAnt2[i].HP = tabAnt2[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(3);
if ((tabAnt2[i].HP <= 70) && (tabAnt2[i].HP > 60)) {
tabAnt2[i].gotoAndStop(2);
} else if ((tabAnt2[i].HP <= 60) && (tabAnt2[i].HP > 45)) {
tabAnt2[i].gotoAndStop(3);
} else if ((tabAnt2[i].HP <= 45) && (tabAnt2[i].HP > 20)) {
tabAnt2[i].gotoAndStop(4);
} else if ((tabAnt2[i].HP <= 20) && (tabAnt2[i].HP > 0)) {
tabAnt2[i].gotoAndStop(5);
} else if (tabAnt2[i].HP <= 0) {
tabAnt2[i].gotoAndStop(6);
tabAnt2[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabArbre.length) {
if (Hit.hitTest(tabArbre[i]) && (!tabArbre[i].Dead)) {
tabArbre[i].HP = tabArbre[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(3);
if ((tabArbre[i].HP <= 80) && (tabArbre[i].HP > 60)) {
tabArbre[i].gotoAndStop(2);
} else if ((tabArbre[i].HP <= 60) && (tabArbre[i].HP > 40)) {
tabArbre[i].gotoAndStop(3);
} else if ((tabArbre[i].HP <= 40) && (tabArbre[i].HP > 20)) {
tabArbre[i].gotoAndStop(4);
} else if ((tabArbre[i].HP <= 20) && (tabArbre[i].HP > 0)) {
tabArbre[i].gotoAndStop(5);
}
if (tabArbre[i].HP <= 0) {
tabArbre[i].gotoAndStop(6);
tabArbre[i].Dead = true;
_global.Money = _global.Money + 10;
}
}
i++;
}
i = 0;
while (i < tabBaril.length) {
if (Hit.hitTest(tabBaril[i])) {
Bullet.gotoAndStop(3);
if (tabBaril[i]._currentFrame == 1) {
tabBaril[i].gotoAndPlay(2);
_global.Money = _global.Money + 20;
}
}
i++;
}
i = 0;
while (i < tabZombie.length) {
if (Hit.hitTest(tabZombie[i].zomb.Head) && (!tabZombie[i].Dead)) {
tabZombie[i].HP = tabZombie[i].HP - (_global.tabBulletDmg[_global.PowerUpgrade] * 2);
Bullet.gotoAndStop(2);
Impact2.gotoAndStop(2);
if (tabZombie[i].HP <= 0) {
noDeath = random(3) + 1;
tabZombie[i].gotoAndStop(2);
if (noDeath == 2) {
tabZombie[i].zomb2.gotoAndPlay(29);
} else if (noDeath == 3) {
tabZombie[i].zomb2.gotoAndPlay(58);
}
tabZombie[i].Dead = true;
_global.Money = _global.Money + 100;
_global.KillCount++;
_root.HeadShot.play();
_root.HeadShot._x = _root.Cross._x;
_root.HeadShot._y = _root.Cross._y;
}
} else if (Hit.hitTest(tabZombie[i]) && (!tabZombie[i].Dead)) {
tabZombie[i].HP = tabZombie[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(2);
Impact2.gotoAndStop(2);
if (tabZombie[i].HP <= 0) {
noDeath = random(3) + 1;
tabZombie[i].gotoAndStop(2);
if (noDeath == 2) {
tabZombie[i].zomb2.gotoAndPlay(29);
} else if (noDeath == 3) {
tabZombie[i].zomb2.gotoAndPlay(58);
}
tabZombie[i].Dead = true;
_global.Money = _global.Money + 50;
_global.KillCount++;
}
}
i++;
}
i = 0;
while (i < tabZombie2.length) {
if (Hit.hitTest(tabZombie2[i].zomb.Head) && (!tabZombie2[i].Dead)) {
tabZombie2[i].HP = tabZombie2[i].HP - (_global.tabBulletDmg[_global.PowerUpgrade] * 2);
Bullet.gotoAndStop(2);
Impact2.gotoAndStop(2);
if (tabZombie2[i].HP <= 0) {
tabZombie2[i].gotoAndStop(5);
tabZombie2[i].zomb2.gotoAndPlay(11);
tabZombie2[i].Dead = true;
_global.KillCount2++;
_global.Money = _global.Money + 200;
_root.HeadShot.play();
_root.HeadShot._x = _root.Cross._x;
_root.HeadShot._y = _root.Cross._y;
}
} else if (Hit.hitTest(tabZombie2[i]) && (!tabZombie2[i].Dead)) {
tabZombie2[i].HP = tabZombie2[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(2);
Impact2.gotoAndStop(2);
if (tabZombie2[i].HP <= 0) {
tabZombie2[i].gotoAndStop(5);
tabZombie2[i].Dead = true;
_global.KillCount2++;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabZombie3.length) {
if (Hit.hitTest(tabZombie3[i].zomb.Head) && (!tabZombie3[i].Dead)) {
tabZombie3[i].HP = tabZombie3[i].HP - (_global.tabBulletDmg[_global.PowerUpgrade] * 2);
Bullet.gotoAndStop(2);
Impact2.gotoAndStop(2);
if (tabZombie3[i].HP <= 0) {
tabZombie3[i].gotoAndStop(2);
tabZombie3[i].zomb2.gotoAndPlay(22);
tabZombie2[i].Dead = true;
_global.KillCount3++;
_global.Money = _global.Money + 150;
_root.HeadShot.play();
_root.HeadShot._x = _root.Cross._x;
_root.HeadShot._y = _root.Cross._y;
}
} else if (Hit.hitTest(tabZombie3[i]) && (!tabZombie3[i].Dead)) {
tabZombie3[i].HP = tabZombie3[i].HP - _global.tabBulletDmg[_global.PowerUpgrade];
Bullet.gotoAndStop(2);
Impact2.gotoAndStop(2);
if (tabZombie3[i].HP <= 0) {
noDeath = random(3) + 1;
tabZombie3[i].gotoAndStop(2);
if (noDeath == 2) {
tabZombie3[i].zomb2.gotoAndPlay(11);
}
tabZombie3[i].gotoAndStop(2);
tabZombie3[i].Dead = true;
_global.KillCount3++;
_global.Money = _global.Money + 100;
}
}
i++;
}
Symbol 60 MovieClip [AkBullet] Frame 31
stop();
Symbol 65 MovieClip [Char2] Frame 1
stop();
Dead = false;
HP = 1;
Symbol 65 MovieClip [Char2] Frame 2
_global.RocketSound = new Sound();
_global.RocketSound.attachSound("Rocket");
_global.RocketSound.start();
_root.ShakeNumber = 40;
_global.Combo++;
if (_global.Combo > 1) {
_root.ComboTimer.gotoAndPlay(2);
}
Symbol 65 MovieClip [Char2] Frame 8
tabZombie = [_root.Gameplay.Zombie_1, _root.Gameplay.Zombie_2, _root.Gameplay.Zombie_3, _root.Gameplay.Zombie_4, _root.Gameplay.Zombie_5, _root.Gameplay.Zombie_6, _root.Gameplay.Zombie_7, _root.Gameplay.Zombie_8, _root.Gameplay.Zombie_9, _root.Gameplay.Zombie_10, _root.Gameplay.Zombie_11, _root.Gameplay.Zombie_12, _root.Gameplay.Zombie_13, _root.Gameplay.Zombie_14, _root.Gameplay.Zombie_15, _root.Gameplay.Zombie_16, _root.Gameplay.Zombie_17, _root.Gameplay.Zombie_18, _root.Gameplay.Zombie_19, _root.Gameplay.Zombie_20, _root.Gameplay.Zombie_21, _root.Gameplay.Zombie_22, _root.Gameplay.Zombie_23, _root.Gameplay.Zombie_24, _root.Gameplay.Zombie_25, _root.Gameplay.Zombie_26, _root.Gameplay.Zombie_27, _root.Gameplay.Zombie_28, _root.Gameplay.Zombie_29, _root.Gameplay.Zombie_30, _root.Gameplay.Zombie_31, _root.Gameplay.Zombie_32, _root.Gameplay.Zombie_33, _root.Gameplay.Zombie_34, _root.Gameplay.Zombie_35, _root.Gameplay.Zombie_36, _root.Gameplay.Zombie_37, _root.Gameplay.Zombie_38, _root.Gameplay.Zombie_39, _root.Gameplay.Zombie_40, _root.Gameplay.Zombie_41, _root.Gameplay.Zombie_42, _root.Gameplay.Zombie_43, _root.Gameplay.Zombie_44, _root.Gameplay.Zombie_45, _root.Gameplay.Zombie_46, _root.Gameplay.Zombie_47, _root.Gameplay.Zombie_48, _root.Gameplay.Zombie_49, _root.Gameplay.Zombie_50, _root.Gameplay.Zombie_51, _root.Gameplay.Zombie_52, _root.Gameplay.Zombie_53, _root.Gameplay.Zombie_54, _root.Gameplay.Zombie_55, _root.Gameplay.Zombie_56, _root.Gameplay.Zombie_57, _root.Gameplay.Zombie_58, _root.Gameplay.Zombie_59, _root.Gameplay.Zombie_60, _root.Gameplay.Zombie_61, _root.Gameplay.Zombie_62, _root.Gameplay.Zombie_63, _root.Gameplay.Zombie_64, _root.Gameplay.Zombie_65, _root.Gameplay.Zombie_66, _root.Gameplay.Zombie_67, _root.Gameplay.Zombie_68, _root.Gameplay.Zombie_69, _root.Gameplay.Zombie_70, _root.Gameplay.Zombie_71, _root.Gameplay.Zombie_72, _root.Gameplay.Zombie_73, _root.Gameplay.Zombie_74, _root.Gameplay.Zombie_75, _root.Gameplay.Zombie_76, _root.Gameplay.Zombie_77, _root.Gameplay.Zombie_7, _root.Gameplay.Zombie_79, _root.Gameplay.Zombie_80];
tabZombie2 = [_root.Gameplay.Zombie2_1, _root.Gameplay.Zombie2_2, _root.Gameplay.Zombie2_3, _root.Gameplay.Zombie2_4, _root.Gameplay.Zombie2_5, _root.Gameplay.Zombie2_6, _root.Gameplay.Zombie2_7, _root.Gameplay.Zombie2_8, _root.Gameplay.Zombie2_9, _root.Gameplay.Zombie2_10, _root.Gameplay.Zombie2_11, _root.Gameplay.Zombie2_12, _root.Gameplay.Zombie2_13, _root.Gameplay.Zombie2_14, _root.Gameplay.Zombie2_15, _root.Gameplay.Zombie2_16, _root.Gameplay.Zombie2_17, _root.Gameplay.Zombie2_18, _root.Gameplay.Zombie2_19, _root.Gameplay.Zombie2_20, _root.Gameplay.Zombie2_21, _root.Gameplay.Zombie2_22, _root.Gameplay.Zombie2_23, _root.Gameplay.Zombie2_24, _root.Gameplay.Zombie2_25, _root.Gameplay.Zombie2_26, _root.Gameplay.Zombie2_27, _root.Gameplay.Zombie2_28, _root.Gameplay.Zombie2_29, _root.Gameplay.Zombie2_30];
tabZombie3 = [_root.Gameplay.Zombie3_1, _root.Gameplay.Zombie3_2, _root.Gameplay.Zombie3_3, _root.Gameplay.Zombie3_4, _root.Gameplay.Zombie3_5, _root.Gameplay.Zombie3_6, _root.Gameplay.Zombie3_7, _root.Gameplay.Zombie3_8, _root.Gameplay.Zombie3_9, _root.Gameplay.Zombie3_10, _root.Gameplay.Zombie3_11, _root.Gameplay.Zombie3_12, _root.Gameplay.Zombie3_13, _root.Gameplay.Zombie3_14, _root.Gameplay.Zombie3_15, _root.Gameplay.Zombie3_16, _root.Gameplay.Zombie3_17, _root.Gameplay.Zombie3_18, _root.Gameplay.Zombie3_19, _root.Gameplay.Zombie3_20, _root.Gameplay.Zombie3_21, _root.Gameplay.Zombie3_22, _root.Gameplay.Zombie3_23, _root.Gameplay.Zombie3_24, _root.Gameplay.Zombie3_25, _root.Gameplay.Zombie3_26, _root.Gameplay.Zombie3_27, _root.Gameplay.Zombie3_28, _root.Gameplay.Zombie3_29, _root.Gameplay.Zombie3_30];
tabBuilding = [_root.Gameplay.Building_1, _root.Gameplay.Building_2, _root.Gameplay.Building_3, _root.Gameplay.Building_4, _root.Gameplay.Building_5, _root.Gameplay.Building_6, _root.Gameplay.Building_7, _root.Gameplay.Building_8, _root.Gameplay.Building_9, _root.Gameplay.Building_10];
tabBuilding2 = [_root.Gameplay.Building2_1, _root.Gameplay.Building2_2, _root.Gameplay.Building2_3, _root.Gameplay.Building2_4, _root.Gameplay.Building2_5, _root.Gameplay.Building2_6, _root.Gameplay.Building2_7, _root.Gameplay.Building2_8, _root.Gameplay.Building2_9, _root.Gameplay.Building2_10];
tabBuilding3 = [_root.Gameplay.Building3_1, _root.Gameplay.Building3_2, _root.Gameplay.Building3_3, _root.Gameplay.Building3_4, _root.Gameplay.Building3_5, _root.Gameplay.Building3_6, _root.Gameplay.Building3_7, _root.Gameplay.Building3_8, _root.Gameplay.Building3_9, _root.Gameplay.Building3_10];
tabBuilding4 = [_root.Gameplay.Building4_1, _root.Gameplay.Building4_2, _root.Gameplay.Building4_3, _root.Gameplay.Building4_4, _root.Gameplay.Building4_5, _root.Gameplay.Building4_6, _root.Gameplay.Building4_7, _root.Gameplay.Building4_8, _root.Gameplay.Building4_9, _root.Gameplay.Building4_10];
tabBuilding5 = [_root.Gameplay.Building5_1, _root.Gameplay.Building5_2, _root.Gameplay.Building5_3, _root.Gameplay.Building5_4, _root.Gameplay.Building5_5, _root.Gameplay.Building5_6, _root.Gameplay.Building5_7, _root.Gameplay.Building5_8, _root.Gameplay.Building5_9, _root.Gameplay.Building5_10];
tabBaril = [_root.Gameplay.Baril_1, _root.Gameplay.Baril_2, _root.Gameplay.Baril_3, _root.Gameplay.Baril_4, _root.Gameplay.Baril_5];
i = 0;
while (i < tabZombie.length) {
if (Smoke.hitTest(tabZombie[i]) && (!tabZombie[i].Dead)) {
tabZombie[i].HP = tabZombie[i].HP - 15;
Bullet.gotoAndStop(2);
if (tabZombie[i].HP <= 0) {
noDeath = random(3) + 1;
tabZombie[i].gotoAndStop(2);
if (noDeath == 2) {
tabZombie[i].zomb2.gotoAndPlay(29);
} else if (noDeath == 3) {
tabZombie[i].zomb2.gotoAndPlay(58);
}
tabZombie[i].Dead = true;
_global.Money = _global.Money + 50;
_global.KillCount++;
}
}
i++;
}
i = 0;
while (i < tabZombie2.length) {
if (Smoke.hitTest(tabZombie2[i]) && (!tabZombie2[i].Dead)) {
tabZombie2[i].HP = tabZombie2[i].HP - 15;
Bullet.gotoAndStop(2);
if (tabZombie2[i].HP <= 0) {
tabZombie2[i].gotoAndStop(5);
tabZombie2[i].Dead = true;
_global.Money = _global.Money + 150;
_global.KillCount2++;
}
}
i++;
}
i = 0;
while (i < tabZombie3.length) {
if (Smoke.hitTest(tabZombie3[i]) && (!tabZombie3[i].Dead)) {
tabZombie3[i].HP = tabZombie3[i].HP - 15;
Bullet.gotoAndStop(2);
if (tabZombie3[i].HP <= 0) {
noDeath = random(3) + 1;
tabZombie3[i].gotoAndStop(2);
if (noDeath == 2) {
tabZombie3[i].zomb2.gotoAndPlay(11);
}
tabZombie3[i].gotoAndStop(2);
tabZombie3[i].Dead = true;
_global.KillCount3++;
_global.Money = _global.Money + 100;
}
}
i++;
}
i = 0;
while (i < tabBuilding.length) {
if (Smoke.hitTest(tabBuilding[i]) && (!tabBuilding[i].Dead)) {
tabBuilding[i].HP = tabBuilding[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding[i].HP <= 40) && (tabBuilding[i].HP > 30)) {
tabBuilding[i].gotoAndStop(2);
} else if ((tabBuilding[i].HP <= 30) && (tabBuilding[i].HP > 20)) {
tabBuilding[i].gotoAndStop(3);
} else if ((tabBuilding[i].HP <= 20) && (tabBuilding[i].HP > 10)) {
tabBuilding[i].gotoAndStop(4);
} else if ((tabBuilding[i].HP <= 10) && (tabBuilding[i].HP > 0)) {
tabBuilding[i].gotoAndStop(5);
}
if (tabBuilding[i].HP <= 0) {
tabBuilding[i].gotoAndStop(6);
tabBuilding[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding2.length) {
if (Smoke.hitTest(tabBuilding2[i]) && (!tabBuilding2[i].Dead)) {
tabBuilding2[i].HP = tabBuilding2[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding2[i].HP <= 40) && (tabBuilding2[i].HP > 30)) {
tabBuilding2[i].gotoAndStop(2);
} else if ((tabBuilding2[i].HP <= 30) && (tabBuilding2[i].HP > 20)) {
tabBuilding2[i].gotoAndStop(3);
} else if ((tabBuilding2[i].HP <= 20) && (tabBuilding2[i].HP > 10)) {
tabBuilding2[i].gotoAndStop(4);
} else if ((tabBuilding2[i].HP <= 10) && (tabBuilding2[i].HP > 0)) {
tabBuilding2[i].gotoAndStop(5);
}
if (tabBuilding2[i].HP <= 0) {
tabBuilding2[i].gotoAndStop(6);
tabBuilding2[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding3.length) {
if (Smoke.hitTest(tabBuilding3[i]) && (!tabBuilding3[i].Dead)) {
tabBuilding3[i].HP = tabBuilding3[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding3[i].HP <= 40) && (tabBuilding3[i].HP > 30)) {
tabBuilding3[i].gotoAndStop(2);
} else if ((tabBuilding3[i].HP <= 30) && (tabBuilding3[i].HP > 20)) {
tabBuilding3[i].gotoAndStop(3);
} else if ((tabBuilding3[i].HP <= 20) && (tabBuilding3[i].HP > 10)) {
tabBuilding3[i].gotoAndStop(4);
} else if ((tabBuilding3[i].HP <= 10) && (tabBuilding3[i].HP > 0)) {
tabBuilding3[i].gotoAndStop(5);
}
if (tabBuilding3[i].HP <= 0) {
tabBuilding3[i].gotoAndStop(6);
tabBuilding3[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding4.length) {
if (Smoke.hitTest(tabBuilding4[i]) && (!tabBuilding4[i].Dead)) {
tabBuilding4[i].HP = tabBuilding4[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding4[i].HP <= 40) && (tabBuilding4[i].HP > 30)) {
tabBuilding4[i].gotoAndStop(2);
} else if ((tabBuilding4[i].HP <= 30) && (tabBuilding4[i].HP > 20)) {
tabBuilding4[i].gotoAndStop(3);
} else if ((tabBuilding4[i].HP <= 20) && (tabBuilding4[i].HP > 10)) {
tabBuilding4[i].gotoAndStop(4);
} else if ((tabBuilding4[i].HP <= 10) && (tabBuilding4[i].HP > 0)) {
tabBuilding4[i].gotoAndStop(5);
}
if (tabBuilding4[i].HP <= 0) {
tabBuilding4[i].gotoAndStop(6);
tabBuilding4[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding5.length) {
if (Smoke.hitTest(tabBuilding5[i]) && (!tabBuilding5[i].Dead)) {
tabBuilding5[i].HP = tabBuilding5[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding5[i].HP <= 40) && (tabBuilding5[i].HP > 30)) {
tabBuilding5[i].gotoAndStop(2);
} else if ((tabBuilding5[i].HP <= 30) && (tabBuilding5[i].HP > 20)) {
tabBuilding5[i].gotoAndStop(3);
} else if ((tabBuilding5[i].HP <= 20) && (tabBuilding5[i].HP > 10)) {
tabBuilding5[i].gotoAndStop(4);
} else if ((tabBuilding5[i].HP <= 10) && (tabBuilding5[i].HP > 0)) {
tabBuilding5[i].gotoAndStop(5);
}
if (tabBuilding5[i].HP <= 0) {
tabBuilding5[i].gotoAndStop(6);
tabBuilding5[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding6.length) {
if (Smoke.hitTest(tabBuilding6[i]) && (!tabBuilding6[i].Dead)) {
tabBuilding6[i].HP = tabBuilding6[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding6[i].HP <= 80) && (tabBuilding6[i].HP > 60)) {
tabBuilding6[i].gotoAndStop(2);
} else if ((tabBuilding6[i].HP <= 60) && (tabBuilding6[i].HP > 40)) {
tabBuilding6[i].gotoAndStop(3);
} else if ((tabBuilding6[i].HP <= 40) && (tabBuilding6[i].HP > 20)) {
tabBuilding6[i].gotoAndStop(4);
} else if ((tabBuilding6[i].HP <= 20) && (tabBuilding6[i].HP > 0)) {
tabBuilding6[i].gotoAndStop(5);
}
if (tabBuilding6[i].HP <= 0) {
tabBuilding6[i].gotoAndStop(6);
tabBuilding6[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding7.length) {
if (Smoke.hitTest(tabBuilding7[i]) && (!tabBuilding7[i].Dead)) {
tabBuilding7[i].HP = tabBuilding7[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding7[i].HP <= 70) && (tabBuilding7[i].HP > 60)) {
tabBuilding7[i].gotoAndStop(2);
} else if ((tabBuilding7[i].HP <= 60) && (tabBuilding7[i].HP > 45)) {
tabBuilding7[i].gotoAndStop(3);
} else if ((tabBuilding7[i].HP <= 45) && (tabBuilding7[i].HP > 20)) {
tabBuilding7[i].gotoAndStop(4);
} else if ((tabBuilding7[i].HP <= 20) && (tabBuilding7[i].HP > 0)) {
tabBuilding7[i].gotoAndStop(5);
} else if (tabBuilding7[i].HP <= 0) {
tabBuilding7[i].gotoAndStop(6);
tabBuilding7[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding8.length) {
if (Smoke.hitTest(tabBuilding8[i]) && (!tabBuilding8[i].Dead)) {
tabBuilding8[i].HP = tabBuilding8[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding8[i].HP <= 80) && (tabBuilding8[i].HP > 60)) {
tabBuilding8[i].gotoAndStop(2);
} else if ((tabBuilding8[i].HP <= 60) && (tabBuilding8[i].HP > 40)) {
tabBuilding8[i].gotoAndStop(3);
} else if ((tabBuilding8[i].HP <= 40) && (tabBuilding8[i].HP > 20)) {
tabBuilding8[i].gotoAndStop(4);
} else if ((tabBuilding8[i].HP <= 20) && (tabBuilding8[i].HP > 0)) {
tabBuilding8[i].gotoAndStop(5);
}
if (tabBuilding8[i].HP <= 0) {
tabBuilding8[i].gotoAndStop(6);
tabBuilding8[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding9.length) {
if (Smoke.hitTest(tabBuilding9[i]) && (!tabBuilding9[i].Dead)) {
tabBuilding9[i].HP = tabBuilding9[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding9[i].HP <= 70) && (tabBuilding9[i].HP > 60)) {
tabBuilding9[i].gotoAndStop(2);
} else if ((tabBuilding9[i].HP <= 60) && (tabBuilding9[i].HP > 45)) {
tabBuilding9[i].gotoAndStop(3);
} else if ((tabBuilding9[i].HP <= 45) && (tabBuilding9[i].HP > 20)) {
tabBuilding9[i].gotoAndStop(4);
} else if ((tabBuilding9[i].HP <= 20) && (tabBuilding9[i].HP > 0)) {
tabBuilding9[i].gotoAndStop(5);
} else if (tabBuilding9[i].HP <= 0) {
tabBuilding9[i].gotoAndStop(6);
tabBuilding9[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding10.length) {
if (Smoke.hitTest(tabBuilding10[i]) && (!tabBuilding10[i].Dead)) {
tabBuilding10[i].HP = tabBuilding10[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding10[i].HP <= 80) && (tabBuilding10[i].HP > 60)) {
tabBuilding10[i].gotoAndStop(2);
} else if ((tabBuilding10[i].HP <= 60) && (tabBuilding10[i].HP > 40)) {
tabBuilding10[i].gotoAndStop(3);
} else if ((tabBuilding10[i].HP <= 40) && (tabBuilding10[i].HP > 20)) {
tabBuilding10[i].gotoAndStop(4);
} else if ((tabBuilding10[i].HP <= 20) && (tabBuilding10[i].HP > 0)) {
tabBuilding10[i].gotoAndStop(5);
}
if (tabBuilding10[i].HP <= 0) {
tabBuilding10[i].gotoAndStop(6);
tabBuilding10[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding11.length) {
if (Smoke.hitTest(tabBuilding11[i]) && (!tabBuilding11[i].Dead)) {
tabBuilding11[i].HP = tabBuilding11[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding11[i].HP <= 80) && (tabBuilding11[i].HP > 60)) {
tabBuilding11[i].gotoAndStop(2);
} else if ((tabBuilding11[i].HP <= 60) && (tabBuilding11[i].HP > 40)) {
tabBuilding11[i].gotoAndStop(3);
} else if ((tabBuilding11[i].HP <= 40) && (tabBuilding11[i].HP > 20)) {
tabBuilding11[i].gotoAndStop(4);
} else if ((tabBuilding11[i].HP <= 20) && (tabBuilding11[i].HP > 0)) {
tabBuilding11[i].gotoAndStop(5);
}
if (tabBuilding11[i].HP <= 0) {
tabBuilding11[i].gotoAndStop(6);
tabBuilding11[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabVehicule1.length) {
if (Smoke.hitTest(tabVehicule1[i]) && (!tabVehicule1[i].Dead)) {
tabVehicule1[i].HP = tabVehicule1[i].HP - 15;
Bullet.gotoAndStop(3);
if (tabVehicule1[i].HP <= 0) {
tabVehicule1[i].gotoAndPlay(2);
tabVehicule1[i].Dead = true;
_global.Money = _global.Money + 30;
}
}
i++;
}
i = 0;
while (i < tabVehicule2.length) {
if (Smoke.hitTest(tabVehicule2[i]) && (!tabVehicule2[i].Dead)) {
tabVehicule2[i].HP = tabVehicule2[i].HP - 15;
Bullet.gotoAndStop(3);
if (tabVehicule2[i].HP <= 0) {
tabVehicule2[i].gotoAndStop(2);
tabVehicule2[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabAnt1.length) {
if (Smoke.hitTest(tabAnt1[i]) && (!tabAnt1[i].Dead)) {
tabAnt1[i].HP = tabAnt1[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabAnt1[i].HP <= 70) && (tabAnt1[i].HP > 60)) {
tabAnt1[i].gotoAndStop(2);
} else if ((tabAnt1[i].HP <= 60) && (tabAnt1[i].HP > 45)) {
tabAnt1[i].gotoAndStop(3);
} else if ((tabAnt1[i].HP <= 45) && (tabAnt1[i].HP > 20)) {
tabAnt1[i].gotoAndStop(4);
} else if ((tabAnt1[i].HP <= 20) && (tabAnt1[i].HP > 0)) {
tabAnt1[i].gotoAndStop(5);
}
if (tabAnt1[i].HP <= 0) {
tabAnt1[i].gotoAndStop(6);
tabAnt1[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabAnt2.length) {
if (Smoke.hitTest(tabAnt2[i]) && (!tabAnt2[i].Dead)) {
tabAnt2[i].HP = tabAnt2[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabAnt2[i].HP <= 70) && (tabAnt2[i].HP > 60)) {
tabAnt2[i].gotoAndStop(2);
} else if ((tabAnt2[i].HP <= 60) && (tabAnt2[i].HP > 45)) {
tabAnt2[i].gotoAndStop(3);
} else if ((tabAnt2[i].HP <= 45) && (tabAnt2[i].HP > 20)) {
tabAnt2[i].gotoAndStop(4);
} else if ((tabAnt2[i].HP <= 20) && (tabAnt2[i].HP > 0)) {
tabAnt2[i].gotoAndStop(5);
} else if (tabAnt2[i].HP <= 0) {
tabAnt2[i].gotoAndStop(6);
tabAnt2[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabArbre.length) {
if (Smoke.hitTest(tabArbre[i]) && (!tabArbre[i].Dead)) {
tabArbre[i].HP = tabArbre[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabArbre[i].HP <= 80) && (tabArbre[i].HP > 60)) {
tabArbre[i].gotoAndStop(2);
} else if ((tabArbre[i].HP <= 60) && (tabArbre[i].HP > 40)) {
tabArbre[i].gotoAndStop(3);
} else if ((tabArbre[i].HP <= 40) && (tabArbre[i].HP > 20)) {
tabArbre[i].gotoAndStop(4);
} else if ((tabArbre[i].HP <= 20) && (tabArbre[i].HP > 0)) {
tabArbre[i].gotoAndStop(5);
}
if (tabArbre[i].HP <= 0) {
tabArbre[i].gotoAndStop(6);
tabArbre[i].Dead = true;
_global.Money = _global.Money + 10;
}
}
i++;
}
i = 0;
while (i < tabBaril.length) {
if (Smoke.hitTest(tabBaril[i])) {
if (tabBaril[i]._currentFrame == 1) {
_global.Money = _global.Money + 20;
tabBaril[i].gotoAndPlay(2);
}
}
i++;
}
Symbol 65 MovieClip [Char2] Frame 12
stop();
this.removeMovieClip();
Symbol 72 MovieClip [Char1] Frame 1
stop();
Dead = false;
HP = 1;
Symbol 72 MovieClip [Char1] Frame 2
_global.RocketSound = new Sound();
_global.RocketSound.attachSound("Rocket");
_global.RocketSound.start();
_root.ShakeNumber = 40;
_global.Combo++;
if (_global.Combo > 1) {
_root.ComboTimer.gotoAndPlay(2);
}
Symbol 72 MovieClip [Char1] Frame 8
tabZombie = [_root.Gameplay.Zombie_1, _root.Gameplay.Zombie_2, _root.Gameplay.Zombie_3, _root.Gameplay.Zombie_4, _root.Gameplay.Zombie_5, _root.Gameplay.Zombie_6, _root.Gameplay.Zombie_7, _root.Gameplay.Zombie_8, _root.Gameplay.Zombie_9, _root.Gameplay.Zombie_10, _root.Gameplay.Zombie_11, _root.Gameplay.Zombie_12, _root.Gameplay.Zombie_13, _root.Gameplay.Zombie_14, _root.Gameplay.Zombie_15, _root.Gameplay.Zombie_16, _root.Gameplay.Zombie_17, _root.Gameplay.Zombie_18, _root.Gameplay.Zombie_19, _root.Gameplay.Zombie_20, _root.Gameplay.Zombie_21, _root.Gameplay.Zombie_22, _root.Gameplay.Zombie_23, _root.Gameplay.Zombie_24, _root.Gameplay.Zombie_25, _root.Gameplay.Zombie_26, _root.Gameplay.Zombie_27, _root.Gameplay.Zombie_28, _root.Gameplay.Zombie_29, _root.Gameplay.Zombie_30, _root.Gameplay.Zombie_31, _root.Gameplay.Zombie_32, _root.Gameplay.Zombie_33, _root.Gameplay.Zombie_34, _root.Gameplay.Zombie_35, _root.Gameplay.Zombie_36, _root.Gameplay.Zombie_37, _root.Gameplay.Zombie_38, _root.Gameplay.Zombie_39, _root.Gameplay.Zombie_40, _root.Gameplay.Zombie_41, _root.Gameplay.Zombie_42, _root.Gameplay.Zombie_43, _root.Gameplay.Zombie_44, _root.Gameplay.Zombie_45, _root.Gameplay.Zombie_46, _root.Gameplay.Zombie_47, _root.Gameplay.Zombie_48, _root.Gameplay.Zombie_49, _root.Gameplay.Zombie_50, _root.Gameplay.Zombie_51, _root.Gameplay.Zombie_52, _root.Gameplay.Zombie_53, _root.Gameplay.Zombie_54, _root.Gameplay.Zombie_55, _root.Gameplay.Zombie_56, _root.Gameplay.Zombie_57, _root.Gameplay.Zombie_58, _root.Gameplay.Zombie_59, _root.Gameplay.Zombie_60, _root.Gameplay.Zombie_61, _root.Gameplay.Zombie_62, _root.Gameplay.Zombie_63, _root.Gameplay.Zombie_64, _root.Gameplay.Zombie_65, _root.Gameplay.Zombie_66, _root.Gameplay.Zombie_67, _root.Gameplay.Zombie_68, _root.Gameplay.Zombie_69, _root.Gameplay.Zombie_70, _root.Gameplay.Zombie_71, _root.Gameplay.Zombie_72, _root.Gameplay.Zombie_73, _root.Gameplay.Zombie_74, _root.Gameplay.Zombie_75, _root.Gameplay.Zombie_76, _root.Gameplay.Zombie_77, _root.Gameplay.Zombie_7, _root.Gameplay.Zombie_79, _root.Gameplay.Zombie_80];
tabZombie2 = [_root.Gameplay.Zombie2_1, _root.Gameplay.Zombie2_2, _root.Gameplay.Zombie2_3, _root.Gameplay.Zombie2_4, _root.Gameplay.Zombie2_5, _root.Gameplay.Zombie2_6, _root.Gameplay.Zombie2_7, _root.Gameplay.Zombie2_8, _root.Gameplay.Zombie2_9, _root.Gameplay.Zombie2_10, _root.Gameplay.Zombie2_11, _root.Gameplay.Zombie2_12, _root.Gameplay.Zombie2_13, _root.Gameplay.Zombie2_14, _root.Gameplay.Zombie2_15, _root.Gameplay.Zombie2_16, _root.Gameplay.Zombie2_17, _root.Gameplay.Zombie2_18, _root.Gameplay.Zombie2_19, _root.Gameplay.Zombie2_20, _root.Gameplay.Zombie2_21, _root.Gameplay.Zombie2_22, _root.Gameplay.Zombie2_23, _root.Gameplay.Zombie2_24, _root.Gameplay.Zombie2_25, _root.Gameplay.Zombie2_26, _root.Gameplay.Zombie2_27, _root.Gameplay.Zombie2_28, _root.Gameplay.Zombie2_29, _root.Gameplay.Zombie2_30];
tabZombie3 = [_root.Gameplay.Zombie3_1, _root.Gameplay.Zombie3_2, _root.Gameplay.Zombie3_3, _root.Gameplay.Zombie3_4, _root.Gameplay.Zombie3_5, _root.Gameplay.Zombie3_6, _root.Gameplay.Zombie3_7, _root.Gameplay.Zombie3_8, _root.Gameplay.Zombie3_9, _root.Gameplay.Zombie3_10, _root.Gameplay.Zombie3_11, _root.Gameplay.Zombie3_12, _root.Gameplay.Zombie3_13, _root.Gameplay.Zombie3_14, _root.Gameplay.Zombie3_15, _root.Gameplay.Zombie3_16, _root.Gameplay.Zombie3_17, _root.Gameplay.Zombie3_18, _root.Gameplay.Zombie3_19, _root.Gameplay.Zombie3_20, _root.Gameplay.Zombie3_21, _root.Gameplay.Zombie3_22, _root.Gameplay.Zombie3_23, _root.Gameplay.Zombie3_24, _root.Gameplay.Zombie3_25, _root.Gameplay.Zombie3_26, _root.Gameplay.Zombie3_27, _root.Gameplay.Zombie3_28, _root.Gameplay.Zombie3_29, _root.Gameplay.Zombie3_30];
tabBuilding = [_root.Gameplay.Building_1, _root.Gameplay.Building_2, _root.Gameplay.Building_3, _root.Gameplay.Building_4, _root.Gameplay.Building_5, _root.Gameplay.Building_6, _root.Gameplay.Building_7, _root.Gameplay.Building_8, _root.Gameplay.Building_9, _root.Gameplay.Building_10];
tabBuilding2 = [_root.Gameplay.Building2_1, _root.Gameplay.Building2_2, _root.Gameplay.Building2_3, _root.Gameplay.Building2_4, _root.Gameplay.Building2_5, _root.Gameplay.Building2_6, _root.Gameplay.Building2_7, _root.Gameplay.Building2_8, _root.Gameplay.Building2_9, _root.Gameplay.Building2_10];
tabBuilding3 = [_root.Gameplay.Building3_1, _root.Gameplay.Building3_2, _root.Gameplay.Building3_3, _root.Gameplay.Building3_4, _root.Gameplay.Building3_5, _root.Gameplay.Building3_6, _root.Gameplay.Building3_7, _root.Gameplay.Building3_8, _root.Gameplay.Building3_9, _root.Gameplay.Building3_10];
tabBuilding4 = [_root.Gameplay.Building4_1, _root.Gameplay.Building4_2, _root.Gameplay.Building4_3, _root.Gameplay.Building4_4, _root.Gameplay.Building4_5, _root.Gameplay.Building4_6, _root.Gameplay.Building4_7, _root.Gameplay.Building4_8, _root.Gameplay.Building4_9, _root.Gameplay.Building4_10];
tabBuilding5 = [_root.Gameplay.Building5_1, _root.Gameplay.Building5_2, _root.Gameplay.Building5_3, _root.Gameplay.Building5_4, _root.Gameplay.Building5_5, _root.Gameplay.Building5_6, _root.Gameplay.Building5_7, _root.Gameplay.Building5_8, _root.Gameplay.Building5_9, _root.Gameplay.Building5_10];
tabBaril = [_root.Gameplay.Baril_1, _root.Gameplay.Baril_2, _root.Gameplay.Baril_3, _root.Gameplay.Baril_4, _root.Gameplay.Baril_5];
i = 0;
while (i < tabZombie.length) {
if (Smoke.hitTest(tabZombie[i]) && (!tabZombie[i].Dead)) {
tabZombie[i].HP = tabZombie[i].HP - 15;
Bullet.gotoAndStop(2);
if (tabZombie[i].HP <= 0) {
noDeath = random(3) + 1;
tabZombie[i].gotoAndStop(2);
if (noDeath == 2) {
tabZombie[i].zomb2.gotoAndPlay(29);
} else if (noDeath == 3) {
tabZombie[i].zomb2.gotoAndPlay(58);
}
tabZombie[i].Dead = true;
_global.Money = _global.Money + 50;
_global.KillCount++;
}
}
i++;
}
i = 0;
while (i < tabZombie2.length) {
if (Smoke.hitTest(tabZombie2[i]) && (!tabZombie2[i].Dead)) {
tabZombie2[i].HP = tabZombie2[i].HP - 15;
Bullet.gotoAndStop(2);
if (tabZombie2[i].HP <= 0) {
tabZombie2[i].gotoAndStop(5);
tabZombie2[i].Dead = true;
_global.Money = _global.Money + 150;
_global.KillCount2++;
}
}
i++;
}
i = 0;
while (i < tabZombie3.length) {
if (Smoke.hitTest(tabZombie3[i]) && (!tabZombie3[i].Dead)) {
tabZombie3[i].HP = tabZombie3[i].HP - 15;
Bullet.gotoAndStop(2);
if (tabZombie3[i].HP <= 0) {
noDeath = random(3) + 1;
tabZombie3[i].gotoAndStop(2);
if (noDeath == 2) {
tabZombie3[i].zomb2.gotoAndPlay(11);
}
tabZombie3[i].gotoAndStop(2);
tabZombie3[i].Dead = true;
_global.KillCount3++;
_global.Money = _global.Money + 100;
}
}
i++;
}
i = 0;
while (i < tabBuilding.length) {
if (Smoke.hitTest(tabBuilding[i]) && (!tabBuilding[i].Dead)) {
tabBuilding[i].HP = tabBuilding[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding[i].HP <= 40) && (tabBuilding[i].HP > 30)) {
tabBuilding[i].gotoAndStop(2);
} else if ((tabBuilding[i].HP <= 30) && (tabBuilding[i].HP > 20)) {
tabBuilding[i].gotoAndStop(3);
} else if ((tabBuilding[i].HP <= 20) && (tabBuilding[i].HP > 10)) {
tabBuilding[i].gotoAndStop(4);
} else if ((tabBuilding[i].HP <= 10) && (tabBuilding[i].HP > 0)) {
tabBuilding[i].gotoAndStop(5);
}
if (tabBuilding[i].HP <= 0) {
tabBuilding[i].gotoAndStop(6);
tabBuilding[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding2.length) {
if (Smoke.hitTest(tabBuilding2[i]) && (!tabBuilding2[i].Dead)) {
tabBuilding2[i].HP = tabBuilding2[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding2[i].HP <= 40) && (tabBuilding2[i].HP > 30)) {
tabBuilding2[i].gotoAndStop(2);
} else if ((tabBuilding2[i].HP <= 30) && (tabBuilding2[i].HP > 20)) {
tabBuilding2[i].gotoAndStop(3);
} else if ((tabBuilding2[i].HP <= 20) && (tabBuilding2[i].HP > 10)) {
tabBuilding2[i].gotoAndStop(4);
} else if ((tabBuilding2[i].HP <= 10) && (tabBuilding2[i].HP > 0)) {
tabBuilding2[i].gotoAndStop(5);
}
if (tabBuilding2[i].HP <= 0) {
tabBuilding2[i].gotoAndStop(6);
tabBuilding2[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding3.length) {
if (Smoke.hitTest(tabBuilding3[i]) && (!tabBuilding3[i].Dead)) {
tabBuilding3[i].HP = tabBuilding3[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding3[i].HP <= 40) && (tabBuilding3[i].HP > 30)) {
tabBuilding3[i].gotoAndStop(2);
} else if ((tabBuilding3[i].HP <= 30) && (tabBuilding3[i].HP > 20)) {
tabBuilding3[i].gotoAndStop(3);
} else if ((tabBuilding3[i].HP <= 20) && (tabBuilding3[i].HP > 10)) {
tabBuilding3[i].gotoAndStop(4);
} else if ((tabBuilding3[i].HP <= 10) && (tabBuilding3[i].HP > 0)) {
tabBuilding3[i].gotoAndStop(5);
}
if (tabBuilding3[i].HP <= 0) {
tabBuilding3[i].gotoAndStop(6);
tabBuilding3[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding4.length) {
if (Smoke.hitTest(tabBuilding4[i]) && (!tabBuilding4[i].Dead)) {
tabBuilding4[i].HP = tabBuilding4[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding4[i].HP <= 40) && (tabBuilding4[i].HP > 30)) {
tabBuilding4[i].gotoAndStop(2);
} else if ((tabBuilding4[i].HP <= 30) && (tabBuilding4[i].HP > 20)) {
tabBuilding4[i].gotoAndStop(3);
} else if ((tabBuilding4[i].HP <= 20) && (tabBuilding4[i].HP > 10)) {
tabBuilding4[i].gotoAndStop(4);
} else if ((tabBuilding4[i].HP <= 10) && (tabBuilding4[i].HP > 0)) {
tabBuilding4[i].gotoAndStop(5);
}
if (tabBuilding4[i].HP <= 0) {
tabBuilding4[i].gotoAndStop(6);
tabBuilding4[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding5.length) {
if (Smoke.hitTest(tabBuilding5[i]) && (!tabBuilding5[i].Dead)) {
tabBuilding5[i].HP = tabBuilding5[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding5[i].HP <= 40) && (tabBuilding5[i].HP > 30)) {
tabBuilding5[i].gotoAndStop(2);
} else if ((tabBuilding5[i].HP <= 30) && (tabBuilding5[i].HP > 20)) {
tabBuilding5[i].gotoAndStop(3);
} else if ((tabBuilding5[i].HP <= 20) && (tabBuilding5[i].HP > 10)) {
tabBuilding5[i].gotoAndStop(4);
} else if ((tabBuilding5[i].HP <= 10) && (tabBuilding5[i].HP > 0)) {
tabBuilding5[i].gotoAndStop(5);
}
if (tabBuilding5[i].HP <= 0) {
tabBuilding5[i].gotoAndStop(6);
tabBuilding5[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding6.length) {
if (Smoke.hitTest(tabBuilding6[i]) && (!tabBuilding6[i].Dead)) {
tabBuilding6[i].HP = tabBuilding6[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding6[i].HP <= 80) && (tabBuilding6[i].HP > 60)) {
tabBuilding6[i].gotoAndStop(2);
} else if ((tabBuilding6[i].HP <= 60) && (tabBuilding6[i].HP > 40)) {
tabBuilding6[i].gotoAndStop(3);
} else if ((tabBuilding6[i].HP <= 40) && (tabBuilding6[i].HP > 20)) {
tabBuilding6[i].gotoAndStop(4);
} else if ((tabBuilding6[i].HP <= 20) && (tabBuilding6[i].HP > 0)) {
tabBuilding6[i].gotoAndStop(5);
}
if (tabBuilding6[i].HP <= 0) {
tabBuilding6[i].gotoAndStop(6);
tabBuilding6[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding7.length) {
if (Smoke.hitTest(tabBuilding7[i]) && (!tabBuilding7[i].Dead)) {
tabBuilding7[i].HP = tabBuilding7[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding7[i].HP <= 70) && (tabBuilding7[i].HP > 60)) {
tabBuilding7[i].gotoAndStop(2);
} else if ((tabBuilding7[i].HP <= 60) && (tabBuilding7[i].HP > 45)) {
tabBuilding7[i].gotoAndStop(3);
} else if ((tabBuilding7[i].HP <= 45) && (tabBuilding7[i].HP > 20)) {
tabBuilding7[i].gotoAndStop(4);
} else if ((tabBuilding7[i].HP <= 20) && (tabBuilding7[i].HP > 0)) {
tabBuilding7[i].gotoAndStop(5);
} else if (tabBuilding7[i].HP <= 0) {
tabBuilding7[i].gotoAndStop(6);
tabBuilding7[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding8.length) {
if (Smoke.hitTest(tabBuilding8[i]) && (!tabBuilding8[i].Dead)) {
tabBuilding8[i].HP = tabBuilding8[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding8[i].HP <= 80) && (tabBuilding8[i].HP > 60)) {
tabBuilding8[i].gotoAndStop(2);
} else if ((tabBuilding8[i].HP <= 60) && (tabBuilding8[i].HP > 40)) {
tabBuilding8[i].gotoAndStop(3);
} else if ((tabBuilding8[i].HP <= 40) && (tabBuilding8[i].HP > 20)) {
tabBuilding8[i].gotoAndStop(4);
} else if ((tabBuilding8[i].HP <= 20) && (tabBuilding8[i].HP > 0)) {
tabBuilding8[i].gotoAndStop(5);
}
if (tabBuilding8[i].HP <= 0) {
tabBuilding8[i].gotoAndStop(6);
tabBuilding8[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding9.length) {
if (Smoke.hitTest(tabBuilding9[i]) && (!tabBuilding9[i].Dead)) {
tabBuilding9[i].HP = tabBuilding9[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding9[i].HP <= 70) && (tabBuilding9[i].HP > 60)) {
tabBuilding9[i].gotoAndStop(2);
} else if ((tabBuilding9[i].HP <= 60) && (tabBuilding9[i].HP > 45)) {
tabBuilding9[i].gotoAndStop(3);
} else if ((tabBuilding9[i].HP <= 45) && (tabBuilding9[i].HP > 20)) {
tabBuilding9[i].gotoAndStop(4);
} else if ((tabBuilding9[i].HP <= 20) && (tabBuilding9[i].HP > 0)) {
tabBuilding9[i].gotoAndStop(5);
} else if (tabBuilding9[i].HP <= 0) {
tabBuilding9[i].gotoAndStop(6);
tabBuilding9[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding10.length) {
if (Smoke.hitTest(tabBuilding10[i]) && (!tabBuilding10[i].Dead)) {
tabBuilding10[i].HP = tabBuilding10[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding10[i].HP <= 80) && (tabBuilding10[i].HP > 60)) {
tabBuilding10[i].gotoAndStop(2);
} else if ((tabBuilding10[i].HP <= 60) && (tabBuilding10[i].HP > 40)) {
tabBuilding10[i].gotoAndStop(3);
} else if ((tabBuilding10[i].HP <= 40) && (tabBuilding10[i].HP > 20)) {
tabBuilding10[i].gotoAndStop(4);
} else if ((tabBuilding10[i].HP <= 20) && (tabBuilding10[i].HP > 0)) {
tabBuilding10[i].gotoAndStop(5);
}
if (tabBuilding10[i].HP <= 0) {
tabBuilding10[i].gotoAndStop(6);
tabBuilding10[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding11.length) {
if (Smoke.hitTest(tabBuilding11[i]) && (!tabBuilding11[i].Dead)) {
tabBuilding11[i].HP = tabBuilding11[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding11[i].HP <= 80) && (tabBuilding11[i].HP > 60)) {
tabBuilding11[i].gotoAndStop(2);
} else if ((tabBuilding11[i].HP <= 60) && (tabBuilding11[i].HP > 40)) {
tabBuilding11[i].gotoAndStop(3);
} else if ((tabBuilding11[i].HP <= 40) && (tabBuilding11[i].HP > 20)) {
tabBuilding11[i].gotoAndStop(4);
} else if ((tabBuilding11[i].HP <= 20) && (tabBuilding11[i].HP > 0)) {
tabBuilding11[i].gotoAndStop(5);
}
if (tabBuilding11[i].HP <= 0) {
tabBuilding11[i].gotoAndStop(6);
tabBuilding11[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabVehicule1.length) {
if (Smoke.hitTest(tabVehicule1[i]) && (!tabVehicule1[i].Dead)) {
tabVehicule1[i].HP = tabVehicule1[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabVehicule1[i].HP <= 20) && (tabVehicule1[i].HP > 10)) {
tabVehicule1[i].gotoAndStop(2);
} else if ((tabVehicule1[i].HP <= 10) && (tabVehicule1[i].HP > 0)) {
tabVehicule1[i].gotoAndStop(3);
}
if (tabVehicule1[i].HP <= 0) {
tabVehicule1[i].gotoAndPlay(4);
tabVehicule1[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabVehicule2.length) {
if (Smoke.hitTest(tabVehicule2[i]) && (!tabVehicule2[i].Dead)) {
tabVehicule2[i].HP = tabVehicule2[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabVehicule2[i].HP <= 25) && (tabVehicule2[i].HP > 20)) {
tabVehicule2[i].gotoAndStop(2);
} else if ((tabVehicule2[i].HP <= 20) && (tabVehicule2[i].HP > 15)) {
tabVehicule2[i].gotoAndStop(3);
} else if ((tabVehicule2[i].HP <= 15) && (tabVehicule2[i].HP > 10)) {
tabVehicule2[i].gotoAndStop(4);
} else if ((tabVehicule2[i].HP <= 10) && (tabVehicule2[i].HP > 0)) {
tabVehicule2[i].gotoAndStop(5);
}
if (tabVehicule2[i].HP <= 0) {
tabVehicule2[i].gotoAndStop(6);
tabVehicule2[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabAnt1.length) {
if (Smoke.hitTest(tabAnt1[i]) && (!tabAnt1[i].Dead)) {
tabAnt1[i].HP = tabAnt1[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabAnt1[i].HP <= 70) && (tabAnt1[i].HP > 60)) {
tabAnt1[i].gotoAndStop(2);
} else if ((tabAnt1[i].HP <= 60) && (tabAnt1[i].HP > 45)) {
tabAnt1[i].gotoAndStop(3);
} else if ((tabAnt1[i].HP <= 45) && (tabAnt1[i].HP > 20)) {
tabAnt1[i].gotoAndStop(4);
} else if ((tabAnt1[i].HP <= 20) && (tabAnt1[i].HP > 0)) {
tabAnt1[i].gotoAndStop(5);
}
if (tabAnt1[i].HP <= 0) {
tabAnt1[i].gotoAndStop(6);
tabAnt1[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabAnt2.length) {
if (Smoke.hitTest(tabAnt2[i]) && (!tabAnt2[i].Dead)) {
tabAnt2[i].HP = tabAnt2[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabAnt2[i].HP <= 70) && (tabAnt2[i].HP > 60)) {
tabAnt2[i].gotoAndStop(2);
} else if ((tabAnt2[i].HP <= 60) && (tabAnt2[i].HP > 45)) {
tabAnt2[i].gotoAndStop(3);
} else if ((tabAnt2[i].HP <= 45) && (tabAnt2[i].HP > 20)) {
tabAnt2[i].gotoAndStop(4);
} else if ((tabAnt2[i].HP <= 20) && (tabAnt2[i].HP > 0)) {
tabAnt2[i].gotoAndStop(5);
} else if (tabAnt2[i].HP <= 0) {
tabAnt2[i].gotoAndStop(6);
tabAnt2[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabArbre.length) {
if (Smoke.hitTest(tabArbre[i]) && (!tabArbre[i].Dead)) {
tabArbre[i].HP = tabArbre[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabArbre[i].HP <= 80) && (tabArbre[i].HP > 60)) {
tabArbre[i].gotoAndStop(2);
} else if ((tabArbre[i].HP <= 60) && (tabArbre[i].HP > 40)) {
tabArbre[i].gotoAndStop(3);
} else if ((tabArbre[i].HP <= 40) && (tabArbre[i].HP > 20)) {
tabArbre[i].gotoAndStop(4);
} else if ((tabArbre[i].HP <= 20) && (tabArbre[i].HP > 0)) {
tabArbre[i].gotoAndStop(5);
}
if (tabArbre[i].HP <= 0) {
tabArbre[i].gotoAndStop(6);
tabArbre[i].Dead = true;
_global.Money = _global.Money + 10;
}
}
i++;
}
i = 0;
while (i < tabBaril.length) {
if (Smoke.hitTest(tabBaril[i])) {
if (tabBaril[i]._currentFrame == 1) {
_global.Money = _global.Money + 20;
tabBaril[i].gotoAndPlay(2);
}
}
i++;
}
Symbol 72 MovieClip [Char1] Frame 12
stop();
this.removeMovieClip();
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
stop();
Symbol 76 MovieClip [Baril] Frame 1
stop();
Symbol 76 MovieClip [Baril] Frame 2
_global.RocketSound = new Sound();
_global.RocketSound.attachSound("Rocket");
_global.RocketSound.start();
_root.ShakeNumber = 40;
_global.Combo++;
if (_global.Combo > 1) {
_root.ComboTimer.gotoAndPlay(2);
}
Symbol 76 MovieClip [Baril] Frame 10
tabZombie = [_root.Gameplay.Zombie_1, _root.Gameplay.Zombie_2, _root.Gameplay.Zombie_3, _root.Gameplay.Zombie_4, _root.Gameplay.Zombie_5, _root.Gameplay.Zombie_6, _root.Gameplay.Zombie_7, _root.Gameplay.Zombie_8, _root.Gameplay.Zombie_9, _root.Gameplay.Zombie_10, _root.Gameplay.Zombie_11, _root.Gameplay.Zombie_12, _root.Gameplay.Zombie_13, _root.Gameplay.Zombie_14, _root.Gameplay.Zombie_15, _root.Gameplay.Zombie_16, _root.Gameplay.Zombie_17, _root.Gameplay.Zombie_18, _root.Gameplay.Zombie_19, _root.Gameplay.Zombie_20, _root.Gameplay.Zombie_21, _root.Gameplay.Zombie_22, _root.Gameplay.Zombie_23, _root.Gameplay.Zombie_24, _root.Gameplay.Zombie_25, _root.Gameplay.Zombie_26, _root.Gameplay.Zombie_27, _root.Gameplay.Zombie_28, _root.Gameplay.Zombie_29, _root.Gameplay.Zombie_30, _root.Gameplay.Zombie_31, _root.Gameplay.Zombie_32, _root.Gameplay.Zombie_33, _root.Gameplay.Zombie_34, _root.Gameplay.Zombie_35, _root.Gameplay.Zombie_36, _root.Gameplay.Zombie_37, _root.Gameplay.Zombie_38, _root.Gameplay.Zombie_39, _root.Gameplay.Zombie_40, _root.Gameplay.Zombie_41, _root.Gameplay.Zombie_42, _root.Gameplay.Zombie_43, _root.Gameplay.Zombie_44, _root.Gameplay.Zombie_45, _root.Gameplay.Zombie_46, _root.Gameplay.Zombie_47, _root.Gameplay.Zombie_48, _root.Gameplay.Zombie_49, _root.Gameplay.Zombie_50, _root.Gameplay.Zombie_51, _root.Gameplay.Zombie_52, _root.Gameplay.Zombie_53, _root.Gameplay.Zombie_54, _root.Gameplay.Zombie_55, _root.Gameplay.Zombie_56, _root.Gameplay.Zombie_57, _root.Gameplay.Zombie_58, _root.Gameplay.Zombie_59, _root.Gameplay.Zombie_60, _root.Gameplay.Zombie_61, _root.Gameplay.Zombie_62, _root.Gameplay.Zombie_63, _root.Gameplay.Zombie_64, _root.Gameplay.Zombie_65, _root.Gameplay.Zombie_66, _root.Gameplay.Zombie_67, _root.Gameplay.Zombie_68, _root.Gameplay.Zombie_69, _root.Gameplay.Zombie_70, _root.Gameplay.Zombie_71, _root.Gameplay.Zombie_72, _root.Gameplay.Zombie_73, _root.Gameplay.Zombie_74, _root.Gameplay.Zombie_75, _root.Gameplay.Zombie_76, _root.Gameplay.Zombie_77, _root.Gameplay.Zombie_7, _root.Gameplay.Zombie_79, _root.Gameplay.Zombie_80];
tabZombie2 = [_root.Gameplay.Zombie2_1, _root.Gameplay.Zombie2_2, _root.Gameplay.Zombie2_3, _root.Gameplay.Zombie2_4, _root.Gameplay.Zombie2_5, _root.Gameplay.Zombie2_6, _root.Gameplay.Zombie2_7, _root.Gameplay.Zombie2_8, _root.Gameplay.Zombie2_9, _root.Gameplay.Zombie2_10, _root.Gameplay.Zombie2_11, _root.Gameplay.Zombie2_12, _root.Gameplay.Zombie2_13, _root.Gameplay.Zombie2_14, _root.Gameplay.Zombie2_15, _root.Gameplay.Zombie2_16, _root.Gameplay.Zombie2_17, _root.Gameplay.Zombie2_18, _root.Gameplay.Zombie2_19, _root.Gameplay.Zombie2_20, _root.Gameplay.Zombie2_21, _root.Gameplay.Zombie2_22, _root.Gameplay.Zombie2_23, _root.Gameplay.Zombie2_24, _root.Gameplay.Zombie2_25, _root.Gameplay.Zombie2_26, _root.Gameplay.Zombie2_27, _root.Gameplay.Zombie2_28, _root.Gameplay.Zombie2_29, _root.Gameplay.Zombie2_30];
tabZombie3 = [_root.Gameplay.Zombie3_1, _root.Gameplay.Zombie3_2, _root.Gameplay.Zombie3_3, _root.Gameplay.Zombie3_4, _root.Gameplay.Zombie3_5, _root.Gameplay.Zombie3_6, _root.Gameplay.Zombie3_7, _root.Gameplay.Zombie3_8, _root.Gameplay.Zombie3_9, _root.Gameplay.Zombie3_10, _root.Gameplay.Zombie3_11, _root.Gameplay.Zombie3_12, _root.Gameplay.Zombie3_13, _root.Gameplay.Zombie3_14, _root.Gameplay.Zombie3_15, _root.Gameplay.Zombie3_16, _root.Gameplay.Zombie3_17, _root.Gameplay.Zombie3_18, _root.Gameplay.Zombie3_19, _root.Gameplay.Zombie3_20, _root.Gameplay.Zombie3_21, _root.Gameplay.Zombie3_22, _root.Gameplay.Zombie3_23, _root.Gameplay.Zombie3_24, _root.Gameplay.Zombie3_25, _root.Gameplay.Zombie3_26, _root.Gameplay.Zombie3_27, _root.Gameplay.Zombie3_28, _root.Gameplay.Zombie3_29, _root.Gameplay.Zombie3_30];
tabBuilding = [_root.Gameplay.Building_1, _root.Gameplay.Building_2, _root.Gameplay.Building_3, _root.Gameplay.Building_4, _root.Gameplay.Building_5, _root.Gameplay.Building_6, _root.Gameplay.Building_7, _root.Gameplay.Building_8, _root.Gameplay.Building_9, _root.Gameplay.Building_10];
tabBuilding2 = [_root.Gameplay.Building2_1, _root.Gameplay.Building2_2, _root.Gameplay.Building2_3, _root.Gameplay.Building2_4, _root.Gameplay.Building2_5, _root.Gameplay.Building2_6, _root.Gameplay.Building2_7, _root.Gameplay.Building2_8, _root.Gameplay.Building2_9, _root.Gameplay.Building2_10];
tabBuilding3 = [_root.Gameplay.Building3_1, _root.Gameplay.Building3_2, _root.Gameplay.Building3_3, _root.Gameplay.Building3_4, _root.Gameplay.Building3_5, _root.Gameplay.Building3_6, _root.Gameplay.Building3_7, _root.Gameplay.Building3_8, _root.Gameplay.Building3_9, _root.Gameplay.Building3_10];
tabBuilding4 = [_root.Gameplay.Building4_1, _root.Gameplay.Building4_2, _root.Gameplay.Building4_3, _root.Gameplay.Building4_4, _root.Gameplay.Building4_5, _root.Gameplay.Building4_6, _root.Gameplay.Building4_7, _root.Gameplay.Building4_8, _root.Gameplay.Building4_9, _root.Gameplay.Building4_10];
tabBuilding5 = [_root.Gameplay.Building5_1, _root.Gameplay.Building5_2, _root.Gameplay.Building5_3, _root.Gameplay.Building5_4, _root.Gameplay.Building5_5, _root.Gameplay.Building5_6, _root.Gameplay.Building5_7, _root.Gameplay.Building5_8, _root.Gameplay.Building5_9, _root.Gameplay.Building5_10];
tabBaril = [_root.Gameplay.Baril_1, _root.Gameplay.Baril_2, _root.Gameplay.Baril_3, _root.Gameplay.Baril_4, _root.Gameplay.Baril_5];
i = 0;
while (i < tabZombie.length) {
if (Smoke.hitTest(tabZombie[i]) && (!tabZombie[i].Dead)) {
tabZombie[i].HP = tabZombie[i].HP - 15;
Bullet.gotoAndStop(2);
if (tabZombie[i].HP <= 0) {
noDeath = random(3) + 1;
tabZombie[i].gotoAndStop(2);
if (noDeath == 2) {
tabZombie[i].zomb2.gotoAndPlay(29);
} else if (noDeath == 3) {
tabZombie[i].zomb2.gotoAndPlay(58);
}
tabZombie[i].Dead = true;
_global.Money = _global.Money + 50;
_global.KillCount++;
}
}
i++;
}
i = 0;
while (i < tabZombie2.length) {
if (Smoke.hitTest(tabZombie2[i]) && (!tabZombie2[i].Dead)) {
tabZombie2[i].HP = tabZombie2[i].HP - 15;
Bullet.gotoAndStop(2);
if (tabZombie2[i].HP <= 0) {
tabZombie2[i].gotoAndStop(5);
tabZombie2[i].Dead = true;
_global.Money = _global.Money + 150;
_global.KillCount2++;
}
}
i++;
}
i = 0;
while (i < tabZombie3.length) {
if (Smoke.hitTest(tabZombie3[i]) && (!tabZombie3[i].Dead)) {
tabZombie3[i].HP = tabZombie3[i].HP - 15;
Bullet.gotoAndStop(2);
if (tabZombie3[i].HP <= 0) {
noDeath = random(3) + 1;
tabZombie3[i].gotoAndStop(2);
if (noDeath == 2) {
tabZombie3[i].zomb2.gotoAndPlay(11);
}
tabZombie3[i].gotoAndStop(2);
tabZombie3[i].Dead = true;
_global.KillCount3++;
_global.Money = _global.Money + 100;
}
}
i++;
}
i = 0;
while (i < tabBuilding.length) {
if (Smoke.hitTest(tabBuilding[i]) && (!tabBuilding[i].Dead)) {
tabBuilding[i].HP = tabBuilding[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding[i].HP <= 40) && (tabBuilding[i].HP > 30)) {
tabBuilding[i].gotoAndStop(2);
} else if ((tabBuilding[i].HP <= 30) && (tabBuilding[i].HP > 20)) {
tabBuilding[i].gotoAndStop(3);
} else if ((tabBuilding[i].HP <= 20) && (tabBuilding[i].HP > 10)) {
tabBuilding[i].gotoAndStop(4);
} else if ((tabBuilding[i].HP <= 10) && (tabBuilding[i].HP > 0)) {
tabBuilding[i].gotoAndStop(5);
}
if (tabBuilding[i].HP <= 0) {
tabBuilding[i].gotoAndStop(6);
tabBuilding[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding2.length) {
if (Smoke.hitTest(tabBuilding2[i]) && (!tabBuilding2[i].Dead)) {
tabBuilding2[i].HP = tabBuilding2[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding2[i].HP <= 40) && (tabBuilding2[i].HP > 30)) {
tabBuilding2[i].gotoAndStop(2);
} else if ((tabBuilding2[i].HP <= 30) && (tabBuilding2[i].HP > 20)) {
tabBuilding2[i].gotoAndStop(3);
} else if ((tabBuilding2[i].HP <= 20) && (tabBuilding2[i].HP > 10)) {
tabBuilding2[i].gotoAndStop(4);
} else if ((tabBuilding2[i].HP <= 10) && (tabBuilding2[i].HP > 0)) {
tabBuilding2[i].gotoAndStop(5);
}
if (tabBuilding2[i].HP <= 0) {
tabBuilding2[i].gotoAndStop(6);
tabBuilding2[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding3.length) {
if (Smoke.hitTest(tabBuilding3[i]) && (!tabBuilding3[i].Dead)) {
tabBuilding3[i].HP = tabBuilding3[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding3[i].HP <= 40) && (tabBuilding3[i].HP > 30)) {
tabBuilding3[i].gotoAndStop(2);
} else if ((tabBuilding3[i].HP <= 30) && (tabBuilding3[i].HP > 20)) {
tabBuilding3[i].gotoAndStop(3);
} else if ((tabBuilding3[i].HP <= 20) && (tabBuilding3[i].HP > 10)) {
tabBuilding3[i].gotoAndStop(4);
} else if ((tabBuilding3[i].HP <= 10) && (tabBuilding3[i].HP > 0)) {
tabBuilding3[i].gotoAndStop(5);
}
if (tabBuilding3[i].HP <= 0) {
tabBuilding3[i].gotoAndStop(6);
tabBuilding3[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding4.length) {
if (Smoke.hitTest(tabBuilding4[i]) && (!tabBuilding4[i].Dead)) {
tabBuilding4[i].HP = tabBuilding4[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding4[i].HP <= 40) && (tabBuilding4[i].HP > 30)) {
tabBuilding4[i].gotoAndStop(2);
} else if ((tabBuilding4[i].HP <= 30) && (tabBuilding4[i].HP > 20)) {
tabBuilding4[i].gotoAndStop(3);
} else if ((tabBuilding4[i].HP <= 20) && (tabBuilding4[i].HP > 10)) {
tabBuilding4[i].gotoAndStop(4);
} else if ((tabBuilding4[i].HP <= 10) && (tabBuilding4[i].HP > 0)) {
tabBuilding4[i].gotoAndStop(5);
}
if (tabBuilding4[i].HP <= 0) {
tabBuilding4[i].gotoAndStop(6);
tabBuilding4[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding5.length) {
if (Smoke.hitTest(tabBuilding5[i]) && (!tabBuilding5[i].Dead)) {
tabBuilding5[i].HP = tabBuilding5[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding5[i].HP <= 40) && (tabBuilding5[i].HP > 30)) {
tabBuilding5[i].gotoAndStop(2);
} else if ((tabBuilding5[i].HP <= 30) && (tabBuilding5[i].HP > 20)) {
tabBuilding5[i].gotoAndStop(3);
} else if ((tabBuilding5[i].HP <= 20) && (tabBuilding5[i].HP > 10)) {
tabBuilding5[i].gotoAndStop(4);
} else if ((tabBuilding5[i].HP <= 10) && (tabBuilding5[i].HP > 0)) {
tabBuilding5[i].gotoAndStop(5);
}
if (tabBuilding5[i].HP <= 0) {
tabBuilding5[i].gotoAndStop(6);
tabBuilding5[i].Dead = true;
_global.Money = _global.Money + 300;
_global.BuildingCount++;
}
}
i++;
}
i = 0;
while (i < tabBuilding6.length) {
if (Smoke.hitTest(tabBuilding6[i]) && (!tabBuilding6[i].Dead)) {
tabBuilding6[i].HP = tabBuilding6[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding6[i].HP <= 80) && (tabBuilding6[i].HP > 60)) {
tabBuilding6[i].gotoAndStop(2);
} else if ((tabBuilding6[i].HP <= 60) && (tabBuilding6[i].HP > 40)) {
tabBuilding6[i].gotoAndStop(3);
} else if ((tabBuilding6[i].HP <= 40) && (tabBuilding6[i].HP > 20)) {
tabBuilding6[i].gotoAndStop(4);
} else if ((tabBuilding6[i].HP <= 20) && (tabBuilding6[i].HP > 0)) {
tabBuilding6[i].gotoAndStop(5);
}
if (tabBuilding6[i].HP <= 0) {
tabBuilding6[i].gotoAndStop(6);
tabBuilding6[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding7.length) {
if (Smoke.hitTest(tabBuilding7[i]) && (!tabBuilding7[i].Dead)) {
tabBuilding7[i].HP = tabBuilding7[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding7[i].HP <= 70) && (tabBuilding7[i].HP > 60)) {
tabBuilding7[i].gotoAndStop(2);
} else if ((tabBuilding7[i].HP <= 60) && (tabBuilding7[i].HP > 45)) {
tabBuilding7[i].gotoAndStop(3);
} else if ((tabBuilding7[i].HP <= 45) && (tabBuilding7[i].HP > 20)) {
tabBuilding7[i].gotoAndStop(4);
} else if ((tabBuilding7[i].HP <= 20) && (tabBuilding7[i].HP > 0)) {
tabBuilding7[i].gotoAndStop(5);
} else if (tabBuilding7[i].HP <= 0) {
tabBuilding7[i].gotoAndStop(6);
tabBuilding7[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding8.length) {
if (Smoke.hitTest(tabBuilding8[i]) && (!tabBuilding8[i].Dead)) {
tabBuilding8[i].HP = tabBuilding8[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding8[i].HP <= 80) && (tabBuilding8[i].HP > 60)) {
tabBuilding8[i].gotoAndStop(2);
} else if ((tabBuilding8[i].HP <= 60) && (tabBuilding8[i].HP > 40)) {
tabBuilding8[i].gotoAndStop(3);
} else if ((tabBuilding8[i].HP <= 40) && (tabBuilding8[i].HP > 20)) {
tabBuilding8[i].gotoAndStop(4);
} else if ((tabBuilding8[i].HP <= 20) && (tabBuilding8[i].HP > 0)) {
tabBuilding8[i].gotoAndStop(5);
}
if (tabBuilding8[i].HP <= 0) {
tabBuilding8[i].gotoAndStop(6);
tabBuilding8[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding9.length) {
if (Smoke.hitTest(tabBuilding9[i]) && (!tabBuilding9[i].Dead)) {
tabBuilding9[i].HP = tabBuilding9[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding9[i].HP <= 70) && (tabBuilding9[i].HP > 60)) {
tabBuilding9[i].gotoAndStop(2);
} else if ((tabBuilding9[i].HP <= 60) && (tabBuilding9[i].HP > 45)) {
tabBuilding9[i].gotoAndStop(3);
} else if ((tabBuilding9[i].HP <= 45) && (tabBuilding9[i].HP > 20)) {
tabBuilding9[i].gotoAndStop(4);
} else if ((tabBuilding9[i].HP <= 20) && (tabBuilding9[i].HP > 0)) {
tabBuilding9[i].gotoAndStop(5);
} else if (tabBuilding9[i].HP <= 0) {
tabBuilding9[i].gotoAndStop(6);
tabBuilding9[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding10.length) {
if (Smoke.hitTest(tabBuilding10[i]) && (!tabBuilding10[i].Dead)) {
tabBuilding10[i].HP = tabBuilding10[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding10[i].HP <= 80) && (tabBuilding10[i].HP > 60)) {
tabBuilding10[i].gotoAndStop(2);
} else if ((tabBuilding10[i].HP <= 60) && (tabBuilding10[i].HP > 40)) {
tabBuilding10[i].gotoAndStop(3);
} else if ((tabBuilding10[i].HP <= 40) && (tabBuilding10[i].HP > 20)) {
tabBuilding10[i].gotoAndStop(4);
} else if ((tabBuilding10[i].HP <= 20) && (tabBuilding10[i].HP > 0)) {
tabBuilding10[i].gotoAndStop(5);
}
if (tabBuilding10[i].HP <= 0) {
tabBuilding10[i].gotoAndStop(6);
tabBuilding10[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabBuilding11.length) {
if (Smoke.hitTest(tabBuilding11[i]) && (!tabBuilding11[i].Dead)) {
tabBuilding11[i].HP = tabBuilding11[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabBuilding11[i].HP <= 80) && (tabBuilding11[i].HP > 60)) {
tabBuilding11[i].gotoAndStop(2);
} else if ((tabBuilding11[i].HP <= 60) && (tabBuilding11[i].HP > 40)) {
tabBuilding11[i].gotoAndStop(3);
} else if ((tabBuilding11[i].HP <= 40) && (tabBuilding11[i].HP > 20)) {
tabBuilding11[i].gotoAndStop(4);
} else if ((tabBuilding11[i].HP <= 20) && (tabBuilding11[i].HP > 0)) {
tabBuilding11[i].gotoAndStop(5);
}
if (tabBuilding11[i].HP <= 0) {
tabBuilding11[i].gotoAndStop(6);
tabBuilding11[i].Dead = true;
_global.BuildingCount++;
_global.Money = _global.Money + 300;
}
}
i++;
}
i = 0;
while (i < tabVehicule1.length) {
if (Smoke.hitTest(tabVehicule1[i]) && (!tabVehicule1[i].Dead)) {
tabVehicule1[i].HP = tabVehicule1[i].HP - 15;
Bullet.gotoAndStop(3);
if (tabVehicule1[i].HP <= 0) {
tabVehicule1[i].gotoAndPlay(2);
tabVehicule1[i].Dead = true;
_global.Money = _global.Money + 30;
}
}
i++;
}
i = 0;
while (i < tabVehicule2.length) {
if (Smoke.hitTest(tabVehicule2[i]) && (!tabVehicule2[i].Dead)) {
tabVehicule2[i].HP = tabVehicule2[i].HP - 15;
Bullet.gotoAndStop(3);
if (tabVehicule2[i].HP <= 0) {
tabVehicule2[i].gotoAndStop(2);
tabVehicule2[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabAnt1.length) {
if (Smoke.hitTest(tabAnt1[i]) && (!tabAnt1[i].Dead)) {
tabAnt1[i].HP = tabAnt1[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabAnt1[i].HP <= 70) && (tabAnt1[i].HP > 60)) {
tabAnt1[i].gotoAndStop(2);
} else if ((tabAnt1[i].HP <= 60) && (tabAnt1[i].HP > 45)) {
tabAnt1[i].gotoAndStop(3);
} else if ((tabAnt1[i].HP <= 45) && (tabAnt1[i].HP > 20)) {
tabAnt1[i].gotoAndStop(4);
} else if ((tabAnt1[i].HP <= 20) && (tabAnt1[i].HP > 0)) {
tabAnt1[i].gotoAndStop(5);
}
if (tabAnt1[i].HP <= 0) {
tabAnt1[i].gotoAndStop(6);
tabAnt1[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabAnt2.length) {
if (Smoke.hitTest(tabAnt2[i]) && (!tabAnt2[i].Dead)) {
tabAnt2[i].HP = tabAnt2[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabAnt2[i].HP <= 70) && (tabAnt2[i].HP > 60)) {
tabAnt2[i].gotoAndStop(2);
} else if ((tabAnt2[i].HP <= 60) && (tabAnt2[i].HP > 45)) {
tabAnt2[i].gotoAndStop(3);
} else if ((tabAnt2[i].HP <= 45) && (tabAnt2[i].HP > 20)) {
tabAnt2[i].gotoAndStop(4);
} else if ((tabAnt2[i].HP <= 20) && (tabAnt2[i].HP > 0)) {
tabAnt2[i].gotoAndStop(5);
} else if (tabAnt2[i].HP <= 0) {
tabAnt2[i].gotoAndStop(6);
tabAnt2[i].Dead = true;
_global.Money = _global.Money + 150;
}
}
i++;
}
i = 0;
while (i < tabArbre.length) {
if (Smoke.hitTest(tabArbre[i]) && (!tabArbre[i].Dead)) {
tabArbre[i].HP = tabArbre[i].HP - 15;
Bullet.gotoAndStop(3);
if ((tabArbre[i].HP <= 80) && (tabArbre[i].HP > 60)) {
tabArbre[i].gotoAndStop(2);
} else if ((tabArbre[i].HP <= 60) && (tabArbre[i].HP > 40)) {
tabArbre[i].gotoAndStop(3);
} else if ((tabArbre[i].HP <= 40) && (tabArbre[i].HP > 20)) {
tabArbre[i].gotoAndStop(4);
} else if ((tabArbre[i].HP <= 20) && (tabArbre[i].HP > 0)) {
tabArbre[i].gotoAndStop(5);
}
if (tabArbre[i].HP <= 0) {
tabArbre[i].gotoAndStop(6);
tabArbre[i].Dead = true;
_global.Money = _global.Money + 10;
}
}
i++;
}
i = 0;
while (i < tabBaril.length) {
if (Smoke.hitTest(tabBaril[i])) {
if (tabBaril[i]._currentFrame == 1) {
_global.Money = _global.Money + 20;
tabBaril[i].gotoAndPlay(2);
}
}
i++;
}
Symbol 76 MovieClip [Baril] Frame 14
stop();
this.removeMovieClip();
Symbol 81 MovieClip Frame 1
_root.stop();
_root.PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.PercentLoaded != 100) {
setProperty(bar, _xscale , _root.PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 81 MovieClip Frame 2
gotoAndPlay (1);
Symbol 81 MovieClip Frame 3
_root.play();
Symbol 943 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
!!!ERROR
Symbol 944 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
!!!ERROR
Symbol 945 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
!!!ERROR
Symbol 946 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
!!!ERROR
Symbol 947 MovieClip [__Packages.mochi.as2.MochiCoins] Frame 0
!!!ERROR
Symbol 948 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
!!!ERROR
Symbol 87 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 2
boxx.gotoAndPlay(2);
Symbol 88 MovieClip Frame 10
stop();
Symbol 88 MovieClip Frame 11
boxx.gotoAndStop(1);
Symbol 89 MovieClip Frame 151
stop();
Instance of Symbol 88 MovieClip "btnLevelSelection" in Symbol 89 MovieClip Frame 151
onClipEvent (load) {
this.btnText = "PLAY";
}
onClipEvent (enterFrame) {
if (act == 2) {
_global.BtnSound = new Sound();
_global.BtnSound.attachSound("Btn");
_global.BtnSound.start();
_parent._parent.play();
act = 1;
}
}
Symbol 100 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
boxx.gotoAndPlay(2);
Symbol 101 MovieClip Frame 10
stop();
Symbol 101 MovieClip Frame 11
boxx.gotoAndStop(1);
Symbol 104 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
boxx.gotoAndPlay(2);
Symbol 105 MovieClip Frame 10
stop();
Symbol 105 MovieClip Frame 11
boxx.gotoAndStop(1);
Symbol 106 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
boxx.gotoAndPlay(2);
Symbol 107 MovieClip Frame 10
stop();
Symbol 107 MovieClip Frame 11
boxx.gotoAndStop(1);
Symbol 109 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 25
Symbol 228 MovieClip Frame 40
Symbol 310 MovieClip Frame 1
lavr_link = "http://www.gamesfree.ca/";
shade = 0;
Symbol 310 MovieClip Frame 2
lavr_link = "http://www.andkon.com";
shade = 2;
Symbol 310 MovieClip Frame 3
lavr_link = "http://www.SolidGames.com";
shade = 0;
Symbol 310 MovieClip Frame 4
lavr_link = "http://www.girldressupgames.biz";
shade = 1;
Symbol 310 MovieClip Frame 5
lavr_link = "http://www.yepi.com";
shade = 0;
Symbol 310 MovieClip Frame 6
lavr_link = "http://www.bubblebox.com";
shade = 1;
Symbol 310 MovieClip Frame 7
lavr_link = "http://www.bunnygames.com";
shade = 1;
Symbol 310 MovieClip Frame 8
lavr_link = "http://www.dailyfreegames.com";
shade = 1;
Symbol 310 MovieClip Frame 9
lavr_link = "http://www.directgamez.com";
shade = 2;
Symbol 310 MovieClip Frame 10
lavr_link = "http://www.2flashgames.com";
shade = 2;
Symbol 310 MovieClip Frame 11
lavr_link = "http://www.flashninjaclan.com";
shade = 1;
Symbol 310 MovieClip Frame 12
lavr_link = "http://www.dailyaddictinggames.com/";
shade = 1;
Symbol 310 MovieClip Frame 13
lavr_link = "http://www.funny-games.biz";
shade = 1;
Symbol 310 MovieClip Frame 14
lavr_link = "http://www.gameitnow.com";
shade = 2;
Symbol 310 MovieClip Frame 15
lavr_link = "http://www.games1.com";
shade = 0;
Symbol 310 MovieClip Frame 16
lavr_link = "http://www.onjogos.com.br";
shade = 1;
Symbol 310 MovieClip Frame 17
lavr_link = "http://www.gamesfreak.net";
shade = 2;
Symbol 310 MovieClip Frame 18
lavr_link = "http://www.stoneagegames.com";
shade = 1;
Symbol 310 MovieClip Frame 19
lavr_link = "http://www.jarkey.net";
shade = 2;
Symbol 310 MovieClip Frame 20
lavr_link = "http://www.gamesgames.com/";
shade = 1;
Symbol 310 MovieClip Frame 21
lavr_link = "http://www.keepbusy.net";
shade = 1;
Symbol 310 MovieClip Frame 22
lavr_link = "http://www.microjogos.com";
shade = 1;
Symbol 310 MovieClip Frame 23
lavr_link = "http://www.minijuegos.com";
shade = 2;
Symbol 310 MovieClip Frame 24
lavr_link = "http://www.oyunskor.com/";
shade = 1;
Symbol 310 MovieClip Frame 25
lavr_link = "http://www.mostfungames.com";
shade = 2;
Symbol 310 MovieClip Frame 26
lavr_link = "http://www.gameshot.org";
shade = 1;
Symbol 310 MovieClip Frame 27
lavr_link = "http://www.online-games-zone.com/";
shade = 2;
Symbol 310 MovieClip Frame 28
lavr_link = "http://www.puffgames.com";
shade = 2;
Symbol 310 MovieClip Frame 29
lavr_link = "http://www.spele.nl";
shade = 1;
Symbol 310 MovieClip Frame 30
lavr_link = "http://www.t45ol.com";
shade = 2;
Symbol 310 MovieClip Frame 31
lavr_link = "http://www.thegamesonline.com/";
shade = 1;
Symbol 310 MovieClip Frame 32
lavr_link = "http://www.ultimatearcade.com";
shade = 1;
Symbol 310 MovieClip Frame 33
lavr_link = "http://www.girlgames4u.com/";
shade = 1;
Symbol 310 MovieClip Frame 34
lavr_link = "http://www.beer-games.net";
shade = 0;
Symbol 310 MovieClip Frame 35
lavr_link = "http://www.stickpage.com/";
shade = 1;
Symbol 310 MovieClip Frame 36
lavr_link = "http://www.gamespond.net/";
shade = 2;
Symbol 310 MovieClip Frame 37
lavr_link = "http://www.flashgames.it/";
shade = 1;
Symbol 310 MovieClip Frame 38
lavr_link = "http://www.gamesgirl.ca/";
shade = 1;
Symbol 310 MovieClip Frame 39
lavr_link = "http://www.hallpass.com/";
shade = 2;
Symbol 310 MovieClip Frame 40
lavr_link = "http://www.games501.com/";
shade = 1;
Symbol 310 MovieClip Frame 41
lavr_link = "http://www.benz.be";
shade = 2;
Symbol 310 MovieClip Frame 42
lavr_link = "http://www.net-games.co.il/";
shade = 1;
Symbol 310 MovieClip Frame 43
lavr_link = "http://www.bgames.com";
shade = 1;
Symbol 310 MovieClip Frame 44
lavr_link = "http://www.pinkyarcade.com/";
shade = 1;
Symbol 310 MovieClip Frame 45
lavr_link = "http://www.komikler.com/index.php";
shade = 2;
Symbol 310 MovieClip Frame 46
lavr_link = "http://www.twizl.com/";
shade = 1;
Symbol 310 MovieClip Frame 47
lavr_link = "http://www.a10.com/";
shade = 1;
Symbol 310 MovieClip Frame 48
lavr_link = "http://www.bonniegames.com/";
shade = 1;
Symbol 310 MovieClip Frame 49
lavr_link = "http://www.ug2.com/";
shade = 0;
Symbol 310 MovieClip Frame 50
lavr_link = "http://www.agame.com";
shade = 1;
Symbol 310 MovieClip Frame 51
lavr_link = "http://www.gamesclub.com/";
shade = 1;
Symbol 310 MovieClip Frame 52
lavr_link = "http://www.killhours.com/";
shade = 1;
Symbol 310 MovieClip Frame 53
lavr_link = "http://www.flasharcadegamessite.com/";
shade = 1;
Symbol 310 MovieClip Frame 54
lavr_link = "http://www.roundgames.com/";
shade = 2;
Symbol 310 MovieClip Frame 55
lavr_link = "http://www.arcadegangsta.com/";
shade = 1;
Symbol 310 MovieClip Frame 56
lavr_link = "http://www.bored.com/";
shade = 0;
Symbol 310 MovieClip Frame 57
lavr_link = "http://www.flash-games.net/";
shade = 1;
Symbol 310 MovieClip Frame 58
lavr_link = "http://www.flash-game.net/";
shade = 1;
Symbol 310 MovieClip Frame 59
lavr_link = "http://www.kingofgames.net";
shade = 1;
Symbol 310 MovieClip Frame 60
lavr_link = "http://www.playhub.com/";
shade = 0;
Symbol 310 MovieClip Frame 61
lavr_link = "http://www.123spill.no/";
shade = 1;
Symbol 310 MovieClip Frame 62
lavr_link = "http://www.dailygames.com/";
shade = 1;
Symbol 310 MovieClip Frame 63
lavr_link = "http://www.octogames.com/";
shade = 2;
Symbol 310 MovieClip Frame 64
lavr_link = "http://www.ugotgames.com/";
shade = 1;
Symbol 310 MovieClip Frame 65
lavr_link = "http://www.fupa.com/";
shade = 1;
Symbol 310 MovieClip Frame 66
lavr_link = "http://www.kibagames.com/";
shade = 0;
Symbol 310 MovieClip Frame 67
lavr_link = "http://www.kraloyun.com/";
shade = 0;
Symbol 310 MovieClip Frame 68
lavr_link = "http://www.spielaffe.de/";
shade = 0;
Symbol 310 MovieClip Frame 69
lavr_link = "http://www.39games.com";
shade = 2;
Symbol 310 MovieClip Frame 70
lavr_link = "http://www.bijuegos.com";
shade = 0;
Symbol 310 MovieClip Frame 71
lavr_link = "http://www.mofunzone.com";
shade = 2;
Symbol 310 MovieClip Frame 72
lavr_link = "http://www.freegamespy.com/";
shade = 2;
Symbol 310 MovieClip Frame 73
lavr_link = "http://www.jogos10.com";
shade = 0;
Symbol 310 MovieClip Frame 74
lavr_link = "http://www.juegos10.com";
shade = 0;
Symbol 310 MovieClip Frame 75
lavr_link = "http://flash.178.com/";
shade = 0;
Symbol 310 MovieClip Frame 76
lavr_link = "http://www.papajogos.com.br";
shade = 0;
Symbol 310 MovieClip Frame 77
lavr_link = "http://www.arcadelots.com/";
shade = 0;
Symbol 310 MovieClip Frame 78
lavr_link = "http://www.minigamers.com/";
shade = 0;
Symbol 310 MovieClip Frame 79
lavr_link = "http://www.stickpage.com";
shade = 0;
Symbol 310 MovieClip Frame 80
lavr_link = "http://www.y8.com/";
shade = 1;
Symbol 310 MovieClip Frame 81
lavr_link = "http://www.y3.com/";
shade = 1;
Symbol 310 MovieClip Frame 83
lavr_link = "http://www.videobash.com/";
shade = 0;
Symbol 311 MovieClip Frame 1
stop();
Symbol 312 Button
on (release) {
getURL (boxx.lavr_link, "_blank");
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 313 MovieClip Frame 1
boxx.gotoAndStop(Math.round(_root.lavr));
boxx2.boxx.gotoAndStop(Math.round(_root.lavr));
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
boxx2.gotoAndStop(boxx.shade + 1);
stop();
Symbol 313 MovieClip Frame 20
stop();
Symbol 352 Button
on (release) {
act = 4;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 353 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 2
boxx.gotoAndPlay(2);
Symbol 353 MovieClip Frame 10
stop();
Symbol 353 MovieClip Frame 11
boxx.gotoAndStop(1);
Symbol 365 Button
on (release) {
act = 4;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 367 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 2
stop();
Symbol 368 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 368 MovieClip Frame 1
/* no clip actions */
Symbol 368 MovieClip Frame 2
boxx.gotoAndPlay(2);
Symbol 368 MovieClip Frame 10
stop();
Symbol 368 MovieClip Frame 11
boxx.gotoAndStop(1);
Symbol 383 Button
on (release) {
act = 4;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 384 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 2
boxx.gotoAndPlay(2);
Symbol 384 MovieClip Frame 10
stop();
Symbol 384 MovieClip Frame 11
boxx.gotoAndStop(1);
Symbol 392 Button
on (release) {
act = 4;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 2
boxx.gotoAndPlay(2);
Symbol 394 MovieClip Frame 10
stop();
Symbol 394 MovieClip Frame 11
boxx.gotoAndStop(1);
Symbol 397 Button
on (release) {
_parent.QuestsMission3.gotoAndPlay(1);
_parent.QuestBullet._x = -500;
}
Symbol 402 Button
on (release) {
_global.MinigunSound = new Sound();
_global.MinigunSound.attachSound("M1");
_global.MinigunSound.start();
_root.lvlSelection.QuestBullet._x = _x + 85;
_root.lvlSelection.QuestBullet._y = _y + 20;
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 405 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 10
stop();
Symbol 406 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 409 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 10
stop();
Symbol 410 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 2
stop();
if (_global.LevelAvaliable[11] == 1) {
gotoAndStop (5);
} else if (_global.LevelAvaliable[10] == 1) {
gotoAndStop (4);
} else if (_global.LevelAvaliable[9] == 1) {
gotoAndStop (3);
}
Instance of Symbol 405 MovieClip "Quest1" in Symbol 410 MovieClip Frame 2
onClipEvent (enterFrame) {
this.Text = "Score a 55 hit Combo";
if (act == 2) {
_global.Quest = 1;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 410 MovieClip Frame 3
stop();
Instance of Symbol 405 MovieClip "Quest1" in Symbol 410 MovieClip Frame 3
onClipEvent (enterFrame) {
this.Text = "Score a 55 hit Combo";
if (act == 2) {
_global.Quest = 1;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest2" in Symbol 410 MovieClip Frame 3
onClipEvent (enterFrame) {
this.Text = "Destroy 10 buildings";
if (act == 2) {
_global.Quest = 2;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 410 MovieClip Frame 4
stop();
Instance of Symbol 405 MovieClip "Quest2" in Symbol 410 MovieClip Frame 4
onClipEvent (enterFrame) {
this.Text = "Destroy 10 buildings";
if (act == 2) {
_global.Quest = 2;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest3" in Symbol 410 MovieClip Frame 4
onClipEvent (enterFrame) {
this.Text = "Kill 300 zombies";
if (act == 2) {
_global.Quest = 3;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 410 MovieClip Frame 5
stop();
Instance of Symbol 405 MovieClip "Quest1" in Symbol 410 MovieClip Frame 5
onClipEvent (enterFrame) {
this.Text = "Score a 55 hit Combo";
if (act == 2) {
_global.Quest = 1;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest2" in Symbol 410 MovieClip Frame 5
onClipEvent (enterFrame) {
this.Text = "Destroy 10 buildings";
if (act == 2) {
_global.Quest = 2;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest4" in Symbol 410 MovieClip Frame 5
onClipEvent (enterFrame) {
this.Text = "score a 100 hit Combo";
if (act == 2) {
_global.Quest = 4;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 411 Button
on (release) {
_parent.QuestsMission1.gotoAndPlay(1);
_parent.QuestBullet._x = -500;
}
Symbol 413 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 2
stop();
if (_global.LevelAvaliable[3] == 1) {
gotoAndStop (5);
} else if (_global.LevelAvaliable[2] == 1) {
gotoAndStop (4);
} else if (_global.LevelAvaliable[1] == 1) {
gotoAndStop (3);
}
Instance of Symbol 405 MovieClip "Quest1" in Symbol 413 MovieClip Frame 2
onClipEvent (enterFrame) {
this.Text = "Kill 10 zombies";
if (act == 2) {
_global.Quest = 1;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 413 MovieClip Frame 3
stop();
Instance of Symbol 405 MovieClip "Quest1" in Symbol 413 MovieClip Frame 3
onClipEvent (enterFrame) {
this.Text = "Kill 10 zombies";
if (act == 2) {
_global.Quest = 1;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest2" in Symbol 413 MovieClip Frame 3
onClipEvent (enterFrame) {
this.Text = "Kill 20 zombies";
if ((act == 2) && (_global.LevelAvaliable[1] == 1)) {
_global.Quest = 2;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 413 MovieClip Frame 4
stop();
Instance of Symbol 405 MovieClip "Quest2" in Symbol 413 MovieClip Frame 4
onClipEvent (enterFrame) {
this.Text = "Kill 20 zombies";
if ((act == 2) && (_global.LevelAvaliable[1] == 1)) {
_global.Quest = 2;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest3" in Symbol 413 MovieClip Frame 4
onClipEvent (enterFrame) {
this.Text = "Score a 8 hit Combo";
if (act == 2) {
_global.Quest = 3;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 413 MovieClip Frame 5
stop();
Instance of Symbol 405 MovieClip "Quest1" in Symbol 413 MovieClip Frame 5
onClipEvent (enterFrame) {
this.Text = "Kill 10 zombies";
if (act == 2) {
_global.Quest = 1;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest2" in Symbol 413 MovieClip Frame 5
onClipEvent (enterFrame) {
this.Text = "Kill 20 zombies";
if ((act == 2) && (_global.LevelAvaliable[1] == 1)) {
_global.Quest = 2;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest4" in Symbol 413 MovieClip Frame 5
onClipEvent (enterFrame) {
this.Text = "Kill 50 zombies";
if (act == 2) {
_global.Quest = 4;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 414 Button
on (release) {
_parent.QuestsMission2.gotoAndPlay(1);
_parent.QuestBullet._x = -500;
}
Symbol 416 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 2
stop();
if (_global.LevelAvaliable[7] == 1) {
gotoAndStop (5);
} else if (_global.LevelAvaliable[6] == 1) {
gotoAndStop (4);
} else if (_global.LevelAvaliable[5] == 1) {
gotoAndStop (3);
}
Instance of Symbol 405 MovieClip "Quest1" in Symbol 416 MovieClip Frame 2
onClipEvent (enterFrame) {
this.Text = "Score a 15 hit Combo";
if (act == 2) {
_global.Quest = 1;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 416 MovieClip Frame 3
stop();
Instance of Symbol 405 MovieClip "Quest2" in Symbol 416 MovieClip Frame 3
onClipEvent (enterFrame) {
this.Text = "Kill 80 zombies";
if (act == 2) {
_global.Quest = 2;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 416 MovieClip Frame 4
stop();
Instance of Symbol 405 MovieClip "Quest3" in Symbol 416 MovieClip Frame 4
onClipEvent (enterFrame) {
this.Text = "Score a 25 hit Combo";
if (act == 2) {
_global.Quest = 3;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 416 MovieClip Frame 5
stop();
Instance of Symbol 405 MovieClip "Quest1" in Symbol 416 MovieClip Frame 5
onClipEvent (enterFrame) {
this.Text = "Score a 15 hit Combo";
if (act == 2) {
_global.Quest = 1;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest2" in Symbol 416 MovieClip Frame 5
onClipEvent (enterFrame) {
this.Text = "Kill 80 zombies";
if (act == 2) {
_global.Quest = 2;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest3" in Symbol 416 MovieClip Frame 5
onClipEvent (enterFrame) {
this.Text = "Score a 25 hit Combo";
if (act == 2) {
_global.Quest = 3;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest4" in Symbol 416 MovieClip Frame 5
onClipEvent (enterFrame) {
this.Text = "Kill 180 zombies";
if (act == 2) {
_global.Quest = 4;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 417 Button
on (release) {
_parent.QuestsMission4.gotoAndPlay(1);
_parent.QuestBullet._x = -500;
}
Symbol 419 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 2
stop();
if (_global.LevelAvaliable[15] == 1) {
gotoAndStop (5);
} else if (_global.LevelAvaliable[14] == 1) {
gotoAndStop (4);
} else if (_global.LevelAvaliable[13] == 1) {
gotoAndStop (3);
}
Instance of Symbol 405 MovieClip "Quest1" in Symbol 419 MovieClip Frame 2
onClipEvent (enterFrame) {
this.Text = "Score a 200 hit Combo";
if (act == 2) {
_global.Quest = 1;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 419 MovieClip Frame 3
stop();
Instance of Symbol 405 MovieClip "Quest1" in Symbol 419 MovieClip Frame 3
onClipEvent (enterFrame) {
this.Text = "Score a 200 Hit Combo";
if (act == 2) {
_global.Quest = 1;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest2" in Symbol 419 MovieClip Frame 3
onClipEvent (enterFrame) {
this.Text = "Kill 500 zombies";
if (act == 2) {
_global.Quest = 2;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 419 MovieClip Frame 4
stop();
Instance of Symbol 405 MovieClip "Quest1" in Symbol 419 MovieClip Frame 4
onClipEvent (enterFrame) {
this.Text = "Score a 200 hit Combo";
if (act == 2) {
_global.Quest = 1;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest3" in Symbol 419 MovieClip Frame 4
onClipEvent (enterFrame) {
this.Text = "Score a 300 hit Combo";
if (act == 2) {
_global.Quest = 3;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 419 MovieClip Frame 5
stop();
Instance of Symbol 405 MovieClip "Quest1" in Symbol 419 MovieClip Frame 5
onClipEvent (enterFrame) {
this.Text = "Hit 200 Combo";
if (act == 2) {
_global.Quest = 1;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest3" in Symbol 419 MovieClip Frame 5
onClipEvent (enterFrame) {
this.Text = "Hit 300 Combo";
if (act == 2) {
_global.Quest = 3;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Instance of Symbol 405 MovieClip "Quest4" in Symbol 419 MovieClip Frame 5
onClipEvent (enterFrame) {
this.Text = "Score a 500 hit Combo";
if (act == 2) {
_global.Quest = 4;
_global.KillCount = 0;
_global.KillCount2 = 0;
_global.KillCount3 = 0;
_global.BuildingCount = 0;
_root.gotoAndStop("GAMEPLAY");
act = 1;
}
}
Symbol 422 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 423 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 2
boxx.gotoAndPlay(2);
Symbol 423 MovieClip Frame 10
stop();
Symbol 423 MovieClip Frame 11
boxx.gotoAndStop(1);
Symbol 424 MovieClip Frame 1
stop();
CockBlock._x = 100;
CockBlock._y = 475;
Instance of Symbol 353 MovieClip "btnLevel1" in Symbol 424 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 4) {
_global.Level = 1;
_global.Quest = 1;
if (_parent.QuestsMission1._currentFrame == 1) {
_parent.QuestsMission1.gotoAndStop(2);
if (_parent.QuestsMission2._currentFrame != 1) {
_parent.QuestsMission2.gotoAndStop(1);
_parent.QuestBullet._x = 800;
}
if (_parent.QuestsMission3._currentFrame != 1) {
_parent.QuestsMission3.gotoAndStop(1);
_parent.QuestBullet._x = 800;
}
if (_parent.QuestsMission4._currentFrame != 1) {
_parent.QuestsMission4.gotoAndStop(1);
_parent.QuestBullet._x = 800;
}
} else {
_parent.QuestsMission1.gotoAndStop(1);
_parent.QuestBullet._x = 800;
}
act = 3;
}
}
Instance of Symbol 368 MovieClip "btnLevel2" in Symbol 424 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.LevelAvaliable[4] == 1) {
this.Lock.gotoAndStop(2);
}
if ((act == 4) && (_global.LevelAvaliable[4] == 1)) {
_global.Level = 2;
_global.Quest = 1;
if (_parent.QuestsMission2._currentFrame == 1) {
_parent.QuestsMission2.gotoAndPlay(2);
if (_parent.QuestsMission1._currentFrame != 1) {
_parent.QuestsMission1.gotoAndPlay(1);
_parent.QuestBullet._x = 800;
}
if (_parent.QuestsMission3._currentFrame != 1) {
_parent.QuestsMission3.gotoAndPlay(1);
_parent.QuestBullet._x = 800;
}
if (_parent.QuestsMission4._currentFrame != 1) {
_parent.QuestsMission4.gotoAndPlay(1);
_parent.QuestBullet._x = 800;
}
} else {
_parent.QuestsMission2.gotoAndPlay(1);
_parent.QuestBullet._x = 800;
}
act = 3;
}
}
Instance of Symbol 384 MovieClip "btnLevel3" in Symbol 424 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.LevelAvaliable[8] == 1) {
this.Lock.gotoAndStop(2);
}
if ((act == 4) && (_global.LevelAvaliable[8] == 1)) {
_global.Level = 3;
_global.Quest = 1;
if (_parent.QuestsMission3._currentFrame == 1) {
_parent.QuestsMission3.gotoAndPlay(2);
if (_parent.QuestsMission1._currentFrame != 1) {
_parent.QuestsMission1.gotoAndPlay(1);
_parent.QuestBullet._x = 800;
}
if (_parent.QuestsMission2._currentFrame != 1) {
_parent.QuestsMission2.gotoAndPlay(1);
_parent.QuestBullet._x = 800;
}
if (_parent.QuestsMission4._currentFrame != 1) {
_parent.QuestsMission4.gotoAndPlay(1);
_parent.QuestBullet._x = 800;
}
} else {
_parent.QuestsMission3.gotoAndPlay(1);
_parent.QuestBullet._x = 800;
}
act = 3;
}
}
Instance of Symbol 394 MovieClip "btnLevel4" in Symbol 424 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.LevelAvaliable[12] == 1) {
this.Lock.gotoAndStop(2);
}
if ((act == 4) && (_global.LevelAvaliable[12] == 1)) {
_global.Level = 4;
_global.Quest = 1;
if (_parent.QuestsMission4._currentFrame == 1) {
_parent.QuestsMission4.gotoAndPlay(2);
if (_parent.QuestsMission1._currentFrame != 1) {
_parent.QuestsMission1.gotoAndPlay(1);
_parent.QuestBullet._x = 800;
}
if (_parent.QuestsMission2._currentFrame != 1) {
_parent.QuestsMission2.gotoAndPlay(1);
_parent.QuestBullet._x = 800;
}
if (_parent.QuestsMission3._currentFrame != 1) {
_parent.QuestsMission3.gotoAndPlay(1);
_parent.QuestBullet._x = 800;
}
} else {
_parent.QuestsMission4.gotoAndPlay(1);
_parent.QuestBullet._x = 800;
}
act = 3;
}
}
Instance of Symbol 101 MovieClip "btnMoreGames" in Symbol 424 MovieClip Frame 1
onClipEvent (load) {
this.btnText = "MORE GAMES";
}
onClipEvent (enterFrame) {
if (act == 2) {
_global.BtnSound = new Sound();
_global.BtnSound.attachSound("Btn");
_global.BtnSound.start();
getURL ("http://www.gamesfree.ca", "_blank");
act = 1;
}
}
Instance of Symbol 423 MovieClip "btnUpgrades" in Symbol 424 MovieClip Frame 1
onClipEvent (load) {
this.btnText = "ARMORY";
}
onClipEvent (enterFrame) {
if (act == 2) {
_global.BtnSound = new Sound();
_global.BtnSound.attachSound("Btn");
_global.BtnSound.start();
_root.gotoAndStop("UPGRADES");
act = 1;
}
}
Symbol 427 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 428 MovieClip Frame 1
stop();
Symbol 428 MovieClip Frame 2
boxx.gotoAndPlay(2);
Symbol 428 MovieClip Frame 10
stop();
Symbol 428 MovieClip Frame 11
boxx.gotoAndStop(1);
Symbol 432 MovieClip Frame 1
stop();
Symbol 432 MovieClip Frame 2
stop();
Symbol 434 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 2
stop();
Symbol 466 MovieClip Frame 3
stop();
Symbol 466 MovieClip Frame 4
stop();
Symbol 466 MovieClip Frame 5
stop();
Symbol 466 MovieClip Frame 6
stop();
Symbol 466 MovieClip Frame 7
stop();
Symbol 466 MovieClip Frame 8
stop();
Symbol 466 MovieClip Frame 9
stop();
Symbol 466 MovieClip Frame 10
stop();
Symbol 472 Button
on (release) {
act = 2;
}
on (rollOver) {
act = 33;
gotoAndPlay (2);
}
on (rollOut) {
act = 1;
gotoAndPlay (17);
}
Symbol 474 MovieClip Frame 1
stop();
Symbol 474 MovieClip Frame 16
stop();
Symbol 475 MovieClip Frame 1
Set(FireRate, _global.SpeedUpgrade + 1);
SpeedPBar.gotoAndStop(eval (FireRate));
Set(PowerLvl, _global.PowerUpgrade + 1);
PowerPbar.gotoAndStop(eval (PowerLvl));
_global.tabDmgCost = [1500, 3000, 5000, 8000, 12000, 16000, 20000, 25000, 30000];
_global.tabSpeedCost = [1000, 1500, 2500, 4000, 6000, 8500, 11000, 14000, 18000];
dmgCost = _global.tabDmgCost[_global.PowerUpgrade] + "$";
if (_global.PowerUpgrade == 9) {
dmgCost = "MAXED";
}
rateCost = _global.tabSpeedCost[_global.SpeedUpgrade] + "$";
if (_global.SpeedUpgrade == 9) {
rateCost = "MAXED";
}
onEnterFrame = function () {
nbBombe = _global.RocketAmmo;
nbNuke = _global.NukeAmmo;
};
Instance of Symbol 474 MovieClip in Symbol 475 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 33) {
_root.Upgrades.ProTips4.TipsText = "This will increase your bullet damage.";
}
if (act == 2) {
if (_global.PowerUpgrade < 9) {
Set(ActualPowerLvl, _global.PowerUpgrade);
if (_global.Money >= _global.tabDmgCost[eval (ActualPowerLvl)]) {
_global.Money = _global.Money - _global.tabDmgCost[eval (ActualPowerLvl)];
_global.PowerUpgrade++;
Set(PowerLvl, _global.PowerUpgrade + 1);
_parent.PowerPbar.gotoAndStop(eval (PowerLvl));
Set(ActualPowerLvl, _global.PowerUpgrade);
_parent.dmgCost = _global.tabDmgCost[eval (ActualPowerLvl)] + "$";
_global.MoneySound = new Sound();
_global.MoneySound.attachSound("Cash");
_global.MoneySound.start();
_root.user.data.Money = _global.Money;
_root.user.data.RocketAmmo = _global.RocketAmmo;
_root.user.data.NukeAmmo = _global.NukeAmmo;
_root.user.data.LevelAvaliable = _global.LevelAvaliable;
_root.user.data.SpeedUpgrade = _global.SpeedUpgrade;
_root.user.data.PowerUpgrade = _global.PowerUpgrade;
_root.user.data.SniperScope = _global.SniperScope;
_root.user.data.CoolingSys = _global.CoolingSys;
_root.user.data.NadeLuncher = _global.NadeLuncher;
_root.user.data.NadeUpgrade = _global.NadeUpgrade;
_root.user.data.user.flush();
}
}
if (_global.PowerUpgrade == 9) {
_parent.dmgCost = "MAXED";
_root.user.data.Money = _global.Money;
_root.user.data.RocketAmmo = _global.RocketAmmo;
_root.user.data.NukeAmmo = _global.NukeAmmo;
_root.user.data.LevelAvaliable = _global.LevelAvaliable;
_root.user.data.SpeedUpgrade = _global.SpeedUpgrade;
_root.user.data.PowerUpgrade = _global.PowerUpgrade;
_root.user.data.SniperScope = _global.SniperScope;
_root.user.data.CoolingSys = _global.CoolingSys;
_root.user.data.NadeLuncher = _global.NadeLuncher;
_root.user.data.NadeUpgrade = _global.NadeUpgrade;
_root.user.data.user.flush();
}
act = 1;
}
}
Instance of Symbol 474 MovieClip in Symbol 475 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 33) {
_root.Upgrades.ProTips4.TipsText = "This will increase your firing rate.";
}
if (act == 2) {
if (_global.SpeedUpgrade < 9) {
Set(ActualSpeed, _global.SpeedUpgrade);
if (_global.Money >= _global.tabSpeedCost[eval (ActualSpeed)]) {
_global.Money = _global.Money - _global.tabSpeedCost[eval (ActualSpeed)];
_global.SpeedUpgrade++;
Set(FireRate, _global.SpeedUpgrade + 1);
_parent.SpeedPBar.gotoAndStop(eval (FireRate));
Set(ActualSpeed, _global.SpeedUpgrade);
_parent.rateCost = _global.tabSpeedCost[eval (ActualSpeed)] + "$";
_global.MoneySound = new Sound();
_global.MoneySound.attachSound("Cash");
_global.MoneySound.start();
_root.user.data.Money = _global.Money;
_root.user.data.RocketAmmo = _global.RocketAmmo;
_root.user.data.NukeAmmo = _global.NukeAmmo;
_root.user.data.LevelAvaliable = _global.LevelAvaliable;
_root.user.data.SpeedUpgrade = _global.SpeedUpgrade;
_root.user.data.PowerUpgrade = _global.PowerUpgrade;
_root.user.data.SniperScope = _global.SniperScope;
_root.user.data.CoolingSys = _global.CoolingSys;
_root.user.data.NadeLuncher = _global.NadeLuncher;
_root.user.data.NadeUpgrade = _global.NadeUpgrade;
_root.user.data.user.flush();
}
}
if (_global.SpeedUpgrade == 9) {
_parent.rateCost = "MAXED";
_root.user.data.Money = _global.Money;
_root.user.data.RocketAmmo = _global.RocketAmmo;
_root.user.data.NukeAmmo = _global.NukeAmmo;
_root.user.data.LevelAvaliable = _global.LevelAvaliable;
_root.user.data.SpeedUpgrade = _global.SpeedUpgrade;
_root.user.data.PowerUpgrade = _global.PowerUpgrade;
_root.user.data.SniperScope = _global.SniperScope;
_root.user.data.CoolingSys = _global.CoolingSys;
_root.user.data.NadeLuncher = _global.NadeLuncher;
_root.user.data.NadeUpgrade = _global.NadeUpgrade;
_root.user.data.user.flush();
}
act = 1;
}
}
Instance of Symbol 474 MovieClip in Symbol 475 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 33) {
_root.Upgrades.ProTips4.TipsText = "Press 'b' to launch a bomb where you are aiming.";
}
if (act == 2) {
if (_global.Money >= 1000) {
_global.Money = _global.Money - 1000;
_global.RocketAmmo++;
_global.MoneySound = new Sound();
_global.MoneySound.attachSound("Cash");
_global.MoneySound.start();
_root.user.data.Money = _global.Money;
_root.user.data.RocketAmmo = _global.RocketAmmo;
_root.user.data.NukeAmmo = _global.NukeAmmo;
_root.user.data.LevelAvaliable = _global.LevelAvaliable;
_root.user.data.SpeedUpgrade = _global.SpeedUpgrade;
_root.user.data.PowerUpgrade = _global.PowerUpgrade;
_root.user.data.SniperScope = _global.SniperScope;
_root.user.data.CoolingSys = _global.CoolingSys;
_root.user.data.NadeLuncher = _global.NadeLuncher;
_root.user.data.NadeUpgrade = _global.NadeUpgrade;
_root.user.data.user.flush();
}
act = 1;
}
}
Instance of Symbol 474 MovieClip in Symbol 475 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 33) {
_root.Upgrades.ProTips4.TipsText = "Press space to launch a large nuke explosion where you are aiming.";
}
if (act == 2) {
if (_global.Money >= 6000) {
_global.Money = _global.Money - 6000;
_global.NukeAmmo = _global.NukeAmmo + 1;
_global.MoneySound = new Sound();
_global.MoneySound.attachSound("Cash");
_global.MoneySound.start();
_root.user.data.Money = _global.Money;
_root.user.data.RocketAmmo = _global.RocketAmmo;
_root.user.data.NukeAmmo = _global.NukeAmmo;
_root.user.data.LevelAvaliable = _global.LevelAvaliable;
_root.user.data.SpeedUpgrade = _global.SpeedUpgrade;
_root.user.data.PowerUpgrade = _global.PowerUpgrade;
_root.user.data.SniperScope = _global.SniperScope;
_root.user.data.CoolingSys = _global.CoolingSys;
_root.user.data.NadeLuncher = _global.NadeLuncher;
_root.user.data.NadeUpgrade = _global.NadeUpgrade;
_root.user.data.user.flush();
}
act = 1;
}
}
Symbol 478 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 484 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 485 MovieClip Frame 1
stop();
Symbol 488 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 491 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 10
stop();
Symbol 492 MovieClip Frame 20
stop();
Instance of Symbol 485 MovieClip "btnCheat" in Symbol 492 MovieClip Frame 32
onClipEvent (load) {
this.btnText = "VALIDATE";
}
onClipEvent (enterFrame) {
if (act == 2) {
if ((((((_root.Upgrades.MenuBtnCheat.CheatInput.Txt.text == "AMO") || (_root.Upgrades.MenuBtnCheat.CheatInput.Txt.text == "LVL")) || (_root.Upgrades.MenuBtnCheat.CheatInput.Txt.text == "MNY")) || (_root.Upgrades.MenuBtnCheat.CheatInput.Txt.text == "SWM")) || (_root.Upgrades.MenuBtnCheat.CheatInput.Txt.text == "NKM")) || (_root.Upgrades.MenuBtnCheat.CheatInput.Txt.text == "INF")) {
_root.Upgrades.MenuBtnCheat.CheatSuccess.gotoAndPlay(2);
switch (_root.Upgrades.MenuBtnCheat.CheatInput.Txt.text) {
case "AMO" :
_global.InfiniteAmmo = true;
break;
case "LVL" :
_global.LevelAvaliable = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
break;
case "MNY" :
_global.Money = _global.Money + 10000;
break;
case "SWM" :
_global.ZombieSwarm = true;
break;
case "NKM" :
_global.EcplosiveAmmo = true;
break;
case "INF" :
_global.InfiniteMode = true;
}
}
_root.Upgrades.MenuBtnCheat.CheatInput.Txt.text = "";
act = 1;
}
}
Symbol 492 MovieClip Frame 35
stop();
Instance of Symbol 489 MovieClip in Symbol 492 MovieClip Frame 35
onClipEvent (enterFrame) {
if (act == 2) {
getURL ("http://www.gamesfree.ca/customPage/93/", "_blank");
act = 1;
}
}
Symbol 495 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 496 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 2
boxx.gotoAndPlay(2);
Symbol 496 MovieClip Frame 10
stop();
Symbol 496 MovieClip Frame 11
boxx.gotoAndStop(1);
Symbol 502 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 2
stop();
Symbol 506 MovieClip Frame 3
stop();
Symbol 506 MovieClip Frame 4
stop();
Symbol 509 MovieClip Frame 1
tabNadeCost = [6000, 12000, 18000, "Maxed"];
Set(NadeSpeed, _global.NadeUpgrade + 1);
NadeSpeedBar.gotoAndStop(eval (NadeSpeed));
if (_global.SniperScope == 1) {
ScopeEnable = "Unlocked";
}
if (_global.CoolingSys == 1) {
CoolingEnable = "Unlocked";
}
if (_global.NadeLuncher == 1) {
LunchCost._x = -1000;
LunchPlus._x = -1000;
SpeedText._x = -222;
SpeedPlus._x = 70;
SpeedCost._x = 100;
NadeSpeedBar._x = -40;
}
onEnterFrame = function () {
if (_global.NadeUpgrade < 3) {
reloadSpeed = tabNadeCost[_global.NadeUpgrade] + "$";
} else {
reloadSpeed = tabNadeCost[_global.NadeUpgrade];
}
};
Instance of Symbol 474 MovieClip in Symbol 509 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 33) {
_root.Upgrades.AttTipsPanel.AttTips = "The cooling system will reduce your overheat level.";
}
if (act == 2) {
if ((_global.Money >= 10000) && (_global.CoolingSys == 0)) {
_global.Money = _global.Money - 10000;
_global.CoolingSys = 1;
_parent.CoolingEnable = "Unlocked";
_global.MoneySound = new Sound();
_global.MoneySound.attachSound("Cash");
_global.MoneySound.start();
_root.user.data.Money = _global.Money;
_root.user.data.RocketAmmo = _global.RocketAmmo;
_root.user.data.NukeAmmo = _global.NukeAmmo;
_root.user.data.LevelAvaliable = _global.LevelAvaliable;
_root.user.data.SpeedUpgrade = _global.SpeedUpgrade;
_root.user.data.PowerUpgrade = _global.PowerUpgrade;
_root.user.data.SniperScope = _global.SniperScope;
_root.user.data.CoolingSys = _global.CoolingSys;
_root.user.data.NadeLuncher = _global.NadeLuncher;
_root.user.data.NadeUpgrade = _global.NadeUpgrade;
_root.user.data.user.flush();
}
act = 1;
}
}
Instance of Symbol 474 MovieClip "LunchPlus" in Symbol 509 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 33) {
_root.Upgrades.AttTipsPanel.AttTips = "Grenade launcher will automatically fire bombs at fixed intervals.";
}
if (act == 2) {
if ((_global.Money >= 15000) && (_global.NadeLuncher == 0)) {
_global.Money = _global.Money - 15000;
_global.NadeLuncher = 1;
_parent.LuncherEnable = "Unlocked";
_parent.LunchCost._x = -1000;
_parent.LunchPlus._x = -1000;
_parent.SpeedText._x = -222;
_parent.SpeedPlus._x = 70;
_parent.SpeedCost._x = 100;
_parent.NadeSpeedBar._x = -40;
_global.MoneySound = new Sound();
_global.MoneySound.attachSound("Cash");
_global.MoneySound.start();
_root.user.data.Money = _global.Money;
_root.user.data.RocketAmmo = _global.RocketAmmo;
_root.user.data.NukeAmmo = _global.NukeAmmo;
_root.user.data.LevelAvaliable = _global.LevelAvaliable;
_root.user.data.SpeedUpgrade = _global.SpeedUpgrade;
_root.user.data.PowerUpgrade = _global.PowerUpgrade;
_root.user.data.SniperScope = _global.SniperScope;
_root.user.data.CoolingSys = _global.CoolingSys;
_root.user.data.NadeLuncher = _global.NadeLuncher;
_root.user.data.NadeUpgrade = _global.NadeUpgrade;
_root.user.data.user.flush();
}
act = 1;
}
}
Instance of Symbol 474 MovieClip "SpeedPlus" in Symbol 509 MovieClip Frame 1
onClipEvent (enterFrame) {
tabNadeCost = [6000, 12000, 18000, "Maxed"];
if (act == 33) {
_root.Upgrades.AttTipsPanel.AttTips = "Reloads your grenade launcher faster.";
}
if (act == 2) {
if ((_global.Money >= tabNadeCost[_global.NadeUpgrade]) && (_global.NadeUpgrade < 3)) {
_global.Money = _global.Money - tabNadeCost[_global.NadeUpgrade];
_global.NadeUpgrade++;
Set(NadeSpeed, _global.NadeUpgrade + 1);
_parent.NadeSpeedBar.gotoAndStop(eval (NadeSpeed));
_global.MoneySound = new Sound();
_global.MoneySound.attachSound("Cash");
_global.MoneySound.start();
_root.user.data.Money = _global.Money;
_root.user.data.RocketAmmo = _global.RocketAmmo;
_root.user.data.NukeAmmo = _global.NukeAmmo;
_root.user.data.LevelAvaliable = _global.LevelAvaliable;
_root.user.data.SpeedUpgrade = _global.SpeedUpgrade;
_root.user.data.PowerUpgrade = _global.PowerUpgrade;
_root.user.data.SniperScope = _global.SniperScope;
_root.user.data.CoolingSys = _global.CoolingSys;
_root.user.data.NadeLuncher = _global.NadeLuncher;
_root.user.data.NadeUpgrade = _global.NadeUpgrade;
_root.user.data.user.flush();
}
act = 1;
}
}
Symbol 511 MovieClip Frame 1
randomNumber = random(2) + 1;
if (randomNumber == 1) {
AttTips = "Cooling system makes your gun heating slowly";
} else {
AttTips = "Grenade luncher will fire bombs at fixed intervals";
}
Symbol 512 MovieClip Frame 1
stop();
if (!_global.FirstArmory) {
tutoArmory._x = -10000;
}
_global.FirstArmory = false;
onEnterFrame = function () {
Cash.Text = _global.Money;
if (_global.AKUnlocked) {
Crate1.gotoAndStop(3);
}
if (_global.SniperUnlocked) {
Crate2.gotoAndStop(3);
}
if (_global.MinigunUnlocked) {
Crate3.gotoAndStop(3);
}
if (_global.RocketUnlocked) {
Crate4.gotoAndStop(3);
}
if (_global.NukeUnlocked) {
Crate5.gotoAndStop(3);
}
};
Instance of Symbol 88 MovieClip in Symbol 512 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
_global.BtnSound = new Sound();
_global.BtnSound.attachSound("Btn");
_global.BtnSound.start();
_root.gotoAndStop("SELECTOR");
act = 1;
}
}
Instance of Symbol 492 MovieClip "MenuBtnCheat" in Symbol 512 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
_global.BtnSound = new Sound();
_global.BtnSound.attachSound("Btn");
_global.BtnSound.start();
this.gotoAndPlay(21);
act = 1;
}
}
Instance of Symbol 496 MovieClip in Symbol 512 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
_global.BtnSound = new Sound();
_global.BtnSound.attachSound("Btn");
_global.BtnSound.start();
_parent.gotoAndStop(2);
act = 1;
}
}
Symbol 512 MovieClip Frame 2
stop();
if (!_global.FirstArmory) {
tutoArmory._x = -10000;
}
_global.FirstArmory = false;
onEnterFrame = function () {
Cash.Text = _global.Money;
if (_global.AKUnlocked) {
Crate1.gotoAndStop(3);
}
if (_global.SniperUnlocked) {
Crate2.gotoAndStop(3);
}
if (_global.MinigunUnlocked) {
Crate3.gotoAndStop(3);
}
if (_global.RocketUnlocked) {
Crate4.gotoAndStop(3);
}
if (_global.NukeUnlocked) {
Crate5.gotoAndStop(3);
}
};
Instance of Symbol 88 MovieClip in Symbol 512 MovieClip Frame 2
onClipEvent (enterFrame) {
if (act == 2) {
_global.BtnSound = new Sound();
_global.BtnSound.attachSound("Btn");
_global.BtnSound.start();
_root.gotoAndStop("SELECTOR");
act = 1;
}
}
Instance of Symbol 492 MovieClip "MenuBtnCheat" in Symbol 512 MovieClip Frame 2
onClipEvent (enterFrame) {
if (act == 2) {
_global.BtnSound = new Sound();
_global.BtnSound.attachSound("Btn");
_global.BtnSound.start();
this.gotoAndPlay(21);
act = 1;
}
}
Instance of Symbol 423 MovieClip "btnUpgrades" in Symbol 512 MovieClip Frame 2
onClipEvent (load) {
this.btnText = "ARMORY";
}
onClipEvent (enterFrame) {
if (act == 2) {
_global.BtnSound = new Sound();
_global.BtnSound.attachSound("Btn");
_global.BtnSound.start();
_parent.gotoAndStop(1);
act = 1;
}
}
Symbol 515 MovieClip Frame 1
stop();
Symbol 515 MovieClip Frame 20
gotoAndStop (1);
Symbol 524 MovieClip Frame 1
stop();
Symbol 524 MovieClip Frame 2
stop();
Symbol 524 MovieClip Frame 3
stop();
Symbol 524 MovieClip Frame 4
stop();
Symbol 524 MovieClip Frame 5
stop();
Symbol 524 MovieClip Frame 6
stop();
Symbol 524 MovieClip Frame 7
stop();
Symbol 524 MovieClip Frame 8
stop();
Symbol 531 MovieClip Frame 1
stop();
Dead = false;
HP = 100;
Symbol 531 MovieClip Frame 2
stop();
Symbol 531 MovieClip Frame 3
stop();
Symbol 531 MovieClip Frame 4
stop();
Symbol 531 MovieClip Frame 5
stop();
Symbol 531 MovieClip Frame 6
stop();
_global.Combo++;
if (_global.Combo > 1) {
_root.ComboTimer.gotoAndPlay(2);
}
Symbol 538 MovieClip Frame 1
stop();
Dead = false;
HP = 100;
Symbol 538 MovieClip Frame 2
stop();
Symbol 538 MovieClip Frame 3
stop();
Symbol 538 MovieClip Frame 4
stop();
Symbol 538 MovieClip Frame 5
stop();
Symbol 538 MovieClip Frame 6
stop();
_global.Combo++;
if (_global.Combo > 1) {
_root.ComboTimer.gotoAndPlay(2);
}
Symbol 545 MovieClip Frame 1
stop();
Dead = false;
HP = 100;
Symbol 545 MovieClip Frame 2
stop();
Symbol 545 MovieClip Frame 3
stop();
Symbol 545 MovieClip Frame 4
stop();
Symbol 545 MovieClip Frame 5
stop();
Symbol 545 MovieClip Frame 6
stop();
_global.Combo++;
if (_global.Combo > 1) {
_root.ComboTimer.gotoAndPlay(2);
}
Symbol 552 MovieClip Frame 1
stop();
Dead = false;
HP = 100;
Symbol 552 MovieClip Frame 2
stop();
Symbol 552 MovieClip Frame 3
stop();
Symbol 552 MovieClip Frame 4
stop();
Symbol 552 MovieClip Frame 5
stop();
Symbol 552 MovieClip Frame 6
stop();
_global.Combo++;
if (_global.Combo > 1) {
_root.ComboTimer.gotoAndPlay(2);
}
Symbol 559 MovieClip Frame 1
stop();
Dead = false;
HP = 100;
Symbol 559 MovieClip Frame 2
stop();
Symbol 559 MovieClip Frame 3
stop();
Symbol 559 MovieClip Frame 4
stop();
Symbol 559 MovieClip Frame 5
stop();
Symbol 559 MovieClip Frame 6
stop();
_global.Combo++;
if (_global.Combo > 1) {
_root.ComboTimer.gotoAndPlay(2);
}
Symbol 565 MovieClip Frame 1
stop();
Dead = false;
HP = 75;
Symbol 565 MovieClip Frame 2
stop();
Symbol 565 MovieClip Frame 3
stop();
Symbol 565 MovieClip Frame 4
stop();
Symbol 565 MovieClip Frame 5
stop();
Symbol 572 MovieClip Frame 1
stop();
Dead = false;
HP = 75;
Symbol 572 MovieClip Frame 2
stop();
Symbol 572 MovieClip Frame 3
stop();
Symbol 572 MovieClip Frame 4
stop();
Symbol 572 MovieClip Frame 5
stop();
Symbol 572 MovieClip Frame 6
stop();
Symbol 578 MovieClip Frame 1
stop();
Dead = false;
HP = 75;
Symbol 578 MovieClip Frame 2
stop();
Symbol 578 MovieClip Frame 3
stop();
Symbol 578 MovieClip Frame 4
stop();
Symbol 578 MovieClip Frame 5
stop();
Symbol 585 MovieClip Frame 1
stop();
Dead = false;
HP = 75;
Symbol 585 MovieClip Frame 2
stop();
Symbol 585 MovieClip Frame 3
stop();
Symbol 585 MovieClip Frame 4
stop();
Symbol 585 MovieClip Frame 5
stop();
Symbol 585 MovieClip Frame 6
stop();
Symbol 592 MovieClip Frame 1
stop();
Dead = false;
HP = 100;
Symbol 592 MovieClip Frame 2
stop();
Symbol 592 MovieClip Frame 3
stop();
Symbol 592 MovieClip Frame 4
stop();
Symbol 592 MovieClip Frame 5
stop();
Symbol 592 MovieClip Frame 6
stop();
Symbol 599 MovieClip Frame 1
stop();
Dead = false;
HP = 100;
Symbol 599 MovieClip Frame 2
stop();
Symbol 599 MovieClip Frame 3
stop();
Symbol 599 MovieClip Frame 4
stop();
Symbol 599 MovieClip Frame 5
stop();
Symbol 599 MovieClip Frame 6
stop();
Symbol 606 MovieClip Frame 1
stop();
Dead = false;
HP = 100;
Symbol 606 MovieClip Frame 2
stop();
Symbol 606 MovieClip Frame 3
stop();
Symbol 606 MovieClip Frame 4
stop();
Symbol 606 MovieClip Frame 5
stop();
Symbol 606 MovieClip Frame 6
stop();
Symbol 613 MovieClip Frame 1
stop();
Dead = false;
HP = 100;
Symbol 613 MovieClip Frame 2
stop();
Symbol 613 MovieClip Frame 3
stop();
Symbol 613 MovieClip Frame 4
stop();
Symbol 613 MovieClip Frame 5
stop();
Symbol 613 MovieClip Frame 6
stop();
Symbol 645 MovieClip Frame 1
_rotation = random(360);
_xscale = (random(20) + 80);
_yscale = (random(20) + 80);
Symbol 645 MovieClip Frame 10
stop();
Symbol 705 MovieClip Frame 25
stop();
Symbol 705 MovieClip Frame 54
stop();
Symbol 705 MovieClip Frame 78
stop();
Symbol 706 MovieClip Frame 1
stop();
Dead = false;
HP = 4;
Symbol 706 MovieClip Frame 2
stop();
tabMort = ["Mort1", "Mort2", "Mort3", "Mort4", "Mort5", "Mort6", "Mort7", "Mort8", "Mort9", "Mort10", "DieSkumBags", "HeeHa", "Hoyea", "Woohoo"];
RandomSound = random(50) + 1;
_global.MortSound = new Sound();
_global.MortSound.attachSound(tabMort[RandomSound]);
_global.MortSound.start();
_global.Combo++;
if (_global.Combo > 1) {
_root.ComboTimer.gotoAndPlay(2);
}
Symbol 728 MovieClip Frame 10
stop();
Symbol 728 MovieClip Frame 18
stop();
Symbol 729 MovieClip Frame 1
stop();
Dead = false;
HP = 30;
Symbol 729 MovieClip Frame 2
stop();
Dead = false;
Symbol 729 MovieClip Frame 3
stop();
Dead = false;
Symbol 729 MovieClip Frame 4
stop();
Dead = false;
Symbol 729 MovieClip Frame 5
stop();
tabMort = ["Mort1", "Mort2", "Mort3", "Mort4", "Mort5", "Mort6", "Mort7", "Mort8", "Mort9", "Mort10", "DieSkumBags", "HeeHa", "Hoyea", "Woohoo"];
RandomSound = random(50) + 1;
_global.MortSound = new Sound();
_global.MortSound.attachSound(tabMort[RandomSound]);
_global.MortSound.start();
_global.Combo++;
if (_global.Combo > 1) {
_root.ComboTimer.gotoAndPlay(2);
}
Symbol 767 MovieClip Frame 10
stop();
Symbol 767 MovieClip Frame 15
stop();
Symbol 767 MovieClip Frame 52
stop();
Symbol 768 MovieClip Frame 1
stop();
Dead = false;
HP = 10;
Symbol 768 MovieClip Frame 2
stop();
tabMort = ["Mort1", "Mort2", "Mort3", "Mort4", "Mort5", "Mort6", "Mort7", "Mort8", "Mort9", "Mort10", "DieSkumBags", "HeeHa", "Hoyea", "Woohoo"];
RandomSound = random(50) + 1;
_global.MortSound = new Sound();
_global.MortSound.attachSound(tabMort[RandomSound]);
_global.MortSound.start();
_global.Combo++;
if (_global.Combo > 1) {
_root.ComboTimer.gotoAndPlay(2);
}
Symbol 777 MovieClip Frame 1
stop();
Symbol 777 MovieClip Frame 2
stop();
Symbol 777 MovieClip Frame 3
stop();
Symbol 777 MovieClip Frame 4
stop();
Symbol 777 MovieClip Frame 5
stop();
Symbol 777 MovieClip Frame 6
stop();
Symbol 777 MovieClip Frame 7
stop();
Symbol 777 MovieClip Frame 8
stop();
Symbol 786 MovieClip Frame 1
stop();
Symbol 786 MovieClip Frame 2
stop();
Symbol 786 MovieClip Frame 3
stop();
Symbol 786 MovieClip Frame 4
stop();
Symbol 786 MovieClip Frame 5
stop();
Symbol 786 MovieClip Frame 6
stop();
Symbol 786 MovieClip Frame 7
stop();
Symbol 786 MovieClip Frame 8
stop();
Symbol 787 MovieClip Frame 1
stop();
Symbol 787 MovieClip Frame 2
stop();
Symbol 787 MovieClip Frame 3
stop();
Symbol 787 MovieClip Frame 4
stop();
Symbol 800 MovieClip Frame 1
stop();
Dead = false;
HP = 1;
Symbol 800 MovieClip Frame 2
stop();
Symbol 800 MovieClip Frame 3
stop();
Symbol 800 MovieClip Frame 6
stop();
Symbol 814 MovieClip Frame 1
stop();
Dead = false;
HP = 1;
Symbol 814 MovieClip Frame 2
stop();
Symbol 814 MovieClip Frame 3
stop();
Symbol 814 MovieClip Frame 4
stop();
Symbol 814 MovieClip Frame 5
stop();
Symbol 814 MovieClip Frame 6
stop();
Instance of Symbol 819 MovieClip in Symbol 827 MovieClip Frame 1
/* no clip actions */
Symbol 853 MovieClip Frame 95
stop();
Symbol 854 MovieClip Frame 1
stop();
Symbol 854 MovieClip Frame 105
stop();
_parent.gotoAndPlay("EndLevel");
Symbol 857 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (3);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 859 MovieClip Frame 1
stop();
Symbol 859 MovieClip Frame 2
stop();
Symbol 859 MovieClip Frame 10
stop();
Symbol 859 MovieClip Frame 21
stop();
Symbol 861 MovieClip Frame 70
stop();
Symbol 864 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 865 MovieClip Frame 1
stop();
Symbol 865 MovieClip Frame 2
boxx.gotoAndPlay(2);
Symbol 865 MovieClip Frame 10
stop();
Symbol 865 MovieClip Frame 11
boxx.gotoAndStop(1);
Symbol 874 MovieClip Frame 1
stop();
Symbol 874 MovieClip Frame 2
_global.TipsOpened = true;
_parent.ZoneTire._x = -3000;
stop();
Instance of Symbol 865 MovieClip "btnNewGame" in Symbol 874 MovieClip Frame 2
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_global.TipsOpened = false;
_global.LevelSpeed = 4;
_parent._parent.ZoneTire._x = 415;
}
}
Symbol 874 MovieClip Frame 3
_global.TipsOpened = true;
_parent.ZoneTire._x = -3000;
stop();
building2.gotoAndStop(2);
building3.gotoAndStop(5);
Symbol 874 MovieClip Frame 4
_global.TipsOpened = true;
stop();
_parent.ZoneTire._x = -3000;
Symbol 874 MovieClip Frame 5
_global.TipsOpened = true;
stop();
_parent.ZoneTire._x = -3000;
Symbol 874 MovieClip Frame 6
_global.TipsOpened = true;
stop();
_parent.ZoneTire._x = -3000;
Symbol 874 MovieClip Frame 7
_global.TipsOpened = true;
stop();
_parent.ZoneTire._x = -3000;
Symbol 874 MovieClip Frame 8
_global.TipsOpened = true;
stop();
_parent.ZoneTire._x = -3000;
Symbol 874 MovieClip Frame 9
_global.TipsOpened = true;
stop();
_parent.ZoneTire._x = -3000;
Symbol 878 MovieClip Frame 1
stop();
Symbol 911 MovieClip Frame 1
Flash._rotation = random(360);
Flash._xscale = random(10) + 90;
Flash._yscale = random(10) + 90;
Symbol 911 MovieClip Frame 2
Flash._rotation = random(360);
Flash._xscale = random(10) + 90;
Flash._yscale = random(10) + 90;
Symbol 911 MovieClip Frame 3
Flash._rotation = random(360);
Flash._xscale = random(10) + 90;
Flash._yscale = random(10) + 90;
Symbol 912 MovieClip Frame 1
stop();
Cooling._alpha = _global.CoolingSys * 100;
Grenade._alpha = _global.NadeLuncher * 100;
Symbol 916 MovieClip Frame 1
stop();
Symbol 916 MovieClip Frame 48
gotoAndStop (1);
if (_global.Combo > _global.LargeCombo) {
_global.LargeCombo = _global.Combo;
}
if (_global.Combo > 5) {
_global.Money = _global.Money + 500;
}
_global.Combo = 0;
Symbol 920 MovieClip Frame 1
stop();
Symbol 920 MovieClip Frame 105
stop();
_parent.gotoAndPlay("EndLevel");
Symbol 935 MovieClip Frame 1
stop();
Successful = false;
if (_global.Objective > 0) {
if (((_global.KillCount + _global.KillCount2) + _global.KillCount3) < _global.Objective) {
gotoAndStop (2);
} else {
Successful = true;
}
} else if ((_global.Objective < 0) && (_global.Objective > -900)) {
if (_global.LargeCombo < (_global.Objective * -1)) {
gotoAndStop (2);
} else {
Successful = true;
}
} else if (_global.Objective < -1000) {
if (_global.BuildingCount < (_global.Objective * -0.001)) {
gotoAndStop (2);
} else {
Successful = true;
}
}
if (Successful) {
nbZKill.Nombre = (_global.KillCount + _global.KillCount2) + _global.KillCount3;
nbBigCombo.Nombre = _global.LargeCombo + " combo";
bonusCombo.Nombre = (_global.LargeCombo * 100) + " $";
nbBKill.Nombre = _global.BuildingCount;
_global.Money = _global.Money + (_global.LargeCombo * 100);
_global.LevelAvaliable[((_global.Level * 4) - 4) + _global.Quest] = 1;
if ((_global.Level == 1) && (_global.Quest == 4)) {
_global.LevelAvaliable[4] = 1;
}
if ((_global.Level == 2) && (_global.Quest == 4)) {
_global.LevelAvaliable[8] = 1;
}
if ((_global.Level == 3) && (_global.Quest == 4)) {
_global.LevelAvaliable[12] = 1;
}
if (_global.Quest < 4) {
_global.Quest++;
}
_root.user.data.Money = _global.Money;
_root.user.data.RocketAmmo = _global.RocketAmmo;
_root.user.data.NukeAmmo = _global.NukeAmmo;
_root.user.data.LevelAvaliable = _global.LevelAvaliable;
_root.user.data.SpeedUpgrade = _global.SpeedUpgrade;
_root.user.data.PowerUpgrade = _global.PowerUpgrade;
_root.user.data.SniperScope = _global.SniperScope;
_root.user.data.CoolingSys = _global.CoolingSys;
_root.user.data.NadeLuncher = _global.NadeLuncher;
_root.user.data.NadeUpgrade = _global.NadeUpgrade;
_root.user.data.user.flush();
}
Instance of Symbol 865 MovieClip "btnLevelSelection" in Symbol 935 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
_global.ChopperSound.stop();
_global.BtnSound = new Sound();
_global.BtnSound.attachSound("Btn");
_global.BtnSound.start();
_global.IntroSound = new Sound();
_global.IntroSound.attachSound("Intro");
_global.IntroSound.stop();
_global.IntroSound.start(0, 999);
_root.gotoAndStop("SELECTOR");
act = 1;
}
}
Symbol 935 MovieClip Frame 2
stop();
_global.LoseSound = new Sound();
_global.LoseSound.attachSound("Lose");
_global.LoseSound.start();
bonusCombo.Nombre = (_global.LargeCombo * 100) + " $";
nbBigCombo.Nombre = _global.LargeCombo + " combo";
nbZKill.Nombre = (_global.KillCount + _global.KillCount2) + _global.KillCount3;
nbBKill.Nombre = _global.BuildingCount;
nbMoney.Nombre = _global.LargeCombo * 100;
_global.Money = _global.Money + (_global.LargeCombo * 100);
_root.user.data.Money = _global.Money;
_root.user.data.RocketAmmo = _global.RocketAmmo;
_root.user.data.NukeAmmo = _global.NukeAmmo;
_root.user.data.LevelAvaliable = _global.LevelAvaliable;
_root.user.data.SpeedUpgrade = _global.SpeedUpgrade;
_root.user.data.PowerUpgrade = _global.PowerUpgrade;
_root.user.data.SniperScope = _global.SniperScope;
_root.user.data.CoolingSys = _global.CoolingSys;
_root.user.data.NadeLuncher = _global.NadeLuncher;
_root.user.data.NadeUpgrade = _global.NadeUpgrade;
_root.user.data.user.flush();
Symbol 939 MovieClip Frame 1
stop();
Symbol 939 MovieClip Frame 2
stop();
Instance of Symbol 865 MovieClip "btnLevelSelection" in Symbol 939 MovieClip Frame 2
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(1);
}
}
Symbol 939 MovieClip Frame 3
stop();
Symbol 942 MovieClip Frame 1
stop();
Symbol 942 MovieClip Frame 142
_parent.ProTips._x = _parent.ProTips._x + 10;
Symbol 942 MovieClip Frame 147
_parent.ProTips._x = _parent.ProTips._x + 10;
Symbol 942 MovieClip Frame 152
_parent.ProTips._x = _parent.ProTips._x + 10;
Symbol 942 MovieClip Frame 157
_parent.ProTips._x = _parent.ProTips._x + 10;
Symbol 942 MovieClip Frame 162
_parent.ProTips._x = _parent.ProTips._x + 10;
Symbol 942 MovieClip Frame 167
_parent.ProTips._x = _parent.ProTips._x + 10;
Symbol 942 MovieClip Frame 172
_parent.ProTips._x = _parent.ProTips._x + 10;
Symbol 942 MovieClip Frame 177
_parent.ProTips._x = _parent.ProTips._x + 10;
Symbol 942 MovieClip Frame 182
_parent.ProTips._x = _parent.ProTips._x + 10;
Symbol 942 MovieClip Frame 188
_parent.ProTips.gotoAndStop(1);
_parent.ProTips._x = 0;
gotoAndStop (1);