STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
234835
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2685 · P5369

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM80690289-23DC&rnd=80690289" width="1" height="1"></div>

armorgames the-killer-robot-fac-4766.swf

This is the info page for
Flash #268057

(Click the ID number above for more basic data on this flash file.)


Text
Cheat Menu

Main Menu

Main Menu

< Unlock Cheats by buying them through GamerSafe

Credits

Design and Development

Ben Olding Games

Sponsorship

Game Graphics

Aaron Perez - Flash Game Art

Music

Future Motions

Support and Sales
Assistance

Testing

R_J_H, Darth_Sirov,
Evil-ish, iRevo,
amoignem, Orb370,
Daniel Imber,
Fruktfisk, amilir, The
dark curse, nisroc,
SwiftHawk, Caesar,
M5000, Copeland333,
Nexam, EL, Locky,
blood18, alexiastra

9

<p align="center"></p>

Option Name

Off

Off

On

On

All robots create bigger explosions when destroyed causing larger combos

Q. Why did the robot joke appear here?
A. It didn't. Annoyingly.

While you're waiting, create an account on GamerSafe and log in to access extra features...
- Achievements that reward you with GamerPoints
- Further Weapon Upgrades that you can purchase with GamerPoints
- Cheats that you can buy with GamerGold

Try it out!

Loading 100%

Continue

Continue

version Beta 1.0.0

Preload Stuff

<p align="right"><font face="Charles in Charge" size="14" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>0 Robots</b></font></p>

<p align="left"><font face="Charles in Charge" size="14" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Destroyed 0 robots</b></font></p>

<p align="left"><font face="Charles in Charge" size="14" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Health: 100</b></font></p>

<p align="left"><font face="Charles in Charge" size="14" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Sub Machine Gun</b></font></p>

<p align="right"><font face="Charles in Charge" size="14" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Score: 0</b></font></p>

<p align="center"><font face="Charles in Charge" size="14" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Money: $0</b></font></p>

<p align="left"><font face="Charles in Charge" size="14" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>30 / 100</b></font></p>

Ammo:

Final Score:

00000000000000

Continue?

Yes

No

00000000000000

How to Play

4

5

6

Disc Launcher

Plasma Cannon

Auto Cannon

7

8

9

Teslagun

Rocket Launcher

Particle Rifle

1

2

3

Sub Machine Gun

Shotgun

Minigun

Q

E

R

W

S

A

D

Prev
Weapon

Next
Weapon

Reload

Move
Up

Move
Down

Move
Right

Move
Left

P

Pause

Use the mouse to aim and fire and the
following keys to control your player

Level 10

Level 20

General Workerbot

Rescuebot

Lumberjackbot

Dozerbot

Demolitionbot

Rapid Responsebot

Incineratorbot

Soldierbot

The original helperbot.
Designed to replace
humans in several manual
labour jobs. These robots
have twice the strength
of a human man.

Destroy 300 Robots

The tough, energy
efficient helperbot.
Designed for use in
hazardous conditions,
this robot has a tougher
shell and a more
powerful energy core,
which is also more
explosive

The helperbot with the big
saw.
Designed for cutting
down large trees instead
of putting humans at
risk.

The helperbot with the
shield.
Designed for moving
earth and snow drifts,
this robot is slow to turn
but cannot be shot from
the front.

The helperbot with
destructive tendancies
Designed for demolition
buildings wihtout need to
put humans at risk.

The fast helperbot
Designed to quickly get to
traffic and other
accidents and quickly help
out any humans which
might be in trouble.

The firey helperbot
Designed for disposing of
refuse among other
duties. This robot has a
flamethrower, which can
be hazardous to humans
and other robots.

The robot designed to kill
Designed to eliminate the
need to put human lives at
risk on the battlefield.
This robot is designed to
take control or hostile
situations with its
autocannon

version Beta 1.0.0

Continue Game

New Game?

You already have a game in progress,
starting a new one will overwrite your
existing game, are you sure you want to do
this?

Option Name

Options

Shop

2

3

4

5

Sub Machine Gun

Ammo Cost:
Clip of 10 buckshots - $100

Upgrade Cost:
Level 2: Increased Spread & Power - $300

Upgrade

Sub Machine Gun

Standard Weapon. The sub machine gun has rapid fire and infinite ammo, making it a useful basic weapon

Game Paused

Press P to Continue

Sound

Music

Menu Music

ActionScript [AS3]

