Frame 1
function MainMenu_RC(obj, item) {
if (item.caption == RightClick_Option2) {
getURL ("http://www.godlygamer.com/", "_blank");
}
if (item.caption == RightClick_Option4) {
getURL ("http://www.xaurora.com/", "_blank");
}
}
stop();
fscommand ("AllowScale", false);
RightClick_Option1 = "Created By: GodlyGamer";
RightClick_Option2 = "http://www.godlygamer.com/";
RightClick_Option3 = "Godly Gamer Hosted By: Xaurora";
RightClick_Option4 = "http://www.xaurora.com/";
var MainMenu_cm = new ContextMenu();
MainMenu_cm.hideBuiltInItems();
MainMenu_cm.customItems.push(new ContextMenuItem(RightClick_Option1, MainMenu_RC));
MainMenu_cm.customItems.push(new ContextMenuItem(RightClick_Option2, MainMenu_RC));
MainMenu_cm.customItems.push(new ContextMenuItem(RightClick_Option3, MainMenu_RC, true));
MainMenu_cm.customItems.push(new ContextMenuItem(RightClick_Option4, MainMenu_RC));
_root.menu = MainMenu_cm;
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
cinematics_mc.gotoAndStop("intro");
cinematics_mc.swapDepths(2000);
stop();
_root.SoundsFunction = true;
_root.TextFocus = false;
Key.removeListener(QSMListener);
var QSMListener = new Object();
QSMListener.onKeyDown = function () {
KeyPressed2_str = chr(Key.getAscii());
KeyPressed2_str = KeyPressed2_str.toUpperCase();
if (_root.TextFocus == false) {
if (KeyPressed2_str == "Q") {
Toggled = false;
if ((_quality == "HIGH") && (Toggled == false)) {
_quality = "LOW";
Toggled = true;
}
if ((_quality == "LOW") && (Toggled == false)) {
_quality = "MEDIUM";
Toggled = true;
}
if ((_quality == "MEDIUM") && (Toggled == false)) {
_quality = "HIGH";
Toggled = true;
}
}
if (KeyPressed2_str == "S") {
Toggled = false;
if ((_root.SoundsFunction == false) && (Toggled == false)) {
_root.SoundsFunction = true;
Toggled = true;
}
if ((_root.SoundsFunction == true) && (Toggled == false)) {
_root.SoundsFunction = false;
Toggled = true;
}
}
if (KeyPressed2_str == "M") {
Toggled = false;
if (((_root.MusicFunction == false) && (Toggled == false)) && (_root.CinematicsPlaying == false)) {
_root.MusicFunction = true;
Toggled = true;
}
if (((_root.MusicFunction == true) && (Toggled == false)) && (_root.CinematicsPlaying == false)) {
_root.MusicFunction = false;
Toggled = true;
}
}
}
};
Key.addListener(QSMListener);
function GameTimer() {
_root.TotalGameTime_Seconds++;
if (_root.TotalGameTime_Seconds >= 60) {
_root.TotalGameTime_Seconds = 0;
_root.TotalGameTime_Minutes++;
}
if (_root.TotalGameTime_Minutes >= 60) {
_root.TotalGameTime_Minutes = 0;
_root.TotalGameTime_Hours++;
}
if (_root.PauseGame == false) {
_root.CampaignGameTime_Seconds++;
if (_root.CampaignGameTime_Seconds >= 60) {
_root.CampaignGameTime_Seconds = 0;
_root.CampaignGameTime_Minutes++;
}
if (_root.CampaignGameTime_Minutes >= 60) {
_root.CampaignGameTime_Minutes = 0;
_root.CampaignGameTime_Hours++;
}
}
if ((_root.LevelGameTime_Count == true) && (_root.PauseGame == false)) {
_root.LevelGameTime_Seconds++;
if (_root.LevelGameTime_Seconds >= 60) {
_root.LevelGameTime_Seconds = 0;
_root.LevelGameTime_Minutes++;
}
if (_root.LevelGameTime_Minutes >= 60) {
_root.LevelGameTime_Minutes = 0;
_root.LevelGameTime_Hours++;
}
}
}
if (isNaN(_root.TotalGameTime_Seconds)) {
_root.TotalGameTime_Seconds = 0;
_root.TotalGameTime_Minutes = 0;
_root.TotalGameTime_Hours = 0;
_root.CampaignGameTime_Seconds = 0;
_root.CampaignGameTime_Minutes = 0;
_root.CampaignGameTime_Hours = 0;
_root.LevelGameTime_Seconds = 0;
_root.LevelGameTime_Minutes = 0;
_root.LevelGameTime_Hours = 0;
_root.LevelGameTime_Count = false;
setInterval(GameTimer, 1000);
}
Frame 5
function StartGame() {
_root.TextFocus = false;
_root.CheatsEnabled = false;
_root.User_Invulnerable = false;
_root.User_PlatformHealth = 1000;
_root.User_PlatformHealthTotal = 1000;
_root.User_Money = 0;
_root.User_Score = 0;
_root.User_StartScore = _root.User_Score;
_root.User_Wave = 1;
_root.User_WaveReport = false;
_root.User_PowerInfluenceCost = 50;
_root.Bounty = 100;
_root.User_LaserAim = false;
_root.User_LaserAimEquipped = false;
_root.User_EnemyHealthbars = false;
_root.User_EnemyHealthbarsEquipped = false;
_root.User_SonicDisplacement = false;
_root.User_DisruptionField = false;
_root.User_PowerHealth = 500;
_root.User_PrecisionHealth = 500;
_root.User_VelocityHealth = 500;
_root.User_CapacityHealth = 500;
_root.User_PowerHealthTotal = 500;
_root.User_PrecisionHealthTotal = 500;
_root.User_VelocityHealthTotal = 500;
_root.User_CapacityHealthTotal = 500;
_root.User_PowerHealth_Dead = false;
_root.User_PrecisionHealth_Dead = false;
_root.User_VelocityHealth_Dead = false;
_root.User_CapacityHealth_Dead = false;
_root.Projectile_Depth = 990;
_root.Projectile_DepthMin = 990;
_root.Projectile_DepthMax = 999;
_root.ProjectileHit_Depth = 980;
_root.ProjectileHit_DepthMin = 980;
_root.ProjectileHit_DepthMax = 989;
_root.EnemyProjectile_Depth = 800;
_root.EnemyProjectile_DepthMin = 800;
_root.EnemyProjectile_DepthMax = 899;
_root.EnemyProjectileHit_Depth = 1010;
_root.EnemyProjectileHit_DepthMin = 1010;
_root.EnemyProjectileHit_DepthMax = 1099;
_root.Enemy_Depth = 900;
_root.Enemy_DepthMin = 900;
_root.Enemy_DepthMax = 979;
if (_root.GameStatus == "Campaign") {
_root.Projectile = "Bullet";
_root.Projectile_Speed = 10;
_root.Projectile_SpeedUpgd = 0.25;
_root.Projectile_Damage = 10;
_root.Projectile_LifeTransfer = 0;
_root.Projectile_Inaccuracy = 0.5;
_root.Projectile_Ammo = 0;
_root.Projectile_AmmoReloading = true;
_root.Projectile_Capacity = 25;
_root.Projectile_CapacityUpgd = 0.5;
_root.Projectile_CurrentCapacity = 0;
_root.Projectile_AmmoReloader = 0;
_root.Projectile_AmmoReload = 40;
_root.Projectile_Reloader = 0;
_root.Projectile_Reload = 5;
_root.Projectile_Shot = 0;
_root.Projectile_Hit = 0;
_root.Projectile_Real_Speed = 0;
_root.Projectile_Real_Damage = 0;
_root.Projectile_Upgraded_Damage = 1;
_root.Projectile_Real_Inaccuracy = _root.Projectile_Inaccuracy - ((_root.Projectile_Inaccuracy / 2) * PrecisionPercent);
_root.Projectile_Real_Capacity = 0;
_root.Enemy1_Speed = 0.75;
_root.Enemy1_Health = Math.round(30 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 10;
_root.Enemy1_Points = 15;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(1 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 10;
_root.Enemies_Remain = 10;
_root.Enemies_SpawnTimer = 40;
_root.Enemies_Spawner = 40;
_root.Enemies_Selection = 1;
_root.SpawnEnemy1 = "Enemy1";
cinematics_mc.gotoAndStop("start");
}
if (_root.GameStatus == "Accuracy") {
_root.User_LaserAim = true;
_root.User_LaserAimEquipped = true;
_root.User_EnemyHealthbars = true;
_root.User_EnemyHealthbarsEquipped = true;
_root.Projectile = "Bullet";
_root.Projectile_Speed = 10;
_root.Projectile_SpeedUpgd = 0.25;
_root.Projectile_Damage = 10;
_root.Projectile_LifeTransfer = 0;
_root.Projectile_Inaccuracy = 0.25;
_root.Projectile_Ammo = 0;
_root.Projectile_AmmoReloading = true;
_root.Projectile_Capacity = 50;
_root.Projectile_CapacityUpgd = 1;
_root.Projectile_CurrentCapacity = 0;
_root.Projectile_AmmoReloader = 0;
_root.Projectile_AmmoReload = 40;
_root.Projectile_Reloader = 0;
_root.Projectile_Reload = 5;
_root.Projectile_Shot = 0;
_root.Projectile_Hit = 0;
_root.Projectile_Real_Speed = 0;
_root.Projectile_Real_Damage = 0;
_root.Projectile_Upgraded_Damage = 1;
_root.Projectile_Real_Inaccuracy = _root.Projectile_Inaccuracy - ((_root.Projectile_Inaccuracy / 2) * PrecisionPercent);
_root.Projectile_Real_Capacity = 0;
_root.Enemy1_Speed = 0.75;
_root.Enemy1_Health = 30;
_root.Enemy1_Reload = 50;
_root.Enemy1_Reloader = 50;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 0;
_root.Enemy1_Points = 0;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = 5;
_root.Enemy2_Speed = 0.775;
_root.Enemy2_Health = 40;
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 0;
_root.Enemy2_Points = 0;
_root.Enemy2_Projectile_Speed = 8;
_root.Enemy2_Projectile_Damage = 8;
_root.Enemy3_Speed = 0.8;
_root.Enemy3_Health = 50;
_root.Enemy3_Reload = 30;
_root.Enemy3_Reloader = 30;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 0;
_root.Enemy3_Points = 0;
_root.Enemy3_Projectile_Speed = 8.5;
_root.Enemy3_Projectile_Damage = 10;
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 50;
_root.Enemies_Remain = 50;
_root.Enemies_SpawnTimer = 40;
_root.Enemies_Spawner = 40;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_root.CampaignGameTime_Seconds = 0;
_root.CampaignGameTime_Minutes = 0;
_root.CampaignGameTime_Hours = 0;
_root.LevelGameTime_Seconds = 0;
_root.LevelGameTime_Minutes = 0;
_root.LevelGameTime_Hours = 0;
_root.LevelGameTime_Count = true;
_root.ClearAllObjects = false;
_root.EndCondition = "None";
_root.gotoAndStop("Game");
}
if (_root.GameStatus == "Fortitude") {
_root.User_PlatformHealth = 1;
_root.User_PlatformHealthTotal = 1;
_root.User_PowerHealth = 0;
_root.User_PrecisionHealth = 0;
_root.User_VelocityHealth = 0;
_root.User_CapacityHealth = 0;
_root.User_PowerHealthTotal = 1;
_root.User_PrecisionHealthTotal = 1;
_root.User_VelocityHealthTotal = 1;
_root.User_CapacityHealthTotal = 1;
_root.User_PowerHealth_Dead = false;
_root.User_PrecisionHealth_Dead = false;
_root.User_VelocityHealth_Dead = false;
_root.User_CapacityHealth_Dead = false;
_root.User_LaserAim = true;
_root.User_LaserAimEquipped = true;
_root.User_EnemyHealthbars = true;
_root.User_EnemyHealthbarsEquipped = true;
_root.Projectile = "Bullet";
_root.Projectile_Speed = 12.5;
_root.Projectile_SpeedUpgd = 0;
_root.Projectile_Damage = 10;
_root.Projectile_LifeTransfer = 0;
_root.Projectile_Inaccuracy = 0.1;
_root.Projectile_Ammo = 0;
_root.Projectile_AmmoReloading = true;
_root.Projectile_Capacity = 50;
_root.Projectile_CapacityUpgd = 0;
_root.Projectile_CurrentCapacity = 0;
_root.Projectile_AmmoReloader = 0;
_root.Projectile_AmmoReload = 20;
_root.Projectile_Reloader = 0;
_root.Projectile_Reload = 5;
_root.Projectile_Shot = 0;
_root.Projectile_Hit = 0;
_root.Projectile_Real_Speed = 0;
_root.Projectile_Real_Damage = 0;
_root.Projectile_Upgraded_Damage = 1;
_root.Projectile_Real_Inaccuracy = _root.Projectile_Inaccuracy - ((_root.Projectile_Inaccuracy / 2) * PrecisionPercent);
_root.Projectile_Real_Capacity = 0;
_root.Enemy4_Speed = 0.9;
_root.Enemy4_Health = 30;
_root.Enemy4_Reload = 60;
_root.Enemy4_Reloader = 60;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 0;
_root.Enemy4_Points = 0;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = 1;
_root.Enemy5_Speed = 0.7;
_root.Enemy5_Health = 60;
_root.Enemy5_Reload = 60;
_root.Enemy5_Reloader = 60;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 0;
_root.Enemy5_Points = 0;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = 1;
_root.Enemies_OnScreenLimit = 4;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 100;
_root.Enemies_Remain = 100;
_root.Enemies_SpawnTimer = 10;
_root.Enemies_Spawner = 10;
_root.Enemies_Selection = 2;
_root.SpawnEnemy1 = "Enemy4";
_root.SpawnEnemy2 = "Enemy5";
_root.CampaignGameTime_Seconds = 0;
_root.CampaignGameTime_Minutes = 0;
_root.CampaignGameTime_Hours = 0;
_root.LevelGameTime_Seconds = 0;
_root.LevelGameTime_Minutes = 0;
_root.LevelGameTime_Hours = 0;
_root.LevelGameTime_Count = true;
_root.ClearAllObjects = false;
_root.EndCondition = "None";
_root.gotoAndStop("Game");
}
if (_root.GameStatus == "Endurance") {
_root.User_LaserAim = true;
_root.User_LaserAimEquipped = true;
_root.User_EnemyHealthbars = true;
_root.User_EnemyHealthbarsEquipped = true;
_root.Projectile = "Bullet";
_root.Projectile_Speed = 10;
_root.Projectile_SpeedUpgd = 0.33;
_root.Projectile_Damage = 10;
_root.Projectile_LifeTransfer = 50;
_root.Projectile_Inaccuracy = 0.25;
_root.Projectile_Ammo = 0;
_root.Projectile_AmmoReloading = true;
_root.Projectile_Capacity = 100;
_root.Projectile_CapacityUpgd = 1;
_root.Projectile_CurrentCapacity = 0;
_root.Projectile_AmmoReloader = 0;
_root.Projectile_AmmoReload = 40;
_root.Projectile_Reloader = 0;
_root.Projectile_Reload = 5;
_root.Projectile_Shot = 0;
_root.Projectile_Hit = 0;
_root.Projectile_Real_Speed = 0;
_root.Projectile_Real_Damage = 0;
_root.Projectile_Upgraded_Damage = 1;
_root.Projectile_Real_Inaccuracy = _root.Projectile_Inaccuracy - ((_root.Projectile_Inaccuracy / 2) * PrecisionPercent);
_root.Projectile_Real_Capacity = 0;
_root.Enemy6_Speed = 0.85;
_root.Enemy6_Health = 40;
_root.Enemy6_Reload = 50;
_root.Enemy6_Reloader = 50;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 0;
_root.Enemy6_Points = 0;
_root.Enemy6_Projectile_Speed = 10;
_root.Enemy6_Projectile_Damage = 8;
_root.Enemy7_Speed = 0.8;
_root.Enemy7_Health = 80;
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 0;
_root.Enemy7_Points = 0;
_root.Enemy7_Projectile_Speed = 10;
_root.Enemy7_Projectile_Damage = 10;
_root.Enemy8_Speed = 0.75;
_root.Enemy8_Health = 120;
_root.Enemy8_Reload = 30;
_root.Enemy8_Reloader = 30;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 0;
_root.Enemy8_Points = 0;
_root.Enemy8_Projectile_Speed = 10;
_root.Enemy8_Projectile_Damage = 12;
_root.Enemies_OnScreenLimit = 7;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 500;
_root.Enemies_Remain = 500;
_root.Enemies_SpawnTimer = 28;
_root.Enemies_Spawner = 28;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy6";
_root.SpawnEnemy2 = "Enemy7";
_root.SpawnEnemy3 = "Enemy8";
_root.CampaignGameTime_Seconds = 0;
_root.CampaignGameTime_Minutes = 0;
_root.CampaignGameTime_Hours = 0;
_root.LevelGameTime_Seconds = 0;
_root.LevelGameTime_Minutes = 0;
_root.LevelGameTime_Hours = 0;
_root.LevelGameTime_Count = true;
_root.ClearAllObjects = false;
_root.EndCondition = "None";
_root.gotoAndStop("Game");
}
}
stop();
godlygamer_btn.onRelease = function () {
getURL ("http://www.godlygamer.com/", "_blank");
};
maxgames_btn.onRelease = function () {
getURL ("http://www.maxgames.com/", "_blank");
};
instructions_btn.onRelease = function () {
clearInterval(_root.Set_MIU);
Mouse.removeListener(_root.mouseListener);
content_mc.gotoAndStop("instructionsO");
};
campaign_btn.onRelease = function () {
clearInterval(_root.Set_MIU);
Mouse.removeListener(_root.mouseListener);
content_mc.gotoAndStop("campaign");
};
challenges_btn.onRelease = function () {
clearInterval(_root.Set_MIU);
Mouse.removeListener(_root.mouseListener);
content_mc.gotoAndStop("challenges");
};
cinematics_btn.onRelease = function () {
clearInterval(_root.Set_MIU);
Mouse.removeListener(_root.mouseListener);
content_mc.gotoAndStop("cinematics");
};
highscores_btn.onRelease = function () {
clearInterval(_root.Set_MIU);
Mouse.removeListener(_root.mouseListener);
content_mc.gotoAndStop("highscores");
};
cheats_btn.onRelease = function () {
clearInterval(_root.Set_MIU);
Mouse.removeListener(_root.mouseListener);
content_mc.gotoAndStop("cheats");
};
credits_btn.onRelease = function () {
cinematics_mc.gotoAndStop("credits");
};
more_btn.onRelease = function () {
getURL ("http://www.maxgames.com/", "_blank");
};
Frame 6
stop();
_root.PauseGame = false;
_root.SpecialPause = false;
var keyListener = new Object();
keyListener.onKeyDown = function () {
Event = false;
KeyPressed_str = chr(Key.getAscii());
KeyPressed_str = KeyPressed_str.toUpperCase();
if (((KeyPressed_str == "P") && (_root.SpecialPause == false)) && (_root.TextFocus == false)) {
if ((_root.PauseGame == false) && (Event == false)) {
_root.PauseGame = true;
_root.pauseGame_mc.gotoAndStop("pause");
Event = true;
}
if ((_root.PauseGame == true) && (Event == false)) {
_root.PauseGame = false;
_root.pauseGame_mc.gotoAndStop("unpause");
Event = true;
}
}
if (((KeyPressed_str == "R") && (_root.PauseGame == false)) && (_root.Projectile_AmmoReloading == false)) {
if ((_root.Projectile_Ammo < _root.Projectile_CurrentCapacity) && (_root.EndCondition == "None")) {
_root.Projectile_Ammo = 0;
}
}
};
Key.addListener(keyListener);
function User_Shoot() {
if (_root.PauseGame == false) {
if (Projectile_Reloader > 0) {
Projectile_Reloader--;
}
if (((_root.Projectile_Ammo == 0) && (_root.Projectile_AmmoReloader < _root.Projectile_AmmoReload)) && (_root.EndCondition == "None")) {
_root.Projectile_AmmoReloader++;
_root.Projectile_AmmoReloading = true;
}
if (_root.Projectile_AmmoReloader == _root.Projectile_AmmoReload) {
_root.Projectile_AmmoReloader = 0;
_root.Projectile_Ammo = _root.Projectile_Real_Capacity;
_root.Projectile_CurrentCapacity = _root.Projectile_Real_Capacity;
_root.Projectile_AmmoReloading = false;
}
if ((_root.Projectile_Ammo > 0) && (_root.EndCondition != "None")) {
_root.Projectile_Ammo--;
}
FireKey = false;
if (Key.isDown(1)) {
FireKey = true;
}
if (Key.isDown(32)) {
FireKey = true;
}
if ((((((((FireKey == true) && (Projectile_Reloader == 0)) && (_root.Projectile_Ammo > 0)) && (_root.Enemies_Remain > 0)) && (_root._xmouse > 0)) && (_root._xmouse < 550)) && (_root._ymouse > 0)) && (_root._ymouse < 300)) {
if (_root.SoundsFunction == true) {
var _local3 = new Sound();
_local3.attachSound("Fire.wav");
_local3.start();
}
_root.Projectile_Shot++;
_root.Projectile_Ammo--;
Projectile_Reloader = Projectile_Reload;
_root.userBarrel_mc.gotoAndPlay("fire");
newBullet = "Projectile" + (Projectile_Depth - 990);
_root.attachMovie(Projectile, newBullet, Projectile_Depth);
_root[newBullet]._x = _root.userBarrel_mc._x;
_root[newBullet]._y = _root.userBarrel_mc._y;
Aim = (Math.random() * (_root.cursor_mc.sight_mc._height * 2)) - _root.cursor_mc.sight_mc._height;
myPoint = {x:_root.cursor_mc.sight_mc._x, y:Aim * 0.5};
_root.cursor_mc.localToGlobal(myPoint);
adjacent = myPoint.x - _root.userBarrel_mc._x;
opposite = myPoint.y - _root.userBarrel_mc._y;
hypotenuse = Math.sqrt((adjacent * adjacent) + (opposite * opposite));
Rotation = Math.atan2(opposite, adjacent) * 57.2957795130823;
_root[newBullet]._rotation = Rotation;
_root[newBullet].myName = Projectile;
_root[newBullet].speed = _root.Projectile_Real_Speed;
_root[newBullet].onEnterFrame = function () {
if (_root.PauseGame == false) {
this.myPoint = {x:this.speed, y:0};
this.localToGlobal(this.myPoint);
this._x = this.myPoint.x;
this._y = this.myPoint.y;
if (_root.ClearAllObjects == true) {
this.removeMovieClip();
}
if (this._x < -10) {
this.removeMovieClip();
}
if (this._x > 560) {
this.removeMovieClip();
}
if (this._y < -10) {
this.removeMovieClip();
}
if (this._y > 410) {
this.removeMovieClip();
}
}
};
Projectile_Depth++;
if (Projectile_Depth > Projectile_DepthMax) {
Projectile_Depth = Projectile_DepthMin;
}
}
}
}
function User_Aim() {
if (_root.PauseGame == false) {
adjacent = _root._xmouse - _root.userBarrel_mc._x;
opposite = _root._ymouse - _root.userBarrel_mc._y;
hypotenuse = Math.sqrt((adjacent * adjacent) + (opposite * opposite));
rotation = Math.atan2(opposite, adjacent) * 57.2957795130823;
_root.userBarrel_mc._rotation = rotation;
if ((rotation < 180) && (rotation >= 90)) {
_root.userBarrel_mc._rotation = 180;
}
if ((rotation < 90) && (rotation > 0)) {
_root.userBarrel_mc._rotation = 0;
}
_root.cursor_mc._x = _root.userBarrel_mc._x;
_root.cursor_mc._y = _root.userBarrel_mc._y;
_root.cursor_mc._rotation = rotation + 180;
_root.cursor_mc.laser_mc._width = hypotenuse;
_root.cursor_mc.sight_mc._x = hypotenuse * -1;
_root.cursor_mc.sight_mc._height = _root.Projectile_Real_Inaccuracy;
_root.cursor_mc.accuracy1_mc._x = hypotenuse * -1;
_root.cursor_mc.accuracy2_mc._x = hypotenuse * -1;
_root.cursor_mc.accuracy1_mc.length_mc._width = hypotenuse;
_root.cursor_mc.accuracy2_mc.length_mc._width = hypotenuse;
_root.cursor_mc.accuracy1_mc._y = _root.Projectile_Real_Inaccuracy / 2;
_root.cursor_mc.accuracy2_mc._y = (_root.Projectile_Real_Inaccuracy / 2) * -1;
adjacent = _root.cursor_mc.accuracy1_mc._x;
opposite = _root.cursor_mc.accuracy1_mc._y;
rotation = Math.atan2(opposite, adjacent) * 57.2957795130823;
_root.cursor_mc.accuracy1_mc._rotation = rotation + 180;
adjacent = _root.cursor_mc.accuracy2_mc._x;
opposite = _root.cursor_mc.accuracy2_mc._y;
rotation = Math.atan2(opposite, adjacent) * 57.2957795130823;
_root.cursor_mc.accuracy2_mc._rotation = rotation + 180;
}
}
function SpawnProjectileHit(Name, X, Y, Rotation) {
newHit = "ProjectileHit" + ProjectileHit_Depth;
_root.attachMovie(Name + "_Hit", newHit, ProjectileHit_Depth);
_root[newHit]._x = X;
_root[newHit]._y = Y;
_root[newHit]._rotation = Rotation;
ProjectileHit_Depth++;
if (ProjectileHit_Depth > ProjectileHit_DepthMax) {
ProjectileHit_Depth = ProjectileHit_DepthMin;
}
}
_root.set_Shoot = setInterval(User_Shoot, 25);
_root.set_Aim = setInterval(User_Aim, 25);
function Spawn_Enemies() {
if (_root.PauseGame == false) {
if (Enemies_Spawner > 0) {
Enemies_Spawner--;
}
if (((Enemies_Spawner == 0) && (Enemies_Counter > 0)) && (_root.Enemies_OnScreenCurrent < _root.Enemies_OnScreenLimit)) {
RandomEnemy = random(_root.Enemies_Selection) + 1;
SelectedEnemy = _root["SpawnEnemy" + RandomEnemy];
Spawn_Enemy(SelectedEnemy);
_root.Enemies_OnScreenCurrent++;
Enemies_Spawner = Enemies_SpawnTimer;
Enemies_Counter--;
}
}
}
function Spawn_Enemy(EnemyName) {
newEnemy = EnemyName + Enemy_Depth;
_root.attachMovie(EnemyName, newEnemy, Enemy_Depth);
_root[newEnemy]._x = (Math.random() * 450) + 50;
_root[newEnemy]._y = -25;
_root[newEnemy].myName = EnemyName;
_root[newEnemy].myMoney = _root[EnemyName + "_Money"];
_root[newEnemy].myPoints = _root[EnemyName + "_Points"];
_root[newEnemy].dead = false;
_root[newEnemy].health = _root[EnemyName + "_Health"];
_root[newEnemy].healthMax = _root[EnemyName + "_Health"];
_root[newEnemy].speed = _root[EnemyName + "_Speed"];
_root[newEnemy].reload = _root[EnemyName + "_Reload"];
_root[newEnemy].reloader = _root[EnemyName + "_Reloader"];
_root[newEnemy].shootDistance = _root[EnemyName + "_ShootDistance"];
_root[newEnemy].GoTo_Distance = 200 - (Math.random() * _root[EnemyName + "_Distance"]);
_root[newEnemy].onEnterFrame = function () {
if (_root.PauseGame == false) {
ad = this._x - _root.power_mc._x;
op = this._y - _root.power_mc._y;
this.Distance_Power = Math.sqrt((ad * ad) + (op * op));
ad = this._x - _root.precision_mc._x;
op = this._y - _root.precision_mc._y;
this.Distance_Precision = Math.sqrt((ad * ad) + (op * op));
ad = this._x - _root.userPlatform_mc._x;
op = this._y - _root.userPlatform_mc._y;
this.Distance_Platform = Math.sqrt((ad * ad) + (op * op));
ad = this._x - _root.velocity_mc._x;
op = this._y - _root.velocity_mc._y;
this.Distance_Velocity = Math.sqrt((ad * ad) + (op * op));
ad = this._x - _root.capacity_mc._x;
op = this._y - _root.capacity_mc._y;
this.Distance_Capacity = Math.sqrt((ad * ad) + (op * op));
this.Closest = 1000;
this.myTarget = "userPlatform_mc";
if ((this.Distance_Power < this.Closest) && (_root.User_PowerHealth > 0)) {
this.Closest = this.Distance_Power;
this.myTarget = "power_mc";
}
if ((this.Distance_Precision < this.Closest) && (_root.User_PrecisionHealth > 0)) {
this.Closest = this.Distance_Precision;
this.myTarget = "precision_mc";
}
if ((this.Distance_Platform < this.Closest) && (_root.User_PlatformHealth > 0)) {
this.Closest = this.Distance_Platform;
this.myTarget = "userPlatform_mc";
}
if ((this.Distance_Velocity < this.Closest) && (_root.User_VelocityHealth > 0)) {
this.Closest = this.Distance_Velocity;
this.myTarget = "velocity_mc";
}
if ((this.Distance_Capacity < this.Closest) && (_root.User_CapacityHealth > 0)) {
this.Closest = this.Distance_Capacity;
this.myTarget = "capacity_mc";
}
myPoint = {x:this.barrel_mc._x, y:this.barrel_mc._y};
this.localToGlobal(myPoint);
ad = myPoint.x - _root[this.myTarget]._x;
op = myPoint.y - _root[this.myTarget]._y;
this.barrel_mc._rotation = (Math.atan2(op, ad) * 57.2957795130823) + 180;
i = 0;
while (i < 10) {
if (this.hitTest_mc.hitTest(_root["Projectile" + i]._x, _root["Projectile" + i]._y, true) && (this.health > 0)) {
this.health = this.health - _root.Projectile_Real_Damage;
_root.Projectile_Hit++;
randomize = random(100);
if (_root.Projectile_LifeTransfer > randomize) {
this.health = this.health - 5;
if (_root.User_PlatformHealth < _root.User_PlatformHealthTotal) {
_root.User_PlatformHealth = _root.User_PlatformHealth + 1;
}
if ((_root.User_PowerHealth < _root.User_PowerHealthTotal) && (_root.User_PowerHealth_Dead == false)) {
_root.User_PowerHealth = _root.User_PowerHealth + 1;
}
if ((_root.User_PrecisionHealth < _root.User_PrecisionHealthTotal) && (_root.User_PrecisionHealth_Dead == false)) {
_root.User_PrecisionHealth = _root.User_PrecisionHealth + 1;
}
if ((_root.User_VelocityHealth < _root.User_VelocityHealthTotal) && (_root.User_VelocityHealth_Dead == false)) {
_root.User_VelocityHealth = _root.User_VelocityHealth + 1;
}
if ((_root.User_CapacityHealth < _root.User_CapacityHealthTotal) && (_root.User_CapacityHealth_Dead == false)) {
_root.User_CapacityHealth = _root.User_CapacityHealth + 1;
}
}
SpawnProjectileHit(_root["Projectile" + i].myName, _root["Projectile" + i]._x, _root["Projectile" + i]._y, _root["Projectile" + i]._rotation);
_root["Projectile" + i].removeMovieClip();
}
i++;
}
if ((this.health <= 0) && (this.dead == false)) {
this.gotoAndPlay("die");
this.dead = true;
if (_root.SoundsFunction == true) {
var _local3 = new Sound();
_local3.attachSound("Explosion.wav");
_local3.start();
}
}
if ((this._y > this.shootDistance) && (this.dead == false)) {
if (this.reloader > 0) {
this.reloader--;
}
if (this.reloader == 0) {
if (_root.User_DisruptionField == true) {
this.df_randomize = random(10);
} else {
this.df_randomize = 1;
}
if (_root.User_SonicDisplacement == true) {
this.randomize = random(4);
if (this.randomize == 0) {
this.reloader = this.reload * 2;
} else {
this.reloader = this.reload;
}
} else {
this.reloader = this.reload;
}
if (this.df_randomize != 0) {
spawnName = this.myName + "_Projectile";
newProjectile = spawnName + EnemyProjectile_Depth;
_root.attachMovie(spawnName, newProjectile, EnemyProjectile_Depth);
_root[newProjectile]._x = myPoint.x;
_root[newProjectile]._y = myPoint.y;
_root[newProjectile]._rotation = this.barrel_mc._rotation;
_root[newProjectile].myName = spawnName;
_root[newProjectile].speed = _root[spawnName + "_Speed"];
_root[newProjectile].damage = _root[spawnName + "_Damage"];
_root[newProjectile].onEnterFrame = function () {
if (_root.PauseGame == false) {
myPoint = {x:this.speed, y:0};
this.localToGlobal(myPoint);
this._x = myPoint.x;
this._y = myPoint.y;
if (_root.power_mc.hitTest(this._x, this._y, true)) {
if (_root.User_Invulnerable == false) {
_root.User_PowerHealth = _root.User_PowerHealth - this.damage;
}
SpawnEnemyProjectileHit(this.myName, this._x, this._y, this._rotation);
this.removeMovieClip();
}
if (_root.precision_mc.hitTest(this._x, this._y, true)) {
if (_root.User_Invulnerable == false) {
_root.User_PrecisionHealth = _root.User_PrecisionHealth - this.damage;
}
SpawnEnemyProjectileHit(this.myName, this._x, this._y, this._rotation);
this.removeMovieClip();
}
if (_root.userPlatform_mc.hitTest(this._x, this._y, true)) {
if (_root.User_Invulnerable == false) {
_root.User_PlatformHealth = _root.User_PlatformHealth - this.damage;
}
SpawnEnemyProjectileHit(this.myName, this._x, this._y, this._rotation);
this.removeMovieClip();
}
if (_root.velocity_mc.hitTest(this._x, this._y, true)) {
if (_root.User_Invulnerable == false) {
_root.User_VelocityHealth = _root.User_VelocityHealth - this.damage;
}
SpawnEnemyProjectileHit(this.myName, this._x, this._y, this._rotation);
this.removeMovieClip();
}
if (_root.capacity_mc.hitTest(this._x, this._y, true)) {
if (_root.User_Invulnerable == false) {
_root.User_CapacityHealth = _root.User_CapacityHealth - this.damage;
}
SpawnEnemyProjectileHit(this.myName, this._x, this._y, this._rotation);
this.removeMovieClip();
}
if (_root.ClearAllObjects == true) {
this.removeMovieClip();
}
if (this._x < -10) {
this.removeMovieClip();
}
if (this._x > 560) {
this.removeMovieClip();
}
if (this._y < -10) {
this.removeMovieClip();
}
if (this._y > 410) {
this.removeMovieClip();
}
}
};
EnemyProjectile_Depth++;
if (EnemyProjectile_Depth > EnemyProjectile_DepthMax) {
EnemyProjectile_Depth = EnemyProjectile_DepthMin;
}
}
}
}
if (this._y < this.GoTo_Distance) {
this._y = this._y + this.speed;
}
if (_root.ClearAllObjects == true) {
this.removeMovieClip();
}
}
};
Enemy_Depth++;
if (Enemy_Depth > Enemy_DepthMax) {
Enemy_Depth = Enemy_DepthMin;
}
}
function SpawnEnemyProjectileHit(Name, X, Y, Rotation) {
newHit = "EnemyHit" + EnemyProjectileHit_Depth;
_root.attachMovie(Name + "_Hit", newHit, EnemyProjectileHit_Depth);
_root[newHit]._x = X;
_root[newHit]._y = Y;
_root[newHit]._rotation = Rotation;
EnemyProjectileHit_Depth++;
if (EnemyProjectileHit_Depth > EnemyProjectileHit_DepthMax) {
EnemyProjectileHit_Depth = EnemyProjectileHit_DepthMin;
}
}
_root.set_Spawn = setInterval(Spawn_Enemies, 25);
function ClearGameFunctionality() {
_root.ClearAllObjects = true;
removeMovieClip(_root.cursor_mc);
removeMovieClip(_root.userBarrel_mc);
removeMovieClip(_root.userPlatform_mc);
removeMovieClip(_root.levelEnd_mc);
removeMovieClip(_root.ToolBar_mc);
removeMovieClip(_root.pauseGame_mc);
removeMovieClip(_root.tips_mc);
Key.removeListener(keyListener);
clearInterval(_root.set_Aim);
clearInterval(_root.set_Shoot);
clearInterval(_root.set_Spawn);
clearInterval(_root.set_GameFunction);
clearInterval(_root.set_NWC);
}
function GameFunctioning() {
if (((((((_root.EndCondition == "None") && (_root.User_PlatformHealth != 0)) && (_root.PauseGame == false)) && (_root._xmouse > 0)) && (_root._xmouse < 550)) && (_root._ymouse > 0)) && (_root._ymouse < 300)) {
Mouse.hide();
_root.cursor_mc._visible = true;
if (_root.User_LaserAimEquipped == false) {
_root.cursor_mc.sight_mc._visible = false;
_root.cursor_mc.accuracy1_mc._visible = false;
_root.cursor_mc.accuracy2_mc._visible = false;
} else {
_root.cursor_mc.sight_mc._visible = true;
_root.cursor_mc.accuracy1_mc._visible = true;
_root.cursor_mc.accuracy2_mc._visible = true;
}
} else {
Mouse.show();
_root.cursor_mc._visible = false;
}
if (_root.User_PlatformHealth < 0) {
_root.User_PlatformHealth = 0;
}
if (_root.User_PowerHealth < 0) {
_root.User_PowerHealth = 0;
}
if (_root.User_PrecisionHealth < 0) {
_root.User_PrecisionHealth = 0;
}
if (_root.User_VelocityHealth < 0) {
_root.User_VelocityHealth = 0;
}
if (_root.User_CapacityHealth < 0) {
_root.User_CapacityHealth = 0;
}
if (_root.Projectile_AmmoReloading == true) {
BarDisplay = Math.round((_root.Projectile_AmmoReloader / _root.Projectile_AmmoReload) * 100) + 101;
_root.base_mc.bar_mc.gotoAndStop(BarDisplay);
}
if (_root.Projectile_AmmoReloading == false) {
BarDisplay = Math.round((_root.Projectile_Ammo / _root.Projectile_CurrentCapacity) * 100);
_root.base_mc.bar_mc.gotoAndStop(BarDisplay);
}
if ((_root.User_PowerHealth == 0) && (_root.User_PowerHealth_Dead == false)) {
_root.power_mc.gotoAndPlay("die");
_root.User_PowerHealth_Dead = true;
}
if ((_root.User_PrecisionHealth == 0) && (_root.User_PrecisionHealth_Dead == false)) {
_root.precision_mc.gotoAndPlay("die");
_root.User_PrecisionHealth_Dead = true;
}
if ((_root.User_VelocityHealth == 0) && (_root.User_VelocityHealth_Dead == false)) {
_root.velocity_mc.gotoAndPlay("die");
_root.User_VelocityHealth_Dead = true;
}
if ((_root.User_CapacityHealth == 0) && (_root.User_CapacityHealth_Dead == false)) {
_root.capacity_mc.gotoAndPlay("die");
_root.User_CapacityHealth_Dead = true;
}
Cell1_Percent = _root.User_PowerHealth / _root.User_PowerHealthTotal;
Cell2_Percent = _root.User_PrecisionHealth / _root.User_PrecisionHealthTotal;
Cell3_Percent = _root.User_VelocityHealth / _root.User_VelocityHealthTotal;
Cell4_Percent = _root.User_CapacityHealth / _root.User_CapacityHealthTotal;
Cell1_Percentage = Math.round(Cell1_Percent * 100);
Cell2_Percentage = Math.round(Cell2_Percent * 100);
Cell3_Percentage = Math.round(Cell3_Percent * 100);
Cell4_Percentage = Math.round(Cell4_Percent * 100);
adjacent = _root._xmouse - _root.userBarrel_mc._x;
opposite = _root._ymouse - _root.userBarrel_mc._y;
hypotenuse = Math.sqrt((adjacent * adjacent) + (opposite * opposite));
_root.Projectile_Real_Damage = _root.Projectile_Damage + (_root.Projectile_Damage * Cell1_Percent);
_root.Projectile_Real_Inaccuracy = hypotenuse * (_root.Projectile_Inaccuracy - ((_root.Projectile_Inaccuracy / 2) * Cell2_Percent));
_root.Projectile_Real_Speed = _root.Projectile_Speed + (_root.Projectile_Speed * (Cell3_Percent * _root.Projectile_SpeedUpgd));
_root.Projectile_Real_Capacity = Math.round(_root.Projectile_Capacity + ((_root.Projectile_Capacity * Cell4_Percent) * _root.Projectile_CapacityUpgd));
_root.ToolBar_mc.cell1_mc.percent_mc.percent_txt.text = Cell1_Percentage + "%";
_root.ToolBar_mc.cell2_mc.percent_mc.percent_txt.text = Cell2_Percentage + "%";
_root.ToolBar_mc.cell3_mc.percent_mc.percent_txt.text = Cell3_Percentage + "%";
_root.ToolBar_mc.cell4_mc.percent_mc.percent_txt.text = Cell4_Percentage + "%";
if (_root.PauseGame == false) {
Cell1_Status = _root.ToolBar_mc.cell1_mc.myStatus;
Cell2_Status = _root.ToolBar_mc.cell2_mc.myStatus;
Cell3_Status = _root.ToolBar_mc.cell3_mc.myStatus;
Cell4_Status = _root.ToolBar_mc.cell4_mc.myStatus;
Cell1_Hover = false;
Cell2_Hover = false;
Cell3_Hover = false;
Cell4_Hover = false;
if (_root.power_mc.hitTest(_root._xmouse, _root._ymouse, true)) {
if (Cell1_Status == "Closed") {
_root.ToolBar_mc.cell1_mc.gotoAndPlay("open");
}
Cell1_Hover = true;
}
if (_root.precision_mc.hitTest(_root._xmouse, _root._ymouse, true)) {
if (Cell2_Status == "Closed") {
_root.ToolBar_mc.cell2_mc.gotoAndPlay("open");
}
Cell2_Hover = true;
}
if (_root.velocity_mc.hitTest(_root._xmouse, _root._ymouse, true)) {
if (Cell3_Status == "Closed") {
_root.ToolBar_mc.cell3_mc.gotoAndPlay("open");
}
Cell3_Hover = true;
}
if (_root.capacity_mc.hitTest(_root._xmouse, _root._ymouse, true)) {
if (Cell4_Status == "Closed") {
_root.ToolBar_mc.cell4_mc.gotoAndPlay("open");
}
Cell4_Hover = true;
}
if ((Key.isDown(49) && (Cell1_Status == "Closed")) && (Cell1_Hover == false)) {
_root.ToolBar_mc.cell1_mc.gotoAndPlay("open");
}
if (((!Key.isDown(49)) && (Cell1_Status == "Opened")) && (Cell1_Hover == false)) {
_root.ToolBar_mc.cell1_mc.gotoAndPlay("close");
}
if ((Key.isDown(50) && (Cell2_Status == "Closed")) && (Cell2_Hover == false)) {
_root.ToolBar_mc.cell2_mc.gotoAndPlay("open");
}
if (((!Key.isDown(50)) && (Cell2_Status == "Opened")) && (Cell2_Hover == false)) {
_root.ToolBar_mc.cell2_mc.gotoAndPlay("close");
}
if ((Key.isDown(51) && (Cell3_Status == "Closed")) && (Cell3_Hover == false)) {
_root.ToolBar_mc.cell3_mc.gotoAndPlay("open");
}
if (((!Key.isDown(51)) && (Cell3_Status == "Opened")) && (Cell3_Hover == false)) {
_root.ToolBar_mc.cell3_mc.gotoAndPlay("close");
}
if ((Key.isDown(52) && (Cell4_Status == "Closed")) && (Cell4_Hover == false)) {
_root.ToolBar_mc.cell4_mc.gotoAndPlay("open");
}
if (((!Key.isDown(52)) && (Cell4_Status == "Opened")) && (Cell4_Hover == false)) {
_root.ToolBar_mc.cell4_mc.gotoAndPlay("close");
}
}
if ((_root.Enemies_Remain == 0) && (_root.EndCondition == "None")) {
if (_root.GameStatus == "Campaign") {
_root.EndCondition = "Victory";
_root.LevelGameTime_Count = false;
_root.levelEnd_mc.gotoAndStop("Victory");
ScoreBonus = Math.round(((_root.User_Score - _root.User_StartScore) * accuracy) / 100);
_root.User_Score = _root.User_Score + ScoreBonus;
if (_root.User_Wave == 40) {
_root.PauseGame = true;
_root.SpecialPause = true;
_root.pauseGame_mc.gotoAndStop("unpause");
_root.ToolBar_mc.askMenu_mc.gotoAndStop("victory");
_root.cinematics_mc.gotoAndStop("victory");
_root.AwardAchieved = false;
SavedData = SharedObject.getLocal("Data");
if ((_root.DifficultySet == "Easy") && (SavedData.data.EasyAward != "Active")) {
SavedData.data.EasyAward = "Active";
_root.AwardAchieved = true;
}
if ((_root.DifficultySet == "Normal") && (SavedData.data.NormalAward != "Active")) {
SavedData.data.NormalAward = "Active";
_root.AwardAchieved = true;
}
if ((_root.DifficultySet == "Hard") && (SavedData.data.HardAward != "Active")) {
SavedData.data.HardAward = "Active";
_root.AwardAchieved = true;
}
}
}
if (_root.GameChallenge == true) {
_root.PauseGame = true;
_root.SpecialPause = true;
_root.EndCondition = "Complete";
_root.LevelGameTime_Count = false;
_root.ToolBar_mc.askMenu_mc.gotoAndStop("challenge");
}
}
if ((_root.User_PlatformHealth == 0) && (_root.EndCondition == "None")) {
_root.PauseGame = true;
_root.SpecialPause = true;
_root.EndCondition = "Defeat";
if (_root.GameStatus == "Campaign") {
if (_root.User_Wave <= 40) {
_root.ToolBar_mc.askMenu_mc.gotoAndStop("defeat");
_root.cinematics_mc.gotoAndStop("defeat");
} else {
_root.ToolBar_mc.askMenu_mc.gotoAndStop("submit");
}
}
if (_root.GameChallenge == true) {
_root.EndCondition = "Complete";
_root.LevelGameTime_Count = false;
_root.ToolBar_mc.askMenu_mc.gotoAndStop("challenge");
}
}
_root.ToolBar_mc.health_txt.text = _root.User_PlatformHealth;
_root.ToolBar_mc.money_txt.text = "$" + _root.User_Money;
_root.ToolBar_mc.score_txt.text = _root.User_Score;
_root.Enemies_Remain = _root.Enemies_Counter + _root.Enemies_OnScreenCurrent;
_root.ToolBar_mc.remain_txt.text = _root.Enemies_Remain;
accuracy = Math.round((_root.Projectile_Hit / _root.Projectile_Shot) * 100);
if (isNaN(accuracy)) {
accuracy = 0;
}
_root.ToolBar_mc.accuracy_txt.text = accuracy + "%";
}
_root.cursor_mc.swapDepths(1000);
_root.userBarrel_mc.swapDepths(1001);
_root.userPlatform_mc.swapDepths(1002);
_root.levelEnd_mc.swapDepths(1103);
_root.ToolBar_mc.swapDepths(1104);
_root.pauseGame_mc.swapDepths(1105);
_root.tips_mc.swapDepths(1106);
_root.set_GameFunction = setInterval(GameFunctioning, 25);
Symbol 10 MovieClip Frame 1
function Scroller() {
Percent = Math.round(((scroller_btn._y + 122.5) / 245) * 100) / 100;
GoToLine = Math.round(text_txt.maxscroll * Percent);
text_txt.scroll = GoToLine;
}
scroller_btn.onPress = function () {
startDrag (scroller_btn, false, 260, -122.5, 260, 122.5);
};
scroller_btn.onRelease = function () {
stopDrag();
};
scroller_btn.onReleaseOutside = function () {
stopDrag();
};
clearInterval(_root.Set_MIU);
_root.Set_MIU = setInterval(Scroller, 25);
_root.mouseListener = new Object();
_root.mouseListener.onMouseWheel = function (delta) {
if (((scroller_btn._y - delta) > -122.5) && ((scroller_btn._y - delta) < 122.5)) {
scroller_btn._y = scroller_btn._y - (delta * 2);
}
};
Mouse.addListener(_root.mouseListener);
ReadText = "<u><FONT COLOR='#999999' SIZE='16'>Objectives</FONT></u>: \n";
ReadText = ReadText + " Your ultimate goal is to survive without your turret \n";
ReadText = ReadText + "being destroyed. You start with four cells each \n";
ReadText = ReadText + "granting you a bonus depending on its health, you \n";
ReadText = ReadText + "are able to repair the damage they take but once \n";
ReadText = ReadText + "destroyed, it is lost. Between each attack wave \n";
ReadText = ReadText + "you have one minute to repair your buildings, \n";
ReadText = ReadText + "purchase upgrades to benefit your power, \n";
ReadText = ReadText + "precision, projectile velocity, ammunition capacity \n";
ReadText = ReadText + "and purchase other components and upgrades.\n\n";
ReadText = ReadText + "<u><FONT COLOR='#999999' SIZE='16'>Controls</FONT></u>: \n";
ReadText = ReadText + " Aim: Mouse\n";
ReadText = ReadText + " Shoot: Left Click/Spacebar\n";
ReadText = ReadText + " Pause: P\n";
ReadText = ReadText + " Toggle Quality: Q\n";
ReadText = ReadText + " Toggle Music: M\n";
ReadText = ReadText + " Toggle Sounds: S\n";
ReadText = ReadText + " Power Cell Health: 1\n";
ReadText = ReadText + " Percision Cell Health: 2\n";
ReadText = ReadText + " Velocity Cell Health: 3\n";
ReadText = ReadText + " Capacity Cell Health: 4\n\n";
ReadText = ReadText + "<u><FONT COLOR='#999999' SIZE='16'>Upgrades</FONT></u>: \n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Computer</FONT></u>: \n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Laser Aim Guidance</FONT></u>: Upgrades your aimer with an error margin so you know the possible trajectory. (Can be turned on/off from the upgrade screen or pause menu.)\n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Enemy Healthbars</FONT></u>: Displays healthbars above enemies. (Can be turned on/off from the upgrade screen or pause menu.)\n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Sonic Displacement</FONT></u>: 25% Chance to inhibit enemy fire.\n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Disruption Field</FONT></u>: 10% Chance to double enemy reload time on firing.";
ReadText = ReadText + "\n\n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Miscellaneous</FONT></u>: \n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Bounty</FONT></u>: Increases the money earned from destroying enemies. (0-50%)\n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Life Transfer</FONT></u>: Deals an additional five damage to enemy on hit, and heals your turret and every cell for 1 point. (0-100% Chance)";
ReadText = ReadText + "\n\n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Power</FONT></u>: \n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Projectile Damage</FONT></u>: Amount of damage your projectiles deal on impact.\n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Power Cell Escalation</FONT></u>: Increases the amount of damage your projectiles deal.";
ReadText = ReadText + "\n\n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Precision</FONT></u>: \n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Projectile Accuracy</FONT></u>: Increases the accuracy of your shot by decreasing the margin of error. (50-90%)";
ReadText = ReadText + "\n\n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Velocity</FONT></u>: \n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Projectile Velocity</FONT></u>: The speed at which your projectile travels. (10-15)\n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Velocity Cell Boost</FONT></u>: Increases the speed of your projectile. (25-33%)";
ReadText = ReadText + "\n\n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Capacity</FONT></u>: \n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Projectile Capacity</FONT></u>: The amount of ammunition you may fire before you have to reload. (25-100)\n";
ReadText = ReadText + " <u><FONT COLOR='#999999'>Capacity Cell Increase</FONT></u>: Increases your ammunition capacity. (50-100%)";
text_txt.html = true;
text_txt.htmlText = ReadText;
Symbol 17 MovieClip Frame 1
godlygamer_btn.onRelease = function () {
getURL ("http://www.godlygamer.com/", "_blank");
};
Symbol 22 MovieClip Frame 1
maxgames_btn.onRelease = function () {
getURL ("http://www.maxgames.com/", "_blank");
};
Symbol 26 MovieClip Frame 1
function Preloader() {
DisplayLoad_txt.text = ((((((("Loaded " + _root.kbloaded) + " of ") + _root.kbtotal) + " kb at ") + _root.averagekbs) + " kb/s.\nEstimated Time Remaining: ") + _root.remainingtime) + " Seconds.";
_root.kbloaded = Math.round(_root.getBytesLoaded() / 1024);
_root.kbtotal = Math.round(_root.getBytesTotal() / 1024);
_root.PreviewPercent = Math.round((_root.kbloaded / _root.kbtotal) * 100);
if (_root._framesloaded >= _root._totalframes) {
clearInterval(SetMyEstimations);
clearInterval(SetMyPreloader);
gotoAndStop ("continue");
}
}
function Estimations() {
_root.averagekbs = Math.round(_root.kbloaded - _root.averagekbcount);
_root.averagekbcount = _root.kbloaded;
_root.remainingtime = Math.round((_root.kbtotal - _root.kbloaded) / _root.averagekbs);
}
stop();
gg_btn.onRelease = function () {
getURL ("http://www.godlygamer.com/", "_blank");
};
var remainingtime = 0;
var averagekbs = 0;
var averagekbcount = 0;
var averagetimer = 0;
SetMyPreloader = setInterval(Preloader, 25);
SetMyEstimations = setInterval(Estimations, 1000);
Symbol 26 MovieClip Frame 2
continue_btn.onRelease = function () {
Mouse.removeListener(_root.mouseListener);
_root.gotoAndStop("MaxGames");
};
Symbol 32 Button
on (release) {
getURL ("http://www.maxgames.com", "_blank");
}
Symbol 35 MovieClip Frame 60
stop();
Symbol 37 MovieClip Frame 200
_root.gotoAndStop("Intro");
Symbol 44 MovieClip Frame 1
gotoAndPlay(random(15) + 5);
Symbol 44 MovieClip Frame 21
gotoAndPlay(random(15) + 22);
Symbol 44 MovieClip Frame 40
gotoAndPlay ("loop");
Symbol 54 MovieClip Frame 1
if ((_root.User_EnemyHealthbarsEquipped == true) && (!isNaN(_parent._parent.health))) {
_parent.gotoAndStop(Math.round((_parent._parent.health / _parent._parent.healthMax) * 100));
} else {
_parent.gotoAndStop("blank");
}
Symbol 54 MovieClip Frame 2
gotoAndPlay (1);
Symbol 66 MovieClip Frame 1
this._x = (Math.random() * 40) - 20;
this._y = (Math.random() * 30) - 15;
gotoAndPlay (2);
Symbol 66 MovieClip Frame 9
stop();
Symbol 75 MovieClip [Enemy1] Frame 1
stop();
Symbol 75 MovieClip [Enemy1] Frame 20
stop();
_root.User_Money = _root.User_Money + Math.round(myMoney * (_root.Bounty / 100));
_root.User_Score = _root.User_Score + myPoints;
_root.Enemies_OnScreenCurrent--;
this.removeMovieClip();
Symbol 87 MovieClip [Enemy1_Projectile_Hit] Frame 10
this.removeMovieClip();
Symbol 97 MovieClip [Bullet_Hit] Frame 10
this.removeMovieClip();
Symbol 111 MovieClip Frame 1
this._x = (Math.random() * 30) - 15;
this._y = (Math.random() * 40) - 20;
gotoAndPlay (2);
Symbol 111 MovieClip Frame 9
stop();
Symbol 119 MovieClip [Enemy2] Frame 1
stop();
Symbol 119 MovieClip [Enemy2] Frame 20
stop();
_root.User_Money = _root.User_Money + Math.round(myMoney * (_root.Bounty / 100));
_root.User_Score = _root.User_Score + myPoints;
_root.Enemies_OnScreenCurrent--;
this.removeMovieClip();
Symbol 130 MovieClip [Enemy2_Projectile_Hit] Frame 10
this.removeMovieClip();
Symbol 144 MovieClip Frame 1
this._x = (Math.random() * 50) - 25;
this._y = (Math.random() * 30) - 15;
gotoAndPlay (2);
Symbol 144 MovieClip Frame 9
stop();
Symbol 153 MovieClip [Enemy3] Frame 1
stop();
Symbol 153 MovieClip [Enemy3] Frame 20
stop();
_root.User_Money = _root.User_Money + Math.round(myMoney * (_root.Bounty / 100));
_root.User_Score = _root.User_Score + myPoints;
_root.Enemies_OnScreenCurrent--;
this.removeMovieClip();
Symbol 165 MovieClip [Enemy3_Projectile_Hit] Frame 10
this.removeMovieClip();
Symbol 179 MovieClip Frame 1
this._x = (Math.random() * 50) - 25;
this._y = (Math.random() * 40) - 20;
gotoAndPlay (2);
Symbol 179 MovieClip Frame 9
stop();
Symbol 188 MovieClip [Enemy4] Frame 1
stop();
Symbol 188 MovieClip [Enemy4] Frame 20
stop();
_root.User_Money = _root.User_Money + Math.round(myMoney * (_root.Bounty / 100));
_root.User_Score = _root.User_Score + myPoints;
_root.Enemies_OnScreenCurrent--;
this.removeMovieClip();
Symbol 200 MovieClip [Enemy4_Projectile_Hit] Frame 10
this.removeMovieClip();
Symbol 214 MovieClip Frame 1
this._x = (Math.random() * 50) - 25;
this._y = (Math.random() * 40) - 20;
gotoAndPlay (2);
Symbol 214 MovieClip Frame 9
stop();
Symbol 222 MovieClip [Enemy5] Frame 1
stop();
Symbol 222 MovieClip [Enemy5] Frame 20
stop();
_root.User_Money = _root.User_Money + Math.round(myMoney * (_root.Bounty / 100));
_root.User_Score = _root.User_Score + myPoints;
_root.Enemies_OnScreenCurrent--;
this.removeMovieClip();
Symbol 233 MovieClip [Enemy5_Projectile_Hit] Frame 10
this.removeMovieClip();
Symbol 247 MovieClip Frame 1
this._x = (Math.random() * 40) - 20;
this._y = (Math.random() * 30) - 15;
gotoAndPlay (2);
Symbol 247 MovieClip Frame 9
stop();
Symbol 255 MovieClip [Enemy6] Frame 1
stop();
Symbol 255 MovieClip [Enemy6] Frame 20
stop();
_root.User_Money = _root.User_Money + Math.round(myMoney * (_root.Bounty / 100));
_root.User_Score = _root.User_Score + myPoints;
_root.Enemies_OnScreenCurrent--;
this.removeMovieClip();
Symbol 267 MovieClip [Enemy6_Projectile_Hit] Frame 10
this.removeMovieClip();
Symbol 281 MovieClip Frame 1
this._x = (Math.random() * 60) - 30;
this._y = (Math.random() * 30) - 15;
gotoAndPlay (2);
Symbol 281 MovieClip Frame 9
stop();
Symbol 289 MovieClip [Enemy7] Frame 1
stop();
Symbol 289 MovieClip [Enemy7] Frame 20
stop();
_root.User_Money = _root.User_Money + Math.round(myMoney * (_root.Bounty / 100));
_root.User_Score = _root.User_Score + myPoints;
_root.Enemies_OnScreenCurrent--;
this.removeMovieClip();
Symbol 300 MovieClip [Enemy7_Projectile_Hit] Frame 10
this.removeMovieClip();
Symbol 314 MovieClip Frame 1
this._x = (Math.random() * 50) - 25;
this._y = (Math.random() * 30) - 15;
gotoAndPlay (2);
Symbol 314 MovieClip Frame 9
stop();
Symbol 322 MovieClip [Enemy8] Frame 1
stop();
Symbol 322 MovieClip [Enemy8] Frame 20
stop();
_root.User_Money = _root.User_Money + Math.round(myMoney * (_root.Bounty / 100));
_root.User_Score = _root.User_Score + myPoints;
_root.Enemies_OnScreenCurrent--;
this.removeMovieClip();
Symbol 333 MovieClip [Enemy8_Projectile_Hit] Frame 10
this.removeMovieClip();
Symbol 339 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 1
function PlayMusic() {
Music_sound = new Sound(this);
Music_sound.attachSound("MusicTrack6.wav");
Music_sound.start();
Music_sound.onSoundComplete = function () {
PlayMusic();
};
}
function MusicFade() {
if ((_root.MusicFunction == false) && (Music_sound.getVolume() > 0)) {
Music_sound.setVolume(Music_sound.getVolume() - 2);
if (_root.CinematicsPlaying == true) {
Music_sound.setVolume(0);
}
}
if ((_root.MusicFunction == true) && (Music_sound.getVolume() < 100)) {
Music_sound.setVolume(Music_sound.getVolume() + 2);
}
}
stop();
_root.MusicFunction = true;
PlayMusic();
setInterval(MusicFade, 25);
Symbol 426 MovieClip Frame 285
stop();
Symbol 472 MovieClip Frame 215
stop();
Symbol 494 MovieClip Frame 1
gotoAndPlay(random(15) + 5);
Symbol 494 MovieClip Frame 21
gotoAndPlay(random(15) + 22);
Symbol 494 MovieClip Frame 40
gotoAndPlay ("loop");
Symbol 513 MovieClip Frame 1
stop();
Symbol 531 MovieClip Frame 15
stop();
Symbol 534 MovieClip Frame 45
stop();
Symbol 543 MovieClip Frame 1
this._x = (Math.random() * 40) - 20;
this._y = (Math.random() * 30) - 15;
gotoAndPlay (2);
Symbol 543 MovieClip Frame 9
stop();
Symbol 552 MovieClip Frame 29
stop();
Symbol 553 MovieClip Frame 1433
var MySound = new Sound();
MySound.attachSound("Explosion.wav");
MySound.start();
Symbol 553 MovieClip Frame 1443
var MySound = new Sound();
MySound.attachSound("Explosion.wav");
MySound.start();
Symbol 553 MovieClip Frame 1453
var MySound = new Sound();
MySound.attachSound("Explosion.wav");
MySound.start();
Symbol 553 MovieClip Frame 1600
stop();
_parent.End();
Symbol 631 MovieClip Frame 60
stop();
Symbol 648 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 11
stop();
Symbol 649 MovieClip Frame 8
stop();
Symbol 661 MovieClip Frame 1
stop();
Symbol 661 MovieClip Frame 11
stop();
Symbol 662 MovieClip Frame 8
stop();
Symbol 674 MovieClip Frame 1
stop();
Symbol 674 MovieClip Frame 11
stop();
Symbol 675 MovieClip Frame 8
stop();
Symbol 687 MovieClip Frame 1
stop();
Symbol 687 MovieClip Frame 11
stop();
Symbol 688 MovieClip Frame 8
stop();
Symbol 694 MovieClip Frame 1700
stop();
_parent.End();
Symbol 748 MovieClip Frame 40
randomize = random(2);
if (randomize == 1) {
gotoAndPlay ("colour");
}
Symbol 748 MovieClip Frame 45
randomize = random(2);
if (randomize == 1) {
gotoAndPlay ("colour");
}
Symbol 748 MovieClip Frame 50
randomize = random(2);
if (randomize == 1) {
gotoAndPlay ("colour");
}
Symbol 748 MovieClip Frame 55
randomize = random(2);
if (randomize == 1) {
gotoAndPlay ("colour");
}
Symbol 748 MovieClip Frame 60
gotoAndPlay ("colour");
Symbol 762 MovieClip Frame 1
stop();
Symbol 776 MovieClip Frame 660
stop();
_parent.End();
Symbol 779 MovieClip Frame 400
stop();
_parent.End();
Symbol 784 MovieClip Frame 1400
_parent.End();
Symbol 785 MovieClip Frame 1
stop();
_root.CinematicsPlaying = false;
if (_root.SavedMusicSetting != undefined) {
_root.MusicFunction = _root.SavedMusicSetting;
}
Symbol 785 MovieClip Frame 2
function End() {
if (_root.GameStatus != "Cinematics") {
_root.gotoAndStop("MainMenu");
}
gotoAndStop ("blank");
}
stop();
_root.CinematicsPlaying = true;
_root.SavedMusicSetting = _root.MusicFunction;
_root.MusicFunction = false;
skip_btn.onRelease = function () {
End();
};
cover_btn.useHandCursor = false;
Symbol 785 MovieClip Frame 3
function End() {
if (_root.GameStatus != "Cinematics") {
_root.CampaignGameTime_Seconds = 0;
_root.CampaignGameTime_Minutes = 0;
_root.CampaignGameTime_Hours = 0;
_root.LevelGameTime_Seconds = 0;
_root.LevelGameTime_Minutes = 0;
_root.LevelGameTime_Hours = 0;
_root.LevelGameTime_Count = true;
_root.ClearAllObjects = false;
_root.EndCondition = "None";
_root.gotoAndStop("Game");
gotoAndStop ("blank");
} else {
gotoAndStop ("blank");
}
}
stop();
_root.CinematicsPlaying = true;
_root.SavedMusicSetting = _root.MusicFunction;
_root.MusicFunction = false;
skip_btn.onRelease = function () {
End();
};
cover_btn.useHandCursor = false;
Symbol 785 MovieClip Frame 4
function End() {
gotoAndStop ("blank");
}
stop();
_root.CinematicsPlaying = true;
_root.SavedMusicSetting = _root.MusicFunction;
_root.MusicFunction = false;
skip_btn.onRelease = function () {
End();
};
cover_btn.useHandCursor = false;
Symbol 785 MovieClip Frame 5
function End() {
gotoAndStop ("blank");
}
stop();
_root.CinematicsPlaying = true;
_root.SavedMusicSetting = _root.MusicFunction;
_root.MusicFunction = false;
skip_btn.onRelease = function () {
End();
};
cover_btn.useHandCursor = false;
Symbol 785 MovieClip Frame 6
function End() {
gotoAndStop ("blank");
}
stop();
_root.CinematicsPlaying = true;
_root.SavedMusicSetting = _root.MusicFunction;
_root.MusicFunction = false;
skip_btn.onRelease = function () {
End();
};
cover_btn.useHandCursor = false;
Symbol 846 MovieClip Frame 1
function Scroller() {
Percent = Math.round(((scroller_btn._y + 73.9) / 147.8) * 100) / 100;
GoToLine = Math.round(text_txt.maxscroll * Percent);
text_txt.scroll = GoToLine;
}
scroller_btn.onPress = function () {
startDrag (scroller_btn, false, 137.4, -73.9, 137.4, 73.9);
};
scroller_btn.onRelease = function () {
stopDrag();
};
scroller_btn.onReleaseOutside = function () {
stopDrag();
};
clearInterval(_root.Set_MIU);
_root.Set_MIU = setInterval(Scroller, 25);
_root.mouseListener = new Object();
_root.mouseListener.onMouseWheel = function (delta) {
if (((scroller_btn._y - delta) > -73.9) && ((scroller_btn._y - delta) < 73.9)) {
scroller_btn._y = scroller_btn._y - delta;
}
};
Mouse.addListener(_root.mouseListener);
UpgradeText = "<u><FONT COLOR='#999999'>Computer</FONT></u>: \n";
UpgradeText = UpgradeText + " <u><FONT COLOR='#999999'>Laser Aim Guidance</FONT></u>: Upgrades your aimer with an error margin so you know the possible trajectory. (Can be turned on/off from the upgrade screen or pause menu.)\n";
UpgradeText = UpgradeText + " <u><FONT COLOR='#999999'>Enemy Healthbars</FONT></u>: Displays healthbars above enemies. (Can be turned on/off from the upgrade screen or pause menu.)\n";
UpgradeText = UpgradeText + " <u><FONT COLOR='#999999'>Sonic Displacement</FONT></u>: 25% Chance to inhibit enemy fire.\n";
UpgradeText = UpgradeText + " <u><FONT COLOR='#999999'>Disruption Field</FONT></u>: 10% Chance to double enemy reload time on firing.";
UpgradeText = UpgradeText + "\n\n";
UpgradeText = UpgradeText + "<u><FONT COLOR='#999999'>Miscellaneous</FONT></u>: \n";
UpgradeText = UpgradeText + " <u><FONT COLOR='#999999'>Bounty</FONT></u>: Increases the money earned from destroying enemies. (0-50%)\n";
UpgradeText = UpgradeText + " <u><FONT COLOR='#999999'>Life Transfer</FONT></u>: Deals an additional five damage to enemy on hit, and heals your turret and every cell for 1 point. (0-100% Chance)";
UpgradeText = UpgradeText + "\n\n";
UpgradeText = UpgradeText + "<u><FONT COLOR='#999999'>Power</FONT></u>: \n";
UpgradeText = UpgradeText + " <u><FONT COLOR='#999999'>Projectile Damage</FONT></u>: Amount of damage your projectiles deal on impact.\n";
UpgradeText = UpgradeText + " <u><FONT COLOR='#999999'>Power Cell Escalation</FONT></u>: Increases the amount of damage your projectiles deal.";
UpgradeText = UpgradeText + "\n\n";
UpgradeText = UpgradeText + "<u><FONT COLOR='#999999'>Precision</FONT></u>: \n";
UpgradeText = UpgradeText + " <u><FONT COLOR='#999999'>Projectile Accuracy</FONT></u>: Increases the accuracy of your shot by decreasing the margin of error. (50-90%)";
UpgradeText = UpgradeText + "\n\n";
UpgradeText = UpgradeText + "<u><FONT COLOR='#999999'>Velocity</FONT></u>: \n";
UpgradeText = UpgradeText + " <u><FONT COLOR='#999999'>Projectile Velocity</FONT></u>: The speed at which your projectile travels. (10-15)\n";
UpgradeText = UpgradeText + " <u><FONT COLOR='#999999'>Velocity Cell Boost</FONT></u>: Increases the speed of your projectile. (25-33%)";
UpgradeText = UpgradeText + "\n\n";
UpgradeText = UpgradeText + "<u><FONT COLOR='#999999'>Capacity</FONT></u>: \n";
UpgradeText = UpgradeText + " <u><FONT COLOR='#999999'>Projectile Capacity</FONT></u>: The amount of ammunition you may fire before you have to reload. (25-100)\n";
UpgradeText = UpgradeText + " <u><FONT COLOR='#999999'>Capacity Cell Increase</FONT></u>: Increases your ammunition capacity. (50-100%)";
text_txt.html = true;
text_txt.htmlText = UpgradeText;
Symbol 861 MovieClip Frame 1
stop();
Symbol 861 MovieClip Frame 2
stop();
Symbol 879 MovieClip Frame 1
stop();
Symbol 879 MovieClip Frame 2
stop();
Symbol 879 MovieClip Frame 3
stop();
Symbol 879 MovieClip Frame 4
stop();
Symbol 1015 MovieClip Frame 1
stop();
objectives_btn.onRelease = function () {
clearInterval(_root.Set_MIU);
Mouse.removeListener(_root.mouseListener);
gotoAndStop ("instructionsO");
};
controls_btn.onRelease = function () {
clearInterval(_root.Set_MIU);
Mouse.removeListener(_root.mouseListener);
gotoAndStop ("instructionsC");
};
upgrades_btn.onRelease = function () {
gotoAndStop ("instructionsU");
};
Symbol 1015 MovieClip Frame 2
stop();
objectives_btn.onRelease = function () {
clearInterval(_root.Set_MIU);
Mouse.removeListener(_root.mouseListener);
gotoAndStop ("instructionsO");
};
controls_btn.onRelease = function () {
clearInterval(_root.Set_MIU);
Mouse.removeListener(_root.mouseListener);
gotoAndStop ("instructionsC");
};
upgrades_btn.onRelease = function () {
gotoAndStop ("instructionsU");
};
Symbol 1015 MovieClip Frame 3
stop();
objectives_btn.onRelease = function () {
clearInterval(_root.Set_MIU);
Mouse.removeListener(_root.mouseListener);
gotoAndStop ("instructionsO");
};
controls_btn.onRelease = function () {
clearInterval(_root.Set_MIU);
Mouse.removeListener(_root.mouseListener);
gotoAndStop ("instructionsC");
};
upgrades_btn.onRelease = function () {
gotoAndStop ("instructionsU");
};
Symbol 1015 MovieClip Frame 4
stop();
Symbol 1015 MovieClip Frame 5
stop();
SavedData = SharedObject.getLocal("Data");
if (SavedData.data.EasyAward == "Active") {
awardEasy_mc.gotoAndStop("active");
}
if (SavedData.data.NormalAward == "Active") {
awardNormal_mc.gotoAndStop("active");
}
if (SavedData.data.HardAward == "Active") {
awardHard_mc.gotoAndStop("active");
}
easy_btn.onRelease = function () {
_root.Difficulty = 1;
_root.DifficultySet = "Easy";
_root.GameStatus = "Campaign";
_root.GameChallenge = false;
_parent.StartGame();
};
normal_btn.onRelease = function () {
_root.Difficulty = 1.25;
_root.DifficultySet = "Normal";
_root.GameStatus = "Campaign";
_root.GameChallenge = false;
_parent.StartGame();
};
hard_btn.onRelease = function () {
_root.Difficulty = 1.5;
_root.DifficultySet = "Hard";
_root.GameStatus = "Campaign";
_root.GameChallenge = false;
_parent.StartGame();
};
Symbol 1015 MovieClip Frame 6
stop();
SavedData = SharedObject.getLocal("Data");
if (!isNaN(SavedData.data.Accuracy)) {
trophyA_mc.gotoAndStop("R" + SavedData.data.Accuracy);
}
if (!isNaN(SavedData.data.Fortitude)) {
trophyF_mc.gotoAndStop("R" + SavedData.data.Fortitude);
}
if (!isNaN(SavedData.data.Endurance)) {
trophyE_mc.gotoAndStop("R" + SavedData.data.Endurance);
}
accuracy_btn.onRelease = function () {
_root.GameStatus = "Accuracy";
_root.GameChallenge = true;
_parent.StartGame();
};
fortitude_btn.onRelease = function () {
_root.GameStatus = "Fortitude";
_root.GameChallenge = true;
_parent.StartGame();
};
endurance_btn.onRelease = function () {
_root.GameStatus = "Endurance";
_root.GameChallenge = true;
_parent.StartGame();
};
Symbol 1015 MovieClip Frame 7
stop();
intro_btn.onRelease = function () {
_root.GameStatus != "Cinematics";
_root.cinematics_mc.gotoAndStop("intro");
};
start_btn.onRelease = function () {
_root.GameStatus = "Cinematics";
_root.cinematics_mc.gotoAndStop("start");
};
victory_btn.onRelease = function () {
_root.cinematics_mc.gotoAndStop("victory");
};
defeat_btn.onRelease = function () {
_root.cinematics_mc.gotoAndStop("defeat");
};
Symbol 1015 MovieClip Frame 8
stop();
e10_btn.onRelease = function () {
gotoAndStop ("eScores");
};
n10_btn.onRelease = function () {
gotoAndStop ("nScores");
};
h10_btn.onRelease = function () {
gotoAndStop ("hScores");
};
e50_btn.onRelease = function () {
getURL ("http://www.godlygamer.com/Highscores/ancillary.php?Table=Easy", "_blank");
};
n50_btn.onRelease = function () {
getURL ("http://www.godlygamer.com/Highscores/ancillary.php?Table=Normal", "_blank");
};
h50_btn.onRelease = function () {
getURL ("http://www.godlygamer.com/Highscores/ancillary.php?Table=Hard", "_blank");
};
Symbol 1015 MovieClip Frame 9
stop();
System.security.loadPolicyFile("http://www.godlygamer.com/Highscores/policy.xml");
SendVars = new LoadVars();
targetObject = new LoadVars();
SendVars.Check = "load";
SendVars.SecondCheck = "VI4AJ3";
SendVars.Table = "Easy";
targetObject.onLoad = function (success) {
if (success) {
i = 1;
while (i <= 10) {
if (this["name" + i] != "") {
_parent.content_mc[("name" + i) + "_txt"].text = this["name" + i];
} else {
_parent.content_mc[("name" + i) + "_txt"].text = "Empty";
}
_parent.content_mc[("score" + i) + "_txt"].text = this["score" + i];
_parent.content_mc[("level" + i) + "_txt"].text = this["level" + i];
i++;
}
} else {
i = 1;
while (i <= 10) {
_parent.content_mc[("name" + i) + "_txt"].text = "Failed...";
_parent.content_mc[("score" + i) + "_txt"].text = "Failed...";
_parent.content_mc[("level" + i) + "_txt"].text = "0";
i++;
}
}
};
SendVars.sendAndLoad("http://www.godlygamer.com/Highscores/ancillary2.php", targetObject, "POST");
close_btn.onRelease = function () {
gotoAndStop ("highscores");
};
cover_btn.useHandCursor = false;
Symbol 1015 MovieClip Frame 10
stop();
System.security.loadPolicyFile("http://www.godlygamer.com/Highscores/policy.xml");
SendVars = new LoadVars();
targetObject = new LoadVars();
SendVars.Check = "load";
SendVars.SecondCheck = "VI4AJ3";
SendVars.Table = "Normal";
targetObject.onLoad = function (success) {
if (success) {
i = 1;
while (i <= 10) {
if (this["name" + i] != "") {
_parent.content_mc[("name" + i) + "_txt"].text = this["name" + i];
} else {
_parent.content_mc[("name" + i) + "_txt"].text = "Empty";
}
_parent.content_mc[("score" + i) + "_txt"].text = this["score" + i];
_parent.content_mc[("level" + i) + "_txt"].text = this["level" + i];
i++;
}
} else {
i = 1;
while (i <= 10) {
_parent.content_mc[("name" + i) + "_txt"].text = "Failed...";
_parent.content_mc[("score" + i) + "_txt"].text = "Failed...";
_parent.content_mc[("level" + i) + "_txt"].text = "0";
i++;
}
}
};
SendVars.sendAndLoad("http://www.godlygamer.com/Highscores/ancillary2.php", targetObject, "POST");
close_btn.onRelease = function () {
gotoAndStop ("highscores");
};
cover_btn.useHandCursor = false;
Symbol 1015 MovieClip Frame 11
stop();
System.security.loadPolicyFile("http://www.godlygamer.com/Highscores/policy.xml");
SendVars = new LoadVars();
targetObject = new LoadVars();
SendVars.Check = "load";
SendVars.SecondCheck = "VI4AJ3";
SendVars.Table = "Hard";
targetObject.onLoad = function (success) {
if (success) {
i = 1;
while (i <= 10) {
if (this["name" + i] != "") {
_parent.content_mc[("name" + i) + "_txt"].text = this["name" + i];
} else {
_parent.content_mc[("name" + i) + "_txt"].text = "Empty";
}
_parent.content_mc[("score" + i) + "_txt"].text = this["score" + i];
_parent.content_mc[("level" + i) + "_txt"].text = this["level" + i];
i++;
}
} else {
i = 1;
while (i <= 10) {
_parent.content_mc[("name" + i) + "_txt"].text = "Failed...";
_parent.content_mc[("score" + i) + "_txt"].text = "Failed...";
_parent.content_mc[("level" + i) + "_txt"].text = "0";
i++;
}
}
};
SendVars.sendAndLoad("http://www.godlygamer.com/Highscores/ancillary2.php", targetObject, "POST");
close_btn.onRelease = function () {
gotoAndStop ("highscores");
};
cover_btn.useHandCursor = false;
Symbol 1021 Button
on (release) {
if (_root.PauseGame == false) {
_root.PauseGame = true;
_root.pauseGame_mc.gotoAndStop("pause");
}
getURL ("http://www.godlygamer.com/", "_blank");
}
Symbol 1025 Button
on (release) {
if (_root.PauseGame == false) {
_root.PauseGame = true;
_root.pauseGame_mc.gotoAndStop("pause");
}
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 1034 MovieClip Frame 40
randomize = random(2);
if (randomize == 1) {
gotoAndPlay ("colour");
}
Symbol 1034 MovieClip Frame 45
randomize = random(2);
if (randomize == 1) {
gotoAndPlay ("colour");
}
Symbol 1034 MovieClip Frame 50
randomize = random(2);
if (randomize == 1) {
gotoAndPlay ("colour");
}
Symbol 1034 MovieClip Frame 55
randomize = random(2);
if (randomize == 1) {
gotoAndPlay ("colour");
}
Symbol 1034 MovieClip Frame 60
gotoAndPlay ("colour");
Symbol 1050 MovieClip Frame 1
stop();
Symbol 1053 MovieClip Frame 40
newDate = new Date();
StartTime = newDate.getTime();
Game_FPS = 40 - (Math.round((StartTime - EndTime) / 25) - 40);
if (isNaN(Game_FPS)) {
Game_FPS = 40;
}
_root.ToolBar_mc.fps_txt.text = Game_FPS;
EndTime = newDate.getTime();
Symbol 1057 MovieClip Frame 1
stop();
myStatus = "Closed";
Symbol 1057 MovieClip Frame 2
myStatus = "Opening";
Symbol 1057 MovieClip Frame 15
stop();
myStatus = "Opened";
Symbol 1057 MovieClip Frame 16
myStatus = "Closing";
Symbol 1061 MovieClip Frame 1
stop();
myStatus = "Closed";
Symbol 1061 MovieClip Frame 2
myStatus = "Opening";
Symbol 1061 MovieClip Frame 15
stop();
myStatus = "Opened";
Symbol 1061 MovieClip Frame 16
myStatus = "Closing";
Symbol 1065 MovieClip Frame 1
stop();
myStatus = "Closed";
Symbol 1065 MovieClip Frame 2
myStatus = "Opening";
Symbol 1065 MovieClip Frame 15
stop();
myStatus = "Opened";
Symbol 1065 MovieClip Frame 16
myStatus = "Closing";
Symbol 1069 MovieClip Frame 1
stop();
myStatus = "Closed";
Symbol 1069 MovieClip Frame 2
myStatus = "Opening";
Symbol 1069 MovieClip Frame 15
stop();
myStatus = "Opened";
Symbol 1069 MovieClip Frame 16
myStatus = "Closing";
Symbol 1094 MovieClip Frame 1
close_btn.onRelease = function () {
_parent.gotoAndStop("close");
};
drag_btn.useHandCursor = false;
drag_btn.onPress = function () {
if (Key.isDown(17)) {
_parent.gotoAndStop("close");
} else {
_parent.swapDepths(_parent._parent.NewPopupDepth);
_parent._parent.NewPopupDepth++;
startDrag (_parent);
}
};
drag_btn.onRelease = function () {
stopDrag();
};
drag_btn.onReleaseOutside = function () {
stopDrag();
};
cover_btn.useHandCursor = false;
cover_btn.onPress = function () {
if (Key.isDown(17)) {
_parent.gotoAndStop("close");
} else {
_parent.swapDepths(_parent._parent.NewPopupDepth);
_parent._parent.NewPopupDepth++;
}
};
Symbol 1109 MovieClip Frame 1
stop();
Symbol 1109 MovieClip Frame 2
repair_btn.onRelease = function () {
_root.User_Money = _root.User_Money - Cost;
_root.User_PlatformHealth = _root.User_PlatformHealthTotal;
_parent._parent.UpdatePopUps();
};
cost_txt.text = "Cost: $" + Cost;
Symbol 1109 MovieClip Frame 3
cost_txt.text = "Cost: $" + Cost;
Symbol 1114 MovieClip Frame 1
stop();
Symbol 1114 MovieClip Frame 2
repair_btn.onRelease = function () {
_root.User_Money = _root.User_Money - Cost;
_root.User_PowerHealth = _root.User_PowerHealthTotal;
_parent._parent.UpdatePopUps();
};
cost_txt.text = "Cost: $" + Cost;
Symbol 1114 MovieClip Frame 3
cost_txt.text = "Cost: $" + Cost;
Symbol 1118 MovieClip Frame 1
stop();
Symbol 1118 MovieClip Frame 2
repair_btn.onRelease = function () {
_root.User_Money = _root.User_Money - Cost;
_root.User_PrecisionHealth = _root.User_PrecisionHealthTotal;
_parent._parent.UpdatePopUps();
};
cost_txt.text = "Cost: $" + Cost;
Symbol 1118 MovieClip Frame 3
cost_txt.text = "Cost: $" + Cost;
Symbol 1122 MovieClip Frame 1
stop();
Symbol 1122 MovieClip Frame 2
repair_btn.onRelease = function () {
_root.User_Money = _root.User_Money - Cost;
_root.User_VelocityHealth = _root.User_VelocityHealthTotal;
_parent._parent.UpdatePopUps();
};
cost_txt.text = "Cost: $" + Cost;
Symbol 1122 MovieClip Frame 3
cost_txt.text = "Cost: $" + Cost;
Symbol 1126 MovieClip Frame 1
stop();
Symbol 1126 MovieClip Frame 2
repair_btn.onRelease = function () {
_root.User_Money = _root.User_Money - Cost;
_root.User_CapacityHealth = _root.User_CapacityHealthTotal;
_parent._parent.UpdatePopUps();
};
cost_txt.text = "Cost: $" + Cost;
Symbol 1126 MovieClip Frame 3
cost_txt.text = "Cost: $" + Cost;
Symbol 1128 MovieClip Frame 1
stop();
Symbol 1128 MovieClip Frame 2
stop();
function GetAndSetHealth() {
turret_mc.turret_txt.text = (("Turret Health: " + _root.User_PlatformHealth) + "/") + _root.User_PlatformHealthTotal;
turret_mc.Cost = _root.User_PlatformHealthTotal - _root.User_PlatformHealth;
if (turret_mc.Cost == 0) {
turret_mc.gotoAndStop("repaired");
} else {
if (_root.User_Money >= turret_mc.Cost) {
turret_mc.gotoAndStop("repair");
}
if (_root.User_Money < turret_mc.Cost) {
turret_mc.gotoAndStop("insufficient");
}
}
power_mc.power_txt.text = (("Power Cell: " + _root.User_PowerHealth) + "/") + _root.User_PowerHealthTotal;
power_mc.Cost = _root.User_PowerHealthTotal - _root.User_PowerHealth;
if (power_mc.Cost == 0) {
power_mc.gotoAndStop("repaired");
} else if (power_mc.Cost == _root.User_PowerHealthTotal) {
power_mc.gotoAndStop("destroyed");
} else {
if (_root.User_Money >= power_mc.Cost) {
power_mc.gotoAndStop("repair");
}
if (_root.User_Money < power_mc.Cost) {
power_mc.gotoAndStop("insufficient");
}
}
precision_mc.precision_txt.text = (("Precision Cell: " + _root.User_PrecisionHealth) + "/") + _root.User_PrecisionHealthTotal;
precision_mc.Cost = _root.User_PrecisionHealthTotal - _root.User_PrecisionHealth;
if (precision_mc.Cost == 0) {
precision_mc.gotoAndStop("repaired");
} else if (precision_mc.Cost == _root.User_PowerHealthTotal) {
precision_mc.gotoAndStop("destroyed");
} else {
if (_root.User_Money >= precision_mc.Cost) {
precision_mc.gotoAndStop("repair");
}
if (_root.User_Money < precision_mc.Cost) {
precision_mc.gotoAndStop("insufficient");
}
}
velocity_mc.velocity_txt.text = (("Velocity Cell: " + _root.User_VelocityHealth) + "/") + _root.User_VelocityHealthTotal;
velocity_mc.Cost = _root.User_VelocityHealthTotal - _root.User_VelocityHealth;
if (velocity_mc.Cost == 0) {
velocity_mc.gotoAndStop("repaired");
} else if (velocity_mc.Cost == _root.User_PowerHealthTotal) {
velocity_mc.gotoAndStop("destroyed");
} else {
if (_root.User_Money >= velocity_mc.Cost) {
velocity_mc.gotoAndStop("repair");
}
if (_root.User_Money < velocity_mc.Cost) {
velocity_mc.gotoAndStop("insufficient");
}
}
capacity_mc.capacity_txt.text = (("Capacity Cell: " + _root.User_CapacityHealth) + "/") + _root.User_CapacityHealthTotal;
capacity_mc.Cost = _root.User_CapacityHealthTotal - _root.User_CapacityHealth;
if (capacity_mc.Cost == 0) {
capacity_mc.gotoAndStop("repaired");
} else if (capacity_mc.Cost == _root.User_PowerHealthTotal) {
capacity_mc.gotoAndStop("destroyed");
} else {
if (_root.User_Money >= capacity_mc.Cost) {
capacity_mc.gotoAndStop("repair");
}
if (_root.User_Money < capacity_mc.Cost) {
capacity_mc.gotoAndStop("insufficient");
}
}
}
GetAndSetHealth();
Symbol 1145 MovieClip Frame 1
stop();
if (_root[Action] == true) {
gotoAndStop ("On");
}
if (_root[Action] == false) {
gotoAndStop ("Off");
}
Symbol 1145 MovieClip Frame 2
off_btn.onRelease = function () {
_root[Action] = false;
gotoAndStop ("Off");
};
Symbol 1145 MovieClip Frame 3
on_btn.onRelease = function () {
_root[Action] = true;
gotoAndStop ("On");
};
Symbol 1146 MovieClip Frame 1
function Detection() {
if (_root.User_LaserAim == true) {
gotoAndStop ("Equipped");
} else if ((_root.User_LaserAim == false) && (_root.User_Money < 100)) {
gotoAndStop ("insufficient");
}
}
stop();
Detection();
buy_btn.onRelease = function () {
if (_root.User_Money >= 100) {
_root.User_Money = _root.User_Money - 100;
_root.User_LaserAim = true;
_root.User_LaserAimEquipped = true;
_parent._parent.UpdatePopUps();
}
};
Symbol 1146 MovieClip Frame 3
on_off_mc.Action = "User_LaserAimEquipped";
Symbol 1150 MovieClip Frame 1
function Detection() {
if (_root.User_EnemyHealthbars == true) {
gotoAndStop ("Equipped");
} else if ((_root.User_EnemyHealthbars == false) && (_root.User_Money < 50)) {
gotoAndStop ("insufficient");
}
}
stop();
Detection();
buy_btn.onRelease = function () {
if (_root.User_Money >= 50) {
_root.User_Money = _root.User_Money - 50;
_root.User_EnemyHealthbars = true;
_root.User_EnemyHealthbarsEquipped = true;
_parent._parent.UpdatePopUps();
}
};
Symbol 1150 MovieClip Frame 3
on_off_mc.Action = "User_EnemyHealthbarsEquipped";
Symbol 1155 MovieClip Frame 1
function Detection() {
if (_root.User_SonicDisplacement == true) {
gotoAndStop ("Equipped");
} else if ((_root.User_SonicDisplacement == false) && (_root.User_Money < 1000)) {
gotoAndStop ("insufficient");
}
}
stop();
Detection();
buy_btn.onRelease = function () {
if (_root.User_Money >= 1000) {
_root.User_Money = _root.User_Money - 1000;
_root.User_SonicDisplacement = true;
_parent._parent.UpdatePopUps();
}
};
Symbol 1159 MovieClip Frame 1
function Detection() {
if (_root.User_DisruptionField == true) {
gotoAndStop ("Equipped");
} else if ((_root.User_DisruptionField == false) && (_root.User_Money < 250)) {
gotoAndStop ("insufficient");
}
}
stop();
Detection();
buy_btn.onRelease = function () {
if (_root.User_Money >= 250) {
_root.User_Money = _root.User_Money - 250;
_root.User_DisruptionField = true;
_parent._parent.UpdatePopUps();
}
};
Symbol 1161 MovieClip Frame 1
stop();
Symbol 1161 MovieClip Frame 2
stop();
function Detection() {
LAG_mc.Detection();
EHB_mc.Detection();
SD_mc.Detection();
DF_mc.Detection();
}
Symbol 1176 MovieClip Frame 1
stop();
Symbol 1176 MovieClip Frame 2
stop();
upgrade_btn.onRelease = function () {
if ((_root.User_Money >= 100) && (_root.Bounty < 150)) {
_root.User_Money = _root.User_Money - 100;
_root.Bounty = _root.Bounty + 1;
_parent._parent.UpdatePopUps();
}
};
Symbol 1176 MovieClip Frame 3
stop();
Symbol 1180 MovieClip Frame 1
stop();
Symbol 1180 MovieClip Frame 2
stop();
upgrade_btn.onRelease = function () {
if ((_root.User_Money >= 250) && (_root.Projectile_LifeTransfer < 100)) {
_root.User_Money = _root.User_Money - 250;
_root.Projectile_LifeTransfer = _root.Projectile_LifeTransfer + 1;
_parent._parent.UpdatePopUps();
}
};
Symbol 1180 MovieClip Frame 3
stop();
Symbol 1182 MovieClip Frame 1
stop();
Symbol 1182 MovieClip Frame 2
stop();
function Detection() {
bounty_txt.text = ("Bounty: " + (_root.Bounty - 100)) + "% / 50%";
transfer_txt.text = ("Life Transfer: " + _root.Projectile_LifeTransfer) + "% / 100%";
if (_root.Bounty < 150) {
if (_root.User_Money >= 100) {
bounty_mc.gotoAndStop("upgrade");
} else {
bounty_mc.gotoAndStop("insufficient");
}
} else {
bounty_mc.gotoAndStop("maxed");
}
if (_root.Projectile_LifeTransfer < 100) {
if (_root.User_Money >= 250) {
transfer_mc.gotoAndStop("upgrade");
} else {
transfer_mc.gotoAndStop("insufficient");
}
} else {
transfer_mc.gotoAndStop("maxed");
}
}
Detection();
Symbol 1192 MovieClip Frame 1
stop();
Symbol 1192 MovieClip Frame 2
stop();
upgrade_btn.onRelease = function () {
if ((_root.User_Money >= 125) && (_root.Projectile_Damage < 50)) {
_root.User_Money = _root.User_Money - 125;
_root.Projectile_Damage = _root.Projectile_Damage + 1;
_parent._parent.UpdatePopUps();
}
};
Symbol 1192 MovieClip Frame 3
stop();
Symbol 1196 MovieClip Frame 1
stop();
upgrade_btn.onRelease = function () {
if (_root.User_Money >= _root.User_PowerInfluenceCost) {
_root.User_Money = _root.User_Money - _root.User_PowerInfluenceCost;
_root.Projectile_Upgraded_Damage = _root.Projectile_Upgraded_Damage + 0.1;
_root.User_PowerInfluenceCost = _root.User_PowerInfluenceCost * 2;
_parent._parent.UpdatePopUps();
}
};
cost_txt.text = "Cost: $" + Cost;
Symbol 1196 MovieClip Frame 2
stop();
cost_txt.text = "Cost: $" + Cost;
Symbol 1198 MovieClip Frame 1
stop();
Symbol 1198 MovieClip Frame 2
stop();
function Detection() {
damage_txt.text = ("Projectile Damage: " + _root.Projectile_Damage) + "/50";
escalation_txt.text = ("Power Cell Escalation: " + (_root.Projectile_Upgraded_Damage * 100)) + "%";
if (_root.Projectile_Damage < 50) {
if (_root.User_Money >= 125) {
damage_mc.gotoAndStop("upgrade");
} else {
damage_mc.gotoAndStop("insufficient");
}
} else {
damage_mc.gotoAndStop("maxed");
}
influence_mc.Cost = _root.User_PowerInfluenceCost;
influence_mc.cost_txt.text = "Cost: $" + _root.User_PowerInfluenceCost;
if (_root.User_Money >= _root.User_PowerInfluenceCost) {
influence_mc.gotoAndStop("upgrade");
} else {
influence_mc.gotoAndStop("insufficient");
}
}
Detection();
Symbol 1205 MovieClip Frame 1
stop();
Symbol 1205 MovieClip Frame 2
stop();
upgrade_btn.onRelease = function () {
if ((_root.User_Money >= 125) && (_root.Projectile_Speed < 15)) {
_root.User_Money = _root.User_Money - 125;
_root.Projectile_Speed = _root.Projectile_Speed + 1;
_parent._parent.UpdatePopUps();
}
};
Symbol 1205 MovieClip Frame 3
stop();
Symbol 1209 MovieClip Frame 1
stop();
Symbol 1209 MovieClip Frame 2
stop();
upgrade_btn.onRelease = function () {
if ((_root.User_Money >= 75) && (_root.Projectile_SpeedUpgd < 0.33)) {
_root.User_Money = _root.User_Money - 75;
_root.Projectile_SpeedUpgd = _root.Projectile_SpeedUpgd + 0.01;
_parent._parent.UpdatePopUps();
}
};
Symbol 1209 MovieClip Frame 3
stop();
Symbol 1211 MovieClip Frame 1
stop();
Symbol 1211 MovieClip Frame 2
stop();
function Detection() {
velocity_txt.text = ("Projectile Velocity: " + _root.Projectile_Speed) + "/15";
velocity2_txt.text = ("Velocity Cell Boost: " + (_root.Projectile_SpeedUpgd * 100)) + "%";
if (_root.Projectile_Speed < 15) {
if (_root.User_Money >= 125) {
velocity_mc.gotoAndStop("upgrade");
} else {
velocity_mc.gotoAndStop("insufficient");
}
} else {
velocity_mc.gotoAndStop("maxed");
}
if (_root.Projectile_SpeedUpgd < 0.33) {
if (_root.User_Money >= 75) {
velocityb_mc.gotoAndStop("upgrade");
} else {
velocityb_mc.gotoAndStop("insufficient");
}
} else {
velocityb_mc.gotoAndStop("maxed");
}
}
Detection();
Symbol 1218 MovieClip Frame 1
stop();
Symbol 1218 MovieClip Frame 2
stop();
upgrade_btn.onRelease = function () {
if ((_root.User_Money >= 25) && (_root.Projectile_Inaccuracy > 0.1)) {
_root.User_Money = _root.User_Money - 25;
_root.Projectile_Inaccuracy = _root.Projectile_Inaccuracy - 0.01;
_parent._parent.UpdatePopUps();
}
};
Symbol 1218 MovieClip Frame 3
stop();
Symbol 1222 MovieClip Frame 1
stop();
Symbol 1222 MovieClip Frame 2
stop();
function Detection() {
accuracy_txt.text = ("Projectile Accuracy: " + ((1 - _root.Projectile_Inaccuracy) * 100)) + "%";
if (_root.Projectile_Inaccuracy > 0.1) {
if (_root.User_Money >= 25) {
accuracy_mc.gotoAndStop("upgrade");
} else {
accuracy_mc.gotoAndStop("insufficient");
}
} else {
accuracy_mc.gotoAndStop("maxed");
}
}
Detection();
Symbol 1232 MovieClip Frame 1
stop();
Symbol 1232 MovieClip Frame 2
stop();
upgrade_btn.onRelease = function () {
if ((_root.User_Money >= 80) && (_root.Projectile_Capacity < 100)) {
_root.User_Money = _root.User_Money - 80;
_root.Projectile_Capacity = _root.Projectile_Capacity + 1;
_parent._parent.UpdatePopUps();
}
};
Symbol 1232 MovieClip Frame 3
stop();
Symbol 1236 MovieClip Frame 1
stop();
Symbol 1236 MovieClip Frame 2
stop();
upgrade_btn.onRelease = function () {
if ((_root.User_Money >= 30) && (_root.Projectile_CapacityUpgd < 15)) {
_root.User_Money = _root.User_Money - 30;
_root.Projectile_CapacityUpgd = _root.Projectile_CapacityUpgd + 0.01;
_parent._parent.UpdatePopUps();
}
};
Symbol 1236 MovieClip Frame 3
stop();
Symbol 1238 MovieClip Frame 1
stop();
Symbol 1238 MovieClip Frame 2
stop();
function Detection() {
velocity_txt.text = ("Projectile Capacity: " + _root.Projectile_Capacity) + "/100";
velocity2_txt.text = ("Capacity Cell Increase: " + (_root.Projectile_CapacityUpgd * 100)) + "%";
if (_root.Projectile_Capacity < 100) {
if (_root.User_Money >= 80) {
capacity_mc.gotoAndStop("upgrade");
} else {
capacity_mc.gotoAndStop("insufficient");
}
} else {
capacity_mc.gotoAndStop("maxed");
}
if (_root.Projectile_CapacityUpgd < 1) {
if (_root.User_Money >= 30) {
capacityi_mc.gotoAndStop("upgrade");
} else {
capacityi_mc.gotoAndStop("insufficient");
}
} else {
capacityi_mc.gotoAndStop("maxed");
}
}
Detection();
Symbol 1242 MovieClip Frame 1
repair_mc.swapDepths(0);
satalite_mc.swapDepths(1);
computer_mc.swapDepths(2);
misc_mc.swapDepths(3);
power_mc.swapDepths(4);
precision_mc.swapDepths(5);
velocity_mc.swapDepths(6);
capacity_mc.swapDepths(7);
NewPopupDepth = 8;
function UpdatePopUps() {
repair_mc.GetAndSetHealth();
satalite_mc.Detection();
computer_mc.Detection();
misc_mc.Detection();
power_mc.Detection();
accuracy_mc.Detection();
velocity_mc.Detection();
capacity_mc.Detection();
}
Symbol 1253 Button
on (release) {
getURL ("http://www.godlygamer.com/", "_blank");
}
Symbol 1254 Button
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 1265 MovieClip Frame 1
stop();
Symbol 1265 MovieClip Frame 2
stop();
Symbol 1265 MovieClip Frame 3
stop();
Symbol 1265 MovieClip Frame 4
stop();
Symbol 1265 MovieClip Frame 5
stop();
Symbol 1268 MovieClip Frame 1
stop();
gotoAndStop(_root.DifficultySet);
Symbol 1268 MovieClip Frame 2
if (_root.AwardAchieved == false) {
award_mc.gotoAndStop("previous");
}
Symbol 1268 MovieClip Frame 3
if (_root.AwardAchieved == false) {
award_mc.gotoAndStop("previous");
}
Symbol 1268 MovieClip Frame 4
if (_root.AwardAchieved == false) {
award_mc.gotoAndStop("previous");
}
Symbol 1287 MovieClip Frame 1
stop();
Symbol 1287 MovieClip Frame 2
stop();
Symbol 1295 MovieClip Frame 1
stop();
Symbol 1302 MovieClip Frame 1
stop();
gotoAndStop(_root.GameStatus);
Symbol 1302 MovieClip Frame 2
Accuracy = Math.round((_root.Projectile_Hit / _root.Projectile_Shot) * 100);
Ranked = 0;
if ((_root.User_PlatformHealth > 0) && (_root.CheatsEnabled == false)) {
if (Accuracy >= 60) {
Ranked = 1;
}
if (Accuracy >= 75) {
Ranked = 2;
_parent.cheat_txt.text = "Cheat Granted: \"stabalizer\" - activates the laser aim guidance.";
}
if (Accuracy >= 90) {
Ranked = 3;
_parent.cheat_txt.text = "Cheat Granted: \"stabalizer\" - activates the laser aim guidance.";
_parent.cheat_txt.text = _parent.cheat_txt.text + "\nCheat Granted: \"sniper\" - grants perfect accuracy.";
}
if (Ranked >= 1) {
trophy_mc.gotoAndStop("R" + Ranked);
}
SavedData = SharedObject.getLocal("Data");
if (isNaN(SavedData.data.Accuracy)) {
SavedData.data.Accuracy = 0;
}
if (SavedData.data.Accuracy < Ranked) {
SavedData.data.Accuracy = Ranked;
} else if (Accuracy < 60) {
award_mc.gotoAndStop("noaward");
} else {
award_mc.gotoAndStop("previous");
}
} else if (_root.CheatsEnabled == true) {
award_mc.gotoAndStop("cheats");
} else {
award_mc.gotoAndStop("survive");
}
display_txt.text = ("Accuracy: " + Accuracy) + "%\n";
display_txt.text = display_txt.text + "Bronze: 60-74%\n";
display_txt.text = display_txt.text + "Silver: 75-89%\n";
display_txt.text = display_txt.text + "Gold: 90-100%";
Symbol 1302 MovieClip Frame 3
Kills = 100 - _root.Enemies_Remain;
Ranked = 0;
if (_root.CheatsEnabled == false) {
if (Kills >= 40) {
Ranked = 1;
}
if (Kills >= 70) {
Ranked = 2;
_parent.cheat_txt.text = "Cheat Granted: \"shield\" - activates the sonic displacement and disruption field.";
}
if (Kills >= 90) {
Ranked = 3;
_parent.cheat_txt.text = "Cheat Granted: \"shield\" - activates the sonic displacement and disruption field.";
_parent.cheat_txt.text = _parent.cheat_txt.text + "\nCheat Granted: \"vampiric\" - sets your life transfer to 100.";
}
if (Ranked >= 1) {
trophy_mc.gotoAndStop("R" + Ranked);
}
SavedData = SharedObject.getLocal("Data");
if (isNaN(SavedData.data.Fortitude)) {
SavedData.data.Fortitude = 0;
}
if (SavedData.data.Fortitude < Ranked) {
SavedData.data.Fortitude = Ranked;
} else if (Kills < 40) {
award_mc.gotoAndStop("noaward");
} else {
award_mc.gotoAndStop("previous");
}
} else {
award_mc.gotoAndStop("cheats");
}
display_txt.text = ("Kills: " + Kills) + newline;
display_txt.text = display_txt.text + "Bronze: 49-69\n";
display_txt.text = display_txt.text + "Silver: 70-89\n";
display_txt.text = display_txt.text + "Gold: 90-100";
Symbol 1302 MovieClip Frame 4
Kills = 500 - _root.Enemies_Remain;
Ranked = 0;
if (_root.CheatsEnabled == false) {
if (Kills >= 200) {
Ranked = 1;
}
if (Kills >= 350) {
Ranked = 2;
_parent.cheat_txt.text = "Cheat Granted: \"vision\" - activates enemy healthbars.";
}
if (Kills >= 450) {
Ranked = 3;
_parent.cheat_txt.text = "Cheat Granted: \"vision\" - activates enemy healthbars.";
_parent.cheat_txt.text = _parent.cheat_txt.text + "\nCheat Granted: \"bounty hunter\" - sets bounty rating to 200%.";
}
if (Ranked >= 1) {
trophy_mc.gotoAndStop("R" + Ranked);
}
SavedData = SharedObject.getLocal("Data");
if (isNaN(SavedData.data.Endurance)) {
SavedData.data.Endurance = 0;
}
if (SavedData.data.Endurance < Ranked) {
SavedData.data.Endurance = Ranked;
} else if (Kills < 200) {
award_mc.gotoAndStop("noaward");
} else {
award_mc.gotoAndStop("previous");
}
} else {
award_mc.gotoAndStop("cheats");
}
display_txt.text = ("Kills: " + Kills) + newline;
display_txt.text = display_txt.text + "Bronze: 200-349\n";
display_txt.text = display_txt.text + "Silver: 350-449\n";
display_txt.text = display_txt.text + "Gold: 450-500";
Symbol 1310 MovieClip Frame 1
stop();
Symbol 1310 MovieClip Frame 2
yes_btn.onRelease = function () {
_root.gotoAndStop("MainMenu");
_root.PauseGame = false;
_root.SpecialPause = false;
_root.ClearGameFunctionality();
};
no_btn.onRelease = function () {
_root.PauseGame = false;
_root.SpecialPause = false;
gotoAndStop ("close");
};
cover_btn.useHandCursor = false;
Symbol 1310 MovieClip Frame 3
stop();
continue_btn.onRelease = function () {
_root.PauseGame = false;
_root.SpecialPause = false;
gotoAndStop ("close");
};
submit_btn.onRelease = function () {
gotoAndStop ("submit");
};
menu_btn.onRelease = function () {
_root.gotoAndStop("MainMenu");
_root.PauseGame = false;
_root.SpecialPause = false;
_root.ClearGameFunctionality();
};
complete_txt.text = _root.DifficultySet + " Campaign Complete.";
if (_root.DifficultySet == "Easy") {
cheat_txt.text = "Cheat Granted: \"cheetah\" - grants maximum projectile velocity and cell boost.";
}
if (_root.DifficultySet == "Normal") {
cheat_txt.text = "Cheat Granted: \"gatling gun\" - maximizes capacity, and increases reload rate.";
}
if (_root.DifficultySet == "Hard") {
cheat_txt.text = "Cheat Granted: \"armageddon\" - grants maximum damage, and increases fire rate.";
}
cover_btn.useHandCursor = false;
Symbol 1310 MovieClip Frame 4
stop();
sending_mc.submit_btn.onRelease = function () {
if (_root.CheatsEnabled == false) {
sending_mc.gotoAndStop("send");
System.security.loadPolicyFile("http://www.godlygamer.com/Highscores/policy.xml");
SendVars = new LoadVars();
targetObject = new LoadVars();
SendVars.Check = "send";
SendVars.SecondCheck = "A7JM23";
SendVars.Table = _root.DifficultySet;
SendVars.SendName = username_txt.text;
SendVars.SendScore = _root.User_Score;
SendVars.SendLevel = _root.User_Wave;
targetObject.onLoad = function (success) {
if (success) {
_root.ScoreResult = this.resulted;
gotoAndStop ("sentS");
} else {
gotoAndStop ("sentF");
}
};
SendVars.sendAndLoad("http://www.godlygamer.com/Highscores/ancillary2.php", targetObject, "POST");
} else {
gotoAndStop ("cheater");
}
};
menu_btn.onRelease = function () {
_root.gotoAndStop("MainMenu");
_root.PauseGame = false;
_root.SpecialPause = false;
_root.ClearGameFunctionality();
};
complete_txt.text = _root.DifficultySet + " Campaign Failed.";
score_txt.text = _root.User_Score;
level_txt.text = _root.User_Wave;
cover_btn.useHandCursor = false;
Symbol 1310 MovieClip Frame 5
stop();
sending_mc.submit_btn.onRelease = function () {
if (_root.CheatsEnabled == false) {
sending_mc.gotoAndStop("send");
System.security.loadPolicyFile("http://www.godlygamer.com/Highscores/policy.xml");
SendVars = new LoadVars();
targetObject = new LoadVars();
SendVars.Check = "send";
SendVars.SecondCheck = "A7JM23";
SendVars.Table = _root.DifficultySet;
SendVars.SendName = username_txt.text;
SendVars.SendScore = _root.User_Score;
SendVars.SendLevel = _root.User_Wave;
targetObject.onLoad = function (success) {
if (success) {
_root.ScoreResult = this.resulted;
gotoAndStop ("sentS");
} else {
gotoAndStop ("sentF");
}
};
SendVars.sendAndLoad("http://www.godlygamer.com/Highscores/ancillary2.php", targetObject, "POST");
} else {
gotoAndStop ("cheater");
}
};
menu_btn.onRelease = function () {
_root.gotoAndStop("MainMenu");
_root.PauseGame = false;
_root.SpecialPause = false;
_root.ClearGameFunctionality();
};
complete_txt.text = _root.DifficultySet + " Campaign Complete.";
score_txt.text = _root.User_Score;
level_txt.text = _root.User_Wave;
cover_btn.useHandCursor = false;
Symbol 1310 MovieClip Frame 6
stop();
menu_btn.onRelease = function () {
_root.gotoAndStop("MainMenu");
_root.PauseGame = false;
_root.SpecialPause = false;
_root.ClearGameFunctionality();
};
complete_txt.text = _root.GameStatus + " Challenge Ended.";
cover_btn.useHandCursor = false;
Symbol 1310 MovieClip Frame 7
stop();
menu_btn.onRelease = function () {
_root.gotoAndStop("MainMenu");
_root.PauseGame = false;
_root.SpecialPause = false;
_root.ClearGameFunctionality();
};
if (_root.ScoreResult != "nohighscore") {
info_txt.text = ("You've made it into the\nTop " + _root.ScoreResult) + " Highscores.";
} else {
info_txt.text = "You've failed to set\na Highscore.";
}
cover_btn.useHandCursor = false;
Symbol 1310 MovieClip Frame 8
stop();
menu_btn.onRelease = function () {
_root.gotoAndStop("MainMenu");
_root.PauseGame = false;
_root.SpecialPause = false;
_root.ClearGameFunctionality();
};
cover_btn.useHandCursor = false;
Symbol 1310 MovieClip Frame 9
stop();
menu_btn.onRelease = function () {
_root.gotoAndStop("MainMenu");
_root.PauseGame = false;
_root.SpecialPause = false;
_root.ClearGameFunctionality();
};
cover_btn.useHandCursor = false;
Symbol 1311 MovieClip Frame 1
menu_btn.onRelease = function () {
_root.PauseGame = true;
_root.SpecialPause = true;
askMenu_mc.gotoAndStop("open");
};
Symbol 1316 MovieClip Frame 1
totalTime_txt.text = "Total Time Spent Playing Ancillary: ";
if (_root.TotalGameTime_Hours > 0) {
if (_root.TotalGameTime_Hours == 1) {
totalTime_txt.text = totalTime_txt.text + (_root.TotalGameTime_Hours + " Hour, ");
} else {
totalTime_txt.text = totalTime_txt.text + (_root.TotalGameTime_Hours + " Hours, ");
}
}
if (_root.TotalGameTime_Minutes > 0) {
if (_root.TotalGameTime_Minutes == 1) {
totalTime_txt.text = totalTime_txt.text + (_root.TotalGameTime_Minutes + " Minute, ");
} else {
totalTime_txt.text = totalTime_txt.text + (_root.TotalGameTime_Minutes + " Minutes, ");
}
}
if (_root.TotalGameTime_Seconds == 1) {
totalTime_txt.text = totalTime_txt.text + (_root.TotalGameTime_Seconds + " Second.");
} else {
totalTime_txt.text = totalTime_txt.text + (_root.TotalGameTime_Seconds + " Seconds.");
}
campaignTime_txt.text = "Time Spent on ";
if (_root.GameStatus == "Campaign") {
campaignTime_txt.text = campaignTime_txt.text + "Campaign: ";
} else {
campaignTime_txt.text = campaignTime_txt.text + "Challenge: ";
}
if (_root.CampaignGameTime_Hours > 0) {
if (_root.CampaignGameTime_Hours == 1) {
campaignTime_txt.text = campaignTime_txt.text + (_root.CampaignGameTime_Hours + " Hour, ");
} else {
campaignTime_txt.text = campaignTime_txt.text + (_root.CampaignGameTime_Hours + " Hours, ");
}
}
if (_root.CampaignGameTime_Minutes > 0) {
if (_root.CampaignGameTime_Minutes == 1) {
campaignTime_txt.text = campaignTime_txt.text + (_root.CampaignGameTime_Minutes + " Minute, ");
} else {
campaignTime_txt.text = campaignTime_txt.text + (_root.CampaignGameTime_Minutes + " Minutes, ");
}
}
if (_root.CampaignGameTime_Seconds == 1) {
campaignTime_txt.text = campaignTime_txt.text + (_root.CampaignGameTime_Seconds + " Second.");
} else {
campaignTime_txt.text = campaignTime_txt.text + (_root.CampaignGameTime_Seconds + " Seconds.");
}
levelTime_txt.text = "Time Spent on Level: ";
if (_root.LevelGameTime_Hours > 0) {
if (_root.LevelGameTime_Hours == 1) {
levelTime_txt.text = levelTime_txt.text + (_root.LevelGameTime_Hours + " Hour, ");
} else {
levelTime_txt.text = levelTime_txt.text + (_root.LevelGameTime_Hours + " Hours, ");
}
}
if (_root.LevelGameTime_Minutes > 0) {
if (_root.LevelGameTime_Minutes == 1) {
levelTime_txt.text = levelTime_txt.text + (_root.LevelGameTime_Minutes + " Minute, ");
} else {
levelTime_txt.text = levelTime_txt.text + (_root.LevelGameTime_Minutes + " Minutes, ");
}
}
if (_root.LevelGameTime_Seconds == 1) {
levelTime_txt.text = levelTime_txt.text + (_root.LevelGameTime_Seconds + " Second.");
} else {
levelTime_txt.text = levelTime_txt.text + (_root.LevelGameTime_Seconds + " Seconds.");
}
Symbol 1319 MovieClip Frame 1
stop();
if (_root.User_LaserAim == true) {
gotoAndStop ("allow");
}
Symbol 1319 MovieClip Frame 2
laser_mc.Action = "User_LaserAimEquipped";
Symbol 1321 MovieClip Frame 1
stop();
if (_root.User_EnemyHealthbars == true) {
gotoAndStop ("allow");
}
Symbol 1321 MovieClip Frame 2
health_mc.Action = "User_EnemyHealthbarsEquipped";
Symbol 1323 MovieClip Frame 1
sound_mc.Action = "SoundsFunction";
Symbol 1323 MovieClip Frame 2
if (_root.SoundsFunction == true) {
sound_mc.gotoAndStop("On");
}
if (_root.SoundsFunction == false) {
sound_mc.gotoAndStop("Off");
}
Symbol 1323 MovieClip Frame 3
gotoAndPlay (2);
Symbol 1325 MovieClip Frame 1
music_mc.Action = "MusicFunction";
Symbol 1325 MovieClip Frame 2
if (_root.MusicFunction == true) {
music_mc.gotoAndStop("On");
}
if (_root.MusicFunction == false) {
music_mc.gotoAndStop("Off");
}
Symbol 1325 MovieClip Frame 3
gotoAndPlay (2);
Symbol 1342 MovieClip Frame 1
medium_btn.onRelease = function () {
_quality = "MEDIUM";
};
low_btn.onRelease = function () {
_quality = "LOW";
};
Symbol 1342 MovieClip Frame 2
high_btn.onRelease = function () {
_quality = "HIGH";
};
low_btn.onRelease = function () {
_quality = "LOW";
};
Symbol 1342 MovieClip Frame 3
high_btn.onRelease = function () {
_quality = "HIGH";
};
medium_btn.onRelease = function () {
_quality = "MEDIUM";
};
Symbol 1343 MovieClip Frame 1
quality_mc.gotoAndStop(_quality);
Symbol 1343 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1360 MovieClip Frame 1
stop();
if (_root.CheatsEnabled == true) {
gotoAndStop ("enabled");
}
enable_btn.onRelease = function () {
gotoAndStop ("ask");
};
Symbol 1360 MovieClip Frame 2
stop();
yes_btn.onRelease = function () {
_root.CheatsEnabled = true;
gotoAndStop ("enabled");
};
no_btn.onRelease = function () {
gotoAndStop ("option");
};
Symbol 1360 MovieClip Frame 3
stop();
cheats_txt.onKillFocus = function () {
_root.TextFocus = false;
};
cheats_txt.onSetFocus = function () {
_root.TextFocus = true;
};
function Correct() {
if (_root.SoundsFunction == true) {
var _local2 = new Sound();
_local2.attachSound("CheatCorrect.wav");
_local2.start();
}
}
submit_btn.onRelease = function () {
if (cheats_txt.text == "armageddon") {
_root.Projectile_Damage = 50;
_root.Projectile_Reload = 3;
Correct();
} else if (cheats_txt.text == "sniper") {
_root.Projectile_Inaccuracy = 0;
Correct();
} else if (cheats_txt.text == "cheetah") {
_root.Projectile_Speed = 15;
_root.Projectile_SpeedUpgd = 0.33;
Correct();
} else if (cheats_txt.text == "gatling gun") {
_root.Projectile_Capacity = 100;
_root.Projectile_CapacityUpgd = 1;
_root.Projectile_AmmoReload = 20;
Correct();
} else if (cheats_txt.text == "bounty hunter") {
_root.Bounty = 300;
Correct();
} else if (cheats_txt.text == "vampiric") {
_root.Projectile_LifeTransfer = 100;
Correct();
} else if (cheats_txt.text == "shield") {
_root.User_SonicDisplacement = true;
_root.User_DisruptionField = true;
Correct();
} else if (cheats_txt.text == "stabilizer") {
_root.User_LaserAim = true;
_root.User_LaserAimEquipped = true;
Correct();
} else if (cheats_txt.text == "vision") {
_root.User_EnemyHealthbars = true;
_root.User_EnemyHealthbarsEquipped = true;
Correct();
} else if (cheats_txt.text == "sentinel") {
_root.User_Invulnerable = true;
Correct();
} else if (_root.SoundsFunction == true) {
var _local2 = new Sound();
_local2.attachSound("CheatIncorrect.wav");
_local2.start();
}
cheats_txt.text = "";
};
Symbol 1361 MovieClip Frame 1
stop();
Symbol 1361 MovieClip Frame 2
cover_btn.useHandCursor = false;
Symbol 1382 MovieClip Frame 1
stop();
if (_root.User_Wave <= 40) {
gotoAndStop(_root.User_Wave);
} else {
gotoAndStop (41);
}
Symbol 1382 MovieClip Frame 2
_root.Enemy1_Speed = 0.7525;
_root.Enemy1_Health = Math.round(38 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 11;
_root.Enemy1_Points = 17;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(1.2 * _root.Difficulty);
_root.Enemy2_Speed = 0.7525;
_root.Enemy2_Health = Math.round(48 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 16;
_root.Enemy2_Points = 22;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(2.2 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 11;
_root.Enemies_Remain = 11;
_root.Enemies_SpawnTimer = 39;
_root.Enemies_Spawner = 39;
_root.Enemies_Selection = 2;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 3
_root.Enemy1_Speed = 0.755;
_root.Enemy1_Health = Math.round(46 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 12;
_root.Enemy1_Points = 19;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(1.4 * _root.Difficulty);
_root.Enemy2_Speed = 0.755;
_root.Enemy2_Health = Math.round(56 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 17;
_root.Enemy2_Points = 24;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(2.4 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 11;
_root.Enemies_Remain = 11;
_root.Enemies_SpawnTimer = 39;
_root.Enemies_Spawner = 39;
_root.Enemies_Selection = 2;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 4
_root.Enemy1_Speed = 0.7575;
_root.Enemy1_Health = Math.round(54 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 13;
_root.Enemy1_Points = 21;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(1.6 * _root.Difficulty);
_root.Enemy2_Speed = 0.7575;
_root.Enemy2_Health = Math.round(64 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 18;
_root.Enemy2_Points = 26;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(2.6 * _root.Difficulty);
_root.Enemy3_Speed = 0.7575;
_root.Enemy3_Health = Math.round(74 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 23;
_root.Enemy3_Points = 31;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(3.6 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 11;
_root.Enemies_Remain = 11;
_root.Enemies_SpawnTimer = 39;
_root.Enemies_Spawner = 39;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 5
_root.Enemy1_Speed = 0.76;
_root.Enemy1_Health = Math.round(62 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 14;
_root.Enemy1_Points = 23;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(1.8 * _root.Difficulty);
_root.Enemy2_Speed = 0.76;
_root.Enemy2_Health = Math.round(72 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 19;
_root.Enemy2_Points = 28;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(2.8 * _root.Difficulty);
_root.Enemy3_Speed = 0.76;
_root.Enemy3_Health = Math.round(82 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 24;
_root.Enemy3_Points = 33;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(3.8 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 11;
_root.Enemies_Remain = 11;
_root.Enemies_SpawnTimer = 38;
_root.Enemies_Spawner = 38;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 6
_root.Enemy2_Speed = 0.7625;
_root.Enemy2_Health = Math.round(80 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 20;
_root.Enemy2_Points = 30;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(3 * _root.Difficulty);
_root.Enemy3_Speed = 0.7625;
_root.Enemy3_Health = Math.round(90 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 25;
_root.Enemy3_Points = 35;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(4 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 12;
_root.Enemies_Remain = 12;
_root.Enemies_SpawnTimer = 38;
_root.Enemies_Spawner = 38;
_root.Enemies_Selection = 2;
_root.SpawnEnemy1 = "Enemy2";
_root.SpawnEnemy2 = "Enemy3";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 7
_root.Enemy2_Speed = 0.765;
_root.Enemy2_Health = Math.round(88 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 21;
_root.Enemy2_Points = 32;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(3.2 * _root.Difficulty);
_root.Enemy3_Speed = 0.765;
_root.Enemy3_Health = Math.round(98 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 26;
_root.Enemy3_Points = 37;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(4.2 * _root.Difficulty);
_root.Enemy4_Speed = 0.84;
_root.Enemy4_Health = Math.round(114 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 37;
_root.Enemy4_Points = 54;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(5.2 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 12;
_root.Enemies_Remain = 12;
_root.Enemies_SpawnTimer = 38;
_root.Enemies_Spawner = 38;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy2";
_root.SpawnEnemy2 = "Enemy3";
_root.SpawnEnemy3 = "Enemy4";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 8
_root.Enemy2_Speed = 0.7675;
_root.Enemy2_Health = Math.round(96 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 22;
_root.Enemy2_Points = 34;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(3.4 * _root.Difficulty);
_root.Enemy3_Speed = 0.7675;
_root.Enemy3_Health = Math.round(106 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 27;
_root.Enemy3_Points = 39;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(4.4 * _root.Difficulty);
_root.Enemy4_Speed = 0.8425;
_root.Enemy4_Health = Math.round(123 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 39;
_root.Enemy4_Points = 58;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(5.4 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 12;
_root.Enemies_Remain = 12;
_root.Enemies_SpawnTimer = 37;
_root.Enemies_Spawner = 37;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy2";
_root.SpawnEnemy2 = "Enemy3";
_root.SpawnEnemy3 = "Enemy4";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 9
_root.Enemy3_Speed = 0.77;
_root.Enemy3_Health = Math.round(114 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 28;
_root.Enemy3_Points = 41;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(4.6 * _root.Difficulty);
_root.Enemy4_Speed = 0.845;
_root.Enemy4_Health = Math.round(132 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 41;
_root.Enemy4_Points = 62;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(5.6 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 12;
_root.Enemies_Remain = 12;
_root.Enemies_SpawnTimer = 37;
_root.Enemies_Spawner = 37;
_root.Enemies_Selection = 2;
_root.SpawnEnemy1 = "Enemy3";
_root.SpawnEnemy2 = "Enemy4";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 10
_root.Enemy3_Speed = 0.7725;
_root.Enemy3_Health = Math.round(122 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 29;
_root.Enemy3_Points = 43;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(4.8 * _root.Difficulty);
_root.Enemy4_Speed = 0.8475;
_root.Enemy4_Health = Math.round(141 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 43;
_root.Enemy4_Points = 66;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(5.8 * _root.Difficulty);
_root.Enemy5_Speed = 0.8475;
_root.Enemy5_Health = Math.round(151 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 48;
_root.Enemy5_Points = 71;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(6.8 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 13;
_root.Enemies_Remain = 13;
_root.Enemies_SpawnTimer = 37;
_root.Enemies_Spawner = 37;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy3";
_root.SpawnEnemy2 = "Enemy4";
_root.SpawnEnemy3 = "Enemy5";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 11
_root.Enemy3_Speed = 0.775;
_root.Enemy3_Health = Math.round(130 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 30;
_root.Enemy3_Points = 45;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(5 * _root.Difficulty);
_root.Enemy4_Speed = 0.85;
_root.Enemy4_Health = Math.round(150 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 45;
_root.Enemy4_Points = 70;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(6 * _root.Difficulty);
_root.Enemy5_Speed = 0.85;
_root.Enemy5_Health = Math.round(160 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 50;
_root.Enemy5_Points = 75;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(7 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 13;
_root.Enemies_Remain = 13;
_root.Enemies_SpawnTimer = 36;
_root.Enemies_Spawner = 36;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy3";
_root.SpawnEnemy2 = "Enemy4";
_root.SpawnEnemy3 = "Enemy5";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 12
_root.Enemy4_Speed = 0.8525;
_root.Enemy4_Health = Math.round(159 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 47;
_root.Enemy4_Points = 74;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(6.2 * _root.Difficulty);
_root.Enemy5_Speed = 0.8525;
_root.Enemy5_Health = Math.round(169 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 52;
_root.Enemy5_Points = 79;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(7.2 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 13;
_root.Enemies_Remain = 13;
_root.Enemies_SpawnTimer = 36;
_root.Enemies_Spawner = 36;
_root.Enemies_Selection = 2;
_root.SpawnEnemy1 = "Enemy4";
_root.SpawnEnemy2 = "Enemy5";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 13
_root.Enemy4_Speed = 0.855;
_root.Enemy4_Health = Math.round(168 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 49;
_root.Enemy4_Points = 78;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(6.4 * _root.Difficulty);
_root.Enemy5_Speed = 0.855;
_root.Enemy5_Health = Math.round(178 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 54;
_root.Enemy5_Points = 83;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(7.4 * _root.Difficulty);
_root.Enemy6_Speed = 0.78;
_root.Enemy6_Health = Math.round(200 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 71;
_root.Enemy6_Points = 112;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(12.8 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 13;
_root.Enemies_Remain = 13;
_root.Enemies_SpawnTimer = 36;
_root.Enemies_Spawner = 36;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy4";
_root.SpawnEnemy2 = "Enemy5";
_root.SpawnEnemy3 = "Enemy6";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 14
_root.Enemy4_Speed = 0.8575;
_root.Enemy4_Health = Math.round(177 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 51;
_root.Enemy4_Points = 82;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(6.6 * _root.Difficulty);
_root.Enemy5_Speed = 0.8575;
_root.Enemy5_Health = Math.round(187 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 56;
_root.Enemy5_Points = 87;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(7.6 * _root.Difficulty);
_root.Enemy6_Speed = 0.7825;
_root.Enemy6_Health = Math.round(210 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 74;
_root.Enemy6_Points = 118;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(13.2 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 14;
_root.Enemies_Remain = 14;
_root.Enemies_SpawnTimer = 35;
_root.Enemies_Spawner = 35;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy4";
_root.SpawnEnemy2 = "Enemy5";
_root.SpawnEnemy3 = "Enemy6";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 15
_root.Enemy5_Speed = 0.86;
_root.Enemy5_Health = Math.round(196 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 58;
_root.Enemy5_Points = 91;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(7.8 * _root.Difficulty);
_root.Enemy6_Speed = 0.785;
_root.Enemy6_Health = Math.round(220 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 77;
_root.Enemy6_Points = 124;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(13.6 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 14;
_root.Enemies_Remain = 14;
_root.Enemies_SpawnTimer = 35;
_root.Enemies_Spawner = 35;
_root.Enemies_Selection = 2;
_root.SpawnEnemy1 = "Enemy5";
_root.SpawnEnemy2 = "Enemy6";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 16
_root.Enemy5_Speed = 0.8625;
_root.Enemy5_Health = Math.round(205 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 60;
_root.Enemy5_Points = 95;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(8 * _root.Difficulty);
_root.Enemy6_Speed = 0.7875;
_root.Enemy6_Health = Math.round(230 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 80;
_root.Enemy6_Points = 130;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(14 * _root.Difficulty);
_root.Enemy7_Speed = 0.7875;
_root.Enemy7_Health = Math.round(240 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 85;
_root.Enemy7_Points = 135;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(15 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 14;
_root.Enemies_Remain = 14;
_root.Enemies_SpawnTimer = 35;
_root.Enemies_Spawner = 35;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy5";
_root.SpawnEnemy2 = "Enemy6";
_root.SpawnEnemy3 = "Enemy7";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 17
_root.Enemy5_Speed = 0.865;
_root.Enemy5_Health = Math.round(214 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 62;
_root.Enemy5_Points = 99;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(8.2 * _root.Difficulty);
_root.Enemy6_Speed = 0.79;
_root.Enemy6_Health = Math.round(240 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 83;
_root.Enemy6_Points = 136;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(14.4 * _root.Difficulty);
_root.Enemy7_Speed = 0.79;
_root.Enemy7_Health = Math.round(250 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 88;
_root.Enemy7_Points = 141;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(15.4 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 14;
_root.Enemies_Remain = 14;
_root.Enemies_SpawnTimer = 34;
_root.Enemies_Spawner = 34;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy5";
_root.SpawnEnemy2 = "Enemy6";
_root.SpawnEnemy3 = "Enemy7";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 18
_root.Enemy6_Speed = 0.7925;
_root.Enemy6_Health = Math.round(250 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 86;
_root.Enemy6_Points = 142;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(14.8 * _root.Difficulty);
_root.Enemy7_Speed = 0.7925;
_root.Enemy7_Health = Math.round(260 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 91;
_root.Enemy7_Points = 147;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(15.8 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 15;
_root.Enemies_Remain = 15;
_root.Enemies_SpawnTimer = 34;
_root.Enemies_Spawner = 34;
_root.Enemies_Selection = 2;
_root.SpawnEnemy1 = "Enemy6";
_root.SpawnEnemy2 = "Enemy7";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 19
_root.Enemy6_Speed = 0.795;
_root.Enemy6_Health = Math.round(260 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 89;
_root.Enemy6_Points = 148;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(15.2 * _root.Difficulty);
_root.Enemy7_Speed = 0.795;
_root.Enemy7_Health = Math.round(270 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 94;
_root.Enemy7_Points = 153;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(16.2 * _root.Difficulty);
_root.Enemy8_Speed = 0.795;
_root.Enemy8_Health = Math.round(280 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 99;
_root.Enemy8_Points = 158;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(17.2 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 15;
_root.Enemies_Remain = 15;
_root.Enemies_SpawnTimer = 34;
_root.Enemies_Spawner = 34;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy6";
_root.SpawnEnemy2 = "Enemy7";
_root.SpawnEnemy3 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 20
_root.Enemy6_Speed = 0.7975;
_root.Enemy6_Health = Math.round(270 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 92;
_root.Enemy6_Points = 154;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(15.6 * _root.Difficulty);
_root.Enemy7_Speed = 0.7975;
_root.Enemy7_Health = Math.round(280 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 97;
_root.Enemy7_Points = 159;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(16.6 * _root.Difficulty);
_root.Enemy8_Speed = 0.7975;
_root.Enemy8_Health = Math.round(290 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 102;
_root.Enemy8_Points = 164;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(17.6 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 15;
_root.Enemies_Remain = 15;
_root.Enemies_SpawnTimer = 33;
_root.Enemies_Spawner = 33;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy6";
_root.SpawnEnemy2 = "Enemy7";
_root.SpawnEnemy3 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 21
_root.Enemy5_Speed = 0.875;
_root.Enemy5_Health = Math.round(250 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 70;
_root.Enemy5_Points = 115;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(9 * _root.Difficulty);
_root.Enemy6_Speed = 0.8;
_root.Enemy6_Health = Math.round(280 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 95;
_root.Enemy6_Points = 160;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(16 * _root.Difficulty);
_root.Enemy7_Speed = 0.8;
_root.Enemy7_Health = Math.round(290 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 100;
_root.Enemy7_Points = 165;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(17 * _root.Difficulty);
_root.Enemy8_Speed = 0.8;
_root.Enemy8_Health = Math.round(300 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 105;
_root.Enemy8_Points = 170;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(18 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 15;
_root.Enemies_Remain = 15;
_root.Enemies_SpawnTimer = 33;
_root.Enemies_Spawner = 33;
_root.Enemies_Selection = 4;
_root.SpawnEnemy1 = "Enemy5";
_root.SpawnEnemy2 = "Enemy6";
_root.SpawnEnemy3 = "Enemy7";
_root.SpawnEnemy4 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 22
_root.Enemy4_Speed = 0.8775;
_root.Enemy4_Health = Math.round(249 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 67;
_root.Enemy4_Points = 114;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(8.2 * _root.Difficulty);
_root.Enemy5_Speed = 0.8775;
_root.Enemy5_Health = Math.round(259 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 72;
_root.Enemy5_Points = 119;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(9.2 * _root.Difficulty);
_root.Enemy6_Speed = 0.8025;
_root.Enemy6_Health = Math.round(290 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 98;
_root.Enemy6_Points = 166;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(16.4 * _root.Difficulty);
_root.Enemy7_Speed = 0.8025;
_root.Enemy7_Health = Math.round(300 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 103;
_root.Enemy7_Points = 171;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(17.4 * _root.Difficulty);
_root.Enemy8_Speed = 0.8025;
_root.Enemy8_Health = Math.round(310 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 108;
_root.Enemy8_Points = 176;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(18.4 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 16;
_root.Enemies_Remain = 16;
_root.Enemies_SpawnTimer = 33;
_root.Enemies_Spawner = 33;
_root.Enemies_Selection = 5;
_root.SpawnEnemy1 = "Enemy4";
_root.SpawnEnemy2 = "Enemy5";
_root.SpawnEnemy3 = "Enemy6";
_root.SpawnEnemy4 = "Enemy7";
_root.SpawnEnemy5 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 23
_root.Enemy3_Speed = 0.805;
_root.Enemy3_Health = Math.round(226 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 42;
_root.Enemy3_Points = 69;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(7.4 * _root.Difficulty);
_root.Enemy4_Speed = 0.88;
_root.Enemy4_Health = Math.round(258 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 69;
_root.Enemy4_Points = 118;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(8.4 * _root.Difficulty);
_root.Enemy5_Speed = 0.88;
_root.Enemy5_Health = Math.round(268 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 74;
_root.Enemy5_Points = 123;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(9.4 * _root.Difficulty);
_root.Enemy6_Speed = 0.805;
_root.Enemy6_Health = Math.round(300 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 101;
_root.Enemy6_Points = 172;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(16.8 * _root.Difficulty);
_root.Enemy7_Speed = 0.805;
_root.Enemy7_Health = Math.round(310 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 106;
_root.Enemy7_Points = 177;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(17.8 * _root.Difficulty);
_root.Enemy8_Speed = 0.805;
_root.Enemy8_Health = Math.round(320 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 111;
_root.Enemy8_Points = 182;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(18.8 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 16;
_root.Enemies_Remain = 16;
_root.Enemies_SpawnTimer = 32;
_root.Enemies_Spawner = 32;
_root.Enemies_Selection = 6;
_root.SpawnEnemy1 = "Enemy3";
_root.SpawnEnemy2 = "Enemy4";
_root.SpawnEnemy3 = "Enemy5";
_root.SpawnEnemy4 = "Enemy6";
_root.SpawnEnemy5 = "Enemy7";
_root.SpawnEnemy6 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 24
_root.Enemy2_Speed = 0.8075;
_root.Enemy2_Health = Math.round(224 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 38;
_root.Enemy2_Points = 66;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(6.6 * _root.Difficulty);
_root.Enemy3_Speed = 0.8075;
_root.Enemy3_Health = Math.round(234 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 43;
_root.Enemy3_Points = 71;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(7.6 * _root.Difficulty);
_root.Enemy4_Speed = 0.8825;
_root.Enemy4_Health = Math.round(267 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 71;
_root.Enemy4_Points = 122;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(8.6 * _root.Difficulty);
_root.Enemy5_Speed = 0.8825;
_root.Enemy5_Health = Math.round(277 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 76;
_root.Enemy5_Points = 127;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(9.6 * _root.Difficulty);
_root.Enemy6_Speed = 0.8075;
_root.Enemy6_Health = Math.round(310 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 104;
_root.Enemy6_Points = 178;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(17.2 * _root.Difficulty);
_root.Enemy7_Speed = 0.8075;
_root.Enemy7_Health = Math.round(320 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 109;
_root.Enemy7_Points = 183;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(18.2 * _root.Difficulty);
_root.Enemy8_Speed = 0.8075;
_root.Enemy8_Health = Math.round(330 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 114;
_root.Enemy8_Points = 188;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(19.2 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 16;
_root.Enemies_Remain = 16;
_root.Enemies_SpawnTimer = 32;
_root.Enemies_Spawner = 32;
_root.Enemies_Selection = 7;
_root.SpawnEnemy1 = "Enemy2";
_root.SpawnEnemy2 = "Enemy3";
_root.SpawnEnemy3 = "Enemy4";
_root.SpawnEnemy4 = "Enemy5";
_root.SpawnEnemy5 = "Enemy6";
_root.SpawnEnemy6 = "Enemy7";
_root.SpawnEnemy7 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 25
_root.Enemy1_Speed = 0.81;
_root.Enemy1_Health = Math.round(222 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 34;
_root.Enemy1_Points = 63;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(5.8 * _root.Difficulty);
_root.Enemy2_Speed = 0.81;
_root.Enemy2_Health = Math.round(232 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 39;
_root.Enemy2_Points = 68;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(6.8 * _root.Difficulty);
_root.Enemy3_Speed = 0.81;
_root.Enemy3_Health = Math.round(242 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 44;
_root.Enemy3_Points = 73;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(7.8 * _root.Difficulty);
_root.Enemy4_Speed = 0.885;
_root.Enemy4_Health = Math.round(276 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 73;
_root.Enemy4_Points = 126;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(8.8 * _root.Difficulty);
_root.Enemy5_Speed = 0.885;
_root.Enemy5_Health = Math.round(286 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 78;
_root.Enemy5_Points = 131;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(9.8 * _root.Difficulty);
_root.Enemy6_Speed = 0.81;
_root.Enemy6_Health = Math.round(320 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 107;
_root.Enemy6_Points = 184;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(17.6 * _root.Difficulty);
_root.Enemy7_Speed = 0.81;
_root.Enemy7_Health = Math.round(330 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 112;
_root.Enemy7_Points = 189;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(18.6 * _root.Difficulty);
_root.Enemy8_Speed = 0.81;
_root.Enemy8_Health = Math.round(340 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 117;
_root.Enemy8_Points = 194;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(19.6 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 16;
_root.Enemies_Remain = 16;
_root.Enemies_SpawnTimer = 32;
_root.Enemies_Spawner = 32;
_root.Enemies_Selection = 8;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_root.SpawnEnemy4 = "Enemy4";
_root.SpawnEnemy5 = "Enemy5";
_root.SpawnEnemy6 = "Enemy6";
_root.SpawnEnemy7 = "Enemy7";
_root.SpawnEnemy8 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 26
_root.Enemy1_Speed = 0.8125;
_root.Enemy1_Health = Math.round(230 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 35;
_root.Enemy1_Points = 65;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(6 * _root.Difficulty);
_root.Enemy2_Speed = 0.8125;
_root.Enemy2_Health = Math.round(240 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 40;
_root.Enemy2_Points = 70;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(7 * _root.Difficulty);
_root.Enemy3_Speed = 0.8125;
_root.Enemy3_Health = Math.round(250 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 45;
_root.Enemy3_Points = 75;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(8 * _root.Difficulty);
_root.Enemy4_Speed = 0.8875;
_root.Enemy4_Health = Math.round(285 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 75;
_root.Enemy4_Points = 130;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(9 * _root.Difficulty);
_root.Enemy5_Speed = 0.8875;
_root.Enemy5_Health = Math.round(295 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 80;
_root.Enemy5_Points = 135;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(10 * _root.Difficulty);
_root.Enemy6_Speed = 0.8125;
_root.Enemy6_Health = Math.round(330 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 110;
_root.Enemy6_Points = 190;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(18 * _root.Difficulty);
_root.Enemy7_Speed = 0.8125;
_root.Enemy7_Health = Math.round(340 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 115;
_root.Enemy7_Points = 195;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(19 * _root.Difficulty);
_root.Enemy8_Speed = 0.8125;
_root.Enemy8_Health = Math.round(350 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 120;
_root.Enemy8_Points = 200;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(20 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 17;
_root.Enemies_Remain = 17;
_root.Enemies_SpawnTimer = 31;
_root.Enemies_Spawner = 31;
_root.Enemies_Selection = 8;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_root.SpawnEnemy4 = "Enemy4";
_root.SpawnEnemy5 = "Enemy5";
_root.SpawnEnemy6 = "Enemy6";
_root.SpawnEnemy7 = "Enemy7";
_root.SpawnEnemy8 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 27
_root.Enemy4_Speed = 0.89;
_root.Enemy4_Health = Math.round(294 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 77;
_root.Enemy4_Points = 134;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(9.2 * _root.Difficulty);
_root.Enemy5_Speed = 0.89;
_root.Enemy5_Health = Math.round(304 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 82;
_root.Enemy5_Points = 139;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(10.2 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 17;
_root.Enemies_Remain = 17;
_root.Enemies_SpawnTimer = 31;
_root.Enemies_Spawner = 31;
_root.Enemies_Selection = 2;
_root.SpawnEnemy1 = "Enemy4";
_root.SpawnEnemy2 = "Enemy5";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 28
_root.Enemy6_Speed = 0.8175;
_root.Enemy6_Health = Math.round(350 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 116;
_root.Enemy6_Points = 202;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(18.8 * _root.Difficulty);
_root.Enemy7_Speed = 0.8175;
_root.Enemy7_Health = Math.round(360 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 121;
_root.Enemy7_Points = 207;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(19.8 * _root.Difficulty);
_root.Enemy8_Speed = 0.8175;
_root.Enemy8_Health = Math.round(370 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 126;
_root.Enemy8_Points = 212;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(20.8 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 17;
_root.Enemies_Remain = 17;
_root.Enemies_SpawnTimer = 31;
_root.Enemies_Spawner = 31;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy6";
_root.SpawnEnemy2 = "Enemy7";
_root.SpawnEnemy3 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 29
_root.Enemy4_Speed = 0.895;
_root.Enemy4_Health = Math.round(312 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 81;
_root.Enemy4_Points = 142;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(9.6 * _root.Difficulty);
_root.Enemy5_Speed = 0.895;
_root.Enemy5_Health = Math.round(322 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 86;
_root.Enemy5_Points = 147;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(10.6 * _root.Difficulty);
_root.Enemy6_Speed = 0.82;
_root.Enemy6_Health = Math.round(360 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 119;
_root.Enemy6_Points = 208;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(19.2 * _root.Difficulty);
_root.Enemy7_Speed = 0.82;
_root.Enemy7_Health = Math.round(370 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 124;
_root.Enemy7_Points = 213;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(20.2 * _root.Difficulty);
_root.Enemy8_Speed = 0.82;
_root.Enemy8_Health = Math.round(380 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 129;
_root.Enemy8_Points = 218;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(21.2 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 17;
_root.Enemies_Remain = 17;
_root.Enemies_SpawnTimer = 30;
_root.Enemies_Spawner = 30;
_root.Enemies_Selection = 5;
_root.SpawnEnemy1 = "Enemy4";
_root.SpawnEnemy2 = "Enemy5";
_root.SpawnEnemy3 = "Enemy6";
_root.SpawnEnemy4 = "Enemy7";
_root.SpawnEnemy5 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 30
_root.Enemy1_Speed = 0.8225;
_root.Enemy1_Health = Math.round(262 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 39;
_root.Enemy1_Points = 73;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(6.8 * _root.Difficulty);
_root.Enemy2_Speed = 0.8225;
_root.Enemy2_Health = Math.round(272 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 44;
_root.Enemy2_Points = 78;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(7.8 * _root.Difficulty);
_root.Enemy3_Speed = 0.8225;
_root.Enemy3_Health = Math.round(282 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 49;
_root.Enemy3_Points = 83;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(8.8 * _root.Difficulty);
_root.Enemy4_Speed = 0.8975;
_root.Enemy4_Health = Math.round(321 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 83;
_root.Enemy4_Points = 146;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(9.8 * _root.Difficulty);
_root.Enemy5_Speed = 0.8975;
_root.Enemy5_Health = Math.round(331 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 88;
_root.Enemy5_Points = 151;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(10.8 * _root.Difficulty);
_root.Enemy6_Speed = 0.8225;
_root.Enemy6_Health = Math.round(370 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 122;
_root.Enemy6_Points = 214;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(19.6 * _root.Difficulty);
_root.Enemy7_Speed = 0.8225;
_root.Enemy7_Health = Math.round(380 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 127;
_root.Enemy7_Points = 219;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(20.6 * _root.Difficulty);
_root.Enemy8_Speed = 0.8225;
_root.Enemy8_Health = Math.round(390 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 132;
_root.Enemy8_Points = 224;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(21.6 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 18;
_root.Enemies_Remain = 18;
_root.Enemies_SpawnTimer = 30;
_root.Enemies_Spawner = 30;
_root.Enemies_Selection = 8;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_root.SpawnEnemy4 = "Enemy4";
_root.SpawnEnemy5 = "Enemy5";
_root.SpawnEnemy6 = "Enemy6";
_root.SpawnEnemy7 = "Enemy7";
_root.SpawnEnemy8 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 31
_root.Enemy1_Speed = 0.825;
_root.Enemy1_Health = Math.round(270 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 40;
_root.Enemy1_Points = 75;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(7 * _root.Difficulty);
_root.Enemy2_Speed = 0.825;
_root.Enemy2_Health = Math.round(280 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 45;
_root.Enemy2_Points = 80;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(8 * _root.Difficulty);
_root.Enemy3_Speed = 0.825;
_root.Enemy3_Health = Math.round(290 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 50;
_root.Enemy3_Points = 85;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(9 * _root.Difficulty);
_root.Enemy4_Speed = 0.9;
_root.Enemy4_Health = Math.round(330 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 85;
_root.Enemy4_Points = 150;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(10 * _root.Difficulty);
_root.Enemy5_Speed = 0.9;
_root.Enemy5_Health = Math.round(340 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 90;
_root.Enemy5_Points = 155;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(11 * _root.Difficulty);
_root.Enemy6_Speed = 0.825;
_root.Enemy6_Health = Math.round(380 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 125;
_root.Enemy6_Points = 220;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(20 * _root.Difficulty);
_root.Enemy7_Speed = 0.825;
_root.Enemy7_Health = Math.round(390 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 130;
_root.Enemy7_Points = 225;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(21 * _root.Difficulty);
_root.Enemy8_Speed = 0.825;
_root.Enemy8_Health = Math.round(400 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 135;
_root.Enemy8_Points = 230;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(22 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 18;
_root.Enemies_Remain = 18;
_root.Enemies_SpawnTimer = 30;
_root.Enemies_Spawner = 30;
_root.Enemies_Selection = 8;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_root.SpawnEnemy4 = "Enemy4";
_root.SpawnEnemy5 = "Enemy5";
_root.SpawnEnemy6 = "Enemy6";
_root.SpawnEnemy7 = "Enemy7";
_root.SpawnEnemy8 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 32
_root.Enemy1_Speed = 0.8275;
_root.Enemy1_Health = Math.round(278 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 41;
_root.Enemy1_Points = 77;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(7.2 * _root.Difficulty);
_root.Enemy2_Speed = 0.8275;
_root.Enemy2_Health = Math.round(288 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 46;
_root.Enemy2_Points = 82;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(8.2 * _root.Difficulty);
_root.Enemy3_Speed = 0.8275;
_root.Enemy3_Health = Math.round(298 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 51;
_root.Enemy3_Points = 87;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(9.2 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 18;
_root.Enemies_Remain = 18;
_root.Enemies_SpawnTimer = 29;
_root.Enemies_Spawner = 29;
_root.Enemies_Selection = 3;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 33
_root.Enemy1_Speed = 0.83;
_root.Enemy1_Health = Math.round(286 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 42;
_root.Enemy1_Points = 79;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(7.4 * _root.Difficulty);
_root.Enemy2_Speed = 0.83;
_root.Enemy2_Health = Math.round(296 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 47;
_root.Enemy2_Points = 84;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(8.4 * _root.Difficulty);
_root.Enemy3_Speed = 0.83;
_root.Enemy3_Health = Math.round(306 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 52;
_root.Enemy3_Points = 89;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(9.4 * _root.Difficulty);
_root.Enemy4_Speed = 0.905;
_root.Enemy4_Health = Math.round(348 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 89;
_root.Enemy4_Points = 158;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(10.4 * _root.Difficulty);
_root.Enemy5_Speed = 0.905;
_root.Enemy5_Health = Math.round(358 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 94;
_root.Enemy5_Points = 163;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(11.4 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 18;
_root.Enemies_Remain = 18;
_root.Enemies_SpawnTimer = 29;
_root.Enemies_Spawner = 29;
_root.Enemies_Selection = 5;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_root.SpawnEnemy4 = "Enemy4";
_root.SpawnEnemy5 = "Enemy5";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 34
_root.Enemy1_Speed = 0.8325;
_root.Enemy1_Health = Math.round(294 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 43;
_root.Enemy1_Points = 81;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(7.6 * _root.Difficulty);
_root.Enemy2_Speed = 0.8325;
_root.Enemy2_Health = Math.round(304 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 48;
_root.Enemy2_Points = 86;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(8.6 * _root.Difficulty);
_root.Enemy3_Speed = 0.8325;
_root.Enemy3_Health = Math.round(314 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 53;
_root.Enemy3_Points = 91;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(9.6 * _root.Difficulty);
_root.Enemy4_Speed = 0.9075;
_root.Enemy4_Health = Math.round(357 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 91;
_root.Enemy4_Points = 162;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(10.6 * _root.Difficulty);
_root.Enemy5_Speed = 0.9075;
_root.Enemy5_Health = Math.round(367 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 96;
_root.Enemy5_Points = 167;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(11.6 * _root.Difficulty);
_root.Enemy6_Speed = 0.8325;
_root.Enemy6_Health = Math.round(410 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 134;
_root.Enemy6_Points = 238;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(21.2 * _root.Difficulty);
_root.Enemy7_Speed = 0.8325;
_root.Enemy7_Health = Math.round(420 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 139;
_root.Enemy7_Points = 243;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(22.2 * _root.Difficulty);
_root.Enemy8_Speed = 0.8325;
_root.Enemy8_Health = Math.round(430 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 144;
_root.Enemy8_Points = 248;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(23.2 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 19;
_root.Enemies_Remain = 19;
_root.Enemies_SpawnTimer = 29;
_root.Enemies_Spawner = 29;
_root.Enemies_Selection = 8;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_root.SpawnEnemy4 = "Enemy4";
_root.SpawnEnemy5 = "Enemy5";
_root.SpawnEnemy6 = "Enemy6";
_root.SpawnEnemy7 = "Enemy7";
_root.SpawnEnemy8 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 35
_root.Enemy1_Speed = 0.835;
_root.Enemy1_Health = Math.round(302 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 44;
_root.Enemy1_Points = 83;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(7.8 * _root.Difficulty);
_root.Enemy2_Speed = 0.835;
_root.Enemy2_Health = Math.round(312 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 49;
_root.Enemy2_Points = 88;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(8.8 * _root.Difficulty);
_root.Enemy3_Speed = 0.835;
_root.Enemy3_Health = Math.round(322 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 54;
_root.Enemy3_Points = 93;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(9.8 * _root.Difficulty);
_root.Enemy6_Speed = 0.835;
_root.Enemy6_Health = Math.round(420 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 137;
_root.Enemy6_Points = 244;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(21.6 * _root.Difficulty);
_root.Enemy7_Speed = 0.835;
_root.Enemy7_Health = Math.round(430 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 142;
_root.Enemy7_Points = 249;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(22.6 * _root.Difficulty);
_root.Enemy8_Speed = 0.835;
_root.Enemy8_Health = Math.round(440 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 147;
_root.Enemy8_Points = 254;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(23.6 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 19;
_root.Enemies_Remain = 19;
_root.Enemies_SpawnTimer = 28;
_root.Enemies_Spawner = 28;
_root.Enemies_Selection = 6;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_root.SpawnEnemy4 = "Enemy6";
_root.SpawnEnemy5 = "Enemy7";
_root.SpawnEnemy6 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 36
_root.Enemy1_Speed = 0.8375;
_root.Enemy1_Health = Math.round(310 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 45;
_root.Enemy1_Points = 85;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(8 * _root.Difficulty);
_root.Enemy2_Speed = 0.8375;
_root.Enemy2_Health = Math.round(320 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 50;
_root.Enemy2_Points = 90;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(9 * _root.Difficulty);
_root.Enemy3_Speed = 0.8375;
_root.Enemy3_Health = Math.round(330 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 55;
_root.Enemy3_Points = 95;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(10 * _root.Difficulty);
_root.Enemy4_Speed = 0.9125;
_root.Enemy4_Health = Math.round(375 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 95;
_root.Enemy4_Points = 170;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(11 * _root.Difficulty);
_root.Enemy5_Speed = 0.9125;
_root.Enemy5_Health = Math.round(385 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 100;
_root.Enemy5_Points = 175;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(12 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 19;
_root.Enemies_Remain = 19;
_root.Enemies_SpawnTimer = 28;
_root.Enemies_Spawner = 28;
_root.Enemies_Selection = 5;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_root.SpawnEnemy4 = "Enemy4";
_root.SpawnEnemy5 = "Enemy5";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 37
_root.Enemy1_Speed = 0.84;
_root.Enemy1_Health = Math.round(318 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 46;
_root.Enemy1_Points = 87;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(8.2 * _root.Difficulty);
_root.Enemy2_Speed = 0.84;
_root.Enemy2_Health = Math.round(328 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 51;
_root.Enemy2_Points = 92;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(9.2 * _root.Difficulty);
_root.Enemy3_Speed = 0.84;
_root.Enemy3_Health = Math.round(338 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 56;
_root.Enemy3_Points = 97;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(10.2 * _root.Difficulty);
_root.Enemy4_Speed = 0.915;
_root.Enemy4_Health = Math.round(384 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 97;
_root.Enemy4_Points = 174;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(11.2 * _root.Difficulty);
_root.Enemy5_Speed = 0.915;
_root.Enemy5_Health = Math.round(394 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 102;
_root.Enemy5_Points = 179;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(12.2 * _root.Difficulty);
_root.Enemy6_Speed = 0.84;
_root.Enemy6_Health = Math.round(440 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 143;
_root.Enemy6_Points = 256;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(22.4 * _root.Difficulty);
_root.Enemy7_Speed = 0.84;
_root.Enemy7_Health = Math.round(450 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 148;
_root.Enemy7_Points = 261;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(23.4 * _root.Difficulty);
_root.Enemy8_Speed = 0.84;
_root.Enemy8_Health = Math.round(460 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 153;
_root.Enemy8_Points = 266;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(24.4 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 19;
_root.Enemies_Remain = 19;
_root.Enemies_SpawnTimer = 28;
_root.Enemies_Spawner = 28;
_root.Enemies_Selection = 8;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_root.SpawnEnemy4 = "Enemy4";
_root.SpawnEnemy5 = "Enemy5";
_root.SpawnEnemy6 = "Enemy6";
_root.SpawnEnemy7 = "Enemy7";
_root.SpawnEnemy8 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 38
_root.Enemy1_Speed = 0.8425;
_root.Enemy1_Health = Math.round(326 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 47;
_root.Enemy1_Points = 89;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(8.4 * _root.Difficulty);
_root.Enemy2_Speed = 0.8425;
_root.Enemy2_Health = Math.round(336 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 52;
_root.Enemy2_Points = 94;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(9.4 * _root.Difficulty);
_root.Enemy3_Speed = 0.8425;
_root.Enemy3_Health = Math.round(346 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 57;
_root.Enemy3_Points = 99;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(10.4 * _root.Difficulty);
_root.Enemy4_Speed = 0.9175;
_root.Enemy4_Health = Math.round(393 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 99;
_root.Enemy4_Points = 178;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(11.4 * _root.Difficulty);
_root.Enemy5_Speed = 0.9175;
_root.Enemy5_Health = Math.round(403 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 104;
_root.Enemy5_Points = 183;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(12.4 * _root.Difficulty);
_root.Enemy6_Speed = 0.8425;
_root.Enemy6_Health = Math.round(450 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 146;
_root.Enemy6_Points = 262;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(22.8 * _root.Difficulty);
_root.Enemy7_Speed = 0.8425;
_root.Enemy7_Health = Math.round(460 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 151;
_root.Enemy7_Points = 267;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(23.8 * _root.Difficulty);
_root.Enemy8_Speed = 0.8425;
_root.Enemy8_Health = Math.round(470 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 156;
_root.Enemy8_Points = 272;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(24.8 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 20;
_root.Enemies_Remain = 20;
_root.Enemies_SpawnTimer = 27;
_root.Enemies_Spawner = 27;
_root.Enemies_Selection = 8;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_root.SpawnEnemy4 = "Enemy4";
_root.SpawnEnemy5 = "Enemy5";
_root.SpawnEnemy6 = "Enemy6";
_root.SpawnEnemy7 = "Enemy7";
_root.SpawnEnemy8 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 39
_root.Enemy1_Speed = 0.845;
_root.Enemy1_Health = Math.round(334 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 48;
_root.Enemy1_Points = 91;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(8.6 * _root.Difficulty);
_root.Enemy2_Speed = 0.845;
_root.Enemy2_Health = Math.round(344 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 53;
_root.Enemy2_Points = 96;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(9.6 * _root.Difficulty);
_root.Enemy3_Speed = 0.845;
_root.Enemy3_Health = Math.round(354 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 58;
_root.Enemy3_Points = 101;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(10.6 * _root.Difficulty);
_root.Enemy4_Speed = 0.92;
_root.Enemy4_Health = Math.round(402 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 101;
_root.Enemy4_Points = 182;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(11.6 * _root.Difficulty);
_root.Enemy5_Speed = 0.92;
_root.Enemy5_Health = Math.round(412 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 106;
_root.Enemy5_Points = 187;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(12.6 * _root.Difficulty);
_root.Enemy6_Speed = 0.845;
_root.Enemy6_Health = Math.round(460 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 149;
_root.Enemy6_Points = 268;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(23.2 * _root.Difficulty);
_root.Enemy7_Speed = 0.845;
_root.Enemy7_Health = Math.round(470 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 154;
_root.Enemy7_Points = 273;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(24.2 * _root.Difficulty);
_root.Enemy8_Speed = 0.845;
_root.Enemy8_Health = Math.round(480 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 159;
_root.Enemy8_Points = 278;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(25.2 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 20;
_root.Enemies_Remain = 20;
_root.Enemies_SpawnTimer = 27;
_root.Enemies_Spawner = 27;
_root.Enemies_Selection = 8;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_root.SpawnEnemy4 = "Enemy4";
_root.SpawnEnemy5 = "Enemy5";
_root.SpawnEnemy6 = "Enemy6";
_root.SpawnEnemy7 = "Enemy7";
_root.SpawnEnemy8 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 40
_root.Enemy1_Speed = 0.8475;
_root.Enemy1_Health = Math.round(342 * _root.Difficulty);
_root.Enemy1_Reload = 40;
_root.Enemy1_Reloader = 40;
_root.Enemy1_ShootDistance = 75;
_root.Enemy1_Distance = 50;
_root.Enemy1_Money = 49;
_root.Enemy1_Points = 93;
_root.Enemy1_Projectile_Speed = 7.5;
_root.Enemy1_Projectile_Damage = Math.round(8.8 * _root.Difficulty);
_root.Enemy2_Speed = 0.8475;
_root.Enemy2_Health = Math.round(352 * _root.Difficulty);
_root.Enemy2_Reload = 40;
_root.Enemy2_Reloader = 40;
_root.Enemy2_ShootDistance = 75;
_root.Enemy2_Distance = 50;
_root.Enemy2_Money = 54;
_root.Enemy2_Points = 98;
_root.Enemy2_Projectile_Speed = 7.5;
_root.Enemy2_Projectile_Damage = Math.round(9.8 * _root.Difficulty);
_root.Enemy3_Speed = 0.8475;
_root.Enemy3_Health = Math.round(362 * _root.Difficulty);
_root.Enemy3_Reload = 40;
_root.Enemy3_Reloader = 40;
_root.Enemy3_ShootDistance = 75;
_root.Enemy3_Distance = 50;
_root.Enemy3_Money = 59;
_root.Enemy3_Points = 103;
_root.Enemy3_Projectile_Speed = 7.5;
_root.Enemy3_Projectile_Damage = Math.round(10.8 * _root.Difficulty);
_root.Enemy4_Speed = 0.9225;
_root.Enemy4_Health = Math.round(411 * _root.Difficulty);
_root.Enemy4_Reload = 30;
_root.Enemy4_Reloader = 30;
_root.Enemy4_ShootDistance = 75;
_root.Enemy4_Distance = 50;
_root.Enemy4_Money = 103;
_root.Enemy4_Points = 186;
_root.Enemy4_Projectile_Speed = 7.5;
_root.Enemy4_Projectile_Damage = Math.round(11.8 * _root.Difficulty);
_root.Enemy5_Speed = 0.9225;
_root.Enemy5_Health = Math.round(421 * _root.Difficulty);
_root.Enemy5_Reload = 30;
_root.Enemy5_Reloader = 30;
_root.Enemy5_ShootDistance = 75;
_root.Enemy5_Distance = 50;
_root.Enemy5_Money = 108;
_root.Enemy5_Points = 191;
_root.Enemy5_Projectile_Speed = 7.5;
_root.Enemy5_Projectile_Damage = Math.round(12.8 * _root.Difficulty);
_root.Enemy6_Speed = 0.8475;
_root.Enemy6_Health = Math.round(470 * _root.Difficulty);
_root.Enemy6_Reload = 40;
_root.Enemy6_Reloader = 40;
_root.Enemy6_ShootDistance = 75;
_root.Enemy6_Distance = 50;
_root.Enemy6_Money = 152;
_root.Enemy6_Points = 274;
_root.Enemy6_Projectile_Speed = 7.5;
_root.Enemy6_Projectile_Damage = Math.round(23.6 * _root.Difficulty);
_root.Enemy7_Speed = 0.8475;
_root.Enemy7_Health = Math.round(480 * _root.Difficulty);
_root.Enemy7_Reload = 40;
_root.Enemy7_Reloader = 40;
_root.Enemy7_ShootDistance = 75;
_root.Enemy7_Distance = 50;
_root.Enemy7_Money = 157;
_root.Enemy7_Points = 279;
_root.Enemy7_Projectile_Speed = 7.5;
_root.Enemy7_Projectile_Damage = Math.round(24.6 * _root.Difficulty);
_root.Enemy8_Speed = 0.8475;
_root.Enemy8_Health = Math.round(490 * _root.Difficulty);
_root.Enemy8_Reload = 40;
_root.Enemy8_Reloader = 40;
_root.Enemy8_ShootDistance = 75;
_root.Enemy8_Distance = 50;
_root.Enemy8_Money = 162;
_root.Enemy8_Points = 284;
_root.Enemy8_Projectile_Speed = 7.5;
_root.Enemy8_Projectile_Damage = Math.round(25.6 * _root.Difficulty);
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 20;
_root.Enemies_Remain = 20;
_root.Enemies_SpawnTimer = 27;
_root.Enemies_Spawner = 27;
_root.Enemies_Selection = 8;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_root.SpawnEnemy4 = "Enemy4";
_root.SpawnEnemy5 = "Enemy5";
_root.SpawnEnemy6 = "Enemy6";
_root.SpawnEnemy7 = "Enemy7";
_root.SpawnEnemy8 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1382 MovieClip Frame 41
_root.Enemy1_Health = _root.Enemy1_Health + 10;
if (_root.Enemy1_Reload > 20) {
_root.Enemy1_Reload--;
_root.Enemy1_Reloader--;
}
_root.Enemy1_Points = _root.Enemy1_Points + 12;
_root.Enemy1_Projectile_Speed = 10;
_root.Enemy1_Projectile_Damage = _root.Enemy1_Projectile_Damage + 1;
_root.Enemy2_Health = _root.Enemy2_Health + 10;
if (_root.Enemy2_Reload > 20) {
_root.Enemy2_Reload--;
_root.Enemy2_Reloader--;
}
_root.Enemy2_Points = _root.Enemy2_Points + 12;
_root.Enemy2_Projectile_Speed = 10;
_root.Enemy2_Projectile_Damage = _root.Enemy2_Projectile_Damage + 1;
_root.Enemy3_Health = _root.Enemy3_Health + 10;
if (_root.Enemy3_Reload > 20) {
_root.Enemy3_Reload--;
_root.Enemy3_Reloader--;
}
_root.Enemy3_Points = _root.Enemy3_Points + 12;
_root.Enemy3_Projectile_Speed = 10;
_root.Enemy3_Projectile_Damage = _root.Enemy3_Projectile_Damage + 1;
_root.Enemy4_Health = _root.Enemy4_Health + 15;
if (_root.Enemy4_Reload > 15) {
_root.Enemy4_Reload--;
_root.Enemy4_Reloader--;
}
_root.Enemy4_Points = _root.Enemy4_Points + 24;
_root.Enemy4_Projectile_Speed = 10;
_root.Enemy4_Projectile_Damage = _root.Enemy4_Projectile_Damage + 2;
_root.Enemy5_Health = _root.Enemy5_Health + 15;
if (_root.Enemy5_Reload > 15) {
_root.Enemy5_Reload--;
_root.Enemy5_Reloader--;
}
_root.Enemy5_Points = _root.Enemy5_Points + 24;
_root.Enemy5_Projectile_Speed = 10;
_root.Enemy5_Projectile_Damage = _root.Enemy5_Projectile_Damage + 2;
_root.Enemy6_Health = _root.Enemy6_Health + 20;
if (_root.Enemy6_Reload > 20) {
_root.Enemy6_Reload--;
_root.Enemy6_Reloader--;
}
_root.Enemy6_Points = _root.Enemy6_Points + 48;
_root.Enemy6_Projectile_Speed = 10;
_root.Enemy6_Projectile_Damage = _root.Enemy6_Projectile_Damage + 3;
_root.Enemy7_Health = _root.Enemy7_Health + 20;
if (_root.Enemy7_Reload > 20) {
_root.Enemy7_Reload--;
_root.Enemy7_Reloader--;
}
_root.Enemy7_Points = _root.Enemy7_Points + 48;
_root.Enemy7_Projectile_Speed = 10;
_root.Enemy7_Projectile_Damage = _root.Enemy7_Projectile_Damage + 3;
_root.Enemy8_Health = _root.Enemy8_Health + 20;
if (_root.Enemy8_Reload > 20) {
_root.Enemy8_Reload--;
_root.Enemy8_Reloader--;
}
_root.Enemy8_Points = _root.Enemy8_Points + 48;
_root.Enemy8_Projectile_Speed = 10;
_root.Enemy8_Projectile_Damage = _root.Enemy8_Projectile_Damage + 3;
_root.Enemies_OnScreenLimit = 10;
_root.Enemies_OnScreenCurrent = 0;
_root.Enemies_Current = 0;
_root.Enemies_Counter = 30;
_root.Enemies_Remain = 30;
_root.Enemies_SpawnTimer = 25;
_root.Enemies_Spawner = 25;
_root.Enemies_Selection = 8;
_root.SpawnEnemy1 = "Enemy1";
_root.SpawnEnemy2 = "Enemy2";
_root.SpawnEnemy3 = "Enemy3";
_root.SpawnEnemy4 = "Enemy4";
_root.SpawnEnemy5 = "Enemy5";
_root.SpawnEnemy6 = "Enemy6";
_root.SpawnEnemy7 = "Enemy7";
_root.SpawnEnemy8 = "Enemy8";
_parent.gotoAndStop("startWave");
Symbol 1383 MovieClip Frame 1
stop();
Symbol 1383 MovieClip Frame 2
function NextWaveCounter() {
if (_root.PauseGame == false) {
timer_txt.text = "Next wave in: " + timed;
if (timed == 1) {
timer_txt.text = timer_txt.text + " second.";
} else {
timer_txt.text = timer_txt.text + " seconds.";
}
timed--;
if (timed == -1) {
clearInterval(_root.set_NWC);
stopDrag();
_root.ToolBar_mc.popups_mc.repair_mc.gotoAndStop("close");
_root.ToolBar_mc.popups_mc.satalite_mc.gotoAndStop("close");
_root.ToolBar_mc.popups_mc.computer_mc.gotoAndStop("close");
_root.ToolBar_mc.popups_mc.misc_mc.gotoAndStop("close");
_root.ToolBar_mc.popups_mc.power_mc.gotoAndStop("close");
_root.ToolBar_mc.popups_mc.accuracy_mc.gotoAndStop("close");
_root.ToolBar_mc.popups_mc.velocity_mc.gotoAndStop("close");
_root.ToolBar_mc.popups_mc.capacity_mc.gotoAndStop("close");
gotoAndStop ("nextLevel");
}
}
}
wave_txt.text = ((("Wave #" + _root.User_Wave) + " Defeated. (") + _root.DifficultySet) + ")";
if (_root.User_Wave == 1) {
getTime = "---";
} else {
getTime = 60;
}
timed = getTime;
timer_txt.text = ("Next wave in: " + timed) + " seconds.";
if (getTime != "---") {
_root.set_NWC = setInterval(NextWaveCounter, 1000);
}
send_btn.onRelease = function () {
clearInterval(_root.set_NWC);
stopDrag();
_root.ToolBar_mc.popups_mc.repair_mc.gotoAndStop("close");
_root.ToolBar_mc.popups_mc.satalite_mc.gotoAndStop("close");
_root.ToolBar_mc.popups_mc.computer_mc.gotoAndStop("close");
_root.ToolBar_mc.popups_mc.misc_mc.gotoAndStop("close");
_root.ToolBar_mc.popups_mc.power_mc.gotoAndStop("close");
_root.ToolBar_mc.popups_mc.accuracy_mc.gotoAndStop("close");
_root.ToolBar_mc.popups_mc.velocity_mc.gotoAndStop("close");
_root.ToolBar_mc.popups_mc.capacity_mc.gotoAndStop("close");
gotoAndStop ("nextLevel");
};
repair_btn.onRelease = function () {
_root.ToolBar_mc.popups_mc.repair_mc.gotoAndStop("open");
_root.ToolBar_mc.popups_mc.repair_mc._x = 0;
_root.ToolBar_mc.popups_mc.repair_mc._y = 0;
_root.ToolBar_mc.popups_mc.repair_mc.swapDepths(_root.ToolBar_mc.popups_mc.NewPopupDepth);
_root.ToolBar_mc.popups_mc.NewPopupDepth++;
};
satalite_btn.onRelease = function () {
_root.ToolBar_mc.popups_mc.satalite_mc.gotoAndStop("open");
_root.ToolBar_mc.popups_mc.satalite_mc._x = 0;
_root.ToolBar_mc.popups_mc.satalite_mc._y = 0;
_root.ToolBar_mc.popups_mc.satalite_mc.swapDepths(_root.ToolBar_mc.popups_mc.NewPopupDepth);
_root.ToolBar_mc.popups_mc.NewPopupDepth++;
};
computer_btn.onRelease = function () {
_root.ToolBar_mc.popups_mc.computer_mc.gotoAndStop("open");
_root.ToolBar_mc.popups_mc.computer_mc._x = 0;
_root.ToolBar_mc.popups_mc.computer_mc._y = 0;
_root.ToolBar_mc.popups_mc.computer_mc.swapDepths(_root.ToolBar_mc.popups_mc.NewPopupDepth);
_root.ToolBar_mc.popups_mc.NewPopupDepth++;
};
misc_btn.onRelease = function () {
_root.ToolBar_mc.popups_mc.misc_mc.gotoAndStop("open");
_root.ToolBar_mc.popups_mc.misc_mc._x = 0;
_root.ToolBar_mc.popups_mc.misc_mc._y = 0;
_root.ToolBar_mc.popups_mc.misc_mc.swapDepths(_root.ToolBar_mc.popups_mc.NewPopupDepth);
_root.ToolBar_mc.popups_mc.NewPopupDepth++;
};
power_btn.onRelease = function () {
_root.ToolBar_mc.popups_mc.power_mc.gotoAndStop("open");
_root.ToolBar_mc.popups_mc.power_mc._x = 0;
_root.ToolBar_mc.popups_mc.power_mc._y = 0;
_root.ToolBar_mc.popups_mc.power_mc.swapDepths(_root.ToolBar_mc.popups_mc.NewPopupDepth);
_root.ToolBar_mc.popups_mc.NewPopupDepth++;
};
accuracy_btn.onRelease = function () {
_root.ToolBar_mc.popups_mc.accuracy_mc.gotoAndStop("open");
_root.ToolBar_mc.popups_mc.accuracy_mc._x = 0;
_root.ToolBar_mc.popups_mc.accuracy_mc._y = 0;
_root.ToolBar_mc.popups_mc.accuracy_mc.swapDepths(_root.ToolBar_mc.popups_mc.NewPopupDepth);
_root.ToolBar_mc.popups_mc.NewPopupDepth++;
};
velocity_btn.onRelease = function () {
_root.ToolBar_mc.popups_mc.velocity_mc.gotoAndStop("open");
_root.ToolBar_mc.popups_mc.velocity_mc._x = 0;
_root.ToolBar_mc.popups_mc.velocity_mc._y = 0;
_root.ToolBar_mc.popups_mc.velocity_mc.swapDepths(_root.ToolBar_mc.popups_mc.NewPopupDepth);
_root.ToolBar_mc.popups_mc.NewPopupDepth++;
};
capacity_btn.onRelease = function () {
_root.ToolBar_mc.popups_mc.capacity_mc.gotoAndStop("open");
_root.ToolBar_mc.popups_mc.capacity_mc._x = 0;
_root.ToolBar_mc.popups_mc.capacity_mc._y = 0;
_root.ToolBar_mc.popups_mc.capacity_mc.swapDepths(_root.ToolBar_mc.popups_mc.NewPopupDepth);
_root.ToolBar_mc.popups_mc.NewPopupDepth++;
};
Symbol 1383 MovieClip Frame 3
stop();
_root.User_Wave++;
_root.User_WaveReport = false;
_root.Projectile_Ammo = 0;
_root.Projectile_AmmoReloading = true;
_root.Projectile_Shot = 0;
_root.Projectile_Hit = 0;
_root.Projectile_Depth = 990;
_root.Projectile_DepthMin = 990;
_root.Projectile_DepthMax = 999;
_root.ProjectileHit_Depth = 980;
_root.ProjectileHit_DepthMin = 980;
_root.ProjectileHit_DepthMax = 989;
_root.EnemyProjectile_Depth = 800;
_root.EnemyProjectile_DepthMin = 800;
_root.EnemyProjectile_DepthMax = 899;
_root.EnemyProjectileHit_Depth = 1010;
_root.EnemyProjectileHit_DepthMin = 1010;
_root.EnemyProjectileHit_DepthMax = 1099;
_root.Enemy_Depth = 900;
_root.Enemy_DepthMin = 900;
_root.Enemy_DepthMax = 979;
Symbol 1383 MovieClip Frame 4
stop();
_root.LevelGameTime_Seconds = 0;
_root.LevelGameTime_Minutes = 0;
_root.LevelGameTime_Hours = 0;
_root.LevelGameTime_Count = true;
_root.User_StartScore = _root.User_Score;
_root.ClearAllObjects = false;
_root.EndCondition = "None";