Frame 1
function goTo() {
getURL ("http://www.MoFunZone.com");
}
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
newMenu.customItems.push(new ContextMenuItem("MoFunZone.com - Play More Games", goTo));
this.menu = newMenu;
_root.savefile = SharedObject.getLocal("Substitute");
_root.arrayMedal = _root.savefile.data.arrayMedal;
if (_root.arrayMedal[0] > 0) {
_root.arrayLockLevel = _root.savefile.data.arrayLockLevel;
_root.LevelPos = _root.savefile.data.LevelPos;
} else {
_root.arrayLockLevel = new Array(0, 0, 0);
_root.arrayMedal = new Array(0, 0, 0, 0);
}
_root.Tuto = 0;
stop();
Instance of Symbol 139 MovieClip "CURSOR" in Frame 1
onClipEvent (load) {
startDrag ("_root.CURSOR", true);
Mouse.hide();
}
Instance of Symbol 144 MovieClip in Frame 2
on (release) {
getURL ("http://www.mofunzone.com/", "_blank");
}
Frame 15
stop();
Frame 28
if (_root.Tuto == 0) {
_root.gotoAndPlay("Tutorial");
}
Instance of Symbol 235 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.arrayLockLevel[0] == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 242 MovieClip "Medal1" in Frame 28
onClipEvent (enterFrame) {
if (_root.arrayMedal[0] == 0) {
_root.Medal1.gotoAndStop(1);
} else if (_root.arrayMedal[0] == 1) {
_root.Medal1.gotoAndStop(2);
} else if (_root.arrayMedal[0] == 2) {
_root.Medal1.gotoAndStop(3);
} else if (_root.arrayMedal[0] == 3) {
_root.Medal1.gotoAndStop(4);
} else if (_root.arrayMedal[0] == 4) {
_root.Medal1.gotoAndStop(5);
}
}
Instance of Symbol 242 MovieClip "Medal2" in Frame 28
onClipEvent (enterFrame) {
if (_root.arrayMedal[1] == 0) {
_root.Medal2.gotoAndStop(1);
} else if (_root.arrayMedal[1] == 1) {
_root.Medal2.gotoAndStop(2);
} else if (_root.arrayMedal[1] == 2) {
_root.Medal2.gotoAndStop(3);
} else if (_root.arrayMedal[1] == 3) {
_root.Medal2.gotoAndStop(4);
} else if (_root.arrayMedal[1] == 4) {
_root.Medal2.gotoAndStop(5);
}
}
Instance of Symbol 242 MovieClip "Medal3" in Frame 28
onClipEvent (enterFrame) {
if (_root.arrayMedal[2] == 0) {
_root.Medal3.gotoAndStop(1);
} else if (_root.arrayMedal[2] == 1) {
_root.Medal3.gotoAndStop(2);
} else if (_root.arrayMedal[2] == 2) {
_root.Medal3.gotoAndStop(3);
} else if (_root.arrayMedal[2] == 3) {
_root.Medal3.gotoAndStop(4);
} else if (_root.arrayMedal[2] == 4) {
_root.Medal3.gotoAndStop(5);
}
}
Instance of Symbol 242 MovieClip "Medal4" in Frame 28
onClipEvent (enterFrame) {
if (_root.arrayMedal[3] == 0) {
_root.Medal4.gotoAndStop(1);
} else if (_root.arrayMedal[3] == 1) {
_root.Medal4.gotoAndStop(2);
} else if (_root.arrayMedal[3] == 2) {
_root.Medal4.gotoAndStop(3);
} else if (_root.arrayMedal[3] == 3) {
_root.Medal4.gotoAndStop(4);
} else if (_root.arrayMedal[3] == 4) {
_root.Medal4.gotoAndStop(5);
}
}
Instance of Symbol 235 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.arrayLockLevel[1] == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 235 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.arrayLockLevel[2] == 1) {
this.gotoAndStop(2);
}
}
Frame 40
_root.Tuto = 0;
stop();
Instance of Symbol 248 MovieClip "Start1" in Frame 40
on (release) {
_root.GameStart = 1;
_root.Level = 1;
_root.play();
}
on (rollOver) {
_root.Start1.gotoAndStop(2);
}
on (rollOut) {
_root.Start1.gotoAndStop(1);
}
Instance of Symbol 248 MovieClip "Start2" in Frame 40
on (release) {
if (_root.arrayLockLevel[0] == 1) {
_root.GameStart = 1;
_root.Level = 2;
_root.play();
}
}
on (rollOver) {
if (_root.arrayLockLevel[0] == 1) {
_root.Start2.gotoAndStop(2);
}
}
on (rollOut) {
_root.Start2.gotoAndStop(1);
}
Instance of Symbol 248 MovieClip "Start3" in Frame 40
on (release) {
if (_root.arrayLockLevel[1] == 1) {
_root.GameStart = 1;
_root.Level = 3;
_root.play();
}
}
on (rollOver) {
if (_root.arrayLockLevel[1] == 1) {
_root.Start3.gotoAndStop(2);
}
}
on (rollOut) {
_root.Start3.gotoAndStop(1);
}
Instance of Symbol 248 MovieClip "Start4" in Frame 40
on (release) {
if (_root.arrayLockLevel[2] == 1) {
_root.GameStart = 1;
_root.Level = 4;
_root.play();
}
}
on (rollOver) {
if (_root.arrayLockLevel[2] == 1) {
_root.Start4.gotoAndStop(2);
}
}
on (rollOut) {
_root.Start4.gotoAndStop(1);
}
Instance of Symbol 251 MovieClip in Frame 40
on (release) {
_root.GameStart = 0;
_root.play();
}
on (rollOver) {
this.gotoAndStop(2);
this.useHandCursor = false;
}
on (rollOut) {
this.gotoAndStop(1);
}
Frame 53
if (_root.GameStart == 0) {
gotoAndPlay (2);
} else if (_root.GameStart == 1) {
stopAllSounds();
switch (_root.Level) {
case 1 :
_root.gotoAndPlay("Level1");
break;
case 2 :
_root.gotoAndStop("Level2");
break;
case 3 :
_root.gotoAndStop("Level3");
break;
case 4 :
_root.gotoAndStop("Level4");
}
}
Frame 54
stopAllSounds();
_root.Tuto = 1;
Instance of Symbol 264 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (Key.isDown(75)) {
_root.Fade.play();
}
}
Instance of Symbol 139 MovieClip "CURSOR" in Frame 54
onClipEvent (load) {
startDrag ("_root.CURSOR", true);
Mouse.hide();
}
Frame 66
stop();
Frame 92
stop();
Frame 93
_root.General.gotoAndPlay(1);
stop();
Frame 94
_root.General.gotoAndPlay(1);
stop();
Frame 95
_root.General.gotoAndPlay(1);
stop();
Frame 96
_root.General.gotoAndPlay(1);
stop();
Frame 97
_root.General.gotoAndPlay(1);
stop();
Frame 98
_root.General.gotoAndPlay(1);
stop();
Frame 99
_root.General.gotoAndPlay(1);
stop();
Frame 100
_root.General.gotoAndPlay(1);
stop();
Frame 101
_root.General.gotoAndPlay(1);
stop();
Frame 102
_root.General.gotoAndPlay(1);
stop();
Frame 103
_root.General.gotoAndPlay(1);
stop();
Frame 104
_root.General.gotoAndPlay(1);
stop();
Frame 105
_root.General.gotoAndPlay(1);
stop();
Frame 106
_root.General.gotoAndPlay(1);
stop();
Frame 118
_root.gotoAndPlay("TutoEnd");
stopAllSounds();
Frame 119
_root.Music.gotoAndStop(2);
_root.Pause = 0;
_root.SemiPause = 0;
_root.Ez = 1;
_root.arrayRngMainUpgradePrice = new Array(0, 10, 25, 50, 70, "-");
_root.arrayDmgMainUpgradePrice = new Array(0, 20, 60, 120, 300, "-");
_root.arrayRngMainUpgrade = new Array(0.285714285714286, 0.428571428571429, 0.714285714285714, 0.857142857142857, 1, "-");
_root.arrayDmgMainUpgrade = new Array(5, 15, 40, 90, 200, "-");
_root.arrayCannon = new Array(0, 0, 0, 0, 0, 0);
_root.arrayDmgTurretUpgradePrice = new Array(10, 20, 40, 65, 100, "-");
_root.arrayDmgTurretUpgrade = new Array(5, 11, 23, 37, 65, "-");
_root.arrayRngTurretUpgradePrice = new Array(5, 10, 18, 30, "-");
_root.arrayRngTurretUpgrade = new Array(0.6, 0.7, 0.8, 1, "-");
_root.RngMainUpgrade = 1;
_root.DmgMainUpgrade = 1;
_root.Mrng = _root.arrayRngMainUpgrade[0];
_root.Mdmg = _root.arrayDmgMainUpgrade[0];
_root.FreezeGun = 0;
_root.SpeedCannon = 0;
_root.AntiVirusLevel = 0;
_root.AntiVirusPercent = 0;
_root.AntiVirus = new Array(0, 0.15, 0.3, 0.5);
_root.EquipmentLevel = 0;
_root.EquipmentPercent = 0;
_root.SurvivorMIN = new Array(10, 50, 100, 150);
_root.SurvivorMAX = new Array(100, 250, 400, 600);
_root.NbSoldiers = 100;
_root.OK = 0;
_root.nbEnemy = 600;
_root.nbMine = 0;
_root.nbTurret = 450;
_root.Money = 40;
_root.Survivor = 1000;
_root.CWave.nbWave = 0;
_root.DeathBeamON = 0;
_root.ParaBeamON = 0;
_root.DamageCause = 0;
stop();
Instance of Symbol 511 MovieClip "MainRange" in Frame 119
on (press) {
if (_root.Pause == 0) {
if (this.hitTest(_root.Cursor) && (_root.SemiPause == 0)) {
_root.MainCannon.play();
}
if (this.hitTest(_root.MineCursor)) {
duplicateMovieClip ("_root.Mine", "Mine" + _root.nbMine, _root.nbMine);
setProperty("_root.Mine" + _root.nbMine, _y , _root.MineCursor._y);
setProperty("_root.Mine" + _root.nbMine, _x , _root.MineCursor._x);
_root.Shop.Cancel.gotoAndStop(1);
_root.nbMine++;
_root.Money = _root.Money - 12;
startDrag ("_root.Cursor", true);
_root.MineCursor._x = 1000;
Mouse.hide();
}
}
}
Instance of Symbol 624 MovieClip "SecCannon" in Frame 119
onClipEvent (enterFrame) {
var p = 500;
i = 600;
while (i >= 500) {
if (this.TurretRange.hitTest(_root["Enemy" + i].Ene) && (_root.Pause == 0)) {
if (i > p) {
p = i;
}
rx = _root["Enemy" + p]._x;
ry = _root["Enemy" + p]._y;
cx = this.Gun._x;
cy = this.Gun._y;
angle = (Math.atan2((ry - cy) - _y, (rx - cx) - _x) * 180) / Math.PI;
this.Gun._rotation = angle;
this.Gun.play();
if (this.Gun._currentframe == 2) {
_root["Enemy" + p].EHP = _root["Enemy" + p].EHP - this.TurretATK;
}
}
i--;
}
}
Instance of Symbol 282 MovieClip "MainCannon" in Frame 119
onClipEvent (enterFrame) {
if ((_root.Pause == 0) && (_root.SemiPause == 0)) {
this._x = _root.Cursor._x;
if (this._x < 125) {
this._x = 125;
} else if (this._x > 330) {
this._x = 330;
}
}
}
on (release) {
if (this.hitTest(_root.Cursor) && (_root.Pause == 0)) {
i = 450;
while (i <= 460) {
_root["SecCannon" + i].TurretRange._alpha = 0;
i++;
}
i = 450;
while (i <= 460) {
_root["SecCannonRight" + i].TurretRange._alpha = 0;
i++;
}
_root.Shop.gotoAndStop(2);
_root.MainCBRange._alpha = 20;
}
}
on (rollOver) {
var myGlowFilter = (new flash.filters.GlowFilter(16777215, 1, 9, 9, 2, 1, false, false));
this.filters = [myGlowFilter];
}
on (rollOut) {
this.filters = undefined;
}
Instance of Symbol 628 MovieClip "Bullet" in Frame 119
onClipEvent (enterFrame) {
if (this.hitTest(_root.MainCBRange)) {
this._y = this._y - 30;
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 636 MovieClip "Mine" in Frame 119
onClipEvent (enterFrame) {
i = 500;
while (i <= 600) {
if (this.hitTest(_root["Enemy" + i])) {
this.gotoAndStop(11);
}
i++;
}
}
Instance of Symbol 643 MovieClip "Paralizers" in Frame 119
onClipEvent (load) {
this.swapDepths(9998);
}
onClipEvent (enterFrame) {
if ((this._currentframe == 2) && (this._y <= 0)) {
this.play();
} else if ((this._currentframe == 2) && (this._y >= 0)) {
this._y = this._y - 30;
}
}
Instance of Symbol 652 MovieClip "Nuke" in Frame 119
onClipEvent (load) {
this.swapDepths(9999);
}
Instance of Symbol 654 MovieClip "DeathBeam" in Frame 119
onClipEvent (enterFrame) {
if (this.hitTest(_root.MainRange)) {
this._y = this._y - 30;
} else if (this._y < 0) {
_root.DeathIcon.gotoAndStop(1);
this._y = 1000;
this.gotoAndStop(1);
}
}
Instance of Symbol 660 MovieClip "SecCannonRight" in Frame 119
onClipEvent (enterFrame) {
var p = 500;
i = 600;
while (i >= 500) {
if (this.TurretRange.hitTest(_root["Enemy" + i].Ene) && (_root.Pause == 0)) {
if (i > p) {
p = i;
}
rx = _root["Enemy" + p]._x;
ry = _root["Enemy" + p]._y;
cx = this.Gun._x;
cy = this.Gun._y;
angle = (Math.atan2((ry - cy) - _y, (rx - cx) - _x) * 180) / Math.PI;
this.Gun._rotation = angle;
this.Gun.play();
if (this.Gun._currentframe == 2) {
_root["Enemy" + p].EHP = _root["Enemy" + p].EHP - this.TurretATK;
if (_root["Enemy" + p].EHP <= 0) {
_root["Enemy" + p].EHP = 0;
}
}
}
i--;
}
}
Instance of Symbol 663 MovieClip "NoCannon1" in Frame 119
on (release) {
if (this._alpha != 0) {
_root.Money = _root.Money - 20;
_root.nbTurret++;
_root.arrayCannon[0] = 1;
i = 0;
while (i < 6) {
_root["NoCannon" + (i + 1)]._alpha = 0;
i++;
}
duplicateMovieClip ("_root.SecCannon", "SecCannon" + _root.nbTurret, _root.nbTurret);
setProperty("_root.SecCannon" + _root.nbTurret, _y , this._y);
setProperty("_root.SecCannon" + _root.nbTurret, _x , this._x);
tellTarget ("_root.SecCannon" + _root.nbTurret) {
gotoAndStop (2);
};
_root["SecCannon" + _root.nbTurret].TurretATK = 3;
_root["SecCannon" + _root.nbTurret].TurretATKLvl = 0;
_root["SecCannon" + _root.nbTurret].TurretRNG = 0.5;
_root["SecCannon" + _root.nbTurret].TurretRNGLvl = 0;
_root["SecCannon" + _root.nbTurret].SpeedShotTurret = 0;
_root.Shop.Cancel.gotoAndStop(1);
startDrag ("_root.Cursor", true);
_root.CannonCursor._x = 1000;
Mouse.hide();
}
}
Instance of Symbol 663 MovieClip "NoCannon2" in Frame 119
on (release) {
if (this._alpha != 0) {
_root.Money = _root.Money - 20;
_root.nbTurret++;
_root.arrayCannon[1] = 1;
i = 0;
while (i < 6) {
_root["NoCannon" + (i + 1)]._alpha = 0;
i++;
}
duplicateMovieClip ("_root.SecCannon", "SecCannon" + _root.nbTurret, _root.nbTurret);
setProperty("_root.SecCannon" + _root.nbTurret, _y , this._y);
setProperty("_root.SecCannon" + _root.nbTurret, _x , this._x);
tellTarget ("_root.SecCannon" + _root.nbTurret) {
gotoAndStop (2);
};
_root["SecCannon" + _root.nbTurret].TurretATK = 3;
_root["SecCannon" + _root.nbTurret].TurretATKLvl = 0;
_root["SecCannon" + _root.nbTurret].TurretRNG = 0.5;
_root["SecCannon" + _root.nbTurret].TurretRNGLvl = 0;
_root["SecCannon" + _root.nbTurret].SpeedShotTurret = 0;
_root.Shop.Cancel.gotoAndStop(1);
startDrag ("_root.Cursor", true);
_root.CannonCursor._x = 1000;
Mouse.hide();
}
}
Instance of Symbol 663 MovieClip "NoCannon3" in Frame 119
on (release) {
if (this._alpha != 0) {
_root.Money = _root.Money - 20;
_root.nbTurret++;
_root.arrayCannon[2] = 1;
i = 0;
while (i < 6) {
_root["NoCannon" + (i + 1)]._alpha = 0;
i++;
}
duplicateMovieClip ("_root.SecCannon", "SecCannon" + _root.nbTurret, _root.nbTurret);
setProperty("_root.SecCannon" + _root.nbTurret, _y , this._y);
setProperty("_root.SecCannon" + _root.nbTurret, _x , this._x);
tellTarget ("_root.SecCannon" + _root.nbTurret) {
gotoAndStop (2);
};
_root["SecCannon" + _root.nbTurret].TurretATK = 3;
_root["SecCannon" + _root.nbTurret].TurretATKLvl = 0;
_root["SecCannon" + _root.nbTurret].TurretRNG = 0.5;
_root["SecCannon" + _root.nbTurret].TurretRNGLvl = 0;
_root["SecCannon" + _root.nbTurret].SpeedShotTurret = 0;
_root.Shop.Cancel.gotoAndStop(1);
startDrag ("_root.Cursor", true);
_root.CannonCursor._x = 1000;
Mouse.hide();
}
}
Instance of Symbol 663 MovieClip "NoCannon4" in Frame 119
on (release) {
if (this._alpha != 0) {
_root.Money = _root.Money - 20;
_root.nbTurret++;
_root.arrayCannon[3] = 1;
i = 0;
while (i < 6) {
_root["NoCannon" + (i + 1)]._alpha = 0;
i++;
}
duplicateMovieClip ("_root.SecCannonRight", "SecCannonRight" + _root.nbTurret, _root.nbTurret);
setProperty("_root.SecCannonRight" + _root.nbTurret, _y , this._y);
setProperty("_root.SecCannonRight" + _root.nbTurret, _x , this._x);
tellTarget ("_root.SecCannonRight" + _root.nbTurret) {
gotoAndStop (2);
};
_root["SecCannonRight" + _root.nbTurret].TurretATK = 3;
_root["SecCannonRight" + _root.nbTurret].TurretATKLvl = 0;
_root["SecCannonRight" + _root.nbTurret].TurretRNG = 0.5;
_root["SecCannonRight" + _root.nbTurret].TurretRNGLvl = 0;
_root["SecCannonRight" + _root.nbTurret].SpeedShotTurret = 0;
_root.Shop.Cancel.gotoAndStop(1);
startDrag ("_root.Cursor", true);
_root.CannonCursor._x = 1000;
Mouse.hide();
}
}
Instance of Symbol 663 MovieClip "NoCannon5" in Frame 119
on (release) {
if (this._alpha != 0) {
_root.Money = _root.Money - 20;
_root.nbTurret++;
_root.arrayCannon[4] = 1;
i = 0;
while (i < 6) {
_root["NoCannon" + (i + 1)]._alpha = 0;
i++;
}
duplicateMovieClip ("_root.SecCannonRight", "SecCannonRight" + _root.nbTurret, _root.nbTurret);
setProperty("_root.SecCannonRight" + _root.nbTurret, _y , this._y);
setProperty("_root.SecCannonRight" + _root.nbTurret, _x , this._x);
tellTarget ("_root.SecCannonRight" + _root.nbTurret) {
gotoAndStop (2);
};
_root["SecCannonRight" + _root.nbTurret].TurretATK = 3;
_root["SecCannonRight" + _root.nbTurret].TurretATKLvl = 0;
_root["SecCannonRight" + _root.nbTurret].TurretRNG = 0.5;
_root["SecCannonRight" + _root.nbTurret].TurretRNGLvl = 0;
_root["SecCannonRight" + _root.nbTurret].SpeedShotTurret = 0;
_root.Shop.Cancel.gotoAndStop(1);
startDrag ("_root.Cursor", true);
_root.CannonCursor._x = 1000;
Mouse.hide();
}
}
Instance of Symbol 663 MovieClip "NoCannon6" in Frame 119
on (release) {
if (this._alpha != 0) {
_root.Money = _root.Money - 20;
_root.nbTurret++;
_root.arrayCannon[5] = 1;
i = 0;
while (i < 6) {
_root["NoCannon" + (i + 1)]._alpha = 0;
i++;
}
duplicateMovieClip ("_root.SecCannonRight", "SecCannonRight" + _root.nbTurret, _root.nbTurret);
setProperty("_root.SecCannonRight" + _root.nbTurret, _y , this._y);
setProperty("_root.SecCannonRight" + _root.nbTurret, _x , this._x);
tellTarget ("_root.SecCannonRight" + _root.nbTurret) {
gotoAndStop (2);
};
_root["SecCannonRight" + _root.nbTurret].TurretATK = 3;
_root["SecCannonRight" + _root.nbTurret].TurretATKLvl = 0;
_root["SecCannonRight" + _root.nbTurret].TurretRNG = 0.5;
_root["SecCannonRight" + _root.nbTurret].TurretRNGLvl = 0;
_root["SecCannonRight" + _root.nbTurret].SpeedShotTurret = 0;
_root.Shop.Cancel.gotoAndStop(1);
startDrag ("_root.Cursor", true);
_root.CannonCursor._x = 1000;
Mouse.hide();
}
}
Instance of Symbol 284 MovieClip "OverBar" in Frame 119
onClipEvent (load) {
this.swapDepths(10000);
}
Instance of Symbol 290 MovieClip in Frame 119
onClipEvent (enterFrame) {
if ((_root.CWave.nbWave == 0) && (_root.Pause == 0)) {
if (this.hitTest(_root.Cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
} else if (((_root.CWave.nbWave > 0) && (_root.Pause == 0)) && (_root.SemiPause == 0)) {
if (this.hitTest(_root.Cursor)) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(5);
}
var NbEnemyLeft = 0;
i = 500;
while (i <= 600) {
if (_root["Enemy" + i].EHP > 0) {
NbEnemyLeft++;
this.gotoAndStop(5);
}
i++;
}
if ((_root.OK == 1) && (NbEnemyLeft == 0)) {
_root.Interest.play();
_root.OK = 0;
}
if (_root.CWave.nbWave == 21) {
_root.Pause = 1;
_root.Win.play();
_root.CWave.nbWave = 20;
}
}
on (release) {
if ((_root.Pause == 0) && (_root.SemiPause == 0)) {
if (this.hitTest(_root.Cursor) && (this._currentframe != 5)) {
if ((((_root.CWave.nbWave % 5) == 0) && (_root.CWave.nbWave != 0)) && (_root.CWave.nbWave != 20)) {
_root.SemiPause = 1;
_root.Quiet.play();
} else {
_root.CWave.nbWave++;
if (_root.Wave._currentframe <= 20) {
_root.OK = 1;
_root.Wave.nextFrame();
}
}
} else {
_root.Errors.play();
}
} else {
_root.Errors.play();
}
}
Instance of Symbol 752 MovieClip "Win" in Frame 119
onClipEvent (load) {
this.swapDepths(10003);
}
onClipEvent (enterFrame) {
if (_root.Survivor > 1000) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(65535);
} else if ((_root.Survivor <= 1000) && (_root.Survivor > 700)) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(65280);
} else if ((_root.Survivor <= 700) && (_root.Survivor > 200)) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(16776960);
} else if ((_root.Survivor <= 200) && (_root.Survivor > 0)) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(16711680);
} else {
i = 500;
while (i <= 600) {
if (_root["Enemy" + i]._currentframe != 1) {
_root["Enemy" + i].removeMovieClip();
}
i++;
}
i = 450;
while (i < 460) {
_root["SecCannon" + i].removeMovieClip();
i++;
}
i = 450;
while (i < 460) {
_root["SecCannonRight" + i].removeMovieClip();
i++;
}
i = 0;
while (i <= 200) {
_root["Mine" + i].removeMovieClip();
i++;
}
_root.Cursor.removeMovieClip();
_root.OverBar.removeMovieClip();
_root.Paralizers.removeMovieClip();
_root.Nuke.removeMovieClip();
_root.WarningMSG.removeMovieClip();
_root.CWave.removeMovieClip();
_root.Ctime.removeMovieClip();
_root.Quit.removeMovieClip();
_root.Quiet.removeMovieClip();
stopAllSounds();
_root.Survivor = 0;
_root.Pause = 1;
_root.gotoAndPlay("GameOver");
_root.Win.removeMovieClip();
}
}
Instance of Symbol 755 MovieClip in Frame 119
onClipEvent (enterFrame) {
if ((_root.Pause == 0) && (_root.Quit._currentframe == 1)) {
if (Key.isDown(80)) {
startDrag ("_root.Cursor", true);
_root.CannonCursor._x = 1000;
_root.MineCursor._x = 1000;
_root.ParalizerCursor._x = 1000;
_root.Pause = 1;
_root.TimerClip.stop();
_root.Shop.gotoAndStop(4);
_root.Quit.play();
}
}
}
on (release) {
if ((this.hitTest(_root.Cursor) && (_root.Pause == 0)) && (_root.Quit._currentframe == 1)) {
startDrag ("_root.Cursor", true);
_root.CannonCursor._x = 1000;
_root.MineCursor._x = 1000;
_root.ParalizerCursor._x = 1000;
_root.Pause = 1;
_root.TimerClip.stop();
_root.Shop.gotoAndStop(4);
Gray = new Color(this);
Gray.setRGB(16777215);
Gray.reduceRGB(100);
_root.Quit.play();
}
}
on (rollOver) {
if (_root.Pause == 0) {
Gray = new Color(this);
Gray.setRGB(10066329);
}
}
on (rollOut) {
if (_root.Pause == 0) {
Gray = new Color(this);
Gray.setRGB(16777215);
}
}
Instance of Symbol 776 MovieClip "Quit" in Frame 119
onClipEvent (load) {
this.swapDepths(99999);
}
Instance of Symbol 779 MovieClip "CWave" in Frame 119
onClipEvent (load) {
this.swapDepths(10001);
}
Instance of Symbol 806 MovieClip "Quiet" in Frame 119
onClipEvent (load) {
this.swapDepths(10002);
}
Instance of Symbol 812 MovieClip "WarningMSG" in Frame 119
onClipEvent (load) {
this.swapDepths(10004);
}
Instance of Symbol 814 MovieClip "FadeIn" in Frame 119
onClipEvent (load) {
this.swapDepths(100000);
}
Instance of Symbol 139 MovieClip "Cursor" in Frame 119
onClipEvent (load) {
startDrag ("_root.Cursor", true);
this.swapDepths(20000);
Mouse.hide();
}
Instance of Symbol 303 MovieClip "CannonCursor" in Frame 119
onClipEvent (load) {
this.swapDepths(20001);
}
onClipEvent (enterFrame) {
if (this._x > 225) {
_xscale = -100;
} else {
_xscale = 100;
}
}
Instance of Symbol 822 MovieClip "MineCursor" in Frame 119
onClipEvent (load) {
this.swapDepths(20002);
}
Frame 120
_root.Music.gotoAndStop(2);
_root.Pause = 0;
_root.SemiPause = 0;
_root.Ez = 0;
_root.arrayRngMainUpgradePrice = new Array(0, 10, 25, 50, 70, "-");
_root.arrayDmgMainUpgradePrice = new Array(0, 20, 60, 120, 300, "-");
_root.arrayRngMainUpgrade = new Array(0.285714285714286, 0.428571428571429, 0.714285714285714, 0.857142857142857, 1, "-");
_root.arrayDmgMainUpgrade = new Array(5, 15, 40, 90, 200, "-");
_root.arrayCannon = new Array(0, 0, 0, 0, 0, 0, 0, 0);
_root.arrayDmgTurretUpgradePrice = new Array(10, 20, 40, 65, 100, "-");
_root.arrayDmgTurretUpgrade = new Array(5, 11, 23, 37, 65, "-");
_root.arrayRngTurretUpgradePrice = new Array(5, 10, 18, 30, "-");
_root.arrayRngTurretUpgrade = new Array(0.6, 0.7, 0.8, 1, "-");
_root.RngMainUpgrade = 1;
_root.DmgMainUpgrade = 1;
_root.Mrng = _root.arrayRngMainUpgrade[0];
_root.Mdmg = _root.arrayDmgMainUpgrade[0];
_root.FreezeGun = 0;
_root.SpeedCannon = 0;
_root.AntiVirusLevel = 0;
_root.AntiVirusPercent = 0;
_root.AntiVirus = new Array(0, 0.15, 0.3, 0.5);
_root.EquipmentLevel = 0;
_root.EquipmentPercent = 0;
_root.SurvivorMIN = new Array(10, 50, 100, 150);
_root.SurvivorMAX = new Array(100, 250, 400, 600);
_root.NbSoldiers = 100;
_root.OK = 0;
_root.AfterQuiet = 0;
_root.DoNextWave = 1;
_root.nbEnemy = 600;
_root.nbMine = 0;
_root.nbTurret = 450;
_root.Money = 25;
_root.Survivor = 1500;
_root.CWave.nbWave = 0;
_root.DeathBeamON = 0;
_root.ParaBeamON = 0;
_root.DamageCause = 0;
stop();
Instance of Symbol 290 MovieClip "NextWave" in Frame 120
onClipEvent (enterFrame) {
var NbEnemyLeft = 0;
if ((_root.CWave.nbWave == 0) && (_root.Pause == 0)) {
if (this.hitTest(_root.Cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
} else if (((_root.CWave.nbWave > 0) && (_root.Pause == 0)) && (_root.SemiPause == 0)) {
if (this.hitTest(_root.Cursor)) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(5);
}
i = 500;
while (i <= 600) {
if (_root["Enemy" + i].EHP > 0) {
_root.OK = 1;
_root.DoNextWave = 0;
this.gotoAndStop(5);
NbEnemyLeft++;
}
i++;
}
if ((_root.OK == 1) && (NbEnemyLeft == 0)) {
_root.DoNextWave = 1;
_root.Interest.play();
_root.OK = 0;
}
if (((_root.Ctime.Timer == 0) && (_root.Pause == 0)) && (_root.SemiPause == 0)) {
if (((((_root.CWave.nbWave % 5) == 0) && (_root.CWave.nbWave != 0)) && (_root.CWave.nbWave != 30)) && (_root.AfterQuiet == 0)) {
_root.TimerClip.gotoAndStop(1);
if (NbEnemyLeft == 0) {
_root.SemiPause = 1;
_root.Quiet.play();
}
} else {
_root.AfterQuiet = 0;
if (_root.CWave.nbWave < 30) {
_root.CWave.nbWave++;
_root.Ctime.Timer = 30;
_root.Wave.nextFrame();
}
}
}
if (((_root.CWave.nbWave == 30) && (NbEnemyLeft == 0)) && (_root.Pause == 0)) {
_root.TimerClip.stop();
_root.Ctime.Timer = 0;
_root.Pause = 1;
_root.Win.play();
}
}
on (release) {
if (((_root.Pause == 0) && (_root.DoNextWave == 1)) && (_root.SemiPause == 0)) {
if ((((_root.CWave.nbWave % 5) == 0) && (_root.CWave.nbWave != 0)) && (_root.CWave.nbWave != 30)) {
_root.TimerClip.gotoAndStop(1);
if (NbEnemyLeft == 0) {
_root.Ctime.Timer = 0;
_root.SemiPause = 1;
_root.Quiet.play();
}
} else {
_root.Ctime.Timer = 30;
_root.TimerClip.play();
_root.CWave.nbWave++;
_root.Wave.nextFrame();
_root.OK = 1;
}
} else {
_root.Errors.play();
}
}
Instance of Symbol 848 MovieClip "Win" in Frame 120
onClipEvent (load) {
this.swapDepths(10003);
}
onClipEvent (enterFrame) {
if (_root.Survivor > 1500) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(65535);
} else if ((_root.Survivor <= 1500) && (_root.Survivor > 1000)) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(65280);
} else if ((_root.Survivor <= 1000) && (_root.Survivor > 500)) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(16776960);
} else if ((_root.Survivor <= 500) && (_root.Survivor > 0)) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(16711680);
} else {
i = 500;
while (i <= 600) {
if (_root["Enemy" + i]._currentframe != 1) {
_root["Enemy" + i].removeMovieClip();
}
i++;
}
i = 450;
while (i < 460) {
_root["SecCannon" + i].removeMovieClip();
i++;
}
i = 450;
while (i < 460) {
_root["SecCannonRight" + i].removeMovieClip();
i++;
}
i = 0;
while (i <= 200) {
_root["Mine" + i].removeMovieClip();
i++;
}
_root.Cursor.removeMovieClip();
_root.OverBar.removeMovieClip();
_root.Paralizers.removeMovieClip();
_root.Nuke.removeMovieClip();
_root.WarningMSG.removeMovieClip();
_root.CWave.removeMovieClip();
_root.Ctime.removeMovieClip();
_root.Quit.removeMovieClip();
_root.Quiet.removeMovieClip();
stopAllSounds();
_root.Survivor = 0;
_root.Pause = 1;
_root.gotoAndPlay("GameOver");
_root.Win.removeMovieClip();
}
}
Instance of Symbol 851 MovieClip "Ctime" in Frame 120
onClipEvent (load) {
this.swapDepths(10010);
}
Frame 121
_root.Music.gotoAndStop(2);
_root.Pause = 0;
_root.SemiPause = 0;
_root.Ez = 0;
_root.arrayRngMainUpgradePrice = new Array(0, 10, 25, 50, 70, "-");
_root.arrayDmgMainUpgradePrice = new Array(0, 20, 60, 120, 300, "-");
_root.arrayRngMainUpgrade = new Array(0.285714285714286, 0.428571428571429, 0.714285714285714, 0.857142857142857, 1, "-");
_root.arrayDmgMainUpgrade = new Array(5, 15, 40, 90, 200, "-");
_root.arrayCannon = new Array(0, 0, 0, 0, 0, 0, 0, 0);
_root.arrayDmgTurretUpgradePrice = new Array(10, 20, 40, 65, 100, "-");
_root.arrayDmgTurretUpgrade = new Array(5, 11, 23, 37, 65, "-");
_root.arrayRngTurretUpgradePrice = new Array(5, 10, 18, 30, "-");
_root.arrayRngTurretUpgrade = new Array(0.6, 0.7, 0.8, 1, "-");
_root.RngMainUpgrade = 1;
_root.DmgMainUpgrade = 1;
_root.Mrng = _root.arrayRngMainUpgrade[0];
_root.Mdmg = _root.arrayDmgMainUpgrade[0];
_root.FreezeGun = 0;
_root.SpeedCannon = 0;
_root.AntiVirusLevel = 0;
_root.AntiVirusPercent = 0;
_root.AntiVirus = new Array(0, 0.15, 0.3, 0.5);
_root.EquipmentLevel = 0;
_root.EquipmentPercent = 0;
_root.SurvivorMIN = new Array(10, 50, 100, 150);
_root.SurvivorMAX = new Array(100, 250, 400, 600);
_root.NbSoldiers = 100;
_root.OK = 0;
_root.AfterQuiet = 0;
_root.DoNextWave = 1;
_root.nbEnemy = 600;
_root.nbMine = 0;
_root.nbTurret = 450;
_root.Money = 10;
_root.Survivor = 2000;
_root.CWave.nbWave = 0;
_root.DeathBeamON = 0;
_root.ParaBeamON = 0;
_root.DamageCause = 0;
stop();
Instance of Symbol 290 MovieClip "NextWave" in Frame 121
onClipEvent (enterFrame) {
var NbEnemyLeft = 0;
if ((_root.CWave.nbWave == 0) && (_root.Pause == 0)) {
if (this.hitTest(_root.Cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
} else if (((_root.CWave.nbWave > 0) && (_root.Pause == 0)) && (_root.SemiPause == 0)) {
if (this.hitTest(_root.Cursor)) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(5);
}
i = 500;
while (i <= 600) {
if (_root["Enemy" + i].EHP > 0) {
_root.OK = 1;
_root.DoNextWave = 0;
this.gotoAndStop(5);
NbEnemyLeft++;
}
i++;
}
if ((_root.OK == 1) && (NbEnemyLeft == 0)) {
_root.DoNextWave = 1;
_root.Interest.play();
_root.OK = 0;
}
if (((_root.Ctime.Timer == 0) && (_root.Pause == 0)) && (_root.SemiPause == 0)) {
if (((((_root.CWave.nbWave % 5) == 0) && (_root.CWave.nbWave != 0)) && (_root.CWave.nbWave != 40)) && (_root.AfterQuiet == 0)) {
_root.TimerClip.gotoAndStop(1);
if (NbEnemyLeft == 0) {
_root.SemiPause = 1;
_root.Quiet.play();
}
} else {
_root.AfterQuiet = 0;
if (_root.CWave.nbWave < 40) {
_root.CWave.nbWave++;
_root.Ctime.Timer = 20;
_root.Wave.nextFrame();
}
}
}
if (((_root.CWave.nbWave == 40) && (NbEnemyLeft == 0)) && (_root.Pause == 0)) {
_root.TimerClip.stop();
_root.Ctime.Timer = 0;
_root.Pause = 1;
_root.Win.play();
}
}
on (release) {
if (((_root.Pause == 0) && (_root.DoNextWave == 1)) && (_root.SemiPause == 0)) {
if ((((_root.CWave.nbWave % 5) == 0) && (_root.CWave.nbWave != 0)) && (_root.CWave.nbWave != 40)) {
_root.TimerClip.gotoAndStop(1);
if (NbEnemyLeft == 0) {
_root.Ctime.Timer = 0;
_root.SemiPause = 1;
_root.Quiet.play();
}
} else {
_root.Ctime.Timer = 20;
_root.TimerClip.play();
_root.CWave.nbWave++;
_root.Wave.nextFrame();
_root.OK = 1;
}
} else {
_root.Errors.play();
}
}
Instance of Symbol 877 MovieClip "Win" in Frame 121
onClipEvent (load) {
this.swapDepths(10003);
}
onClipEvent (enterFrame) {
if (_root.Survivor > 2000) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(65535);
} else if ((_root.Survivor <= 2000) && (_root.Survivor > 1300)) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(65280);
} else if ((_root.Survivor <= 1300) && (_root.Survivor > 600)) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(16776960);
} else if ((_root.Survivor <= 600) && (_root.Survivor > 0)) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(16711680);
} else {
i = 500;
while (i <= 600) {
if (_root["Enemy" + i]._currentframe != 1) {
_root["Enemy" + i].removeMovieClip();
}
i++;
}
i = 450;
while (i < 460) {
_root["SecCannon" + i].removeMovieClip();
i++;
}
i = 450;
while (i < 460) {
_root["SecCannonRight" + i].removeMovieClip();
i++;
}
i = 0;
while (i <= 200) {
_root["Mine" + i].removeMovieClip();
i++;
}
_root.Cursor.removeMovieClip();
_root.OverBar.removeMovieClip();
_root.Paralizers.removeMovieClip();
_root.Nuke.removeMovieClip();
_root.WarningMSG.removeMovieClip();
_root.CWave.removeMovieClip();
_root.Ctime.removeMovieClip();
_root.Quit.removeMovieClip();
_root.Quiet.removeMovieClip();
stopAllSounds();
_root.Survivor = 0;
_root.Pause = 1;
_root.gotoAndPlay("GameOver");
_root.Win.removeMovieClip();
}
}
Frame 122
_root.Music.gotoAndStop(2);
_root.Pause = 0;
_root.SemiPause = 0;
_root.Ez = 0;
_root.arrayRngMainUpgradePrice = new Array(0, 10, 25, 50, 70, "-");
_root.arrayDmgMainUpgradePrice = new Array(0, 20, 60, 120, 300, "-");
_root.arrayRngMainUpgrade = new Array(0.285714285714286, 0.428571428571429, 0.714285714285714, 0.857142857142857, 1, "-");
_root.arrayDmgMainUpgrade = new Array(5, 15, 40, 90, 200, "-");
_root.arrayCannon = new Array(0, 0, 0, 0, 0, 0, 0, 0);
_root.arrayDmgTurretUpgradePrice = new Array(10, 20, 40, 65, 100, "-");
_root.arrayDmgTurretUpgrade = new Array(5, 11, 23, 37, 65, "-");
_root.arrayRngTurretUpgradePrice = new Array(5, 10, 18, 30, "-");
_root.arrayRngTurretUpgrade = new Array(0.6, 0.7, 0.8, 1, "-");
_root.RngMainUpgrade = 1;
_root.DmgMainUpgrade = 1;
_root.Mrng = _root.arrayRngMainUpgrade[0];
_root.Mdmg = _root.arrayDmgMainUpgrade[0];
_root.FreezeGun = 0;
_root.SpeedCannon = 0;
_root.AntiVirusLevel = 0;
_root.AntiVirusPercent = 0;
_root.AntiVirus = new Array(0, 0.15, 0.3, 0.5);
_root.EquipmentLevel = 0;
_root.EquipmentPercent = 0;
_root.SurvivorMIN = new Array(10, 50, 100, 150);
_root.SurvivorMAX = new Array(100, 250, 400, 600);
_root.NbSoldiers = 100;
_root.OK = 0;
_root.AfterQuiet = 0;
_root.DoNextWave = 1;
_root.nbEnemy = 600;
_root.nbMine = 0;
_root.nbTurret = 450;
_root.Money = 15;
_root.Survivor = 3000;
_root.CWave.nbWave = 0;
_root.DeathBeamON = 0;
_root.ParaBeamON = 0;
_root.DamageCause = 0;
stop();
Instance of Symbol 290 MovieClip "NextWave" in Frame 122
onClipEvent (enterFrame) {
var NbEnemyLeft = 0;
if ((_root.CWave.nbWave == 0) && (_root.Pause == 0)) {
if (this.hitTest(_root.Cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
} else if (((_root.CWave.nbWave > 0) && (_root.Pause == 0)) && (_root.SemiPause == 0)) {
if (this.hitTest(_root.Cursor)) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(5);
}
i = 500;
while (i <= 600) {
if (_root["Enemy" + i].EHP > 0) {
_root.OK = 1;
_root.DoNextWave = 0;
this.gotoAndStop(5);
NbEnemyLeft++;
}
i++;
}
if ((_root.OK == 1) && (NbEnemyLeft == 0)) {
_root.DoNextWave = 1;
_root.Interest.play();
_root.OK = 0;
}
if (((_root.Ctime.Timer == 0) && (_root.Pause == 0)) && (_root.SemiPause == 0)) {
if (((((_root.CWave.nbWave % 5) == 0) && (_root.CWave.nbWave != 0)) && (_root.CWave.nbWave != 50)) && (_root.AfterQuiet == 0)) {
_root.TimerClip.gotoAndStop(1);
if (NbEnemyLeft == 0) {
_root.SemiPause = 1;
_root.Quiet.play();
}
} else {
_root.AfterQuiet = 0;
if (_root.CWave.nbWave < 51) {
_root.CWave.nbWave++;
_root.Ctime.Timer = 15;
_root.Wave.nextFrame();
}
}
}
if (((_root.CWave.nbWave == 51) && (NbEnemyLeft == 0)) && (_root.Pause == 0)) {
_root.CWave.nbWave = 50;
_root.TimerClip.stop();
_root.Ctime.Timer = 0;
_root.Pause = 1;
_root.Win.play();
}
}
on (release) {
if (((_root.Pause == 0) && (_root.DoNextWave == 1)) && (_root.SemiPause == 0)) {
if ((((_root.CWave.nbWave % 5) == 0) && (_root.CWave.nbWave != 0)) && (_root.CWave.nbWave != 50)) {
_root.TimerClip.gotoAndStop(1);
if (NbEnemyLeft == 0) {
_root.Ctime.Timer = 0;
_root.SemiPause = 1;
_root.Quiet.play();
}
} else {
_root.Ctime.Timer = 15;
_root.TimerClip.play();
_root.CWave.nbWave++;
_root.Wave.nextFrame();
_root.OK = 1;
}
} else {
_root.Errors.play();
}
}
Instance of Symbol 903 MovieClip "Win" in Frame 122
onClipEvent (load) {
this.swapDepths(10003);
}
onClipEvent (enterFrame) {
if (_root.Survivor > 3000) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(65535);
} else if ((_root.Survivor <= 3000) && (_root.Survivor > 2000)) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(65280);
} else if ((_root.Survivor <= 2000) && (_root.Survivor > 800)) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(16776960);
} else if ((_root.Survivor <= 800) && (_root.Survivor > 0)) {
TXTcolor = new Color(_root.SurvivorTXT);
TXTcolor.setRGB(16711680);
} else {
i = 500;
while (i <= 600) {
if (_root["Enemy" + i]._currentframe != 1) {
_root["Enemy" + i].removeMovieClip();
}
i++;
}
i = 450;
while (i < 460) {
_root["SecCannon" + i].removeMovieClip();
i++;
}
i = 450;
while (i < 460) {
_root["SecCannonRight" + i].removeMovieClip();
i++;
}
i = 0;
while (i <= 200) {
_root["Mine" + i].removeMovieClip();
i++;
}
_root.Cursor.removeMovieClip();
_root.OverBar.removeMovieClip();
_root.Paralizers.removeMovieClip();
_root.Nuke.removeMovieClip();
_root.WarningMSG.removeMovieClip();
_root.CWave.removeMovieClip();
_root.Ctime.removeMovieClip();
_root.Quit.removeMovieClip();
_root.Quiet.removeMovieClip();
stopAllSounds();
_root.Survivor = 0;
_root.Pause = 1;
_root.gotoAndPlay("GameOver");
_root.Win.removeMovieClip();
}
}
Frame 123
_root.Dead.Shop.gotoAndStop(4);
Frame 283
_root.gotoAndPlay("Back");
Symbol 28 MovieClip Frame 11
_parent.gotoAndStop(2);
Symbol 38 MovieClip Frame 1
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
barmask._xscale = percent * 100;
};
Symbol 70 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 70 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 81 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 81 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 89 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 89 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 97 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 97 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 105 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 105 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 113 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 113 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 121 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 121 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 129 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 129 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 136 MovieClip Frame 133
_root.play();
Symbol 137 MovieClip Frame 1
stop();
_root.stop();
shiftamt = 17;
isloaded = false;
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
if (bytesloaded == bytestotal) {
isloaded = true;
}
};
this.onRelease = function () {
getURL ("http://www.mofunzone.com/", "_blank");
};
Symbol 188 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 2
stop();
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 2
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
stop();
Symbol 195 MovieClip Frame 40
stop();
Instance of Symbol 188 MovieClip "B1" in Symbol 195 MovieClip Frame 40
on (release) {
_root.play();
_root.Buttons.gotoAndStop(39);
}
on (rollOver) {
_root.Buttons.B1.gotoAndStop(2);
_root.Buttons.B1.useHandCursor = false;
}
on (rollOut) {
_root.Buttons.B1.gotoAndStop(1);
}
Instance of Symbol 191 MovieClip "B2" in Symbol 195 MovieClip Frame 40
on (release) {
_root.MenuButton = 0;
_root.Paper.play();
_root.Buttons.gotoAndStop(41);
}
on (rollOver) {
_root.Buttons.B2.gotoAndStop(2);
_root.Buttons.B2.useHandCursor = false;
}
on (rollOut) {
_root.Buttons.B2.gotoAndStop(1);
}
Instance of Symbol 194 MovieClip "B3" in Symbol 195 MovieClip Frame 40
on (release) {
getURL ("http://www.mofunzone.com/", "_blank");
}
on (rollOver) {
_root.Buttons.B3.gotoAndStop(2);
_root.Buttons.B3.useHandCursor = false;
}
on (rollOut) {
_root.Buttons.B3.gotoAndStop(1);
}
Symbol 195 MovieClip Frame 41
stop();
Symbol 207 Button
on (release) {
_root.Paper.gotoAndPlay(17);
}
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 15
stop();
Symbol 209 MovieClip Frame 30
_root.Buttons.prevFrame();
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 2
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 2
stop();
Symbol 242 MovieClip Frame 3
stop();
Symbol 242 MovieClip Frame 4
stop();
Symbol 242 MovieClip Frame 5
stop();
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 2
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
stop();
Symbol 255 Button
on (release) {
getURL ("http://www.mofunzone.com/game_scores/substitute/level_1_highscores.shtml", "_blank");
}
Symbol 256 Button
on (release) {
getURL ("http://www.mofunzone.com/game_scores/substitute/level_2_highscores.shtml", "_blank");
}
Symbol 257 Button
on (release) {
getURL ("http://www.mofunzone.com/game_scores/substitute/level_3_highscores.shtml", "_blank");
}
Symbol 258 Button
on (release) {
getURL ("http://www.mofunzone.com/game_scores/substitute/level_4_highscores.shtml", "_blank");
}
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 17
stopAllSounds();
_root.gotoAndPlay("TutoEnd");
Symbol 271 Button
on (release) {
_root.play();
}
Symbol 272 MovieClip Frame 200
stop();
Symbol 282 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 2
if (_root.ParaBeamON == 1) {
_root.Paralizers._x = _root.MainCannon._x;
_root.Paralizers._y = _root.MainCannon._y - 40;
_root.Paralizers.gotoAndStop(2);
_root.ParaBeamON = 0;
} else if (_root.DeathBeamON == 1) {
_root.DeathBeam._x = _root.MainCannon._x;
_root.DeathBeam._y = _root.MainCannon._y - 40;
_root.DeathBeam.gotoAndStop(2);
_root.DeathBeamON = 0;
} else {
if (_root.FreezeGun == 0) {
_root.Bullet.gotoAndStop(2);
} else {
_root.Bullet.gotoAndStop(3);
}
_root.Bullet._x = _root.MainCannon._x;
_root.Bullet._y = _root.MainCannon._y - 40;
}
Symbol 282 MovieClip Frame 10
if (_root.SpeedCannon == 1) {
this.gotoAndStop(1);
}
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 2
stop();
Symbol 290 MovieClip Frame 3
stop();
Symbol 290 MovieClip Frame 4
stop();
Symbol 290 MovieClip Frame 5
stop();
Symbol 329 MovieClip Frame 99
stop();
Symbol 332 Button
on (release) {
nextFrame();
}
Symbol 338 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 2
stop();
Symbol 341 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 2
stop();
Symbol 352 MovieClip Frame 1
stop();
Instance of Symbol 338 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Tool._currentframe == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (release) {
_root.Tool.prevFrame();
}
Instance of Symbol 341 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Tool._currentframe == 5) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (release) {
_root.Tool.nextFrame();
}
Symbol 352 MovieClip Frame 2
stop();
Symbol 352 MovieClip Frame 3
stop();
Symbol 352 MovieClip Frame 4
stop();
Symbol 352 MovieClip Frame 5
stop();
Symbol 508 Button
on (release) {
play();
}
Symbol 530 MovieClip Frame 7
_parent.removeMovieClip();
Symbol 606 MovieClip Frame 1
stop();
Symbol 606 MovieClip Frame 2
stop();
Instance of Symbol 523 MovieClip "Ene" in Symbol 606 MovieClip Frame 2
onClipEvent (load) {
var Speed;
Speed = _parent.ESPEED;
}
onClipEvent (enterFrame) {
if (_root.Pause == 0) {
if (this.hitTest(_root.MainCannon)) {
if (_parent._x <= 225) {
_parent._x = _parent._x - Speed;
} else {
_parent._x = _parent._x + Speed;
}
}
if (this.hitTest(_root.Paralizers)) {
_parent._y = _parent._y + 0;
} else {
_parent._y = _parent._y + Speed;
}
}
i = 0;
while (i <= 10) {
if (this.hitTest(_root.DeathBeam)) {
_parent.EHP = _parent.EHP - 1000;
}
if (this.hitTest(_root.Bullet)) {
if (_root.FreezeGun == 1) {
Speed = _parent.ESPEED / 2;
}
_root.Bullet.gotoAndStop(1);
_root.DamageCause = _root.DamageCause + _root.Mdmg;
_parent.EHP = _parent.EHP - _root.Mdmg;
}
i++;
}
if (_parent._y >= 400) {
_root.Warning.play();
_root.PeopleKilled = Math.round((Math.random() * _parent.EINFECT) + (_parent.EINFECT / 2));
_root.PeopleKilled = _root.PeopleKilled - (_root.PeopleKilled * _root.AntiVirus[_root.AntiVirusLevel]);
_root.Survivor = _root.Survivor - Math.round(_root.PeopleKilled);
_parent.removeMovieClip();
}
if (_parent.EHP <= 0) {
_parent.EHP = 0;
_root.Money = _root.Money + _parent.EMONEY;
_parent.nextFrame();
}
}
Symbol 606 MovieClip Frame 3
stop();
Symbol 606 MovieClip Frame 4
stop();
Instance of Symbol 539 MovieClip "Ene" in Symbol 606 MovieClip Frame 4
onClipEvent (load) {
var Speed;
Speed = _parent.ESPEED;
}
onClipEvent (enterFrame) {
if (_root.Pause == 0) {
if (this.hitTest(_root.MainCannon)) {
if (_parent._x <= 225) {
_parent._x = _parent._x - Speed;
} else {
_parent._x = _parent._x + Speed;
}
}
if (this.hitTest(_root.Paralizers)) {
_parent._y = _parent._y + 0;
} else {
_parent._y = _parent._y + Speed;
}
}
i = 0;
while (i <= 10) {
if (this.hitTest(_root.DeathBeam)) {
_parent.EHP = _parent.EHP - 1000;
}
if (this.hitTest(_root.Bullet)) {
if (_root.FreezeGun == 1) {
Speed = _parent.ESPEED / 2;
}
_root.Bullet.gotoAndStop(1);
_root.DamageCause = _root.DamageCause + _root.Mdmg;
_parent.EHP = _parent.EHP - _root.Mdmg;
}
i++;
}
if (_parent._y >= 400) {
_root.Warning.play();
_root.PeopleKilled = Math.round((Math.random() * _parent.EINFECT) + (_parent.EINFECT / 2));
_root.PeopleKilled = _root.PeopleKilled - (_root.PeopleKilled * _root.AntiVirus[_root.AntiVirusLevel]);
_root.Survivor = _root.Survivor - Math.round(_root.PeopleKilled);
_parent.removeMovieClip();
}
if (_parent.EHP <= 0) {
_parent.EHP = 0;
_root.Money = _root.Money + _parent.EMONEY;
_parent.nextFrame();
}
}
Symbol 606 MovieClip Frame 5
stop();
Symbol 606 MovieClip Frame 6
stop();
Instance of Symbol 550 MovieClip "Ene" in Symbol 606 MovieClip Frame 6
onClipEvent (load) {
var Speed;
Speed = _parent.ESPEED;
}
onClipEvent (enterFrame) {
if (_root.Pause == 0) {
if (this.hitTest(_root.MainCannon)) {
if (_parent._x <= 225) {
_parent._x = _parent._x - Speed;
} else {
_parent._x = _parent._x + Speed;
}
}
if (this.hitTest(_root.Paralizers)) {
_parent._y = _parent._y + 0;
} else {
_parent._y = _parent._y + Speed;
}
}
i = 0;
while (i <= 10) {
if (this.hitTest(_root.DeathBeam)) {
_parent.EHP = _parent.EHP - 1000;
}
if (this.hitTest(_root.Bullet)) {
if (_root.FreezeGun == 1) {
Speed = _parent.ESPEED / 2;
}
_root.Bullet.gotoAndStop(1);
_root.DamageCause = _root.DamageCause + _root.Mdmg;
_parent.EHP = _parent.EHP - _root.Mdmg;
}
i++;
}
if (_parent._y >= 400) {
_root.Warning.play();
_root.PeopleKilled = Math.round((Math.random() * _parent.EINFECT) + (_parent.EINFECT / 2));
_root.PeopleKilled = _root.PeopleKilled - (_root.PeopleKilled * _root.AntiVirus[_root.AntiVirusLevel]);
_root.Survivor = _root.Survivor - Math.round(_root.PeopleKilled);
_parent.removeMovieClip();
}
if (_parent.EHP <= 0) {
_parent.EHP = 0;
_root.Money = _root.Money + _parent.EMONEY;
_parent.nextFrame();
}
}
Symbol 606 MovieClip Frame 7
stop();
Symbol 606 MovieClip Frame 8
stop();
Instance of Symbol 559 MovieClip "Ene" in Symbol 606 MovieClip Frame 8
onClipEvent (load) {
var Speed;
Speed = _parent.ESPEED;
}
onClipEvent (enterFrame) {
if (_root.Pause == 0) {
if (this.hitTest(_root.MainCannon)) {
if (_parent._x <= 225) {
_parent._x = _parent._x - Speed;
} else {
_parent._x = _parent._x + Speed;
}
}
if (this.hitTest(_root.Paralizers)) {
_parent._y = _parent._y + 0;
} else {
_parent._y = _parent._y + Speed;
}
}
i = 0;
while (i <= 10) {
if (this.hitTest(_root.DeathBeam)) {
_parent.EHP = _parent.EHP - 1000;
}
if (this.hitTest(_root.Bullet)) {
if (_root.FreezeGun == 1) {
Speed = _parent.ESPEED / 2;
}
_root.Bullet.gotoAndStop(1);
_root.DamageCause = _root.DamageCause + _root.Mdmg;
_parent.EHP = _parent.EHP - _root.Mdmg;
}
i++;
}
if (_parent._y >= 400) {
_root.Warning.play();
_root.PeopleKilled = Math.round((Math.random() * _parent.EINFECT) + (_parent.EINFECT / 2));
_root.PeopleKilled = _root.PeopleKilled - (_root.PeopleKilled * _root.AntiVirus[_root.AntiVirusLevel]);
_root.Survivor = _root.Survivor - Math.round(_root.PeopleKilled);
_parent.removeMovieClip();
}
if (_parent.EHP <= 0) {
_parent.EHP = 0;
_root.Money = _root.Money + _parent.EMONEY;
_parent.nextFrame();
}
}
Symbol 606 MovieClip Frame 9
stop();
Symbol 606 MovieClip Frame 10
stop();
Instance of Symbol 569 MovieClip "Ene" in Symbol 606 MovieClip Frame 10
onClipEvent (load) {
var Speed;
Speed = _parent.ESPEED;
}
onClipEvent (enterFrame) {
if (_root.Pause == 0) {
if (this.hitTest(_root.MainCannon)) {
if (_parent._x <= 225) {
_parent._x = _parent._x - Speed;
} else {
_parent._x = _parent._x + Speed;
}
}
if (this.hitTest(_root.Paralizers)) {
_parent._y = _parent._y + 0;
} else {
_parent._y = _parent._y + Speed;
}
}
i = 0;
while (i <= 10) {
if (this.hitTest(_root.DeathBeam)) {
_parent.EHP = _parent.EHP - 1000;
}
if (this.hitTest(_root.Bullet)) {
if (_root.FreezeGun == 1) {
Speed = _parent.ESPEED / 2;
}
_root.Bullet.gotoAndStop(1);
_root.DamageCause = _root.DamageCause + _root.Mdmg;
_parent.EHP = _parent.EHP - _root.Mdmg;
}
i++;
}
if (_parent._y >= 400) {
_root.Warning.play();
_root.PeopleKilled = Math.round((Math.random() * _parent.EINFECT) + (_parent.EINFECT / 2));
_root.PeopleKilled = _root.PeopleKilled - (_root.PeopleKilled * _root.AntiVirus[_root.AntiVirusLevel]);
_root.Survivor = _root.Survivor - Math.round(_root.PeopleKilled);
_parent.removeMovieClip();
}
if (_parent.EHP <= 0) {
_parent.EHP = 0;
_root.Money = _root.Money + _parent.EMONEY;
_parent.nextFrame();
}
}
Symbol 606 MovieClip Frame 11
stop();
Symbol 606 MovieClip Frame 12
stop();
Instance of Symbol 576 MovieClip "Ene" in Symbol 606 MovieClip Frame 12
onClipEvent (load) {
var Speed;
Speed = _parent.ESPEED;
}
onClipEvent (enterFrame) {
if (_root.Pause == 0) {
if (this.hitTest(_root.MainCannon)) {
if (_parent._x <= 225) {
_parent._x = _parent._x - Speed;
} else {
_parent._x = _parent._x + Speed;
}
}
if (this.hitTest(_root.Paralizers)) {
_parent._y = _parent._y + 0;
} else {
_parent._y = _parent._y + Speed;
}
}
i = 0;
while (i <= 10) {
if (this.hitTest(_root.DeathBeam)) {
_parent.EHP = _parent.EHP - 1000;
}
if (this.hitTest(_root.Bullet)) {
if (_root.FreezeGun == 1) {
Speed = _parent.ESPEED / 2;
}
_root.Bullet.gotoAndStop(1);
_root.DamageCause = _root.DamageCause + _root.Mdmg;
_parent.EHP = _parent.EHP - _root.Mdmg;
}
i++;
}
if (_parent._y >= 400) {
_root.Warning.play();
_root.PeopleKilled = Math.round((Math.random() * _parent.EINFECT) + (_parent.EINFECT / 2));
_root.PeopleKilled = _root.PeopleKilled - (_root.PeopleKilled * _root.AntiVirus[_root.AntiVirusLevel]);
_root.Survivor = _root.Survivor - Math.round(_root.PeopleKilled);
_parent.removeMovieClip();
}
if (_parent.EHP <= 0) {
_parent.EHP = 0;
_root.Money = _root.Money + _parent.EMONEY;
_parent.nextFrame();
}
}
Symbol 606 MovieClip Frame 13
stop();
Symbol 606 MovieClip Frame 14
stop();
Instance of Symbol 585 MovieClip "Ene" in Symbol 606 MovieClip Frame 14
onClipEvent (load) {
var Speed;
Speed = _parent.ESPEED;
}
onClipEvent (enterFrame) {
if (_root.Pause == 0) {
if (this.hitTest(_root.MainCannon)) {
if (_parent._x <= 225) {
_parent._x = _parent._x - Speed;
} else {
_parent._x = _parent._x + Speed;
}
}
if (this.hitTest(_root.Paralizers)) {
_parent._y = _parent._y + 0;
} else {
_parent._y = _parent._y + Speed;
}
}
i = 0;
while (i <= 10) {
if (this.hitTest(_root.DeathBeam)) {
_parent.EHP = _parent.EHP - 1000;
}
if (this.hitTest(_root.Bullet)) {
if (_root.FreezeGun == 1) {
Speed = _parent.ESPEED / 2;
}
_root.Bullet.gotoAndStop(1);
_root.DamageCause = _root.DamageCause + _root.Mdmg;
_parent.EHP = _parent.EHP - _root.Mdmg;
}
i++;
}
if (_parent._y >= 400) {
_root.Warning.play();
_root.PeopleKilled = Math.round((Math.random() * _parent.EINFECT) + (_parent.EINFECT / 2));
_root.PeopleKilled = _root.PeopleKilled - (_root.PeopleKilled * _root.AntiVirus[_root.AntiVirusLevel]);
_root.Survivor = _root.Survivor - Math.round(_root.PeopleKilled);
_parent.removeMovieClip();
}
if (_parent.EHP <= 0) {
_parent.EHP = 0;
_root.Money = _root.Money + _parent.EMONEY;
_parent.nextFrame();
}
}
Symbol 606 MovieClip Frame 15
stop();
Symbol 606 MovieClip Frame 16
stop();
Instance of Symbol 550 MovieClip "Ene" in Symbol 606 MovieClip Frame 16
onClipEvent (load) {
var Speed;
Speed = _parent.ESPEED;
}
onClipEvent (enterFrame) {
if (_root.Pause == 0) {
if (this.hitTest(_root.MainCannon)) {
if (_parent._x <= 225) {
_parent._x = _parent._x - Speed;
} else {
_parent._x = _parent._x + Speed;
}
}
if (this.hitTest(_root.Paralizers)) {
_parent._y = _parent._y + 0;
} else {
_parent._y = _parent._y + Speed;
}
}
i = 0;
while (i <= 10) {
if (this.hitTest(_root.DeathBeam)) {
_parent.EHP = _parent.EHP - 1000;
}
if (this.hitTest(_root.Bullet)) {
if (_root.FreezeGun == 1) {
Speed = _parent.ESPEED / 2;
}
_root.Bullet.gotoAndStop(1);
_root.DamageCause = _root.DamageCause + _root.Mdmg;
_parent.EHP = _parent.EHP - _root.Mdmg;
}
i++;
}
if (_parent._y >= 400) {
_root.Warning.play();
_root.PeopleKilled = Math.round((Math.random() * _parent.EINFECT) + (_parent.EINFECT / 2));
_root.PeopleKilled = _root.PeopleKilled - (_root.PeopleKilled * _root.AntiVirus[_root.AntiVirusLevel]);
_root.Survivor = _root.Survivor - Math.round(_root.PeopleKilled);
_parent.removeMovieClip();
}
if (_parent.EHP <= 0) {
_parent.EHP = 0;
_root.Money = _root.Money + _parent.EMONEY;
_parent.nextFrame();
}
}
Symbol 606 MovieClip Frame 17
stop();
Symbol 606 MovieClip Frame 18
stop();
Instance of Symbol 576 MovieClip "Ene" in Symbol 606 MovieClip Frame 18
onClipEvent (load) {
var Speed;
Speed = _parent.ESPEED;
}
onClipEvent (enterFrame) {
if (_root.Pause == 0) {
if (this.hitTest(_root.MainCannon)) {
if (_parent._x <= 225) {
_parent._x = _parent._x - Speed;
} else {
_parent._x = _parent._x + Speed;
}
}
if (this.hitTest(_root.Paralizers)) {
_parent._y = _parent._y + 0;
} else {
_parent._y = _parent._y + Speed;
}
}
i = 0;
while (i <= 10) {
if (this.hitTest(_root.DeathBeam)) {
_parent.EHP = _parent.EHP - 1000;
}
if (this.hitTest(_root.Bullet)) {
if (_root.FreezeGun == 1) {
Speed = _parent.ESPEED / 2;
}
_root.Bullet.gotoAndStop(1);
_root.DamageCause = _root.DamageCause + _root.Mdmg;
_parent.EHP = _parent.EHP - _root.Mdmg;
}
i++;
}
if (_parent._y >= 400) {
_root.Warning.play();
_root.PeopleKilled = Math.round((Math.random() * _parent.EINFECT) + (_parent.EINFECT / 2));
_root.PeopleKilled = _root.PeopleKilled - (_root.PeopleKilled * _root.AntiVirus[_root.AntiVirusLevel]);
_root.Survivor = _root.Survivor - Math.round(_root.PeopleKilled);
_parent.removeMovieClip();
}
if (_parent.EHP <= 0) {
_parent.EHP = 0;
_root.Money = _root.Money + _parent.EMONEY;
_parent.nextFrame();
}
}
Symbol 606 MovieClip Frame 19
stop();
Symbol 606 MovieClip Frame 20
stop();
Instance of Symbol 539 MovieClip "Ene" in Symbol 606 MovieClip Frame 20
onClipEvent (load) {
var Speed;
Speed = _parent.ESPEED;
}
onClipEvent (enterFrame) {
if (_root.Pause == 0) {
if (this.hitTest(_root.MainCannon)) {
if (_parent._x <= 225) {
_parent._x = _parent._x - Speed;
} else {
_parent._x = _parent._x + Speed;
}
}
if (this.hitTest(_root.Paralizers)) {
_parent._y = _parent._y + 0;
} else {
_parent._y = _parent._y + Speed;
}
}
i = 0;
while (i <= 10) {
if (this.hitTest(_root.DeathBeam)) {
_parent.EHP = _parent.EHP - 1000;
}
if (this.hitTest(_root.Bullet)) {
if (_root.FreezeGun == 1) {
Speed = _parent.ESPEED / 2;
}
_root.Bullet.gotoAndStop(1);
_root.DamageCause = _root.DamageCause + _root.Mdmg;
_parent.EHP = _parent.EHP - _root.Mdmg;
}
i++;
}
if (_parent._y >= 400) {
_root.Warning.play();
_root.PeopleKilled = Math.round((Math.random() * _parent.EINFECT) + (_parent.EINFECT / 2));
_root.PeopleKilled = _root.PeopleKilled - (_root.PeopleKilled * _root.AntiVirus[_root.AntiVirusLevel]);
_root.Survivor = _root.Survivor - Math.round(_root.PeopleKilled);
_parent.removeMovieClip();
}
if (_parent.EHP <= 0) {
_parent.EHP = 0;
_root.Money = _root.Money + _parent.EMONEY;
_parent.nextFrame();
}
}
Symbol 606 MovieClip Frame 21
stop();
Symbol 606 MovieClip Frame 22
stop();
Instance of Symbol 569 MovieClip "Ene" in Symbol 606 MovieClip Frame 22
onClipEvent (load) {
var Speed;
Speed = _parent.ESPEED;
}
onClipEvent (enterFrame) {
if (_root.Pause == 0) {
if (this.hitTest(_root.MainCannon)) {
if (_parent._x <= 225) {
_parent._x = _parent._x - Speed;
} else {
_parent._x = _parent._x + Speed;
}
}
if (this.hitTest(_root.Paralizers)) {
_parent._y = _parent._y + 0;
} else {
_parent._y = _parent._y + Speed;
}
}
i = 0;
while (i <= 10) {
if (this.hitTest(_root.DeathBeam)) {
_parent.EHP = _parent.EHP - 1000;
}
if (this.hitTest(_root.Bullet)) {
if (_root.FreezeGun == 1) {
Speed = _parent.ESPEED / 2;
}
_root.Bullet.gotoAndStop(1);
_root.DamageCause = _root.DamageCause + _root.Mdmg;
_parent.EHP = _parent.EHP - _root.Mdmg;
}
i++;
}
if (_parent._y >= 400) {
_root.Warning.play();
_root.PeopleKilled = Math.round((Math.random() * _parent.EINFECT) + (_parent.EINFECT / 2));
_root.PeopleKilled = _root.PeopleKilled - (_root.PeopleKilled * _root.AntiVirus[_root.AntiVirusLevel]);
_root.Survivor = _root.Survivor - Math.round(_root.PeopleKilled);
_parent.removeMovieClip();
}
if (_parent.EHP <= 0) {
_parent.EHP = 0;
_root.Money = _root.Money + _parent.EMONEY;
_parent.nextFrame();
}
}
Symbol 606 MovieClip Frame 23
stop();
Symbol 606 MovieClip Frame 24
stop();
Instance of Symbol 523 MovieClip "Ene" in Symbol 606 MovieClip Frame 24
onClipEvent (load) {
var Speed;
Speed = _parent.ESPEED;
}
onClipEvent (enterFrame) {
if (_root.Pause == 0) {
if (this.hitTest(_root.MainCannon)) {
if (_parent._x <= 225) {
_parent._x = _parent._x - Speed;
} else {
_parent._x = _parent._x + Speed;
}
}
if (this.hitTest(_root.Paralizers)) {
_parent._y = _parent._y + 0;
} else {
_parent._y = _parent._y + Speed;
}
}
i = 0;
while (i <= 10) {
if (this.hitTest(_root.DeathBeam)) {
_parent.EHP = _parent.EHP - 1000;
}
if (this.hitTest(_root.Bullet)) {
if (_root.FreezeGun == 1) {
Speed = _parent.ESPEED / 2;
}
_root.Bullet.gotoAndStop(1);
_root.DamageCause = _root.DamageCause + _root.Mdmg;
_parent.EHP = _parent.EHP - _root.Mdmg;
}
i++;
}
if (_parent._y >= 400) {
_root.Warning.play();
_root.PeopleKilled = Math.round((Math.random() * _parent.EINFECT) + (_parent.EINFECT / 2));
_root.PeopleKilled = _root.PeopleKilled - (_root.PeopleKilled * _root.AntiVirus[_root.AntiVirusLevel]);
_root.Survivor = _root.Survivor - Math.round(_root.PeopleKilled);
_parent.removeMovieClip();
}
if (_parent.EHP <= 0) {
_parent.EHP = 0;
_root.Money = _root.Money + _parent.EMONEY;
_parent.nextFrame();
}
}
Symbol 606 MovieClip Frame 25
stop();
Symbol 607 MovieClip Frame 1
stop();
Symbol 607 MovieClip Frame 2
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (2);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 2;
_root["Enemy" + _root.nbEnemy].EMONEY = 1;
_root["Enemy" + _root.nbEnemy].EINFECT = 10;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.7;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 3
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (4);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 5;
_root["Enemy" + _root.nbEnemy].EMONEY = 1;
_root["Enemy" + _root.nbEnemy].EINFECT = 14;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.8;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 4
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (6);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 7;
_root["Enemy" + _root.nbEnemy].EMONEY = 1;
_root["Enemy" + _root.nbEnemy].EINFECT = 18;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.7;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 5
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (8);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 9;
_root["Enemy" + _root.nbEnemy].EMONEY = 1;
_root["Enemy" + _root.nbEnemy].EINFECT = 22;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.9;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 6
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (10);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 14;
_root["Enemy" + _root.nbEnemy].EMONEY = 1;
_root["Enemy" + _root.nbEnemy].EINFECT = 26;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.7;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 7
var Distanse = 0;
_root.WarningMSG.play();
_root.WarningMSG.Fade.Warning = "Next wave will have fast monsters!";
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (12);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 20;
_root["Enemy" + _root.nbEnemy].EMONEY = 1;
_root["Enemy" + _root.nbEnemy].EINFECT = 30;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.6;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
_root.OK = 1;
stop();
Symbol 607 MovieClip Frame 8
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (14);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 30;
_root["Enemy" + _root.nbEnemy].EMONEY = 1;
_root["Enemy" + _root.nbEnemy].EINFECT = 34;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.2;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 9
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (2);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 55;
_root["Enemy" + _root.nbEnemy].EMONEY = 1;
_root["Enemy" + _root.nbEnemy].EINFECT = 38;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.8;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 10
var Distanse = 0;
_root.WarningMSG.play();
_root.WarningMSG.Fade.Warning = "Next wave will be a boss!";
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (4);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 70;
_root["Enemy" + _root.nbEnemy].EMONEY = 1;
_root["Enemy" + _root.nbEnemy].EINFECT = 42;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.9;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 11
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , -25);
setProperty("_root.Enemy" + _root.nbEnemy, _x , 225);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (16);
_root["Enemy" + _root.nbEnemy].EHP = 900;
_root["Enemy" + _root.nbEnemy].EMONEY = 30;
_root["Enemy" + _root.nbEnemy].EINFECT = 100;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.4;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
};
stop();
Symbol 607 MovieClip Frame 12
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (8);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 80;
_root["Enemy" + _root.nbEnemy].EMONEY = 2;
_root["Enemy" + _root.nbEnemy].EINFECT = 45;
_root["Enemy" + _root.nbEnemy].ESPEED = 1;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
_root.OK = 1;
stop();
Symbol 607 MovieClip Frame 13
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (10);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 100;
_root["Enemy" + _root.nbEnemy].EMONEY = 2;
_root["Enemy" + _root.nbEnemy].EINFECT = 50;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.8;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 14
var Distanse = 0;
_root.WarningMSG.play();
_root.WarningMSG.Fade.Warning = "Next wave will have fast monsters!";
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (12);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 130;
_root["Enemy" + _root.nbEnemy].EMONEY = 2;
_root["Enemy" + _root.nbEnemy].EINFECT = 55;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.7;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 15
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (14);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 110;
_root["Enemy" + _root.nbEnemy].EMONEY = 2;
_root["Enemy" + _root.nbEnemy].EINFECT = 60;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.3;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 16
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (2);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 140;
_root["Enemy" + _root.nbEnemy].EMONEY = 2;
_root["Enemy" + _root.nbEnemy].EINFECT = 65;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.9;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 17
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (4);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 160;
_root["Enemy" + _root.nbEnemy].EMONEY = 2;
_root["Enemy" + _root.nbEnemy].EINFECT = 70;
_root["Enemy" + _root.nbEnemy].ESPEED = 1;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
_root.OK = 1;
stop();
Symbol 607 MovieClip Frame 18
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (6);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 170;
_root["Enemy" + _root.nbEnemy].EMONEY = 2;
_root["Enemy" + _root.nbEnemy].EINFECT = 75;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.9;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 19
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (8);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 180;
_root["Enemy" + _root.nbEnemy].EMONEY = 2;
_root["Enemy" + _root.nbEnemy].EINFECT = 80;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.1;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 20
var Distanse = 0;
_root.WarningMSG.play();
_root.WarningMSG.Fade.Warning = "Next wave will be a boss!";
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (10);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 200;
_root["Enemy" + _root.nbEnemy].EMONEY = 2;
_root["Enemy" + _root.nbEnemy].EINFECT = 85;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.9;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 21
if (_root.Ez == 0) {
_root.WarningMSG.play();
_root.WarningMSG.Fade.Warning = "Next wave will have fast monsters!";
}
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , -25);
setProperty("_root.Enemy" + _root.nbEnemy, _x , 225);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (18);
_root["Enemy" + _root.nbEnemy].EHP = 1800;
_root["Enemy" + _root.nbEnemy].EMONEY = 60;
_root["Enemy" + _root.nbEnemy].EINFECT = 300;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.5;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
};
stop();
Symbol 607 MovieClip Frame 22
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (14);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 190;
_root["Enemy" + _root.nbEnemy].EMONEY = 3;
_root["Enemy" + _root.nbEnemy].EINFECT = 90;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.4;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
_root.OK = 1;
stop();
Symbol 607 MovieClip Frame 23
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (2);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 230;
_root["Enemy" + _root.nbEnemy].EMONEY = 3;
_root["Enemy" + _root.nbEnemy].EINFECT = 95;
_root["Enemy" + _root.nbEnemy].ESPEED = 1;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 24
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (4);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 245;
_root["Enemy" + _root.nbEnemy].EMONEY = 3;
_root["Enemy" + _root.nbEnemy].EINFECT = 100;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.1;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 25
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (6);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 260;
_root["Enemy" + _root.nbEnemy].EMONEY = 3;
_root["Enemy" + _root.nbEnemy].EINFECT = 110;
_root["Enemy" + _root.nbEnemy].ESPEED = 1;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 26
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (8);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 290;
_root["Enemy" + _root.nbEnemy].EMONEY = 3;
_root["Enemy" + _root.nbEnemy].EINFECT = 120;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.2;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 27
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (10);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 315;
_root["Enemy" + _root.nbEnemy].EMONEY = 3;
_root["Enemy" + _root.nbEnemy].EINFECT = 140;
_root["Enemy" + _root.nbEnemy].ESPEED = 1;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
_root.OK = 1;
stop();
Symbol 607 MovieClip Frame 28
var Distanse = 0;
_root.WarningMSG.play();
_root.WarningMSG.Fade.Warning = "Next wave will have fast monsters!";
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (12);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 335;
_root["Enemy" + _root.nbEnemy].EMONEY = 3;
_root["Enemy" + _root.nbEnemy].EINFECT = 160;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.9;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 29
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (14);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 300;
_root["Enemy" + _root.nbEnemy].EMONEY = 3;
_root["Enemy" + _root.nbEnemy].EINFECT = 180;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.5;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 30
var Distanse = 0;
_root.WarningMSG.play();
_root.WarningMSG.Fade.Warning = "Next wave will be a boss!";
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (2);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 355;
_root["Enemy" + _root.nbEnemy].EMONEY = 3;
_root["Enemy" + _root.nbEnemy].EINFECT = 200;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.1;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 31
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , -25);
setProperty("_root.Enemy" + _root.nbEnemy, _x , 225);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (20);
_root["Enemy" + _root.nbEnemy].EHP = 5000;
_root["Enemy" + _root.nbEnemy].EMONEY = 100;
_root["Enemy" + _root.nbEnemy].EINFECT = 600;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.5;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
};
stop();
Symbol 607 MovieClip Frame 32
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (6);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 370;
_root["Enemy" + _root.nbEnemy].EMONEY = 4;
_root["Enemy" + _root.nbEnemy].EINFECT = 240;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.1;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
_root.OK = 1;
stop();
Symbol 607 MovieClip Frame 33
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (8);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 400;
_root["Enemy" + _root.nbEnemy].EMONEY = 4;
_root["Enemy" + _root.nbEnemy].EINFECT = 260;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.3;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 34
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (10);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 435;
_root["Enemy" + _root.nbEnemy].EMONEY = 4;
_root["Enemy" + _root.nbEnemy].EINFECT = 280;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.1;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 35
var Distanse = 0;
_root.WarningMSG.play();
_root.WarningMSG.Fade.Warning = "Next wave will have fast monsters!";
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (12);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 460;
_root["Enemy" + _root.nbEnemy].EMONEY = 4;
_root["Enemy" + _root.nbEnemy].EINFECT = 295;
_root["Enemy" + _root.nbEnemy].ESPEED = 1;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 36
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (14);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 490;
_root["Enemy" + _root.nbEnemy].EMONEY = 4;
_root["Enemy" + _root.nbEnemy].EINFECT = 300;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.6;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 37
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (2);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 525;
_root["Enemy" + _root.nbEnemy].EMONEY = 4;
_root["Enemy" + _root.nbEnemy].EINFECT = 305;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.2;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
_root.OK = 1;
stop();
Symbol 607 MovieClip Frame 38
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (4);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 555;
_root["Enemy" + _root.nbEnemy].EMONEY = 4;
_root["Enemy" + _root.nbEnemy].EINFECT = 310;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.3;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 39
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (6);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 590;
_root["Enemy" + _root.nbEnemy].EMONEY = 4;
_root["Enemy" + _root.nbEnemy].EINFECT = 315;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.2;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 40
var Distanse = 0;
_root.WarningMSG.play();
_root.WarningMSG.Fade.Warning = "Next wave will be a boss!";
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (8);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 635;
_root["Enemy" + _root.nbEnemy].EMONEY = 4;
_root["Enemy" + _root.nbEnemy].EINFECT = 400;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.4;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 41
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , -25);
setProperty("_root.Enemy" + _root.nbEnemy, _x , 225);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (22);
_root["Enemy" + _root.nbEnemy].EHP = 20000;
_root["Enemy" + _root.nbEnemy].EMONEY = 180;
_root["Enemy" + _root.nbEnemy].EINFECT = 1000;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.5;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
};
stop();
Symbol 607 MovieClip Frame 42
var Distanse = 0;
_root.WarningMSG.play();
_root.WarningMSG.Fade.Warning = "Next wave will have fast monsters!";
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (12);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 670;
_root["Enemy" + _root.nbEnemy].EMONEY = 5;
_root["Enemy" + _root.nbEnemy].EINFECT = 320;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.1;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
_root.OK = 1;
stop();
Symbol 607 MovieClip Frame 43
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (14);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 720;
_root["Enemy" + _root.nbEnemy].EMONEY = 5;
_root["Enemy" + _root.nbEnemy].EINFECT = 330;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.7;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 44
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (2);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 760;
_root["Enemy" + _root.nbEnemy].EMONEY = 5;
_root["Enemy" + _root.nbEnemy].EINFECT = 340;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.3;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 45
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (4);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 800;
_root["Enemy" + _root.nbEnemy].EMONEY = 5;
_root["Enemy" + _root.nbEnemy].EINFECT = 350;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.4;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 46
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (6);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 850;
_root["Enemy" + _root.nbEnemy].EMONEY = 5;
_root["Enemy" + _root.nbEnemy].EINFECT = 360;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.3;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 47
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (8);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 900;
_root["Enemy" + _root.nbEnemy].EMONEY = 5;
_root["Enemy" + _root.nbEnemy].EINFECT = 370;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.5;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
_root.OK = 1;
stop();
Symbol 607 MovieClip Frame 48
var Distanse = 0;
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (10);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 950;
_root["Enemy" + _root.nbEnemy].EMONEY = 5;
_root["Enemy" + _root.nbEnemy].EINFECT = 380;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.3;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 49
var Distanse = 0;
_root.WarningMSG.play();
_root.WarningMSG.Fade.Warning = "Next wave will have fast monsters!";
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (12);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 1000;
_root["Enemy" + _root.nbEnemy].EMONEY = 5;
_root["Enemy" + _root.nbEnemy].EINFECT = 390;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.2;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 50
var Distanse = 0;
_root.WarningMSG.play();
_root.WarningMSG.Fade.Warning = "Next wave will be a boss!";
i = 0;
while (i < 15) {
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , Distanse);
setProperty("_root.Enemy" + _root.nbEnemy, _x , (Math.random() * 200) + 125);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (14);
};
Distanse = Distanse - 20;
_root["Enemy" + _root.nbEnemy].EHP = 1000;
_root["Enemy" + _root.nbEnemy].EMONEY = 5;
_root["Enemy" + _root.nbEnemy].EINFECT = 400;
_root["Enemy" + _root.nbEnemy].ESPEED = 1.8;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
i++;
}
stop();
Symbol 607 MovieClip Frame 51
duplicateMovieClip ("_root.Enemy", "Enemy" + _root.nbEnemy, _root.nbEnemy);
setProperty("_root.Enemy" + _root.nbEnemy, _y , -25);
setProperty("_root.Enemy" + _root.nbEnemy, _x , 225);
tellTarget ("_root.Enemy" + _root.nbEnemy) {
gotoAndStop (24);
_root["Enemy" + _root.nbEnemy].EHP = 90000 /* 0x015F90 */;
_root["Enemy" + _root.nbEnemy].EMONEY = 200;
_root["Enemy" + _root.nbEnemy].EINFECT = 3000;
_root["Enemy" + _root.nbEnemy].ESPEED = 0.3;
_root.nbEnemy--;
if (_root.nbEnemy == 500) {
_root.nbEnemy = 600;
}
};
stop();
Symbol 613 MovieClip Frame 1
stop();
Symbol 613 MovieClip Frame 18
if (_parent.SpeedShotTurret == 1) {
gotoAndStop (1);
}
Symbol 616 MovieClip Frame 1
stop();
Symbol 616 MovieClip Frame 2
stop();
Symbol 616 MovieClip Frame 3
stop();
Symbol 616 MovieClip Frame 4
stop();
Symbol 616 MovieClip Frame 5
stop();
Symbol 624 MovieClip Frame 1
stop();
Symbol 624 MovieClip Frame 2
stop();
Instance of Symbol 613 MovieClip "Gun" in Symbol 624 MovieClip Frame 2
onClipEvent (enterFrame) {
switch (_parent.TurretRNGLvl) {
case 0 :
_parent.TurretRange.gotoAndStop(1);
break;
case 1 :
_parent.TurretRange.gotoAndStop(2);
break;
case 2 :
_parent.TurretRange.gotoAndStop(3);
break;
case 3 :
_parent.TurretRange.gotoAndStop(4);
break;
case 4 :
_parent.TurretRange.gotoAndStop(5);
}
}
on (release) {
if (this.hitTest(_root.Cursor) && (_root.Pause == 0)) {
i = 450;
while (i <= 458) {
_root["SecCannon" + i].TurretRange._alpha = 0;
i++;
}
i = 450;
while (i <= 458) {
_root["SecCannonRight" + i].TurretRange._alpha = 0;
i++;
}
_root.MainCBRange._alpha = 0;
_parent.TurretRange._alpha = 20;
_root.Shop.gotoAndStop(3);
_root.Shop.MainDamage = _parent.TurretATK;
_root.Shop.NextDamage = _root.arrayDmgTurretUpgrade[_parent.TurretATKLvl];
_root.Shop.MainRange = _parent.TurretRNG;
_root.Shop.NextRange = _root.arrayRngTurretUpgrade[_parent.TurretRNGLvl];
_root.Shop.UpDmgBuy = "$" + _root.arrayDmgTurretUpgradePrice[_parent.TurretATKLvl];
_root.Shop.UpRngBuy = "$" + _root.arrayRngTurretUpgradePrice[_parent.TurretRNGLvl];
if (_parent.SpeedShotTurret == 1) {
_root.Shop.SeedShotBuy = "-";
} else {
_root.Shop.SeedShotBuy = "$80";
}
}
}
on (rollOver) {
if (_root.Pause == 0) {
var myGlowFilter = (new flash.filters.GlowFilter(16777215, 1, 9, 9, 1, 1, false, false));
_parent.BackTurret.filters = [myGlowFilter];
this.filters = [myGlowFilter];
}
}
on (rollOut) {
_parent.BackTurret.filters = undefined;
this.filters = undefined;
}
Symbol 628 MovieClip Frame 1
stop();
Symbol 628 MovieClip Frame 2
stop();
Symbol 628 MovieClip Frame 3
stop();
Symbol 634 MovieClip Frame 15
_parent.removeMovieClip();
Symbol 636 MovieClip Frame 10
gotoAndPlay (1);
Symbol 636 MovieClip Frame 11
stop();
Instance of Symbol 634 MovieClip "Explosion" in Symbol 636 MovieClip Frame 11
onClipEvent (enterFrame) {
i = 500;
while (i <= 600) {
if (this.hitTest(_root["Enemy" + i])) {
_root["Enemy" + i].EHP = _root["Enemy" + i].EHP - 13;
}
i++;
}
}
Symbol 643 MovieClip Frame 1
stop();
Symbol 643 MovieClip Frame 2
stop();
Symbol 643 MovieClip Frame 3
_root.ParaIcon.gotoAndStop(1);
Symbol 652 MovieClip Frame 1
stop();
Instance of Symbol 651 MovieClip in Symbol 652 MovieClip Frame 41
onClipEvent (enterFrame) {
i = 500;
while (i <= 600) {
if (this.hitTest(_root["Enemy" + i])) {
_root["Enemy" + i].EHP = _root["Enemy" + i].EHP - 25;
}
i++;
}
}
Symbol 654 MovieClip Frame 1
stop();
Symbol 654 MovieClip Frame 2
stop();
Symbol 660 MovieClip Frame 1
stop();
Symbol 660 MovieClip Frame 2
stop();
Instance of Symbol 613 MovieClip "Gun" in Symbol 660 MovieClip Frame 2
onClipEvent (enterFrame) {
switch (_parent.TurretRNGLvl) {
case 0 :
_parent.TurretRange.gotoAndStop(1);
break;
case 1 :
_parent.TurretRange.gotoAndStop(2);
break;
case 2 :
_parent.TurretRange.gotoAndStop(3);
break;
case 3 :
_parent.TurretRange.gotoAndStop(4);
break;
case 4 :
_parent.TurretRange.gotoAndStop(5);
}
}
on (release) {
if (this.hitTest(_root.Cursor) && (_root.Pause == 0)) {
i = 450;
while (i <= 458) {
_root["SecCannon" + i].TurretRange._alpha = 0;
i++;
}
i = 450;
while (i <= 458) {
_root["SecCannonRight" + i].TurretRange._alpha = 0;
i++;
}
_root.MainCBRange._alpha = 0;
_parent.TurretRange._alpha = 20;
_root.Shop.gotoAndStop(3);
_root.Shop.MainDamage = _parent.TurretATK;
_root.Shop.NextDamage = _root.arrayDmgTurretUpgrade[_parent.TurretATKLvl];
_root.Shop.MainRange = _parent.TurretRNG;
_root.Shop.NextRange = _root.arrayRngTurretUpgrade[_parent.TurretRNGLvl];
_root.Shop.UpDmgBuy = "$" + _root.arrayDmgTurretUpgradePrice[_parent.TurretATKLvl];
_root.Shop.UpRngBuy = "$" + _root.arrayRngTurretUpgradePrice[_parent.TurretRNGLvl];
if (_parent.SpeedShotTurret == 1) {
_root.Shop.SeedShotBuy = "-";
} else {
_root.Shop.SeedShotBuy = "$80";
}
}
}
on (rollOver) {
if (_root.Pause == 0) {
var myGlowFilter = (new flash.filters.GlowFilter(16777215, 1, 9, 9, 1, 1, false, false));
_parent.BackTurret.filters = [myGlowFilter];
this.filters = [myGlowFilter];
}
}
on (rollOut) {
_parent.BackTurret.filters = undefined;
this.filters = undefined;
}
Symbol 661 MovieClip Frame 1
stop();
Symbol 661 MovieClip Frame 2
stop();
Symbol 661 MovieClip Frame 3
stop();
Symbol 661 MovieClip Frame 4
stop();
Symbol 661 MovieClip Frame 5
stop();
Symbol 674 MovieClip Frame 1
stop();
Symbol 674 MovieClip Frame 2
stop();
Symbol 674 MovieClip Frame 3
stop();
Symbol 688 Button
on (release) {
if (_root.Pause == 0) {
if ((_root.Money >= 230) && (_root.SpeedCannon == 0)) {
_root.Money = _root.Money - 230;
_root.SpeedCannon = 1;
_root.Shop.SpeedCannonBuy = "-";
} else {
_root.Errors.play();
}
}
}
on (rollOver) {
Teal = new Color(_root.Shop.Buy4);
Teal.setRGB(16777215);
}
on (rollOut) {
Teal = new Color(_root.Shop.Buy4);
Teal.setRGB(65535);
}
Symbol 690 Button
on (release) {
if (_root.Pause == 0) {
if ((_root.Money >= _root.arrayRngMainUpgradePrice[_root.RngMainUpgrade]) && (_root.RngMainUpgrade != 5)) {
_root.Money = _root.Money - _root.arrayRngMainUpgradePrice[_root.RngMainUpgrade];
_root.MainCBRange.nextFrame();
_root.Mrng = Math.round(_root.arrayRngMainUpgrade[_root.RngMainUpgrade] * 100) / 100;
_root.RngMainUpgrade++;
_root.Shop.NextRange = Math.round(_root.arrayRngMainUpgrade[_root.RngMainUpgrade] * 100) / 100;
_root.Shop.MainRange = Math.round(_root.Mrng * 100) / 100;
_root.Shop.UpRngBuy = "$" + _root.arrayRngMainUpgradePrice[_root.RngMainUpgrade];
} else {
_root.Errors.play();
}
if (_root.RngMainUpgrade == 5) {
_root.Shop.NextRange = "-";
}
}
}
on (rollOver) {
Teal = new Color(_root.Shop.Buy1);
Teal.setRGB(16777215);
}
on (rollOut) {
Teal = new Color(_root.Shop.Buy1);
Teal.setRGB(65535);
}
Symbol 692 Button
on (release) {
if (_root.Pause == 0) {
if ((_root.Money >= _root.arrayDmgMainUpgradePrice[_root.DmgMainUpgrade]) && (_root.DmgMainUpgrade != 5)) {
_root.Money = _root.Money - _root.arrayDmgMainUpgradePrice[_root.DmgMainUpgrade];
_root.Mdmg = _root.arrayDmgMainUpgrade[_root.DmgMainUpgrade];
_root.DmgMainUpgrade++;
_root.Shop.MainDamage = _root.Mdmg;
_root.Shop.NextDamage = _root.arrayDmgMainUpgrade[_root.DmgMainUpgrade];
_root.Shop.UpDmgBuy = "$" + _root.arrayDmgMainUpgradePrice[_root.DmgMainUpgrade];
} else {
_root.Errors.play();
}
if (_root.DmgMainUpgrade == 5) {
_root.Shop.NextDamage = "-";
}
}
}
on (rollOver) {
Teal = new Color(_root.Shop.Buy2);
Teal.setRGB(16777215);
}
on (rollOut) {
Teal = new Color(_root.Shop.Buy2);
Teal.setRGB(65535);
}
Symbol 693 Button
on (release) {
if (_root.Pause == 0) {
if ((_root.Money >= 280) && (_root.FreezeGun == 0)) {
_root.Money = _root.Money - 280;
_root.FreezeGun = 1;
_root.Shop.FreezeGunBuy = "-";
} else {
_root.Errors.play();
}
}
}
on (rollOver) {
Teal = new Color(_root.Shop.Buy3);
Teal.setRGB(16777215);
}
on (rollOut) {
Teal = new Color(_root.Shop.Buy3);
Teal.setRGB(65535);
}
Symbol 709 Button
on (release) {
if (_root.Pause == 0) {
i = 450;
while (i <= 456) {
if (_root["SecCannon" + i].TurretRange._alpha > 0) {
if ((_root.Money >= _root.arrayRngTurretUpgradePrice[_root["SecCannon" + i].TurretRNGLvl]) && (_root["SecCannon" + i].TurretRNGLvl != 4)) {
_root.Money = _root.Money - _root.arrayRngTurretUpgradePrice[_root["SecCannon" + i].TurretRNGLvl];
_root["SecCannon" + i].TurretRNG = _root.arrayRngTurretUpgrade[_root["SecCannon" + i].TurretRNGLvl];
_root["SecCannon" + i].TurretRNGLvl++;
_root.Shop.MainRange = _root["SecCannon" + i].TurretRNG;
_root.Shop.NextRange = _root.arrayRngTurretUpgrade[_root["SecCannon" + i].TurretRNGLvl];
_root.Shop.UpRngBuy = "$" + _root.arrayRngTurretUpgradePrice[_root["SecCannon" + i].TurretRNGLvl];
} else {
_root.Errors.play();
}
if (_root["SecCannon" + i].TurretRNGLvl == 4) {
_root.Shop.NextRange = "-";
}
}
if (_root["SecCannonRight" + i].TurretRange._alpha > 0) {
if ((_root.Money >= _root.arrayRngTurretUpgradePrice[_root["SecCannonRight" + i].TurretRNGLvl]) && (_root["SecCannonRight" + i].TurretRNGLvl != 4)) {
_root.Money = _root.Money - _root.arrayRngTurretUpgradePrice[_root["SecCannonRight" + i].TurretRNGLvl];
_root["SecCannonRight" + i].TurretRNG = _root.arrayRngTurretUpgrade[_root["SecCannonRight" + i].TurretRNGLvl];
_root["SecCannonRight" + i].TurretRNGLvl++;
_root.Shop.MainRange = _root["SecCannonRight" + i].TurretRNG;
_root.Shop.NextRange = _root.arrayRngTurretUpgrade[_root["SecCannonRight" + i].TurretRNGLvl];
_root.Shop.UpRngBuy = "$" + _root.arrayRngTurretUpgradePrice[_root["SecCannonRight" + i].TurretRNGLvl];
} else {
_root.Errors.play();
}
if (_root["SecCannonRight" + i].TurretRNGLvl == 4) {
_root.Shop.NextRange = "-";
}
}
i++;
}
}
}
on (rollOver) {
Teal = new Color(_root.Shop.Buy1);
Teal.setRGB(16777215);
}
on (rollOut) {
Teal = new Color(_root.Shop.Buy1);
Teal.setRGB(65535);
}
Symbol 711 Button
on (release) {
if (_root.Pause == 0) {
i = 450;
while (i <= 456) {
if (_root["SecCannon" + i].TurretRange._alpha > 0) {
if ((_root.Money >= _root.arrayDmgTurretUpgradePrice[_root["SecCannon" + i].TurretATKLvl]) && (_root["SecCannon" + i].TurretATKLvl != 5)) {
_root.Money = _root.Money - _root.arrayDmgTurretUpgradePrice[_root["SecCannon" + i].TurretATKLvl];
_root["SecCannon" + i].TurretATK = _root.arrayDmgTurretUpgrade[_root["SecCannon" + i].TurretATKLvl];
_root["SecCannon" + i].TurretATKLvl++;
_root.Shop.MainDamage = _root["SecCannon" + i].TurretATK;
_root.Shop.NextDamage = _root.arrayDmgTurretUpgrade[_root["SecCannon" + i].TurretATKLvl];
_root.Shop.UpDmgBuy = "$" + _root.arrayDmgTurretUpgradePrice[_root["SecCannon" + i].TurretATKLvl];
} else {
_root.Errors.play();
}
if (_root["SecCannon" + i].TurretATKLvl == 5) {
_root.Shop.NextDamage = "-";
}
}
if (_root["SecCannonRight" + i].TurretRange._alpha > 0) {
if ((_root.Money >= _root.arrayDmgTurretUpgradePrice[_root["SecCannonRight" + i].TurretATKLvl]) && (_root["SecCannonRight" + i].TurretATKLvl != 5)) {
_root.Money = _root.Money - _root.arrayDmgTurretUpgradePrice[_root["SecCannonRight" + i].TurretATKLvl];
_root["SecCannonRight" + i].TurretATK = _root.arrayDmgTurretUpgrade[_root["SecCannonRight" + i].TurretATKLvl];
_root["SecCannonRight" + i].TurretATKLvl++;
_root.Shop.MainDamage = _root["SecCannonRight" + i].TurretATK;
_root.Shop.NextDamage = _root.arrayDmgTurretUpgrade[_root["SecCannonRight" + i].TurretATKLvl];
_root.Shop.UpDmgBuy = "$" + _root.arrayDmgTurretUpgradePrice[_root["SecCannonRight" + i].TurretATKLvl];
} else {
_root.Errors.play();
}
if (_root["SecCannonRight" + i].TurretATKLvl == 5) {
_root.Shop.NextDamage = "-";
}
}
i++;
}
}
}
on (rollOver) {
Teal = new Color(_root.Shop.Buy2);
Teal.setRGB(16777215);
}
on (rollOut) {
Teal = new Color(_root.Shop.Buy2);
Teal.setRGB(65535);
}
Symbol 712 Button
on (release) {
if (_root.Pause == 0) {
i = 450;
while (i <= 456) {
if (_root["SecCannon" + i].TurretRange._alpha > 0) {
if ((_root.Money >= 80) && (_root["SecCannon" + i].SpeedShotTurret != 1)) {
_root.Money = _root.Money - 80;
_root["SecCannon" + i].SpeedShotTurret = 1;
_root.Shop.SeedShotBuy = "-";
} else {
_root.Errors.play();
}
}
if (_root["SecCannonRight" + i].TurretRange._alpha > 0) {
if ((_root.Money >= 80) && (_root["SecCannonRight" + i].SpeedShotTurret != 1)) {
_root.Money = _root.Money - 80;
_root["SecCannonRight" + i].SpeedShotTurret = 1;
_root.Shop.SeedShotBuy = "-";
} else {
_root.Errors.play();
}
}
i++;
}
}
}
on (rollOver) {
Teal = new Color(_root.Shop.Buy3);
Teal.setRGB(16777215);
}
on (rollOut) {
Teal = new Color(_root.Shop.Buy3);
Teal.setRGB(65535);
}
Symbol 717 MovieClip Frame 1
stop();
Instance of Symbol 668 MovieClip in Symbol 717 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((Key.isDown(49) && (_root.Pause == 0)) && (_root.Cursor._x != 1000)) {
if ((_root.Money >= 20) && (_root.nbTurret < 558)) {
i = 0;
while (i < 6) {
if (_root.arrayCannon[i] == 0) {
_root["NoCannon" + (i + 1)]._alpha = 20;
}
i++;
}
_root.Shop.Cancel.gotoAndStop(2);
startDrag ("_root.CannonCursor", true);
_root.Cursor._x = 1000;
Mouse.hide();
} else {
_root.Errors.play();
}
}
}
on (release) {
if (this.hitTest(_root.Cursor) && (_root.Pause == 0)) {
if ((_root.Money >= 20) && (_root.nbTurret < 558)) {
i = 0;
while (i < 6) {
if (_root.arrayCannon[i] == 0) {
_root["NoCannon" + (i + 1)]._alpha = 20;
}
i++;
}
_root.Shop.Cancel.gotoAndStop(2);
startDrag ("_root.CannonCursor", true);
_root.Cursor._x = 1000;
Mouse.hide();
} else {
_root.Errors.play();
}
}
}
on (rollOver) {
Teal = new Color(this);
Teal.setRGB(16777215);
}
on (rollOut) {
Teal = new Color(this);
Teal.setRGB(65535);
}
Instance of Symbol 668 MovieClip in Symbol 717 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((Key.isDown(50) && (_root.Pause == 0)) && (_root.Cursor._x != 1000)) {
if (_root.Money >= 10) {
_root.Shop.Cancel.gotoAndStop(2);
startDrag ("_root.MineCursor", true);
_root.Cursor._x = 1000;
Mouse.hide();
} else {
_root.Errors.play();
}
}
}
on (release) {
if (this.hitTest(_root.Cursor) && (_root.Pause == 0)) {
if (_root.Money >= 10) {
_root.Shop.Cancel.gotoAndStop(2);
startDrag ("_root.MineCursor", true);
_root.Cursor._x = 1000;
Mouse.hide();
} else {
_root.Errors.play();
}
}
}
on (rollOver) {
Teal = new Color(this);
Teal.setRGB(16777215);
}
on (rollOut) {
Teal = new Color(this);
Teal.setRGB(65535);
}
Instance of Symbol 668 MovieClip in Symbol 717 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(51) && (_root.Pause == 0)) {
if ((((_root.Money >= 15) && (_root.Paralizers._currentframe == 1)) && (_root.ParaBeamON == 0)) && (_root.DeathBeamON == 0)) {
_root.Money = _root.Money - 15;
_root.ParaIcon.gotoAndStop(2);
_root.ParaBeamON = 1;
} else {
_root.Errors.play();
}
}
}
on (release) {
if (this.hitTest(_root.Cursor) && (_root.Pause == 0)) {
if ((((_root.Money >= 15) && (_root.Paralizers._currentframe == 1)) && (_root.ParaBeamON == 0)) && (_root.DeathBeamON == 0)) {
_root.Money = _root.Money - 15;
_root.ParaIcon.gotoAndStop(2);
_root.ParaBeamON = 1;
} else {
_root.Errors.play();
}
}
}
on (rollOver) {
Teal = new Color(this);
Teal.setRGB(16777215);
}
on (rollOut) {
Teal = new Color(this);
Teal.setRGB(65535);
}
Instance of Symbol 668 MovieClip in Symbol 717 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(52) && (_root.Pause == 0)) {
if ((_root.Money >= 50) && (_root.Nuke._currentframe == 1)) {
_root.Money = _root.Money - 50;
_root.Nuke.play();
} else {
_root.Errors.play();
}
}
}
on (release) {
if (this.hitTest(_root.Cursor) && (_root.Pause == 0)) {
if ((_root.Money >= 50) && (_root.Nuke._currentframe == 1)) {
_root.Money = _root.Money - 50;
_root.Nuke.play();
} else {
_root.Errors.play();
}
}
}
on (rollOver) {
Teal = new Color(this);
Teal.setRGB(16777215);
}
on (rollOut) {
Teal = new Color(this);
Teal.setRGB(65535);
}
Instance of Symbol 668 MovieClip in Symbol 717 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(53) && (_root.Pause == 0)) {
if ((((_root.Money >= 60) && (_root.DeathBeam._currentframe == 1)) && (_root.DeathBeamON == 0)) && (_root.ParaBeamON == 0)) {
_root.DeathBeamON = 1;
_root.DeathIcon.gotoAndStop(2);
_root.Money = _root.Money - 60;
} else {
_root.Errors.play();
}
}
}
on (release) {
if (this.hitTest(_root.Cursor) && (_root.Pause == 0)) {
if ((((_root.Money >= 60) && (_root.DeathBeam._currentframe == 1)) && (_root.DeathBeamON == 0)) && (_root.ParaBeamON == 0)) {
_root.DeathBeamON = 1;
_root.DeathIcon.gotoAndStop(2);
_root.Money = _root.Money - 60;
} else {
_root.Errors.play();
}
}
}
on (rollOver) {
Teal = new Color(this);
Teal.setRGB(16777215);
}
on (rollOut) {
Teal = new Color(this);
Teal.setRGB(65535);
}
Instance of Symbol 674 MovieClip "Cancel" in Symbol 717 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(81)) {
i = 0;
while (i < 10) {
if (_root.arrayCannon[i] == 0) {
_root["NoCannon" + (i + 1)]._alpha = 0;
}
i++;
}
startDrag ("_root.Cursor", true);
_root.CannonCursor._x = 1000;
_root.MineCursor._x = 1000;
_root.ParalizerCursor._x = 1000;
Mouse.hide();
this.gotoAndStop(1);
}
}
on (release) {
i = 0;
while (i < 10) {
if (_root.arrayCannon[i] == 0) {
_root["NoCannon" + (i + 1)]._alpha = 0;
}
i++;
}
startDrag ("_root.Cursor", true);
_root.CannonCursor._x = 1000;
_root.MineCursor._x = 1000;
_root.ParalizerCursor._x = 1000;
Mouse.hide();
this.gotoAndStop(1);
}
on (rollOver) {
if (this._currentframe != 1) {
this.gotoAndStop(3);
}
}
on (rollOut) {
if (this._currentframe != 1) {
this.gotoAndStop(2);
}
}
Symbol 717 MovieClip Frame 2
_root.Shop.MainRange = Math.round(_root.Mrng * 100) / 100;
_root.Shop.MainDamage = _root.Mdmg;
_root.Shop.NextRange = Math.round(_root.arrayRngMainUpgrade[_root.RngMainUpgrade] * 100) / 100;
_root.Shop.NextDamage = _root.arrayDmgMainUpgrade[_root.DmgMainUpgrade];
_root.Shop.UpRngBuy = "$" + _root.arrayRngMainUpgradePrice[_root.RngMainUpgrade];
_root.Shop.UpDmgBuy = "$" + _root.arrayDmgMainUpgradePrice[_root.DmgMainUpgrade];
if (_root.RngMainUpgrade == 5) {
_root.Shop.NextRange = "-";
}
if (_root.FreezeGun == 1) {
_root.Shop.FreezeGunBuy = "-";
} else {
_root.Shop.FreezeGunBuy = "$280";
}
if (_root.SpeedCannon == 1) {
_root.Shop.SpeedCannonBuy = "-";
} else {
_root.Shop.SpeedCannonBuy = "$230";
}
Instance of Symbol 683 MovieClip in Symbol 717 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Pause == 0) {
if (Key.isDown(81)) {
_root.MainCBRange._alpha = 0;
_root.Shop.gotoAndStop(1);
}
}
}
on (release) {
if (_root.Pause == 0) {
_root.MainCBRange._alpha = 0;
_root.Shop.gotoAndStop(1);
}
}
on (rollOver) {
Gray = new Color(this);
Gray.setRGB(10066329);
Gray.reduceRGB(100);
}
on (rollOut) {
Gray = new Color(this);
Gray.setRGB(16777215);
Gray.reduceRGB(100);
}
Symbol 717 MovieClip Frame 3
stop();
Instance of Symbol 683 MovieClip in Symbol 717 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.Pause == 0) {
if (Key.isDown(81)) {
i = 450;
while (i <= 460) {
_root["SecCannon" + i].TurretRange._alpha = 0;
i++;
}
i = 450;
while (i <= 460) {
_root["SecCannonRight" + i].TurretRange._alpha = 0;
i++;
}
_root.Shop.gotoAndStop(1);
}
}
}
on (release) {
if (_root.Pause == 0) {
i = 450;
while (i <= 460) {
_root["SecCannon" + i].TurretRange._alpha = 0;
i++;
}
i = 450;
while (i <= 460) {
_root["SecCannonRight" + i].TurretRange._alpha = 0;
i++;
}
_root.Shop.gotoAndStop(1);
}
}
on (rollOver) {
Gray = new Color(this);
Gray.setRGB(10066329);
Gray.reduceRGB(100);
}
on (rollOut) {
Gray = new Color(this);
Gray.setRGB(16777215);
Gray.reduceRGB(100);
}
Symbol 717 MovieClip Frame 4
stop();
Symbol 719 MovieClip Frame 1
stop();
Symbol 719 MovieClip Frame 2
stop();
Symbol 725 Button
on (release) {
i = 500;
while (i <= 600) {
if (_root["Enemy" + i]._currentframe != 1) {
_root["Enemy" + i].removeMovieClip();
}
i++;
}
i = 450;
while (i < 460) {
_root["SecCannon" + i].removeMovieClip();
i++;
}
i = 450;
while (i < 460) {
_root["SecCannonRight" + i].removeMovieClip();
i++;
}
i = 0;
while (i <= 200) {
_root["Mine" + i].removeMovieClip();
i++;
}
_root.Cursor.removeMovieClip();
_root.OverBar.removeMovieClip();
_root.Paralizers.removeMovieClip();
_root.Nuke.removeMovieClip();
_root.WarningMSG.removeMovieClip();
_root.CWave.removeMovieClip();
_root.Ctime.removeMovieClip();
_root.Quit.removeMovieClip();
_root.Quiet.removeMovieClip();
stopAllSounds();
_root.gotoAndPlay("Back");
_root.Win.removeMovieClip();
}
Symbol 751 MovieClip Frame 1
stop();
Symbol 751 MovieClip Frame 2
stop();
Symbol 752 MovieClip Frame 1
stop();
Instance of Symbol 144 MovieClip in Symbol 752 MovieClip Frame 2
on (release) {
getURL ("http://www.mofunzone.com/", "_blank");
}
Symbol 752 MovieClip Frame 10
_root.Win.FinalSurvivor = _root.Survivor;
if (_root.Survivor > 1000) {
_root.Win.Medal = "Diamond";
if (_root.arrayMedal[0] < 4) {
_root.arrayMedal[0] = 4;
}
} else if ((_root.Survivor <= 1000) && (_root.Survivor >= 700)) {
_root.Win.Medal = "Gold";
if (_root.arrayMedal[0] < 3) {
_root.arrayMedal[0] = 3;
}
} else if ((_root.Survivor < 700) && (_root.Survivor >= 400)) {
_root.Win.Medal = "Silver";
if (_root.arrayMedal[0] < 2) {
_root.arrayMedal[0] = 2;
}
} else if (_root.Survivor < 400) {
_root.Win.Medal = "Bronze";
if (_root.arrayMedal[0] < 1) {
_root.arrayMedal[0] = 1;
}
}
_root.Win.Money = _root.Money;
_root.Win.Survivor = _root.Survivor;
_root.Win.DamageCause = _root.DamageCause;
_root.Win.MoneyPoints = _root.Money * 15;
_root.Win.SurvivorPoints = _root.Survivor * 5;
_root.Win.DamagePoints = Math.round(_root.DamageCause / 10);
_root.Win.Total = (_root.Win.MoneyPoints + _root.Win.SurvivorPoints) + _root.Win.DamagePoints;
_root.arrayLockLevel[0] = 1;
_root.savefile.data.arrayLockLevel = _root.arrayLockLevel;
_root.savefile.data.arrayMedal = _root.arrayMedal;
stop();
Instance of Symbol 751 MovieClip in Symbol 752 MovieClip Frame 10
on (release) {
getURL ("http://www.mofunzone.com/online_games/substitute.shtml", "_blank");
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Symbol 761 Button
on (release) {
if (this.hitTest(_root.Cursor)) {
_root.Music.gotoAndStop(2);
}
}
Symbol 764 Button
on (release) {
if (this.hitTest(_root.Cursor)) {
stopAllSounds();
_root.Music.gotoAndStop(1);
}
}
Symbol 772 Button
on (release) {
_root.FadeIn.play();
}
Symbol 775 Button
on (release) {
_root.Quit.play();
}
Symbol 776 MovieClip Frame 1
stop();
Symbol 776 MovieClip Frame 11
stop();
Symbol 776 MovieClip Frame 20
_root.Shop.gotoAndStop(1);
_root.Pause = 0;
if (_root.TimerClip._currentframe != 1) {
_root.TimerClip.play();
}
Symbol 789 Button
on (release) {
if (_root.AntiVirusLevel < 3) {
_root.Choice = 1;
this.play();
} else {
_root.Errors.play();
}
}
Symbol 790 Button
on (release) {
if (_root.EquipmentLevel < 3) {
_root.Choice = 2;
this.play();
} else {
_root.Errors.play();
}
}
Symbol 791 Button
on (release) {
if (_root.NbSoldiers >= 50) {
_root.Choice = 3;
this.play();
}
}
Symbol 794 Button
on (release) {
_root.Choice = 4;
this.play();
}
Symbol 803 Button
on (release) {
_root.Choice1 = 0;
_root.Choice2 = 0;
_root.Choice3 = 0;
this.play();
}
Symbol 806 MovieClip Frame 1
stop();
Symbol 806 MovieClip Frame 10
_root.Quiet.Hours = Math.round((Math.random() * 60) + 24);
_root.SpareTime = _root.Quiet.Hours;
if (_root.AntiVirusLevel == 3) {
_root.AntiVirusPercent = 0;
}
if (_root.EquipmentLevel == 3) {
_root.EquipmentPercent = 0;
}
_root.Quiet.Q1 = ((("Search for an anti-virus (Lvl=" + _root.AntiVirusLevel) + " / ") + _root.AntiVirusPercent) + "%)";
_root.Quiet.Q2 = ((("Upgrade soldier's equipment (Lvl=" + _root.EquipmentLevel) + " / ") + _root.EquipmentPercent) + "%)";
_root.Quiet.Q3 = ("Search for survivors (" + _root.NbSoldiers) + "/50 soldiers)";
stop();
Symbol 806 MovieClip Frame 29
if (_root.Choice == 1) {
var LevelStart = _root.AntiVirusLevel;
var PercentRandom;
var PercentGain = 0;
i = 1;
while (i < _root.SpareTime) {
PercentRandom = Math.round((Math.random() * 3) + 1);
PercentGain = PercentGain + PercentRandom;
_root.AntiVirusPercent = _root.AntiVirusPercent + PercentRandom;
if ((_root.AntiVirusPercent >= 100) && (_root.AntiVirusLevel < 2)) {
_root.AntiVirusPercent = 0;
_root.AntiVirusLevel++;
} else if ((_root.AntiVirusPercent >= 100) && (_root.AntiVirusLevel == 2)) {
PercentGain = PercentGain - (_root.AntiVirusPercent - 100);
_root.AntiVirusPercent = 0;
_root.AntiVirusLevel++;
}
i++;
}
if (_root.SpareTime <= 30) {
_root.Quiet.Result = ("Even if we didn't had much time to work on the anti-virus, we manage to increase our work by " + PercentGain) + "%.";
} else if ((_root.SpareTime <= 70) && (_root.SpareTime > 30)) {
_root.Quiet.Result = ("Our project to find an anti-virus have increase by " + PercentGain) + "%.";
} else if (_root.SpareTime > 70) {
_root.Quiet.Result = ("Thanks to the time we had, we manage to increase our knowledge by " + PercentGain) + "%.";
}
if ((LevelStart != _root.AntiVirusLevel) && (_root.AntiVirusLevel != 3)) {
_root.Quiet.Result = _root.Quiet.Result + ((" We now have an anti-virus level " + _root.AntiVirusLevel) + ".");
} else if ((LevelStart != _root.AntiVirusLevel) && (_root.AntiVirusLevel == 3)) {
_root.Quiet.Result = _root.Quiet.Result + ((" We now have an anti-virus level " + _root.AntiVirusLevel) + ". But the bad news is that we now know that the anti-virus will never be 100% effectif. We can still save about 50% of the infected people but thats all we can do.");
}
}
if (_root.Choice == 2) {
var LevelStart = _root.EquipmentLevel;
var PercentRandom;
var PercentGain = 0;
i = 1;
while (i < _root.SpareTime) {
PercentRandom = Math.round((Math.random() * 4) + 1);
PercentGain = PercentGain + PercentRandom;
_root.EquipmentPercent = _root.EquipmentPercent + PercentRandom;
if ((_root.EquipmentPercent >= 100) && (_root.EquipmentLevel < 2)) {
_root.EquipmentPercent = 0;
_root.EquipmentLevel++;
} else if ((_root.EquipmentPercent >= 100) && (_root.EquipmentLevel == 2)) {
PercentGain = PercentGain - (_root.EquipmentPercent - 100);
_root.EquipmentPercent = 0;
_root.EquipmentLevel++;
}
i++;
}
if (_root.SpareTime <= 30) {
_root.Quiet.Result = ("Time was an issu, but our work for new equipments have increase by " + PercentGain) + "%.";
} else if ((_root.SpareTime <= 70) && (_root.SpareTime > 30)) {
_root.Quiet.Result = ("We had enough time to gain " + PercentGain) + "%.";
} else if (_root.SpareTime > 70) {
_root.Quiet.Result = ("Thanks to the time we had, our work for new equipments have increase by " + PercentGain) + "%.";
}
if ((LevelStart != _root.EquipmentLevel) && (_root.EquipmentLevel != 3)) {
_root.Quiet.Result = _root.Quiet.Result + ((" Our equipments are now level " + _root.EquipmentLevel) + ".");
} else if ((LevelStart != _root.EquipmentLevel) && (_root.EquipmentLevel == 3)) {
_root.Quiet.Result = _root.Quiet.Result + ((" Our equipments are now level " + _root.EquipmentLevel) + ". It's about the best we can do. Good luck on your future investigation.");
}
}
if (_root.Choice == 3) {
var SucessOrFailure = Math.round((Math.random() * 100) + 1);
var DeadOrAlive = Math.round((Math.random() * 100) + 1);
var nbSurvivorFound = Math.round((Math.random() * _root.SurvivorMAX[_root.EquipmentLevel]) + _root.SurvivorMIN[_root.EquipmentLevel]);
if (_root.SpareTime <= 30) {
var Time = 40;
var Deaths = 40;
var nbDeath = Math.round((Math.random() * 40) + 1);
var TotalFailure = Math.round((Math.random() * 4) + 1);
} else if ((_root.SpareTime <= 45) && (_root.SpareTime > 30)) {
var Time = 70;
var Deaths = 65;
var nbDeath = Math.round((Math.random() * 30) + 1);
var TotalFailure = Math.round((Math.random() * 6) + 1);
} else if ((_root.SpareTime <= 70) && (_root.SpareTime > 45)) {
var Time = 90;
var Deaths = 80;
var nbDeath = Math.round((Math.random() * 20) + 1);
var TotalFailure = Math.round((Math.random() * 8) + 1);
} else if (_root.SpareTime > 70) {
var Time = 99;
var Deaths = 50;
var nbDeath = Math.round((Math.random() * 30) + 1);
var TotalFailure = Math.round((Math.random() * 10) + 1);
}
if (SucessOrFailure <= Time) {
_root.Quiet.Result = "The search for survivors was sucessfull! ";
if (DeadOrAlive <= Deaths) {
_root.Quiet.Result = _root.Quiet.Result + (("Durring the search, none of our soldiers got attacked. Our team found " + nbSurvivorFound) + " survivors.");
_root.Survivor = _root.Survivor + nbSurvivorFound;
} else if (DeadOrAlive > Deaths) {
_root.Quiet.Result = _root.Quiet.Result + (((("Sadly, " + nbDeath) + " of our soldiers died during the rescue of the ") + nbSurvivorFound) + " survivors they found.");
_root.Survivor = _root.Survivor - nbDeath;
_root.NbSoldiers = _root.NbSoldiers - nbDeath;
_root.Survivor = _root.Survivor + nbSurvivorFound;
}
} else if (SucessOrFailure > Time) {
_root.Quiet.Result = "The search for survivors was a failure! ";
if (TotalFailure == 1) {
_root.Quiet.Result = "The search for survivors was a total failure! The whole team of 50 soldiers got killed during the search.";
_root.Survivor = _root.Survivor - 50;
_root.NbSoldiers = _root.NbSoldiers - 50;
} else if (DeadOrAlive <= Deaths) {
_root.Quiet.Result = _root.Quiet.Result + "The team wasn't able to localize any survivors but, we havn't lost any of our soldiers.";
} else if (DeadOrAlive > Deaths) {
_root.Quiet.Result = _root.Quiet.Result + (("The team wasn't able to localize any survivors and we lost " + nbDeath) + " of our soldiers.");
_root.Survivor = _root.Survivor - nbDeath;
_root.NbSoldiers = _root.NbSoldiers - nbDeath;
}
}
}
if (_root.Choice == 4) {
if (_root.SpareTime <= 30) {
_root.Quiet.Result = "We didn't have a lot of time but we still manage to train our 50 soldiers";
} else if ((_root.SpareTime <= 70) && (_root.SpareTime > 30)) {
_root.Quiet.Result = "The 50 soldiers have been trained.";
} else if (_root.SpareTime > 70) {
_root.Quiet.Result = "We had more then enough time to train the 50 soldiers.";
}
_root.NbSoldiers = _root.NbSoldiers + 50;
_root.Quiet.Result = _root.Quiet.Result + ((" We now have " + _root.NbSoldiers) + " soldiers ready to go on rescue mission.");
}
stop();
Symbol 806 MovieClip Frame 39
_root.SemiPause = 0;
_root.TimerClip.play();
_root.AfterQuiet = 1;
if (_root.Ctime.Timer == undefined) {
_root.CWave.nbWave++;
_root.Wave.nextFrame();
}
Symbol 807 MovieClip Frame 1
stop();
Symbol 807 MovieClip Frame 2
if (_root.Money >= 400) {
_root.Money = _root.Money + Math.round(_root.Money * 0.05);
} else if ((_root.Money > 100) && (_root.Money < 400)) {
_root.Money = _root.Money + Math.round(_root.Money * 0.12);
} else {
_root.Money = _root.Money + Math.round(_root.Money * 0.15);
}
Symbol 808 MovieClip Frame 1
stop();
Symbol 808 MovieClip Frame 41
if (_root.Ctime.Timer > 0) {
_root.Ctime.Timer--;
}
gotoAndPlay (2);
Symbol 812 MovieClip Frame 1
stop();
Symbol 814 MovieClip Frame 1
stop();
Symbol 814 MovieClip Frame 17
i = 500;
while (i <= 600) {
if (_root["Enemy" + i]._currentframe != 1) {
_root["Enemy" + i].removeMovieClip();
}
i++;
}
i = 450;
while (i < 460) {
_root["SecCannon" + i].removeMovieClip();
i++;
}
i = 450;
while (i < 460) {
_root["SecCannonRight" + i].removeMovieClip();
i++;
}
i = 0;
while (i <= 200) {
_root["Mine" + i].removeMovieClip();
i++;
}
_root.Cursor.removeMovieClip();
_root.OverBar.removeMovieClip();
_root.Paralizers.removeMovieClip();
_root.Nuke.removeMovieClip();
_root.WarningMSG.removeMovieClip();
_root.CWave.removeMovieClip();
_root.Ctime.removeMovieClip();
_root.Quit.removeMovieClip();
_root.Quiet.removeMovieClip();
_root.Win.removeMovieClip();
stopAllSounds();
_root.gotoAndPlay("Back");
_root.FadeIn.removeMovieClip();
Symbol 816 MovieClip Frame 1
stop();
Symbol 816 MovieClip Frame 2
stop();
Symbol 818 MovieClip Frame 1
stop();
Symbol 820 MovieClip Frame 1
stop();
Symbol 848 MovieClip Frame 1
stop();
Instance of Symbol 144 MovieClip in Symbol 848 MovieClip Frame 2
on (release) {
getURL ("http://www.mofunzone.com/", "_blank");
}
Symbol 848 MovieClip Frame 10
_root.Win.FinalSurvivor = _root.Survivor;
if (_root.Survivor > 1500) {
_root.Win.Medal = "Diamond";
if (_root.arrayMedal[1] < 4) {
_root.arrayMedal[1] = 4;
}
} else if ((_root.Survivor <= 1500) && (_root.Survivor >= 1000)) {
_root.Win.Medal = "Gold";
if (_root.arrayMedal[1] < 3) {
_root.arrayMedal[1] = 3;
}
} else if ((_root.Survivor < 1000) && (_root.Survivor >= 600)) {
_root.Win.Medal = "Silver";
if (_root.arrayMedal[1] < 2) {
_root.arrayMedal[1] = 2;
}
} else if (_root.Survivor < 600) {
_root.Win.Medal = "Bronze";
if (_root.arrayMedal[1] < 1) {
_root.arrayMedal[1] = 1;
}
}
_root.Win.Money = _root.Money;
_root.Win.Survivor = _root.Survivor;
_root.Win.DamageCause = _root.DamageCause;
_root.Win.MoneyPoints = _root.Money * 15;
_root.Win.SurvivorPoints = _root.Survivor * 5;
_root.Win.DamagePoints = Math.round(_root.DamageCause / 10);
_root.Win.Total = (_root.Win.MoneyPoints + _root.Win.SurvivorPoints) + _root.Win.DamagePoints;
_root.arrayLockLevel[1] = 1;
_root.savefile.data.arrayLockLevel = _root.arrayLockLevel;
_root.savefile.data.arrayMedal = _root.arrayMedal;
stop();
Instance of Symbol 751 MovieClip in Symbol 848 MovieClip Frame 10
on (release) {
getURL ("http://www.mofunzone.com/online_games/substitute.shtml", "_blank");
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Symbol 877 MovieClip Frame 1
stop();
Instance of Symbol 144 MovieClip in Symbol 877 MovieClip Frame 2
on (release) {
getURL ("http://www.mofunzone.com/", "_blank");
}
Symbol 877 MovieClip Frame 10
_root.Win.FinalSurvivor = _root.Survivor;
if (_root.Survivor > 2000) {
_root.Win.Medal = "Diamond";
if (_root.arrayMedal[2] < 4) {
_root.arrayMedal[2] = 4;
}
} else if ((_root.Survivor <= 2000) && (_root.Survivor >= 1200)) {
_root.Win.Medal = "Gold";
if (_root.arrayMedal[2] < 3) {
_root.arrayMedal[2] = 3;
}
} else if ((_root.Survivor < 1200) && (_root.Survivor >= 600)) {
_root.Win.Medal = "Silver";
if (_root.arrayMedal[2] < 2) {
_root.arrayMedal[2] = 2;
}
} else if (_root.Survivor < 600) {
_root.Win.Medal = "Bronze";
if (_root.arrayMedal[2] < 1) {
_root.arrayMedal[2] = 1;
}
}
_root.Win.Money = _root.Money;
_root.Win.Survivor = _root.Survivor;
_root.Win.DamageCause = _root.DamageCause;
_root.Win.MoneyPoints = _root.Money * 15;
_root.Win.SurvivorPoints = _root.Survivor * 5;
_root.Win.DamagePoints = Math.round(_root.DamageCause / 10);
_root.Win.Total = (_root.Win.MoneyPoints + _root.Win.SurvivorPoints) + _root.Win.DamagePoints;
_root.arrayLockLevel[2] = 1;
_root.savefile.data.arrayLockLevel = _root.arrayLockLevel;
_root.savefile.data.arrayMedal = _root.arrayMedal;
stop();
Instance of Symbol 751 MovieClip in Symbol 877 MovieClip Frame 10
on (release) {
getURL ("http://www.mofunzone.com/online_games/substitute.shtml", "_blank");
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Symbol 903 MovieClip Frame 1
stop();
Instance of Symbol 144 MovieClip in Symbol 903 MovieClip Frame 2
on (release) {
getURL ("http://www.mofunzone.com/", "_blank");
}
Symbol 903 MovieClip Frame 10
_root.Win.FinalSurvivor = _root.Survivor;
if (_root.Survivor > 2800) {
_root.Win.Medal = "Diamond";
if (_root.arrayMedal[3] < 4) {
_root.arrayMedal[3] = 4;
}
} else if ((_root.Survivor <= 2800) && (_root.Survivor >= 1500)) {
_root.Win.Medal = "Gold";
if (_root.arrayMedal[3] < 3) {
_root.arrayMedal[3] = 3;
}
} else if ((_root.Survivor < 1500) && (_root.Survivor >= 800)) {
_root.Win.Medal = "Silver";
if (_root.arrayMedal[3] < 2) {
_root.arrayMedal[3] = 2;
}
} else if (_root.Survivor < 800) {
_root.Win.Medal = "Bronze";
if (_root.arrayMedal[3] < 1) {
_root.arrayMedal[3] = 1;
}
}
_root.Win.Money = _root.Money;
_root.Win.Survivor = _root.Survivor;
_root.Win.DamageCause = _root.DamageCause;
_root.Win.MoneyPoints = _root.Money * 15;
_root.Win.SurvivorPoints = _root.Survivor * 5;
_root.Win.DamagePoints = Math.round(_root.DamageCause / 10);
_root.Win.Total = (_root.Win.MoneyPoints + _root.Win.SurvivorPoints) + _root.Win.DamagePoints;
_root.savefile.data.arrayMedal = _root.arrayMedal;
stop();
Instance of Symbol 751 MovieClip in Symbol 903 MovieClip Frame 10
on (release) {
getURL ("http://www.mofunzone.com/online_games/substitute.shtml", "_blank");
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}