Section 1
//AdLoader (CPMStar.AdLoader) package CPMStar { import flash.display.*; import flash.events.*; import flash.system.*; import flash.net.*; public class AdLoader extends Sprite { private var contentspotid:String; private var cpmstarLoader:Loader; public function AdLoader(_arg1:String){ this.contentspotid = _arg1; addEventListener(Event.ADDED, addedHandler); } private function addedHandler(_arg1:Event):void{ var _local2:String; var _local3:DisplayObjectContainer; removeEventListener(Event.ADDED, addedHandler); Security.allowDomain("server.cpmstar.com"); _local2 = "http://server.cpmstar.com/adviewas3.swf"; _local3 = parent; cpmstarLoader = new Loader(); cpmstarLoader.contentLoaderInfo.addEventListener(Event.INIT, dispatchHandler); cpmstarLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, dispatchHandler); cpmstarLoader.load(new URLRequest(((_local2 + "?contentspotid=") + contentspotid))); addChild(cpmstarLoader); } private function dispatchHandler(_arg1:Event):void{ dispatchEvent(_arg1); } } }//package CPMStar
Section 2
//ag_intro_mc_105 (TheKillerRobotFactory_fla.ag_intro_mc_105) package TheKillerRobotFactory_fla { import flash.display.*; public dynamic class ag_intro_mc_105 extends MovieClip { public function ag_intro_mc_105(){ addFrameScript(217, frame218); } function frame218(){ stop(); } } }//package TheKillerRobotFactory_fla
Section 3
//BenOldingGamesLogoInner_5 (TheKillerRobotFactory_fla.BenOldingGamesLogoInner_5) package TheKillerRobotFactory_fla { import flash.display.*; public dynamic class BenOldingGamesLogoInner_5 extends MovieClip { public function BenOldingGamesLogoInner_5(){ addFrameScript(119, frame120); } function frame120(){ stop(); } } }//package TheKillerRobotFactory_fla
Section 4
//CreditsInner_97 (TheKillerRobotFactory_fla.CreditsInner_97) package TheKillerRobotFactory_fla { import flash.display.*; public dynamic class CreditsInner_97 extends MovieClip { public var btnFutureMotions:SimpleButton; public var btnArmor:SimpleButton; public var btnBOG:SimpleButton; public var btnFGA:SimpleButton; public var FGLLogo:MovieClip; } }//package TheKillerRobotFactory_fla
Section 5
//FGL_logo_98 (TheKillerRobotFactory_fla.FGL_logo_98) package TheKillerRobotFactory_fla { import flash.display.*; public dynamic class FGL_logo_98 extends MovieClip { public var btnFGL:SimpleButton; public function FGL_logo_98(){ addFrameScript(24, frame25); } function frame25(){ stop(); } } }//package TheKillerRobotFactory_fla
Section 6
//GameComplete_FinalScore_24 (TheKillerRobotFactory_fla.GameComplete_FinalScore_24) package TheKillerRobotFactory_fla { import flash.display.*; import flash.text.*; public dynamic class GameComplete_FinalScore_24 extends MovieClip { public var txtFinalScore:TextField; } }//package TheKillerRobotFactory_fla
Section 7
//GameOver_FinalScore_19 (TheKillerRobotFactory_fla.GameOver_FinalScore_19) package TheKillerRobotFactory_fla { import flash.display.*; import flash.text.*; public dynamic class GameOver_FinalScore_19 extends MovieClip { public var txtFinalScore:TextField; } }//package TheKillerRobotFactory_fla
Section 8
//GameOverContinue_20 (TheKillerRobotFactory_fla.GameOverContinue_20) package TheKillerRobotFactory_fla { import flash.display.*; import flash.text.*; public dynamic class GameOverContinue_20 extends MovieClip { public var btnYes:SimpleButton; public var btnNo:SimpleButton; public var txtQuestion:TextField; } }//package TheKillerRobotFactory_fla
Section 9
//GSAdvertArrow_3 (TheKillerRobotFactory_fla.GSAdvertArrow_3) package TheKillerRobotFactory_fla { import flash.display.*; public dynamic class GSAdvertArrow_3 extends MovieClip { public function GSAdvertArrow_3(){ addFrameScript(54, frame55); } function frame55(){ gotoAndPlay("loop"); } } }//package TheKillerRobotFactory_fla
Section 10
//LevelBlock_32 (TheKillerRobotFactory_fla.LevelBlock_32) package TheKillerRobotFactory_fla { import flash.display.*; import flash.text.*; public dynamic class LevelBlock_32 extends MovieClip { public var bg:MovieClip; public var leveltext:TextField; } }//package TheKillerRobotFactory_fla
Section 11
//LevelBlocks_31 (TheKillerRobotFactory_fla.LevelBlocks_31) package TheKillerRobotFactory_fla { import flash.display.*; public dynamic class LevelBlocks_31 extends MovieClip { public var robot3bg:MovieClip; public var robot7bg:MovieClip; public var level1:MovieClip; public var level2:MovieClip; public var level5:MovieClip; public var level6:MovieClip; public var level7:MovieClip; public var level9:MovieClip; public var level3:MovieClip; public var level8:MovieClip; public var level4:MovieClip; public var robot6bg:MovieClip; public var robot5bg:MovieClip; public var levelinfo:MovieClip; public var robot2bg:MovieClip; public var level14:MovieClip; public var level15:MovieClip; public var level16:MovieClip; public var level19:MovieClip; public var level17:MovieClip; public var level11:MovieClip; public var level13:MovieClip; public var robot1bg:MovieClip; public var level18:MovieClip; public var level10:MovieClip; public var level12:MovieClip; public var level20:MovieClip; public var robot4bg:MovieClip; public var robot8bg:MovieClip; } }//package TheKillerRobotFactory_fla
Section 12
//LevelInfo_34 (TheKillerRobotFactory_fla.LevelInfo_34) package TheKillerRobotFactory_fla { import flash.display.*; import flash.text.*; public dynamic class LevelInfo_34 extends MovieClip { public var light:MovieClip; public var txtToDestroy:TextField; } }//package TheKillerRobotFactory_fla
Section 13
//MainTimeline (TheKillerRobotFactory_fla.MainTimeline) package TheKillerRobotFactory_fla { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.text.*; import CPMStar.*; import flash.utils.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var loaded:int; public var arrCheatDescriptions:Array; public var arrBullets:Array; public var loader:Loader; public var isOnArmor:Boolean; public var urlRequest:URLRequest; public var devKey:String; public var ad:DisplayObject; public var game:MovieClip; public var agi_url:String; public var arrWeapons:Array; public var txtVersion:TextField; public var so:SharedObject; public var isOnKong:Boolean; public var SFX:Sound; public var ComboTimer:int; public var Health:int; public var w:int; public var MusicTrack:int; public var arrLightening:Array; public var arrCheatIDs:Array; public var menumusicplayer:MovieClip; public var Score:int; public var txtLoaded:TextField; public var CPMStarDisabled:Boolean; public var CPMStarContentSpotID:String; public var Dead:Boolean; public var Money:int; public var adBox:MovieClip; public var RobotType:int; public var bolt:MovieClip; public var arrOptionNames:Array; public var hasSeenInstructions:Boolean; public var Version:String; public var RobotsOnStage:int; public var keysDown:Array; public var robotjoke:MovieClip; public var arrMessages:Array; public var hasCheated:Boolean; public var GameWidth:int; public var GameMode:int; public var HUD:Hud; public var player:Player; public var soundmc:MovieClip; public var WeaponSelectedIndicator:MovieClip; public var fps:FPSCounter; public var _gamerSafe:GamerSafe; public var arrOptions:Array; public var weaponoptions:MovieClip; public var gameKey:String; public var Ammo:int; public var agi; public var arrJokes:Array; public var debrisbm:Bitmap; public var arrRobots:Array; public var menuypos:int; public var btnContinue:SimpleButton; public var gamersafead:MovieClip; public var arrMyWeapons:Array; public var Spawned:int; public var arrLevels:Array; public var timer; public var musicplayer:MovieClip; public var arrExplosions:Array; public var TotalDestroyed:int; public var PlayerStartWeapon:int; public var Level:int; public var menu:MovieClip; public var pausedoverlay:MovieClip; public var Combo:int; public var actuallyloaded:int; public var fader:MovieClip; public var arrPowerUps:Array; public var qualitychecktimer:int; public var arrCheatNames:Array; public var arrExhaust; public var debris:BitmapData; public var RobotLimit; public var hasDied:Boolean; public var gamepaused:Boolean; public var mouseisdown:Boolean; public var arrCheats:Array; public var arrWeaponSelectionIndicators:Array; public var GameHeight:int; public var GamerSafeDisabled:Boolean; public var addingammo:uint; public var Destroyed:int; public function MainTimeline(){ addFrameScript(0, frame1, 2, frame3); } public function mouseup(_arg1:MouseEvent){ playsound(10); mouseisdown = false; } public function keyisdown(_arg1):Boolean{ return ((keysDown[_arg1] == true)); } public function colourize(_arg1:MovieClip, _arg2:uint):void{ var _local3:*; _local3 = _arg1.transform.colorTransform; _local3.color = _arg2; _arg1.transform.colorTransform = _local3; } public function StopMenuMusic():void{ trace("Stop the menu music"); menumusicplayer.gotoAndStop(3); } public function agintro():void{ menu = new AGIntroScreen(); addChild(menu); menu.logo.addEventListener(Event.ENTER_FRAME, logocomplete); } public function LoadGame():void{ var _local1:int; trace("Load Game"); Level = so.data.Level; Money = so.data.Money; Score = so.data.Score; TotalDestroyed = so.data.TotalDestroyed; hasDied = so.data.hasDied; hasCheated = so.data.hasCheated; arrMyWeapons = []; _local1 = 0; while (_local1 <= 9) { arrMyWeapons[_local1] = so.data[("MyWeapons" + _local1)].slice(); _local1++; }; } public function weaponrollout(_arg1:MouseEvent):void{ if (hasWeapon(_arg1.target.weaponid) == -1){ colourize(_arg1.target.weapon, 0); }; } public function FireWeapon(_arg1:MovieClip, _arg2:int):void{ var _local3:MovieClip; var _local4:int; var _local5:int; var _local6:int; var _local7:int; if (_arg2 >= 0){ if (_arg1 == player){ _local6 = arrMyWeapons[hasWeapon(_arg2)][3]; } else { _local6 = 0; }; _arg1.reload = arrWeapons[_local6][_arg2][3]; playsound(arrWeapons[_local6][_arg2][7]); if (((!((_arg2 == 6))) && (!((_arg2 == 7))))){ _local5 = arrWeapons[_local6][_arg2][6]; } else { _local5 = 1; }; } else { _arg1.reload = 0; _local5 = 1; }; _local7 = 0; while (_local7 < _local5) { switch (_arg2){ case -1: _local3 = new Flame(); break; case 8: _local3 = new RailGun(); break; case 7: _local3 = new Rocket(); break; case 6: _local3 = new Lightning(); break; case 5: _local3 = new Laser(); break; case 4: _local3 = new Plasma(); break; case 3: _local3 = new Disc(); break; default: _local3 = new Bullet(); break; }; if (_arg2 >= 0){ _local3.speed = arrWeapons[_local6][_arg2][2]; _local4 = ((_arg1.rotation + random(arrWeapons[_local6][_arg2][5])) - random(arrWeapons[_local6][_arg2][5])); _local3.damage = arrWeapons[_local6][_arg2][4]; _local3.gotoAndStop(1); } else { _local3.speed = 8; _local3.removeafterani = true; _local3.damage = 5; _local4 = _arg1.rotation; }; _local3.cacheAsBitmap = true; _local3.type = _arg2; _local3.firer = _arg1; _local3.x = (_arg1.x + (15 * Math.cos(radians((_local4 - 90))))); _local3.y = (_arg1.y + (15 * Math.sin(radians((_local4 - 90))))); _local3.rotation = _local4; _local3.xspeed = (_local3.speed * Math.cos(radians((_local3.rotation - 90)))); _local3.yspeed = (_local3.speed * Math.sin(radians((_local3.rotation - 90)))); game.addChild(_local3); arrBullets.push(_local3); _local7++; }; } public function buyweapon(_arg1:MouseEvent):void{ var _local2:int; if (Money >= arrWeapons[0][weaponoptions.tobuy][9]){ Money = (Money - arrWeapons[0][weaponoptions.tobuy][9]); menu.shop.txtMoney.text = ("Money: $" + Money); AddWeapon(weaponoptions.tobuy); _local2 = hasWeapon(weaponoptions.tobuy); menu.shop[("weapon" + weaponoptions.tobuy)].txtWeaponText.text = ((("Ammo: " + arrMyWeapons[_local2][1]) + " / ") + arrMyWeapons[_local2][2]); decolourize(menu.shop[("weapon" + weaponoptions.tobuy)].weapon); weaponoptionsown(weaponoptions.tobuy); } else { trace("Cant Afford"); }; } public function exploderobot(_arg1:int):void{ var _local2:int; var _local3:int; var _local4:MovieClip; var _local5:MovieClip; var _local6:int; var _local7:MovieClip; var _local8:int; var _local9:int; _local2 = 200; if (arrRobots[_arg1].type == 2){ _local2 = 400; }; if (Dead != true){ ComboTimer = 25; Combo++; if (arrRobots[_arg1].type == 0){ Score = (Score + ((Combo * 1) * Level)); Money = (Money + 5); } else { Score = (Score + ((Combo * 3) * Level)); Money = (Money + (Level * 5)); }; }; if (Health > 0){ Destroyed++; TotalDestroyed++; if (!GamerSafeDisabled){ if (GameMode == 2){ if (Destroyed == 50){ GamerSafe.api.bestowAchievement(154); }; if (Destroyed == 250){ GamerSafe.api.bestowAchievement(155); }; } else { if (TotalDestroyed == 10){ GamerSafe.api.bestowAchievement(151); }; if (TotalDestroyed == 100){ GamerSafe.api.bestowAchievement(152); }; if (TotalDestroyed == 1000){ GamerSafe.api.bestowAchievement(153); }; }; }; HUD.txtDestroyed.text = (("Destroyed " + Destroyed) + " robots"); HUD.txtMoney.text = ("Money: $" + Money); if (Destroyed == RobotLimit){ if (Level >= 20){ setTimeout(endlevel, 3000, 2); } else { setTimeout(endlevel, 3000); }; }; playsound(1); }; _local3 = 0; while (_local3 < arrRobots.length) { _local8 = GetDistance(arrRobots[_arg1], arrRobots[_local3]); if (_local8 < _local2){ _local9 = GetAngle(arrRobots[_arg1], arrRobots[_local3]); if (_local3 == 0){ arrRobots[_local3].xspeed = ((((_local2 - _local8) / 5) * Math.cos(radians((_local9 - 90)))) / 2); arrRobots[_local3].yspeed = ((((_local2 - _local8) / 5) * Math.sin(radians((_local9 - 90)))) / 2); } else { if (arrRobots[_arg1].type == 2){ arrRobots[_local3].disabled = ((_local2 - _local8) / 5); arrRobots[_local3].health = (arrRobots[_local3].health - (((_local2 - _local8) / 5) * 2)); arrRobots[_local3].xspeed = ((((_local2 - _local8) / 5) * Math.cos(radians((_local9 - 90)))) * 2); arrRobots[_local3].yspeed = ((((_local2 - _local8) / 5) * Math.sin(radians((_local9 - 90)))) * 2); } else { arrRobots[_local3].disabled = ((_local2 - _local8) / 5); arrRobots[_local3].health = (arrRobots[_local3].health - ((_local2 - _local8) / 5)); arrRobots[_local3].xspeed = (((_local2 - _local8) / 5) * Math.cos(radians((_local9 - 90)))); arrRobots[_local3].yspeed = (((_local2 - _local8) / 5) * Math.sin(radians((_local9 - 90)))); }; }; }; _local3++; }; _local5 = new MovieClip(); _local5.x = 0; _local5.y = 0; _local5.parts = []; if (arrOptions[2] == true){ _local6 = 0; while (_local6 <= 50) { _local4 = new MovieClip(); if (Math.random() > 0.5){ _local4.graphics.beginFill(0x666666); } else { if (Math.random() > 0.5){ _local4.graphics.beginFill(0x333333); } else { _local4.graphics.beginFill(0); }; }; _local4.graphics.lineTo((2 + random(2)), (2 + random(2))); _local4.graphics.lineTo((-2 - random(2)), 2); _local4.graphics.lineTo(0, 0); _local4.graphics.endFill(); _local4.x = arrRobots[_arg1].x; if ((((arrRobots[_arg1].type == 2)) || ((arrCheats[2] == true)))){ _local4.xspeed = (random(40) - random(40)); _local4.yspeed = (random(40) - random(40)); } else { _local4.xspeed = (random(20) - random(20)); _local4.yspeed = (random(20) - random(20)); }; _local4.rotation = random(360); _local4.y = arrRobots[_arg1].y; _local4.addEventListener("enterFrame", RotateDebrisPart); _local5.addChild(_local4); _local5.parts.push(_local4); _local6++; }; }; if (Math.random() > 0.9){ switch (arrRobots[_arg1].type){ case 6: _local4 = new RobotPart4(); break; case 5: _local4 = new RobotPart5(); break; case 4: _local4 = new RobotPart7(); break; case 3: _local4 = new RobotPart3(); break; case 2: _local4 = new RobotPart2(); break; case 1: _local4 = new RobotPart6(); break; default: _local4 = new RobotPart(); break; }; _local4.x = arrRobots[_arg1].x; _local4.y = arrRobots[_arg1].y; _local4.rotation = random(360); _local5.addChild(_local4); _local5.parts.push(_local4); } else { if ((((Math.random() > 0.95)) && ((GameMode == 1)))){ droppowerup(arrRobots[_arg1]); } else { if ((((Math.random() > 0.9)) && ((GameMode == 2)))){ dropsurvivalpowerup(arrRobots[_arg1]); }; }; }; game.addChild(_local5); game.setChildIndex(_local5, 0); setTimeout(bmpCache, 500, _local5); _local7 = new Explosion(); _local7.x = arrRobots[_arg1].x; _local7.y = arrRobots[_arg1].y; if ((((arrRobots[_arg1].type == 2)) || ((arrCheats[2] == true)))){ _local7.scaleX = 2; _local7.scaleY = 2; }; game.addChild(_local7); arrExplosions.push(_local7); game.removeChild(arrRobots[_arg1]); arrRobots[_arg1] = null; arrRobots.splice(_arg1, 1); RobotsOnStage = (arrRobots.length - 1); HUD.txtrobotcounter.text = (RobotsOnStage + " Robots"); } public function docheatsmenu():void{ var _local1:int; var _local2:CheatItem; if (menu != null){ if (stage.contains(menu)){ removeChild(menu); menu = null; }; }; menu = new Cheats(); _local1 = 0; while (_local1 < arrCheats.length) { _local2 = AddNewCheat(arrCheatNames[_local1], _local1); _local2.x = 100; _local2.y = (85 + (85 * _local1)); menu.addChild(_local2); _local1++; }; addChild(menu); menu.btnMainMenu.addEventListener(MouseEvent.CLICK, quittomain); } public function cheaton(_arg1:MouseEvent):void{ arrCheats[_arg1.target.parent.optionnum] = true; docheatsmenu(); so.data.cheats = arrCheats.slice(0); } public function loadComplete(_arg1:Event):void{ agi = _arg1.currentTarget.content; addChild(agi); agi.init(devKey, gameKey); } public function weaponselect():void{ var _local1:int; _local1 = 48; while (_local1 <= 58) { if (keyisdown(_local1)){ if (arrMyWeapons[(_local1 - 49)][0] != null){ if (player.weapon != (_local1 - 49)){ chooseweapon((_local1 - 49)); }; }; }; _local1++; }; } public function carryon(_arg1:MouseEvent):void{ PlayMenuMusic(); GameMode = 1; removeChild(menu); menu = null; levelscreen(); } public function lightningbolt(_arg1, _arg2, _arg3:int, _arg4:int, _arg5:int):void{ var _local6:GlowFilter; var _local7:*; var _local8:Array; var _local9:int; var _local10:int; _local6 = new GlowFilter(); _local6.color = 0xFF; _local6.alpha = 1; _local6.blurX = 25; _local6.blurY = 25; _local7 = new MovieClip(); _local7.x = _arg1; _local7.y = _arg2; game.addChild(_local7); if (arrLightening[_arg5] != null){ game.removeChild(arrLightening[_arg5]); arrLightening[_arg5] = null; }; arrLightening[_arg5] = _local7; _local8 = new Array(_local6); _local7.filters = _local8; _local9 = (_arg4 / 10); _local7.rotation = _arg3; _local7.graphics.lineStyle(2, 0xFFFFFF); _local10 = 0; while (_local10 < _local9) { _local7.graphics.lineTo((random(10) - random(10)), -((_local10 * (_arg4 / _local9)))); _local10++; }; } public function startlevel(_arg1:MouseEvent):void{ if (!GamerSafeDisabled){ GamerSafe.api.hideStatusBar(); }; removeChild(menu); if (hasSeenInstructions != true){ hasSeenInstructions = true; menu = new HowToPlay(); menu.btnContinue.addEventListener(MouseEvent.CLICK, startlevel); addChild(menu); } else { RobotType = Math.floor(arrLevels[Math.floor(((Level + 1) / 3))][1]); ComboTimer = 0; Combo = 0; SetupGame(); }; stage.focus = stage; } public function buyammo(_arg1:MouseEvent):void{ var _local2:int; _local2 = hasWeapon(weaponoptions.tobuy); Money = (Money - (arrWeapons[0][weaponoptions.tobuy][9] / 2)); menu.shop.txtMoney.text = ("Money: $" + Money); if (arrMyWeapons[_local2][1] <= 0){ arrMyWeapons[_local2][1] = (arrMyWeapons[_local2][1] + arrWeapons[0][weaponoptions.tobuy][1]); } else { arrMyWeapons[_local2][2] = (arrMyWeapons[_local2][2] + arrWeapons[0][weaponoptions.tobuy][1]); }; menu.shop[("weapon" + weaponoptions.tobuy)].txtWeaponText.text = ((("Ammo: " + arrMyWeapons[_local2][1]) + " / ") + arrMyWeapons[_local2][2]); weaponoptionsown(weaponoptions.tobuy); } public function weaponoptionstobuy(_arg1:int):void{ if (weaponoptions != null){ if (menu.shop.contains(weaponoptions)){ menu.shop.removeChild(weaponoptions); weaponoptions = null; }; }; weaponoptions = new WeaponOptionstoBuy(); weaponoptions.tobuy = _arg1; weaponoptions.x = 263.5; weaponoptions.y = 231.9; weaponoptions.txtWeaponName.text = arrWeapons[0][_arg1][0]; weaponoptions.txtWeaponInfo.text = ((arrWeapons[0][_arg1][10] + "\n\nCost $") + arrWeapons[0][_arg1][9]); weaponoptions.btnBuy.txtLabel.text = "Buy"; weaponoptions.btnBuy.labeltext = "Buy"; weaponoptions.btnBuy.stop(); weaponoptions.btnBuy.saw.stop(); weaponoptions.btnBuy.mouseChildren = false; if (Money >= arrWeapons[0][_arg1][9]){ weaponoptions.btnBuy.buttonMode = true; weaponoptions.btnBuy.addEventListener(MouseEvent.ROLL_OVER, menurollover); weaponoptions.btnBuy.addEventListener(MouseEvent.ROLL_OUT, menurollout); weaponoptions.btnBuy.addEventListener(MouseEvent.CLICK, buyweapon); } else { weaponoptions.btnBuy.alpha = 0.5; }; menu.shop.addChild(weaponoptions); } public function playsound(_arg1:int):void{ var _local2:int; _local2 = 0; if (arrOptions[0] == true){ if (_arg1 >= 0){ switch (_arg1){ case 0: SFX = new ShootSFX(); break; case 1: SFX = new ExplodeSFX(); break; case 2: SFX = new SpawnSFX(); break; case 3: SFX = new ReloadSFX(); break; case 4: SFX = new ShotgunSFX(); break; case 5: SFX = new DiscSFX(); break; case 6: SFX = new PlasmaSFX(); break; case 7: SFX = new LaserSFX(); break; case 8: _local2 = 3; break; case 9: _local2 = 2; break; case 10: _local2 = 4; break; case 11: SFX = new RailGunSFX(); break; case 12: SFX = new ScreamSFX(); break; case 13: SFX = new RocketSFX(); break; case 14: SFX = new hit1(); break; case 15: SFX = new hit2(); break; case 16: SFX = new hit3(); break; case 17: SFX = new hit4(); break; case 18: SFX = new hit5(); break; case 19: SFX = new PlasmaHitSFX(); break; }; if (_local2 > 0){ soundmc.gotoAndStop(_local2); } else { SFX.play(); }; }; }; } function frame1(){ stop(); Version = "version 1.0.2"; txtVersion.text = Version; isOnArmor = (this.root.loaderInfo.url.toLowerCase().indexOf("armorgames.com") > -1); isOnKong = (this.root.loaderInfo.url.toLowerCase().indexOf("kongregate.com") > -1); CPMStarDisabled = ((isOnArmor) || (isOnKong)); GamerSafeDisabled = ((isOnArmor) || (isOnKong)); stage.showDefaultContextMenu = false; if (!GamerSafeDisabled){ _gamerSafe = new GamerSafe(this); GamerSafe.api.addEventListener("login", function (){ gamersafead.visible = false; }); } else { gamersafead.visible = false; }; loaded = 0; actuallyloaded = 0; btnContinue.visible = false; addEventListener(Event.ENTER_FRAME, PL_Display); arrJokes = []; arrJokes.push("A rabbi, an Arab, a robot, and a Catholic priest walk into a bar. Only the robot exits."); arrJokes.push("A robot walks into a pharmacy. The pharmacist asks him if he'd like anything. The robot replies, \"A soul.\""); arrJokes.push("Q: How do you stop a robot from destroying you and the rest of civilization? \nA: You don't."); arrJokes.push("\"Waiter! Waiter! What's this robot doing in my soup?\" \"It looks like he's performing human tasks twice as well, because he knows no fear or pain.\""); arrJokes.push("Q: What's a robot's favorite cereal? \nA: Rob-os. (Note: Rob-os are made of the tears of human children.) "); arrJokes.push("Q: Why did the robot order a milkshake? \nA: To blend in with the general human population, making it easier to infiltrate society and—in time—conquer it. "); arrJokes.push("Q: Why did the robot cross the road? \nA: To enslave the human race"); arrJokes.push("Q: How many robots does it take to eliminate the human race? \nA: Just one"); arrJokes.push("Q: Whats worse than finding a maggot in your apple? \nA: Finding out that a robot has enslaved your entire town."); arrJokes.push("Q: How do you know when a robot has been near your house? \nA: The house has been vapourised."); robotjoke.joke.text = arrJokes[Math.floor((Math.random() * arrJokes.length))]; if (!CPMStarDisabled){ CPMStarContentSpotID = "1045Q3EB3AB1D"; ad = new AdLoader(CPMStarContentSpotID); adBox.addChild(ad); }; } public function fadetoblack():void{ fader = new Fade2Black(); fader.alpha = 0; addChild(fader); fading(); } function frame3(){ GameWidth = 700; GameHeight = 550; Score = 0; Money = 150; RobotsOnStage = 0; hasSeenInstructions = false; arrLightening = []; ComboTimer = 0; Combo = 0; Level = 1; arrLevels = []; arrWeapons = []; so = SharedObject.getLocal("KRF"); arrOptionNames = ["Sound FX", "Music", "Debris", "Debris Stays", "Blood"]; arrOptions = [true, true, true, true, true]; arrCheatIDs = [252, 0x0100, 253, 254, 0xFF]; arrCheatNames = ["Infinite Ammo", "Unstability", "Big Bangs", "Slo Mo Robots", "Body Armor"]; arrCheatDescriptions = ["All purchased weapons will never run out of ammunition saving you money and hastle", "Robots explode on contact with you, damaging and pushing away other nearby robots", "All robots create bigger explosions when destroyed causing larger combos and more carnage", "All robots move at half their speed making them much easier to run away from", "You will start each level with double the normal health allowing you to withstand more punishment"]; arrCheats = [false, false, false, false, false]; if (so.data.options != undefined){ trace(("Found Saved Options: " + so.data.options)); arrOptions = so.data.options.slice(0); }; if (so.data.cheats != undefined){ trace(("Found Cheats: " + so.data.cheats)); arrCheats = so.data.cheats.slice(0); }; arrWeapons[0] = []; arrWeapons[0].push(["Sub Machine Gun", 30, 25, 3, 15, 5, 1, 0, 1, 0, "Standard Weapon. The sub machine gun has rapid fire and infinite ammo, making it a useful basic weapon."]); arrWeapons[0].push(["Shotgun", 10, 25, 30, 25, 25, 8, 4, 2, 120, "Fires a spread of spherical pellets. Can cause a lot of damage at close range or hit several robots at a longer range."]); arrWeapons[0].push(["Minigun", 100, 30, 1, 15, 5, 1, 0, 3, 450, "Ultra rapid fire machine gun. The minigun quickly causes lots of damage with its spray of bullets. However, it uses up ammo quickly."]); arrWeapons[0].push(["Disc Launcher", 10, 15, 10, 25, 1, 1, 5, 4, 300, "Useful in crowded rooms, this gun fires damaging discs that bounce of robots and walls, allowing them to damage robots again."]); arrWeapons[0].push(["Plasma Cannon", 20, 20, 10, 100, 1, 1, 6, 5, 400, "Fires a ball of plasma which will send a robot flying back causing damage in the process."]); arrWeapons[0].push(["Auto Cannon", 100, 35, 2, 35, 0, 1, 7, 6, 700, "Rapid fire weapon that fires pulses or energy which cause quick damage to anything that gets in its way."]); arrWeapons[0].push(["Tesla Gun", 100, 0, 0, 15, 0, 1, 8, 7, 1000, "Uses large amounts of static, to generate a lightning bolt that will jump from the gun, to any metal object roughly in the direction the weapon is pointing."]); arrWeapons[0].push(["Rocket Launcher", 5, 15, 50, 100, 0, 1, 13, 8, 2000, "Fires rockets that explode on impact with a wall or robot sending robots flying and causing splash damage."]); arrWeapons[0].push(["Particle Rifle", 5, 30, 50, 100, 0, 1, 11, 9, 3000, "Fires clusters of microscopic particles that travel close to the speed of light. These particles travel through most things damaging them on the way."]); arrWeapons[1] = []; arrWeapons[1].push(["Sub Machine Gun", 30, 25, 3, 15, 5, 1, 0, 1, 0, "Standard Weapon. The sub machine gun has rapid fire and infinite ammo, making it a useful basic weapon."]); arrWeapons[1].push(["Shotgun", 10, 27, 30, 25, 25, 15, 4, 2, 120, "Increased damage and spread"]); arrWeapons[1].push(["Minigun", 100, 35, 1, 20, 5, 1, 0, 3, 250, "Increased speed and damage"]); arrWeapons[1].push(["Disc Launcher", 10, 15, 10, 25, 15, 2, 5, 4, 200, "2 discs per shot"]); arrWeapons[1].push(["Plasma Cannon", 20, 20, 4, 100, 1, 1, 6, 5, 400, "Increased firing rate"]); arrWeapons[1].push(["Auto Cannon", 100, 35, 2, 35, 5, 2, 7, 6, 600, "2 pulses per shot"]); arrWeapons[1].push(["Tesla Gun", 100, 0, 0, 15, 0, 2, 8, 7, 1000, "Increased chain"]); arrWeapons[1].push(["Rocket Launcher", 5, 15, 50, 100, 0, 1, 13, 9, 2000, "Increased damage and blast"]); arrWeapons[1].push(["Particle Rifle", 5, 30, 40, 100, 0, 2, 11, 8, 2000, "Bounce off wall"]); arrWeapons[2] = []; arrWeapons[2].push(["Sub Machine Gun", 30, 25, 3, 15, 5, 1, 0, 1, 0, "Standard Weapon. The sub machine gun has rapid fire and infinite ammo, making it a useful basic weapon."]); arrWeapons[2].push(["Shotgun", 10, 30, 30, 25, 35, 20, 4, 2, 120, "Increased damage and spread"]); arrWeapons[2].push(["Minigun", 100, 40, 1, 25, 5, 1, 0, 3, 250, "Increased speed and damage"]); arrWeapons[2].push(["Disc Launcher", 10, 15, 10, 25, 20, 3, 5, 4, 200, "3 discs per shot"]); arrWeapons[2].push(["Plasma Cannon", 20, 20, 3, 100, 1, 1, 6, 5, 400, "Increased firing rate"]); arrWeapons[2].push(["Auto Cannon", 100, 35, 2, 35, 5, 3, 7, 6, 600, "3 pulses per shot"]); arrWeapons[2].push(["Tesla Gun", 100, 0, 0, 15, 0, 3, 8, 7, 1000, "Increased chain"]); arrWeapons[2].push(["Rocket Launcher", 5, 15, 50, 100, 0, 1, 13, 9, 2000, "Increased damage and blast"]); arrWeapons[2].push(["Particle Rifle", 5, 30, 30, 100, 0, 3, 11, 8, 2000, "Bounce off 2 walls"]); arrWeapons[3] = []; arrWeapons[3].push(["Sub Machine Gun", 30, 25, 3, 15, 5, 1, 0, 1, 0, ""]); arrWeapons[3].push(["Shotgun", 10, 30, 30, 25, 45, 25, 4, 2, 120, "Increased damage and spread", 140]); arrWeapons[3].push(["Minigun", 100, 45, 1, 30, 5, 1, 0, 3, 250, "Increased speed and damage", 141]); arrWeapons[3].push(["Disc Launcher", 10, 15, 10, 25, 25, 4, 5, 4, 200, "4 discs per shot", 142]); arrWeapons[3].push(["Plasma Cannon", 20, 20, 2, 100, 1, 1, 6, 5, 400, "Increased firing rate", 143]); arrWeapons[3].push(["Auto Cannon", 100, 35, 2, 35, 7, 4, 7, 6, 600, "4 pulses per shot", 144]); arrWeapons[3].push(["Tesla Gun", 100, 0, 0, 15, 0, 4, 8, 7, 1000, "Increased chain", 145]); arrWeapons[3].push(["Rocket Launcher", 5, 15, 50, 100, 0, 1, 13, 9, 2000, "Increased damage and blast", 146]); arrWeapons[3].push(["Particle Rifle", 5, 30, 30, 100, 0, 4, 11, 8, 2000, "Bounce off 3 walls", 147]); arrMyWeapons = []; w = 0; while (w < 10) { arrMyWeapons[w] = []; if (w >= arrWeapons[0].length){ arrMyWeapons[w][0] = null; arrMyWeapons[w][1] = null; } else { if (w == 0){ arrMyWeapons[w][0] = w; arrMyWeapons[w][1] = arrWeapons[w][1]; } else { arrMyWeapons[w][0] = null; arrMyWeapons[w][1] = null; }; }; w++; }; AddWeapon(0); PlayerStartWeapon = 0; arrLevels.push(["General Workerbot", 0]); arrLevels.push(["Electrobot", 2]); arrLevels.push(["Lumber Jackbot", 3]); arrLevels.push(["Shieldbot", 6]); arrLevels.push(["Demobot", 5]); arrLevels.push(["Responsebot", 1]); arrLevels.push(["Incineratorbot", 4]); arrLevels.push(["Soldierbot", 7]); scrollRect = new Rectangle(0, 0, GameWidth, GameHeight); agi_url = "http://agi.armorgames.com/assets/agi/AGI.swf"; Security.allowDomain(agi_url); Security.allowInsecureDomain(agi_url); devKey = "b1305031561c7d56b1adc6bb061d776b"; gameKey = "killer-robot-factory"; urlRequest = new URLRequest(agi_url); loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete); loader.load(urlRequest); if (!isOnArmor){ MochiBot.track(this, "7d92e0a2"); }; fps = new FPSCounter(); arrRobots = []; arrBullets = []; arrExhaust = []; timer = 0; mouseisdown = false; arrExplosions = []; Destroyed = 0; TotalDestroyed = 0; hasDied = false; hasCheated = false; Health = 100; arrPowerUps = []; Spawned = 0; keysDown = []; Ammo = 30; gamepaused = false; GameMode = 1; Dead = false; MusicTrack = 0; arrWeaponSelectionIndicators = []; arrMessages = []; RobotType = -1; RobotLimit = 30; bolt = new MovieClip(); agintro(); MusicTrack = random(4); menuypos = 285; soundmc.gotoAndStop(1); qualitychecktimer = 0; } public function confirmstartgame(_arg1:MouseEvent):void{ startnewgame(); } public function credits(_arg1:MouseEvent):void{ if (menu != null){ if (stage.contains(menu)){ removeChild(menu); menu = null; }; }; menu = new Credits(); addChild(menu); menu.inner.btnBOG.addEventListener(MouseEvent.CLICK, creditlink); menu.inner.btnArmor.addEventListener(MouseEvent.CLICK, creditlink); menu.inner.btnFGA.addEventListener(MouseEvent.CLICK, creditlink); menu.inner.btnFutureMotions.addEventListener(MouseEvent.CLICK, creditlink); menu.inner.FGLLogo.btnFGL.addEventListener(MouseEvent.CLICK, creditlink); menu.btnMainMenu.addEventListener(MouseEvent.CLICK, quittomain); } public function mainmenu():void{ var _local1:MenuButton; if (!GamerSafeDisabled){ GamerSafe.api.showStatusBar(); }; if (1 == 1){ menuypos = 285; if (menu != null){ if (stage.contains(menu)){ removeChild(menu); menu = null; }; }; menu = new MainMenu(); menu.btnArmor.buttonMode = true; menu.btnArmor.addEventListener(MouseEvent.CLICK, creditlink); _local1 = newmenubutton("Continue Game", (so.data.Level == null)); if (so.data.Level != null){ _local1.addEventListener(MouseEvent.CLICK, continuegame); }; menu.addChild(_local1); _local1 = newmenubutton("New Game"); _local1.addEventListener(MouseEvent.CLICK, startgame); menu.addChild(_local1); _local1 = newmenubutton("Survival Mode"); _local1.addEventListener(MouseEvent.CLICK, startsurvival); menu.addChild(_local1); _local1 = newmenubutton("Highscores"); _local1.addEventListener(MouseEvent.CLICK, showhighscores); menu.addChild(_local1); if (!GamerSafeDisabled){ _local1 = newmenubutton("Cheat Menu"); _local1.addEventListener(MouseEvent.CLICK, cheatsmenu); menu.addChild(_local1); }; _local1 = newmenubutton("Options"); _local1.addEventListener(MouseEvent.CLICK, optionsmenu); menu.addChild(_local1); _local1 = newmenubutton("Credits"); _local1.addEventListener(MouseEvent.CLICK, credits); menu.addChild(_local1); _local1 = newmenubutton("More Games"); _local1.addEventListener(MouseEvent.CLICK, creditlink); menu.addChild(_local1); menu.txtVersion.text = Version; addChild(menu); } else { stage.visible = false; }; } public function fadein(_arg1:MovieClip):void{ _arg1.alpha = (_arg1.alpha + 0.02); if (_arg1.alpha < 1){ setTimeout(fadein, 40, _arg1); }; } public function droppowerup(_arg1):void{ var _local2:int; var _local3:MovieClip; var _local4:int; if (Math.random() > 0.6){ _local2 = 1; } else { _local4 = 0; while (_local4 < 10) { _local2 = (random((arrMyWeapons.length - 2)) + 2); if (arrMyWeapons[_local2][0] != null){ _local2 = (_local2 + 2); break; } else { _local2 = -1; }; _local4++; }; if (_local2 == -1){ _local2 = 1; }; }; if (_local2 == 1){ _local3 = new HealthPack(); } else { _local3 = new Powerup(); }; if ((((_local2 == 1)) || ((arrCheats[0] == false)))){ _local3.type = _local2; _local3.x = _arg1.x; _local3.y = _arg1.y; _local3.rotation = random(360); game.addChild(_local3); game.setChildIndex(_local3, 2); arrPowerUps.push(_local3); }; } public function creditlink(_arg1:MouseEvent):void{ var _local2:String; switch (_arg1.target.name){ case "btnFutureMotions": _local2 = "http://www.myspace.com/futuremotions"; break; case "btnFGL": _local2 = "http://www.flashgamelicense.com"; break; case "btnFGA": _local2 = "http://www.flashgameart.com"; break; case "btnBOG": _local2 = "http://www.benoldinggames.co.uk"; break; case "btnArmor": _local2 = "http://www.armorgames.com"; break; default: _local2 = "http://www.armorgames.com"; trace((("No link for: " + _arg1.target.name) + " defaulting to armor")); }; navigateToURL(new URLRequest(_local2), "_blank"); } public function decolourize(_arg1:MovieClip):void{ var _local2:*; _local2 = new ColorTransform(); _arg1.transform.colorTransform = _local2; } public function agicloseHandler():void{ trace("Highscores closed"); } public function HitRobot(_arg1:MovieClip):int{ var _local2:int; var _local3:int; _local2 = -1; if (_arg1.hashit != true){ _local3 = 1; while (_local3 < arrRobots.length) { if (((Collision(_arg1, arrRobots[_local3])) && (!((arrRobots[_local3] == _arg1.firer))))){ _local2 = _local3; break; }; _local3++; }; }; return (_local2); } public function AddNewOption(_arg1:String, _arg2:int):OptionItem{ var _local3:OptionItem; _local3 = new OptionItem(); _local3.txtOption.text = _arg1; _local3.onoff.optionnum = _arg2; if (arrOptions[_arg2] == true){ _local3.onoff.onbutton.gotoAndStop(2); _local3.onoff.offbutton.gotoAndStop(1); _local3.onoff.offbutton.buttonMode = true; _local3.onoff.offbutton.addEventListener(MouseEvent.CLICK, optionoff); } else { _local3.onoff.onbutton.gotoAndStop(1); _local3.onoff.offbutton.gotoAndStop(2); _local3.onoff.onbutton.buttonMode = true; _local3.onoff.onbutton.addEventListener(MouseEvent.CLICK, optionon); }; return (_local3); } public function quitgame(_arg1:MouseEvent):void{ endlevel(3); } public function AddNewCheat(_arg1:String, _arg2:int):CheatItem{ var _local3:CheatItem; _local3 = new CheatItem(); _local3.txtCheat.text = _arg1; _local3.txtCheatDesc.text = arrCheatDescriptions[_arg2]; _local3.onoff.optionnum = _arg2; if (arrCheats[_arg2] == true){ _local3.onoff.onbutton.gotoAndStop(2); _local3.onoff.offbutton.gotoAndStop(1); _local3.onoff.offbutton.buttonMode = true; _local3.onoff.offbutton.addEventListener(MouseEvent.CLICK, cheatoff); } else { _local3.onoff.onbutton.gotoAndStop(1); _local3.onoff.offbutton.gotoAndStop(2); if (GamerSafe.api.hasItem(arrCheatIDs[_arg2])){ _local3.onoff.onbutton.buttonMode = true; _local3.onoff.onbutton.addEventListener(MouseEvent.CLICK, cheaton); } else { _local3.onoff.onbutton.alpha = 0.4; _local3.onoff.onbutton.buttonMode = false; }; }; return (_local3); } public function radians(_arg1:Number):Number{ return (((Math.PI / 180) * _arg1)); } public function mousedown(_arg1:MouseEvent){ mouseisdown = true; } public function random(_arg1:int):int{ return (Math.floor((Math.random() * _arg1))); } public function removeBullet(_arg1:int):void{ game.removeChild(arrBullets[_arg1]); arrBullets[_arg1] = null; arrBullets.splice(_arg1, 1); } public function gotoshop(_arg1:MouseEvent):void{ var _local2:int; var _local3:int; if (!GamerSafeDisabled){ GamerSafe.api.showStatusBar(); }; if (menu != null){ if (stage.contains(menu)){ removeChild(menu); menu = null; }; }; menu = new ShopScreen(); menu.shop.txtMoney.text = ("Money: $" + Money); menu.shop.preview.stop(); _local3 = 0; while (_local3 < 9) { _local2 = hasWeapon(_local3); if (_local3 >= arrWeapons[0].length){ menu.shop[("weapon" + _local3)].visible = false; } else { if (_local2 != -1){ menu.shop[("weapon" + _local3)].wlevel.gotoAndStop((arrMyWeapons[_local2][3] + 1)); if ((((arrMyWeapons[_local2][2] > -1)) && ((arrCheats[0] == false)))){ menu.shop[("weapon" + _local3)].txtWeaponText.text = ((("Ammo: " + arrMyWeapons[_local2][1]) + " / ") + arrMyWeapons[_local2][2]); } else { menu.shop[("weapon" + _local3)].txtWeaponText.text = ((("Ammo: " + arrMyWeapons[_local2][1]) + " / ") + "Inf"); }; } else { menu.shop[("weapon" + _local3)].wlevel.gotoAndStop(1); menu.shop[("weapon" + _local3)].txtWeaponText.text = ("$" + arrWeapons[0][_local3][9]); colourize(menu.shop[("weapon" + _local3)].weapon, 0); }; }; menu.shop[("weapon" + _local3)].weaponid = _local3; menu.shop[("weapon" + _local3)].weapon.gotoAndStop((_local3 + 1)); menu.shop[("weapon" + _local3)].buttonMode = true; menu.shop[("weapon" + _local3)].mouseChildren = false; menu.shop[("weapon" + _local3)].addEventListener(MouseEvent.ROLL_OVER, weaponrollover); menu.shop[("weapon" + _local3)].addEventListener(MouseEvent.ROLL_OUT, weaponrollout); menu.shop[("weapon" + _local3)].addEventListener(MouseEvent.CLICK, weaponclick); _local3++; }; addChild(menu); menu.btnMainMenu.addEventListener(MouseEvent.CLICK, gotomainmenu); menu.btnContinue.addEventListener(MouseEvent.CLICK, startlevel); stage.focus = stage; } public function optionoff(_arg1:MouseEvent):void{ arrOptions[_arg1.target.parent.optionnum] = false; dooptionsmenu(); so.data.options = arrOptions.slice(0); } public function step(_arg1:Event):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:MovieClip; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:int; var _local11:int; var _local12:int; var _local13:int; var _local14:GlowFilter; var _local15:Array; var _local16:int; var _local17:int; var _local18:MovieClip; var _local19:Array; var _local20:int; var _local21:MovieClip; var _local22:int; var _local23:int; var _local24:int; var _local25:int; var _local26:int; var _local27:MovieClip; var _local28:int; var _local29:int; var _local30:MovieClip; var _local31:*; var _local32:*; var _local33:int; var _local34:MovieClip; if (gamepaused == true){ stage.quality = "HIGH"; } else { qualitychecktimer++; if ((((qualitychecktimer > 50)) && (!((stage.quality == "LOW"))))){ qualitychecktimer = 0; if ((((fps.fps < 20)) && ((stage.quality == "HIGH")))){ trace((("FPS is " + fps.fps) + " reducing quality to MEDIUM")); stage.quality = "MEDIUM"; } else { if ((((fps.fps < 20)) && ((stage.quality == "MEDIUM")))){ trace((("FPS is " + fps.fps) + " reducing quality to LOW")); stage.quality = "LOW"; }; }; }; _local2 = 0; while (_local2 < arrMessages.length) { var _local35 = arrMessages[_local2]; var _local36 = 1; var _local37 = (_local35[_local36] - 1); _local35[_local36] = _local37; if (arrMessages[_local2][1] <= 0){ HUD.removeChild(arrMessages[_local2][0]); arrMessages.splice(_local2, 1); } else { if (arrMessages[_local2][1] < 100){ arrMessages[_local2][0].alpha = (1 / (100 - arrMessages[_local2][1])); }; }; _local2++; }; if (WeaponSelectedIndicator.alpha > 0){ WeaponSelectedIndicator.alpha = (WeaponSelectedIndicator.alpha - 0.02); }; HUD.txtScore.text = ("Score: " + Score); if (ComboTimer > 0){ ComboTimer--; if (ComboTimer == 0){ if (Combo > 1){ GameMessage(((Combo + " robot combo") + ComboComment(Combo))); }; Combo = 0; }; }; soundmc.gotoAndStop(1); if ((((Health <= 0)) && (!((Dead == true))))){ HUD.visible = false; GameMessage("<font color=\"#FF0000\">You Died</font>"); Dead = true; StopMusic(); _local5 = new DeadBody(); _local5.x = player.x; _local5.y = player.y; _local5.rotation = player.rotation; player.visible = false; game.addChild(_local5); game.setChildIndex(_local5, 2); hasDied = true; so.data.hasDied = true; playsound(12); setTimeout(fadetoblack, 2000); }; weaponselect(); if (Dead == true){ } else { if (((keyisdown(38)) || (keyisdown(87)))){ keysDown[40] = false; keysDown[83] = false; if (player.yspeed > -(player.maxspeed)){ player.yspeed = (player.yspeed - 1); } else { player.yspeed = -(player.maxspeed); }; }; if (((keyisdown(40)) || (keyisdown(83)))){ keysDown[38] = false; keysDown[87] = false; if (player.yspeed < player.maxspeed){ player.yspeed = (player.yspeed + 1); } else { player.yspeed = player.maxspeed; }; }; if (!((((((keyisdown(38)) || (keyisdown(40)))) || (keyisdown(87)))) || (keyisdown(83)))){ player.yspeed = (player.yspeed / 1.2); }; if (((keyisdown(37)) || (keyisdown(65)))){ keysDown[39] = false; keysDown[68] = false; if (player.xspeed > -(player.maxspeed)){ player.xspeed = (player.xspeed - 1); }; }; if (((keyisdown(39)) || (keyisdown(68)))){ keysDown[37] = false; keysDown[65] = false; if (player.xspeed < player.maxspeed){ player.xspeed = (player.xspeed + 1); }; }; if (!((((((keyisdown(37)) || (keyisdown(39)))) || (keyisdown(65)))) || (keyisdown(68)))){ player.xspeed = (player.xspeed / 1.2); }; if ((player.y + player.yspeed) > GameHeight){ player.y = GameHeight; player.yspeed = -(Math.abs(player.yspeed)); } else { if ((player.y + player.yspeed) < 0){ player.y = 0; player.yspeed = Math.abs(player.yspeed); }; }; if ((player.x + player.yspeed) > GameWidth){ player.x = GameWidth; player.xspeed = -(Math.abs(player.xspeed)); } else { if ((player.x + player.xspeed) < 0){ player.x = 0; player.xspeed = Math.abs(player.xspeed); }; }; player.y = (player.y + player.yspeed); player.x = (player.x + player.xspeed); player.speed = Math.sqrt(((player.xspeed * player.xspeed) + (player.yspeed * player.yspeed))); player.legs.rotation = (((Math.atan2(player.yspeed, player.xspeed) * (180 / Math.PI)) - 90) - player.rotation); if (((((((((((((((keyisdown(37)) || (keyisdown(39)))) || (keyisdown(38)))) || (keyisdown(40)))) || (keyisdown(87)))) || (keyisdown(83)))) || (keyisdown(65)))) || (keyisdown(67)))){ if (player.legs.currentFrame == player.legs.totalFrames){ player.legs.gotoAndStop(1); } else { player.legs.nextFrame(); }; } else { player.legs.stop(); }; player.rotation = ((Math.atan2((player.y - mouseY), (player.x - mouseX)) * (180 / Math.PI)) - 90); _local2 = 0; while (_local2 < arrPowerUps.length) { if (Collision(player, arrPowerUps[_local2])){ if (arrPowerUps[_local2].type == 1){ GameMessage("<font color=\"#00FF66\">Collected +30 Health</font>"); Health = (Health + 30); if (Health > 100){ Health = 100; }; } else { if (arrMyWeapons[(arrPowerUps[_local2].type - 2)][0] != null){ if ((arrMyWeapons[(arrPowerUps[_local2].type - 2)][2] + arrWeapons[0][arrMyWeapons[(arrPowerUps[_local2].type - 2)][0]][1]) > (arrWeapons[0][arrMyWeapons[(arrPowerUps[_local2].type - 2)][0]][1] * 5)){ if (arrMyWeapons[(arrPowerUps[_local2].type - 2)][2] == (arrWeapons[0][arrMyWeapons[(arrPowerUps[_local2].type - 2)][0]][1] * 5)){ arrMyWeapons[(arrPowerUps[_local2].type - 2)][1] = arrWeapons[0][arrMyWeapons[(arrPowerUps[_local2].type - 2)][0]][1]; } else { arrMyWeapons[(arrPowerUps[_local2].type - 2)][2] = (arrWeapons[0][arrMyWeapons[(arrPowerUps[_local2].type - 2)][0]][1] * 5); }; } else { arrMyWeapons[(arrPowerUps[_local2].type - 2)][2] = (arrMyWeapons[(arrPowerUps[_local2].type - 2)][2] + arrWeapons[0][arrMyWeapons[(arrPowerUps[_local2].type - 2)][0]][1]); }; GameMessage((("<font color=\"#66CCFF\">Collected " + arrWeapons[0][arrMyWeapons[(arrPowerUps[_local2].type - 2)][0]][0]) + " Ammo</font>")); player.reloading = true; playsound(3); player.gun.gotoAndStop(1); playsound(10); setTimeout(addammo, 1000); } else { GameMessage((("<font color=\"#FFFF00\">Collected a " + arrWeapons[0][(arrPowerUps[_local2].type - 2)][0]) + "</font>")); AddWeapon((arrPowerUps[_local2].type - 2)); WeaponSelectedIndicator.alpha = 1; }; }; game.removeChild(arrPowerUps[_local2]); arrPowerUps[_local2] = null; arrPowerUps.splice(_local2, 1); }; _local2++; }; if ((((keyisdown(82) == true)) && (!((player.reloading == true))))){ trace("Reloading..."); player.reloading = true; playsound(3); player.gun.gotoAndStop(1); setTimeout(addammo, 1000); }; player.reload--; if (((mouseisdown) && ((player.reload <= 0)))){ if ((((arrMyWeapons[player.weapon][1] > 0)) && (!((player.reloading == true))))){ if (player.weapon <= 2){ player.gun.gotoAndStop(2); }; _local35 = arrMyWeapons[player.weapon]; _local36 = 1; _local37 = (_local35[_local36] - 1); _local35[_local36] = _local37; FireWeapon(player, arrMyWeapons[player.weapon][0]); } else { if (player.reloading != true){ if ((((((arrMyWeapons[player.weapon][1] == 0)) && ((arrMyWeapons[player.weapon][2] == 0)))) && ((arrCheats[0] == false)))){ if (player.weapon != 0){ chooseweapon(0); }; }; player.reloading = true; playsound(3); player.gun.gotoAndStop(1); setTimeout(addammo, 1000); }; }; } else { player.gun.gotoAndStop(1); }; }; _local3 = 0; while (_local3 < arrLightening.length) { game.removeChild(arrLightening[_local3]); arrLightening.splice(_local3, 1); _local3++; }; _local3 = 0; while (_local3 < arrBullets.length) { if (arrBullets[_local3].done == true){ removeBullet(_local3); } else { if (arrBullets[_local3].type == 8){ arrBullets[_local3].rotation = 0; arrBullets[_local3].graphics.lineStyle(3, 0xFFFFFF); _local6 = arrBullets[_local3].x; _local7 = arrBullets[_local3].y; _local8 = 0; while (_local8 < arrWeapons[arrMyWeapons[hasWeapon(arrBullets[_local3].type)][3]][arrBullets[_local3].type][6]) { if (_local12 > GameWidth){ arrBullets[_local3].xspeed = -(Math.abs(arrBullets[_local3].xspeed)); }; if (_local12 < 0){ arrBullets[_local3].xspeed = Math.abs(arrBullets[_local3].xspeed); }; if (_local13 > GameHeight){ arrBullets[_local3].yspeed = -(Math.abs(arrBullets[_local3].yspeed)); }; if (_local13 < 0){ arrBullets[_local3].yspeed = Math.abs(arrBullets[_local3].yspeed); }; _local9 = 1; while (_local9 < 100) { _local10 = (arrBullets[_local3].xspeed * _local9); _local11 = (arrBullets[_local3].yspeed * _local9); _local12 = (_local6 + _local10); _local13 = (_local7 + _local11); if ((((((((_local12 > GameWidth)) || ((_local12 < 0)))) || ((_local13 > GameHeight)))) || ((_local13 < 0)))){ arrBullets[_local3].graphics.lineTo((arrBullets[_local3].xspeed * _local9), (arrBullets[_local3].yspeed * _local9)); _local14 = new GlowFilter(); _local14.color = 0x9900FF; _local14.alpha = 1; _local14.blurX = 25; _local14.blurY = 25; _local15 = new Array(_local14); arrBullets[_local3].filters = _local15; break; } else { _local16 = 1; while (_local16 < arrRobots.length) { _local17 = Math.sqrt((((_local12 - arrRobots[_local16].x) * (_local12 - arrRobots[_local16].x)) + ((_local13 - arrRobots[_local16].y) * (_local13 - arrRobots[_local16].y)))); if (_local17 < arrRobots[_local16].width){ arrRobots[_local16].actualhealth = 0; }; _local16++; }; }; _local9++; }; _local8++; }; arrBullets[_local3].done = true; } else { if (arrBullets[_local3].type == 6){ _local18 = arrBullets[_local3]; _local19 = []; _local20 = 0; while (_local20 < arrWeapons[arrMyWeapons[hasWeapon(arrBullets[_local3].type)][3]][arrBullets[_local3].type][6]) { _local21 = null; _local22 = -1; if (_local20 > 0){ _local22 = 200; }; _local24 = 1; while (_local24 < arrRobots.length) { _local25 = Math.abs((GetAngle(_local18, arrRobots[_local24]) - _local18.rotation)); if (_local25 > 180){ _local25 = Math.abs((_local25 - 360)); }; if ((((_local25 < 30)) || ((_local20 > 0)))){ _local26 = GetDistance(_local18, arrRobots[_local24]); if ((((_local26 < _local22)) || ((_local22 == -1)))){ if (arrRobots[_local24] != _local18){ if (!(((((_local19[0] == arrRobots[_local24])) || ((_local19[1] == arrRobots[_local24])))) || ((_local19[2] == arrRobots[_local24])))){ _local21 = arrRobots[_local24]; _local22 = _local26; _local23 = GetAngle(_local18, arrRobots[_local24]); }; }; }; }; _local24++; }; arrBullets[_local3].done = true; if (_local21 != null){ lightningbolt(_local18.x, _local18.y, _local23, _local22, _local20); _local21.health = (_local21.health - Math.ceil((Math.random() * arrBullets[_local3].damage))); _local21.actualhealth = (_local21.actualhealth - Math.ceil((Math.random() * (arrBullets[_local3].damage / 3)))); _local21.disabled = 10; _local18 = _local21; _local19[_local20] = _local21; } else { break; }; _local20++; }; } else { if (arrBullets[_local3].type == 7){ _local27 = new RocketExhaust(); _local27.x = arrBullets[_local3].x; _local27.y = arrBullets[_local3].y; _local27.rotation = (Math.random() * 360); game.addChild(_local27); arrExhaust.push(_local27); }; if (arrBullets[_local3].hashit != true){ arrBullets[_local3].x = (arrBullets[_local3].x + arrBullets[_local3].xspeed); arrBullets[_local3].y = (arrBullets[_local3].y + arrBullets[_local3].yspeed); } else { if ((((arrBullets[_local3].type == 4)) && ((arrBullets[_local3].currentFrame == 1)))){ playsound(19); }; arrBullets[_local3].play(); if (arrBullets[_local3].currentFrame >= arrBullets[_local3].totalFrames){ removeBullet(_local3); }; }; }; }; }; _local3++; }; _local3 = 0; while (_local3 < arrBullets.length) { _local28 = 0; _local29 = HitRobot(arrBullets[_local3]); if (_local29 != -1){ if (arrBullets[_local3].type == 7){ exploderocket(arrBullets[_local3]); } else { if (arrRobots[_local29].type == 6){ _local28 = (arrRobots[_local29].rotation - GetAngle(arrRobots[_local29], arrBullets[_local3])); if (_local28 >= 180){ _local28 = (_local28 - 360); }; if (_local28 <= -180){ _local28 = (_local28 + 360); }; if (Math.abs(_local28) > 45){ arrRobots[_local29].health = (arrRobots[_local29].health - Math.ceil((Math.random() * arrBullets[_local3].damage))); arrRobots[_local29].actualhealth = (arrRobots[_local29].actualhealth - Math.ceil((Math.random() * (arrBullets[_local3].damage / 3)))); arrRobots[_local29].disabled = 10; arrRobots[_local29].xspeed = (arrRobots[_local29].xspeed + (1 * Math.cos(radians((arrBullets[_local3].rotation - 90))))); arrRobots[_local29].yspeed = (arrRobots[_local29].yspeed + (1 * Math.sin(radians((arrBullets[_local3].rotation - 90))))); }; } else { if (arrBullets[_local3].type > -1){ playsound((14 + random(5))); }; arrRobots[_local29].health = (arrRobots[_local29].health - Math.ceil((Math.random() * arrBullets[_local3].damage))); arrRobots[_local29].actualhealth = (arrRobots[_local29].actualhealth - Math.ceil((Math.random() * (arrBullets[_local3].damage / 3)))); arrRobots[_local29].disabled = 10; arrRobots[_local29].xspeed = (arrRobots[_local29].xspeed + (1 * Math.cos(radians((arrBullets[_local3].rotation - 90))))); arrRobots[_local29].yspeed = (arrRobots[_local29].yspeed + (1 * Math.sin(radians((arrBullets[_local3].rotation - 90))))); }; }; if ((((arrBullets[_local3].type == 3)) && ((((arrBullets[_local3].hits == null)) || ((arrBullets[_local3].hits < 5)))))){ if (arrBullets[_local3].hits == null){ arrBullets[_local3].hits = 1; } else { arrBullets[_local3].hits++; }; arrBullets[_local3].xspeed = -((arrBullets[_local3].speed * Math.cos(radians((GetAngle(arrBullets[_local3], arrRobots[_local29]) - 90))))); arrBullets[_local3].yspeed = -((arrBullets[_local3].speed * Math.sin(radians((GetAngle(arrBullets[_local3], arrRobots[_local29]) - 90))))); } else { arrBullets[_local3].hashit = true; if (arrBullets[_local3].type == 4){ arrRobots[_local29].xspeed = ((20 * Math.cos(radians((GetAngle(arrBullets[_local3], arrRobots[_local29]) - 90)))) * 2); arrRobots[_local29].yspeed = ((20 * Math.sin(radians((GetAngle(arrBullets[_local3], arrRobots[_local29]) - 90)))) * 2); }; }; } else { if ((((((Dead == false)) && (Collision(arrBullets[_local3], player)))) && (!((arrBullets[_local3].firer == player))))){ removeBullet(_local3); Health--; } else { if ((((((((((arrBullets[_local3].x < 0)) || ((arrBullets[_local3].x > GameWidth)))) || ((arrBullets[_local3].y < 0)))) || ((arrBullets[_local3].y > GameHeight)))) || ((((arrBullets[_local3].removeafterani == true)) && ((arrBullets[_local3].currentFrame >= arrBullets[_local3].totalFrames)))))){ if (arrBullets[_local3].type == 7){ exploderocket(arrBullets[_local3]); removeBullet(_local3); } else { if ((((arrBullets[_local3].type == 3)) && ((((arrBullets[_local3].hits == null)) || ((arrBullets[_local3].hits < 5)))))){ if (arrBullets[_local3].x < 0){ arrBullets[_local3].x = 0; arrBullets[_local3].xspeed = Math.abs(arrBullets[_local3].xspeed); } else { if (arrBullets[_local3].x > GameWidth){ arrBullets[_local3].x = GameWidth; arrBullets[_local3].xspeed = -(Math.abs(arrBullets[_local3].xspeed)); } else { if (arrBullets[_local3].y > GameHeight){ arrBullets[_local3].y = GameHeight; arrBullets[_local3].yspeed = -(Math.abs(arrBullets[_local3].yspeed)); } else { if (arrBullets[_local3].y < 0){ arrBullets[_local3].y = 0; arrBullets[_local3].yspeed = Math.abs(arrBullets[_local3].yspeed); }; }; }; }; if (arrBullets[_local3].hits == null){ arrBullets[_local3].hits = 1; } else { arrBullets[_local3].hits++; }; } else { removeBullet(_local3); }; }; }; }; }; _local3++; }; _local3 = 0; while (_local3 < arrExplosions.length) { if (arrExplosions[_local3].currentFrame > 10){ game.removeChild(arrExplosions[_local3]); arrExplosions.splice(_local3, 1); }; _local3++; }; _local3 = 0; while (_local3 < arrExhaust.length) { if (arrExhaust[_local3].currentFrame >= arrExhaust[_local3].totalFrames){ game.removeChild(arrExhaust[_local3]); arrExhaust.splice(_local3, 1); }; _local3++; }; timer++; if ((((((((timer > (25 - Level))) && ((Health > 0)))) && ((((Spawned < RobotLimit)) || ((RobotLimit < 0)))))) && ((RobotsOnStage < 50)))){ timer = 0; AddEnemy(); }; HUD.txtHealth.text = ("Health: " + Health); if ((((arrMyWeapons[player.weapon][2] > -1)) && ((arrCheats[0] == false)))){ HUD.txtAmmo.text = ((arrMyWeapons[player.weapon][1] + " / ") + arrMyWeapons[player.weapon][2]); } else { HUD.txtAmmo.text = (arrMyWeapons[player.weapon][1] + " / Inf"); }; HUD.txtWeapon.text = arrWeapons[0][arrMyWeapons[player.weapon][0]][0]; HUD.weaponicon.gotoAndStop((arrMyWeapons[player.weapon][0] + 1)); _local4 = 1; while (_local4 < arrRobots.length) { _local30 = arrRobots[_local4]; if (_local30.health < _local30.actualhealth){ _local30.actualhealth--; }; if (_local30.health <= 0){ _local30.light.play(); }; _local31 = Math.sqrt((((player.x - _local30.x) * (player.x - _local30.x)) + ((player.y - _local30.y) * (player.y - _local30.y)))); if (_local30.actualhealth <= 0){ exploderobot(_local4); } else { if ((((((((_local31 < (GameWidth / 2))) || ((_local30.disabled > 0)))) || (((arrRobots.length - 1) < 20)))) && ((Health > 0)))){ if ((((_local31 < 200)) && ((_local30.type == 4)))){ FireWeapon(_local30, -1); } else { if ((((_local31 < 300)) && ((_local30.type == 7)))){ if (_local30.reload == null){ _local30.reload = 0; }; if (_local30.reload <= 0){ FireWeapon(_local30, 0); } else { _local30.reload--; }; }; }; if (_local30.type == 6){ _local32 = (GetAngle(_local30, player) - _local30.rotation); if (_local32 > 180){ _local32 = (_local32 - 360); }; if (_local32 < -180){ _local32 = (_local32 + 360); }; if (Math.abs(_local32) < 40){ if (_local30.speed < 2){ _local30.speed = (_local30.speed + 0.1); }; } else { if (_local30.speed > 0){ _local30.speed = (_local30.speed - 0.1); }; }; if ((((_local32 > 0)) || ((_local32 <= -180)))){ _local30.rotation++; } else { _local30.rotation--; }; } else { _local30.rotation = GetAngle(_local30, player); }; if (_local30.disabled <= 0){ _local30.xspeed = (_local30.speed * Math.cos(radians((_local30.rotation - 90)))); _local30.yspeed = (_local30.speed * Math.sin(radians((_local30.rotation - 90)))); } else { _local30.disabled--; _local30.xspeed = (_local30.xspeed / 1.2); _local30.yspeed = (_local30.yspeed / 1.2); }; if (((((((((_local30.x + _local30.xspeed) > GameWidth)) || (((_local30.x + _local30.xspeed) < 0)))) || (((_local30.y + _local30.yspeed) > GameHeight)))) || (((_local30.y + _local30.yspeed) < 0)))){ _local30.xspeed = 0; _local30.yspeed = 0; } else { if (arrCheats[3] == true){ _local30.x = (_local30.x + (_local30.xspeed / 2)); _local30.y = (_local30.y + (_local30.yspeed / 2)); } else { _local30.x = (_local30.x + _local30.xspeed); _local30.y = (_local30.y + _local30.yspeed); }; }; if (_local30.disabled <= 0){ _local33 = 0; while (_local33 < arrRobots.length) { _local34 = arrRobots[_local33]; if (_local30 != _local34){ if (Collision(_local30, _local34) == true){ if (_local33 == 0){ if ((((_local30.xspeed == 0)) && ((_local30.yspeed == 0)))){ _local30.xspeed = (_local34.xspeed * 2); _local30.yspeed = (_local34.yspeed * 2); } else { if (_local30.type == 5){ _local34.xspeed = (30 * Math.cos(radians((_local30.rotation - 90)))); _local34.yspeed = (30 * Math.sin(radians((_local30.rotation - 90)))); Health = (Health - (2 + random(4))); } else { _local34.xspeed = (_local30.xspeed * 5); _local34.yspeed = (_local30.yspeed * 5); }; }; if (_local30.type != 3){ _local30.disabled = 5; }; _local30.xspeed = 0; _local30.yspeed = 0; if (_local30.type == 3){ Health = (Health - (2 + random(4))); bleed(); bleed(); }; Health = (Health - (2 + random(4))); bleed(); if (arrCheats[1] == true){ _local30.health = 0; _local30.actualhealth = 0; }; playsound(9); } else { if (_local30.type == 5){ _local34.xspeed = (30 * Math.cos(radians((_local30.rotation - 90)))); _local34.yspeed = (30 * Math.sin(radians((_local30.rotation - 90)))); _local34.disabled = 25; } else { _local34.xspeed = (_local34.xspeed + _local30.xspeed); _local34.yspeed = (_local34.yspeed + _local30.yspeed); _local34.disabled = 0; _local30.disabled = 25; _local30.xspeed = 0; _local30.yspeed = 0; }; if (Collision(_local30, _local34) == true){ _local30.x = (_local30.x + ((_local30.x - _local34.x) / 30)); _local30.y = (_local30.y + ((_local30.y - _local34.y) / 30)); }; }; }; }; _local33++; }; }; } else { if (_local30.currentFrame != 2){ _local30.gotoAndStop(2); }; }; }; _local4++; }; }; } public function flashDeactive(_arg1:Event){ gamepaused = true; pausedoverlay.txtInstructions.text = "(Game lost focus)"; pausedoverlay.visible = gamepaused; } public function weaponrollover(_arg1:MouseEvent):void{ decolourize(_arg1.target.weapon); } public function addammo():void{ var _local1:int; if ((((arrMyWeapons[player.weapon][2] < 0)) || ((arrCheats[0] == true)))){ arrMyWeapons[player.weapon][1] = arrWeapons[0][player.weapon][1]; } else { _local1 = (arrWeapons[0][player.weapon][1] - arrMyWeapons[player.weapon][1]); if (_local1 <= arrMyWeapons[player.weapon][2]){ if (arrCheats[0] == false){ arrMyWeapons[player.weapon][2] = (arrMyWeapons[player.weapon][2] - _local1); }; arrMyWeapons[player.weapon][1] = (arrMyWeapons[player.weapon][1] + _local1); } else { arrMyWeapons[player.weapon][1] = (arrMyWeapons[player.weapon][1] + arrMyWeapons[player.weapon][2]); if (arrCheats[0] == false){ arrMyWeapons[player.weapon][2] = 0; }; }; }; player.reloading = false; } public function newmenubutton(_arg1:String, _arg2:Boolean=false):MenuButton{ var _local3:MenuButton; _local3 = new MenuButton(); _local3.x = 50; _local3.y = menuypos; _local3.txtLabel.text = _arg1; _local3.labeltext = _arg1; _local3.stop(); _local3.saw.stop(); _local3.mouseChildren = false; _local3.scaleY = 0.7; _local3.scaleX = 0.7; if (_arg2 == false){ _local3.buttonMode = true; _local3.addEventListener(MouseEvent.ROLL_OVER, menurollover); _local3.addEventListener(MouseEvent.ROLL_OUT, menurollout); } else { _local3.alpha = 0.5; }; menuypos = (menuypos + (_local3.height * 1.14)); return (_local3); } public function levelscreen():void{ var _local1:int; if (!GamerSafeDisabled){ GamerSafe.api.showStatusBar(); }; SaveGame(); RobotType = Math.floor(((Level + 1) / 3)); menu = new LevelScreen(); menu.txtLevel.text = ("Level " + Level); menu.leveldisplay.levelinfo.gotoAndStop((Math.floor(((Level + 1) / 3)) + 1)); menu.leveldisplay.levelinfo.txtToDestroy.text = (("Destroy " + (10 + (Level * 20))) + " Robots"); _local1 = 1; while (_local1 <= 20) { menu.leveldisplay[("level" + _local1)].leveltext.text = ("Level " + _local1); if (_local1 == Level){ colourize(menu.leveldisplay[("level" + _local1)].bg, 0x990000); colourize(menu.leveldisplay[(("robot" + (RobotType + 1)) + "bg")], 0x990000); }; _local1++; }; menu.btnContinue.addEventListener(MouseEvent.CLICK, gotoshop); menu.btnMainMenu.addEventListener(MouseEvent.CLICK, gotomainmenu); addChild(menu); } public function showhighscores(_arg1:MouseEvent):void{ addChild(agi); trace("Show scores..."); agi.showScoreboardList(); } public function chooseweapon(_arg1:int){ var _local2:int; WeaponSelectedIndicator.alpha = 1; player.weapon = _arg1; player.gun.gotoAndStop(1); playsound(10); _local2 = 1; while (_local2 <= 9) { if ((_local2 - 1) == _arg1){ colourize(arrWeaponSelectionIndicators[_local2].bg, 0x990000); } else { decolourize(arrWeaponSelectionIndicators[_local2].bg); }; if ((((arrMyWeapons[(_local2 - 1)][1] <= 0)) && ((arrMyWeapons[(_local2 - 1)][2] <= 0)))){ arrWeaponSelectionIndicators[_local2].alpha = 0.5; } else { if (arrMyWeapons[(_local2 - 1)][0] == null){ arrWeaponSelectionIndicators[_local2].alpha = 0.1; } else { arrWeaponSelectionIndicators[_local2].alpha = 1; }; }; _local2++; }; } public function optionon(_arg1:MouseEvent):void{ arrOptions[_arg1.target.parent.optionnum] = true; dooptionsmenu(); so.data.options = arrOptions.slice(0); } public function continuegame(_arg1:MouseEvent):void{ LoadGame(); GameMode = 1; debris = new BitmapData(GameWidth, GameHeight, true, 0); debrisbm = new Bitmap(debris); removeChild(menu); levelscreen(); stage.focus = stage; } public function weaponclick(_arg1:MouseEvent):void{ if (hasWeapon(_arg1.target.weaponid) == -1){ weaponoptionstobuy(_arg1.target.weaponid); } else { weaponoptionsown(_arg1.target.weaponid); }; menu.shop.preview.gotoAndStop((_arg1.target.weaponid + 2)); } public function startnewgame():void{ var _local1:int; GameMode = 1; debris = new BitmapData(GameWidth, GameHeight, true, 0); debrisbm = new Bitmap(debris); Destroyed = 0; TotalDestroyed = 0; hasDied = false; hasCheated = false; Score = 0; Money = 150; arrMyWeapons = []; _local1 = 0; while (_local1 < 10) { arrMyWeapons[_local1] = []; if (_local1 >= arrWeapons[0].length){ arrMyWeapons[_local1][0] = null; arrMyWeapons[_local1][1] = null; } else { if (_local1 == 0){ arrMyWeapons[_local1][0] = _local1; arrMyWeapons[_local1][1] = arrWeapons[_local1][1]; } else { arrMyWeapons[_local1][0] = null; arrMyWeapons[_local1][1] = null; }; }; _local1++; }; AddWeapon(0); Level = 1; removeChild(menu); levelscreen(); stage.focus = stage; } public function exploderocket(_arg1:MovieClip):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:MovieClip; var _local6:int; var _local7:int; _local2 = 400; _local3 = arrMyWeapons[8][3]; _local2 = (_local2 + (_local3 * 200)); _local4 = 0; while (_local4 < arrRobots.length) { _local6 = GetDistance(_arg1, arrRobots[_local4]); if (_local6 < _local2){ _local7 = GetAngle(_arg1, arrRobots[_local4]); if (_local4 == 0){ arrRobots[_local4].xspeed = ((((_local2 - _local6) / 5) * Math.cos(radians((_local7 - 90)))) / 2); arrRobots[_local4].yspeed = ((((_local2 - _local6) / 5) * Math.sin(radians((_local7 - 90)))) / 2); } else { arrRobots[_local4].disabled = ((_local2 - _local6) / 5); arrRobots[_local4].health = (arrRobots[_local4].health - ((((_local2 - _local6) / 5) * (_local3 + 1)) * 2)); arrRobots[_local4].xspeed = (((_local2 - _local6) / 5) * Math.cos(radians((_local7 - 90)))); arrRobots[_local4].yspeed = (((_local2 - _local6) / 5) * Math.sin(radians((_local7 - 90)))); }; }; _local4++; }; _local5 = new Explosion(); _local5.x = _arg1.x; _local5.y = _arg1.y; _local5.scaleX = (1 + _local3); _local5.scaleY = (1 + _local3); game.addChild(_local5); arrExplosions.push(_local5); playsound(1); } public function SaveGame():void{ var _local1:int; trace("Save Game"); so.data.Level = Level; so.data.Money = Money; so.data.Score = Score; so.data.TotalDestroyed = TotalDestroyed; so.data.hasDied = hasDied; if (ischeating() == true){ hasCheated = true; }; so.data.hasCheated = hasCheated; _local1 = 0; while (_local1 <= 9) { so.data[("MyWeapons" + _local1)] = arrMyWeapons[_local1].slice(); _local1++; }; } public function StopMusic():void{ musicplayer.gotoAndStop((MusicTrack + 6)); } public function ComboComment(_arg1:int):String{ if (_arg1 > 100){ if (!GamerSafeDisabled){ GamerSafe.api.bestowAchievement(160); }; return (" - <font color=\"#FF00FF\">Insane!</font>"); //unresolved jump }; if (_arg1 > 75){ if (!GamerSafeDisabled){ GamerSafe.api.bestowAchievement(170); }; return (" - <font color=\"#FF00FF\">Breathtaking!</font>"); //unresolved jump }; if (_arg1 > 50){ if (!GamerSafeDisabled){ GamerSafe.api.bestowAchievement(158); }; return (" - <font color=\"#FF00FF\">Magnificent!</font>"); //unresolved jump }; if (_arg1 >= 40){ return (" - <font color=\"#FF0000\">Amazing!</font>"); }; if (_arg1 >= 30){ return (" - <font color=\"#FF9900\">Awesome!</font>"); }; if (_arg1 >= 20){ if (!GamerSafeDisabled){ GamerSafe.api.bestowAchievement(157); }; return (" - <font color=\"#FFFF00\">Great!</font>"); //unresolved jump }; if (_arg1 >= 15){ return (" - <font color=\"#CCFF00\">Very Good</font>"); }; if (_arg1 >= 10){ if (!GamerSafeDisabled){ GamerSafe.api.bestowAchievement(156); }; return (" - <font color=\"#00FF66\">Nice!</font>"); //unresolved jump }; if (_arg1 >= 5){ return (" - <font color=\"#00FFFF\">Good</font>"); }; return (""); } public function optionsmenu(_arg1:MouseEvent):void{ dooptionsmenu(); } public function upgradeweapon(_arg1:MouseEvent):void{ var _local2:int; _local2 = hasWeapon(weaponoptions.tobuy); if (arrMyWeapons[_local2][3] < 3){ Money = (Money - (arrWeapons[0][weaponoptions.tobuy][9] * (arrMyWeapons[_local2][3] + 2))); menu.shop.txtMoney.text = ("Money: $" + Money); var _local3 = arrMyWeapons[_local2]; var _local4 = 3; var _local5 = (_local3[_local4] + 1); _local3[_local4] = _local5; menu.shop[("weapon" + weaponoptions.tobuy)].wlevel.gotoAndStop((arrMyWeapons[_local2][3] + 1)); if (!GamerSafeDisabled){ if (arrMyWeapons[_local2][3] >= 2){ GamerSafe.api.bestowAchievement(168); }; }; weaponoptionsown(weaponoptions.tobuy); }; } public function GetAngle(_arg1:MovieClip, _arg2:MovieClip):int{ return (((Math.atan2((_arg1.y - _arg2.y), (_arg1.x - _arg2.x)) * (180 / Math.PI)) - 90)); } public function unpause(_arg1:MouseEvent):void{ gamepaused = false; pausedoverlay.visible = gamepaused; } public function weaponoptionsown(_arg1:int):void{ if (weaponoptions != null){ if (menu.shop.contains(weaponoptions)){ menu.shop.removeChild(weaponoptions); weaponoptions = null; }; }; weaponoptions = new WeaponOptionsOwn(); weaponoptions.x = 263.5; weaponoptions.y = 231.9; weaponoptions.tobuy = _arg1; weaponoptions.txtWeaponName.text = arrWeapons[0][_arg1][0]; if (_arg1 == 0){ weaponoptions.txtWeaponInfo.text = arrWeapons[0][_arg1][10]; } else { weaponoptions.txtWeaponInfo.text = ((("Ammo Cost:\nClip of " + arrWeapons[0][_arg1][1]) + " shots - $") + (arrWeapons[0][_arg1][9] / 2)); if (arrMyWeapons[hasWeapon(_arg1)][3] < MaxWeaponLevel(_arg1)){ weaponoptions.txtWeaponInfo.appendText(((((("\n\nUpgrade:\nLevel " + (arrMyWeapons[hasWeapon(_arg1)][3] + 2)) + ": ") + arrWeapons[(arrMyWeapons[hasWeapon(_arg1)][3] + 1)][_arg1][10]) + " - $") + (arrWeapons[0][weaponoptions.tobuy][9] * (arrMyWeapons[hasWeapon(_arg1)][3] + 2)))); }; }; weaponoptions.btnUpgrade.txtLabel.text = "Upgrade"; weaponoptions.btnUpgrade.labeltext = "Upgrade"; weaponoptions.btnUpgrade.stop(); weaponoptions.btnUpgrade.saw.stop(); weaponoptions.btnUpgrade.mouseChildren = false; if ((((((Money >= (arrWeapons[0][weaponoptions.tobuy][9] * (arrMyWeapons[hasWeapon(_arg1)][3] + 2)))) && (!((_arg1 == 0))))) && ((arrMyWeapons[hasWeapon(_arg1)][3] < MaxWeaponLevel(_arg1))))){ weaponoptions.btnUpgrade.buttonMode = true; weaponoptions.btnUpgrade.addEventListener(MouseEvent.ROLL_OVER, menurollover); weaponoptions.btnUpgrade.addEventListener(MouseEvent.ROLL_OUT, menurollout); weaponoptions.btnUpgrade.addEventListener(MouseEvent.CLICK, upgradeweapon); } else { weaponoptions.btnUpgrade.alpha = 0.5; }; weaponoptions.btnBuyAmmo.txtLabel.text = "Buy Ammo"; weaponoptions.btnBuyAmmo.labeltext = "Buy Ammo"; weaponoptions.btnBuyAmmo.stop(); weaponoptions.btnBuyAmmo.saw.stop(); weaponoptions.btnBuyAmmo.mouseChildren = false; if ((((((((Money >= (arrWeapons[0][_arg1][9] / 2))) && (!((_arg1 == 0))))) && ((arrMyWeapons[hasWeapon(_arg1)][2] < (arrWeapons[0][_arg1][1] * 5))))) && ((arrCheats[0] == false)))){ weaponoptions.btnBuyAmmo.buttonMode = true; weaponoptions.btnBuyAmmo.addEventListener(MouseEvent.ROLL_OVER, menurollover); weaponoptions.btnBuyAmmo.addEventListener(MouseEvent.ROLL_OUT, menurollout); weaponoptions.btnBuyAmmo.addEventListener(MouseEvent.CLICK, buyammo); } else { weaponoptions.btnBuyAmmo.alpha = 0.5; }; menu.shop.addChild(weaponoptions); } public function purchasecomplete(_arg1:Event){ if (menu.toString().indexOf("ShopScreen") > -1){ trace("In shop: Refreshing selected"); weaponoptionsown(weaponoptions.tobuy); }; if (menu.toString().indexOf("Cheats") > -1){ trace("In cheat menu: Refreshing screen"); docheatsmenu(); }; } public function menurollover(_arg1:Event):void{ _arg1.target.gotoAndStop(2); _arg1.target.saw.play(); } public function PlayMusic():void{ MusicTrack++; if (MusicTrack == 0){ MusicTrack = (random(4) + 1); }; if (MusicTrack > 4){ MusicTrack = 1; }; if (arrOptions[1] == true){ musicplayer.gotoAndStop((MusicTrack + 1)); }; } public function startgame(_arg1:MouseEvent):void{ if (so.data.Level != null){ if (menu != null){ if (stage.contains(menu)){ removeChild(menu); menu = null; }; }; menu = new NewGameCheck(); menu.btnContinue.addEventListener(MouseEvent.CLICK, confirmstartgame); menu.btnMainMenu.addEventListener(MouseEvent.CLICK, gotomainmenu); addChild(menu); } else { startnewgame(); }; } public function hasWeapon(_arg1:int):int{ var _local2:int; var _local3:int; _local2 = -1; _local3 = 0; while (_local3 < arrMyWeapons.length) { if (arrMyWeapons[_local3][0] == _arg1){ _local2 = _local3; break; }; _local3++; }; return (_local2); } public function GetDistance(_arg1:MovieClip, _arg2:MovieClip):int{ return (Math.sqrt((((_arg1.x - _arg2.x) * (_arg1.x - _arg2.x)) + ((_arg1.y - _arg2.y) * (_arg1.y - _arg2.y))))); } public function PL_Display(_arg1:Event):void{ actuallyloaded = Math.round(((stage.loaderInfo.bytesLoaded / stage.loaderInfo.bytesTotal) * 100)); if (loaded < actuallyloaded){ loaded++; }; if (loaded >= 100){ txtLoaded.text = ""; btnContinue.visible = true; removeEventListener(Event.ENTER_FRAME, PL_Display); btnContinue.addEventListener(MouseEvent.CLICK, continuetomainmenu); } else { txtLoaded.text = (("Loading " + loaded) + "%"); }; } public function dropsurvivalpowerup(_arg1):void{ var _local2:int; var _local3:MovieClip; if (Math.random() > 0.95){ _local2 = 1; } else { _local2 = (random(8) + 3); }; if (_local2 == 1){ _local3 = new HealthPack(); } else { _local3 = new DropWeapon(); _local3.inner.gotoAndStop((_local2 - 1)); }; _local3.type = _local2; _local3.x = _arg1.x; _local3.y = _arg1.y; _local3.rotation = random(360); game.addChild(_local3); game.setChildIndex(_local3, 2); arrPowerUps.push(_local3); } public function setrobot():void{ menu.robotinfo.robot.gotoAndStop(1); } public function ischeating():Boolean{ var _local1:int; _local1 = 0; while (_local1 < arrCheats.length) { if (arrCheats[_local1] == true){ return (true); }; _local1++; }; return (false); } public function menurollout(_arg1:Event):void{ _arg1.target.gotoAndStop(1); _arg1.target.saw.stop(); _arg1.target.txtLabel.text = _arg1.target.labeltext; } public function PlayMenuMusic():void{ if (arrOptions[1] == true){ menumusicplayer.gotoAndStop(2); }; } public function gamecompletescreen():void{ if (hasDied == false){ if (!GamerSafeDisabled){ GamerSafe.api.bestowAchievement(169); }; }; menu = new GameComplete(); menu.finalscore.alpha = 0; menu.finalscore.txtFinalScore.text = Score; setTimeout(submitscore, 2000); setTimeout(fadein, 2000, menu.finalscore); menu.btnMainMenu.addEventListener(MouseEvent.CLICK, quittomain); addChild(menu); } public function submitscore():void{ var _local1:String; if (hasCheated != true){ if (GameMode == 2){ _local1 = "Survival Mode"; } else { _local1 = "Normal Mode"; }; addChild(agi); agi.showScoreboardSubmit(Score, null, _local1); } else { trace("Has cheated! no highscores for you!"); }; } public function gotomainmenu(_arg1:MouseEvent):void{ mainmenu(); } public function cheatsmenu(_arg1:MouseEvent):void{ docheatsmenu(); } public function fading():void{ fader.alpha = (fader.alpha + 0.01); if (fader.alpha >= 1){ removeChild(fader); fader = null; endlevel(1); } else { setTimeout(fading, 10); }; } public function Collision(_arg1:MovieClip, _arg2:MovieClip):Boolean{ var _local3:*; _local3 = Math.sqrt((((_arg1.x - _arg2.x) * (_arg1.x - _arg2.x)) + ((_arg1.y - _arg2.y) * (_arg1.y - _arg2.y)))); if (_arg1.collisionsize == null){ _arg1.collisionsize = _arg1.width; }; if (_arg2.collisionsize == null){ _arg2.collisionsize = _arg1.width; }; return ((_local3 < ((_arg1.collisionsize + _arg2.collisionsize) / 2))); } public function AddEnemy():void{ var _local1:MovieClip; var _local2:int; if ((((((Math.random() > 0.8)) && ((Level < 17)))) || ((((Math.random() > 0.9)) && ((Level >= 17)))))){ if (RobotType == -1){ _local2 = (random(arrLevels.length) + 1); } else { _local2 = RobotType; }; } else { _local2 = 0; }; switch (_local2){ case 1: _local1 = new FastRobot(); _local1.collisionsize = 30; break; case 2: _local1 = new EnergyRobot(); _local1.collisionsize = 30; break; case 3: _local1 = new SawRobot(); _local1.collisionsize = 60; break; case 4: _local1 = new IncineratorRobot(); _local1.collisionsize = 30; break; case 5: _local1 = new DemolitionRobot(); _local1.collisionsize = 50; break; case 6: _local1 = new ShieldRobot(); _local1.collisionsize = 50; break; case 7: _local1 = new Soldierbot(); _local1.collisionsize = 50; break; default: _local1 = new Robot(); _local1.collisionsize = 30; break; }; _local1.cacheAsBitmap = true; if (Math.random() >= 0.5){ _local1.x = (Math.random() * GameWidth); if (Math.random() >= 0.5){ _local1.y = 0; } else { _local1.y = GameHeight; }; } else { _local1.y = (Math.random() * GameHeight); if (Math.random() >= 0.5){ _local1.x = 0; } else { _local1.x = GameWidth; }; }; _local1.yspeed = 0; _local1.xspeed = 0; if (_local2 == 1){ _local1.speed = 6; } else { _local1.speed = 2; }; if (_local2 == 2){ _local1.health = 200; } else { _local1.health = 100; }; _local1.actualhealth = _local1.health; _local1.rotation = GetAngle(_local1, player); _local1.disabled = 0; _local1.type = _local2; game.addChild(_local1); arrRobots.push(_local1); RobotsOnStage = (arrRobots.length - 1); HUD.txtrobotcounter.text = (RobotsOnStage + " Robots"); Spawned++; } public function keyup(_arg1:KeyboardEvent):void{ keysDown[_arg1.keyCode] = false; } public function endlevel(_arg1:int=0):void{ var _local2:int; stage.quality = "HIGH"; StopMusic(); removeEventListener(Event.ENTER_FRAME, step); stage.removeEventListener(KeyboardEvent.KEY_DOWN, keydown); stage.removeEventListener(KeyboardEvent.KEY_UP, keyup); stage.removeEventListener(MouseEvent.MOUSE_DOWN, mousedown); stage.removeEventListener(MouseEvent.MOUSE_UP, mouseup); stage.removeEventListener(MouseEvent.MOUSE_WHEEL, mousewheel); stage.removeEventListener(Event.DEACTIVATE, flashDeactive); _local2 = (arrBullets.length - 1); while (_local2 >= 0) { removeBullet(_local2); _local2--; }; if (game.contains(player)){ game.removeChild(player); player = null; }; keysDown = []; mouseisdown = false; removeChild(debrisbm); removeChild(game); removeChild(HUD); removeChild(pausedoverlay); game = null; HUD = null; pausedoverlay = null; if ((((((GameMode == 1)) && (!((_arg1 == 1))))) && (!((_arg1 == 3))))){ if (!GamerSafeDisabled){ if (Level >= 20){ GamerSafe.api.bestowAchievement(167); } else { if (Level >= 19){ GamerSafe.api.bestowAchievement(166); } else { if (Level >= 16){ GamerSafe.api.bestowAchievement(165); } else { if (Level >= 13){ GamerSafe.api.bestowAchievement(164); } else { if (Level >= 10){ GamerSafe.api.bestowAchievement(163); } else { if (Level >= 7){ GamerSafe.api.bestowAchievement(162); } else { if (Level >= 4){ GamerSafe.api.bestowAchievement(161); }; }; }; }; }; }; }; }; }; switch (_arg1){ case 3: PlayMenuMusic(); mainmenu(); break; case 2: gamecompletescreen(); break; case 1: gameoverscreen(); break; default: Level++; levelscreen(); }; } public function GameMessage(_arg1:String):void{ var _local2:MovieClip; var _local3:int; _local2 = new GameMessageBox(); _local2.txtMessage.htmlText = _arg1; _local2.y = 40; HUD.addChild(_local2); arrMessages.unshift([_local2, 300]); _local3 = 0; while (_local3 < arrMessages.length) { arrMessages[_local3][0].y = (40 + (20 * _local3)); _local3++; }; } public function dooptionsmenu():void{ var _local1:int; var _local2:OptionItem; StopMenuMusic(); if (menu != null){ if (stage.contains(menu)){ removeChild(menu); menu = null; }; }; menu = new OptionsMenu(); _local1 = 0; while (_local1 < arrOptions.length) { _local2 = AddNewOption(arrOptionNames[_local1], _local1); _local2.x = 100; _local2.y = (150 + (50 * _local1)); menu.addChild(_local2); _local1++; }; addChild(menu); menu.btnMainMenu.addEventListener(MouseEvent.CLICK, quittomain); } public function bleed():void{ var _local1:*; var _local2:MovieClip; if (arrOptions[4] == true){ _local1 = new Blood(); _local2 = new MovieClip(); _local1.x = player.x; _local1.y = player.y; _local1.rotation = random(360); _local2.addChild(_local1); game.addChild(_local2); game.setChildIndex(_local2, 0); setTimeout(bmpCache, 10, _local2); }; } public function MaxWeaponLevel(_arg1:int):int{ if (!GamerSafeDisabled){ if (GamerSafe.api.hasItem(arrWeapons[3][_arg1][11])){ return (3); }; return (2); //unresolved jump }; if (isOnArmor){ return (3); }; return (2); } public function startsurvival(_arg1:MouseEvent):void{ var _local2:int; if (!GamerSafeDisabled){ GamerSafe.api.hideStatusBar(); }; debris = new BitmapData(GameWidth, GameHeight, true, 0); debrisbm = new Bitmap(debris); GameMode = 2; removeChild(menu); RobotType = -1; Money = 0; Destroyed = 0; TotalDestroyed = 0; hasDied = false; hasCheated = false; Score = 0; arrMyWeapons = []; _local2 = 0; while (_local2 < 10) { arrMyWeapons[_local2] = []; if (_local2 >= arrWeapons[0].length){ arrMyWeapons[_local2][0] = null; arrMyWeapons[_local2][1] = null; } else { if (_local2 == 0){ arrMyWeapons[_local2][0] = _local2; arrMyWeapons[_local2][1] = arrWeapons[_local2][1]; } else { arrMyWeapons[_local2][0] = null; arrMyWeapons[_local2][1] = null; }; }; _local2++; }; AddWeapon(0); ComboTimer = 0; Combo = 0; SetupGame(); stage.focus = stage; } public function gameoverscreen():void{ menu = new GameOver(); menu.finalscore.alpha = 0; menu.finalscore.txtFinalScore.text = Score; menu.continueyesno.alpha = 0; if (GameMode == 2){ menu.continueyesno.txtQuestion.text = "Try Again?"; menu.continueyesno.btnYes.addEventListener(MouseEvent.CLICK, startsurvival); menu.continueyesno.btnNo.addEventListener(MouseEvent.CLICK, quittomain); } else { menu.continueyesno.txtQuestion.text = "Continue?"; menu.continueyesno.btnYes.addEventListener(MouseEvent.CLICK, continuegame); menu.continueyesno.btnNo.addEventListener(MouseEvent.CLICK, quittomain); }; addChild(menu); setTimeout(submitscore, 2000); setTimeout(fadein, 1000, menu.finalscore); setTimeout(fadein, 2000, menu.continueyesno); } public function keydown(_arg1:KeyboardEvent):void{ var _local2:int; var _local3:String; var _local4:int; _local2 = player.weapon; _local3 = ""; if (_arg1.keyCode == 80){ gamepaused = !(gamepaused); pausedoverlay.txtInstructions.text = "Press P to Continue"; pausedoverlay.visible = gamepaused; trace(("Game Paused: " + gamepaused)); } else { if (_arg1.keyCode == 81){ _local3 = "prev"; } else { if (_arg1.keyCode == 69){ _local3 = "next"; }; }; }; if (_local3 != ""){ _local4 = 1; while (_local4 <= 10) { if (_local3 == "next"){ _local2++; if (_local2 >= arrMyWeapons.length){ _local2 = 0; }; if (((!((arrMyWeapons[_local2][0] == null))) && ((((arrMyWeapons[_local2][1] > 0)) || ((arrMyWeapons[_local2][2] > 0)))))){ break; }; } else { _local2--; if (_local2 < 0){ _local2 = (arrMyWeapons.length - 1); }; if (((!((arrMyWeapons[_local2][0] == null))) && ((((((arrMyWeapons[_local2][1] > 0)) || ((arrMyWeapons[_local2][2] > 0)))) || ((arrMyWeapons[_local2][2] == -1)))))){ break; }; }; _local4++; }; chooseweapon(_local2); }; keysDown[_arg1.keyCode] = true; } public function cheatoff(_arg1:MouseEvent):void{ arrCheats[_arg1.target.parent.optionnum] = false; docheatsmenu(); so.data.cheats = arrCheats.slice(0); } public function quittomain(_arg1:MouseEvent):void{ Score = 0; PlayMenuMusic(); removeChild(menu); menu = null; mainmenu(); } public function bmpCache(_arg1){ if (game != null){ if (stage.contains(game)){ debrisbm.x = _arg1.x; debrisbm.y = _arg1.y; if (arrOptions[3] == true){ debris.draw(_arg1); }; game.removeChild(_arg1); _arg1 = null; }; }; } public function mousewheel(_arg1:MouseEvent):void{ var _local2:int; var _local3:int; _local2 = player.weapon; if (gamepaused == false){ _local3 = 1; while (_local3 <= 10) { if (_arg1.delta < 0){ _local2++; if (_local2 >= arrMyWeapons.length){ _local2 = 0; }; if (((!((arrMyWeapons[_local2][0] == null))) && ((((((((arrMyWeapons[_local2][1] > 0)) || ((arrMyWeapons[_local2][2] > 0)))) || ((arrMyWeapons[_local2][2] == -1)))) || ((arrCheats[0] == true)))))){ break; }; } else { _local2--; if (_local2 < 0){ _local2 = (arrMyWeapons.length - 1); }; if (((!((arrMyWeapons[_local2][0] == null))) && ((((((((arrMyWeapons[_local2][1] > 0)) || ((arrMyWeapons[_local2][2] > 0)))) || ((arrMyWeapons[_local2][2] == -1)))) || ((arrCheats[0] == true)))))){ break; }; }; _local3++; }; chooseweapon(_local2); }; } public function RotateDebrisPart(_arg1:Event):void{ _arg1.target.x = (_arg1.target.x + _arg1.target.xspeed); _arg1.target.y = (_arg1.target.y + _arg1.target.yspeed); _arg1.target.xspeed = (_arg1.target.xspeed / 1.1); _arg1.target.yspeed = (_arg1.target.yspeed / 1.1); if ((((Math.abs(_arg1.target.xspeed) < 5)) && ((Math.abs(_arg1.target.yspeed) < 5)))){ _arg1.target.removeEventListener("enterFrame", RotateDebrisPart); }; } public function logocomplete(_arg1:Event):void{ if (_arg1.target.currentFrame >= _arg1.target.totalFrames){ if (!GamerSafeDisabled){ _gamerSafe.addEventListener("item_purchase", purchasecomplete); }; menu.logo.removeEventListener(Event.ENTER_FRAME, logocomplete); PlayMenuMusic(); mainmenu(); }; } public function continuetomainmenu(_arg1:MouseEvent):void{ gotoAndStop(3); } public function AddWeapon(_arg1:int){ var _local2:int; if (_arg1 < arrWeapons[0].length){ _local2 = (arrWeapons[0][_arg1][8] - 1); arrMyWeapons[_local2][0] = _arg1; arrMyWeapons[_local2][1] = arrWeapons[0][_arg1][1]; if (_arg1 == 0){ arrMyWeapons[_local2][2] = -1; } else { arrMyWeapons[_local2][2] = 0; }; arrMyWeapons[_local2][3] = 0; } else { trace((("Weapon " + _arg1) + " does not exist")); }; } public function SetupGame():void{ var _local1:int; stage.quality = "HIGH"; Destroyed = 0; Health = 100; if (arrCheats[4] == true){ Health = 200; }; Dead = false; Spawned = 0; arrPowerUps = []; arrRobots = []; arrExplosions = []; arrMessages = []; gamepaused = false; if (GameMode == 1){ RobotLimit = (10 + (Level * 20)); } else { RobotLimit = -1; }; addChild(debrisbm); game = new MovieClip(); addChild(game); HUD = new Hud(); addChild(HUD); pausedoverlay = new PausedOverlay(); pausedoverlay.x = (700 / 2); pausedoverlay.y = (550 / 2); pausedoverlay.visible = false; pausedoverlay.btnContinue.addEventListener(MouseEvent.CLICK, unpause); pausedoverlay.btnMainMenu.addEventListener(MouseEvent.CLICK, quitgame); addChild(pausedoverlay); player = new Player(); player.x = (GameWidth / 2); player.y = (GameHeight / 2); player.xspeed = 0; player.yspeed = 0; player.maxspeed = 5; player.reload = 0; player.weapon = PlayerStartWeapon; arrMyWeapons[player.weapon][1] = arrWeapons[0][arrMyWeapons[player.weapon][0]][1]; arrMyWeapons[player.weapon][2] = -1; game.addChild(player); arrRobots.push(player); HUD.txtMoney.text = ("Money: $" + Money); WeaponSelectedIndicator = new MovieClip(); _local1 = 1; while (_local1 <= 9) { arrWeaponSelectionIndicators[_local1] = new WeaponSelectionIndicator(); arrWeaponSelectionIndicators[_local1].txtWeaponNumber.text = _local1; arrWeaponSelectionIndicators[_local1].x = ((_local1 - 1) * 25); WeaponSelectedIndicator.addChild(arrWeaponSelectionIndicators[_local1]); if (_local1 == 1){ colourize(arrWeaponSelectionIndicators[_local1].bg, 0x990000); }; if (arrMyWeapons[(_local1 - 1)][0] == null){ arrWeaponSelectionIndicators[_local1].alpha = 0.1; }; _local1++; }; WeaponSelectedIndicator.x = 470; WeaponSelectedIndicator.y = 490; HUD.addChild(WeaponSelectedIndicator); addEventListener(Event.ENTER_FRAME, step); stage.addEventListener(KeyboardEvent.KEY_DOWN, keydown); stage.addEventListener(KeyboardEvent.KEY_UP, keyup); stage.addEventListener(MouseEvent.MOUSE_DOWN, mousedown); stage.addEventListener(MouseEvent.MOUSE_UP, mouseup); stage.addEventListener(MouseEvent.MOUSE_WHEEL, mousewheel); stage.addEventListener(Event.DEACTIVATE, flashDeactive); StopMenuMusic(); PlayMusic(); } } }//package TheKillerRobotFactory_fla
Section 14
//MenuButtonSmall_84 (TheKillerRobotFactory_fla.MenuButtonSmall_84) package TheKillerRobotFactory_fla { import flash.display.*; import flash.text.*; public dynamic class MenuButtonSmall_84 extends MovieClip { public var txtLabel:TextField; public var saw:MovieClip; } }//package TheKillerRobotFactory_fla
Section 15
//MenuMusicPlayer_90 (TheKillerRobotFactory_fla.MenuMusicPlayer_90) package TheKillerRobotFactory_fla { import flash.display.*; public dynamic class MenuMusicPlayer_90 extends MovieClip { public function MenuMusicPlayer_90(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TheKillerRobotFactory_fla
Section 16
//MusicPlayer_89 (TheKillerRobotFactory_fla.MusicPlayer_89) package TheKillerRobotFactory_fla { import flash.display.*; public dynamic class MusicPlayer_89 extends MovieClip { public function MusicPlayer_89(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TheKillerRobotFactory_fla
Section 17
//OnOff_73 (TheKillerRobotFactory_fla.OnOff_73) package TheKillerRobotFactory_fla { import flash.display.*; public dynamic class OnOff_73 extends MovieClip { public var offbutton:MovieClip; public var onbutton:MovieClip; } }//package TheKillerRobotFactory_fla
Section 18
//RobotJoke_1 (TheKillerRobotFactory_fla.RobotJoke_1) package TheKillerRobotFactory_fla { import flash.display.*; import flash.text.*; public dynamic class RobotJoke_1 extends MovieClip { public var joke:TextField; } }//package TheKillerRobotFactory_fla
Section 19
//RobotLight_44 (TheKillerRobotFactory_fla.RobotLight_44) package TheKillerRobotFactory_fla { import flash.display.*; public dynamic class RobotLight_44 extends MovieClip { public function RobotLight_44(){ addFrameScript(0, frame1, 3, frame4); } function frame1(){ stop(); } function frame4(){ gotoAndPlay(2); } } }//package TheKillerRobotFactory_fla
Section 20
//ShopContent_79 (TheKillerRobotFactory_fla.ShopContent_79) package TheKillerRobotFactory_fla { import flash.display.*; import flash.text.*; public dynamic class ShopContent_79 extends MovieClip { public var txtMoney:TextField; public var weapon1:MovieClip; public var weapon3:MovieClip; public var weapon4:MovieClip; public var weapon6:MovieClip; public var weapon2:MovieClip; public var weapon5:MovieClip; public var weapon0:MovieClip; public var weapon7:MovieClip; public var weapon8:MovieClip; public var preview:MovieClip; } }//package TheKillerRobotFactory_fla
Section 21
//ShopWeapon_80 (TheKillerRobotFactory_fla.ShopWeapon_80) package TheKillerRobotFactory_fla { import flash.display.*; import flash.text.*; public dynamic class ShopWeapon_80 extends MovieClip { public var weapon:MovieClip; public var wlevel:MovieClip; public var txtWeaponText:TextField; } }//package TheKillerRobotFactory_fla
Section 22
//SoundFX_88 (TheKillerRobotFactory_fla.SoundFX_88) package TheKillerRobotFactory_fla { import flash.display.*; public dynamic class SoundFX_88 extends MovieClip { public function SoundFX_88(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package TheKillerRobotFactory_fla
Section 23
//AGIntroScreen (AGIntroScreen) package { import flash.display.*; public dynamic class AGIntroScreen extends MovieClip { public var logo:MovieClip; } }//package
Section 24
//Blood (Blood) package { import flash.display.*; public dynamic class Blood extends MovieClip { } }//package
Section 25
//Bullet (Bullet) package { import flash.display.*; public dynamic class Bullet extends MovieClip { } }//package
Section 26
//CheatItem (CheatItem) package { import flash.display.*; import flash.text.*; public dynamic class CheatItem extends MovieClip { public var onoff:MovieClip; public var txtCheat:TextField; public var txtCheatDesc:TextField; } }//package
Section 27
//Cheats (Cheats) package { import flash.display.*; public dynamic class Cheats extends MovieClip { public var btnMainMenu:SimpleButton; } }//package
Section 28
//Credits (Credits) package { import flash.display.*; public dynamic class Credits extends MovieClip { public var btnMainMenu:SimpleButton; public var inner:MovieClip; } }//package
Section 29
//DeadBody (DeadBody) package { import flash.display.*; public dynamic class DeadBody extends MovieClip { } }//package
Section 30
//DemolitionRobot (DemolitionRobot) package { import flash.display.*; public dynamic class DemolitionRobot extends MovieClip { public var light:MovieClip; } }//package
Section 31
//Disc (Disc) package { import flash.display.*; public dynamic class Disc extends MovieClip { } }//package
Section 32
//DiscSFX (DiscSFX) package { import flash.media.*; public dynamic class DiscSFX extends Sound { } }//package
Section 33
//DropWeapon (DropWeapon) package { import flash.display.*; public dynamic class DropWeapon extends MovieClip { public var inner:MovieClip; } }//package
Section 34
//EnergyRobot (EnergyRobot) package { import flash.display.*; public dynamic class EnergyRobot extends MovieClip { public var light:MovieClip; } }//package
Section 35
//ExplodeSFX (ExplodeSFX) package { import flash.media.*; public dynamic class ExplodeSFX extends Sound { } }//package
Section 36
//Explosion (Explosion) package { import flash.display.*; public dynamic class Explosion extends MovieClip { public function Explosion(){ addFrameScript(10, frame11); } function frame11(){ stop(); } } }//package
Section 37
//Fade2Black (Fade2Black) package { import flash.display.*; public dynamic class Fade2Black extends MovieClip { } }//package
Section 38
//FastRobot (FastRobot) package { import flash.display.*; public dynamic class FastRobot extends MovieClip { public var light:MovieClip; } }//package
Section 39
//Flame (Flame) package { import flash.display.*; public dynamic class Flame extends MovieClip { public function Flame(){ addFrameScript(18, frame19); } function frame19(){ stop(); } } }//package
Section 40
//FPSCounter (FPSCounter) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; public class FPSCounter extends Sprite { private var ticks:uint;// = 0 private var tf:TextField; private var last:uint; public var fps:Number;// = 0 public function FPSCounter(_arg1:int=0, _arg2:int=0, _arg3:uint=0xFFFFFF, _arg4:Boolean=false, _arg5:uint=0){ last = getTimer(); ticks = 0; fps = 0; super(); x = _arg1; y = _arg2; tf = new TextField(); tf.textColor = _arg3; tf.text = "----- fps"; tf.selectable = false; tf.background = _arg4; tf.backgroundColor = _arg5; tf.autoSize = TextFieldAutoSize.LEFT; addChild(tf); width = tf.textWidth; height = tf.textHeight; addEventListener(Event.ENTER_FRAME, tick); } public function tick(_arg1:Event):void{ var _local2:uint; var _local3:uint; ticks++; _local2 = getTimer(); _local3 = (_local2 - last); if (_local3 >= 1000){ fps = ((ticks / _local3) * 1000); tf.text = (fps.toFixed(1) + " fps"); ticks = 0; last = _local2; }; } } }//package
Section 41
//GameComplete (GameComplete) package { import flash.display.*; public dynamic class GameComplete extends MovieClip { public var finalscore:MovieClip; public var btnMainMenu:SimpleButton; } }//package
Section 42
//GameMessageBox (GameMessageBox) package { import flash.display.*; import flash.text.*; public dynamic class GameMessageBox extends MovieClip { public var txtMessage:TextField; } }//package
Section 43
//GameOver (GameOver) package { import flash.display.*; public dynamic class GameOver extends MovieClip { public var finalscore:MovieClip; public var continueyesno:MovieClip; } }//package
Section 44
//GamerSafe (GamerSafe) package { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.system.*; import flash.net.*; public class GamerSafe extends Sprite { private const _storedPasscode:String = "G15bd33d3d2cd31b2d1d56f36e77b7b53b7ddcda78:1250178077"; private const _storedHashseed:String = "40ddfdadb6a045a823297eeb67b500f3982d8201"; private var _evt_onScoreSubmitted:Function;// = null private var _stageHeight:Number;// = 400 private var _evt_useEnded:Function;// = null private var _evt_networkingError:Function;// = null private var _evt_accountChange:Function;// = null private var _evt_itemPurchase:Function;// = null private var _context:LoaderContext; private var _evt_apiReady:Function;// = null private var _evt_loginFailed:Function;// = null private var _evt_login:Function;// = null private var _evt_onScoreboardRecieved:Function;// = null private var _evt_onScoreboardError:Function;// = null private var _evt_beginSession:Function;// = null private var _gamerSafe:Object;// = null private var _evt_useStarted:Function;// = null private var _evt_confYes:Function;// = null private var _stageWidth:Number;// = 550 private var _status:String;// = "Loading" private var _inUse:Boolean;// = false private var _loaded:Boolean;// = false private var _evt_useChanged:Function;// = null private var _loader:Loader; private var _evt_beginSessionFailed:Function;// = null private var _request:URLRequest; private var _referrer:String;// = "" private var _evt_confNo:Function;// = null private var _evt_itemPurchaseFailed:Function;// = null private var _tmpSkin:Object; private var _stage:Stage; public static const version:String = "01"; public static var EVT_BEGIN_SESSION:String = "begin_session"; public static var EVT_ITEM_PURCHASE_FAILED:String = "item_purchase_failed"; public static var EVT_LOGIN:String = "login"; public static var EVT_NETWORKING_ERROR:String = "networking_error"; public static var EVT_SCOREBOARD_ENTRIES_RECEIVED:String = "scoreboard_entries_received"; public static var EVT_ACCOUNT_CHANGE:String = "account_change"; public static var EVT_BEGIN_SESSION_FAILED:String = "begin_session_failed"; public static var EVT_SCOREBOARD_ENTRIES_ERROR:String = "scoreboard_entries_error"; public static var EVT_LOGIN_FAILED:String = "login_failed"; public static var EVT_ITEM_PURCHASE:String = "item_purchase"; protected static var _instance:GamerSafe = null; public static var EVT_SCOREBOARD_ENTRY_SUBMITTED:String = "scoreboard_entry_submitted"; public function GamerSafe(_arg1){ var parent = _arg1; _status = "Loading"; _loaded = false; _stageWidth = 550; _stageHeight = 400; _inUse = false; _tmpSkin = {}; _referrer = ""; _loader = new Loader(); _context = new LoaderContext(true); _request = new URLRequest((("http://components.gamersafe.com/GamerSafe." + version) + ".swf?t=1")); _evt_networkingError = null; _evt_accountChange = null; _evt_login = null; _evt_loginFailed = null; _evt_beginSession = null; _evt_beginSessionFailed = null; _evt_itemPurchase = null; _evt_itemPurchaseFailed = null; _evt_apiReady = null; _evt_confYes = null; _evt_confNo = null; _evt_useStarted = null; _evt_useEnded = null; _evt_useChanged = null; _evt_onScoreboardError = null; _evt_onScoreboardRecieved = null; _evt_onScoreSubmitted = null; _gamerSafe = null; super(); if (_instance == null){ _instance = this; } else { trace("GamerSafe: Instance Error: The GamerSafe class is a singleton and should only be constructed once. Use Gamersafe.instance instead."); return; }; Security.allowDomain("*"); Security.allowInsecureDomain("*"); _context.applicationDomain = ApplicationDomain.currentDomain; _status = "Downloading"; try { _loader.load(_request, _context); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onLoadingError); _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadingComplete); } catch(s:SecurityError) { _status = "Failed"; trace("Security error - GamerSafe library cannot load"); _loader = null; }; addEventListener(Event.ADDED_TO_STAGE, setupStage); if ((((((parent is Sprite)) || ((parent is MovieClip)))) || ((parent is Stage)))){ parent.addChild(this); } else { trace("Incompatible parent!"); }; } public function set onScoreboardError(_arg1:Function):void{ _evt_onScoreboardError = _arg1; } public function get loaded():Boolean{ return (_loaded); } public function flashBar():void{ if (_loaded == false){ return; }; _gamerSafe.flashBar(); } public function set achievementPopupPosition(_arg1:Point):void{ if (_loaded == false){ return; }; _gamerSafe.achievementPopupPosition = _arg1; } public function get highScore():Number{ if (_loaded == false){ return (0); }; if (inSession == false){ return (0); }; return (_gamerSafe.highScore); } public function showScoreSubmit(_arg1:Number, _arg2:String, _arg3:int=-1):void{ if (_loaded == false){ return; }; if (inSession == false){ return; }; _gamerSafe.showScoreSubmitPrompt(_arg1, _arg2, _arg3); } public function set highScore(_arg1:Number):void{ if (_loaded == false){ return; }; if (inSession == false){ return; }; _gamerSafe.highScore = _arg1; } private function e_onBeginSessionFailed(_arg1:Event):void{ if (_evt_beginSessionFailed != null){ _evt_beginSessionFailed(); }; dispatchEvent(_arg1); } public function get inUse():Boolean{ return (_inUse); } public function set savedGame(_arg1:String):void{ if (_loaded == false){ return; }; _gamerSafe.savedGame = _arg1; } public function get gamerTestMode():Boolean{ if (_loaded == false){ return (false); }; return (_gamerSafe.gamerTestMode); } public function get iconUrl():String{ if (_loaded == false){ return (""); }; return (_gamerSafe.iconUrl); } private function e_onNetworkingError(_arg1:Event):void{ if (_evt_networkingError != null){ _evt_networkingError(); }; dispatchEvent(_arg1); } public function hasAchievement(_arg1:int):Boolean{ if (_loaded == false){ return (false); }; if (inSession == false){ return (false); }; return (_gamerSafe.hasAchievement(_arg1)); } public function get failed():Boolean{ if (_loaded == false){ return (false); }; return (_gamerSafe.failed); } public function showStatusBar(_arg1:Object=null):void{ if (_loaded == false){ return; }; _gamerSafe.showStatusBar(_arg1); } public function get onScoreSubmitted():Function{ return (_evt_onScoreSubmitted); } public function set onBeginSession(_arg1:Function):void{ _evt_beginSession = _arg1; } public function get onUseStarted():Function{ return (_evt_useStarted); } public function closeItemInterface():void{ if (_loaded == false){ return; }; if (inSession == false){ return; }; _gamerSafe.closeItemInterface(); } public function get loggedIn():Boolean{ if (_loaded == false){ return (false); }; return (_gamerSafe.loggedIn); } public function get onScoreboardRecieved():Function{ return (_evt_onScoreboardRecieved); } private function e_onBeginSession(_arg1:Event):void{ if (_evt_beginSession != null){ _evt_beginSession(); }; dispatchEvent(_arg1); } private function e_onItemPurchaseFailed(_arg1:Event):void{ if (_evt_itemPurchaseFailed != null){ _evt_itemPurchaseFailed(); }; dispatchEvent(_arg1); } public function showScoreboard(_arg1:int=-1):void{ if (_loaded == false){ return; }; if (inSession == false){ return; }; _gamerSafe.showScoreboard(_arg1); } public function setStyle(_arg1:String, _arg2):void{ var _local3:Object; if (_loaded == false){ _tmpSkin[_arg1] = _arg2; return; }; _local3 = new Object(); _local3[_arg1] = _arg2; _gamerSafe.setSkin(_local3); } public function showLogin(_arg1:Object=null):void{ if (_loaded == false){ return; }; _gamerSafe.showLogin(_arg1); } public function get onUseChanged():Function{ return (_evt_useChanged); } public function saveToScoreboard(_arg1:Number, _arg2:String, _arg3:int=-1, _arg4:String=""):void{ if (_loaded == false){ return; }; if (inSession == false){ return; }; _gamerSafe.saveToScoreboard(_arg1, _arg2, _arg3, _arg4); } public function get onBeginSessionFailed():Function{ return (_evt_beginSessionFailed); } public function set onConfirmYes(_arg1:Function):void{ _evt_confYes = _arg1; } public function set onUseStarted(_arg1:Function):void{ _evt_useStarted = _arg1; } public function get FAQUrl():String{ if (_loaded == false){ return (""); }; return (_gamerSafe.FAQUrl); } private function e_onUseEnded(_arg1):void{ if (_inUse == false){ return; }; _inUse = false; if (_evt_useChanged != null){ _evt_useChanged(); }; if (_evt_useEnded != null){ _evt_useEnded(); }; dispatchEvent(new Event("inUseEnded")); dispatchEvent(new Event("inUseChanged")); } public function get onUseEnded():Function{ return (_evt_useEnded); } public function bestowFreeItem(_arg1:int):Boolean{ if (_loaded == false){ return (false); }; _gamerSafe.bestowFreeItem(_arg1); return (true); } public function get onAccountChange():Function{ return (_evt_accountChange); } public function get onApiReady():Function{ return (_evt_apiReady); } private function setupStage(_arg1:Event):void{ if (stage == null){ return; }; _stage = stage; _stageWidth = stage.stageWidth; _stageHeight = stage.stageHeight; if (root != null){ _referrer = root.loaderInfo.loaderURL; }; if (loaded){ _gamerSafe.componentWidth = _stageWidth; _gamerSafe.componentHeight = _stageHeight; _stage.addChild((_gamerSafe as Sprite)); }; } private function e_onConfirmNo(_arg1:Event):void{ if (_evt_confNo != null){ _evt_confNo(); }; dispatchEvent(new Event("confirmedNo")); } public function get onItemPurchase():Function{ return (_evt_itemPurchase); } public function set onScoreboardRecieved(_arg1:Function):void{ _evt_onScoreboardRecieved = _arg1; } public function set onScoreSubmitted(_arg1:Function):void{ _evt_onScoreSubmitted = _arg1; } public function showAchievements(_arg1:Object=null):void{ if (_loaded == false){ return; }; _gamerSafe.showAchievements(_arg1); } private function e_onApiReady(_arg1:Event):void{ if (_evt_apiReady != null){ _evt_apiReady(); }; dispatchEvent(_arg1); } public function bestowAchievement(_arg1:uint):Boolean{ if (_loaded == false){ return (false); }; _gamerSafe.bestowAchievement(_arg1); return (true); } private function get sprite():Sprite{ if (_loaded == false){ return (null); }; return (_gamerSafe.sprite); } public function get onLogin():Function{ return (_evt_login); } private function e_onAccountChange(_arg1:Event):void{ if (_evt_accountChange != null){ _evt_accountChange(); }; dispatchEvent(_arg1); } public function hasItem(_arg1:int):Boolean{ if (_loaded == false){ return (false); }; if (inSession == false){ return (false); }; return (_gamerSafe.hasItem(_arg1)); } private function onLoadingComplete(_arg1:Event):void{ _status = "Ready"; _loaded = true; _gamerSafe = (_loader.content as Object); _gamerSafe.componentWidth = _stageWidth; _gamerSafe.componentHeight = _stageHeight; _gamerSafe.setSkin(_tmpSkin); _gamerSafe.addEventListener(EVT_NETWORKING_ERROR, e_onNetworkingError); _gamerSafe.addEventListener(EVT_ACCOUNT_CHANGE, e_onAccountChange); _gamerSafe.addEventListener(EVT_LOGIN, e_onLogin); _gamerSafe.addEventListener(EVT_LOGIN_FAILED, e_onLoginFailed); _gamerSafe.addEventListener(EVT_BEGIN_SESSION, e_onBeginSession); _gamerSafe.addEventListener(EVT_BEGIN_SESSION_FAILED, e_onBeginSessionFailed); _gamerSafe.addEventListener(EVT_ITEM_PURCHASE, e_onItemPurchase); _gamerSafe.addEventListener(EVT_ITEM_PURCHASE_FAILED, e_onItemPurchaseFailed); _gamerSafe.addEventListener("yes", e_onConfirmYes); _gamerSafe.addEventListener("no", e_onConfirmNo); _gamerSafe.addEventListener("dialog_begin", e_onUseStarted); _gamerSafe.addEventListener("dialog_end", e_onUseEnded); _gamerSafe.addEventListener(EVT_SCOREBOARD_ENTRIES_ERROR, e_onScoreboardError); _gamerSafe.addEventListener(EVT_SCOREBOARD_ENTRIES_RECEIVED, e_onScoreboardRecieved); _gamerSafe.addEventListener(EVT_SCOREBOARD_ENTRY_SUBMITTED, e_onScoreSubmitted); if (_stage != null){ _stage.addChild((_gamerSafe as Sprite)); }; if (root != null){ _referrer = root.loaderInfo.loaderURL; }; if (_storedPasscode != ""){ beginSession(_storedPasscode, _storedHashseed); }; showStatusBar(); e_onApiReady(new Event("apiReady")); } public function get onItemPurchaseFailed():Function{ return (_evt_itemPurchaseFailed); } public function get username():String{ if (_loaded == false){ return ("GamerSafe"); }; return (_gamerSafe.username); } public function set onUseChanged(_arg1:Function):void{ _evt_useChanged = _arg1; } private function e_onConfirmYes(_arg1:Event):void{ if (_evt_confYes != null){ _evt_confYes(); }; dispatchEvent(new Event("confirmedYes")); } private function e_onScoreSubmitted(_arg1:Event):void{ if (_evt_onScoreSubmitted != null){ _evt_onScoreSubmitted(); }; dispatchEvent(_arg1); } public function set onUseEnded(_arg1:Function):void{ _evt_useEnded = _arg1; } private function e_onLogin(_arg1:Event):void{ if (_evt_login != null){ _evt_login(); }; flashBar(); dispatchEvent(_arg1); } public function get autoLogin():Boolean{ if (_loaded == false){ return (false); }; return (_gamerSafe.autoLogin); } public function set wantsNewsletter(_arg1:Boolean):void{ if (_loaded == true){ _gamerSafe.wantsNewsletter = _arg1; }; } public function set onConfirmNo(_arg1:Function):void{ _evt_confNo = _arg1; } public function get achievementPopupPosition():Point{ if (_loaded == false){ return (new Point(0, 0)); }; return (_gamerSafe.achievementPopupPosition); } public function get onScoreboardError():Function{ return (_evt_onScoreboardError); } public function set onBeginSessionFailed(_arg1:Function):void{ _evt_beginSessionFailed = _arg1; } public function get savedGame():String{ if (_loaded == false){ return (""); }; if (_gamerSafe.savedGame == null){ return (""); }; return (_gamerSafe.savedGame); } public function set onNetworkingError(_arg1:Function):void{ _evt_networkingError = _arg1; } public function get onBeginSession():Function{ return (_evt_beginSession); } public function get achievements():Array{ if (_loaded == false){ return ([]); }; if (inSession == false){ return ([]); }; return (_gamerSafe.achievementList); } public function get signupUrl():String{ if (_loaded == false){ return (""); }; return (_gamerSafe.signupUrl); } public function showMessageBox(_arg1:String, _arg2:String, _arg3:Boolean=true):void{ if (_loaded == false){ return; }; _gamerSafe.messageBox(_arg1, _arg2, _arg3); } public function set onAccountChange(_arg1:Function):void{ _evt_accountChange = _arg1; } public function get gamerGold():uint{ if (_loaded == false){ return (0); }; return (_gamerSafe.gamerGold); } private function e_onLoginFailed(_arg1:Event):void{ if (_evt_loginFailed != null){ _evt_loginFailed(); }; dispatchEvent(_arg1); } public function set onLoginFailed(_arg1:Function):void{ _evt_loginFailed = _arg1; } public function get onConfirmYes():Function{ return (_evt_confYes); } public function set onApiReady(_arg1:Function):void{ _evt_apiReady = _arg1; } public function set onItemPurchase(_arg1:Function):void{ _evt_itemPurchase = _arg1; } public function get wantsNewsletter():Boolean{ if (_loaded == false){ return (false); }; return (_gamerSafe.wantsNewsletter); } public function tryAutoLogin():void{ if (_loaded == false){ return; }; if (inSession == false){ return; }; _gamerSafe.tryAutoLogin(); } public function get onConfirmNo():Function{ return (_evt_confNo); } public function get paymentUrl():String{ if (_loaded == false){ return (""); }; return (_gamerSafe.paymentUrl); } public function logout():void{ if (_loaded == false){ return; }; _gamerSafe.logout(); } public function get onNetworkingError():Function{ return (_evt_networkingError); } public function showShop(_arg1:Object=null):void{ if (_loaded == false){ return; }; _gamerSafe.showShop(_arg1); } public function requestScoreboardEntries(_arg1:int=-1):void{ if (_loaded == false){ return; }; if (inSession == false){ return; }; _gamerSafe.requestScoreboardEntries(_arg1); } public function hideStatusBar():void{ if (_loaded == false){ return; }; _gamerSafe.hideStatusBar(); } public function set onItemPurchaseFailed(_arg1:Function):void{ _evt_itemPurchaseFailed = _arg1; } private function e_onScoreboardError(_arg1:Event):void{ if (_evt_onScoreboardError != null){ _evt_onScoreboardError(); }; dispatchEvent(_arg1); } public function get onLoginFailed():Function{ return (_evt_loginFailed); } public function get latestItemPurchaseInfo():Object{ if (_loaded == false){ return (null); }; return (_gamerSafe.getLatestItemPurchaseInfo()); } public function closeScoreboard():void{ if (_loaded == false){ return; }; if (inSession == false){ return; }; _gamerSafe.closeScoreboard(); } private function beginSession(_arg1:String, _arg2:String):Boolean{ if (_loaded == false){ return (false); }; _gamerSafe.beginSession(_arg1, _arg2, _referrer); return (true); } public function showPopup(_arg1:String, _arg2:Object=null):void{ if (_loaded == false){ return; }; _gamerSafe.showPopup(_arg1, _arg2); } public function get inSession():Boolean{ if (_loaded == false){ return (false); }; return (_gamerSafe.inSession); } private function onLoadingError(_arg1:IOErrorEvent):void{ _loaded = false; _status = "Failed"; trace("Failed to load GamerSafe"); } public function purchaseItem(_arg1:int, _arg2:int=0):Boolean{ if (_loaded == false){ return (false); }; return (_gamerSafe.purchaseItem(_arg1, _arg2)); } public function set onLogin(_arg1:Function):void{ _evt_login = _arg1; } public function get items():Array{ if (_loaded == false){ return ([]); }; if (inSession == false){ return ([]); }; return (_gamerSafe.itemList); } public function get gamerPoints():uint{ if (_loaded == false){ return (0); }; return (_gamerSafe.gamerPoints); } public function get gamerXP():uint{ if (_loaded == false){ return (0); }; return (_gamerSafe.gamerXP); } private function e_onItemPurchase(_arg1:Event):void{ if (_evt_itemPurchase != null){ _evt_itemPurchase(); }; dispatchEvent(_arg1); } private function e_onUseStarted(_arg1):void{ if (_inUse == true){ return; }; _inUse = true; if (_evt_useChanged != null){ _evt_useChanged(); }; if (_evt_useStarted != null){ _evt_useStarted(); }; dispatchEvent(new Event("inUseStarted")); dispatchEvent(new Event("inUseChanged")); } public function purchaseItemInterface(_arg1:int, _arg2:int=0):void{ if (_loaded == false){ return; }; if (inSession == false){ return; }; _gamerSafe.purchaseItemInterface(_arg1, _arg2); } public function get status():String{ return (_status); } public function get isGamerGoldPurchaseDisabled():Boolean{ if (_loaded == false){ return (true); }; return (_gamerSafe.isGamerGoldPurchasingDisabled); } public function set autoLogin(_arg1:Boolean):void{ if (_loaded == false){ return; }; _gamerSafe.autoLogin = _arg1; } private function e_onScoreboardRecieved(_arg1:Event):void{ if (_evt_onScoreboardRecieved != null){ _evt_onScoreboardRecieved(); }; dispatchEvent(_arg1); } public static function get api():GamerSafe{ if (_instance == null){ trace("GamerSafe: Instance Error: Attempted to get instance before initial construction."); return (null); }; return (_instance); } } }//package
Section 45
//HealthPack (HealthPack) package { import flash.display.*; public dynamic class HealthPack extends MovieClip { } }//package
Section 46
//hit1 (hit1) package { import flash.media.*; public dynamic class hit1 extends Sound { } }//package
Section 47
//hit2 (hit2) package { import flash.media.*; public dynamic class hit2 extends Sound { } }//package
Section 48
//hit3 (hit3) package { import flash.media.*; public dynamic class hit3 extends Sound { } }//package
Section 49
//hit4 (hit4) package { import flash.media.*; public dynamic class hit4 extends Sound { } }//package
Section 50
//hit5 (hit5) package { import flash.media.*; public dynamic class hit5 extends Sound { } }//package
Section 51
//HowToPlay (HowToPlay) package { import flash.display.*; public dynamic class HowToPlay extends MovieClip { public var btnContinue:SimpleButton; } }//package
Section 52
//Hud (Hud) package { import flash.display.*; import flash.text.*; public dynamic class Hud extends MovieClip { public var txtScore:TextField; public var txtHealth:TextField; public var txtMoney:TextField; public var txtAmmo:TextField; public var txtDestroyed:TextField; public var weaponicon:MovieClip; public var txtWeapon:TextField; public var txtrobotcounter:TextField; } }//package
Section 53
//HurtSFX (HurtSFX) package { import flash.media.*; public dynamic class HurtSFX extends Sound { } }//package
Section 54
//IncineratorRobot (IncineratorRobot) package { import flash.display.*; public dynamic class IncineratorRobot extends MovieClip { public var light:MovieClip; } }//package
Section 55
//Laser (Laser) package { import flash.display.*; public dynamic class Laser extends MovieClip { } }//package
Section 56
//LaserSFX (LaserSFX) package { import flash.media.*; public dynamic class LaserSFX extends Sound { } }//package
Section 57
//LevelScreen (LevelScreen) package { import flash.display.*; import flash.text.*; public dynamic class LevelScreen extends MovieClip { public var btnContinue:SimpleButton; public var txtLevel:TextField; public var btnMainMenu:SimpleButton; public var leveldisplay:MovieClip; } }//package
Section 58
//Lightning (Lightning) package { import flash.display.*; public dynamic class Lightning extends MovieClip { } }//package
Section 59
//MainMenu (MainMenu) package { import flash.display.*; import flash.text.*; public dynamic class MainMenu extends MovieClip { public var btnArmor:MovieClip; public var txtVersion:TextField; } }//package
Section 60
//MenuButton (MenuButton) package { import flash.display.*; import flash.text.*; public dynamic class MenuButton extends MovieClip { public var txtLabel:TextField; public var saw:MovieClip; } }//package
Section 61
//MochiBot (MochiBot) package { import flash.display.*; import flash.system.*; import flash.net.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ var _local3:MochiBot; var _local4:String; var _local5:URLVariables; var _local6:String; var _local7:URLRequest; var _local8:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; _local3 = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local4 = "http://core.mochibot.com/my/core.swf"; _local5 = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; _local6 = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; _local7 = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; _local8 = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 62
//NewGameCheck (NewGameCheck) package { import flash.display.*; public dynamic class NewGameCheck extends MovieClip { public var btnContinue:SimpleButton; public var btnMainMenu:SimpleButton; } }//package
Section 63
//OptionItem (OptionItem) package { import flash.display.*; import flash.text.*; public dynamic class OptionItem extends MovieClip { public var txtOption:TextField; public var onoff:MovieClip; } }//package
Section 64
//OptionsMenu (OptionsMenu) package { import flash.display.*; public dynamic class OptionsMenu extends MovieClip { public var btnMainMenu:SimpleButton; } }//package
Section 65
//PausedOverlay (PausedOverlay) package { import flash.display.*; import flash.text.*; public dynamic class PausedOverlay extends MovieClip { public var btnContinue:SimpleButton; public var txtInstructions:TextField; public var btnMainMenu:SimpleButton; } }//package
Section 66
//PlainScreen (PlainScreen) package { import flash.display.*; public dynamic class PlainScreen extends MovieClip { } }//package
Section 67
//Plasma (Plasma) package { import flash.display.*; public dynamic class Plasma extends MovieClip { } }//package
Section 68
//PlasmaHitSFX (PlasmaHitSFX) package { import flash.media.*; public dynamic class PlasmaHitSFX extends Sound { } }//package
Section 69
//PlasmaSFX (PlasmaSFX) package { import flash.media.*; public dynamic class PlasmaSFX extends Sound { } }//package
Section 70
//Player (Player) package { import flash.display.*; public dynamic class Player extends MovieClip { public var legs:MovieClip; public var gun:MovieClip; } }//package
Section 71
//Powerup (Powerup) package { import flash.display.*; public dynamic class Powerup extends MovieClip { } }//package
Section 72
//RailGun (RailGun) package { import flash.display.*; public dynamic class RailGun extends MovieClip { } }//package
Section 73
//RailGunSFX (RailGunSFX) package { import flash.media.*; public dynamic class RailGunSFX extends Sound { } }//package
Section 74
//ReloadSFX (ReloadSFX) package { import flash.media.*; public dynamic class ReloadSFX extends Sound { } }//package
Section 75
//Robot (Robot) package { import flash.display.*; public dynamic class Robot extends MovieClip { public var light:MovieClip; } }//package
Section 76
//RobotPart (RobotPart) package { import flash.display.*; public dynamic class RobotPart extends MovieClip { } }//package
Section 77
//RobotPart2 (RobotPart2) package { import flash.display.*; public dynamic class RobotPart2 extends MovieClip { } }//package
Section 78
//RobotPart3 (RobotPart3) package { import flash.display.*; public dynamic class RobotPart3 extends MovieClip { } }//package
Section 79
//RobotPart4 (RobotPart4) package { import flash.display.*; public dynamic class RobotPart4 extends MovieClip { } }//package
Section 80
//RobotPart5 (RobotPart5) package { import flash.display.*; public dynamic class RobotPart5 extends MovieClip { } }//package
Section 81
//RobotPart6 (RobotPart6) package { import flash.display.*; public dynamic class RobotPart6 extends MovieClip { } }//package
Section 82
//RobotPart7 (RobotPart7) package { import flash.display.*; public dynamic class RobotPart7 extends MovieClip { } }//package
Section 83
//Rocket (Rocket) package { import flash.display.*; public dynamic class Rocket extends MovieClip { } }//package
Section 84
//RocketExhaust (RocketExhaust) package { import flash.display.*; public dynamic class RocketExhaust extends MovieClip { public function RocketExhaust(){ addFrameScript(20, frame21); } function frame21(){ stop(); } } }//package
Section 85
//RocketSFX (RocketSFX) package { import flash.media.*; public dynamic class RocketSFX extends Sound { } }//package
Section 86
//SawRobot (SawRobot) package { import flash.display.*; public dynamic class SawRobot extends MovieClip { public var light:MovieClip; } }//package
Section 87
//ScreamSFX (ScreamSFX) package { import flash.media.*; public dynamic class ScreamSFX extends Sound { } }//package
Section 88
//ShieldRobot (ShieldRobot) package { import flash.display.*; public dynamic class ShieldRobot extends MovieClip { public var light:MovieClip; } }//package
Section 89
//ShootSFX (ShootSFX) package { import flash.media.*; public dynamic class ShootSFX extends Sound { } }//package
Section 90
//ShopScreen (ShopScreen) package { import flash.display.*; public dynamic class ShopScreen extends MovieClip { public var btnContinue:SimpleButton; public var btnMainMenu:SimpleButton; public var shop:MovieClip; } }//package
Section 91
//ShotgunSFX (ShotgunSFX) package { import flash.media.*; public dynamic class ShotgunSFX extends Sound { } }//package
Section 92
//Soldierbot (Soldierbot) package { import flash.display.*; public dynamic class Soldierbot extends MovieClip { public var light:MovieClip; } }//package
Section 93
//SpawnSFX (SpawnSFX) package { import flash.media.*; public dynamic class SpawnSFX extends Sound { } }//package
Section 94
//TeslaSFX (TeslaSFX) package { import flash.media.*; public dynamic class TeslaSFX extends Sound { } }//package
Section 95
//WeaponOptionsOwn (WeaponOptionsOwn) package { import flash.display.*; import flash.text.*; public dynamic class WeaponOptionsOwn extends MovieClip { public var btnUpgrade:MovieClip; public var txtWeaponName:TextField; public var btnBuyAmmo:MovieClip; public var txtWeaponInfo:TextField; } }//package
Section 96
//WeaponOptionstoBuy (WeaponOptionstoBuy) package { import flash.display.*; import flash.text.*; public dynamic class WeaponOptionstoBuy extends MovieClip { public var txtWeaponName:TextField; public var btnBuy:MovieClip; public var txtWeaponInfo:TextField; } }//package
Section 97
//WeaponSelectionIndicator (WeaponSelectionIndicator) package { import flash.display.*; import flash.text.*; public dynamic class WeaponSelectionIndicator extends MovieClip { public var txtWeaponNumber:TextField; public var bg:MovieClip; } }//package

Library Items

Symbol 1 Sound {HurtSFX}Used by:458
Symbol 2 MovieClip {RailGun}
Symbol 3 MovieClip {Lightning}
Symbol 4 GraphicUsed by:7
Symbol 5 ShapeTweeningUsed by:7
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClip {Plasma}Uses:4 5 6
Symbol 8 GraphicUsed by:26
Symbol 9 GraphicUsed by:26
Symbol 10 GraphicUsed by:26
Symbol 11 GraphicUsed by:26
Symbol 12 GraphicUsed by:26
Symbol 13 GraphicUsed by:26
Symbol 14 GraphicUsed by:26
Symbol 15 GraphicUsed by:26
Symbol 16 GraphicUsed by:26
Symbol 17 GraphicUsed by:26
Symbol 18 GraphicUsed by:26
Symbol 19 GraphicUsed by:26
Symbol 20 GraphicUsed by:26
Symbol 21 GraphicUsed by:26
Symbol 22 GraphicUsed by:26
Symbol 23 GraphicUsed by:26
Symbol 24 GraphicUsed by:26
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClip {Flame}Uses:8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Symbol 27 GraphicUsed by:37 61 383
Symbol 28 GraphicUsed by:30 383
Symbol 29 GraphicUsed by:30 383
Symbol 30 MovieClipUses:28 29Used by:37 61 383
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:31Used by:37 50 61
Symbol 33 GraphicUsed by:37 44 50 87 206
Symbol 34 GraphicUsed by:37
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:37
Symbol 37 MovieClipUses:27 30 32 33 34 36Used by:42 391
Symbol 38 GraphicUsed by:41
Symbol 39 GraphicUsed by:41
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}Uses:38 39 40Used by:42 49 62 67 77 88 91 218 391
Symbol 42 MovieClip {ShieldRobot}Uses:37 41
Symbol 43 GraphicUsed by:44 206
Symbol 44 MovieClipUses:33 43Used by:48 66 76
Symbol 45 GraphicUsed by:48
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:48 112
Symbol 48 MovieClipUses:44 45 47Used by:49 391
Symbol 49 MovieClip {FastRobot}Uses:48 41
Symbol 50 MovieClipUses:33 32Used by:61 383
Symbol 51 GraphicUsed by:61
Symbol 52 GraphicUsed by:60 116
Symbol 53 GraphicUsed by:60 116
Symbol 54 GraphicUsed by:58
Symbol 55 GraphicUsed by:58
Symbol 56 GraphicUsed by:58
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:54 55 56 57Used by:60
Symbol 59 GraphicUsed by:60 116
Symbol 60 MovieClipUses:52 53 58 59Used by:61
Symbol 61 MovieClipUses:27 30 50 32 51 60Used by:62 391
Symbol 62 MovieClip {EnergyRobot}Uses:61 41
Symbol 63 GraphicUsed by:66
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:66 111
Symbol 66 MovieClipUses:44 63 65Used by:67 391
Symbol 67 MovieClip {IncineratorRobot}Uses:66 41
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:76
Symbol 70 GraphicUsed by:76
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:76
Symbol 73 GraphicUsed by:76
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:76
Symbol 76 MovieClipUses:44 69 70 72 73 75Used by:77 391
Symbol 77 MovieClip {DemolitionRobot}Uses:76 41
Symbol 78 GraphicUsed by:87
Symbol 79 GraphicUsed by:87
Symbol 80 GraphicUsed by:87 215
Symbol 81 GraphicUsed by:86
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:86 115
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClipUses:84Used by:86
Symbol 86 MovieClipUses:81 83 85Used by:87
Symbol 87 MovieClipUses:78 79 33 80 86Used by:88 391
Symbol 88 MovieClip {SawRobot}Uses:87 41
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:91
Symbol 91 MovieClip {Robot}Uses:90 41
Symbol 92 GraphicUsed by:94
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:92 93Used by:102
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:97
Symbol 97 MovieClipUses:96Used by:102
Symbol 98 GraphicUsed by:102
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:102
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClip {Player}Uses:94 97 98 100 101
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClip {Laser}Uses:103
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClip {Rocket}Uses:105
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClip {Bullet}Uses:107
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClip {RobotPart5}Uses:109
Symbol 111 MovieClip {RobotPart7}Uses:65
Symbol 112 MovieClip {RobotPart6}Uses:47
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClip {RobotPart4}Uses:113
Symbol 115 MovieClip {RobotPart3}Uses:83
Symbol 116 MovieClip {RobotPart2}Uses:52 53 59
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClipUses:117Used by:119 383
Symbol 119 MovieClip {RobotPart}Uses:118
Symbol 120 BitmapUsed by:121
Symbol 121 GraphicUses:120Used by:130 147 183 365 393 402 406 407 441
Symbol 122 FontUsed by:123 125 127 129 148 196 197 198 200 201 204 220 230 233 234 238 296 297 298 299 300 301 302 307 308 310 311 314 321 324 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 361 362 364 366 369 371 372 373 374 375 376 377 378 380 381 384 385 386 387 388 389 390 396 398 400 401 403 405 408 411 413 415 417 439 442 443 444 447 448 451 452
Symbol 123 TextUses:122Used by:130
Symbol 124 GraphicUsed by:128 199 202 235 326
Symbol 125 TextUses:122Used by:128
Symbol 126 GraphicUsed by:128 199 202 235
Symbol 127 TextUses:122Used by:128
Symbol 128 ButtonUses:124 125 126 127Used by:130 183 323 393 402 406 441 453
Symbol 129 TextUses:122Used by:130
Symbol 130 MovieClip {Cheats}Uses:121 123 128 129
Symbol 131 GraphicUsed by:146
Symbol 132 GraphicUsed by:146
Symbol 133 GraphicUsed by:146
Symbol 134 SoundUsed by:146
Symbol 135 SoundUsed by:146
Symbol 136 GraphicUsed by:146
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:146
Symbol 139 SoundUsed by:146
Symbol 140 SoundUsed by:146
Symbol 141 SoundUsed by:146
Symbol 142 GraphicUsed by:143
Symbol 143 ButtonUses:142Used by:146
Symbol 144 SoundUsed by:146
Symbol 145 SoundUsed by:146
Symbol 146 MovieClip {TheKillerRobotFactory_fla.ag_intro_mc_105}Uses:131 132 133 134 135 136 138 139 140 141 143 144 145Used by:147
Symbol 147 MovieClip {AGIntroScreen}Uses:121 146
Symbol 148 TextUses:122Used by:183
Symbol 149 FontUsed by:150 161 162 163 164 165 175 176 177 192 194 296 297 298 299 300 301 302 303 409
Symbol 150 TextUses:149Used by:182
Symbol 151 FontUsed by:152
Symbol 152 TextUses:151Used by:159
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:153Used by:159
Symbol 155 GraphicUsed by:159
Symbol 156 ShapeTweeningUsed by:159
Symbol 157 ShapeTweeningUsed by:159
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClip {TheKillerRobotFactory_fla.BenOldingGamesLogoInner_5}Uses:152 154 155 156 157 158Used by:160
Symbol 160 MovieClipUses:159Used by:182 397  Timeline
Symbol 161 TextUses:149Used by:182
Symbol 162 TextUses:149Used by:182
Symbol 163 TextUses:149Used by:182
Symbol 164 TextUses:149Used by:182
Symbol 165 TextUses:149Used by:182
Symbol 166 GraphicUsed by:167
Symbol 167 MovieClipUses:166Used by:174
Symbol 168 GraphicUsed by:169
Symbol 169 ButtonUses:168Used by:174 182
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses:170Used by:174
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:172Used by:174
Symbol 174 MovieClip {TheKillerRobotFactory_fla.FGL_logo_98}Uses:167 169 171 173Used by:182
Symbol 175 TextUses:149Used by:182
Symbol 176 TextUses:149Used by:182
Symbol 177 TextUses:149Used by:182
Symbol 178 MovieClipUsed by:182
Symbol 179 BitmapUsed by:180
Symbol 180 GraphicUses:179Used by:181
Symbol 181 MovieClipUses:180Used by:182 397
Symbol 182 MovieClip {TheKillerRobotFactory_fla.CreditsInner_97}Uses:150 160 161 162 163 164 165 174 175 176 177 169 178 181Used by:183
Symbol 183 MovieClip {Credits}Uses:121 148 128 182
Symbol 184 GraphicUsed by:185
Symbol 185 MovieClipUses:184Used by:186 399 445
Symbol 186 MovieClip {Disc}Uses:185
Symbol 187 ShapeTweeningUsed by:189
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClip {RocketExhaust}Uses:187 188
Symbol 190 GraphicUsed by:191
Symbol 191 MovieClipUses:190Used by:193 391 419 438 440
Symbol 192 EditableTextUses:149Used by:193
Symbol 193 MovieClip {WeaponSelectionIndicator}Uses:191 192
Symbol 194 EditableTextUses:149Used by:195
Symbol 195 MovieClip {GameMessageBox}Uses:194
Symbol 196 EditableTextUses:122Used by:205
Symbol 197 TextUses:122Used by:199
Symbol 198 TextUses:122Used by:199
Symbol 199 MovieClipUses:124 197 126 198Used by:203
Symbol 200 TextUses:122Used by:202
Symbol 201 TextUses:122Used by:202
Symbol 202 MovieClipUses:124 200 126 201Used by:203
Symbol 203 MovieClip {TheKillerRobotFactory_fla.OnOff_73}Uses:199 202Used by:205 404
Symbol 204 EditableTextUses:122Used by:205
Symbol 205 MovieClip {CheatItem}Uses:196 203 204
Symbol 206 MovieClipUses:33 43Used by:217
Symbol 207 GraphicUsed by:217
Symbol 208 GraphicUsed by:209
Symbol 209 MovieClipUses:208Used by:217
Symbol 210 GraphicUsed by:211
Symbol 211 MovieClipUses:210Used by:217
Symbol 212 GraphicUsed by:217
Symbol 213 GraphicUsed by:214
Symbol 214 MovieClipUses:213Used by:217
Symbol 215 MovieClipUses:80Used by:217
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClipUses:206 207 209 211 212 214 215 216Used by:218
Symbol 218 MovieClip {Soldierbot}Uses:217 41Used by:391
Symbol 219 GraphicUsed by:221
Symbol 220 EditableTextUses:122Used by:221
Symbol 221 MovieClip {TheKillerRobotFactory_fla.RobotJoke_1}Uses:219 220Used by:Timeline
Symbol 222 BitmapUsed by:223
Symbol 223 GraphicUses:222Used by:229
Symbol 224 FontUsed by:225 226 239 457 461 468
Symbol 225 TextUses:224Used by:229
Symbol 226 TextUses:224Used by:228
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClip {TheKillerRobotFactory_fla.GSAdvertArrow_3}Uses:226 227Used by:229
Symbol 229 MovieClipUses:223 225 228Used by:Timeline
Symbol 230 EditableTextUses:122Used by:Timeline
Symbol 231 BitmapUsed by:232
Symbol 232 GraphicUses:231Used by:Timeline
Symbol 233 TextUses:122Used by:235
Symbol 234 TextUses:122Used by:235
Symbol 235 ButtonUses:124 233 126 234Used by:365 393 402 441 453  Timeline
Symbol 236 GraphicUsed by:237
Symbol 237 MovieClipUses:236Used by:Timeline
Symbol 238 EditableTextUses:122Used by:Timeline
Symbol 239 TextUses:224Used by:258
Symbol 240 Sound {hit1}Used by:258
Symbol 241 Sound {hit2}Used by:258
Symbol 242 Sound {hit3}Used by:258
Symbol 243 Sound {hit4}Used by:258
Symbol 244 Sound {hit5}Used by:258
Symbol 245 Sound {ReloadSFX}Used by:258
Symbol 246 Sound {ExplodeSFX}Used by:258
Symbol 247 Sound {PlasmaHitSFX}Used by:258
Symbol 248 Sound {LaserSFX}Used by:258
Symbol 249 Sound {TeslaSFX}Used by:258 458
Symbol 250 Sound {DiscSFX}Used by:258
Symbol 251 Sound {PlasmaSFX}Used by:258
Symbol 252 Sound {RailGunSFX}Used by:258
Symbol 253 Sound {SpawnSFX}Used by:258
Symbol 254 Sound {ShootSFX}Used by:258
Symbol 255 Sound {ShotgunSFX}Used by:258
Symbol 256 Sound {RocketSFX}Used by:258
Symbol 257 Sound {ScreamSFX}Used by:258
Symbol 258 MovieClipUses:239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257Used by:Timeline
Symbol 259 GraphicUsed by:260
Symbol 260 MovieClip {Blood}Uses:259Used by:Timeline
Symbol 261 BitmapUsed by:262
Symbol 262 GraphicUses:261Used by:263
Symbol 263 MovieClip {DeadBody}Uses:262Used by:Timeline
Symbol 264 BitmapUsed by:265
Symbol 265 GraphicUses:264Used by:282
Symbol 266 BitmapUsed by:267
Symbol 267 GraphicUses:266Used by:282
Symbol 268 BitmapUsed by:269
Symbol 269 GraphicUses:268Used by:282
Symbol 270 BitmapUsed by:271
Symbol 271 GraphicUses:270Used by:282
Symbol 272 BitmapUsed by:273
Symbol 273 GraphicUses:272Used by:282
Symbol 274 BitmapUsed by:275
Symbol 275 GraphicUses:274Used by:282
Symbol 276 BitmapUsed by:277
Symbol 277 GraphicUses:276Used by:282
Symbol 278 BitmapUsed by:279
Symbol 279 GraphicUses:278Used by:282
Symbol 280 BitmapUsed by:281
Symbol 281 GraphicUses:280Used by:282
Symbol 282 MovieClipUses:265 267 269 271 273 275 277 279 281Used by:283 304 419
Symbol 283 MovieClip {DropWeapon}Uses:282Used by:Timeline
Symbol 284 GraphicUsed by:290
Symbol 285 ShapeTweeningUsed by:290
Symbol 286 ShapeTweeningUsed by:290
Symbol 287 GraphicUsed by:290
Symbol 288 ShapeTweeningUsed by:290
Symbol 289 GraphicUsed by:290
Symbol 290 MovieClip {Explosion}Uses:284 285 286 287 288 289Used by:Timeline
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClip {Fade2Black}Uses:291Used by:Timeline
Symbol 293 BitmapUsed by:294
Symbol 294 GraphicUses:293Used by:295
Symbol 295 MovieClip {HealthPack}Uses:294Used by:Timeline
Symbol 296 EditableTextUses:122 149Used by:304
Symbol 297 EditableTextUses:122 149Used by:304
Symbol 298 EditableTextUses:122 149Used by:304
Symbol 299 EditableTextUses:122 149Used by:304
Symbol 300 EditableTextUses:122 149Used by:304
Symbol 301 EditableTextUses:122 149Used by:304
Symbol 302 EditableTextUses:122 149Used by:304
Symbol 303 TextUses:149Used by:304
Symbol 304 MovieClip {Hud}Uses:296 297 298 299 300 301 282 302 303Used by:Timeline
Symbol 305 BitmapUsed by:306
Symbol 306 GraphicUses:305Used by:318
Symbol 307 TextUses:122Used by:309 322
Symbol 308 EditableTextUses:122Used by:309
Symbol 309 MovieClip {TheKillerRobotFactory_fla.GameOver_FinalScore_19}Uses:307 308Used by:318
Symbol 310 EditableTextUses:122Used by:317
Symbol 311 TextUses:122Used by:313
Symbol 312 GraphicUsed by:313
Symbol 313 ButtonUses:311 312Used by:317
Symbol 314 TextUses:122Used by:316
Symbol 315 GraphicUsed by:316
Symbol 316 ButtonUses:314 315Used by:317
Symbol 317 MovieClip {TheKillerRobotFactory_fla.GameOverContinue_20}Uses:310 313 316Used by:318
Symbol 318 MovieClip {GameOver}Uses:306 309 317Used by:Timeline
Symbol 319 BitmapUsed by:320
Symbol 320 GraphicUses:319Used by:323
Symbol 321 EditableTextUses:122Used by:322
Symbol 322 MovieClip {TheKillerRobotFactory_fla.GameComplete_FinalScore_24}Uses:307 321Used by:323
Symbol 323 MovieClip {GameComplete}Uses:320 322 128Used by:Timeline
Symbol 324 TextUses:122Used by:365
Symbol 325 GraphicUsed by:363
Symbol 326 MovieClipUses:124Used by:363
Symbol 327 TextUses:122Used by:363
Symbol 328 TextUses:122Used by:363
Symbol 329 TextUses:122Used by:363
Symbol 330 TextUses:122Used by:363
Symbol 331 TextUses:122Used by:363
Symbol 332 TextUses:122Used by:363
Symbol 333 TextUses:122Used by:363
Symbol 334 TextUses:122Used by:363
Symbol 335 TextUses:122Used by:363
Symbol 336 TextUses:122Used by:363
Symbol 337 TextUses:122Used by:363
Symbol 338 TextUses:122Used by:363
Symbol 339 TextUses:122Used by:363
Symbol 340 TextUses:122Used by:363
Symbol 341 TextUses:122Used by:363
Symbol 342 TextUses:122Used by:363
Symbol 343 TextUses:122Used by:363
Symbol 344 TextUses:122Used by:363
Symbol 345 TextUses:122Used by:363
Symbol 346 TextUses:122Used by:363
Symbol 347 TextUses:122Used by:363
Symbol 348 TextUses:122Used by:363
Symbol 349 TextUses:122Used by:363
Symbol 350 TextUses:122Used by:363
Symbol 351 TextUses:122Used by:363
Symbol 352 TextUses:122Used by:363
Symbol 353 TextUses:122Used by:363
Symbol 354 TextUses:122Used by:363
Symbol 355 TextUses:122Used by:363
Symbol 356 TextUses:122Used by:363
Symbol 357 TextUses:122Used by:363
Symbol 358 TextUses:122Used by:363
Symbol 359 GraphicUsed by:360
Symbol 360 MovieClipUses:359Used by:363
Symbol 361 TextUses:122Used by:363
Symbol 362 TextUses:122Used by:363
Symbol 363 MovieClipUses:325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 360 361 362Used by:365 453
Symbol 364 TextUses:122Used by:365
Symbol 365 MovieClip {HowToPlay}Uses:121 324 235 363 364Used by:Timeline
Symbol 366 EditableTextUses:122Used by:393
Symbol 367 GraphicUsed by:368
Symbol 368 MovieClipUses:367Used by:370 392
Symbol 369 EditableTextUses:122Used by:370
Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}Uses:368 369Used by:392
Symbol 371 TextUses:122Used by:392
Symbol 372 TextUses:122Used by:392
Symbol 373 TextUses:122Used by:392
Symbol 374 TextUses:122Used by:392
Symbol 375 TextUses:122Used by:392
Symbol 376 TextUses:122Used by:392
Symbol 377 TextUses:122Used by:392
Symbol 378 TextUses:122Used by:392
Symbol 379 GraphicUsed by:391
Symbol 380 TextUses:122Used by:391
Symbol 381 EditableTextUses:122Used by:391
Symbol 382 GraphicUsed by:383
Symbol 383 MovieClipUses:27 28 29 30 50 118 382Used by:391
Symbol 384 TextUses:122Used by:391
Symbol 385 TextUses:122Used by:391
Symbol 386 TextUses:122Used by:391
Symbol 387 TextUses:122Used by:391
Symbol 388 TextUses:122Used by:391
Symbol 389 TextUses:122Used by:391
Symbol 390 TextUses:122Used by:391
Symbol 391 MovieClip {TheKillerRobotFactory_fla.LevelInfo_34}Uses:191 379 380 381 383 384 61 41 385 87 386 37 387 76 388 48 389 66 390 218Used by:392
Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31}Uses:370 368 371 372 373 374 375 376 377 378 391Used by:393
Symbol 393 MovieClip {LevelScreen}Uses:121 366 392 235 128Used by:Timeline
Symbol 394 BitmapUsed by:395
Symbol 395 GraphicUses:394Used by:397
Symbol 396 EditableTextUses:122Used by:397
Symbol 397 MovieClip {MainMenu}Uses:395 160 396 181Used by:Timeline
Symbol 398 EditableTextUses:122Used by:399
Symbol 399 MovieClip {MenuButton}Uses:185 398Used by:Timeline
Symbol 400 TextUses:122Used by:402
Symbol 401 TextUses:122Used by:402
Symbol 402 MovieClip {NewGameCheck}Uses:121 400 235 128 401Used by:Timeline
Symbol 403 EditableTextUses:122Used by:404
Symbol 404 MovieClip {OptionItem}Uses:403 203Used by:Timeline
Symbol 405 TextUses:122Used by:406
Symbol 406 MovieClip {OptionsMenu}Uses:121 405 128Used by:Timeline
Symbol 407 MovieClip {PlainScreen}Uses:121Used by:Timeline
Symbol 408 TextUses:122Used by:441
Symbol 409 EditableTextUses:149Used by:419
Symbol 410 GraphicUsed by:418
Symbol 411 TextUses:122Used by:418
Symbol 412 GraphicUsed by:418
Symbol 413 TextUses:122Used by:418
Symbol 414 GraphicUsed by:418
Symbol 415 TextUses:122Used by:418
Symbol 416 GraphicUsed by:418
Symbol 417 TextUses:122Used by:418
Symbol 418 MovieClipUses:410 411 412 413 414 415 416 417Used by:419
Symbol 419 MovieClip {TheKillerRobotFactory_fla.ShopWeapon_80}Uses:191 282 409 418Used by:440
Symbol 420 BitmapUsed by:421
Symbol 421 GraphicUses:420Used by:438
Symbol 422 BitmapUsed by:423
Symbol 423 GraphicUses:422Used by:438
Symbol 424 BitmapUsed by:425
Symbol 425 GraphicUses:424Used by:438
Symbol 426 BitmapUsed by:427
Symbol 427 GraphicUses:426Used by:438
Symbol 428 BitmapUsed by:429
Symbol 429 GraphicUses:428Used by:438
Symbol 430 BitmapUsed by:431
Symbol 431 GraphicUses:430Used by:438
Symbol 432 BitmapUsed by:433
Symbol 433 GraphicUses:432Used by:438
Symbol 434 BitmapUsed by:435
Symbol 435 GraphicUses:434Used by:438
Symbol 436 BitmapUsed by:437
Symbol 437 GraphicUses:436Used by:438
Symbol 438 MovieClipUses:191 421 423 425 427 429 431 433 435 437Used by:440
Symbol 439 EditableTextUses:122Used by:440
Symbol 440 MovieClip {TheKillerRobotFactory_fla.ShopContent_79}Uses:191 419 438 439Used by:441
Symbol 441 MovieClip {ShopScreen}Uses:121 408 440 235 128Used by:Timeline
Symbol 442 EditableTextUses:122Used by:446
Symbol 443 EditableTextUses:122Used by:446
Symbol 444 EditableTextUses:122Used by:445
Symbol 445 MovieClip {TheKillerRobotFactory_fla.MenuButtonSmall_84}Uses:185 444Used by:446 449
Symbol 446 MovieClip {WeaponOptionsOwn}Uses:442 443 445Used by:Timeline
Symbol 447 EditableTextUses:122Used by:449
Symbol 448 EditableTextUses:122Used by:449
Symbol 449 MovieClip {WeaponOptionstoBuy}Uses:447 448 445Used by:Timeline
Symbol 450 GraphicUsed by:453
Symbol 451 TextUses:122Used by:453
Symbol 452 EditableTextUses:122Used by:453
Symbol 453 MovieClip {PausedOverlay}Uses:450 235 128 451 452 363Used by:Timeline
Symbol 454 BitmapUsed by:455
Symbol 455 GraphicUses:454Used by:456
Symbol 456 MovieClip {Powerup}Uses:455Used by:Timeline
Symbol 457 TextUses:224Used by:458
Symbol 458 MovieClip {TheKillerRobotFactory_fla.SoundFX_88}Uses:457 1 249Used by:Timeline
Symbol 459 BitmapUsed by:460
Symbol 460 GraphicUses:459Used by:Timeline
Symbol 461 TextUses:224Used by:467
Symbol 462 SoundUsed by:467
Symbol 463 SoundUsed by:467
Symbol 464 SoundUsed by:467
Symbol 465 SoundUsed by:467
Symbol 466 SoundUsed by:467 469
Symbol 467 MovieClip {TheKillerRobotFactory_fla.MusicPlayer_89}Uses:461 462 463 464 465 466Used by:Timeline
Symbol 468 TextUses:224Used by:469
Symbol 469 MovieClip {TheKillerRobotFactory_fla.MenuMusicPlayer_90}Uses:468 466Used by:Timeline

Instance Names

"robotjoke"Frame 1Symbol 221 MovieClip {TheKillerRobotFactory_fla.RobotJoke_1}
"gamersafead"Frame 1Symbol 229 MovieClip
"txtLoaded"Frame 1Symbol 230 EditableText
"btnContinue"Frame 1Symbol 235 Button
"adBox"Frame 1Symbol 237 MovieClip
"txtVersion"Frame 1Symbol 238 EditableText
"soundmc"Frame 3Symbol 458 MovieClip {TheKillerRobotFactory_fla.SoundFX_88}
"musicplayer"Frame 3Symbol 467 MovieClip {TheKillerRobotFactory_fla.MusicPlayer_89}
"menumusicplayer"Frame 3Symbol 469 MovieClip {TheKillerRobotFactory_fla.MenuMusicPlayer_90}
"light"Symbol 42 MovieClip {ShieldRobot} Frame 1Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}
"light"Symbol 49 MovieClip {FastRobot} Frame 1Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}
"light"Symbol 62 MovieClip {EnergyRobot} Frame 1Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}
"light"Symbol 67 MovieClip {IncineratorRobot} Frame 1Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}
"light"Symbol 77 MovieClip {DemolitionRobot} Frame 1Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}
"light"Symbol 88 MovieClip {SawRobot} Frame 1Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}
"light"Symbol 91 MovieClip {Robot} Frame 1Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}
"legs"Symbol 102 MovieClip {Player} Frame 1Symbol 94 MovieClip
"gun"Symbol 102 MovieClip {Player} Frame 1Symbol 97 MovieClip
"btnMainMenu"Symbol 130 MovieClip {Cheats} Frame 1Symbol 128 Button
"logo"Symbol 147 MovieClip {AGIntroScreen} Frame 1Symbol 146 MovieClip {TheKillerRobotFactory_fla.ag_intro_mc_105}
"btnFGL"Symbol 174 MovieClip {TheKillerRobotFactory_fla.FGL_logo_98} Frame 1Symbol 169 Button
"FGLLogo"Symbol 182 MovieClip {TheKillerRobotFactory_fla.CreditsInner_97} Frame 1Symbol 174 MovieClip {TheKillerRobotFactory_fla.FGL_logo_98}
"btnFutureMotions"Symbol 182 MovieClip {TheKillerRobotFactory_fla.CreditsInner_97} Frame 1Symbol 169 Button
"btnFGA"Symbol 182 MovieClip {TheKillerRobotFactory_fla.CreditsInner_97} Frame 1Symbol 169 Button
"btnArmor"Symbol 182 MovieClip {TheKillerRobotFactory_fla.CreditsInner_97} Frame 1Symbol 169 Button
"btnBOG"Symbol 182 MovieClip {TheKillerRobotFactory_fla.CreditsInner_97} Frame 1Symbol 169 Button
"btnMainMenu"Symbol 183 MovieClip {Credits} Frame 1Symbol 128 Button
"inner"Symbol 183 MovieClip {Credits} Frame 1Symbol 182 MovieClip {TheKillerRobotFactory_fla.CreditsInner_97}
"bg"Symbol 193 MovieClip {WeaponSelectionIndicator} Frame 1Symbol 191 MovieClip
"txtWeaponNumber"Symbol 193 MovieClip {WeaponSelectionIndicator} Frame 1Symbol 192 EditableText
"txtMessage"Symbol 195 MovieClip {GameMessageBox} Frame 1Symbol 194 EditableText
"offbutton"Symbol 203 MovieClip {TheKillerRobotFactory_fla.OnOff_73} Frame 1Symbol 199 MovieClip
"onbutton"Symbol 203 MovieClip {TheKillerRobotFactory_fla.OnOff_73} Frame 1Symbol 202 MovieClip
"txtCheat"Symbol 205 MovieClip {CheatItem} Frame 1Symbol 196 EditableText
"onoff"Symbol 205 MovieClip {CheatItem} Frame 1Symbol 203 MovieClip {TheKillerRobotFactory_fla.OnOff_73}
"txtCheatDesc"Symbol 205 MovieClip {CheatItem} Frame 1Symbol 204 EditableText
"light"Symbol 218 MovieClip {Soldierbot} Frame 1Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}
"joke"Symbol 221 MovieClip {TheKillerRobotFactory_fla.RobotJoke_1} Frame 1Symbol 220 EditableText
"inner"Symbol 283 MovieClip {DropWeapon} Frame 1Symbol 282 MovieClip
"txtrobotcounter"Symbol 304 MovieClip {Hud} Frame 1Symbol 296 EditableText
"txtDestroyed"Symbol 304 MovieClip {Hud} Frame 1Symbol 297 EditableText
"txtHealth"Symbol 304 MovieClip {Hud} Frame 1Symbol 298 EditableText
"txtWeapon"Symbol 304 MovieClip {Hud} Frame 1Symbol 299 EditableText
"txtScore"Symbol 304 MovieClip {Hud} Frame 1Symbol 300 EditableText
"txtMoney"Symbol 304 MovieClip {Hud} Frame 1Symbol 301 EditableText
"weaponicon"Symbol 304 MovieClip {Hud} Frame 1Symbol 282 MovieClip
"txtAmmo"Symbol 304 MovieClip {Hud} Frame 1Symbol 302 EditableText
"txtFinalScore"Symbol 309 MovieClip {TheKillerRobotFactory_fla.GameOver_FinalScore_19} Frame 1Symbol 308 EditableText
"txtQuestion"Symbol 317 MovieClip {TheKillerRobotFactory_fla.GameOverContinue_20} Frame 1Symbol 310 EditableText
"btnYes"Symbol 317 MovieClip {TheKillerRobotFactory_fla.GameOverContinue_20} Frame 1Symbol 313 Button
"btnNo"Symbol 317 MovieClip {TheKillerRobotFactory_fla.GameOverContinue_20} Frame 1Symbol 316 Button
"finalscore"Symbol 318 MovieClip {GameOver} Frame 1Symbol 309 MovieClip {TheKillerRobotFactory_fla.GameOver_FinalScore_19}
"continueyesno"Symbol 318 MovieClip {GameOver} Frame 1Symbol 317 MovieClip {TheKillerRobotFactory_fla.GameOverContinue_20}
"txtFinalScore"Symbol 322 MovieClip {TheKillerRobotFactory_fla.GameComplete_FinalScore_24} Frame 1Symbol 321 EditableText
"finalscore"Symbol 323 MovieClip {GameComplete} Frame 1Symbol 322 MovieClip {TheKillerRobotFactory_fla.GameComplete_FinalScore_24}
"btnMainMenu"Symbol 323 MovieClip {GameComplete} Frame 1Symbol 128 Button
"btnContinue"Symbol 365 MovieClip {HowToPlay} Frame 1Symbol 235 Button
"bg"Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32} Frame 1Symbol 368 MovieClip
"leveltext"Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32} Frame 1Symbol 369 EditableText
"txtToDestroy"Symbol 391 MovieClip {TheKillerRobotFactory_fla.LevelInfo_34} Frame 1Symbol 381 EditableText
"light"Symbol 391 MovieClip {TheKillerRobotFactory_fla.LevelInfo_34} Frame 2Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}
"light"Symbol 391 MovieClip {TheKillerRobotFactory_fla.LevelInfo_34} Frame 3Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}
"light"Symbol 391 MovieClip {TheKillerRobotFactory_fla.LevelInfo_34} Frame 4Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}
"light"Symbol 391 MovieClip {TheKillerRobotFactory_fla.LevelInfo_34} Frame 5Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}
"light"Symbol 391 MovieClip {TheKillerRobotFactory_fla.LevelInfo_34} Frame 6Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}
"light"Symbol 391 MovieClip {TheKillerRobotFactory_fla.LevelInfo_34} Frame 7Symbol 41 MovieClip {TheKillerRobotFactory_fla.RobotLight_44}
"level1"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level2"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level3"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level4"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level5"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level6"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level7"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level8"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level9"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level10"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level11"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level12"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level13"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level14"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level15"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level16"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level17"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level18"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level19"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"level20"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 370 MovieClip {TheKillerRobotFactory_fla.LevelBlock_32}
"robot1bg"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 368 MovieClip
"robot2bg"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 368 MovieClip
"robot3bg"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 368 MovieClip
"robot4bg"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 368 MovieClip
"robot5bg"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 368 MovieClip
"robot6bg"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 368 MovieClip
"robot7bg"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 368 MovieClip
"robot8bg"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 368 MovieClip
"levelinfo"Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31} Frame 1Symbol 391 MovieClip {TheKillerRobotFactory_fla.LevelInfo_34}
"txtLevel"Symbol 393 MovieClip {LevelScreen} Frame 1Symbol 366 EditableText
"leveldisplay"Symbol 393 MovieClip {LevelScreen} Frame 1Symbol 392 MovieClip {TheKillerRobotFactory_fla.LevelBlocks_31}
"btnContinue"Symbol 393 MovieClip {LevelScreen} Frame 1Symbol 235 Button
"btnMainMenu"Symbol 393 MovieClip {LevelScreen} Frame 1Symbol 128 Button
"txtVersion"Symbol 397 MovieClip {MainMenu} Frame 1Symbol 396 EditableText
"btnArmor"Symbol 397 MovieClip {MainMenu} Frame 1Symbol 181 MovieClip
"saw"Symbol 399 MovieClip {MenuButton} Frame 1Symbol 185 MovieClip
"txtLabel"Symbol 399 MovieClip {MenuButton} Frame 1Symbol 398 EditableText
"btnContinue"Symbol 402 MovieClip {NewGameCheck} Frame 1Symbol 235 Button
"btnMainMenu"Symbol 402 MovieClip {NewGameCheck} Frame 1Symbol 128 Button
"txtOption"Symbol 404 MovieClip {OptionItem} Frame 1Symbol 403 EditableText
"onoff"Symbol 404 MovieClip {OptionItem} Frame 1Symbol 203 MovieClip {TheKillerRobotFactory_fla.OnOff_73}
"btnMainMenu"Symbol 406 MovieClip {OptionsMenu} Frame 1Symbol 128 Button
"weapon"Symbol 419 MovieClip {TheKillerRobotFactory_fla.ShopWeapon_80} Frame 1Symbol 282 MovieClip
"txtWeaponText"Symbol 419 MovieClip {TheKillerRobotFactory_fla.ShopWeapon_80} Frame 1Symbol 409 EditableText
"wlevel"Symbol 419 MovieClip {TheKillerRobotFactory_fla.ShopWeapon_80} Frame 1Symbol 418 MovieClip
"weapon0"Symbol 440 MovieClip {TheKillerRobotFactory_fla.ShopContent_79} Frame 1Symbol 419 MovieClip {TheKillerRobotFactory_fla.ShopWeapon_80}
"weapon1"Symbol 440 MovieClip {TheKillerRobotFactory_fla.ShopContent_79} Frame 1Symbol 419 MovieClip {TheKillerRobotFactory_fla.ShopWeapon_80}
"weapon2"Symbol 440 MovieClip {TheKillerRobotFactory_fla.ShopContent_79} Frame 1Symbol 419 MovieClip {TheKillerRobotFactory_fla.ShopWeapon_80}
"weapon3"Symbol 440 MovieClip {TheKillerRobotFactory_fla.ShopContent_79} Frame 1Symbol 419 MovieClip {TheKillerRobotFactory_fla.ShopWeapon_80}
"weapon4"Symbol 440 MovieClip {TheKillerRobotFactory_fla.ShopContent_79} Frame 1Symbol 419 MovieClip {TheKillerRobotFactory_fla.ShopWeapon_80}
"weapon5"Symbol 440 MovieClip {TheKillerRobotFactory_fla.ShopContent_79} Frame 1Symbol 419 MovieClip {TheKillerRobotFactory_fla.ShopWeapon_80}
"weapon6"Symbol 440 MovieClip {TheKillerRobotFactory_fla.ShopContent_79} Frame 1Symbol 419 MovieClip {TheKillerRobotFactory_fla.ShopWeapon_80}
"weapon7"Symbol 440 MovieClip {TheKillerRobotFactory_fla.ShopContent_79} Frame 1Symbol 419 MovieClip {TheKillerRobotFactory_fla.ShopWeapon_80}
"weapon8"Symbol 440 MovieClip {TheKillerRobotFactory_fla.ShopContent_79} Frame 1Symbol 419 MovieClip {TheKillerRobotFactory_fla.ShopWeapon_80}
"preview"Symbol 440 MovieClip {TheKillerRobotFactory_fla.ShopContent_79} Frame 1Symbol 438 MovieClip
"txtMoney"Symbol 440 MovieClip {TheKillerRobotFactory_fla.ShopContent_79} Frame 1Symbol 439 EditableText
"shop"Symbol 441 MovieClip {ShopScreen} Frame 1Symbol 440 MovieClip {TheKillerRobotFactory_fla.ShopContent_79}
"btnContinue"Symbol 441 MovieClip {ShopScreen} Frame 1Symbol 235 Button
"btnMainMenu"Symbol 441 MovieClip {ShopScreen} Frame 1Symbol 128 Button
"saw"Symbol 445 MovieClip {TheKillerRobotFactory_fla.MenuButtonSmall_84} Frame 1Symbol 185 MovieClip
"txtLabel"Symbol 445 MovieClip {TheKillerRobotFactory_fla.MenuButtonSmall_84} Frame 1Symbol 444 EditableText
"txtWeaponName"Symbol 446 MovieClip {WeaponOptionsOwn} Frame 1Symbol 442 EditableText
"txtWeaponInfo"Symbol 446 MovieClip {WeaponOptionsOwn} Frame 1Symbol 443 EditableText
"btnBuyAmmo"Symbol 446 MovieClip {WeaponOptionsOwn} Frame 1Symbol 445 MovieClip {TheKillerRobotFactory_fla.MenuButtonSmall_84}
"btnUpgrade"Symbol 446 MovieClip {WeaponOptionsOwn} Frame 1Symbol 445 MovieClip {TheKillerRobotFactory_fla.MenuButtonSmall_84}
"txtWeaponName"Symbol 449 MovieClip {WeaponOptionstoBuy} Frame 1Symbol 447 EditableText
"txtWeaponInfo"Symbol 449 MovieClip {WeaponOptionstoBuy} Frame 1Symbol 448 EditableText
"btnBuy"Symbol 449 MovieClip {WeaponOptionstoBuy} Frame 1Symbol 445 MovieClip {TheKillerRobotFactory_fla.MenuButtonSmall_84}
"btnContinue"Symbol 453 MovieClip {PausedOverlay} Frame 1Symbol 235 Button
"btnMainMenu"Symbol 453 MovieClip {PausedOverlay} Frame 1Symbol 128 Button
"txtInstructions"Symbol 453 MovieClip {PausedOverlay} Frame 1Symbol 452 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.
Tag 0x0FF (255)Timeline Frame 11 bytes "."

Labels

"Loop"Symbol 228 MovieClip {TheKillerRobotFactory_fla.GSAdvertArrow_3} Frame 30
"Btnarmor"Symbol 397 MovieClip {MainMenu} Frame 1




https://swfchan.com/54/268057/info.shtml
Created: 12/6 -2026 13:43:51 Last modified: 12/6 -2026 13:43:51 Server time: 23/06 -2026 15:39:54