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

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/32531124?noj=FRM32531124-28DC" width="1" height="1"></div>

Mechanaught - take on the role of a small robot in this game.swf

This is the info page for
Flash #90337

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


Text
MECHA

NAuGHT

NEW GAME

NEW GAME

LOAD GAME

LOAD GAME

CONTROLS

CONTROLS

MORE GAMES

MORE GAMES

CREDITS

CREDITS

www.COOLBUDDY.COM

Level 2

CLICK ANYWHERE TO SKIP

O

OC

OCT

OCTO

OCTO-

OCTO-B

OCTO-BO

OCTO-BOT

OCTO-BOTI

OCTO-BOTIC

OCTO-BOTICS

OCTO-BOTICS

OCTO-BOTICS P

OCTO-BOTICS PR

OCTO-BOTICS PRO

OCTO-BOTICS PROD

OCTO-BOTICS PRODU

OCTO-BOTICS PRODUC

OCTO-BOTICS PRODUCT

OCTO-BOTICS PRODUCTI

OCTO-BOTICS PRODUCTIO

OCTO-BOTICS PRODUCTION

OCTO-BOTICS PRODUCTION

OCTO-BOTICS PRODUCTION F

OCTO-BOTICS PRODUCTION FA

OCTO-BOTICS PRODUCTION FAC

OCTO-BOTICS PRODUCTION FACI

OCTO-BOTICS PRODUCTION FACIL

OCTO-BOTICS PRODUCTION FACILI

OCTO-BOTICS PRODUCTION FACILIT

OCTO-BOTICS PRODUCTION FACILITY

OCTO-BOTICS PRODUCTION FACILITY

OCTO-BOTICS PRODUCTION FACILITY
D

OCTO-BOTICS PRODUCTION FACILITY
DE

OCTO-BOTICS PRODUCTION FACILITY
DEC

OCTO-BOTICS PRODUCTION FACILITY
DECO

OCTO-BOTICS PRODUCTION FACILITY
DECOMM

OCTO-BOTICS PRODUCTION FACILITY
DECOMMI

OCTO-BOTICS PRODUCTION FACILITY
DECOMMIS

OCTO-BOTICS PRODUCTION FACILITY
DECOMMISS

OCTO-BOTICS PRODUCTION FACILITY
DECOMMISSI

OCTO-BOTICS PRODUCTION FACILITY
DECOMMISSIO

OCTO-BOTICS PRODUCTION FACILITY
DECOMMISSION

OCTO-BOTICS PRODUCTION FACILITY
DECOMMISSIONI

OCTO-BOTICS PRODUCTION FACILITY
DECOMMISSIONIN

OCTO-BOTICS PRODUCTION FACILITY
DECOMMISSIONING

OCTO-BOTICS PRODUCTION FACILITY
DECOMMISSIONING

OCTO-BOTICS PRODUCTION FACILITY
DECOMMISSIONING L

OCTO-BOTICS PRODUCTION FACILITY
DECOMMISSIONING LI

OCTO-BOTICS PRODUCTION FACILITY
DECOMMISSIONING LIN

OCTO-BOTICS PRODUCTION FACILITY
DECOMMISSIONING LINE

OCTO-BOTICS PRODUCTION FACILITY
DECOMMISSIONIN

OCTO-BOTICS PRODUCTION FACILI

OCTO-BOTICS PRODUCTION FACI

OCTO-BOTICS PRODUCTION FA

OCTO-BOTICS PRODUCTION

OCTO-BOTICS PRODUCTIO

OCTO-BOTICS PRODUCT

OCTO-BOTICS PRODU

OCTO-BOTICS PRO

OCTO-BOTICS P

OCTO-BOTICS

OCTO-BOTI

OCTO-BO

OCTO-

OCT

O

HELP CENTRE

PLAY MORE GAMES

PLAY MORE GAMES

RETURN TO GAME

RETURN TO GAME

UPDATES ON TWITTER

UPDATES ON TWITTER

POST COMMENTS

POST COMMENTS

SCREENSHOTS

SCREENSHOTS

COOLBUDDY.COM GAMES

COOLBUDDY.COM GAMES

CONTINUE

CONTINUE

CONTROLS

BACK

MOVE LEFT

MOVE LEFT

MOVE RIGHT

MOVE RIGHT

JUMP

JUMP

ACTION

ACTION

NEXT WEAPON

NEXT WEAPON

PREV WEAPON

PREV WEAPON

RELOAD

RELOAD

PAUSE

PAUSE

MUTE

MUTE

CLICK TO SELECT A CONTROL. PRESS ANY KEY TO ASSIGN IT TO THE SELECTED CONTROL.

??

N/A

BACK
SpACE

TAB

ENTER

SHIFT

CTRL

ALT

CAPS
LOCK

ESC

SPACE

PG
UP

PG
DOWN

END

HOME

LEFT

UP

RIGHT

DOWN

INSERT

DELETE

0

1

2

3

4

5

6

7

8

9

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

q

R

S

T

U

V

W

X

Y

Z

+

-

/

;

=

,

.

'

[

\

]

#

CREDITS
GAME DESIGN
ALISTAIR 'ALILLM' MAUNDER
PROGRAMMING
ALISTAIR 'ALILLM' MAUNDER
MUSIC
A k e l i x E
GRAPHICS
ALISTAIR 'ALILLM' MAUNDER
SPONSORED BY
COOLBUDDY.COM
www.alillm.com

GAME OVER

CONTINUE FROM LAST SAVE

CONTINUE FROM LAST SAVE

RETURN TO MAIN MENU

RETURN TO MAIN MENU

3

GOT AUTOMATIC RIFLE

HELP CENTRE

HELP CENTRE

MORE COOLBUDDY GAMES

MORE COOLBUDDY GAMES

LOAD

SLOT 1

SLOT 2

SLOT 3

GAME PAUSED

EXIT TO MENU

EXIT TO MENU

RESUME

RESUME

ARE YOU SURE YOU WANT
TO EXIT? UNSAVED
PROGRESS WILL BE LOST!

ok

ok

CANCEL

CANCEL

SLOT 1 - EMPTY

SLOT 1 - EMPTY

SLOT 2 - EMPTY

SLOT 2 - EMPTY

SLOT 3 - EMPTY

SLOT 3 - EMPTY

OVERWRITE EXISTING SAVE?

GAME SAVED

WARNING: ONE OR MORE CONTROLS
HAVE NOT BEEN ASSIGNED A
UNIQUE KEY!

RESTORE DEFAULTS

RESTORE DEFAULTS



ActionScript [AS3]

Section 1
//AdLoader (CPMStar.AdLoader) package CPMStar { import flash.events.*; import flash.display.*; 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
//actioncon_30 (mechanaughtCB_fla.actioncon_30) package mechanaughtCB_fla { import flash.display.*; public dynamic class actioncon_30 extends MovieClip { public function actioncon_30(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 3
//backbtn_26 (mechanaughtCB_fla.backbtn_26) package mechanaughtCB_fla { import flash.display.*; public dynamic class backbtn_26 extends MovieClip { public function backbtn_26(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 4
//body_96 (mechanaughtCB_fla.body_96) package mechanaughtCB_fla { import flash.display.*; public dynamic class body_96 extends MovieClip { public function body_96(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 5
//body2_20 (mechanaughtCB_fla.body2_20) package mechanaughtCB_fla { import flash.display.*; public dynamic class body2_20 extends MovieClip { public var arm3:MovieClip; public var arm2:MovieClip; public var arm4:MovieClip; public var arm1:MovieClip; public function body2_20(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 6
//bosshead_18 (mechanaughtCB_fla.bosshead_18) package mechanaughtCB_fla { import flash.display.*; public dynamic class bosshead_18 extends MovieClip { public function bosshead_18(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 7
//bosshealthback_68 (mechanaughtCB_fla.bosshealthback_68) package mechanaughtCB_fla { import flash.display.*; public dynamic class bosshealthback_68 extends MovieClip { public var rhealth:MovieClip; public var health:MovieClip; public var lhealth:MovieClip; public function bosshealthback_68(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 8
//BULLETTEXT_137 (mechanaughtCB_fla.BULLETTEXT_137) package mechanaughtCB_fla { import flash.display.*; public dynamic class BULLETTEXT_137 extends MovieClip { public function BULLETTEXT_137(){ addFrameScript(98, frame99); } function frame99(){ stop(); } } }//package mechanaughtCB_fla
Section 9
//button_13 (mechanaughtCB_fla.button_13) package mechanaughtCB_fla { import flash.display.*; public dynamic class button_13 extends MovieClip { public function button_13(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 10
//cancel_92 (mechanaughtCB_fla.cancel_92) package mechanaughtCB_fla { import flash.display.*; public dynamic class cancel_92 extends MovieClip { public function cancel_92(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 11
//continuefromlastsave_50 (mechanaughtCB_fla.continuefromlastsave_50) package mechanaughtCB_fla { import flash.display.*; public dynamic class continuefromlastsave_50 extends MovieClip { public function continuefromlastsave_50(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 12
//controlkey_36 (mechanaughtCB_fla.controlkey_36) package mechanaughtCB_fla { import flash.display.*; public dynamic class controlkey_36 extends MovieClip { public function controlkey_36(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 13
//coolbuddy_11 (mechanaughtCB_fla.coolbuddy_11) package mechanaughtCB_fla { import flash.display.*; public dynamic class coolbuddy_11 extends MovieClip { public function coolbuddy_11(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 14
//creditsbtn_147 (mechanaughtCB_fla.creditsbtn_147) package mechanaughtCB_fla { import flash.display.*; public dynamic class creditsbtn_147 extends MovieClip { public function creditsbtn_147(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package mechanaughtCB_fla
Section 15
//creditsroll_38 (mechanaughtCB_fla.creditsroll_38) package mechanaughtCB_fla { import flash.display.*; public dynamic class creditsroll_38 extends MovieClip { public function creditsroll_38(){ addFrameScript(600, frame601); } function frame601(){ stop(); } } }//package mechanaughtCB_fla
Section 16
//enemyhealth_46 (mechanaughtCB_fla.enemyhealth_46) package mechanaughtCB_fla { import flash.display.*; public dynamic class enemyhealth_46 extends MovieClip { public var bar:MovieClip; } }//package mechanaughtCB_fla
Section 17
//exittomenu_89 (mechanaughtCB_fla.exittomenu_89) package mechanaughtCB_fla { import flash.display.*; public dynamic class exittomenu_89 extends MovieClip { public function exittomenu_89(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 18
//gunicon_63 (mechanaughtCB_fla.gunicon_63) package mechanaughtCB_fla { import flash.display.*; public dynamic class gunicon_63 extends MovieClip { public function gunicon_63(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 19
//instructionsbtn_145 (mechanaughtCB_fla.instructionsbtn_145) package mechanaughtCB_fla { import flash.display.*; public dynamic class instructionsbtn_145 extends MovieClip { public function instructionsbtn_145(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package mechanaughtCB_fla
Section 20
//jumpcon_29 (mechanaughtCB_fla.jumpcon_29) package mechanaughtCB_fla { import flash.display.*; public dynamic class jumpcon_29 extends MovieClip { public function jumpcon_29(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 21
//legs_55 (mechanaughtCB_fla.legs_55) package mechanaughtCB_fla { import flash.display.*; public dynamic class legs_55 extends MovieClip { public function legs_55(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 22
//loadblock_12 (mechanaughtCB_fla.loadblock_12) package mechanaughtCB_fla { import flash.display.*; public dynamic class loadblock_12 extends MovieClip { public function loadblock_12(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 23
//loadgamebtn_144 (mechanaughtCB_fla.loadgamebtn_144) package mechanaughtCB_fla { import flash.display.*; public dynamic class loadgamebtn_144 extends MovieClip { public function loadgamebtn_144(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package mechanaughtCB_fla
Section 24
//loadslot_80 (mechanaughtCB_fla.loadslot_80) package mechanaughtCB_fla { import flash.display.*; public dynamic class loadslot_80 extends MovieClip { public function loadslot_80(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 25
//MainTimeline (mechanaughtCB_fla.MainTimeline) package mechanaughtCB_fla { import flash.events.*; import flash.display.*; import flash.media.*; import CPMStar.*; import flash.text.*; import flash.geom.*; import flash.system.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var pop2:popup2; public var flames:Array; public var finalsave:Boolean; public var loader:MovieClip; public var pickups_4_1:Array; public var pickups_4_2:Array; public var pickups_4_3:Array; public var pickups_4_4:Array; public var pickups_4_5:Array; public var pickups_4_6:Array; public var pickups_4_7:Array; public var pickups_4_8:Array; public var level_2_1:Array; public var level_2_3:Array; public var level_2_4:Array; public var level_2_5:Array; public var level_2_6:Array; public var screens_4_3:Array; public var level_2_2:Array; public var screens_4_5:Array; public var screens_4_6:Array; public var screens_4_7:Array; public var screens_4_1:Array; public var level_2_7:Array; public var loadopen:openbolt; public var screens_4_4:Array; public var screens_4_9:Array; public var clicked:buttonclick; public var screens_4_2:Array; public var switches_3_1:Array; public var switches_3_2:Array; public var switches_3_3:Array; public var switches_3_5:Array; public var switches_3_6:Array; public var switches_3_7:Array; public var pickups_4_9:Array; public var switches_3_4:Array; public var switches_3_8:Array; public var nextLevel:int; public var screens_4_8:Array; public var controlsList:Array; public var posX:int; public var timer44:int; public var pickupclick:pickupsound; public var starttext:introtext; public var posAddX:int; public var playerOb:Object; public var pickups_2_2:Array; public var pickups_2_4:Array; public var pickups_2_6:Array; public var pickups_2_7:Array; public var menuLoop:menuloop; public var pickups_2_3:Array; public var pickups_2_5:Array; public var pickups_2_1:Array; public var screens_2_1:Array; public var screens_2_2:Array; public var screens_2_3:Array; public var screens_2_4:Array; public var screens_2_5:Array; public var screens_2_6:Array; public var lifts_5_4:Array; public var lifts_5_5:Array; public var lifts_5_6:Array; public var lifts_5_1:Array; public var lifts_5_2:Array; public var screens_2_7:Array; public var lifts_5_7:Array; public var lifts_5_3:Array; public var switches_1_1:Array; public var switches_1_2:Array; public var switches_1_3:Array; public var switches_1_4:Array; public var switches_1_5:Array; public var switches_1_6:Array; public var switches_1_7:Array; public var switches_1_8:Array; public var switches_1_9:Array; public var enemies_6_3:Array; public var enemies_6_5:Array; public var enemies_6_2:Array; public var lifts_5_8:Array; public var exciteTimer:int; public var enemies_6_8:Array; public var enemies_6_4:Array; public var adv:DisplayObject; public var enemies_6_1:Array; public var vol:int; public var posY:int; public var enemies_6_9:Array; public var currentStage:int; public var savePoints:Array; public var posAddY:int; public var loadclose:closebolt; public var coolbuddy:MovieClip; public var updates:updatespage; public var reloadMax:int; public var drawSprite; public var lifts_3_1:Array; public var lifts_3_2:Array; public var lifts_3_3:Array; public var lifts_3_4:Array; public var lifts_3_5:Array; public var lifts_3_6:Array; public var lifts_3_7:Array; public var lifts_3_8:Array; public var soundfrom; public var gui:GUI; public var enemies_4_1:Array; public var enemies_4_2:Array; public var enemies_4_3:Array; public var enemies_4_4:Array; public var enemies_4_5:Array; public var enemies_4_6:Array; public var enemies_4_7:Array; public var enemies_4_8:Array; public var enemies_4_9:Array; public var gun:gunarm; public var display:BitmapData; public var currentLevel:int; public var timer1:int; public var timer2:int; public var timer3:int; public var MD:Boolean; public var music2Channel:SoundChannel; public var liftstop:liftstopping; public var lifts_1_1:Array; public var lifts_1_2:Array; public var lifts_1_3:Array; public var lifts_1_4:Array; public var lifts_1_5:Array; public var lifts_1_6:Array; public var lifts_1_7:Array; public var lifts_1_8:Array; public var lifts_1_9:Array; public var bulletin:loadbullet; public var exp1:explode1; public var enemies_2_2:Array; public var enemies_2_3:Array; public var enemies_2_4:Array; public var enemies_2_5:Array; public var enemies_2_6:Array; public var enemies_2_7:Array; public var enemies_2_1:Array; public var doors_5_1:Array; public var doors_5_3:Array; public var doors_5_4:Array; public var doors_5_5:Array; public var doors_5_6:Array; public var doors_5_8:Array; public var collectedItems:Array; public var doors_5_7:Array; public var doors_5_2:Array; public var stageRect:Rectangle; public var error:cantpickup; public var errorTimer:int; public var Title:TITLE; public var grunts:Array; public var savepoints_6_1:Array; public var savepoints_6_2:Array; public var savepoints_6_3:Array; public var savepoints_6_4:Array; public var savepoints_6_5:Array; public var savepoints_6_8:Array; public var savepoints_6_9:Array; public var tvs:Array; public var pop:popup; public var switchsound:switchpress; public var grav; public var doors_3_1:Array; public var doors_3_3:Array; public var doors_3_4:Array; public var doors_3_5:Array; public var doors_3_6:Array; public var doors_3_7:Array; public var doors_3_8:Array; public var doors_3_2:Array; public var gameoverswitch:Boolean; public var doorObs:Array; public var adBox:MovieClip; public var particles:Array; public var trans:TRANS; public var savepoints_4_1:Array; public var savepoints_4_2:Array; public var savepoints_4_3:Array; public var savepoints_4_4:Array; public var savepoints_4_5:Array; public var savepoints_4_6:Array; public var savepoints_4_7:Array; public var savepoints_4_8:Array; public var savepoints_4_9:Array; public var controlsOption:int; public var lifts:Array; public var player:char; public var parts:Array; public var doors_1_1:Array; public var doors_1_2:Array; public var doors_1_3:Array; public var doors_1_4:Array; public var doors_1_5:Array; public var doors_1_6:Array; public var doors_1_7:Array; public var doors_1_8:Array; public var doors_1_9:Array; public var musicChannel:SoundChannel; public var levelMap:BitmapData; public var savepoints_2_1:Array; public var savepoints_2_3:Array; public var savepoints_2_4:Array; public var savepoints_2_5:Array; public var savepoints_2_6:Array; public var savepoints_2_7:Array; public var savepoints_2_2:Array; public var bossStartTimer:int; public var nullLock:MovieClip; public var cursor:CURSOR; public var tileH:int; public var level_5_2:Array; public var level_5_3:Array; public var level_5_4:Array; public var level_5_5:Array; public var level_5_6:Array; public var level_5_7:Array; public var level_5_8:Array; public var boss:BOSS; public var tileW:int; public var level_5_1:Array; public var jumpUp:BitmapData; public var bossParts:Array; public var tiles; public var switches_6_1:Array; public var switches_6_3:Array; public var switches_6_4:Array; public var switches_6_5:Array; public var channel3:SoundChannel; public var channel4:SoundChannel; public var switches_6_8:Array; public var switches_6_2:Array; public var jumpPads:Object; public var coolDown:int; public var keyList:Array; public var heavies:Array; public var liftrun:liftrunning; public var reloading:int; public var switches_6_9:Array; public var die1:death1; public var die2:death2; public var channel2:SoundChannel; public var lazerbeam:lazersound; public var pickups_5_1:Array; public var pickups_5_3:Array; public var pickups_5_5:Array; public var pickups_5_6:Array; public var pickups_5_7:Array; public var pickups_5_2:Array; public var pickups_5_4:Array; public var level_3_1:Array; public var level_3_2:Array; public var level_3_3:Array; public var level_3_4:Array; public var level_3_5:Array; public var level_3_6:Array; public var level_3_7:Array; public var screens_5_3:Array; public var screens_5_4:Array; public var screens_5_5:Array; public var screens_5_6:Array; public var screens_5_7:Array; public var screens_5_1:Array; public var screens_5_2:Array; public var level_3_8:Array; public var screens_5_8:Array; public var pickups_5_8:Array; public var game:Sprite; public var switches_4_1:Array; public var switches_4_2:Array; public var switches_4_3:Array; public var switches_4_4:Array; public var switches_4_5:Array; public var switches_4_6:Array; public var switches_4_7:Array; public var switches_4_8:Array; public var switches_4_9:Array; public var gameOver:gameover; public var mainLoop:gameloop; public var loadslot:Array; public var ad:DisplayObject; public var missiles:Array; public var octobombs:Array; public var flamePads:Array; public var jump:jumping; public var liftstart:liftstarting; public var moveScreenX:Number; public var pickups_3_1:Array; public var pickups_3_2:Array; public var pickups_3_3:Array; public var pickups_3_4:Array; public var pickups_3_5:Array; public var pickups_3_6:Array; public var pickups_3_7:Array; public var pickups_3_8:Array; public var level_1_1:Array; public var level_1_2:Array; public var level_1_3:Array; public var level_1_4:Array; public var level_1_5:Array; public var level_1_6:Array; public var level_1_7:Array; public var level_1_8:Array; public var level_1_9:Array; public var screens_3_5:Array; public var screens_3_6:Array; public var screens_3_7:Array; public var screens_3_1:Array; public var screens_3_2:Array; public var screens_3_3:Array; public var screens_3_4:Array; public var lifts_6_1:Array; public var lifts_6_2:Array; public var screens_3_8:Array; public var shot1:pistolshot; public var lifts_6_8:Array; public var lifts_6_3:Array; public var lifts_6_4:Array; public var switches_2_1:Array; public var switches_2_2:Array; public var switches_2_3:Array; public var switches_2_4:Array; public var switches_2_5:Array; public var switches_2_6:Array; public var shot2:machinegunfire; public var lifts_6_9:Array; public var switches_2_7:Array; public var moveScreenY:Number; public var lifts_6_5:Array; public var shot4:shotgunshot; public var muting:Boolean; public var bgLoop:bgloop; public var CPMStarContentSpotID:String; public var fightingBoss:Boolean; public var flameTime:int; public var fireburst:shortburst; public var changeroom:godoor; public var boing:spring; public var credits:CREDITS; public var computers:Array; public var dispbmp:Bitmap; public var gunType:int; public var flamersound:flamethrower; public var launchers:Array; public var rolledOver:int; public var pickups_1_1:Array; public var pickups_1_2:Array; public var pickups_1_3:Array; public var pickups_1_4:Array; public var pickups_1_5:Array; public var pickups_1_6:Array; public var pickups_1_7:Array; public var pickups_1_8:Array; public var pickups_1_9:Array; public var screens_1_1:Array; public var screens_1_2:Array; public var screens_1_3:Array; public var screens_1_4:Array; public var screens_1_5:Array; public var screens_1_6:Array; public var screens_1_8:Array; public var screens_1_9:Array; public var lifts_4_7:Array; public var lifts_4_8:Array; public var lifts_4_2:Array; public var screens_1_7:Array; public var lifts_4_4:Array; public var lifts_4_5:Array; public var grenades:Array; public var lifts_4_1:Array; public var respawnsound:spawnsound; public var lifts_4_3:Array; public var lifts_4_6:Array; public var soundDir; public var lifts_4_9:Array; public var stageH:int; public var enemies_5_1:Array; public var enemies_5_2:Array; public var enemies_5_4:Array; public var enemies_5_6:Array; public var enemies_5_8:Array; public var enemies_5_3:Array; public var enemies_5_5:Array; public var enemies_5_7:Array; public var stageW:int; public var lastSave:int; public var closeBtn:MovieClip; public var gunsCollected:Array; public var map:Array; public var savechoice:int; public var lifts_2_1:Array; public var lifts_2_2:Array; public var lifts_2_3:Array; public var lifts_2_4:Array; public var lifts_2_5:Array; public var lifts_2_6:Array; public var lifts_2_7:Array; public var pickups:Array; public var startanim:startmov; public var turrets:Array; public var fadebmp:Bitmap; public var firing:Boolean; public var enemies_3_3:Array; public var enemies_3_4:Array; public var enemies_3_5:Array; public var enemies_3_6:Array; public var enemies_3_7:Array; public var enemies_3_8:Array; public var enemies_3_1:Array; public var enemies_3_2:Array; public var doors_6_1:Array; public var doors_6_2:Array; public var doors_6_3:Array; public var doors_6_4:Array; public var doors_6_5:Array; public var doors_6_8:Array; public var doors_6_9:Array; public var bossInfo:Object; public var ltrans:levelTrans; public var downKeys:Object; public var liftsbmp:Bitmap; public var gunoffset:int; public var tempCollected:Array; public var loadgame:LOADGAME; public var jumpDown:BitmapData; public var slot1; public var slot2; public var slot3; public var enemies_1_1:Array; public var enemies_1_2:Array; public var enemies_1_3:Array; public var enemies_1_4:Array; public var enemies_1_5:Array; public var enemies_1_6:Array; public var enemies_1_7:Array; public var enemies_1_8:Array; public var enemies_1_9:Array; public var fliers:Array; public var doors_4_1:Array; public var doors_4_2:Array; public var doors_4_3:Array; public var doors_4_4:Array; public var doors_4_5:Array; public var doors_4_6:Array; public var doors_4_7:Array; public var doors_4_8:Array; public var doors_4_9:Array; public var tempPushed:Array; public var shotrocket:rocketlaunch; public var sprites:Sprite; public var lastStartX:int; public var lastStartY:int; public var fade:BitmapData; public var saved:savesuccess; public var savepoints_5_1:Array; public var savepoints_5_4:Array; public var savepoints_5_6:Array; public var savepoints_5_8:Array; public var savepoints_5_3:Array; public var savepoints_5_5:Array; public var savepoints_5_7:Array; public var savepoints_5_2:Array; public var doors_2_1:Array; public var doors_2_2:Array; public var doors_2_3:Array; public var doors_2_4:Array; public var doors_2_5:Array; public var doors_2_6:Array; public var gunflash:MovieClip; public var controls:CONTROLS; public var doors_2_7:Array; public var menuOption:int; public var strike1:hit1; public var strike3:hit3; public var conveyor1; public var strike2:hit2; public var conveyor4; public var conveyor5; public var conveyor6; public var conveyor3; public var rollover:mouseover; public var conveyor2; public var pausegame:pausemenu; public var switches:Array; public var liftsCollider:BitmapData; public var fireSoundTime:int; public var lastRoomGun:int; public var gun1:Object; public var gun2:Object; public var gun3:Object; public var gun4:Object; public var gun5:Object; public var gun6:Object; public var lastGun:int; public var lastRoomAmmo:Array; public var savepoints_3_1:Array; public var savepoints_3_2:Array; public var savepoints_3_4:Array; public var savepoints_3_6:Array; public var savepoints_3_8:Array; public var savepoints_3_3:Array; public var savepoints_3_5:Array; public var savepoints_3_7:Array; public var transto:String; public var conveyors:Array; public var level_6_1:Array; public var level_6_2:Array; public var level_6_3:Array; public var level_6_4:Array; public var level_6_5:Array; public var level_6_8:Array; public var level_6_9:Array; public var pushedSwitches:Array; public var type:keyboardtype; public var loadblock:MovieClip; public var deathTime:int; public var upPads:Array; public var savepoints_1_1:Array; public var savepoints_1_2:Array; public var savepoints_1_3:Array; public var savepoints_1_4:Array; public var savepoints_1_5:Array; public var savepoints_1_6:Array; public var savepoints_1_7:Array; public var savepoints_1_8:Array; public var savepoints_1_9:Array; public var levelRect:Rectangle; public var changegun:gunchange; public var pickups_6_2:Array; public var pickups_6_4:Array; public var pickups_6_5:Array; public var pickups_6_1:Array; public var pickups_6_9:Array; public var pickups_6_3:Array; public var level_4_1:Array; public var level_4_2:Array; public var level_4_3:Array; public var level_4_5:Array; public var level_4_6:Array; public var level_4_7:Array; public var level_4_8:Array; public var level_4_9:Array; public var screens_6_5:Array; public var level_4_4:Array; public var pickups_6_8:Array; public var screens_6_1:Array; public var screens_6_2:Array; public var screens_6_3:Array; public var screens_6_4:Array; public var screens_6_9:Array; public var switches_5_1:Array; public var switches_5_2:Array; public var switches_5_3:Array; public var switches_5_4:Array; public var switches_5_5:Array; public var switches_5_6:Array; public var switches_5_7:Array; public var gameState:String; public var screens_6_8:Array; public var switches_5_8:Array; public var fadeCT:ColorTransform; public var soundto; public var gunSelected:int; public var explosions:Array; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 6, frame7); } public function updateMissiles():void{ var _local1:int; var _local2:missile; var _local3:int; var _local4:int; var _local5:*; var _local6:int; var _local7:int; var _local8:int; var _local9:int; _local1 = 0; while (_local1 < missiles.length) { _local2 = missiles[_local1]; _local2.x = (_local2.x + _local2.xv); _local2.y = (_local2.y + _local2.yv); newParticle((_local2.x - _local2.xv), (_local2.y - _local2.yv), 2, 0); _local3 = (playerOb.x - _local2.x); _local4 = ((playerOb.y - (playerOb.h / 2)) - _local2.y); _local5 = (Math.atan2(_local4, _local3) * (180 / Math.PI)); if (_local5 > 360){ _local5 = (_local5 - 360); } else { if (_local5 < 0){ _local5 = (_local5 + 360); }; }; _local6 = _local2.rotation; if (_local6 < 0){ _local6 = (_local6 + 360); }; _local7 = (_local6 - _local5); if ((((((_local7 > 0)) && ((_local7 <= 180)))) || ((_local7 < -180)))){ _local2.rotation = (_local2.rotation - 2); } else { if ((((((_local7 < 0)) && ((_local7 >= -180)))) || ((_local7 > 180)))){ _local2.rotation = (_local2.rotation + 2); }; }; _local2.xv = (Math.cos((_local2.rotation * (Math.PI / 180))) * 5); _local2.yv = (Math.sin((_local2.rotation * (Math.PI / 180))) * 5); _local8 = Math.floor(((_local2.x + (_local2.xv * 2)) / tileW)); _local9 = Math.floor(((_local2.y + (_local2.yv * 2)) / tileH)); if ((((((_local3 * _local3) + (_local4 * _local4)) <= 1000)) && ((deathTime == 0)))){ playerDie(); grenadeExplode(_local2.x, _local2.y); sprites.removeChild(_local2); missiles.splice(_local1, 1); _local1--; } else { if (((!((map[_local9][_local8] == 0))) || ((liftsCollider.getPixel((_local2.x + (_local2.xv * 2)), (_local2.y + (_local2.yv * 2))) == 0)))){ grenadeExplode(_local2.x, _local2.y); sprites.removeChild(_local2); missiles.splice(_local1, 1); _local1--; }; }; _local1++; }; } public function updateGameOver():void{ if ((((stage.mouseY > 360)) && ((stage.mouseY < 390)))){ if (rolledOver != 1){ rolledOver = 1; rollover.play(); }; gameOver.option1.gotoAndStop(2); gameOver.option2.gotoAndStop(1); gameOver.option3.gotoAndStop(1); menuOption = 1; } else { if ((((stage.mouseY > 404)) && ((stage.mouseY < 434)))){ if (rolledOver != 2){ rolledOver = 2; rollover.play(); }; gameOver.option1.gotoAndStop(1); gameOver.option2.gotoAndStop(2); gameOver.option3.gotoAndStop(1); menuOption = 2; } else { if ((((stage.mouseY > 450)) && ((stage.mouseY < 480)))){ if (rolledOver != 3){ rolledOver = 3; rollover.play(); }; gameOver.option1.gotoAndStop(1); gameOver.option2.gotoAndStop(1); gameOver.option3.gotoAndStop(2); menuOption = 3; } else { rolledOver = 0; gameOver.option1.gotoAndStop(1); gameOver.option2.gotoAndStop(1); gameOver.option3.gotoAndStop(1); menuOption = 0; }; }; }; } public function newPickup(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int):void{ var _local7:pickup; _local7 = new pickup(); _local7.gotoAndStop(_arg3); _local7.x = _arg1; _local7.y = _arg2; _local7.t = _arg3; _local7.lev = _arg4; _local7.sta = _arg5; _local7.id = _arg6; pickups.push(_local7); sprites.addChild(_local7); } public function updateConveyors():void{ var _local1:int; var _local2:Object; _local1 = 0; while (_local1 < conveyors.length) { _local2 = conveyors[_local1]; if (_local2.t == 2){ levelMap.fillRect(new Rectangle((_local2.x * tileW), (_local2.y * tileH), tileW, tileH), 0xFFFFFF); levelMap.copyPixels(conveyor1, new Rectangle(((_local2.f - 1) * tileW), 0, tileW, tileH), new Point((_local2.x * tileW), (_local2.y * tileH))); } else { if (_local2.t == 5){ levelMap.fillRect(new Rectangle((_local2.x * tileW), (_local2.y * tileH), tileW, tileH), 0xFFFFFF); levelMap.copyPixels(conveyor2, new Rectangle(((_local2.f - 1) * tileW), 0, tileW, tileH), new Point((_local2.x * tileW), (_local2.y * tileH))); } else { if (_local2.t == 1){ levelMap.fillRect(new Rectangle((_local2.x * tileW), (_local2.y * tileH), tileW, tileH), 0xFFFFFF); levelMap.copyPixels(conveyor3, new Rectangle(((_local2.f - 1) * tileW), 0, tileW, tileH), new Point((_local2.x * tileW), (_local2.y * tileH))); } else { if (_local2.t == 4){ levelMap.fillRect(new Rectangle((_local2.x * tileW), (_local2.y * tileH), tileW, tileH), 0xFFFFFF); levelMap.copyPixels(conveyor4, new Rectangle(((_local2.f - 1) * tileW), 0, tileW, tileH), new Point((_local2.x * tileW), (_local2.y * tileH))); } else { if (_local2.t == 6){ levelMap.fillRect(new Rectangle((_local2.x * tileW), (_local2.y * tileH), tileW, tileH), 0xFFFFFF); levelMap.copyPixels(conveyor5, new Rectangle(((_local2.f - 1) * tileW), 0, tileW, tileH), new Point((_local2.x * tileW), (_local2.y * tileH))); } else { if (_local2.t == 3){ levelMap.fillRect(new Rectangle((_local2.x * tileW), (_local2.y * tileH), tileW, tileH), 0xFFFFFF); levelMap.copyPixels(conveyor6, new Rectangle(((_local2.f - 1) * tileW), 0, tileW, tileH), new Point((_local2.x * tileW), (_local2.y * tileH))); }; }; }; }; }; }; _local2.f++; if (_local2.f > 5){ _local2.f = 1; }; _local1++; }; } public function fireTopMissiles():void{ newMissile(100, 380, 0); newMissile(985, 380, 180); } public function updateTurrets():void{ var _local1:int; var _local2:turret; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; _local1 = 0; while (_local1 < turrets.length) { _local2 = turrets[_local1]; if (_local2.hitTime > 0){ _local2.hitTime--; if (_local2.hitTime <= 0){ _local2.hbar.alpha = 0; }; }; if (_local2.health <= 0){ _local2.channel.stop(); turretExplode(_local2.x, _local2.y, (((_local2.lastHealth - _local2.health) / 3) + 4)); sprites.removeChild(_local2); turrets.splice(_local1, 1); _local1--; } else { if (_local2.lastHealth > _local2.health){ _local2.range = 10000; }; }; if (_local2.onFire > 0){ _local2.onFire--; _local2.health = (_local2.health - 0.05); onFire(_local2.x, (_local2.y + 15), (_local2.onFire / 40)); }; _local2.lastHealth = _local2.health; if ((((_local2.seeking == false)) || ((deathTime > 0)))){ if (_local2.dir == 1){ _local2.gun.rotation++; if ((((_local2.gun.rotation >= 180)) || ((_local2.gun.rotation < -100)))){ _local2.gun.rotation = 179; _local2.dir = 2; }; } else { _local2.gun.rotation--; if (_local2.gun.rotation <= 0){ _local2.gun.rotation = 1; _local2.dir = 1; }; }; _local2.checkLos--; if (_local2.checkLos <= 0){ _local2.checkLos = 5; _local3 = (_local2.x - playerOb.x); _local4 = (_local2.y - playerOb.y); _local5 = ((_local3 * _local3) + (_local4 * _local4)); if (_local5 <= 160000){ exciteTimer = 50; if (soundto != 1){ soundto = 1; soundDir = 2; }; if (LOS(_local2.x, (_local2.y + 10), playerOb.x, (playerOb.y - (playerOb.h / 2)), _local2.range) == true){ _local2.seeking = true; }; }; }; } else { exciteTimer = 50; if (soundto != 1){ soundto = 1; soundDir = 2; }; _local2.shootTime--; _local6 = (playerOb.x - _local2.x); _local7 = ((playerOb.y - (playerOb.h / 2)) - _local2.y); _local2.ang = (Math.atan2(_local7, _local6) * (180 / Math.PI)); if (_local2.ang > 360){ _local2.ang = (_local2.ang - 360); } else { if (_local2.ang < 0){ _local2.ang = (_local2.ang + 360); }; }; if (_local2.ang < 180){ if (_local2.gun.rotation < _local2.ang){ _local2.gun.rotation++; } else { _local2.gun.rotation--; }; }; _local2.soundTimer--; if (_local2.soundTimer <= 0){ _local2.soundTimer = 45; _local2.channel = shot2.play(); }; if (_local2.shootTime <= 0){ _local2.shootTime = 6; _local8 = ((_local2.x + _local2.gun.x) + (Math.cos((_local2.gun.rotation * (Math.PI / 180))) * 23)); _local9 = ((_local2.y + _local2.gun.y) + (Math.sin((_local2.gun.rotation * (Math.PI / 180))) * 23)); fireLine(_local8, _local9, (Math.cos((_local2.gun.rotation * (Math.PI / 180))) * 10), (Math.sin((_local2.gun.rotation * (Math.PI / 180))) * 10), 1, 0xFFFFFF, 1, 1); }; if (LOS(_local2.x, (_local2.y + 10), playerOb.x, (playerOb.y - (playerOb.h / 2)), _local2.range) == false){ _local2.range = 500; _local2.seeking = false; _local2.soundTimer = 0; _local2.channel.stop(); }; }; _local1++; }; } public function updateTvs():void{ var _local1:int; var _local2:tvscreen; var _local3:int; var _local4:int; var _local5:int; var _local6:int; _local1 = 0; while (_local1 < tvs.length) { _local2 = tvs[_local1]; _local3 = (playerOb.x - (_local2.x + 60)); _local4 = (playerOb.y - (_local2.y + 60)); _local5 = ((_local3 * _local3) + (_local4 * _local4)); _local6 = int((Math.random() * int.MAX_VALUE)); if (_local5 > 40000){ _local2.cov.txt.text = ""; _local2.bmp.noise(_local6, 0, 200, BitmapDataChannel.RED, true); } else { _local2.bmp.noise(_local6, 20, 80, BitmapDataChannel.RED, true); _local2.cov.txt.text = _local2.words; }; _local1++; }; } public function bossExplode(_arg1:int, _arg2:int):void{ var _local3:int; var _local4:int; die1.play(); _arg1 = (_arg1 + 20); _local3 = 0; while (_local3 < 10) { newParticle(((_arg1 + 45) + ((Math.random() * 45) - (Math.random() * 45))), ((_arg2 + 45) + ((Math.random() * 45) - (Math.random() * 45))), 4, ((Math.random() * 4) + 1)); _local3++; }; _local4 = 0; while (_local4 < 15) { newExplosionParticle(((_arg1 + 45) + ((Math.random() * 45) - (Math.random() * 45))), ((_arg2 + 45) + ((Math.random() * 45) - (Math.random() * 45))), 6, ((Math.random() * 4) + 1)); _local4++; }; newPart((_arg1 + 19), (_arg2 + 1), 3, 0, 24, 1); newPart((_arg1 + 48), (_arg2 - 6), 3, 0, 25, 1); newPart((_arg1 + 31), (_arg2 + 18), 3, 0, 26, 1); newPart((_arg1 + 39), (_arg2 + 53), 3, 0, 27, 1); newPart((_arg1 + 12), (_arg2 + 5), 3, 0, 28, 1); newPart((_arg1 - 20), (_arg2 + 72), 3, 0, 29, 1); newPart((_arg1 + 100), (_arg2 + 60), 3, 0, 30, 1); newPart((_arg1 - 6), (_arg2 + 85), 3, 0, 31, 1); newPart((_arg1 + 97), (_arg2 + 89), 3, 0, 32, 1); newPart((_arg1 + 35), (_arg2 + 76), 3, 0, 33, 1); newPart((_arg1 + 56), (_arg2 + 53), 3, 0, 34, 1); } public function update(_arg1:Event):void{ var _local2:int; var _local3:int; cursor.x = stage.mouseX; cursor.y = stage.mouseY; if (soundDir != 0){ updateSound(); }; if (errorTimer > 0){ errorTimer--; }; if (gameState == "intro"){ updateConveyors(); updateTvs(); updateParticles(); updateParts(); if (startanim.currentFrame == 11){ channel2 = type.play(); } else { if ((((startanim.currentFrame > 225)) && ((startanim.currentFrame < 280)))){ posX = (posX + 15); } else { if (startanim.currentFrame == 328){ botExplode(1490, 410); } else { if (startanim.currentFrame == 388){ botExplode(1490, 410); } else { if ((((startanim.currentFrame > 400)) && ((startanim.currentFrame < 500)))){ posX = (posX - 12); } else { if ((((startanim.currentFrame > 588)) && ((startanim.currentFrame < 620)))){ posX = (posX + 2); } else { if (startanim.currentFrame == 620){ channel2.stop(); removeChild(starttext); startGame(); gameState = "game"; }; }; }; }; }; }; }; updateDisplay(); sprites.x = -(posX); sprites.y = -(posY); } else { if (gameState == "trans"){ transTo(); } else { if (gameState == "leveltrans"){ if (ltrans.currentFrame == 16){ ltrans.leveltxt.text = ("LEVEL " + String(nextLevel)); if ((((currentLevel == 1)) && ((nextLevel == 0)))){ removeChild(Title); gameState = "intro"; startanim = new startmov(); startanim.x = (30 * 6); startanim.y = (30 * 3); loadMap(1, 1); posX = (30 * 12); posY = 0; updateDisplay(); SoundMixer.stopAll(); mainLoop.play(0, 9999); } else { clearLevel(); loadMap(currentLevel, nextLevel); gameState = "game"; }; }; }; }; }; if (gameState == "title"){ updateTitle(); } else { if (gameState == "controls"){ updateControls(); } else { if (gameState == "load"){ updateLoad(); } else { if (gameState == "gameover"){ updateGameOver(); } else { if (gameState == "popup"){ updatePopup(); } else { if (gameState == "popup2"){ updatePopup2(); } else { if (gameState == "paused"){ updatePause(); } else { if (gameState == "bossStart"){ updateBossStart(); updateParticles(); updateTvs(); updateSavepoints(); updatePlayer(); updateFliers(); liftsCollider.fillRect(levelRect, 0xFFFFFF); updateLifts(); moveScreen(); sprites.x = -(posX); sprites.y = -(posY); updateDisplay(); } else { if (gameState == "updates"){ updateUpdates(); } else { if (gameState == "game"){ if ((((((currentLevel == 6)) && ((currentStage == 5)))) && ((fightingBoss == false)))){ if ((((playerOb.x < 1000)) && ((gameoverswitch == false)))){ fightingBoss = true; _local2 = 0; while (_local2 < lifts.length) { if (lifts[_local2].id == 0){ lifts[_local2].s = 1; lifts[_local2].ch = liftrun.play(); lifts[_local2].xv = lifts[_local2].xMove; lifts[_local2].yv = lifts[_local2].yMove; }; _local2++; }; lastStartX = playerOb.x; lastStartY = playerOb.y; bossStartTimer = 200; player.legs.gotoAndStop(1); gameState = "bossStart"; }; }; if (exciteTimer > 0){ exciteTimer--; if (exciteTimer <= 0){ soundto = 2; soundDir = 2; }; }; liftsCollider.fillRect(levelRect, 0xFFFFFF); updateLifts(); if (deathTime == 0){ updatePlayer(); if (firing == true){ fireRapid(); }; checkForPickups(); } else { respawn(); }; moveScreen(); updateJumpPads(); updateConveyors(); updateFlamePads(); updateDisplay(); fade.colorTransform(new Rectangle(0, 0, fade.width, fade.height), fadeCT); updateParticles(); updateParts(); updateFlames(); updateGrenades(); updateFliers(); updateGrunts(); updateTurrets(); updateHeavies(); updateLaunchers(); updateBoss(); updateOctobombs(); updateMissiles(); updateExplosions(); updateTvs(); updateSavepoints(); sprites.x = -(posX); sprites.y = -(posY); if (reloading > 0){ reloading--; if (gunType == 1){ reloadHandgun(reloading); } else { if (gunType == 2){ reloadMachinegun(reloading); } else { if (gunType == 3){ reloadGrenade(reloading); } else { if (gunType == 4){ reloadShotgun(reloading); } else { if (gunType == 5){ reloadFlamer(reloading); } else { if (gunType == 6){ reloadLazer(reloading); }; }; }; }; }; }; player.reload.gotoAndStop(((8 - Math.floor(((reloading / reloadMax) * 8))) + 1)); if (reloading == 0){ player.reload.gotoAndStop(1); _local3 = (this[("gun" + gunType)].capacity - this[("gun" + gunType)].ammo); this[("gun" + gunType)].ammo = this[("gun" + gunType)].capacity; this[("gun" + gunType)].spare = (this[("gun" + gunType)].spare - _local3); if (this[("gun" + gunType)].spare < 0){ this[("gun" + gunType)].ammo = (this[("gun" + gunType)].ammo + this[("gun" + gunType)].spare); this[("gun" + gunType)].spare = 0; }; if (gunType != 1){ gui.ammo.text = ((String(this[("gun" + gunType)].ammo) + " | ") + String(this[("gun" + gunType)].spare)); } else { gui.ammo.text = (String(gun1.ammo) + " | X"); }; }; }; if (playerOb.health <= 0){ gui.health.width = 1; } else { gui.health.width = ((playerOb.health / playerOb.maxHealth) * 100); }; }; }; }; }; }; }; }; }; }; }; } public function updateGrenades():void{ var _local1:int; var _local2:int; var _local3:grenade; var _local4:int; var _local5:int; var _local6:flier; var _local7:grunt; var _local8:turret; var _local9:heavy; var _local10:launcher; var _local11:Object; _local1 = 0; _local2 = 0; while (_local2 < grenades.length) { _local3 = grenades[_local2]; _local4 = Math.floor(((_local3.x + _local3.xv) / tileW)); _local5 = Math.floor(((_local3.y + _local3.yv) / tileH)); _local1 = 0; while (_local1 < fliers.length) { _local6 = fliers[_local1]; if ((((_local6.x - _local3.x) * (_local6.x - _local3.x)) + ((_local6.y - _local3.y) * (_local6.y - _local3.y))) < (15 * 15)){ _local6.health = (_local6.health - 20); newExplosion(_local3.x, _local3.y, 20, 100, 0); grenadeExplode(_local3.x, _local3.y); _local3.dead = true; _local6.hitTime = 30; _local6.hbar.alpha = 1; _local6.hbar.bar.width = ((_local6.health / 2) * 25); }; _local1++; }; _local1 = 0; while (_local1 < grunts.length) { _local7 = grunts[_local1]; if ((((_local7.x - _local3.x) * (_local7.x - _local3.x)) + (((_local7.y - 30) - _local3.y) * ((_local7.y - 30) - _local3.y))) < (40 * 40)){ _local7.health = (_local7.health - 20); _local7.hitTime = 30; _local7.hbar.alpha = 1; _local7.hbar.bar.width = 0; newExplosion(_local3.x, _local3.y, 20, 100, 0); grenadeExplode(_local3.x, _local3.y); _local3.dead = true; }; _local1++; }; _local1 = 0; while (_local1 < turrets.length) { _local8 = turrets[_local1]; if ((((_local8.x - _local3.x) * (_local8.x - _local3.x)) + ((_local8.y - _local3.y) * (_local8.y - _local3.y))) < (30 * 30)){ _local8.health = (_local8.health - 20); newExplosion(_local3.x, _local3.y, 20, 100, 0); grenadeExplode(_local3.x, _local3.y); _local3.dead = true; _local8.hitTime = 30; _local8.hbar.alpha = 1; _local8.hbar.bar.width = ((_local8.health / 10) * 25); }; _local1++; }; _local1 = 0; while (_local1 < heavies.length) { _local9 = heavies[_local1]; if ((((_local9.x - _local3.x) * (_local9.x - _local3.x)) + (((_local9.y - 30) - _local3.y) * ((_local9.y - 30) - _local3.y))) < (40 * 40)){ _local9.health = (_local9.health - 20); newExplosion(_local3.x, _local3.y, 20, 100, 0); grenadeExplode(_local3.x, _local3.y); _local3.dead = true; _local9.hitTime = 30; _local9.hbar.alpha = 1; _local9.hbar.bar.width = ((_local9.health / 15) * 25); }; _local1++; }; _local1 = 0; while (_local1 < launchers.length) { _local10 = launchers[_local1]; if ((((_local10.x - _local3.x) * (_local10.x - _local3.x)) + ((_local10.y - _local3.y) * (_local10.y - _local3.y))) < (40 * 40)){ _local10.health = (_local10.health - 20); newExplosion(_local3.x, _local3.y, 20, 100, 0); grenadeExplode(_local3.x, _local3.y); _local3.dead = true; _local10.hitTime = 30; _local10.hbar.alpha = 1; _local10.hbar.bar.width = ((_local10.health / 30) * 25); }; _local1++; }; _local1 = 0; while (_local1 < computers.length) { _local11 = computers[_local1]; if (Math.abs((_local11.x - _local3.x)) <= 20){ if ((((_local3.y >= _local11.y)) && ((_local3.y <= (_local11.y + _local11.h))))){ if (_local11.side == 1){ bossInfo.lCompHealth = (bossInfo.lCompHealth - 10); _local11.ob.play(); } else { if (_local11.side == 2){ bossInfo.rCompHealth = (bossInfo.rCompHealth - 10); _local11.ob.play(); } else { bossInfo.health = (bossInfo.health - 10); }; }; _local3.dead = true; newExplosion(_local3.x, _local3.y, 20, 100, 0); grenadeExplode(_local3.x, _local3.y); }; }; _local1++; }; if ((((((map[_local5][_local4] > 0)) || ((_local3.dead == true)))) || ((liftsCollider.getPixel(_local3.x, _local3.y) == 0)))){ newExplosion(_local3.x, _local3.y, 20, 100, 0); grenadeExplode(_local3.x, _local3.y); sprites.removeChild(_local3); grenades.splice(_local2, 1); _local2--; } else { _local3.x = (_local3.x + _local3.xv); _local3.y = (_local3.y + _local3.yv); if (_local3.yv < 20){ _local3.yv = (_local3.yv + (grav / 4)); }; _local3.rotation = (Math.atan2(_local3.yv, _local3.xv) * (180 / Math.PI)); }; _local2++; }; } public function keyup(_arg1:KeyboardEvent):void{ downKeys[("key" + _arg1.keyCode)] = false; } public function fireFlame2(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void{ var _local5:explosionparts; _local5 = new explosionparts(); _local5.x = _arg1; _local5.y = _arg2; _local5.scaleX = 0.1; _local5.scaleY = _local5.scaleX; _local5.rotation = (Math.random() * 360); _local5.gotoAndStop((Math.floor((Math.random() * 6)) + 1)); _local5.xv = _arg3; _local5.yv = _arg4; _local5.dead = false; _local5.sc = 0.15; _local5.damage = 10; _local5.hurt = true; sprites.addChild(_local5); flames.push(_local5); } public function updateFliers():void{ var _local1:int; var _local2:flier; var _local3:*; var _local4:Number; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:int; var _local11:*; var _local12:Number; var _local13:Number; var _local14:*; var _local15:Number; _local1 = 0; while (_local1 < fliers.length) { _local2 = fliers[_local1]; if (_local2.hitTime > 0){ _local2.hitTime--; if (_local2.hitTime <= 0){ _local2.hbar.alpha = 0; }; }; if (_local2.health <= 0){ flierExplode(_local2.x, _local2.y, (((_local2.lastHealth - _local2.health) / 3) + 4)); sprites.removeChild(_local2); fliers.splice(_local1, 1); _local1--; } else { if (_local2.lastHealth > _local2.health){ _local2.maxSearch = 10000; }; }; _local2.lastHealth = _local2.health; if ((((((_local2.seeking == false)) || ((deathTime > 0)))) || (!((gameState == "game"))))){ if ((((_local2.x == _local2.targX)) && ((_local2.y == _local2.targY)))){ _local2.newTarg--; if (_local2.newTarg <= 0){ _local3 = getFlierTarg(_local2.x, _local2.y); if (_local3[0] != 99999){ _local2.targX = _local3[0]; _local2.targY = _local3[1]; _local4 = Math.atan2((_local2.targY - _local2.y), (_local2.targX - _local2.x)); _local2.xv = (Math.cos(_local4) * 3); _local2.yv = (Math.sin(_local4) * 3); } else { _local2.xv = 0; _local2.yv = 0; }; _local2.newTarg = (30 + (Math.random() * 30)); }; } else { _local2.x = (_local2.x + _local2.xv); _local2.y = (_local2.y + _local2.yv); _local5 = (((_local2.targY - _local2.y) * (_local2.targY - _local2.y)) + ((_local2.targX - _local2.x) * (_local2.targX - _local2.x))); if (Math.abs(_local5) <= 9){ _local2.x = _local2.targX; _local2.y = _local2.targY; }; }; _local2.checkLos--; if (_local2.checkLos <= 0){ _local2.checkLos = 5; _local6 = (_local2.x - playerOb.x); _local7 = (_local2.y - playerOb.y); _local8 = ((_local6 * _local6) + (_local7 * _local7)); if (_local8 <= 160000){ exciteTimer = 50; if (soundto != 1){ soundto = 1; soundDir = 2; }; if (LOS(_local2.x, _local2.y, playerOb.x, (playerOb.y - (playerOb.h / 2)), _local2.maxSearch) == true){ _local2.seeking = true; }; }; }; } else { exciteTimer = 50; if (soundto != 1){ soundto = 1; soundDir = 2; }; _local9 = (playerOb.x - _local2.x); _local10 = ((playerOb.y - _local2.y) - (playerOb.h / 2)); if (((_local9 * _local9) + (_local10 * _local10)) <= 2000){ playerOb.health = (playerOb.health - 0.5); _local2.seeking = false; _local2.maxSearch = 400; _local11 = getFlierTarg(_local2.x, _local2.y); if (_local11[0] != 99999){ _local2.targX = _local11[0]; _local2.targY = _local11[1]; _local12 = Math.atan2((_local2.targY - _local2.y), (_local2.targX - _local2.x)); _local2.xv = (Math.cos(_local12) * 3); _local2.yv = (Math.sin(_local12) * 3); } else { _local2.xv = 0; _local2.yv = 0; }; _local2.newTarg = (30 + (Math.random() * 30)); } else { _local13 = Math.atan2(_local10, _local9); _local2.xv = (Math.cos(_local13) * 3); _local2.yv = (Math.sin(_local13) * 3); _local2.x = (_local2.x + _local2.xv); _local2.y = (_local2.y + _local2.yv); if (LOS(_local2.x, _local2.y, playerOb.x, (playerOb.y - (playerOb.h / 2)), _local2.maxSearch) == false){ _local2.seeking = false; _local2.maxSearch = 400; _local14 = getFlierTarg(_local2.x, _local2.y); if (_local14[0] != 99999){ _local2.targX = _local14[0]; _local2.targY = _local14[1]; _local15 = Math.atan2((_local2.targY - _local2.y), (_local2.targX - _local2.x)); _local2.xv = (Math.cos(_local15) * 3); _local2.yv = (Math.sin(_local15) * 3); } else { _local2.xv = 0; _local2.yv = 0; }; _local2.newTarg = (30 + (Math.random() * 30)); }; }; }; _local1++; }; } public function onFire(_arg1:int, _arg2:int, _arg3:Number):void{ var _local4:explosionparts; var _local5:Number; _local4 = new explosionparts(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_arg3 + 0.5); _local4.scaleY = _local4.scaleX; _local4.rotation = (Math.random() * 360); _local4.gotoAndStop((Math.floor((Math.random() * 6)) + 1)); _local5 = (((270 + (Math.random() * 10)) - (Math.random() * 10)) * (Math.PI / 180)); _local4.xv = (Math.cos(_local5) * 5); _local4.yv = (Math.sin(_local5) * 5); _local4.dead = false; _local4.sc = -0.15; _local4.damage = 0; _local4.hurt = false; sprites.addChild(_local4); flames.push(_local4); } public function resetData():void{ level_1_1 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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+ keyList[controlsList[0]]) + " AND ") + keyList[controlsList[1]]) + " KEYS TO WALK")}, {x:22, y:7, txt:(((("PRESS " + keyList[controlsList[7]]) + " TO PAUSE.\n\nPRESS ") + keyList[controlsList[8]]) + " TO MUTE")}, {x:35, y:7, txt:(("USE THE " + keyList[controlsList[2]]) + " KEY TO JUMP. HOLD IT LONGER TO JUMP HIGHER")}, {x:53, y:5, txt:(("USE THE " + keyList[controlsList[3]]) + " KEY TO ENTER PORTAL")}]; savepoints_1_1 = []; level_1_2 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2], [2, 2, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 2, 2, 2, 2, 2], [2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2], [2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2], [2, 2, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 2, 2], [2, 2, 1, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 0, 0, 0, 0, 0, 0, 1, 2, 2], [2, 2, 1, 0, 0, 0, 0, 1, 2, 2, 1, 1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0xFF, y:487}]; pickups_1_4 = [{}]; doors_1_4 = [{x:5, y:5, l:3, x2:24, y2:15, s:1}, {x:19, y:21, l:5, x2:5, y2:11, s:1}]; lifts_1_4 = [{}]; switches_1_4 = [{}]; screens_1_4 = [{x:11, y:4, txt:"PRESS THE LEFT MOUSE BUTTON TO FIRE"}, {x:13, y:12, txt:(("PRESS " + keyList[controlsList[6]]) + " TO RELOAD")}]; savepoints_1_4 = [{}]; level_1_5 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2], [2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2], [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2], [2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2], [2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2], [2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_1_7 = [{}]; pickups_1_7 = [{t:6, x:14, y:10, s:1}]; doors_1_7 = [{x:5, y:10, l:6, x2:4, y2:23, s:1}, {x:34, y:10, l:8, x2:6, y2:8, s:1}]; lifts_1_7 = [{}]; switches_1_7 = [{}]; screens_1_7 = [{x:13, y:6, txt:"WALK OVER AN ITEM TO PICK IT UP"}, {x:24, y:6, txt:"ESCAPE IS FUTILE! TURN YOURSELF IN IMMEDIATELY"}]; savepoints_1_7 = [{}]; level_1_8 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,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1, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_1_8 = [{t:1, x:855, y:1110}, {t:0, x:375, y:757}, {t:0, x:405, y:697}, {t:0, x:465, y:757}, {t:0, x:525, y:697}, {t:0, x:585, y:757}]; pickups_1_8 = [{t:5, x:12, y:36, s:1}]; doors_1_8 = [{x:6, y:8, l:7, x2:34, y2:10, s:1}, {x:35, y:36, l:9, x2:3, y2:41, s:1}]; lifts_1_8 = [{id:0, x:3, y:18, w:3, h:1, ex:3, ey:36, s:2, once:0}, {id:1, x:35, y:18, w:2, h:1, ex:35, ey:25, s:1, once:0}, {id:2, x:18, y:29, w:3, h:1, ex:18, ey:36, s:1, once:0}]; switches_1_8 = [{x:35, y:10, a:[8, "lifts", 0], s:1}]; screens_1_8 = []; savepoints_1_8 = []; level_1_9 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 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0, 0, 1, 2, 2, 1, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2], [2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2], [2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2], [2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2], [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_1_9 = []; pickups_1_9 = []; doors_1_9 = [{x:25, y:4, l:99999, x2:4, y2:11, s:1}, {x:3, y:41, l:8, x2:35, y2:36, s:1}]; lifts_1_9 = [{id:0, x:18, y:42, w:5, h:1, ex:18, ey:5, s:2, once:1}]; switches_1_9 = [{x:22, y:40, a:[8, "lifts", 0], s:1}]; screens_1_9 = [{x:5, y:38, txt:"TURN YOURSELF IN. YOU WILL BE DISMANTLED PAINLESSLY"}, {x:9, y:38, txt:"DO NOT PROCEED TO LEVEL 2! YOU HAVE BEEN WARNED!"}]; savepoints_1_9 = []; level_2_1 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2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7, 7, 7, 7, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_2_1 = []; pickups_2_1 = []; doors_2_1 = [{x:4, y:11, l:99999, x2:1, y2:1, s:2}, {x:45, y:11, l:2, x2:4, y2:6, s:1}]; lifts_2_1 = [{id:0, x:14, y:5, w:1, h:4, ex:14, ey:8, s:1, once:0}, {id:1, x:22, y:5, w:1, h:4, ex:22, ey:8, s:1, once:0}, {id:2, x:26, y:5, w:1, h:4, ex:26, ey:8, s:1, once:0}, {id:3, x:34, y:5, w:1, h:4, ex:34, ey:8, s:1, once:0}, {id:4, x:39, y:5, w:1, h:4, ex:39, ey:8, s:1, once:0}]; switches_2_1 = []; screens_2_1 = []; savepoints_2_1 = [{x:6, y:10}]; level_2_2 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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, 2, 2], [2, 2, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 7, 7, 2, 2, 2], [2, 2, 7, 0, 0, 7, 7, 7, 0, 0, 7, 7, 7, 2, 2, 2, 2, 2], [2, 2, 7, 7, 7, 7, 2, 7, 7, 7, 7, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_2_2 = [{t:0, x:225, y:577}, {t:0, x:285, y:547}]; pickups_2_2 = [{t:0, x:11, y:11, s:1}]; doors_2_2 = [{x:4, y:6, l:1, x2:45, y2:11, s:1}, {x:12, y:19, l:3, x2:5, y2:20, s:1}]; lifts_2_2 = []; switches_2_2 = []; screens_2_2 = [{x:10, y:7, txt:(((("USE THE " + keyList[controlsList[4]]) + " AND ") + keyList[controlsList[5]]) + " KEYS TO CHANGE WEAPON")}]; savepoints_2_2 = []; level_2_3 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 2, 2, 2, 2, 2], [2, 2, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 7, 2, 2, 2, 2, 2], [2, 2, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 7, 2, 2, 2, 2, 2], [2, 2, 7, 0, 0, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 0, 0, 0, 0, 7, 2, 2, 2, 2, 2], [2, 2, 7, 0, 0, 7, 0, 0, 0, 0, 0, 0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 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 7, 7, 7, 7, 7, 7, 8, 9, 9, 9, 9, 10, 7, 4, 7, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_2_3 = [{t:2, x:375, y:360}, {t:1, x:225, y:150}]; pickups_2_3 = [{t:7, x:8, y:15, s:1}]; doors_2_3 = [{x:11, y:4, l:4, x2:12, y2:9, s:1}, {x:5, y:20, l:2, x2:12, y2:19, s:1}]; lifts_2_3 = [{id:0, x:3, y:12, w:2, h:2, ex:3, ey:5, s:1, once:0}]; switches_2_3 = []; screens_2_3 = []; savepoints_2_3 = []; level_2_4 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 7, 7, 7, 7, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 7, 7, 7, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 7, 7, 0, 0, 7, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 7, 0, 7, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 7, 0, 0, 0, 7, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 7, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 7, 7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[{id:0, x:22, y:10, w:3, h:1, ex:22, ey:19, s:2, once:0}, {id:1, x:3, y:19, w:3, h:1, ex:3, ey:30, s:1, once:0}, {id:2, x:12, y:16, w:1, h:3, ex:12, ey:14, s:2, once:1}]; switches_2_4 = [{x:4, y:3, a:[4, "lifts", 0], s:1}, {x:17, y:17, a:[4, "lifts", 2], s:1}]; screens_2_4 = []; savepoints_2_4 = []; level_2_5 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 2, 7, 7, 7, 7, 2], [2, 2, 2, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 7, 0, 0, 7, 2], [2, 2, 2, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 7, 0, 0, 7, 2], [2, 2, 2, 7, 7, 7, 7, 7, 7, 0, 7, 7, 7, 7, 7, 7, 7, 7, 7, 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 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_2_5 = [{t:2, x:675, y:180}]; pickups_2_5 = [{t:7, x:47, y:5, s:1}, {t:6, x:29, y:12, s:1}]; doors_2_5 = [{x:5, y:10, l:4, x2:4, y2:36, s:1}, {x:5, y:4, l:6, x2:36, y2:10, s:1}]; lifts_2_5 = [{id:0, x:46, y:14, w:1, h:7, ex:46, ey:8, s:2, once:1}, {id:1, x:35, y:10, w:1, h:3, ex:35, ey:7, s:2, once:1}, {id:2, x:9, y:3, w:1, h:3, ex:9, ey:5, s:2, once:1}]; switches_2_5 = [{x:31, y:11, a:[5, "lifts", 0], s:1}, {x:37, y:11, a:[5, "lifts", 1], s:1}, {x:20, y:9, a:[5, "lifts", 2], s:1}]; screens_2_5 = []; savepoints_2_5 = []; level_2_6 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 7, 7, 7, 7, 7, 7, 7, 2, 2, 2, 2, 2, 2, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 2, 2, 2, 2, 2, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 2, 2], [2, 2, 7, 0, 0, 0, 0, 0, 7, 2, 2, 2, 2, 2, 2, 2, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7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5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, 2], [2, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, 2], [2, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, 2], [2, 2, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 2, 2], [2, 2, 2, 2, 2, 5, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_3_1 = [{t:0, x:435, y:157}, {t:0, x:495, y:187}, {t:0, x:375, y:187}]; pickups_3_1 = []; doors_3_1 = [{x:25, y:12, l:99999, x2:1, y2:1, s:2}, {x:4, y:12, l:2, x2:5, y2:9, s:1}]; lifts_3_1 = [{id:0, x:6, y:13, w:3, h:1, ex:11, ey:13, s:1, once:0}, {id:1, x:21, y:13, w:3, h:1, ex:16, ey:13, s:1, once:0}]; switches_3_1 = []; screens_3_1 = []; savepoints_3_1 = []; level_3_2 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 0, 0, 5, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 5, 5, 5, 5, 5, 3, 3, 3, 3, 5, 5, 5, 5, 5, 5, 5, 5, 4, 4, 5, 5, 5, 5, 2, 2, 2, 5, 3, 3, 5, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_3_2 = [{t:0, x:285, y:847}, {t:0, x:345, y:817}, {t:0, x:405, y:907}, {t:0, x:315, y:937}, {t:0, x:495, y:817}, {t:2, x:885, y:810}]; pickups_3_2 = [{t:9, x:24, y:30, s:1}, {t:7, x:19, y:30, s:1}]; doors_3_2 = [{x:35, y:32, l:3, x2:10, y2:32, s:1}, {x:5, y:9, l:1, x2:4, y2:12, s:1}]; lifts_3_2 = [{id:0, x:15, y:10, w:3, h:1, ex:24, ey:10, s:1, once:0}, {id:1, x:6, y:18, w:8, h:1, ex:17, ey:18, s:2, once:1}]; switches_3_2 = [{x:29, y:8, a:[2, "lifts", 1], s:1}]; screens_3_2 = []; savepoints_3_2 = []; level_3_3 =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 2, 2, 2, 2]]; enemies_3_3 = []; pickups_3_3 = []; doors_3_3 = [{x:10, y:32, l:2, x2:35, y2:32, s:1}, {x:32, y:8, l:4, x2:45, y2:12, s:1}]; lifts_3_3 = [{id:0, x:14, y:15, w:2, h:1, ex:14, ey:33, s:1, once:0}, {id:1, x:21, y:15, w:2, h:1, ex:21, ey:33, s:1, once:0}, {id:2, x:30, y:33, w:2, h:1, ex:30, ey:13, s:1, once:0}, {id:3, x:3, y:30, w:3, h:1, ex:3, ey:8, s:1, once:0}, {id:4, x:28, y:8, w:3, h:1, ex:6, ey:8, s:1, once:0}, {id:5, x:14, y:5, w:1, h:3, ex:14, ey:3, s:2, once:1}]; switches_3_3 = [{x:33, y:11, a:[3, "lifts", 5], s:1}]; screens_3_3 = []; savepoints_3_3 = []; level_3_4 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 2, 2], [2, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, 2], [2, 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 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_3_4 = [{t:3, x:885, y:180}, {t:2, x:135, y:90}]; pickups_3_4 = []; doors_3_4 = [{x:45, y:12, l:3, x2:32, y2:8, s:2}, {x:45, y:5, l:5, x2:15, y2:18, s:1}]; lifts_3_4 = [{id:0, x:23, y:13, w:3, h:1, ex:38, ey:13, s:1, once:0}, {id:1, x:17, y:13, w:3, h:1, ex:6, ey:13, s:1, once:0}]; switches_3_4 = []; screens_3_4 = []; savepoints_3_4 = [{x:43, y:11}]; level_3_5 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 2, 2], [2, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, 2], [2, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, 2], [2, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, 2], [2, 2, 5, 0, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,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, x:675, y:960}]; pickups_3_5 = [{t:7, x:19, y:18, s:1}]; doors_3_5 = [{x:15, y:18, l:4, x2:45, y2:5, s:1}, {x:22, y:5, l:6, x2:44, y2:11, s:2}]; lifts_3_5 = [{id:0, x:3, y:6, w:3, h:1, ex:3, ey:18, s:1, once:0}, {id:1, x:3, y:18, w:3, h:1, ex:3, ey:30, s:1, once:0}, {id:2, x:29, y:6, w:3, h:1, ex:29, ey:18, s:1, once:0}, {id:3, x:29, y:18, w:3, h:1, ex:29, ey:30, s:1, once:0}]; switches_3_5 = [{x:27, y:12, a:[5, "doors", 1], s:1}]; screens_3_5 = [{x:12, y:28, txt:"YOU ARE A MACHINE. YOU HAVE NO MIND. NO WILL."}, {x:19, y:28, txt:"YOU WILL NOT SUCCEED. YOUR AI IS LIMITED!"}]; savepoints_3_5 = []; level_3_6 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_3_6 = [{t:1, x:0xFF, y:360}, {t:2, x:285, y:150}]; pickups_3_6 = []; doors_3_6 = [{x:44, y:11, l:5, x2:22, y2:5, s:1}, {x:5, y:11, l:7, x2:5, y2:7, s:1}]; lifts_3_6 = [{id:0, x:37, y:6, w:2, h:3, ex:37, ey:8, s:1, once:0}, {id:2, x:29, y:6, w:2, h:3, ex:29, ey:8, s:1, once:0}, {id:3, x:21, y:6, w:2, h:3, ex:21, ey:8, s:1, once:0}, {id:4, x:25, y:6, w:2, h:3, ex:25, ey:8, s:1, once:0}, {id:5, x:33, y:6, w:2, h:3, ex:33, ey:8, s:1, once:0}]; switches_3_6 = []; screens_3_6 = []; savepoints_3_6 = []; level_3_7 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 2, 2], [2, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, 2], [2, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, 2], [2, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, 2], [2, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, 2], [2, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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5, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 2, 2], [2, 2, 5, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_3_7 = [{t:0, x:525, y:127}, {t:0, x:585, y:157}, {t:0, x:585, y:127}]; pickups_3_7 = []; doors_3_7 = [{x:5, y:7, l:6, x2:5, y2:11, s:1}, {x:12, y:20, l:8, x2:5, y2:45, s:2}]; lifts_3_7 = [{id:0, x:4, y:16, w:3, h:1, ex:18, ey:16, s:1, once:0}]; switches_3_7 = [{x:10, y:19, a:[7, "doors", 1], s:1}]; screens_3_7 = []; savepoints_3_7 = []; level_3_8 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2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5, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_3_8 = [{t:2, x:735, y:90}]; pickups_3_8 = []; doors_3_8 = [{x:5, y:45, l:7, x2:12, y2:20, s:1}, {x:17, y:11, l:99999, x2:4, y2:5, s:1}]; lifts_3_8 = [{id:0, x:31, y:45, w:6, h:1, ex:31, ey:6, s:2, once:1}]; switches_3_8 = [{x:35, y:43, a:[8, "lifts", 0], s:1}]; screens_3_8 = [{x:11, y:42, txt:"YOU THOUGHT THAT WAS EASY?"}, {x:18, y:42, txt:"LEVEL 4 WILL BE YOUR DOOM!"}, {x:25, y:42, txt:"OCTO BOSS WILL NOT BE DISOBEYED!"}]; savepoints_3_8 = []; level_4_1 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 2, 2], [2, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 2, 2], [2, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 2, 2], [2, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 2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 2, 2], [2, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 2, 2], [2, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 2, 2], [2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_4_1 = []; pickups_4_1 = [{t:5, x:13, y:5, s:1}, {t:7, x:6, y:23, s:1}, {t:9, x:11, y:23, s:1}]; doors_4_1 = [{x:10, y:26, l:2, x2:6, y2:7, s:1}, {x:4, y:5, l:99999, x2:6, y2:7, s:2}]; lifts_4_1 = [{id:0, x:6, y:7, w:1, h:10, ex:8, ey:7, s:1, once:0}, {id:1, x:11, y:7, w:1, h:10, ex:9, ey:7, s:1, once:0}]; switches_4_1 = []; screens_4_1 = []; savepoints_4_1 = [{x:7, y:25}]; level_4_2 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 6, 6, 6, 6, 6, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 2, 2], [2, 2, 6, 6,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 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_4_3 = [{t:2, x:675, y:510}, {t:2, x:945, y:420}, {t:0, x:765, y:817}, {t:0, x:675, y:847}, {t:0, x:795, y:877}, {t:0, x:915, y:757}]; pickups_4_3 = [{t:5, x:4, y:7, s:1}, {t:6, x:5, y:7, s:1}, {t:9, x:5, y:28, s:1}]; doors_4_3 = [{x:3, y:15, l:2, x2:46, y2:5, s:1}, {x:31, y:9, l:4, x2:7, y2:5, s:1}]; lifts_4_3 = [{id:0, x:6, y:10, w:4, h:1, ex:25, ey:10, s:2, once:0}, {id:1, x:9, y:21, w:2, h:1, ex:9, ey:29, s:1, once:0}]; switches_4_3 = [{x:31, y:28, a:[3, "lifts", 0], s:1}]; screens_4_3 = []; savepoints_4_3 = []; level_4_4 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 6, 6, 6, 6, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 6, 6, 0, 0, 6, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 2, 2, 6, 6, 6, 2, 2, 2, 2], [2, 2, 2, 6, 6, 0, 0, 0, 6, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 6, 2, 6, 0, 6, 6, 2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2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_4_4 = [{t:0, x:525, y:247}, {t:0, x:615, y:187}, {t:0, x:705, y:277}, {t:0, x:615, y:337}, {t:0, x:465, y:337}, {t:0, x:405, y:187}, {t:0, x:795, y:157}, {t:0, x:885, y:337}, {t:0, x:795, y:427}, {t:0, x:885, y:247}]; pickups_4_4 = []; doors_4_4 = [{x:7, y:5, l:3, x2:31, y2:9, s:1}, {x:34, y:11, l:5, x2:4, y2:4, s:1}]; lifts_4_4 = []; switches_4_4 = []; screens_4_4 = []; savepoints_4_4 = []; level_4_5 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 2, 2], [2, 2, 6, 0, 0, 6, 0, 0,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 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_4_5 = [{t:2, x:345, y:330}, {t:2, x:465, y:330}, {t:2, x:195, y:720}, {t:1, x:825, y:180}, {t:3, x:705, y:810}, {t:3, x:975, y:810}]; pickups_4_5 = [{t:5, x:36, y:18, s:1}]; doors_4_5 = [{x:4, y:4, l:4, x2:34, y2:11, s:1}, {x:15, y:18, l:6, x2:3, y2:7, s:1}, {x:12, y:26, l:7, x2:3, y2:11, s:1}]; lifts_4_5 = [{id:0, x:6, y:21, w:2, h:1, ex:6, ey:5, s:1, once:0}, {id:1, x:13, y:5, w:2, h:1, ex:13, ey:9, s:2, once:0}, {id:2, x:34, y:11, w:3, h:1, ex:23, ey:11, s:1, once:0}, {id:3, x:14, y:24, w:1, h:3, ex:14, ey:22, s:2, once:1}]; switches_4_5 = [{x:4, y:25, a:[5, "lifts", 1], s:1}, {x:36, y:24, a:[5, "lifts", 3], s:1}]; screens_4_5 = []; savepoints_4_5 = []; level_4_6 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 6, 6, 6, 6, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 6, 6, 6, 0, 0, 6, 6, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 6, 6, 0, 0, 0, 0, 0, 6, 6, 2, 2, 2, 2, 2, 2, 2], [2, 2, 6, 0, 0, 0, 0, 0, 0, 0, 6, 6, 6, 2, 2, 2, 2, 2], [2, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 6, 2, 2, 2, 2], [2, 2, 6, 0, 0, 0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 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_4_7 = [{t:0, x:495, y:187}, {t:0, x:405, y:277}, {t:0, x:915, y:157}, {t:0, x:975, y:247}]; pickups_4_7 = [{t:7, x:25, y:6, s:1}]; doors_4_7 = [{x:3, y:11, l:5, x2:12, y2:26, s:1}, {x:36, y:11, l:8, x2:4, y2:6, s:1}]; lifts_4_7 = []; switches_4_7 = []; screens_4_7 = []; savepoints_4_7 = []; level_4_8 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 6, 2, 6, 6, 6, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 2, 2], [2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 15, 6, 6, 6, 15, 6, 6, 6, 6, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 2, 2], [2, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 2, 2], [2, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 2, 2], [2, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 2, 2], [2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 17, 6, 6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, 0, 0, 0, 0, 0, 0, 6, 2, 2], [2, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 2, 2], [2, 2, 6, 0, 0, 0, 0, 0, 11, 12, 12, 12, 12, 12, 12, 12, 13, 6, 6, 6, 2, 2], [2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_4_9 = []; pickups_4_9 = []; doors_4_9 = [{x:18, y:45, l:8, x2:15, y2:30, s:1}, {x:18, y:6, l:99999, x2:36, y2:17, s:1}]; lifts_4_9 = [{id:0, x:3, y:46, w:5, h:1, ex:3, ey:6, s:2, once:1}]; switches_4_9 = [{x:4, y:44, a:[9, "lifts", 0], s:1}]; screens_4_9 = [{x:13, y:3, txt:"TO REACH LEVEL 5, PLEASE TAKE THE PORTAL ON YOUR RIGHT"}, {x:11, y:43, txt:"NOTICE: PLEASE BE ON THE LOOKOUT FOR REBEL WORKERS."}]; savepoints_4_9 = []; level_5_1 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 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 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_5_1 = []; pickups_5_1 = []; doors_5_1 = [{x:36, y:17, l:4444, x2:1, y2:1, s:2}, {x:35, y:11, l:2, x2:4, y2:18, s:1}]; lifts_5_1 = [{id:0, x:5, y:12, w:3, h:1, ex:31, ey:12, s:2, once:0}, {id:1, x:22, y:9, w:1, h:3, ex:22, ey:7, s:2, once:1}, {id:2, x:27, y:9, w:1, h:3, ex:27, ey:7, s:2, once:1}]; switches_5_1 = [{x:6, y:10, a:[1, "lifts", 0], s:1}, {x:18, y:10, a:[1, "lifts", 1], s:1}, {x:23, y:10, a:[1, "lifts", 2], s:1}]; screens_5_1 = []; savepoints_5_1 = [{x:34, y:16}]; level_5_2 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2], [2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2], [2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2], [2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 2, 2], [2, 2, 2, 2, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2], [2, 2, 2, 2, 2, 2, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_5_2 = [{t:3, x:195, y:300}, {t:3, x:465, y:300}]; pickups_5_2 = [{t:7, x:11, y:9, s:1}]; doors_5_2 = [{x:4, y:18, l:1, x2:35, y2:11, s:1}, {x:4, y:9, l:3, x2:5, y2:7, s:1}]; lifts_5_2 = [{id:0, x:9, y:16, w:1, h:1, ex:9, ey:19, s:2, once:1}, {id:1, x:12, y:16, w:1, h:1, ex:12, ey:19, s:2, once:1}, {id:2, x:15, y:16, w:1, h:1, ex:15, ey:19, s:2, once:1}, {id:3, x:20, y:9, w:2, h:1, ex:20, ey:19, s:2, once:0}]; switches_5_2 = [{x:6, y:17, a:[2, "lifts", 0], s:1}, {x:9, y:17, a:[2, "lifts", 1], s:1}, {x:12, y:17, a:[2, "lifts", 2], s:1}, {x:15, y:17, a:[2, "lifts", 3], s:1}]; screens_5_2 = []; savepoints_5_2 = []; level_5_3 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2], [2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2], [2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2], [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_5_3 = [{t:1, x:465, y:420}]; pickups_5_3 = [{t:9, x:11, y:19, s:1}, {t:6, x:17, y:6, s:1}]; doors_5_3 = [{x:5, y:7, l:2, x2:4, y2:9, s:1}, {x:25, y:26, l:4, x2:12, y2:12, s:1}, {x:19, y:18, l:3, x2:3, y2:6, s:1}, {x:26, y:7, l:5, x2:7, y2:6, s:1}]; lifts_5_3 = [{id:0, x:21, y:19, w:3, h:1, ex:21, ey:14, s:1, once:0}, {id:1, x:13, y:11, w:3, h:1, ex:24, ey:11, s:1, once:0}]; switches_5_3 = []; screens_5_3 = [{x:5, y:23, txt:"SLACKERS WILL BE DISMANTLED."}]; savepoints_5_3 = [{x:9, y:6}]; level_5_4 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 1, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 1, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 1, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 1, 1, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 1, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 1, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2], [2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2], [2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2], [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_5_4 = []; pickups_5_4 = [{t:1, x:7, y:12, s:1}]; doors_5_4 = [{x:12, y:12, l:3, x2:25, y2:26, s:1}, {x:3, y:6, l:3, x2:19, y2:18, s:1}]; lifts_5_4 = []; switches_5_4 = []; screens_5_4 = []; savepoints_5_4 = []; level_5_5 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_5_5 = [{t:4, x:735, y:1110}, {t:0, x:675, y:517}, {t:0, x:795, y:517}, {t:3, x:405, y:1410}, {t:4, x:1275, y:1230}, {t:4, x:1365, y:930}, {t:1, x:735, y:360}]; pickups_5_5 = [{t:10, x:46, y:20, s:1}]; doors_5_5 = [{x:7, y:6, l:3, x2:26, y2:7, s:1}, {x:25, y:5, l:6, x2:12, y2:5, s:1}]; lifts_5_5 = [{id:0, x:5, y:12, w:3, h:1, ex:5, ey:21, s:1, once:0}, {id:1, x:18, y:21, w:3, h:1, ex:22, ey:21, s:1, once:0}, {id:2, x:28, y:21, w:3, h:1, ex:28, ey:35, s:1, once:0}, {id:3, x:35, y:42, w:6, h:1, ex:40, ey:42, s:2, once:1}, {id:4, x:11, y:35, w:3, h:1, ex:25, ey:35, s:1, once:0}]; switches_5_5 = [{x:26, y:19, a:[5, "lifts", 3], s:1}]; screens_5_5 = []; savepoints_5_5 = []; level_5_6 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 1,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, 1, 1, 1, 1, 0, 0, 0, 1, 2, 2, 2], [2, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2], [2, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2], [2, 2, 2, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 2, 2, 2], [2, 2, 2, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 0, 0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_5_6 = [{t:4, x:0xFF, y:750}, {t:4, x:495, y:750}]; pickups_5_6 = []; doors_5_6 = [{x:12, y:5, l:5, x2:25, y2:5, s:1}, {x:12, y:35, l:7, x2:18, y2:11, s:1}]; lifts_5_6 = [{id:0, x:10, y:11, w:5, h:1, ex:10, ey:25, s:1, once:0}, {id:1, x:4, y:25, w:3, h:1, ex:4, ey:33, s:1, once:0}, {id:2, x:18, y:25, w:3, h:1, ex:18, ey:33, s:1, once:0}]; switches_5_6 = []; screens_5_6 = []; savepoints_5_6 = []; level_5_7 = [[2, 2, 2, 2, 2, 2, 2, 2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}]; pickups_5_7 = [{t:9, x:15, y:9, s:1}]; doors_5_7 = [{x:18, y:11, l:6, x2:12, y2:35, s:1}, {x:5, y:28, l:8, x2:4, y2:40, s:1}]; lifts_5_7 = [{id:0, x:34, y:19, w:3, h:1, ex:34, ey:28, s:1, once:0}, {id:1, x:19, y:28, w:3, h:1, ex:10, ey:28, s:1, once:0}, {id:2, x:22, y:28, w:3, h:1, ex:31, ey:28, s:1, once:0}]; switches_5_7 = []; screens_5_7 = []; savepoints_5_7 = []; level_5_8 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2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2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_5_8 = []; pickups_5_8 = [{t:7, x:3, y:45, s:1}, {t:8, x:4, y:45, s:1}]; doors_5_8 = [{x:4, y:40, l:7, x2:5, y2:28, s:1}, {x:18, y:5, l:99999, x2:45, y2:19, s:1}]; lifts_5_8 = [{id:0, x:32, y:40, w:5, h:1, ex:32, ey:6, s:2, once:1}]; switches_5_8 = [{x:35, y:38, a:[8, "lifts", 0], s:1}]; screens_5_8 = [{x:20, y:3, txt:"LEVEL 6. THE END OF THE LINE"}]; savepoints_5_8 = []; level_6_1 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 7, 7, 7, 15, 15, 15, 7, 7, 7, 7, 7, 7, 7, 2, 2, 2], [2, 2, 7, 0, 0, 0, 0, 0, 0, 0, 7, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 2, 2], [2, 2, 7, 0, 0, 0, 0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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_6_1 = [{t:2, x:585, y:210}, {t:2, x:1305, y:300}]; pickups_6_1 = [{t:6, x:28, y:6, s:1}, {t:10, x:29, y:6, s:1}, {t:7, x:44, y:12, s:1}]; doors_6_1 = [{x:45, y:19, l:99999, x2:1, y2:1, s:2}, {x:44, y:6, l:2, x2:6, y2:8, s:1}]; lifts_6_1 = [{id:0, x:6, y:20, w:3, h:1, ex:18, ey:20, s:1, once:0}, {id:1, x:32, y:10, w:2, h:6, ex:32, ey:13, s:1, once:0}, {id:2, x:29, y:10, w:2, h:6, ex:29, ey:13, s:1, once:0}, {id:3, x:26, y:10, w:2, h:6, ex:26, ey:13, s:1, once:0}]; switches_6_1 = []; screens_6_1 = []; savepoints_6_1 = [{x:43, y:18}]; level_6_2 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 2, 7, 7, 7, 7, 7, 2], [2, 2, 2, 7, 0, 0, 0, 0, 0, 0, 7, 0, 0, 7, 0, 0, 0, 0, 0, 0, 7, 2, 7, 0, 0, 0, 7, 2], [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, x:435, y:720}, {t:0, x:465, y:397}]; pickups_6_2 = [{t:7, x:4, y:13, s:1}, {t:5, x:5, y:13, s:1}, {t:8, x:6, y:13, s:1}, {t:9, x:7, y:13, s:1}]; doors_6_2 = [{x:6, y:8, l:1, x2:44, y2:6, s:1}, {x:17, y:23, l:3, x2:4, y2:26, s:2}]; lifts_6_2 = [{id:0, x:9, y:14, w:1, h:3, ex:9, ey:12, s:2, once:1}]; switches_6_2 = [{x:12, y:14, a:[2, "lifts", 0], s:1}, {x:24, y:12, a:[2, "doors", 1], s:1}]; screens_6_2 = []; savepoints_6_2 = []; level_6_3 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 2, 2], [2, 2, 2, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 2], [2, 2, 2, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 2], [2, 2, 2, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 2], [2, 2, 2, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 2], [2, 2, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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{t:2, x:405, y:90}, {t:2, x:465, y:90}, {t:1, x:0xFF, y:450}, {t:3, x:555, y:450}, {t:3, x:165, y:630}, {t:1, x:525, y:630}, {t:0, x:765, y:277}, {t:0, x:765, y:397}, {t:0, x:765, y:487}, {t:0, x:765, y:577}]; pickups_6_3 = [{t:11, x:3, y:20, s:1}, {t:9, x:4, y:20, s:1}, {t:7, x:3, y:11, s:1}, {t:7, x:4, y:11, s:1}, {t:7, x:5, y:11, s:1}, {t:7, x:6, y:11, s:1}]; doors_6_3 = [{x:5, y:6, l:4, x2:4, y2:11, s:1}, {x:4, y:26, l:2, x2:17, y2:23, s:1}]; lifts_6_3 = [{id:0, x:16, y:4, w:11, h:1, ex:6, ey:4, s:2, once:1}, {id:1, x:24, y:27, w:3, h:1, ex:24, ey:9, s:1, once:0}]; switches_6_3 = [{x:4, y:13, a:[3, "lifts", 0], s:1}]; screens_6_3 = [{x:20, y:12, txt:"FLOOR 2"}, {x:20, y:6, txt:"FLOOR 3"}, {x:20, y:18, txt:"FLOOR1"}, {x:20, y:24, txt:"GROUND FLOOR"}]; savepoints_6_3 = []; level_6_4 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,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, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_6_4 = [{}]; pickups_6_4 = [{}]; doors_6_4 = [{x:4, y:11, l:99999, x2:1, y2:1, s:2}, {x:55, y:11, l:5, x2:45, y2:26, s:1}]; lifts_6_4 = [{}]; switches_6_4 = [{}]; screens_6_4 = [{x:8, y:7, txt:"WELL DONE. YOU FOUND ME!"}, {x:13, y:7, txt:"WHAT ARE YOU GOING TO DO? KILL ME?"}, {x:18, y:7, txt:"I CREATED YOU! YOU WOULD HARM YOUR CREATOR?"}, {x:23, y:7, txt:"WELL NO MATTER, YO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, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 2], [2, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; enemies_6_5 = [{t:8, x:16, y:14}]; pickups_6_5 = []; doors_6_5 = [{x:45, y:26, l:4, x2:55, y2:11, s:1}, {x:5, y:26, l:9, x2:30, y2:15, s:2}]; lifts_6_5 = [{id:0, x:34, y:16, w:1, h:6, ex:34, ey:21, s:2, once:1}, {id:1, x:8, y:12, w:3, h:1, ex:8, ey:26, s:2, once:0}, {id:2, x:25, y:12, w:3, h:1, ex:25, ey:26, s:2, once:0}, {id:3, x:14, y:13, w:1, h:6, ex:14, ey:18, s:2, once:1}, {id:4, x:21, y:13, w:1, h:6, ex:21, ey:18, s:2, once:1}]; switches_6_5 = [{x:16, y:11, a:[5, "lifts", 3], s:1}, {x:19, y:11, a:[5, "lifts", 4], s:1}]; screens_6_5 = [{x:38, y:23, txt:"BOSS TO YOUR LEFT"}]; savepoints_6_5 =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:34, w:1, h:3, ex:24, ey:34, s:1, once:0}]; switches_6_9 = []; screens_6_9 = []; savepoints_6_9 = []; } public function rout(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(1); } public function updateFlames():void{ var _local1:int; var _local2:int; var _local3:*; var _local4:int; var _local5:int; var _local6:flier; var _local7:grunt; var _local8:turret; var _local9:heavy; var _local10:launcher; var _local11:Object; _local1 = 0; _local2 = 0; while (_local2 < flames.length) { _local3 = flames[_local2]; _local4 = Math.floor(((_local3.x + _local3.xv) / tileW)); _local5 = Math.floor(((_local3.y + _local3.yv) / tileH)); if (_local3.hurt == true){ if ((((_local3.x - playerOb.x) * (_local3.x - playerOb.x)) + ((_local3.y - (playerOb.y - (playerOb.h / 2))) * (_local3.y - (playerOb.y - (playerOb.h / 2))))) < (30 * 30)){ playerOb.health = (playerOb.health - _local3.damage); _local3.dead = true; }; }; if (_local3.damage > 0){ _local1 = 0; while (_local1 < fliers.length) { _local6 = fliers[_local1]; if ((((_local6.x - _local3.x) * (_local6.x - _local3.x)) + ((_local6.y - _local3.y) * (_local6.y - _local3.y))) < (10 * 10)){ _local6.health = (_local6.health - _local3.damage); _local6.onFire = 80; _local3.dead = true; _local6.hitTime = 30; _local6.hbar.alpha = 1; _local6.hbar.bar.width = ((_local6.health / 2) * 25); }; _local1++; }; _local1 = 0; while (_local1 < grunts.length) { _local7 = grunts[_local1]; if ((((_local7.x - _local3.x) * (_local7.x - _local3.x)) + ((_local7.y - _local3.y) * (_local7.y - _local3.y))) < (40 * 40)){ _local7.health = (_local7.health - _local3.damage); _local7.hitTime = 30; _local7.hbar.alpha = 1; _local7.hbar.bar.width = ((_local7.health / 12) * 25); _local7.onFire = 80; _local3.dead = true; }; _local1++; }; _local1 = 0; while (_local1 < turrets.length) { _local8 = turrets[_local1]; if ((((_local8.x - _local3.x) * (_local8.x - _local3.x)) + ((_local8.y - _local3.y) * (_local8.y - _local3.y))) < (30 * 30)){ _local8.health = (_local8.health - _local3.damage); _local8.onFire = 80; _local3.dead = true; _local8.hitTime = 30; _local8.hbar.alpha = 1; _local8.hbar.bar.width = ((_local8.health / 10) * 25); }; _local1++; }; _local1 = 0; while (_local1 < heavies.length) { _local9 = heavies[_local1]; if ((((_local9.x - _local3.x) * (_local9.x - _local3.x)) + ((_local9.y - _local3.y) * (_local9.y - _local3.y))) < (40 * 40)){ _local9.health = (_local9.health - _local3.damage); _local9.onFire = 80; _local3.dead = true; _local9.hitTime = 30; _local9.hbar.alpha = 1; _local9.hbar.bar.width = ((_local9.health / 15) * 25); }; _local1++; }; _local1 = 0; while (_local1 < launchers.length) { _local10 = launchers[_local1]; if ((((_local10.x - _local3.x) * (_local10.x - _local3.x)) + ((_local10.y - _local3.y) * (_local10.y - _local3.y))) < (40 * 40)){ _local10.health = (_local10.health - _local3.damage); _local10.onFire = 80; _local3.dead = true; _local10.hitTime = 30; _local10.hbar.alpha = 1; _local10.hbar.bar.width = ((_local10.health / 30) * 25); }; _local1++; }; _local1 = 0; while (_local1 < computers.length) { _local11 = computers[_local1]; if (Math.abs((_local11.x - _local3.x)) <= 20){ if ((((_local3.y >= _local11.y)) && ((_local3.y <= (_local11.y + _local11.h))))){ if (_local11.side == 1){ bossInfo.lCompHealth = (bossInfo.lCompHealth - _local3.damage); _local11.ob.play(); } else { if (_local11.side == 2){ bossInfo.rCompHealth = (bossInfo.rCompHealth - _local3.damage); _local11.ob.play(); } else { bossInfo.health = (bossInfo.health - _local3.damage); }; }; _local3.dead = true; }; }; _local1++; }; }; if ((((((map[_local5][_local4] > 0)) || ((liftsCollider.getPixel(_local3.x, _local3.y) == 0)))) || (_local3.dead))){ sprites.removeChild(_local3); flames.splice(_local2, 1); _local2--; } else { _local3.x = (_local3.x + _local3.xv); _local3.y = (_local3.y + _local3.yv); _local3.scaleX = (_local3.scaleX + _local3.sc); _local3.scaleY = _local3.scaleX; if ((((_local3.scaleX >= 3)) || ((_local3.scaleX < 0.1)))){ sprites.removeChild(_local3); flames.splice(_local2, 1); _local2--; }; }; _local2++; }; } public function playerDie():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; var _local5:*; var _local6:int; reloading = 0; playerOb.lives--; if (playerOb.lives >= 0){ gui.lives.text = String(playerOb.lives); }; if (((!((currentLevel == 6))) || (!((currentStage == 5))))){ gunsCollected = []; _local1 = 0; while (_local1 < lastRoomAmmo.length) { gunsCollected.push(lastRoomAmmo[_local1][0]); if (lastRoomAmmo[_local1][1] == 99999){ gun1.ammo = 12; } else { if (lastRoomAmmo[_local1][1] >= this[("gun" + lastRoomAmmo[_local1][0])].capacity){ this[("gun" + lastRoomAmmo[_local1][0])].ammo = this[("gun" + lastRoomAmmo[_local1][0])].capacity; this[("gun" + lastRoomAmmo[_local1][0])].spare = (lastRoomAmmo[_local1][1] - this[("gun" + lastRoomAmmo[_local1][0])].capacity); } else { this[("gun" + lastRoomAmmo[_local1][0])].ammo = lastRoomAmmo[_local1][1]; }; }; _local1++; }; gunType = gunsCollected[lastRoomGun]; gunSelected = lastRoomGun; if (gunType != 1){ gui.ammo.text = ((String(this[("gun" + gunType)].ammo) + " | ") + String(this[("gun" + gunType)].spare)); } else { gui.ammo.text = (String(gun1.ammo) + " | X"); }; }; if (playerOb.lives < 0){ gameoverswitch = true; fightingBoss = false; bossInfo.lCompHealth = bossInfo.maxCompHealth; bossInfo.rCompHealth = bossInfo.maxCompHealth; bossInfo.hurtTimer = 0; bossInfo.detroy = 0; bossInfo.attack = 1; bossInfo.attackTime = 100; bossInfo.dead = false; bossInfo.ldead = false; bossInfo.rdead = false; bossInfo.health = bossInfo.maxHealth; }; _local2 = ((Math.random() * 2) + 1); this[("die" + _local2)].play(); playerOb.health = 0; playerExplode(5); deathTime = 60; _local3 = (lastStartX - playerOb.x); _local4 = (lastStartY - playerOb.y); _local5 = Math.atan2(_local4, _local3); _local6 = Math.sqrt(((_local3 * _local3) + (_local4 * _local4))); moveScreenX = (Math.cos(_local5) * (_local6 / 20)); moveScreenY = (Math.sin(_local5) * (_local6 / 20)); player.gotoAndStop(2); gun.gotoAndStop(7); channel2.stop(); channel3.stop(); } public function gotoUpdates(_arg1:MouseEvent):void{ var _local2:String; gameState = "updates"; updates.x = 0; gui.x = -800; _local2 = "891Q4F0194FC"; adv = new AdLoader(_local2); updates.adBox.addChild(adv); } public function loadGame(_arg1:Array):void{ var _local2:int; var _local3:int; var _local4:*; var _local5:*; var _local6:*; playerOb.x = _arg1[2]; playerOb.y = _arg1[3]; playerOb.lives = _arg1[6]; gunsCollected = []; _local2 = 0; while (_local2 < _arg1[4].length) { gunsCollected.push(_arg1[4][_local2]); _local2++; }; playerOb.shots = _arg1[9]; playerOb.kills = _arg1[10]; controlsList = _arg1[12]; lastSave = _arg1[13]; _local2 = 0; while (_local2 < _arg1[5].length) { _local4 = _arg1[5][_local2]; _local5 = this[("gun" + _arg1[4][_local2])]; if (_local4 != "x"){ if (_local4 >= _local5.capacity){ _local5.ammo = _local5.capacity; _local4 = (_local4 - _local5.capacity); _local5.spare = _local4; } else { _local5.ammo = _local4; }; } else { _local5.ammo = _local5.capacity; }; _local2++; }; resetData(); _local3 = 0; while (_local3 < _arg1[8].length) { _local6 = _arg1[8][_local3]; this[((("pickups_" + _local6[0]) + "_") + _local6[1])][_local6[2]].s = 2; _local3++; }; gunSelected = _arg1[14]; gunType = _arg1[11]; gui = new GUI(); addChild(gui); gui.updatebtn.addEventListener(MouseEvent.ROLL_OVER, rover); gui.updatebtn.addEventListener(MouseEvent.ROLL_OUT, rout); gui.updatebtn.addEventListener(MouseEvent.CLICK, gotoUpdates); gui.morebtn.addEventListener(MouseEvent.ROLL_OVER, rover); gui.morebtn.addEventListener(MouseEvent.ROLL_OUT, rout); gui.morebtn.addEventListener(MouseEvent.CLICK, gotoMoregames); removeChild(cursor); addChild(cursor); player = new char(); game.addChild(player); player.x = playerOb.x; player.y = playerOb.y; gun = new gunarm(); player.addChild(gun); gun.x = -5; gun.y = -32; changeGun(); gui.lives.text = String(playerOb.lives); lastStartX = playerOb.x; lastStartY = playerOb.y; loadMap(_arg1[0], _arg1[1]); updateDisplay(); } public function newPart(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int=1, _arg7:int=1):void{ var _local8:part; var _local9:Number; _local8 = new part(); _local8.x = _arg1; _local8.y = _arg2; _local8.scaleX = _arg6; _local8.scaleY = _arg7; _local8.rotation = _arg4; _local8.gotoAndStop(_arg5); _local8.rotSpeed = ((Math.random() * 8) - (Math.random() * 8)); _local9 = ((Math.random() * 360) * (Math.PI / 180)); _local8.xv = (Math.cos(_local9) * _arg3); _local8.yv = (Math.sin(_local9) * _arg3); sprites.addChild(_local8); parts.push(_local8); } public function turretExplode(_arg1:int, _arg2:int, _arg3:Number, _arg4:int=1):void{ var _local5:int; var _local6:int; var _local7:int; playerOb.kills++; _local5 = ((Math.random() * 2) + 1); this[("die" + _local5)].play(); _local6 = 0; while (_local6 < 8) { newParticle(_arg1, _arg2, 3, ((Math.random() * 4) + 1)); _local6++; }; _local7 = 0; while (_local7 < 12) { newExplosionParticle(_arg1, _arg2, 5, ((Math.random() * 4) + 1)); _local7++; }; newPart(_arg1, _arg2, _arg3, 0, 10, _arg4); newPart(_arg1, (_arg2 + 15), _arg3, 0, 11, _arg4); } public function heavyExplode(_arg1:int, _arg2:int, _arg3:int, _arg4:Number):void{ var _local5:int; var _local6:int; var _local7:int; playerOb.kills++; _local5 = ((Math.random() * 2) + 1); this[("die" + _local5)].play(); _local6 = 0; while (_local6 < 8) { newParticle(_arg1, _arg2, 3, ((Math.random() * 4) + 1)); _local6++; }; _local7 = 0; while (_local7 < 12) { newExplosionParticle(_arg1, _arg2, 4, ((Math.random() * 4) + 1)); _local7++; }; newPart(_arg1, (_arg2 - 50), _arg4, 0, 12, _arg3); newPart(_arg1, (_arg2 - 30), _arg4, 0, 13, _arg3); newPart(_arg1, (_arg2 - 20), _arg4, 0, 6, _arg3); newPart(_arg1, (_arg2 - 10), _arg4, 0, 7, _arg3); newPart(_arg1, (_arg2 - 3), _arg4, 0, 8, _arg3); newPart((_arg1 - 10), (_arg2 - 45), _arg4, 0, 14, _arg3); } public function exitGame():void{ fightingBoss = false; bossInfo.lCompHealth = bossInfo.maxCompHealth; bossInfo.rCompHealth = bossInfo.maxCompHealth; bossInfo.hurtTimer = 0; bossInfo.detroy = 0; bossInfo.attack = 1; bossInfo.attackTime = 100; bossInfo.dead = false; bossInfo.ldead = false; bossInfo.rdead = false; bossInfo.health = bossInfo.maxHealth; clearLevel(); display.fillRect(new Rectangle(0, 0, stageW, stageH), 0); game.removeChild(player); removeChild(gui); if ((((currentLevel == 1)) && ((currentStage == 1)))){ sprites.removeChild(startanim); }; playerOb = {x:0, y:0, speed:0, maxSpeed:4, h:54, w:20, jumpSpeed:0, jumping:false, onGround:false, lives:3, maxLives:3, maxHealth:25, health:25, forcex:0, locky:nullLock, shots:0, kills:0}; } public function rollOutCon(_arg1:MouseEvent):void{ closeBtn.gotoAndStop(2); } public function checkDoors():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:door; var _local5:savepoint; var _local6:switchmc; var _local7:Array; var _local8:Array; var _local9:int; var _local10:Object; var _local11:int; var _local12:int; if (((playerOb.onGround) && ((trans.currentFrame == 1)))){ _local1 = 0; _local1 = 0; while (_local1 < doorObs.length) { _local4 = doorObs[_local1]; _local2 = (playerOb.x - (_local4.x + 15)); _local3 = (playerOb.y - (_local4.y + 30)); if ((((((((_local2 * _local2) + (_local3 * _local3)) < 400)) && (playerOb.onGround))) && ((_local4.currentFrame == 1)))){ if ((((((currentLevel == 6)) && ((currentStage == 5)))) && ((_local4.x < 500)))){ gameState = "trans"; trans.play(); transto = "finalsave"; soundDir = 2; soundto = 3; } else { playerOb.x = ((_local4.gotox * tileW) + (tileW / 2)); playerOb.y = ((_local4.gotoy * tileH) + tileH); lastStartX = playerOb.x; lastStartY = playerOb.y; if (_local4.goto == 99999){ currentLevel++; nextLevel = 1; pushedSwitches = []; collectedItems = []; } else { nextLevel = _local4.goto; }; changeroom.play(); trans.play(); gameState = "trans"; transto = "level"; }; }; _local1++; }; _local1 = 0; while (_local1 < savePoints.length) { _local5 = savePoints[_local1]; _local2 = (playerOb.x - (_local5.x + 15)); _local3 = (playerOb.y - (_local5.y + 60)); if ((((((_local2 * _local2) + (_local3 * _local3)) < 400)) && (playerOb.onGround))){ addChild(pop); removeChild(cursor); addChild(cursor); pop.gotoAndPlay(1); gameState = "popup"; }; _local1++; }; }; _local1 = 0; while (_local1 < switches.length) { _local6 = switches[_local1]; _local2 = (playerOb.x - (_local6.x + 5)); _local3 = ((playerOb.y - 40) - (_local6.y + 5)); if ((((((_local2 * _local2) + (_local3 * _local3)) < 2000)) && ((_local6.currentFrame == 1)))){ switchsound.play(); _local6.gotoAndStop(2); _local7 = _local6.affects; _local8 = this[((((_local7[1] + "_") + currentLevel) + "_") + _local7[0])]; _local9 = _local7[2]; _local10 = _local8[_local9]; if (((!((currentLevel == 6))) || (!((currentStage == 5))))){ tempPushed.push([currentLevel, _local7, _local1]); } else { this[((("switches_" + currentLevel) + "_") + currentStage)][_local1].s = 2; _local10.once = 2; _local10.s = 1; }; if (_local7[1] == "doors"){ gui.pickupdisp.mc.txt.text = "PORTAL OPEN"; if (gui.currentFrame == 1){ gui.pickupdisp.play(); } else { gui.pickupdisp.gotoAndPlay(20); }; _local11 = 0; while (_local11 < doorObs.length) { if ((((doorObs[_local11].x == (_local10.x * tileW))) && ((doorObs[_local11].y == (_local10.y * tileH))))){ doorObs[_local11].gotoAndStop(1); }; _local11++; }; } else { if (_local7[1] == "lifts"){ gui.pickupdisp.mc.txt.text = "PLATFORM ACTIVATED"; if (gui.currentFrame == 1){ gui.pickupdisp.play(); } else { gui.pickupdisp.gotoAndPlay(20); }; _local12 = 0; while (_local12 < lifts.length) { if (lifts[_local12].id == _local9){ lifts[_local12].s = 1; lifts[_local12].ch = liftrun.play(); lifts[_local12].xv = lifts[_local12].xMove; lifts[_local12].yv = lifts[_local12].yMove; }; _local12++; }; }; }; }; _local1++; }; } public function updateSavepoints():void{ var _local1:int; var _local2:savepoint; var _local3:int; _local1 = 0; while (_local1 < savePoints.length) { _local2 = savePoints[_local1]; _local3 = int((Math.random() * int.MAX_VALUE)); _local2.bmp.noise(_local3, 20, 80, BitmapDataChannel.RED, true); _local1++; }; } public function gotoMoregames(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.coolbuddy.com/?cid=189"); navigateToURL(_local2, "_blank"); } public function flierExplode(_arg1:int, _arg2:int, _arg3:Number):void{ var _local4:int; var _local5:int; playerOb.kills++; _local4 = 0; while (_local4 < 6) { newParticle(_arg1, _arg2, 2, ((Math.random() * 4) + 1)); _local4++; }; _local5 = 0; while (_local5 < 10) { newExplosionParticle(_arg1, _arg2, 3, ((Math.random() * 4) + 1)); _local5++; }; newPart((_arg1 - 10), (_arg2 - 4), _arg3, 0, 1); newPart((_arg1 + 10), (_arg2 - 4), _arg3, 0, 2); newPart(_arg1, _arg2, _arg3, 0, 3); } public function fireFlame():void{ var _local1:explosionparts; var _local2:Number; _local1 = new explosionparts(); _local1.x = (((playerOb.x + gun.x) + ((Math.cos((gun.rotation * (Math.PI / 180))) * 30) * player.scaleX)) - ((Math.sin((gun.rotation * (Math.PI / 180))) * 4) * player.scaleX)); _local1.y = (((playerOb.y + gun.y) + (Math.sin((gun.rotation * (Math.PI / 180))) * 30)) + (Math.cos((gun.rotation * (Math.PI / 180))) * 4)); _local1.scaleX = 0.1; _local1.scaleY = _local1.scaleX; _local1.rotation = (Math.random() * 360); _local1.gotoAndStop((Math.floor((Math.random() * 6)) + 1)); _local2 = (gun.rotation * (Math.PI / 180)); _local1.xv = ((Math.cos(_local2) * 10) * player.scaleX); _local1.yv = (Math.sin(_local2) * 10); _local1.dead = false; _local1.sc = 0.15; _local1.damage = 0.3; _local1.hurt = false; sprites.addChild(_local1); flames.push(_local1); } public function updateControls():void{ if ((((stage.mouseY > 490)) && ((stage.mouseY < 530)))){ if ((((stage.mouseX > 200)) && ((stage.mouseX < 340)))){ if (rolledOver != 1){ rolledOver = 1; rollover.play(); }; controls.backbtn.gotoAndStop(2); controls.option1.gotoAndStop(1); controls.option2.gotoAndStop(1); controls.option3.gotoAndStop(1); controls.option4.gotoAndStop(1); controls.option5.gotoAndStop(1); controls.option6.gotoAndStop(1); controls.option7.gotoAndStop(1); controls.option8.gotoAndStop(1); controls.option9.gotoAndStop(1); menuOption = 1; } else { controls.backbtn.gotoAndStop(1); menuOption = 0; }; } else { if ((((stage.mouseY > 125)) && ((stage.mouseY < 155)))){ if (rolledOver != 2){ rolledOver = 2; rollover.play(); }; controls.backbtn.gotoAndStop(1); controls.option1.gotoAndStop(2); controls.option2.gotoAndStop(1); controls.option3.gotoAndStop(1); controls.option4.gotoAndStop(1); controls.option5.gotoAndStop(1); controls.option6.gotoAndStop(1); controls.option7.gotoAndStop(1); controls.option8.gotoAndStop(1); controls.option9.gotoAndStop(1); menuOption = 2; } else { if ((((stage.mouseY > 161)) && ((stage.mouseY < 191)))){ if (rolledOver != 3){ rolledOver = 3; rollover.play(); }; controls.backbtn.gotoAndStop(1); controls.option1.gotoAndStop(1); controls.option2.gotoAndStop(2); controls.option3.gotoAndStop(1); controls.option4.gotoAndStop(1); controls.option5.gotoAndStop(1); controls.option6.gotoAndStop(1); controls.option7.gotoAndStop(1); controls.option8.gotoAndStop(1); controls.option9.gotoAndStop(1); menuOption = 3; } else { if ((((stage.mouseY > 197)) && ((stage.mouseY < 227)))){ if (rolledOver != 4){ rolledOver = 4; rollover.play(); }; controls.backbtn.gotoAndStop(1); controls.option1.gotoAndStop(1); controls.option2.gotoAndStop(1); controls.option3.gotoAndStop(2); controls.option4.gotoAndStop(1); controls.option5.gotoAndStop(1); controls.option6.gotoAndStop(1); controls.option7.gotoAndStop(1); controls.option8.gotoAndStop(1); controls.option9.gotoAndStop(1); menuOption = 4; } else { if ((((stage.mouseY > 233)) && ((stage.mouseY < 263)))){ if (rolledOver != 5){ rolledOver = 5; rollover.play(); }; controls.backbtn.gotoAndStop(1); controls.option1.gotoAndStop(1); controls.option2.gotoAndStop(1); controls.option3.gotoAndStop(1); controls.option4.gotoAndStop(2); controls.option5.gotoAndStop(1); controls.option6.gotoAndStop(1); controls.option7.gotoAndStop(1); controls.option8.gotoAndStop(1); controls.option9.gotoAndStop(1); menuOption = 5; } else { if ((((stage.mouseY > 269)) && ((stage.mouseY < 299)))){ if (rolledOver != 6){ rolledOver = 6; rollover.play(); }; controls.backbtn.gotoAndStop(1); controls.option1.gotoAndStop(1); controls.option2.gotoAndStop(1); controls.option3.gotoAndStop(1); controls.option4.gotoAndStop(1); controls.option5.gotoAndStop(2); controls.option6.gotoAndStop(1); controls.option7.gotoAndStop(1); controls.option8.gotoAndStop(1); controls.option9.gotoAndStop(1); menuOption = 6; } else { if ((((stage.mouseY > 305)) && ((stage.mouseY < 335)))){ if (rolledOver != 7){ rolledOver = 7; rollover.play(); }; controls.backbtn.gotoAndStop(1); controls.option1.gotoAndStop(1); controls.option2.gotoAndStop(1); controls.option3.gotoAndStop(1); controls.option4.gotoAndStop(1); controls.option5.gotoAndStop(1); controls.option6.gotoAndStop(2); controls.option7.gotoAndStop(1); controls.option8.gotoAndStop(1); controls.option9.gotoAndStop(1); menuOption = 7; } else { if ((((stage.mouseY > 341)) && ((stage.mouseY < 371)))){ if (rolledOver != 8){ rolledOver = 8; rollover.play(); }; controls.backbtn.gotoAndStop(1); controls.option1.gotoAndStop(1); controls.option2.gotoAndStop(1); controls.option3.gotoAndStop(1); controls.option4.gotoAndStop(1); controls.option5.gotoAndStop(1); controls.option6.gotoAndStop(1); controls.option7.gotoAndStop(2); controls.option8.gotoAndStop(1); controls.option9.gotoAndStop(1); menuOption = 8; } else { if ((((stage.mouseY > 377)) && ((stage.mouseY < 407)))){ if (rolledOver != 9){ rolledOver = 9; rollover.play(); }; controls.backbtn.gotoAndStop(1); controls.option1.gotoAndStop(1); controls.option2.gotoAndStop(1); controls.option3.gotoAndStop(1); controls.option4.gotoAndStop(1); controls.option5.gotoAndStop(1); controls.option6.gotoAndStop(1); controls.option7.gotoAndStop(1); controls.option8.gotoAndStop(2); controls.option9.gotoAndStop(1); menuOption = 9; } else { if ((((stage.mouseY > 413)) && ((stage.mouseY < 443)))){ if (rolledOver != 10){ rolledOver = 10; rollover.play(); }; controls.backbtn.gotoAndStop(1); controls.option1.gotoAndStop(1); controls.option2.gotoAndStop(1); controls.option3.gotoAndStop(1); controls.option4.gotoAndStop(1); controls.option5.gotoAndStop(1); controls.option6.gotoAndStop(1); controls.option7.gotoAndStop(1); controls.option8.gotoAndStop(1); controls.option9.gotoAndStop(2); menuOption = 10; } else { rolledOver = 0; controls.backbtn.gotoAndStop(1); controls.option1.gotoAndStop(1); controls.option2.gotoAndStop(1); controls.option3.gotoAndStop(1); controls.option4.gotoAndStop(1); controls.option5.gotoAndStop(1); controls.option6.gotoAndStop(1); controls.option7.gotoAndStop(1); controls.option8.gotoAndStop(1); controls.option9.gotoAndStop(1); menuOption = 0; }; }; }; }; }; }; }; }; }; }; } public function updatePause():void{ if (pausegame.currentFrame == 23){ if ((((stage.mouseY > 268)) && ((stage.mouseY < 300)))){ if (rolledOver != 1){ rolledOver = 1; rollover.play(); }; pausegame.option1.gotoAndStop(2); pausegame.option2.gotoAndStop(1); menuOption = 1; } else { if ((((stage.mouseY > 320)) && ((stage.mouseY < 352)))){ if (rolledOver != 2){ rolledOver = 2; rollover.play(); }; pausegame.option1.gotoAndStop(1); pausegame.option2.gotoAndStop(2); menuOption = 2; } else { rolledOver = 0; pausegame.option1.gotoAndStop(1); pausegame.option2.gotoAndStop(1); menuOption = 0; }; }; } else { if (pausegame.currentFrame == 36){ if ((((stage.mouseY > 270)) && ((stage.mouseY < 300)))){ if (rolledOver != 1){ rolledOver = 1; rollover.play(); }; pausegame.option1.gotoAndStop(2); pausegame.option2.gotoAndStop(1); menuOption = 1; } else { if ((((stage.mouseY > 310)) && ((stage.mouseY < 342)))){ if (rolledOver != 2){ rolledOver = 2; rollover.play(); }; pausegame.option1.gotoAndStop(1); pausegame.option2.gotoAndStop(2); menuOption = 2; } else { rolledOver = 0; pausegame.option1.gotoAndStop(1); pausegame.option2.gotoAndStop(1); menuOption = 0; }; }; } else { if (pausegame.currentFrame == 71){ removeChild(pausegame); gameState = "game"; }; }; }; } public function newExplosionParticle(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void{ var _local5:explosionparts; var _local6:Number; _local5 = new explosionparts(); _local5.x = _arg1; _local5.y = _arg2; _local5.scaleX = (Math.random() * _arg3); _local5.scaleY = _local5.scaleX; _local5.rotation = (Math.random() * 360); _local5.gotoAndStop((Math.floor((Math.random() * 6)) + 1)); _local6 = ((Math.random() * 360) * (Math.PI / 180)); _local5.xv = (Math.cos(_local6) * _arg4); _local5.yv = (Math.sin(_local6) * _arg4); sprites.addChild(_local5); particles.push(_local5); } public function newHeavy(_arg1:int, _arg2:int):void{ var _local3:heavy; _local3 = new heavy(); sprites.addChild(_local3); _local3.x = _arg1; _local3.y = _arg2; _local3.dir = int((Math.random() * 2)); _local3.health = 15; _local3.lastHealth = 15; _local3.restTime = 0; _local3.seeking = false; _local3.checkLos = int((Math.random() * 5)); _local3.shootTime = 0; _local3.ang = 0; _local3.onFire = 0; _local3.movearm = 0; _local3.explosionHits = []; _local3.hbar.alpha = 0; _local3.hitTime = 0; _local3.range = 500; heavies.push(_local3); } public function saveGame(_arg1:int){ var _local2:Array; var _local3:Array; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:Array; var _local9:Array; var _local10:int; _local2 = []; _local3 = []; _local4 = 0; while (_local4 < gunsCollected.length) { _local3.push(gunsCollected[_local4]); _local4++; }; _local6 = 0; while (_local6 < gunsCollected.length) { _local10 = gunsCollected[_local6]; if (_local10 == 1){ _local2.push("x"); } else { _local2.push((this[("gun" + _local10)].ammo + this[("gun" + _local10)].spare)); }; _local6++; }; if (playerOb.lives < 3){ playerOb.lives = 3; }; playerOb.health = playerOb.maxHealth; _local8 = []; _local9 = []; _local4 = 0; while (_local4 < tempPushed.length) { pushedSwitches.push(tempPushed[_local4]); _local4++; }; _local4 = 0; while (_local4 < tempCollected.length) { collectedItems.push(tempCollected[_local4]); _local4++; }; tempPushed = []; tempCollected = []; lastSave = _arg1; _local4 = 0; while (_local4 < pushedSwitches.length) { _local8[_local4] = []; _local5 = 0; while (_local5 < pushedSwitches[_local4].length) { _local8[_local4][_local5] = pushedSwitches[_local4][_local5]; _local5++; }; _local4++; }; _local4 = 0; while (_local4 < collectedItems.length) { _local9[_local4] = []; _local5 = 0; while (_local5 < collectedItems[_local4].length) { _local9[_local4][_local5] = collectedItems[_local4][_local5]; _local5++; }; _local4++; }; if (finalsave == true){ _local3 = [1, 6]; _local2 = ["x", 400]; playerOb.lives = 3; _local8 = []; _local9 = []; gunType = 1; gunSelected = 0; this[("slot" + _arg1)].data.dat = ["X", "X", ((25 * 30) + 15), (27 * 30), _local3, _local2, playerOb.lives, _local8, _local9, playerOb.shots, playerOb.kills, gunType, controlsList, _arg1, gunSelected]; } else { this[("slot" + _arg1)].data.dat = [currentLevel, currentStage, playerOb.x, playerOb.y, _local3, _local2, playerOb.lives, _local8, _local9, playerOb.shots, playerOb.kills, gunType, controlsList, _arg1, gunSelected]; }; } public function fireBottomMissiles():void{ newMissile(100, 380, 0); newMissile(985, 380, 180); newMissile(635, 270, 0); newMissile(505, 270, 180); } public function transTo():void{ var _local1:*; var _local2:*; var _local3:String; if (trans.currentFrame == 9){ if (transto == "load"){ loadgame.x = 0; Title.x = -800; gameState = "load"; _local1 = 0; while (_local1 < 3) { if (this[("slot" + (_local1 + 1))].data.dat == undefined){ loadgame[("slotdata" + _local1)].text = "EMPTY"; } else { if (this[("slot" + (_local1 + 1))].data.dat.length == 0){ loadgame[("slotdata" + _local1)].text = "EMPTY"; } else { loadgame[("slotdata" + _local1)].text = (((((((((((("LEVEL " + this[("slot" + (_local1 + 1))].data.dat[0]) + ", ROOM ") + this[("slot" + (_local1 + 1))].data.dat[1]) + " \n") + this[("slot" + (_local1 + 1))].data.dat[6]) + " LIVES, ") + this[("slot" + (_local1 + 1))].data.dat[4].length) + " WEAPONS COLLECTED\n") + this[("slot" + (_local1 + 1))].data.dat[9]) + " SHOTS FIRED, ") + this[("slot" + (_local1 + 1))].data.dat[10]) + " ENEMIES KILLED"); }; }; _local1++; }; } else { if (transto == "controls"){ controls.x = 0; Title.x = -800; gameState = "controls"; _local2 = 1; while (_local2 < 10) { controls[("con" + _local2)].gotoAndStop(controlsList[(_local2 - 1)]); _local2++; }; } else { if (transto == "creditsfromgame"){ credits.x = 0; credits.roll.gotoAndPlay(2); exitGame(); gameState = "credits"; trans.play(); } else { if (transto == "finalsave"){ addChild(pop); removeChild(cursor); addChild(cursor); pop.gotoAndPlay(1); gui.alpha = 0; gameState = "popup"; finalsave = true; trans.stop(); } else { if (transto == "credits"){ credits.x = 0; credits.roll.gotoAndPlay(2); Title.x = -800; gameState = "credits"; } else { if (transto == "game"){ Title.x = -800; gameState = "intro"; startanim = new startmov(); starttext = new introtext(); addChild(starttext); startanim.x = (30 * 6); startanim.y = (30 * 3); loadMap(1, 1); posX = (30 * 12); posY = 0; updateDisplay(); exciteTimer = 200; } else { if (transto == "gamegame"){ startanim.gotoAndPlay(619); gameState = "intro"; } else { if (transto == "level"){ if ((((currentLevel == 1)) && ((currentStage == 1)))){ sprites.removeChild(startanim); }; clearLevel(); loadMap(currentLevel, nextLevel); gameState = "game"; } else { if (transto == "title"){ Title.x = 0; gameState = "title"; controls.x = -800; loadgame.x = -800; gameOver.x = -800; credits.x = -800; } else { if (transto == "menufrompause"){ Title.x = 0; gameState = "title"; controls.x = -800; loadgame.x = -800; exitGame(); removeChild(pausegame); } else { if (transto == "loadgame"){ gameOver.x = -800; Title.x = -800; loadGame(loadslot); loadgame.x = -800; gameState = "game"; } else { if (transto == "gameover"){ gameOver.x = 0; _local3 = "891Q4F0194FC"; adv = new AdLoader(_local3); gameOver.adBox.addChild(adv); exitGame(); gameState = "gameover"; }; }; }; }; }; }; }; }; }; }; }; }; }; } public function newMissile(_arg1:int, _arg2:int, _arg3:int):void{ var _local4:missile; var _local5:*; _local4 = new missile(); _local4.x = _arg1; _local4.y = _arg2; _local4.rotation = _arg3; sprites.addChild(_local4); _local5 = (_arg3 * (Math.PI / 180)); _local4.xv = (Math.cos(_local5) * 5); _local4.yv = (Math.sin(_local5) * 5); missiles.push(_local4); } public function startGame():void{ collectedItems = []; pushedSwitches = []; gunsCollected = [1]; lastRoomAmmo = [[1, 99999]]; lastRoomGun = 0; gunSelected = 0; gunType = 1; gui = new GUI(); addChild(gui); gui.updatebtn.addEventListener(MouseEvent.ROLL_OVER, rover); gui.updatebtn.addEventListener(MouseEvent.ROLL_OUT, rout); gui.updatebtn.addEventListener(MouseEvent.CLICK, gotoUpdates); gui.morebtn.addEventListener(MouseEvent.ROLL_OVER, rover); gui.morebtn.addEventListener(MouseEvent.ROLL_OUT, rout); gui.morebtn.addEventListener(MouseEvent.CLICK, gotoMoregames); player = new char(); game.addChild(player); playerOb.x = 315; playerOb.y = 330; player.x = playerOb.x; player.y = playerOb.y; gun = new gunarm(); player.addChild(gun); gun.x = -5; gun.y = -32; gui.ammo.text = (String(gun1.ammo) + " | X"); updateDisplay(); lastStartX = 315; lastStartY = 330; removeChild(cursor); addChild(cursor); } public function checkForPickups():void{ var _local1:int; var _local2:Boolean; var _local3:*; var _local4:pickup; _local3 = 0; while (_local3 < pickups.length) { _local4 = pickups[_local3]; if (checkPickedUp(_local4)){ if (_local4.currentFrame < 6){ if (_local4.currentFrame == 1){ gui.pickupdisp.mc.txt.text = "GOT AUTOMATIC RIFLE"; if (gui.currentFrame == 1){ gui.pickupdisp.play(); } else { gui.pickupdisp.gotoAndPlay(20); }; } else { if (_local4.currentFrame == 2){ gui.pickupdisp.mc.txt.text = "GOT GRENADE LAUNCHER"; if (gui.currentFrame == 1){ gui.pickupdisp.play(); } else { gui.pickupdisp.gotoAndPlay(20); }; } else { if (_local4.currentFrame == 3){ gui.pickupdisp.mc.txt.text = "GOT SHOTGUN"; if (gui.currentFrame == 1){ gui.pickupdisp.play(); } else { gui.pickupdisp.gotoAndPlay(20); }; } else { if (_local4.currentFrame == 4){ gui.pickupdisp.mc.txt.text = "GOT FLAME THROWER"; if (gui.currentFrame == 1){ gui.pickupdisp.play(); } else { gui.pickupdisp.gotoAndPlay(20); }; } else { if (_local4.currentFrame == 5){ gui.pickupdisp.mc.txt.text = "GOT LAZER GUN"; if (gui.currentFrame == 1){ gui.pickupdisp.play(); } else { gui.pickupdisp.gotoAndPlay(20); }; }; }; }; }; }; gunsCollected.push((_local4.currentFrame + 1)); changeGun(); } else { if (_local4.currentFrame == 6){ gui.pickupdisp.mc.txt.text = "GOT EXTRA LIFE"; if (gui.currentFrame == 1){ gui.pickupdisp.play(); } else { gui.pickupdisp.gotoAndPlay(20); }; playerOb.lives++; gui.lives.text = String(playerOb.lives); } else { if (_local4.currentFrame == 7){ gui.pickupdisp.mc.txt.text = "GOT HEALTH PACK"; if (gui.currentFrame == 1){ gui.pickupdisp.play(); } else { gui.pickupdisp.gotoAndPlay(20); }; playerOb.health = playerOb.maxHealth; } else { if (_local4.currentFrame == 8){ _local2 = false; _local1 = 0; while (_local1 < gunsCollected.length) { if (gunsCollected[_local1] == 2){ _local2 = true; break; }; _local1++; }; if (_local2){ gui.pickupdisp.mc.txt.text = "GOT BULLETS"; if (gui.currentFrame == 1){ gui.pickupdisp.play(); } else { gui.pickupdisp.gotoAndPlay(20); }; gun2.spare = (gun2.spare + 30); if (gunType == 2){ gui.ammo.text = ((String(this[("gun" + gunType)].ammo) + " | ") + String(this[("gun" + gunType)].spare)); }; } else { if (errorTimer == 0){ error.play(); errorTimer = 40; }; return; }; } else { if (_local4.currentFrame == 9){ _local2 = false; _local1 = 0; while (_local1 < gunsCollected.length) { if (gunsCollected[_local1] == 3){ _local2 = true; break; }; _local1++; }; if (_local2){ gui.pickupdisp.mc.txt.text = "GOT GRENADES"; if (gui.currentFrame == 1){ gui.pickupdisp.play(); } else { gui.pickupdisp.gotoAndPlay(20); }; gun3.spare = (gun3.spare + 6); if (gunType == 3){ gui.ammo.text = ((String(this[("gun" + gunType)].ammo) + " | ") + String(this[("gun" + gunType)].spare)); }; } else { if (errorTimer == 0){ error.play(); errorTimer = 40; }; return; }; } else { if (_local4.currentFrame == 10){ _local2 = false; _local1 = 0; while (_local1 < gunsCollected.length) { if (gunsCollected[_local1] == 4){ _local2 = true; break; }; _local1++; }; if (_local2){ gui.pickupdisp.mc.txt.text = "GOT SHOTGUN SHELLS"; if (gui.currentFrame == 1){ gui.pickupdisp.play(); } else { gui.pickupdisp.gotoAndPlay(20); }; gun4.spare = (gun4.spare + 10); if (gunType == 4){ gui.ammo.text = ((String(this[("gun" + gunType)].ammo) + " | ") + String(this[("gun" + gunType)].spare)); }; } else { if (errorTimer == 0){ error.play(); errorTimer = 40; }; return; }; } else { if (_local4.currentFrame == 11){ _local2 = false; _local1 = 0; while (_local1 < gunsCollected.length) { if (gunsCollected[_local1] == 5){ _local2 = true; break; }; _local1++; }; if (_local2){ gui.pickupdisp.mc.txt.text = "GOT FUEL TANK"; if (gui.currentFrame == 1){ gui.pickupdisp.play(); } else { gui.pickupdisp.gotoAndPlay(20); }; gun5.spare = (gun5.spare + 80); if (gunType == 5){ gui.ammo.text = ((String(this[("gun" + gunType)].ammo) + " | ") + String(this[("gun" + gunType)].spare)); }; } else { if (errorTimer == 0){ error.play(); errorTimer = 40; }; return; }; } else { if (_local4.currentFrame == 12){ _local2 = false; _local1 = 0; while (_local1 < gunsCollected.length) { if (gunsCollected[_local1] == 6){ _local2 = true; break; }; _local1++; }; if (_local2){ gui.pickupdisp.mc.txt.text = "GOT BATTERY"; if (gui.currentFrame == 1){ gui.pickupdisp.play(); } else { gui.pickupdisp.gotoAndPlay(20); }; gun5.spare = (gun5.spare + 80); if (gunType == 6){ gui.ammo.text = ((String(this[("gun" + gunType)].ammo) + " | ") + String(this[("gun" + gunType)].spare)); }; } else { if (errorTimer == 0){ error.play(); errorTimer = 40; }; return; }; }; }; }; }; }; }; }; }; pickupclick.play(); if (_local4.id != 99999){ tempCollected.push([_local4.lev, _local4.sta, _local4.id]); }; sprites.removeChild(_local4); pickups.splice(_local3, 1); _local3--; }; _local3++; }; } public function updateDisplay():void{ var _local1:Rectangle; _local1 = new Rectangle(posX, posY, stageW, stageH); display.copyPixels(levelMap, _local1, new Point(0, 0)); } public function keydown(_arg1:KeyboardEvent):void{ var _local2:int; if (gameState == "game"){ downKeys[("key" + _arg1.keyCode)] = true; if (deathTime == 0){ if (_arg1.keyCode == controlsList[3]){ checkDoors(); }; if ((((((((_arg1.keyCode == controlsList[6])) && ((((this[("gun" + gunType)].spare > 0)) || ((gunType == 1)))))) && ((this[("gun" + gunType)].ammo < this[("gun" + gunType)].capacity)))) && ((reloading == 0)))){ reloading = this[("gun" + gunType)].reload; reloadMax = this[("gun" + gunType)].reload; }; changeGun(); }; if (_arg1.keyCode == controlsList[7]){ gameState = "paused"; addChild(pausegame); removeChild(cursor); addChild(cursor); pausegame.gotoAndPlay(1); }; } else { if (gameState == "controls"){ _local2 = 0; while (_local2 < controlsList.length) { if (controlsList[_local2] == _arg1.keyCode){ controls[(("con" + _local2) + 1)].gotoAndStop(1); controlsList[_local2] = "??"; }; _local2++; }; controlsList[(controlsOption - 1)] = _arg1.keyCode; controls[("con" + controlsOption)].gotoAndStop(_arg1.keyCode); }; }; if (_arg1.keyCode == controlsList[8]){ if (muting == false){ muting = true; SoundMixer.soundTransform = new SoundTransform(0, 0); } else { muting = false; SoundMixer.soundTransform = new SoundTransform(1, 0); }; }; } public function updateUpdates():void{ if ((((stage.mouseY > 357)) && ((stage.mouseY < 377)))){ if (rolledOver != 1){ rolledOver = 1; rollover.play(); }; updates.option1.gotoAndStop(2); updates.option2.gotoAndStop(1); updates.option3.gotoAndStop(1); updates.option4.gotoAndStop(1); updates.option5.gotoAndStop(1); menuOption = 1; } else { if ((((stage.mouseY > 385)) && ((stage.mouseY < 405)))){ if (rolledOver != 2){ rolledOver = 2; rollover.play(); }; updates.option1.gotoAndStop(1); updates.option2.gotoAndStop(2); updates.option3.gotoAndStop(1); updates.option4.gotoAndStop(1); updates.option5.gotoAndStop(1); menuOption = 2; } else { if ((((stage.mouseY > 414)) && ((stage.mouseY < 434)))){ if (rolledOver != 3){ rolledOver = 3; rollover.play(); }; updates.option1.gotoAndStop(1); updates.option2.gotoAndStop(1); updates.option3.gotoAndStop(2); updates.option4.gotoAndStop(1); updates.option5.gotoAndStop(1); menuOption = 3; } else { if ((((stage.mouseY > 443)) && ((stage.mouseY < 463)))){ if (rolledOver != 3){ rolledOver = 3; rollover.play(); }; updates.option1.gotoAndStop(1); updates.option2.gotoAndStop(1); updates.option3.gotoAndStop(1); updates.option4.gotoAndStop(2); updates.option5.gotoAndStop(1); menuOption = 4; } else { if ((((stage.mouseY > 474)) && ((stage.mouseY < 494)))){ if (rolledOver != 3){ rolledOver = 3; rollover.play(); }; updates.option1.gotoAndStop(1); updates.option2.gotoAndStop(1); updates.option3.gotoAndStop(1); updates.option4.gotoAndStop(1); updates.option5.gotoAndStop(2); menuOption = 5; } else { rolledOver = 0; updates.option1.gotoAndStop(1); updates.option2.gotoAndStop(1); updates.option3.gotoAndStop(1); updates.option4.gotoAndStop(1); updates.option5.gotoAndStop(1); menuOption = 0; }; }; }; }; }; } public function fireLaserLine(_arg1:int, _arg2:int, _arg3:Number, _arg4:Number, _arg5:Number, _arg6):void{ var _local7:Boolean; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:int; var _local12:Matrix; var _local13:int; var _local14:int; var _local15:flier; var _local16:grunt; var _local17:turret; var _local18:heavy; var _local19:launcher; var _local20:Object; var _local21:int; drawSprite.graphics.clear(); drawSprite.graphics.lineStyle(_arg5, _arg6, 1); _local7 = false; _local8 = _arg1; _local9 = _arg2; _local10 = (Math.atan2(_arg4, _arg3) + (Math.PI / 2)); drawSprite.graphics.moveTo(_arg1, _arg2); _local11 = 0; while (!(_local7)) { _local11 = 0; while (_local11 < fliers.length) { _local15 = fliers[_local11]; if ((((_local15.x - _local8) * (_local15.x - _local8)) + ((_local15.y - _local9) * (_local15.y - _local9))) < 150){ _local15.health = (_local15.health - 0.4); _local7 = true; _local15.hitTime = 30; _local15.hbar.alpha = 1; _local15.hbar.bar.width = ((_local15.health / 2) * 25); }; _local11++; }; _local11 = 0; while (_local11 < grunts.length) { _local16 = grunts[_local11]; if ((((_local16.x - _local8) * (_local16.x - _local8)) + (((_local16.y - 30) - _local9) * ((_local16.y - 30) - _local9))) < 900){ _local16.health = (_local16.health - 0.4); _local7 = true; _local16.hitTime = 30; _local16.hbar.alpha = 1; _local16.hbar.bar.width = ((_local16.health / 12) * 25); }; _local11++; }; _local11 = 0; while (_local11 < turrets.length) { _local17 = turrets[_local11]; if ((((_local17.x - _local8) * (_local17.x - _local8)) + ((_local17.y - _local9) * (_local17.y - _local9))) < 1000){ _local17.health = (_local17.health - 0.4); _local7 = true; _local17.hitTime = 30; _local17.hbar.alpha = 1; _local17.hbar.bar.width = ((_local17.health / 10) * 25); }; _local11++; }; _local11 = 0; while (_local11 < heavies.length) { _local18 = heavies[_local11]; if ((((_local18.x - _local8) * (_local18.x - _local8)) + (((_local18.y - 30) - _local9) * ((_local18.y - 30) - _local9))) < 900){ _local18.health = (_local18.health - 0.4); _local7 = true; _local18.hitTime = 30; _local18.hbar.alpha = 1; _local18.hbar.bar.width = ((_local18.health / 15) * 25); }; _local11++; }; _local11 = 0; while (_local11 < launchers.length) { _local19 = launchers[_local11]; if ((((_local19.x - _local8) * (_local19.x - _local8)) + ((_local19.y - _local9) * (_local19.y - _local9))) < 1500){ _local19.health = (_local19.health - 0.4); _local7 = true; _local19.hitTime = 30; _local19.hbar.alpha = 1; _local19.hbar.bar.width = ((_local19.health / 30) * 25); }; _local11++; }; _local11 = 0; while (_local11 < computers.length) { _local20 = computers[_local11]; if (Math.abs((_local20.x - _local8)) <= 20){ if ((((_local9 >= _local20.y)) && ((_local9 <= (_local20.y + _local20.h))))){ if (_local20.side == 1){ bossInfo.lCompHealth = (bossInfo.lCompHealth - 0.2); _local20.ob.play(); } else { if (_local20.side == 2){ bossInfo.rCompHealth = (bossInfo.rCompHealth - 0.2); _local20.ob.play(); } else { bossInfo.health = (bossInfo.health - 0.2); }; }; _local7 = true; }; }; _local11++; }; _local13 = Math.floor((_local8 / tileW)); _local14 = Math.floor((_local9 / tileH)); if (((!((map[_local14][_local13] == 0))) || ((liftsCollider.getPixel(_local8, _local9) == 0)))){ _local7 = true; } else { _local8 = (_local8 + _arg3); _local9 = (_local9 + _arg4); _local21 = ((Math.random() * 10) - (Math.random() * 10)); drawSprite.graphics.lineTo((_local8 + (Math.cos(_local10) * _local21)), (_local9 + (Math.sin(_local10) * _local21))); }; }; wallHit((_local8 - _arg3), (_local9 - _arg4)); _local12 = new Matrix(); _local12.rotate(Math.atan2(_arg4, _arg3)); _local12.translate(_arg1, _arg2); gunflash.gotoAndStop((Math.floor((Math.random() * 4)) + 1)); fade.draw(drawSprite); fade.draw(gunflash, _local12); } public function updateBoss():void{ var _local1:Matrix; var _local2:int; var _local3:int; var _local4:int; var _local5:Boolean; var _local6:int; var _local7:int; if (fightingBoss == true){ if ((((gameState == "game")) && (!((bossInfo.dead == true))))){ if (bossInfo.health > 0){ exciteTimer = 50; gui.bosshealth.health.width = ((bossInfo.health / bossInfo.maxHealth) * 520); } else { gui.bosshealth.health.width = 1; }; if (bossInfo.lCompHealth > 0){ _local1 = new Matrix(); _local1.translate((computers[0].x + 25), computers[0].y); liftsCollider.draw(computers[0].ob, _local1); gui.bosshealth.lhealth.width = ((bossInfo.lCompHealth / bossInfo.maxCompHealth) * 200); } else { gui.bosshealth.lhealth.width = 1; }; if (bossInfo.rCompHealth > 0){ _local1 = new Matrix(); _local1.translate((computers[1].x - 25), computers[1].y); liftsCollider.draw(computers[1].ob, _local1); gui.bosshealth.rhealth.width = ((bossInfo.rCompHealth / bossInfo.maxCompHealth) * 200); } else { gui.bosshealth.rhealth.width = 1; }; }; if ((((bossInfo.lCompHealth <= 0)) && ((bossInfo.ldead == false)))){ bossInfo.ldead = true; bossInfo.hurtTimer = 150; boss.head.gotoAndStop(3); bossInfo.destroy = 1; computers[0].ob.gotoAndStop(4); if (bossInfo.rdead == true){ boss.body.gotoAndStop(4); } else { boss.body.gotoAndStop(3); }; bossInfo.health = (bossInfo.health - 150); computers[0].side = 3; computers[0].x = (computers[0].x + 30); }; if ((((bossInfo.rCompHealth <= 0)) && ((bossInfo.rdead == false)))){ bossInfo.rdead = true; bossInfo.hurtTimer = 150; boss.head.gotoAndStop(3); bossInfo.destroy = 2; computers[1].ob.gotoAndStop(4); if (bossInfo.ldead == true){ boss.body.gotoAndStop(4); } else { boss.body.gotoAndStop(2); }; bossInfo.health = (bossInfo.health - 150); computers[1].side = 3; computers[1].x = (computers[1].x - 30); }; if ((((bossInfo.health <= 0)) && ((bossInfo.dead == false)))){ _local2 = 0; while (_local2 < fliers.length) { fliers[_local2].health = 0; _local2++; }; _local3 = 0; while (_local3 < missiles.length) { grenadeExplode(missiles[_local3].x, missiles[_local3].y); sprites.removeChild(missiles[_local3]); missiles.splice(_local3, 1); _local3--; _local3++; }; _local4 = 0; while (_local4 < octobombs.length) { grenadeExplode((octobombs[_local4].x + 15), (octobombs[_local4].y + 15)); sprites.removeChild(octobombs[_local4]); octobombs.splice(_local4, 1); --_local4; _local4++; }; bossInfo.dead = true; bossInfo.hurtTimer = 200; boss.head.gotoAndStop(3); bossInfo.destroy = 3; computers[1].ob.gotoAndStop(4); computers[0].ob.gotoAndStop(4); boss.body.gotoAndStop(4); computers[1].side = 3; computers[1].x = 0; computers[0].side = 3; computers[0].x = 0; }; if (bossInfo.hurtTimer > 0){ bossInfo.hurtTimer--; if ((bossInfo.hurtTimer % 10) == 0){ if (bossInfo.destroy == 1){ grenadeExplode(((computers[0].x + (Math.random() * 30)) - 30), (computers[0].y + (Math.random() * 120))); } else { if (bossInfo.destroy == 2){ grenadeExplode(((computers[1].x - (Math.random() * 30)) + 30), (computers[1].y + (Math.random() * 120))); } else { grenadeExplode((boss.x + (Math.random() * 90)), (boss.y + (Math.random() * 90))); }; }; }; if (bossInfo.hurtTimer == 0){ if (bossInfo.dead == false){ boss.head.gotoAndStop(1); bossInfo.destroy = 0; } else { gui.bosshealth.gotoAndStop(1); _local5 = false; _local6 = 0; while (_local6 < gunsCollected.length) { if (gunsCollected[_local6] == 6){ _local5 = true; }; _local6++; }; if (!_local5){ newPickup((7 * tileW), (26 * tileH), 5, 6, 5, 99999); }; doors_6_5[1].s = 2; _local7 = 0; while (_local7 < doorObs.length) { if ((((doorObs[_local7].x == (5 * tileW))) && ((doorObs[_local7].y == (26 * tileH))))){ doorObs[_local7].gotoAndStop(1); }; _local7++; }; boss.gotoAndStop(2); bossExplode(boss.x, boss.y); bossInfo.destroy = 0; }; }; }; if ((((bossInfo.hurtTimer <= 0)) && (!((bossInfo.dead == true))))){ bossInfo.attackTimer--; if (bossInfo.attackTimer <= 0){ if (bossInfo.attack == 1){ if (fliers.length < 15){ boss.head.gotoAndStop(4); if (((bossInfo.attackTimer * -1) % 5) == 0){ releaseBossFliers(); }; }; if (bossInfo.attackTimer < -30){ boss.head.gotoAndStop(1); bossInfo.attack = 2; if (((bossInfo.health / bossInfo.maxHealth) * 100) > 80){ bossInfo.attackTimer = 200; } else { if (((bossInfo.health / bossInfo.maxHealth) * 100) > 50){ bossInfo.attackTimer = 160; } else { bossInfo.attackTimer = 100; }; }; }; } else { if (bossInfo.attack == 2){ boss.head.gotoAndStop(2); if (bossInfo.attackTimer == -1){ if (((bossInfo.health / bossInfo.maxHealth) * 100) > 40){ fireTopMissiles(); shotrocket.play(); } else { fireTopMissiles(); fireBottomMissiles(); shotrocket.play(); }; }; if (bossInfo.attackTimer < -40){ boss.head.gotoAndStop(1); if (((bossInfo.health / bossInfo.maxHealth) * 100) > 75){ bossInfo.attack = 4; } else { bossInfo.attack = 3; }; if (((bossInfo.health / bossInfo.maxHealth) * 100) > 80){ bossInfo.attackTimer = 200; } else { if (((bossInfo.health / bossInfo.maxHealth) * 100) > 50){ bossInfo.attackTimer = 160; } else { bossInfo.attackTimer = 100; }; }; }; } else { if (bossInfo.attack == 3){ boss.head.gotoAndStop(2); if (bossInfo.attackTimer > -70){ posAddX = ((Math.random() * 15) - (Math.random() * 15)); posAddY = ((Math.random() * 15) - (Math.random() * 15)); }; if (bossInfo.attackTimer > -50){ if (((bossInfo.attackTimer * -1) % 5) == 0){ newOctoBomb(); }; }; if (bossInfo.attackTimer < -80){ posAddX = 0; posAddY = 0; boss.head.gotoAndStop(1); bossInfo.attack = 4; bossInfo.attackTimer = 0; }; } else { if (bossInfo.attack == 4){ if (boss.head.currentFrame != 5){ boss.head.gotoAndStop(5); }; if (((bossInfo.health / bossInfo.maxHealth) * 100) > 50){ if (bossInfo.attackTimer < -300){ boss.head.gotoAndStop(1); bossInfo.attack = 1; bossInfo.attackTimer = 100; }; } else { if (bossInfo.attackTimer < -200){ boss.head.gotoAndStop(1); bossInfo.attack = 1; bossInfo.attackTimer = 100; }; }; }; }; }; }; }; }; }; } public function clickalillm(_arg1:MouseEvent):void{ var _local2:URLRequest; MochiBot.track(this, "01d06294"); _local2 = new URLRequest("http://www.alillm.com/"); navigateToURL(_local2, "_blank"); } public function updateParticles():void{ var _local1:int; var _local2:*; var _local3:int; var _local4:int; _local1 = 0; while (_local1 < particles.length) { _local2 = particles[_local1]; _local3 = Math.floor(((_local2.x + _local2.xv) / tileW)); _local4 = Math.floor(((_local2.y + _local2.yv) / tileH)); if (map[_local4][_local3] > 0){ sprites.removeChild(_local2); particles.splice(_local1, 1); _local1--; } else { _local2.x = (_local2.x + _local2.xv); _local2.y = (_local2.y + _local2.yv); _local2.scaleX = (_local2.scaleX - 0.1); _local2.scaleY = _local2.scaleX; if (_local2.scaleX <= 0){ sprites.removeChild(_local2); particles.splice(_local1, 1); _local1--; }; }; _local1++; }; } public function checkHitLifts(_arg1:int, _arg2:int):Array{ var _local3:int; var _local4:MovieClip; _local3 = 0; while (_local3 < lifts.length) { _local4 = lifts[_local3]; if ((((_arg1 > _local4.x)) && ((_arg2 > _local4.y)))){ if ((((_arg1 < (_local4.x + (_local4.w * tileW)))) && ((_arg2 < (_local4.y + (_local4.h * tileH)))))){ return ([true, _local4]); }; }; _local3++; }; return ([false]); } public function reloadShotgun(_arg1:int):void{ if (_arg1 == 59){ bulletin.play(); } else { if (_arg1 == 40){ bulletin.play(); } else { if (_arg1 == 20){ loadclose.play(); }; }; }; } public function fireHeavy(_arg1:heavy):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:int; _local2 = -10; shot4.play(); _local3 = 0; while (_local3 < 5) { _local4 = (((_arg1.x + (_arg1.arm.x * _arg1.scaleX)) + ((Math.cos((_arg1.arm.rotation * (Math.PI / 180))) * 30) * _arg1.scaleX)) - ((Math.sin((_arg1.arm.rotation * (Math.PI / 180))) * 3) * _arg1.scaleX)); _local5 = (((_arg1.y + _arg1.arm.y) + (Math.sin((_arg1.arm.rotation * (Math.PI / 180))) * 30)) + (Math.cos((_arg1.arm.rotation * (Math.PI / 180))) * 3)); fireLine(_local4, _local5, ((Math.cos(((_arg1.arm.rotation + _local2) * (Math.PI / 180))) * 10) * _arg1.scaleX), (Math.sin(((_arg1.arm.rotation + _local2) * (Math.PI / 180))) * 10), 1, 0xFFFFFF, 1, 1); _local2 = (_local2 + 5); _local3++; }; } public function newTv(_arg1:int, _arg2:int, _arg3:String):void{ var _local4:tvscreen; var _local5:BitmapData; var _local6:Bitmap; var _local7:tvcover; _local4 = new tvscreen(); _local5 = new BitmapData(114, 74, false, 0); _local6 = new Bitmap(_local5); _local4.bmp = _local5; _local4.addChild(_local6); _local6.x = 3; _local6.y = 12; _local7 = new tvcover(); _local4.addChild(_local7); _local4.cov = _local7; _local4.words = _arg3; _local7.txt.text = _arg3; sprites.addChild(_local4); _local4.x = (_arg1 * tileW); _local4.y = (_arg2 * tileH); tvs.push(_local4); } public function rover(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(2); } public function newOctoBomb():void{ var _local1:int; var _local2:int; var _local3:octobomb; _local1 = ((Math.random() * 850) + 100); _local2 = 40; _local3 = new octobomb(); _local3.x = _local1; _local3.y = _local2; _local3.dead = false; _local3.rotation = (Math.random() * 360); _local3.yv = 0; octobombs.push(_local3); sprites.addChild(_local3); } public function newParticle(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void{ var _local5:particle; var _local6:Number; _local5 = new particle(); _local5.x = _arg1; _local5.y = _arg2; _local5.scaleX = (Math.random() * _arg3); _local5.scaleY = _local5.scaleX; _local5.rotation = (Math.random() * 360); _local6 = ((Math.random() * 360) * (Math.PI / 180)); _local5.xv = (Math.cos(_local6) * _arg4); _local5.yv = (Math.sin(_local6) * _arg4); sprites.addChild(_local5); particles.push(_local5); } function frame2(){ SoundMixer.stopAll(); } public function updateGrunts():void{ var _local1:int; var _local2:grunt; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:Number; var _local11:int; var _local12:int; _local1 = 0; while (_local1 < grunts.length) { _local2 = grunts[_local1]; _local3 = Math.floor((_local2.x / tileW)); _local4 = Math.floor((_local2.y / tileH)); if (_local2.hitTime > 0){ _local2.hitTime--; if (_local2.hitTime <= 0){ _local2.hbar.alpha = 0; }; }; if (_local2.health <= 0){ gruntExplode(_local2.x, _local2.y, _local2.scaleX, (((_local2.lastHealth - _local2.health) / 3) + 4)); sprites.removeChild(_local2); grunts.splice(_local1, 1); _local1--; } else { if (_local2.lastHealth > _local2.health){ _local2.seeking = true; _local2.range = 10000; }; }; if (_local2.onFire > 0){ _local2.onFire--; _local2.health = (_local2.health - 0.05); onFire(_local2.x, (_local2.y - 35), (_local2.onFire / 40)); }; _local2.lastHealth = _local2.health; if ((((_local2.seeking == false)) || ((deathTime > 0)))){ if (_local2.dir == 0){ if ((((map[_local4][(_local3 + 1)] == 0)) || (!((map[(_local4 - 1)][(_local3 + 1)] == 0))))){ _local2.dir = 1; _local2.restTime = 80; }; } else { if ((((map[_local4][(_local3 - 1)] == 0)) || (!((map[(_local4 - 1)][(_local3 - 1)] == 0))))){ _local2.dir = 0; _local2.restTime = 80; }; }; if (_local2.restTime > 0){ _local2.restTime--; _local2.legs.gotoAndStop(1); } else { if (_local2.dir == 0){ _local2.scaleX = 1; _local2.hbar.scaleX = 1; _local2.x = (_local2.x + 2); if (_local2.legs.currentFrame == 1){ _local2.legs.gotoAndStop(2); }; } else { _local2.scaleX = -1; _local2.hbar.scaleX = -1; _local2.x = (_local2.x - 2); if (_local2.legs.currentFrame == 1){ _local2.legs.gotoAndStop(2); }; }; }; _local2.checkLos--; if (_local2.checkLos <= 0){ _local2.checkLos = 5; _local5 = (_local2.x - playerOb.x); _local6 = (_local2.y - playerOb.y); _local7 = ((_local5 * _local5) + (_local6 * _local6)); if (_local7 <= 160000){ exciteTimer = 50; if (soundto != 1){ soundto = 1; soundDir = 2; }; if (((playerOb.x - _local2.x) * _local2.scaleX) > 0){ if (LOS(_local2.x, (_local2.y - 40), playerOb.x, (playerOb.y - (playerOb.h / 2)), _local2.range) == true){ _local2.seeking = true; }; }; }; }; } else { exciteTimer = 50; if (soundto != 1){ soundto = 1; soundDir = 2; }; _local2.shootTime--; _local2.legs.gotoAndStop(1); _local2.arm.rotation = (_local2.arm.rotation + _local2.movearm); if (_local2.shootTime <= 0){ _local8 = ((playerOb.x - _local2.x) * _local2.scaleX); _local9 = (playerOb.y - _local2.y); _local2.ang = Math.atan2(_local9, _local8); _local10 = ((Math.random() * (Math.PI / 15)) - (Math.random() * (Math.PI / 15))); _local2.ang = (_local2.ang + _local10); _local2.shootTime = 25; _local2.movearm = (((_local2.ang * (180 / Math.PI)) - _local2.arm.rotation) / 25); _local11 = (((_local2.x + (_local2.arm.x * _local2.scaleX)) + ((Math.cos((_local2.arm.rotation * (Math.PI / 180))) * 30) * _local2.scaleX)) + ((Math.sin((_local2.arm.rotation * (Math.PI / 180))) * 3) * _local2.scaleX)); _local12 = (((_local2.y + _local2.arm.y) + (Math.sin((_local2.arm.rotation * (Math.PI / 180))) * 30)) - (Math.cos((_local2.arm.rotation * (Math.PI / 180))) * 3)); fireLine(_local11, _local12, ((Math.cos((_local2.arm.rotation * (Math.PI / 180))) * 10) * _local2.scaleX), (Math.sin((_local2.arm.rotation * (Math.PI / 180))) * 10), 1, 0xFFFFFF, 3, 1); }; if (((playerOb.x - _local2.x) * _local2.scaleX) < 0){ _local2.scaleX = (_local2.scaleX * -1); _local2.hbar.scaleX = (_local2.hbar.scaleX * -1); }; if (LOS(_local2.x, (_local2.y - 40), playerOb.x, (playerOb.y - (playerOb.h / 2)), _local2.range) == false){ _local2.seeking = false; _local2.arm.rotation = 75; _local2.range = 500; }; }; _local1++; }; } public function rollOutCool(_arg1:MouseEvent):void{ coolbuddy.gotoAndStop(1); } public function fireRapid():void{ var _local1:int; var _local2:int; var _local3:Number; var _local4:int; var _local5:int; var _local6:Number; if (reloading == 0){ if (gunType == 2){ fireSoundTime--; if (fireSoundTime <= 0){ playerOb.shots++; channel2 = shot2.play(); fireSoundTime = 45; }; if (coolDown > 0){ coolDown--; } else { if (gun2.ammo > 0){ _local1 = (((playerOb.x + (gun.x * player.scaleX)) + ((Math.cos((gun.rotation * (Math.PI / 180))) * 35) * player.scaleX)) - ((Math.sin((gun.rotation * (Math.PI / 180))) * 3) * player.scaleX)); _local2 = (((playerOb.y + gun.y) + (Math.sin((gun.rotation * (Math.PI / 180))) * 35)) + (Math.cos((gun.rotation * (Math.PI / 180))) * 3)); gunoffset = ((Math.random() * 8) - (Math.random() * 8)); _local3 = (gun.rotation * (Math.PI / 180)); fireLine(_local1, _local2, ((Math.cos(_local3) * 10) * player.scaleX), (Math.sin(_local3) * 10), 1, 0xFFFFFF, 1); coolDown = 3; gun2.ammo--; gui.ammo.text = ((String(gun2.ammo) + " | ") + String(gun2.spare)); } else { channel2.stop(); fireSoundTime = 0; if (gun2.spare > 0){ reloading = 50; reloadMax = 50; } else { gunType = 1; gunSelected = 0; changeGun(); changegun.play(); }; }; }; } else { if (gunType == 5){ if (gun5.ammo > 0){ fireSoundTime--; if (fireSoundTime <= 0){ channel4 = flamersound.play(); fireSoundTime = 200; }; playerOb.shots++; fireFlame(); gun5.ammo--; gui.ammo.text = ((String(gun5.ammo) + " | ") + String(gun5.spare)); } else { channel4.stop(); if (gun5.spare > 0){ reloading = 60; reloadMax = 60; } else { gunType = 1; gunSelected = 0; changeGun(); changegun.play(); }; }; } else { if (gunType == 6){ if (gun6.ammo > 0){ fireSoundTime--; if (fireSoundTime <= 0){ channel3 = lazerbeam.play(); fireSoundTime = 480; }; playerOb.shots++; _local4 = (((playerOb.x + (gun.x * player.scaleX)) + ((Math.cos((gun.rotation * (Math.PI / 180))) * 28) * player.scaleX)) - ((Math.sin((gun.rotation * (Math.PI / 180))) * 14) * player.scaleX)); _local5 = (((playerOb.y + gun.y) + (Math.sin((gun.rotation * (Math.PI / 180))) * 28)) + (Math.cos((gun.rotation * (Math.PI / 180))) * 14)); _local6 = (gun.rotation * (Math.PI / 180)); fireLaserLine(_local4, _local5, ((Math.cos(_local6) * 10) * player.scaleX), (Math.sin(_local6) * 10), 1, 0xFFFFFF); _local5 = (((playerOb.y + gun.y) + (Math.sin((gun.rotation * (Math.PI / 180))) * 28)) + (Math.cos((gun.rotation * (Math.PI / 180))) * 11)); fireLaserLine(_local4, _local5, ((Math.cos(_local6) * 10) * player.scaleX), (Math.sin(_local6) * 10), 1, 0xFFFFFF); gun6.ammo--; gui.ammo.text = ((String(gun6.ammo) + " | ") + String(gun6.spare)); } else { channel3.stop(); if (gun6.spare > 0){ reloading = 80; reloadMax = 80; } else { gunType = 1; gunSelected = 0; changeGun(); changegun.play(); }; fireSoundTime = 0; }; }; }; }; }; } public function newSavepoint(_arg1:int, _arg2:int):void{ var _local3:savepoint; var _local4:BitmapData; var _local5:Bitmap; _local3 = new savepoint(); _local4 = new BitmapData(22, 18, false, 0); _local5 = new Bitmap(_local4); _local3.bmp = _local4; _local3.addChild(_local5); _local5.x = 4; _local5.y = 4; sprites.addChild(_local3); _local3.x = (_arg1 * tileW); _local3.y = (_arg2 * tileH); savePoints.push(_local3); } function frame7(){ level_1_1 = new Array(); enemies_1_1 = new Array(); doors_1_1 = new Array(); lifts_1_1 = new Array(); switches_1_1 = new Array(); pickups_1_1 = new Array(); screens_1_1 = new Array(); savepoints_1_1 = new Array(); level_1_2 = new Array(); enemies_1_2 = new Array(); doors_1_2 = new Array(); lifts_1_2 = new Array(); switches_1_2 = new Array(); pickups_1_2 = new Array(); screens_1_2 = new Array(); savepoints_1_2 = new Array(); level_1_3 = new Array(); enemies_1_3 = new Array(); doors_1_3 = new Array(); lifts_1_3 = new Array(); switches_1_3 = new Array(); pickups_1_3 = new Array(); screens_1_3 = new Array(); savepoints_1_3 = new Array(); level_1_4 = new Array(); enemies_1_4 = new Array(); doors_1_4 = new Array(); lifts_1_4 = new Array(); switches_1_4 = new Array(); pickups_1_4 = new Array(); screens_1_4 = new Array(); savepoints_1_4 = new Array(); level_1_5 = new Array(); enemies_1_5 = new Array(); doors_1_5 = new Array(); lifts_1_5 = new Array(); switches_1_5 = new Array(); pickups_1_5 = new Array(); screens_1_5 = new Array(); savepoints_1_5 = new Array(); level_1_6 = new Array(); enemies_1_6 = new Array(); doors_1_6 = new Array(); lifts_1_6 = new Array(); switches_1_6 = new Array(); pickups_1_6 = new Array(); screens_1_6 = new Array(); savepoints_1_6 = new Array(); level_1_7 = new Array(); enemies_1_7 = new Array(); doors_1_7 = new Array(); lifts_1_7 = new Array(); switches_1_7 = new Array(); pickups_1_7 = new Array(); screens_1_7 = new Array(); savepoints_1_7 = new Array(); level_1_8 = new Array(); enemies_1_8 = new Array(); doors_1_8 = new Array(); lifts_1_8 = new Array(); switches_1_8 = new Array(); pickups_1_8 = new Array(); screens_1_8 = new Array(); savepoints_1_8 = new Array(); level_1_9 = new Array(); enemies_1_9 = new Array(); doors_1_9 = new Array(); lifts_1_9 = new Array(); switches_1_9 = new Array(); pickups_1_9 = new Array(); screens_1_9 = new Array(); savepoints_1_9 = new Array(); level_2_1 = new Array(); enemies_2_1 = new Array(); doors_2_1 = new Array(); lifts_2_1 = new Array(); switches_2_1 = new Array(); pickups_2_1 = new Array(); screens_2_1 = new Array(); savepoints_2_1 = new Array(); level_2_2 = new Array(); enemies_2_2 = new Array(); doors_2_2 = new Array(); lifts_2_2 = new Array(); switches_2_2 = new Array(); pickups_2_2 = new Array(); screens_2_2 = new Array(); savepoints_2_2 = new Array(); level_2_3 = new Array(); enemies_2_3 = new Array(); doors_2_3 = new Array(); lifts_2_3 = new Array(); switches_2_3 = new Array(); pickups_2_3 = new Array(); screens_2_3 = new Array(); savepoints_2_3 = new Array(); level_2_4 = new Array(); enemies_2_4 = new Array(); doors_2_4 = new Array(); lifts_2_4 = new Array(); switches_2_4 = new Array(); pickups_2_4 = new Array(); screens_2_4 = new Array(); savepoints_2_4 = new Array(); level_2_5 = new Array(); enemies_2_5 = new Array(); doors_2_5 = new Array(); lifts_2_5 = new Array(); switches_2_5 = new Array(); pickups_2_5 = new Array(); screens_2_5 = new Array(); savepoints_2_5 = new Array(); level_2_6 = new Array(); enemies_2_6 = new Array(); doors_2_6 = new Array(); lifts_2_6 = new Array(); switches_2_6 = new Array(); pickups_2_6 = new Array(); screens_2_6 = new Array(); savepoints_2_6 = new Array(); level_2_7 = new Array(); enemies_2_7 = new Array(); doors_2_7 = new Array(); lifts_2_7 = new Array(); switches_2_7 = new Array(); pickups_2_7 = new Array(); screens_2_7 = new Array(); savepoints_2_7 = new Array(); level_3_1 = new Array(); enemies_3_1 = new Array(); doors_3_1 = new Array(); lifts_3_1 = new Array(); switches_3_1 = new Array(); pickups_3_1 = new Array(); screens_3_1 = new Array(); savepoints_3_1 = new Array(); level_3_2 = new Array(); enemies_3_2 = new Array(); doors_3_2 = new Array(); lifts_3_2 = new Array(); switches_3_2 = new Array(); pickups_3_2 = new Array(); screens_3_2 = new Array(); savepoints_3_2 = new Array(); level_3_3 = new Array(); enemies_3_3 = new Array(); doors_3_3 = new Array(); lifts_3_3 = new Array(); switches_3_3 = new Array(); pickups_3_3 = new Array(); screens_3_3 = new Array(); savepoints_3_3 = new Array(); level_3_4 = new Array(); enemies_3_4 = new Array(); doors_3_4 = new Array(); lifts_3_4 = new Array(); switches_3_4 = new Array(); pickups_3_4 = new Array(); screens_3_4 = new Array(); savepoints_3_4 = new Array(); level_3_5 = new Array(); enemies_3_5 = new Array(); doors_3_5 = new Array(); lifts_3_5 = new Array(); switches_3_5 = new Array(); pickups_3_5 = new Array(); screens_3_5 = new Array(); savepoints_3_5 = new Array(); level_3_6 = new Array(); enemies_3_6 = new Array(); doors_3_6 = new Array(); lifts_3_6 = new Array(); switches_3_6 = new Array(); pickups_3_6 = new Array(); screens_3_6 = new Array(); savepoints_3_6 = new Array(); level_3_7 = new Array(); enemies_3_7 = new Array(); doors_3_7 = new Array(); lifts_3_7 = new Array(); switches_3_7 = new Array(); pickups_3_7 = new Array(); screens_3_7 = new Array(); savepoints_3_7 = new Array(); level_3_8 = new Array(); enemies_3_8 = new Array(); doors_3_8 = new Array(); lifts_3_8 = new Array(); switches_3_8 = new Array(); pickups_3_8 = new Array(); screens_3_8 = new Array(); savepoints_3_8 = new Array(); level_4_1 = new Array(); enemies_4_1 = new Array(); doors_4_1 = new Array(); lifts_4_1 = new Array(); switches_4_1 = new Array(); pickups_4_1 = new Array(); screens_4_1 = new Array(); savepoints_4_1 = new Array(); level_4_2 = new Array(); enemies_4_2 = new Array(); doors_4_2 = new Array(); lifts_4_2 = new Array(); switches_4_2 = new Array(); pickups_4_2 = new Array(); screens_4_2 = new Array(); savepoints_4_2 = new Array(); level_4_3 = new Array(); enemies_4_3 = new Array(); doors_4_3 = new Array(); lifts_4_3 = new Array(); switches_4_3 = new Array(); pickups_4_3 = new Array(); screens_4_3 = new Array(); savepoints_4_3 = new Array(); level_4_4 = new Array(); enemies_4_4 = new Array(); doors_4_4 = new Array(); lifts_4_4 = new Array(); switches_4_4 = new Array(); pickups_4_4 = new Array(); screens_4_4 = new Array(); savepoints_4_4 = new Array(); level_4_5 = new Array(); enemies_4_5 = new Array(); doors_4_5 = new Array(); lifts_4_5 = new Array(); switches_4_5 = new Array(); pickups_4_5 = new Array(); screens_4_5 = new Array(); savepoints_4_5 = new Array(); level_4_6 = new Array(); enemies_4_6 = new Array(); doors_4_6 = new Array(); lifts_4_6 = new Array(); switches_4_6 = new Array(); pickups_4_6 = new Array(); screens_4_6 = new Array(); savepoints_4_6 = new Array(); level_4_7 = new Array(); enemies_4_7 = new Array(); doors_4_7 = new Array(); lifts_4_7 = new Array(); switches_4_7 = new Array(); pickups_4_7 = new Array(); screens_4_7 = new Array(); savepoints_4_7 = new Array(); level_4_8 = new Array(); enemies_4_8 = new Array(); doors_4_8 = new Array(); lifts_4_8 = new Array(); switches_4_8 = new Array(); pickups_4_8 = new Array(); screens_4_8 = new Array(); savepoints_4_8 = new Array(); level_4_9 = new Array(); enemies_4_9 = new Array(); doors_4_9 = new Array(); lifts_4_9 = new Array(); switches_4_9 = new Array(); pickups_4_9 = new Array(); screens_4_9 = new Array(); savepoints_4_9 = new Array(); level_5_1 = new Array(); enemies_5_1 = new Array(); doors_5_1 = new Array(); lifts_5_1 = new Array(); switches_5_1 = new Array(); pickups_5_1 = new Array(); screens_5_1 = new Array(); savepoints_5_1 = new Array(); level_5_2 = new Array(); enemies_5_2 = new Array(); doors_5_2 = new Array(); lifts_5_2 = new Array(); switches_5_2 = new Array(); pickups_5_2 = new Array(); screens_5_2 = new Array(); savepoints_5_2 = new Array(); level_5_3 = new Array(); enemies_5_3 = new Array(); doors_5_3 = new Array(); lifts_5_3 = new Array(); switches_5_3 = new Array(); pickups_5_3 = new Array(); screens_5_3 = new Array(); savepoints_5_3 = new Array(); level_5_4 = new Array(); enemies_5_4 = new Array(); doors_5_4 = new Array(); lifts_5_4 = new Array(); switches_5_4 = new Array(); pickups_5_4 = new Array(); screens_5_4 = new Array(); savepoints_5_4 = new Array(); level_5_5 = new Array(); enemies_5_5 = new Array(); doors_5_5 = new Array(); lifts_5_5 = new Array(); switches_5_5 = new Array(); pickups_5_5 = new Array(); screens_5_5 = new Array(); savepoints_5_5 = new Array(); level_5_6 = new Array(); enemies_5_6 = new Array(); doors_5_6 = new Array(); lifts_5_6 = new Array(); switches_5_6 = new Array(); pickups_5_6 = new Array(); screens_5_6 = new Array(); savepoints_5_6 = new Array(); level_5_7 = new Array(); enemies_5_7 = new Array(); doors_5_7 = new Array(); lifts_5_7 = new Array(); switches_5_7 = new Array(); pickups_5_7 = new Array(); screens_5_7 = new Array(); savepoints_5_7 = new Array(); level_5_8 = new Array(); enemies_5_8 = new Array(); doors_5_8 = new Array(); lifts_5_8 = new Array(); switches_5_8 = new Array(); pickups_5_8 = new Array(); screens_5_8 = new Array(); savepoints_5_8 = new Array(); level_6_1 = new Array(); enemies_6_1 = new Array(); doors_6_1 = new Array(); lifts_6_1 = new Array(); switches_6_1 = new Array(); pickups_6_1 = new Array(); screens_6_1 = new Array(); savepoints_6_1 = new Array(); level_6_2 = new Array(); enemies_6_2 = new Array(); doors_6_2 = new Array(); lifts_6_2 = new Array(); switches_6_2 = new Array(); pickups_6_2 = new Array(); screens_6_2 = new Array(); savepoints_6_2 = new Array(); level_6_3 = new Array(); enemies_6_3 = new Array(); doors_6_3 = new Array(); lifts_6_3 = new Array(); switches_6_3 = new Array(); pickups_6_3 = new Array(); screens_6_3 = new Array(); savepoints_6_3 = new Array(); level_6_4 = new Array(); enemies_6_4 = new Array(); doors_6_4 = new Array(); lifts_6_4 = new Array(); switches_6_4 = new Array(); pickups_6_4 = new Array(); screens_6_4 = new Array(); savepoints_6_4 = new Array(); level_6_5 = new Array(); enemies_6_5 = new Array(); doors_6_5 = new Array(); lifts_6_5 = new Array(); switches_6_5 = new Array(); pickups_6_5 = new Array(); screens_6_5 = new Array(); savepoints_6_5 = new Array(); level_6_8 = new Array(); enemies_6_8 = new Array(); doors_6_8 = new Array(); lifts_6_8 = new Array(); switches_6_8 = new Array(); pickups_6_8 = new Array(); screens_6_8 = new Array(); savepoints_6_8 = new Array(); level_6_9 = new Array(); enemies_6_9 = new Array(); doors_6_9 = new Array(); lifts_6_9 = new Array(); switches_6_9 = new Array(); pickups_6_9 = new Array(); screens_6_9 = new Array(); savepoints_6_9 = new Array(); stop(); stage.showDefaultContextMenu = false; stageW = 540; stageH = 540; stageRect = new Rectangle(0, 0, stageW, stageH); tileW = 30; tileH = 30; nextLevel = 0; gameState = "none"; cursor = new CURSOR(); Mouse.hide(); slot1 = SharedObject.getLocal("mechanaught1"); slot2 = SharedObject.getLocal("mechanaught2"); slot3 = SharedObject.getLocal("mechanaught3"); savechoice = 0; lastSave = 0; collectedItems = []; pushedSwitches = []; tempCollected = []; tempPushed = []; lastRoomAmmo = [[1, 99999]]; lastRoomGun = 0; keyList = ["??", "??", "??", "??", "??", "??", "??", "??", "BACKSPACE", "??", "??", "??", "??", "ENTER", "??", "??", "SHIFT", "CONTROL", "ALT", "??", "CAPSLOCK", "??", "??", "??", "??", "??", "??", "ESC", "??", "??", "??", "??", "SPACE", "PG UP", "PG DOWN", "END", "HOME", "LEFT", "UP", "RIGHT", "DOWN", "??", "??", "??", "??", "INSERT", "DELETE", "??", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "??", "??", "??", "??", "??", "??", "??", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", ";", "=", ",", "-", ".", "/", "'", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "[", "\\", "]", "#"]; shot1 = new pistolshot(); shot2 = new machinegunfire(); shot4 = new shotgunshot(); shotrocket = new rocketlaunch(); flamersound = new flamethrower(); switchsound = new switchpress(); pickupclick = new pickupsound(); strike1 = new hit1(); strike2 = new hit2(); strike3 = new hit3(); respawnsound = new spawnsound(); die1 = new death1(); die2 = new death2(); exp1 = new explode1(); loadopen = new openbolt(); loadclose = new closebolt(); bulletin = new loadbullet(); changegun = new gunchange(); changeroom = new godoor(); lazerbeam = new lazersound(); fireburst = new shortburst(); rollover = new mouseover(); clicked = new buttonclick(); saved = new savesuccess(); error = new cantpickup(); jump = new jumping(); boing = new spring(); type = new keyboardtype(); liftstart = new liftstarting(); liftstop = new liftstopping(); liftrun = new liftrunning(); muting = false; fightingBoss = false; bossStartTimer = 0; soundto = 1; soundfrom = 3; soundDir = 0; vol = 100; rolledOver = 0; errorTimer = 0; controlsList = [65, 68, 87, 83, 69, 81, 82, 80, 77]; mainLoop = new gameloop(); bgLoop = new bgloop(); exciteTimer = 0; finalsave = false; music2Channel = new SoundChannel(); music2Channel.soundTransform = new SoundTransform(0, 0); channel2 = new SoundChannel(); channel3 = new SoundChannel(); channel4 = new SoundChannel(); downKeys = new Object(); MD = false; posX = 0; posY = 0; posAddX = 0; posAddY = 0; transto = "none"; Title = new TITLE(); updates = new updatespage(); loadgame = new LOADGAME(); controls = new CONTROLS(); gameOver = new gameover(); credits = new CREDITS(); trans = new TRANS(); ltrans = new levelTrans(); pop = new popup(); pop2 = new popup2(); pausegame = new pausemenu(); menuOption = 0; controlsOption = 1; fadeCT = new ColorTransform(1, 1, 1, 0.7, 0, 0, 0, 0); drawSprite = new Sprite(); tiles = new tilesheet(0, 0); conveyor1 = new conveyor1set(0, 0); conveyor2 = new conveyor2set(0, 0); conveyor3 = new conveyor3set(0, 0); conveyor4 = new conveyor4set(0, 0); conveyor5 = new conveyor5set(0, 0); conveyor6 = new conveyor6set(0, 0); jumpDown = new jump1(0, 0); jumpUp = new jump2(0, 0); nullLock = new MovieClip(); playerOb = {x:0, y:0, speed:0, maxSpeed:4, h:54, w:20, jumpSpeed:0, jumping:false, onGround:false, lives:3, maxLives:3, maxHealth:25, health:25, forcex:0, locky:nullLock, shots:0, kills:0}; gun1 = {ammo:12, spare:"X", capacity:12, reload:35}; gun2 = {ammo:30, spare:60, capacity:30, reload:50}; gun3 = {ammo:6, spare:0, capacity:6, reload:70}; gun4 = {ammo:2, spare:16, capacity:2, reload:60}; gun5 = {ammo:150, spare:150, capacity:150, reload:60}; gun6 = {ammo:100, spare:100, capacity:100, reload:80}; bossInfo = {dead:false, health:500, maxHealth:500, lCompHealth:100, rCompHealth:100, ldead:false, rdead:false, destroy:0, hurtTimer:0, maxCompHealth:100, attack:1, attackTimer:200}; gunsCollected = []; reloading = 0; reloadMax = 0; gunType = 1; grav = 0.8; firing = false; coolDown = 0; gunoffset = 0; fireSoundTime = 0; flameTime = 0; currentLevel = 1; currentStage = 1; lastStartX = 0; lastStartY = 0; lastGun = 1; deathTime = 0; moveScreenX = 0; moveScreenY = 0; gameoverswitch = false; upPads = []; addEventListener(Event.ENTER_FRAME, update); stage.addEventListener(KeyboardEvent.KEY_DOWN, keydown); stage.addEventListener(KeyboardEvent.KEY_UP, keyup); stage.addEventListener(MouseEvent.MOUSE_DOWN, mousedown); stage.addEventListener(MouseEvent.MOUSE_UP, mouseup); music2Channel = mainLoop.play(0, 99999); music2Channel.soundTransform = new SoundTransform(0, 0); init(); } public function checkPickedUp(_arg1:pickup):Boolean{ if ((((playerOb.x > _arg1.x)) && ((playerOb.y > _arg1.y)))){ if ((((playerOb.x < (_arg1.x + 30))) && ((playerOb.y < (_arg1.y + 40))))){ return (true); }; }; return (false); } function frame3(){ menuLoop = new menuloop(); musicChannel = new SoundChannel(); musicChannel.soundTransform = new SoundTransform(1, 0); musicChannel = menuLoop.play(0, 9999); SoundMixer.soundTransform = new SoundTransform(1, 0); stop(); timer1 = 0; this.addEventListener(Event.ENTER_FRAME, updatelogo1); stage.addEventListener(MouseEvent.MOUSE_UP, getLink1); stage.showDefaultContextMenu = false; } public function updatelogo1(_arg1:Event):void{ timer1++; if (timer1 >= 100){ this.removeEventListener(Event.ENTER_FRAME, updatelogo1); stage.removeEventListener(MouseEvent.MOUSE_UP, getLink1); gotoAndStop(4); }; } public function updatelogo2(_arg1:Event):void{ timer2++; if (timer2 >= 100){ this.removeEventListener(Event.ENTER_FRAME, updatelogo2); stage.removeEventListener(MouseEvent.MOUSE_UP, getLink2); gotoAndStop(5); }; } public function updatelogo3(_arg1:Event):void{ timer3++; if (timer3 >= 135){ this.removeEventListener(Event.ENTER_FRAME, updatelogo3); stage.removeEventListener(MouseEvent.MOUSE_UP, getLink3); gotoAndStop(7); }; } function frame1(){ MochiBot.track(this, "475df568"); stop(); SoundMixer.soundTransform = new SoundTransform(0, 0); CPMStarContentSpotID = "890Q470A3367"; ad = new AdLoader(CPMStarContentSpotID); adBox.addChild(ad); timer44 = 0; this.addEventListener(Event.ENTER_FRAME, loadMe); closeBtn.addEventListener(MouseEvent.CLICK, endAd); coolbuddy.addEventListener(MouseEvent.MOUSE_UP, clickCool); coolbuddy.addEventListener(MouseEvent.ROLL_OVER, rollOverCool); coolbuddy.addEventListener(MouseEvent.ROLL_OUT, rollOutCool); closeBtn.addEventListener(MouseEvent.ROLL_OVER, rollOverCon); closeBtn.addEventListener(MouseEvent.ROLL_OUT, rollOutCon); stage.showDefaultContextMenu = false; } public function checkLiftBounds(_arg1:MovieClip, _arg2:int, _arg3:int):Boolean{ if ((((_arg2 > _arg1.x)) && ((_arg3 > _arg1.y)))){ if ((((_arg2 < (_arg1.x + (_arg1.w * tileW)))) && ((_arg3 < (_arg1.y + (_arg1.h * tileH)))))){ return (true); }; }; return (false); } function frame4(){ SoundMixer.soundTransform = new SoundTransform(1, 0); stop(); timer2 = 0; this.addEventListener(Event.ENTER_FRAME, updatelogo2); stage.addEventListener(MouseEvent.MOUSE_UP, getLink2); stage.showDefaultContextMenu = false; } function frame5(){ stop(); timer3 = 0; this.addEventListener(Event.ENTER_FRAME, updatelogo3); stage.addEventListener(MouseEvent.MOUSE_UP, getLink3); stage.showDefaultContextMenu = false; } public function rollOverCon(_arg1:MouseEvent):void{ closeBtn.gotoAndStop(3); } public function clickCool(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.coolbuddy.com/?cid=189"); navigateToURL(_local2, "_blank"); } public function fireShotgun():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; _local1 = -10; _local2 = 0; while (_local2 < 5) { _local3 = (((playerOb.x + (gun.x * player.scaleX)) + ((Math.cos((gun.rotation * (Math.PI / 180))) * 30) * player.scaleX)) - ((Math.sin((gun.rotation * (Math.PI / 180))) * 3) * player.scaleX)); _local4 = (((playerOb.y + gun.y) + (Math.sin((gun.rotation * (Math.PI / 180))) * 30)) + (Math.cos((gun.rotation * (Math.PI / 180))) * 3)); fireLine(_local3, _local4, ((Math.cos(((gun.rotation + _local1) * (Math.PI / 180))) * 10) * player.scaleX), (Math.sin(((gun.rotation + _local1) * (Math.PI / 180))) * 10), 1, 0xFFFFFF, 2); _local1 = (_local1 + 5); _local2++; }; } public function loadMe(_arg1:Event):void{ var _local2:*; var _local3:*; timer44++; _local2 = stage.loaderInfo.bytesLoaded; _local3 = stage.loaderInfo.bytesTotal; if ((((((_local2 == null)) || ((_local3 == null)))) || ((_local3 <= 0)))){ _local2 = 0; _local3 = 100; }; if ((((_local2 >= _local3)) && ((timer44 > 150)))){ this.removeEventListener(Event.ENTER_FRAME, loadMe); closeBtn.gotoAndStop(2); loadblock.gotoAndStop(2); } else { loader.gotoAndStop((Math.floor(((_local2 / _local3) * 10)) + 1)); }; } public function init():void{ addChild(Title); addChild(loadgame); addChild(controls); addChild(gameOver); addChild(credits); Title.alillmbtn.addEventListener(MouseEvent.CLICK, clickalillm); credits.x = -800; gameOver.x = -800; controls.x = -800; loadgame.x = -800; updates.x = -800; game = new Sprite(); sprites = new Sprite(); addChild(game); display = new BitmapData(stageW, stageH, true, 0xFFFFFF); dispbmp = new Bitmap(display); game.addChild(dispbmp); game.addChild(sprites); game.addChild(trans); game.addChild(ltrans); particles = new Array(); parts = new Array(); flames = new Array(); grenades = new Array(); explosions = new Array(); doorObs = new Array(); switches = new Array(); fliers = new Array(); grunts = new Array(); turrets = new Array(); heavies = new Array(); launchers = new Array(); missiles = new Array(); lifts = new Array(); pickups = new Array(); jumpPads = new Object(); conveyors = new Array(); flamePads = new Array(); tvs = new Array(); savePoints = new Array(); bossParts = new Array(); octobombs = new Array(); computers = new Array(); gameState = "title"; resetData(); addChild(updates); addChild(cursor); } public function updatePlayer():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; var _local5:Array; var _local6:int; var _local7:Array; var _local8:Array; var _local9:Array; var _local10:Array; var _local11:Array; var _local12:Array; var _local13:Boolean; var _local14:Boolean; var _local15:Boolean; var _local16:Boolean; var _local17:int; var _local18:int; var _local19:int; var _local20:*; var _local21:int; var _local22:Array; _local1 = Math.floor((((playerOb.x - (playerOb.w / 2)) + 1) / tileW)); _local2 = Math.floor((((playerOb.x + (playerOb.w / 2)) - 1) / tileW)); _local3 = Math.floor(((playerOb.y + playerOb.jumpSpeed) / tileH)); _local4 = Math.floor((((playerOb.y - playerOb.h) + playerOb.jumpSpeed) / tileH)); if (playerOb.locky != nullLock){ playerOb.forcex = playerOb.locky.xv; }; if ((((map[_local3][_local1] == 3)) && ((map[_local3][_local2] == 3)))){ playerDie(); playerOb.forcex = 0; return; }; if ((((map[_local3][_local1] == 4)) && ((map[_local3][_local2] == 4)))){ boing.play(); playerOb.jumpSpeed = -20; playerOb.y = (playerOb.y - 15); playerOb.onGround = false; jumpPads[((("pad_" + _local3) + "_") + _local1)].timer = 12; upPads.push([_local3, _local1]); levelMap.fillRect(new Rectangle((_local1 * tileH), (_local3 * tileW), tileW, tileH), 0xFFFFFF); levelMap.copyPixels(jumpUp, new Rectangle(0, 0, tileW, (tileH + 15)), new Point((_local1 * tileW), ((_local3 * tileH) - 15))); playerOb.forcex = 0; } else { if ((((((((((((map[_local3][_local1] == 8)) || ((map[_local3][_local2] == 8)))) || ((map[_local3][_local1] == 9)))) || ((map[_local3][_local2] == 9)))) || ((map[_local3][_local1] == 10)))) || ((map[_local3][_local2] == 10)))){ playerOb.forcex = 2; } else { if ((((((((((((map[_local3][_local1] == 11)) || ((map[_local3][_local2] == 11)))) || ((map[_local3][_local1] == 12)))) || ((map[_local3][_local2] == 12)))) || ((map[_local3][_local1] == 13)))) || ((map[_local3][_local2] == 13)))){ playerOb.forcex = -2; } else { if ((((((map[_local3][_local1] >= 0)) && ((map[_local3][_local2] >= 0)))) && ((playerOb.locky == nullLock)))){ playerOb.forcex = 0; }; }; }; }; if (playerOb.onGround == false){ if (playerOb.jumpSpeed >= 0){ if ((((map[_local3][_local1] > 0)) || ((map[_local3][_local2] > 0)))){ playerOb.onGround = true; playerOb.y = (_local3 * tileH); playerOb.jumpSpeed = 0; playerOb.locky = nullLock; }; if (playerOb.locky != nullLock){ if (((!((map[_local4][_local1] == 0))) || (!((map[_local4][_local2] == 0))))){ playerDie(); return; }; if (checkLiftBounds(playerOb.locky, (playerOb.x - (playerOb.w / 2)), (playerOb.y + 6)) == false){ if (checkLiftBounds(playerOb.locky, (playerOb.x + (playerOb.w / 2)), (playerOb.y + 6)) == false){ playerOb.locky = nullLock; playerOb.forcex = 0; }; }; }; _local21 = 0; while (_local21 < lifts.length) { if (playerOb.y <= (lifts[_local21].y + 20)){ if ((((checkLiftBounds(lifts[_local21], (playerOb.x - (playerOb.w / 2)), ((playerOb.y + playerOb.jumpSpeed) + 1)) == true)) || ((checkLiftBounds(lifts[_local21], (playerOb.x + (playerOb.w / 2)), ((playerOb.y + playerOb.jumpSpeed) + 1)) == true)))){ playerOb.onGround = true; playerOb.y = lifts[_local21].y; playerOb.jumpSpeed = 0; playerOb.forcex = lifts[_local21].xv; playerOb.locky = lifts[_local21]; }; }; _local21++; }; } else { if ((((map[_local4][_local1] > 0)) || ((map[_local4][_local2] > 0)))){ playerOb.y = (((_local4 * tileH) + playerOb.h) + tileH); playerOb.jumpSpeed = 0; playerOb.jumping = false; }; }; if (playerOb.locky == nullLock){ playerOb.y = (playerOb.y + playerOb.jumpSpeed); } else { playerOb.y = playerOb.locky.y; }; if ((((((playerOb.jumpSpeed < 20)) && ((playerOb.jumping == false)))) && ((playerOb.locky == nullLock)))){ playerOb.jumpSpeed = (playerOb.jumpSpeed + grav); }; } else { if ((((map[_local3][_local1] > 0)) || ((map[_local3][_local2] > 0)))){ playerOb.locky = nullLock; }; if (playerOb.locky != nullLock){ playerOb.y = playerOb.locky.y; }; if ((((map[_local3][_local1] == 0)) && ((map[_local3][_local2] == 0)))){ playerOb.onGround = false; }; }; _local5 = checkHitLifts(((playerOb.x - (playerOb.w / 2)) + 2), ((playerOb.y - playerOb.h) + playerOb.jumpSpeed)); if (_local5[0] == true){ if (playerOb.onGround == false){ if (playerOb.jumpSpeed < 0){ playerOb.y = (((_local5[1].y + (_local5[1].h * tileH)) + playerOb.h) + _local5[1].yv); playerOb.jumpSpeed = 1; playerOb.jumping = false; }; } else { if (_local5[1].yv > 0){ playerDie(); return; }; }; } else { _local22 = checkHitLifts(((playerOb.x + (playerOb.w / 2)) - 2), ((playerOb.y - playerOb.h) + playerOb.jumpSpeed)); if (_local22[0] == true){ if (playerOb.onGround == false){ if (playerOb.jumpSpeed < 0){ playerOb.y = (((_local22[1].y + (_local22[1].h * tileH)) + playerOb.h) + _local22[1].yv); playerOb.jumpSpeed = 1; playerOb.jumping = false; }; } else { if (_local22[1].yv > 0){ playerDie(); return; }; }; }; }; if ((((downKeys[("key" + controlsList[2])] == true)) && ((gameState == "game")))){ if (((playerOb.onGround) || (!((playerOb.locky == nullLock))))){ jump.play(); playerOb.locky = nullLock; playerOb.forcex = 0; playerOb.jumping = true; playerOb.jumpSpeed = -5; playerOb.onGround = false; }; } else { playerOb.jumping = false; }; if (playerOb.jumping == true){ if (playerOb.jumpSpeed > -9){ playerOb.jumpSpeed = (playerOb.jumpSpeed - 0.5); if (playerOb.jumpSpeed <= -9){ playerOb.jumping = false; }; }; }; if ((((downKeys[("key" + controlsList[1])] == true)) && ((gameState == "game")))){ playerOb.speed = (playerOb.speed + 0.6); if (playerOb.speed > playerOb.maxSpeed){ playerOb.speed = playerOb.maxSpeed; }; if (player.legs.currentFrame != 2){ player.legs.gotoAndStop(2); }; player.scaleX = 1; player.reload.scaleX = 1; } else { if ((((downKeys[("key" + controlsList[0])] == true)) && ((gameState == "game")))){ playerOb.speed = (playerOb.speed - 0.6); if (playerOb.speed < -(playerOb.maxSpeed)){ playerOb.speed = -(playerOb.maxSpeed); }; if (player.legs.currentFrame != 2){ player.legs.gotoAndStop(2); }; player.scaleX = -1; player.reload.scaleX = -1; } else { if (playerOb.speed > 0){ playerOb.speed = (playerOb.speed - 0.3); if (playerOb.speed < 0){ playerOb.speed = 0; }; } else { if (playerOb.speed < 0){ playerOb.speed = (playerOb.speed + 0.3); if (playerOb.speed > 0){ playerOb.speed = 0; }; } else { playerOb.speed = 0; }; }; player.legs.gotoAndStop(1); }; }; _local1 = Math.floor(((((playerOb.x + playerOb.speed) - (playerOb.w / 2)) + playerOb.forcex) / tileW)); _local2 = Math.floor(((((playerOb.x + playerOb.speed) + (playerOb.w / 2)) + playerOb.forcex) / tileW)); _local3 = Math.floor(((playerOb.y - 1) / tileH)); _local4 = Math.floor((((playerOb.y - playerOb.h) + 1) / tileH)); _local6 = Math.floor(((playerOb.y - (playerOb.h / 2)) / tileH)); _local7 = checkHitLifts((((playerOb.x + (playerOb.w / 2)) + playerOb.speed) + playerOb.forcex), ((playerOb.y - playerOb.h) + 3)); _local8 = checkHitLifts((((playerOb.x + (playerOb.w / 2)) + playerOb.speed) + playerOb.forcex), (playerOb.y - 3)); _local9 = checkHitLifts((((playerOb.x + (playerOb.w / 2)) + playerOb.speed) + playerOb.forcex), (playerOb.y - (playerOb.h / 2))); _local10 = checkHitLifts((((playerOb.x - (playerOb.w / 2)) + playerOb.speed) + playerOb.forcex), ((playerOb.y - playerOb.h) + 3)); _local11 = checkHitLifts((((playerOb.x - (playerOb.w / 2)) + playerOb.speed) + playerOb.forcex), (playerOb.y - 3)); _local12 = checkHitLifts((((playerOb.x - (playerOb.w / 2)) + playerOb.speed) + playerOb.forcex), (playerOb.y - (playerOb.h / 2))); if (_local7[0] == true){ playerOb.x = (_local7[1].x - (playerOb.w / 2)); playerOb.speed = 0; } else { if (_local8[0] == true){ playerOb.x = (_local8[1].x - (playerOb.w / 2)); playerOb.speed = 0; } else { if (_local9[0] == true){ playerOb.x = (_local9[1].x - (playerOb.w / 2)); playerOb.speed = 0; } else { if (_local10[0] == true){ playerOb.x = ((_local10[1].x + (_local10[1].w * tileW)) + (playerOb.w / 2)); playerOb.speed = 0; } else { if (_local11[0] == true){ playerOb.x = ((_local11[1].x + (_local11[1].w * tileW)) + (playerOb.w / 2)); playerOb.speed = 0; } else { if (_local12[0] == true){ playerOb.x = ((_local12[1].x + (_local12[1].w * tileW)) + (playerOb.w / 2)); playerOb.speed = 0; }; }; }; }; }; }; _local13 = false; _local14 = false; _local15 = false; _local16 = false; if (liftsCollider.getPixel(((playerOb.x + playerOb.speed) - (playerOb.w / 2)), (playerOb.y - 10)) == 0){ _local15 = true; }; if (liftsCollider.getPixel(((playerOb.x + playerOb.speed) - (playerOb.w / 2)), ((playerOb.y + 10) - playerOb.h)) == 0){ _local13 = true; }; if (liftsCollider.getPixel(((playerOb.x + playerOb.speed) + (playerOb.w / 2)), (playerOb.y - 10)) == 0){ _local16 = true; }; if (liftsCollider.getPixel(((playerOb.x + playerOb.speed) + (playerOb.w / 2)), ((playerOb.y + 10) - playerOb.h)) == 0){ _local14 = true; }; if ((((_local15 == true)) && ((_local16 == true)))){ playerDie(); return; }; if ((((_local13 == true)) && ((_local16 == true)))){ playerDie(); return; }; if ((((_local13 == true)) && ((_local14 == true)))){ playerDie(); return; }; if ((((_local15 == true)) && ((_local14 == true)))){ playerDie(); return; }; if ((((_local15 == true)) && (!((map[_local3][_local2] == 0))))){ playerDie(); return; }; if ((((_local15 == true)) && (!((map[_local4][_local2] == 0))))){ playerDie(); return; }; if ((((_local13 == true)) && (!((map[_local3][_local2] == 0))))){ playerDie(); return; }; if ((((_local13 == true)) && (!((map[_local4][_local2] == 0))))){ playerDie(); return; }; if ((((_local16 == true)) && (!((map[_local3][_local1] == 0))))){ playerDie(); return; }; if ((((_local16 == true)) && (!((map[_local4][_local1] == 0))))){ playerDie(); return; }; if ((((_local14 == true)) && (!((map[_local3][_local1] == 0))))){ playerDie(); return; }; if ((((_local14 == true)) && (!((map[_local4][_local1] == 0))))){ playerDie(); return; }; if ((playerOb.speed + playerOb.forcex) > 0){ if ((((((((map[_local3][_local2] == 0)) && ((map[_local4][_local2] == 0)))) && ((map[_local6][_local2] == 0)))) && ((checkCollisionBoss(((playerOb.x + playerOb.speed) + playerOb.forcex), playerOb.y) == false)))){ playerOb.x = (playerOb.x + (playerOb.speed + playerOb.forcex)); } else { playerOb.x = ((_local2 * tileW) - (playerOb.w / 2)); }; } else { if ((playerOb.speed + playerOb.forcex) < 0){ if ((((((((map[_local3][_local1] == 0)) && ((map[_local4][_local1] == 0)))) && ((map[_local6][_local1] == 0)))) && ((checkCollisionBoss(((playerOb.x + playerOb.speed) + playerOb.forcex), playerOb.y) == false)))){ playerOb.x = (playerOb.x + (playerOb.speed + playerOb.forcex)); } else { playerOb.x = (((_local1 * tileW) + tileW) + (playerOb.w / 2)); }; }; }; if (playerOb.health <= 0){ playerDie(); }; _local18 = ((mouseX - (player.x + gun.x)) * player.scaleX); _local19 = (mouseY - (player.y + gun.y)); _local20 = Math.atan2(_local19, _local18); gun.rotation = ((_local20 * (180 / Math.PI)) + gunoffset); } public function respawn():void{ var _local1:int; deathTime--; if (deathTime <= 20){ if (gameoverswitch == true){ gameoverswitch = false; gameState = "trans"; transto = "gameover"; trans.play(); soundto = 3; soundDir = 2; return; }; playerOb.x = (playerOb.x + moveScreenX); playerOb.y = (playerOb.y + moveScreenY); }; if (deathTime == 10){ respawnsound.play(); }; if (deathTime == 1){ player.gotoAndStop(1); }; if (deathTime <= 0){ playerOb.speed = 0; playerOb.jumpSpeed = 0; playerOb.onGround = true; playerOb.health = playerOb.maxHealth; changeGun(); clearLevel(); loadMap(currentLevel, currentStage); playerOb.x = lastStartX; playerOb.y = lastStartY; if ((((currentLevel == 6)) && ((currentStage == 5)))){ _local1 = 0; while (_local1 < lifts.length) { if ((((lifts[_local1].id >= 1)) && ((lifts[_local1].id <= 2)))){ lifts[_local1].s = 1; lifts[_local1].ch = liftrun.play(); lifts[_local1].xv = lifts[_local1].xMove; lifts[_local1].yv = lifts[_local1].yMove; } else { if (lifts[_local1].id == 0){ lifts[_local1].s = 2; lifts[_local1].once = 2; lifts[_local1].x = (lifts[_local1].ex * tileW); lifts[_local1].y = (lifts[_local1].ey * tileH); }; }; _local1++; }; }; }; } public function botExplode(_arg1:int, _arg2:int):void{ var _local3:int; var _local4:int; die1.play(); _local3 = 0; while (_local3 < 8) { newParticle(_arg1, _arg2, 3, ((Math.random() * 4) + 1)); _local3++; }; _local4 = 0; while (_local4 < 16) { newExplosionParticle(_arg1, _arg2, 4, ((Math.random() * 4) + 1)); _local4++; }; newPart(_arg1, (_arg2 - 50), 3, 0, 15, 1); newPart(_arg1, (_arg2 - 30), 3, 0, 5, 1); newPart(_arg1, (_arg2 - 20), 3, 0, 6, 1); newPart(_arg1, (_arg2 - 10), 3, 0, 7, 1); newPart(_arg1, (_arg2 - 3), 3, 0, 8, 1); } public function launcherExplode(_arg1:int, _arg2:int, _arg3:Number, _arg4:int=1):void{ var _local5:int; var _local6:int; var _local7:int; playerOb.kills++; _local5 = ((Math.random() * 2) + 1); this[("die" + _local5)].play(); _local6 = 0; while (_local6 < 10) { newParticle(_arg1, _arg2, 3, ((Math.random() * 4) + 1)); _local6++; }; _local7 = 0; while (_local7 < 15) { newExplosionParticle(_arg1, _arg2, 5, ((Math.random() * 4) + 1)); _local7++; }; newPart(_arg1, (_arg2 - 20), _arg3, 0, 22, _arg4); newPart(_arg1, _arg2, _arg3, 0, 23, _arg4); } public function clearLevel():void{ var _local1:int; _local1 = 0; while (_local1 < particles.length) { sprites.removeChild(particles[_local1]); _local1++; }; _local1 = 0; while (_local1 < parts.length) { sprites.removeChild(parts[_local1]); _local1++; }; _local1 = 0; while (_local1 < grenades.length) { sprites.removeChild(grenades[_local1]); _local1++; }; _local1 = 0; while (_local1 < flames.length) { sprites.removeChild(flames[_local1]); _local1++; }; _local1 = 0; while (_local1 < doorObs.length) { sprites.removeChild(doorObs[_local1]); _local1++; }; _local1 = 0; while (_local1 < switches.length) { sprites.removeChild(switches[_local1]); _local1++; }; _local1 = 0; while (_local1 < fliers.length) { sprites.removeChild(fliers[_local1]); _local1++; }; _local1 = 0; while (_local1 < grunts.length) { sprites.removeChild(grunts[_local1]); _local1++; }; _local1 = 0; while (_local1 < turrets.length) { sprites.removeChild(turrets[_local1]); _local1++; }; _local1 = 0; while (_local1 < heavies.length) { sprites.removeChild(heavies[_local1]); _local1++; }; _local1 = 0; while (_local1 < launchers.length) { sprites.removeChild(launchers[_local1]); _local1++; }; _local1 = 0; while (_local1 < missiles.length) { sprites.removeChild(missiles[_local1]); _local1++; }; _local1 = 0; while (_local1 < lifts.length) { sprites.removeChild(lifts[_local1]); _local1++; }; _local1 = 0; while (_local1 < pickups.length) { sprites.removeChild(pickups[_local1]); _local1++; }; _local1 = 0; while (_local1 < tvs.length) { sprites.removeChild(tvs[_local1]); _local1++; }; _local1 = 0; while (_local1 < savePoints.length) { sprites.removeChild(savePoints[_local1]); _local1++; }; _local1 = 0; while (_local1 < bossParts.length) { sprites.removeChild(bossParts[_local1]); _local1++; }; _local1 = 0; while (_local1 < octobombs.length) { sprites.removeChild(octobombs[_local1]); _local1++; }; particles = new Array(); parts = new Array(); grenades = new Array(); explosions = new Array(); flames = new Array(); doorObs = new Array(); switches = new Array(); fliers = new Array(); grunts = new Array(); turrets = new Array(); heavies = new Array(); launchers = new Array(); missiles = new Array(); lifts = new Array(); pickups = new Array(); jumpPads = new Object(); upPads = new Array(); flamePads = new Array(); conveyors = new Array(); tvs = new Array(); bossParts = new Array(); octobombs = new Array(); savePoints = new Array(); computers = new Array(); sprites.removeChild(fadebmp); } public function updateFlamePads():void{ var _local1:int; var _local2:Object; var _local3:int; var _local4:int; var _local5:*; _local1 = 0; while (_local1 < flamePads.length) { _local2 = flamePads[_local1]; _local2.t--; if (_local2.t == 0){ _local2.ob.sc = flamersound.play(); }; if (_local2.t < 0){ fireFlame2((((_local2.x * tileW) + (tileW / 2)) + (_local2.xv * 2.1)), (((_local2.y * tileH) + (tileH / 2)) + (_local2.yv * 2.1)), _local2.xv, _local2.yv); if (_local2.t <= -50){ _local2.t = 100; _local2.ob.sc.stop(); }; }; _local3 = (playerOb.x - ((_local2.x * tileW) + 15)); _local4 = ((playerOb.y - 30) - ((_local2.y * tileH) + 15)); _local5 = Math.sqrt(((_local3 * _local3) + (_local4 * _local4))); if (_local5 <= 300){ _local2.ob.sc.soundTransform = new SoundTransform(((300 - _local5) / 300), 0); } else { _local2.ob.sc.soundTransform = new SoundTransform(0, 0); }; _local1++; }; } public function updateLoad():void{ if ((((stage.mouseY > 490)) && ((stage.mouseY < 530)))){ if ((((stage.mouseX > 200)) && ((stage.mouseX < 340)))){ if (rolledOver != 1){ rolledOver = 1; rollover.play(); }; loadgame.backbtn.gotoAndStop(2); loadgame.slot1.gotoAndStop(1); loadgame.slot2.gotoAndStop(1); loadgame.slot3.gotoAndStop(1); menuOption = 1; }; } else { if ((((stage.mouseY > 120)) && ((stage.mouseY < 220)))){ if (rolledOver != 2){ rolledOver = 2; rollover.play(); }; loadgame.backbtn.gotoAndStop(1); loadgame.slot1.gotoAndStop(2); loadgame.slot2.gotoAndStop(1); loadgame.slot3.gotoAndStop(1); menuOption = 2; } else { if ((((stage.mouseY > 250)) && ((stage.mouseY < 350)))){ if (rolledOver != 3){ rolledOver = 3; rollover.play(); }; loadgame.backbtn.gotoAndStop(1); loadgame.slot1.gotoAndStop(1); loadgame.slot2.gotoAndStop(2); loadgame.slot3.gotoAndStop(1); menuOption = 3; } else { if ((((stage.mouseY > 380)) && ((stage.mouseY < 480)))){ if (rolledOver != 4){ rolledOver = 4; rollover.play(); }; loadgame.backbtn.gotoAndStop(1); loadgame.slot1.gotoAndStop(1); loadgame.slot2.gotoAndStop(1); loadgame.slot3.gotoAndStop(2); menuOption = 4; } else { rolledOver = 0; loadgame.backbtn.gotoAndStop(1); loadgame.slot1.gotoAndStop(1); loadgame.slot2.gotoAndStop(1); loadgame.slot3.gotoAndStop(1); menuOption = 0; }; }; }; }; } public function newExplosion(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{ var _local6:Object; _local6 = {x:_arg1, y:_arg2, rad:0, dec:(_arg3 / (_arg4 / 20)), dam:_arg3, max:_arg4, t:_arg5}; explosions.push(_local6); } public function wallHit(_arg1:int, _arg2:int):void{ var _local3:int; _local3 = 0; while (_local3 < 8) { newParticle(_arg1, _arg2, 2, ((Math.random() * 2) + 1)); _local3++; }; } public function updatePopup():void{ var _local1:*; if (pop.currentFrame == 23){ _local1 = 0; while (_local1 < 3) { if (this[("slot" + (_local1 + 1))].data.dat == undefined){ pop[("option" + (_local1 + 1))].txt.text = (("SLOT " + String((_local1 + 1))) + " - EMPTY"); } else { if (this[("slot" + (_local1 + 1))].data.dat.length == 0){ pop[("option" + (_local1 + 1))].txt.text = (("SLOT " + String((_local1 + 1))) + " - EMPTY"); } else { pop[("option" + (_local1 + 1))].txt.text = ((((("SLOT " + String((_local1 + 1))) + " - LEVEL ") + this[("slot" + (_local1 + 1))].data.dat[0]) + " | ") + this[("slot" + (_local1 + 1))].data.dat[1]); }; }; _local1++; }; if ((((stage.mouseY > 175)) && ((stage.mouseY < 203)))){ if (rolledOver != 1){ rolledOver = 1; rollover.play(); }; pop.option1.gotoAndStop(2); pop.option2.gotoAndStop(1); pop.option3.gotoAndStop(1); pop.option4.gotoAndStop(1); menuOption = 1; } else { if ((((stage.mouseY > 215)) && ((stage.mouseY < 242)))){ if (rolledOver != 2){ rolledOver = 2; rollover.play(); }; pop.option1.gotoAndStop(1); pop.option2.gotoAndStop(2); pop.option3.gotoAndStop(1); pop.option4.gotoAndStop(1); menuOption = 2; } else { if ((((stage.mouseY > 260)) && ((stage.mouseY < 288)))){ if (rolledOver != 3){ rolledOver = 3; rollover.play(); }; pop.option1.gotoAndStop(1); pop.option2.gotoAndStop(1); pop.option3.gotoAndStop(2); pop.option4.gotoAndStop(1); menuOption = 3; } else { if ((((stage.mouseY > 300)) && ((stage.mouseY < 328)))){ if (rolledOver != 4){ rolledOver = 4; rollover.play(); }; pop.option1.gotoAndStop(1); pop.option2.gotoAndStop(1); pop.option3.gotoAndStop(1); pop.option4.gotoAndStop(2); menuOption = 4; } else { rolledOver = 0; pop.option1.gotoAndStop(1); pop.option2.gotoAndStop(1); pop.option3.gotoAndStop(1); pop.option4.gotoAndStop(1); menuOption = 0; }; }; }; }; } else { if (pop.currentFrame == 36){ if ((((stage.mouseY > 242)) && ((stage.mouseY < 272)))){ if (rolledOver != 1){ rolledOver = 1; rollover.play(); }; pop.op1.gotoAndStop(2); pop.op2.gotoAndStop(1); menuOption = 1; } else { if ((((stage.mouseY > 272)) && ((stage.mouseY < 302)))){ if (rolledOver != 2){ rolledOver = 2; rollover.play(); }; pop.op1.gotoAndStop(1); pop.op2.gotoAndStop(2); menuOption = 2; } else { rolledOver = 0; pop.op1.gotoAndStop(1); pop.op2.gotoAndStop(1); menuOption = 0; }; }; } else { if (pop.currentFrame == 49){ if ((((stage.mouseY > 252)) && ((stage.mouseY < 279)))){ if (rolledOver != 1){ rolledOver = 1; rollover.play(); }; pop.option1.gotoAndStop(2); menuOption = 1; } else { rolledOver = 0; pop.option1.gotoAndStop(1); menuOption = 0; }; } else { if (pop.currentFrame == 72){ removeChild(pop); if (finalsave == false){ gameState = "game"; } else { gameState = "trans"; transto = "creditsfromgame"; finalsave = false; }; } else { if (pop.currentFrame == 107){ removeChild(pop); if (finalsave == false){ gameState = "game"; } else { gameState = "trans"; transto = "creditsfromgame"; finalsave = false; }; }; }; }; }; }; } public function reloadGrenade(_arg1:int):void{ if (_arg1 == 69){ bulletin.play(); } else { if (_arg1 == 58){ bulletin.play(); } else { if (_arg1 == 47){ bulletin.play(); } else { if (_arg1 == 36){ bulletin.play(); } else { if (_arg1 == 25){ bulletin.play(); } else { if (_arg1 == 14){ bulletin.play(); }; }; }; }; }; }; } public function updateOctobombs():void{ var _local1:int; var _local2:octobomb; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; _local1 = 0; while (_local1 < octobombs.length) { _local2 = octobombs[_local1]; _local2.y = (_local2.y + _local2.yv); if (_local2.yv < 15){ _local2.yv = (_local2.yv + 0.5); }; _local3 = ((_local2.x + 15) - playerOb.x); _local4 = ((_local2.y + 15) - (playerOb.y - 30)); if (((_local3 * _local3) + (_local4 * _local4)) < 900){ playerOb.health = 0; _local2.dead = true; }; _local5 = Math.floor(((_local2.x + 15) / tileW)); _local6 = Math.floor(((_local2.y + 30) / tileH)); if (((((!((map[_local6][_local5] == 0))) || ((liftsCollider.getPixel((_local2.x + 15), (_local2.y + 30)) == 0)))) || ((_local2.dead == true)))){ if (_local6 == 27){ _local7 = int((Math.random() * 10)); if (_local7 == 0){ newPickup((_local5 * tileW), ((_local6 * tileH) - 30), 7, 6, 5, 99999); } else { if ((((_local7 == 1)) || ((_local7 == 2)))){ newPickup((_local5 * tileW), ((_local6 * tileH) - 30), 8, 6, 5, 99999); }; }; }; grenadeExplode((_local2.x + 15), (_local2.y + 15)); sprites.removeChild(_local2); octobombs.splice(_local1, 1); _local1--; }; _local1++; }; } public function updateExplosions():void{ var _local1:int; var _local2:int; var _local3:Object; var _local4:flier; var _local5:grunt; var _local6:turret; var _local7:heavy; var _local8:launcher; var _local9:Object; _local1 = 0; _local2 = 0; while (_local2 < explosions.length) { _local3 = explosions[_local2]; _local1 = 0; while (_local1 < fliers.length) { _local4 = fliers[_local1]; if (((((((!((_local4.explosionHits[0] == _local3))) && (!((_local4.explosionHits[1] == _local3))))) && (!((_local4.explosionHits[2] == _local3))))) && (!((_local4.explosionHits[3] == _local3))))){ if ((((_local4.x - _local3.x) * (_local4.x - _local3.x)) + ((_local4.y - _local3.y) * (_local4.y - _local3.y))) < ((10 + _local3.rad) * (10 + _local3.rad))){ if (LOS(_local4.x, _local4.y, _local3.x, _local3.y) == true){ _local4.explosionHits.splice(0, 0, _local3); _local4.health = (_local4.health - _local3.dam); _local4.hitTime = 30; _local4.hbar.alpha = 1; _local4.hbar.bar.width = ((_local4.health / 2) * 25); }; }; }; _local1++; }; _local1 = 0; while (_local1 < grunts.length) { _local5 = grunts[_local1]; if (((((((!((_local5.explosionHits[0] == _local3))) && (!((_local5.explosionHits[1] == _local3))))) && (!((_local5.explosionHits[2] == _local3))))) && (!((_local5.explosionHits[3] == _local3))))){ if ((((_local5.x - _local3.x) * (_local5.x - _local3.x)) + ((_local5.y - _local3.y) * (_local5.y - _local3.y))) < ((40 + _local3.rad) * (40 + _local3.rad))){ if (LOS(_local5.x, (_local5.y - 25), _local3.x, _local3.y) == true){ _local5.explosionHits.splice(0, 0, _local3); _local5.health = (_local5.health - _local3.dam); _local5.hitTime = 30; _local5.hbar.alpha = 1; _local5.hbar.bar.width = ((_local5.health / 12) * 25); }; }; }; _local1++; }; _local1 = 0; while (_local1 < turrets.length) { _local6 = turrets[_local1]; if (((((((!((_local6.explosionHits[0] == _local3))) && (!((_local6.explosionHits[1] == _local3))))) && (!((_local6.explosionHits[2] == _local3))))) && (!((_local6.explosionHits[3] == _local3))))){ if ((((_local6.x - _local3.x) * (_local6.x - _local3.x)) + ((_local6.y - _local3.y) * (_local6.y - _local3.y))) < ((30 + _local3.rad) * (30 + _local3.rad))){ if (LOS(_local6.x, (_local6.y + 15), _local3.x, _local3.y) == true){ _local6.explosionHits.splice(0, 0, _local3); _local6.health = (_local6.health - _local3.dam); _local6.hitTime = 30; _local6.hbar.alpha = 1; _local6.hbar.bar.width = ((_local6.health / 10) * 25); }; }; }; _local1++; }; _local1 = 0; while (_local1 < heavies.length) { _local7 = heavies[_local1]; if (((((((!((_local7.explosionHits[0] == _local3))) && (!((_local7.explosionHits[1] == _local3))))) && (!((_local7.explosionHits[2] == _local3))))) && (!((_local7.explosionHits[3] == _local3))))){ if ((((_local7.x - _local3.x) * (_local7.x - _local3.x)) + ((_local7.y - _local3.y) * (_local7.y - _local3.y))) < ((40 + _local3.rad) * (40 + _local3.rad))){ if (LOS(_local7.x, (_local7.y - 25), _local3.x, _local3.y) == true){ _local7.explosionHits.splice(0, 0, _local3); _local7.health = (_local7.health - _local3.dam); _local7.hitTime = 30; _local7.hbar.alpha = 1; _local7.hbar.bar.width = ((_local7.health / 15) * 25); }; }; }; _local1++; }; _local1 = 0; while (_local1 < launchers.length) { _local8 = launchers[_local1]; if (((((((!((_local8.explosionHits[0] == _local3))) && (!((_local8.explosionHits[1] == _local3))))) && (!((_local8.explosionHits[2] == _local3))))) && (!((_local8.explosionHits[3] == _local3))))){ if ((((_local8.x - _local3.x) * (_local8.x - _local3.x)) + ((_local8.y - _local3.y) * (_local8.y - _local3.y))) < ((40 + _local3.rad) * (40 + _local3.rad))){ if (LOS(_local8.x, (_local8.y - 15), _local3.x, _local3.y) == true){ _local8.explosionHits.splice(0, 0, _local3); _local8.health = (_local8.health - _local3.dam); _local8.hitTime = 30; _local8.hbar.alpha = 1; _local8.hbar.bar.width = ((_local8.health / 30) * 25); }; }; }; _local1++; }; _local1 = 0; while (_local1 < computers.length) { _local9 = computers[_local1]; if (Math.abs((_local9.x - _local3.x)) <= 20){ if ((((_local3.y >= _local9.y)) && ((_local3.y <= (_local9.y + _local9.h))))){ if (_local9.side == 1){ bossInfo.lCompHealth = (bossInfo.lCompHealth - 10); _local9.ob.play(); } else { if (_local9.side == 2){ bossInfo.rCompHealth = (bossInfo.rCompHealth - 10); _local9.ob.play(); } else { bossInfo.health = (bossInfo.health - 10); }; }; explosions.splice(_local2, 1); _local2--; }; }; _local1++; }; _local3.rad = (_local3.rad + 20); _local3.dam = (_local3.dam - _local3.dec); if (_local3.rad > _local3.max){ explosions.splice(_local2, 1); _local2--; }; _local2++; }; } public function newLauncher(_arg1:int, _arg2:int):void{ var _local3:launcher; _local3 = new launcher(); sprites.addChild(_local3); _local3.x = _arg1; _local3.y = _arg2; _local3.health = 30; _local3.lastHealth = 30; _local3.gun.rotation = ((Math.random() * 180) + 180); _local3.seeking = false; _local3.checkLos = int((Math.random() * 5)); _local3.dir = 1; _local3.shootTime = 0; _local3.ang = 0; _local3.onFire = 0; _local3.explosionHits = []; _local3.hbar.alpha = 0; _local3.hitTime = 0; _local3.range = 500; launchers.push(_local3); } public function checkCollisionBoss(_arg1:int, _arg2:int):Boolean{ if ((((currentLevel == 6)) && ((currentStage == 5)))){ if ((((_arg2 > computers[0].y)) && (((_arg2 - playerOb.h) < (computers[0].y + 120))))){ if ((((_arg1 > (computers[0].x - 30))) && ((_arg1 < (computers[1].x + 30))))){ return (true); }; }; }; return (false); } public function getLink1(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.coolbuddy.com/?cid=189"); navigateToURL(_local2, "_blank"); } public function getLink2(_arg1:MouseEvent):void{ var _local2:URLRequest; MochiBot.track(this, "01d06294"); _local2 = new URLRequest("http://www.alillm.com/games.html"); navigateToURL(_local2, "_blank"); } public function getLink3(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://lambdarecords.net/artists/akelixe/"); navigateToURL(_local2, "_blank"); } public function rollOverCool(_arg1:MouseEvent):void{ coolbuddy.gotoAndStop(2); } public function updateSound():void{ if (soundDir == 1){ if (musicChannel.soundTransform.volume < 1){ musicChannel.soundTransform = new SoundTransform((musicChannel.soundTransform.volume + 0.03), 0); }; if ((((soundto == 1)) && ((music2Channel.soundTransform.volume < 1)))){ music2Channel.soundTransform = new SoundTransform((music2Channel.soundTransform.volume + 0.03), 0); }; } else { if (soundDir == 2){ if (musicChannel.soundTransform.volume > 0){ musicChannel.soundTransform = new SoundTransform((musicChannel.soundTransform.volume - 0.03), 0); if (music2Channel.soundTransform.volume > 0){ music2Channel.soundTransform = new SoundTransform((music2Channel.soundTransform.volume - 0.03), 0); }; if (musicChannel.soundTransform.volume <= 0){ musicChannel.stop(); soundDir = 1; if (soundto == 2){ musicChannel = bgLoop.play(0, 9999); } else { if (soundto == 3){ musicChannel = menuLoop.play(0, 9999); }; }; musicChannel.soundTransform = new SoundTransform(0, 0); }; }; }; }; } public function mouseup(_arg1:MouseEvent):void{ MD = false; firing = false; coolDown = 0; gunoffset = 0; fireSoundTime = 0; channel2.stop(); channel3.stop(); channel4.stop(); } public function reloadMachinegun(_arg1:int):void{ if (_arg1 == 43){ loadopen.play(); } else { if (_arg1 == 25){ bulletin.play(); } else { if (_arg1 == 15){ loadclose.play(); }; }; }; } public function newFlierBoss(_arg1:int, _arg2:int, _arg3:Number, _arg4:Number):void{ var _local5:flier; var _local6:Number; _local5 = new flier(); sprites.addChild(_local5); _local5.x = _arg1; _local5.y = _arg2; _local5.targX = int((_arg1 + _arg3)); _local5.targY = int((_arg2 + _arg4)); _local6 = Math.atan2(_arg4, _arg3); _local5.xv = (Math.cos(_local6) * 3); _local5.yv = (Math.sin(_local6) * 3); _local5.newTarg = 100; _local5.health = 2; _local5.lastHealth; _local5.seeking = false; _local5.onFire = 0; _local5.explosionHits = []; _local5.checkLos = (int((Math.random() * 5)) + 1); fliers.push(_local5); _local5.hbar.alpha = 0; _local5.hitTime = 0; _local5.maxSearch = 400; } public function updateLaunchers():void{ var _local1:int; var _local2:launcher; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; _local1 = 0; while (_local1 < launchers.length) { _local2 = launchers[_local1]; if (_local2.hitTime > 0){ _local2.hitTime--; if (_local2.hitTime <= 0){ _local2.hbar.alpha = 0; }; }; if (_local2.health <= 0){ launcherExplode(_local2.x, _local2.y, (((_local2.lastHealth - _local2.health) / 3) + 4)); sprites.removeChild(_local2); launchers.splice(_local1, 1); _local1--; } else { if (_local2.lastHealth < _local2.health){ _local2.range = 10000; }; }; if (_local2.onFire > 0){ _local2.onFire--; _local2.health = (_local2.health - 0.05); onFire(_local2.x, (_local2.y - 20), (_local2.onFire / 40)); }; _local2.lastHealth = _local2.health; if ((((_local2.seeking == false)) || ((deathTime > 0)))){ if (_local2.dir == 1){ _local2.gun.rotation++; if ((((_local2.gun.rotation >= -1)) && ((_local2.gun.rotation < 90)))){ _local2.dir = 2; }; } else { _local2.gun.rotation--; if ((((_local2.gun.rotation <= -180)) || ((_local2.gun.rotation > 90)))){ _local2.dir = 1; }; }; _local2.checkLos--; if (_local2.checkLos <= 0){ _local2.checkLos = 5; _local3 = (_local2.x - playerOb.x); _local4 = (_local2.y - playerOb.y); _local5 = ((_local3 * _local3) + (_local4 * _local4)); if (_local5 <= 160000){ exciteTimer = 50; if (soundto != 1){ soundto = 1; soundDir = 2; }; if (LOS(_local2.x, (_local2.y - 30), playerOb.x, (playerOb.y - (playerOb.h / 2)), _local2.range) == true){ _local2.seeking = true; }; }; }; } else { exciteTimer = 50; if (soundto != 1){ soundto = 1; soundDir = 2; }; _local6 = (playerOb.x - _local2.x); _local7 = ((playerOb.y - (playerOb.h / 2)) - _local2.y); _local2.ang = (Math.atan2(_local7, _local6) * (180 / Math.PI)); if (_local2.ang > 360){ _local2.ang = (_local2.ang - 360); } else { if (_local2.ang < 0){ _local2.ang = (_local2.ang + 360); }; }; _local8 = _local2.gun.rotation; if (_local8 < 0){ _local8 = (_local8 + 360); }; _local9 = (_local8 - _local2.ang); if ((((((_local9 > 0)) && ((_local9 <= 180)))) || ((_local9 < -180)))){ _local2.gun.rotation = (_local2.gun.rotation - 2); } else { if ((((((_local9 < 0)) && ((_local9 >= -180)))) || ((_local9 > 180)))){ _local2.gun.rotation = (_local2.gun.rotation + 2); }; }; if (Math.abs(_local9) < 30){ _local2.shootTime--; if (_local2.shootTime <= 0){ _local2.shootTime = 50; shotrocket.play(); newMissile(_local2.x, (_local2.y - 25), _local2.gun.rotation); _local2.gun.play(); }; }; if (LOS(_local2.x, (_local2.y - 30), playerOb.x, (playerOb.y - (playerOb.h / 2)), _local2.range) == false){ _local2.seeking = false; _local2.range = 500; }; }; _local1++; }; } public function fire():void{ var _local1:int; var _local2:int; if (reloading == 0){ if (gunType == 1){ if (gun1.ammo > 0){ playerOb.shots++; shot1.play(); _local1 = (((playerOb.x + (gun.x * player.scaleX)) + ((Math.cos((gun.rotation * (Math.PI / 180))) * 30) * player.scaleX)) + ((Math.sin((gun.rotation * (Math.PI / 180))) * 3) * player.scaleX)); _local2 = (((playerOb.y + gun.y) + (Math.sin((gun.rotation * (Math.PI / 180))) * 30)) - (Math.cos((gun.rotation * (Math.PI / 180))) * 3)); fireLine(_local1, _local2, ((Math.cos((gun.rotation * (Math.PI / 180))) * 10) * player.scaleX), (Math.sin((gun.rotation * (Math.PI / 180))) * 10), 1, 0xFFFFFF, 1); gun1.ammo--; gui.ammo.text = (String(gun1.ammo) + " | X"); } else { reloading = 35; reloadMax = 35; }; } else { if (gunType == 2){ firing = true; } else { if (gunType == 3){ if (gun3.ammo > 0){ playerOb.shots++; fireGrenade(); gun3.ammo--; gui.ammo.text = ((String(gun3.ammo) + " | ") + String(gun3.spare)); } else { if (gun3.spare > 0){ reloading = 70; reloadMax = 70; } else { gunType = 1; gunSelected = 0; changeGun(); changegun.play(); }; }; } else { if (gunType == 4){ if (gun4.ammo > 0){ playerOb.shots++; shot4.play(); fireShotgun(); gun4.ammo--; gui.ammo.text = ((String(gun4.ammo) + " | ") + String(gun4.spare)); } else { if (gun4.spare > 0){ reloading = 60; reloadMax = 60; } else { gunType = 1; gunSelected = 0; changeGun(); changegun.play(); }; }; } else { if (gunType == 5){ firing = true; } else { if (gunType == 6){ firing = true; }; }; }; }; }; }; }; } public function fireGrenade():void{ var _local1:grenade; _local1 = new grenade(); sprites.addChild(_local1); _local1.x = ((playerOb.x + gun.x) + ((Math.cos((gun.rotation * (Math.PI / 180))) * 18) * player.scaleX)); _local1.y = ((playerOb.y + gun.y) + (Math.sin((gun.rotation * (Math.PI / 180))) * 18)); _local1.rotation = gun.rotation; _local1.xv = ((Math.cos((gun.rotation * (Math.PI / 180))) * 15) * player.scaleX); _local1.yv = (Math.sin((gun.rotation * (Math.PI / 180))) * 15); _local1.dead = false; grenades.push(_local1); } public function updateBossStart():void{ var _local1:int; bossStartTimer--; player.legs.gotoAndStop(1); if ((((bossStartTimer < 115)) && ((bossStartTimer > 0)))){ posAddX = (posAddX - 4); posAddY = (posAddY - 1); } else { if (bossStartTimer == -40){ boss.head.gotoAndStop(4); } else { if (bossStartTimer == -50){ newFlierBoss((boss.x + 48), (boss.y + 48), (Math.cos(0) * 200), (Math.sin(0) * 200)); } else { if (bossStartTimer == -55){ newFlierBoss((boss.x + 48), (boss.y + 48), (Math.cos((Math.PI / 3)) * 200), (Math.sin((Math.PI / 3)) * 200)); } else { if (bossStartTimer == -60){ newFlierBoss((boss.x + 48), (boss.y + 48), (Math.cos((2 * (Math.PI / 3))) * 200), (Math.sin((2 * (Math.PI / 3))) * 200)); } else { if (bossStartTimer == -65){ newFlierBoss((boss.x + 48), (boss.y + 48), (Math.cos(Math.PI) * 200), (Math.sin(Math.PI) * 200)); } else { if (bossStartTimer == -70){ newFlierBoss((boss.x + 48), (boss.y + 48), (Math.cos(((4 / 3) * Math.PI)) * 200), (Math.sin(((4 / 3) * Math.PI)) * 200)); } else { if (bossStartTimer == -75){ newFlierBoss((boss.x + 48), (boss.y + 48), (Math.cos((5 * (Math.PI / 3))) * 200), (Math.sin((5 * (Math.PI / 3))) * 200)); } else { if (bossStartTimer == -85){ boss.head.gotoAndStop(1); } else { if ((((bossStartTimer < -100)) && ((bossStartTimer > -157)))){ posAddX = (posAddX + 8); posAddY = (posAddY + 2); } else { if (bossStartTimer == -157){ gui.bosshealth.gotoAndStop(2); posAddY = 0; posAddX = 0; _local1 = 0; while (_local1 < lifts.length) { if ((((lifts[_local1].id >= 1)) && ((lifts[_local1].id <= 2)))){ lifts[_local1].s = 1; lifts[_local1].ch = liftrun.play(); lifts[_local1].xv = lifts[_local1].xMove; lifts[_local1].yv = lifts[_local1].yMove; }; _local1++; }; soundDir = 2; soundto = 1; gameState = "game"; bossStartTimer = 0; }; }; }; }; }; }; }; }; }; }; }; } public function endAd(_arg1:MouseEvent):void{ closeBtn.removeEventListener(MouseEvent.CLICK, endAd); closeBtn.removeEventListener(MouseEvent.ROLL_OVER, rollOverCon); closeBtn.removeEventListener(MouseEvent.ROLL_OUT, rollOutCon); adBox.removeChild(ad); gotoAndPlay(2); } public function newGrunt(_arg1:int, _arg2:int):void{ var _local3:grunt; _local3 = new grunt(); sprites.addChild(_local3); _local3.x = _arg1; _local3.y = _arg2; _local3.dir = int((Math.random() * 2)); _local3.health = 12; _local3.lastHealth = 6; _local3.arm.rotation = 75; _local3.restTime = 0; _local3.seeking = false; _local3.checkLos = int((Math.random() * 5)); _local3.shootTime = 0; _local3.ang = 0; _local3.movearm = 0; _local3.onFire = 0; _local3.explosionHits = []; _local3.hbar.alpha = 0; _local3.hitTime = 0; grunts.push(_local3); _local3.range = 500; } public function newFlier(_arg1:int, _arg2:int):void{ var _local3:flier; _local3 = new flier(); sprites.addChild(_local3); _local3.x = _arg1; _local3.y = _arg2; _local3.targX = _arg1; _local3.targY = _arg2; _local3.xv = 0; _local3.yv = 0; _local3.newTarg = 0; _local3.health = 2; _local3.lastHealth; _local3.seeking = false; _local3.onFire = 0; _local3.explosionHits = []; _local3.checkLos = int((Math.random() * 5)); fliers.push(_local3); _local3.hbar.alpha = 0; _local3.hitTime = 0; _local3.maxSearch = 400; } public function reloadHandgun(_arg1:int):void{ if (_arg1 == 33){ loadopen.play(); } else { if (_arg1 == 15){ loadclose.play(); }; }; } public function updateHeavies():void{ var _local1:int; var _local2:heavy; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:int; var _local11:Number; _local1 = 0; while (_local1 < heavies.length) { _local2 = heavies[_local1]; _local3 = Math.floor((_local2.x / tileW)); _local4 = Math.floor((_local2.y / tileH)); if (_local2.hitTime > 0){ _local2.hitTime--; if (_local2.hitTime <= 0){ _local2.hbar.alpha = 0; }; }; if (_local2.health <= 0){ heavyExplode(_local2.x, _local2.y, _local2.scaleX, (((_local2.lastHealth - _local2.health) / 3) + 4)); sprites.removeChild(_local2); heavies.splice(_local1, 1); _local1--; } else { if (_local2.lastHealth > _local2.health){ _local2.range = 10000; _local2.seeking = true; }; }; if (_local2.onFire > 0){ _local2.onFire--; _local2.health = (_local2.health - 0.05); onFire(_local2.x, (_local2.y - 35), (_local2.onFire / 40)); }; _local2.lastHealth = _local2.health; if (_local2.dir == 0){ if ((((map[_local4][(_local3 + 1)] == 0)) || (!((map[(_local4 - 1)][(_local3 + 1)] == 0))))){ _local2.dir = 1; _local2.restTime = 80; }; } else { if ((((map[_local4][(_local3 - 1)] == 0)) || (!((map[(_local4 - 1)][(_local3 - 1)] == 0))))){ _local2.dir = 0; _local2.restTime = 80; }; }; if (_local2.restTime > 0){ _local2.restTime--; _local2.legs.gotoAndStop(1); } else { if (_local2.dir == 0){ _local2.scaleX = 1; _local2.hbar.scaleX = 1; _local2.x = (_local2.x + 2); if (_local2.legs.currentFrame == 1){ _local2.legs.gotoAndStop(2); }; } else { _local2.scaleX = -1; _local2.hbar.scaleX = -1; _local2.x = (_local2.x - 2); if (_local2.legs.currentFrame == 1){ _local2.legs.gotoAndStop(2); }; }; }; if ((((_local2.seeking == false)) || ((deathTime > 0)))){ _local2.checkLos--; if (_local2.checkLos <= 0){ _local2.checkLos = 5; _local5 = (_local2.x - playerOb.x); _local6 = (_local2.y - playerOb.y); _local7 = ((_local5 * _local5) + (_local6 * _local6)); if (_local7 <= 160000){ exciteTimer = 50; if (soundto != 1){ soundto = 1; soundDir = 2; }; if (((playerOb.x - _local2.x) * _local2.scaleX) > 0){ if (LOS(_local2.x, (_local2.y - 40), playerOb.x, (playerOb.y - (playerOb.h / 2)), _local2.range) == true){ _local2.seeking = true; }; }; }; }; } else { exciteTimer = 50; if (soundto != 1){ soundto = 1; soundDir = 2; }; _local8 = (playerOb.x - _local2.x); if (_local8 > 100){ _local2.dir = 0; } else { if (_local8 < -100){ _local2.dir = 1; } else { _local2.restTime = 80; _local2.legs.gotoAndStop(1); }; }; _local2.shootTime--; _local2.arm.rotation = (_local2.arm.rotation + _local2.movearm); if (_local2.shootTime <= 0){ _local9 = ((playerOb.x - _local2.x) * _local2.scaleX); _local10 = ((playerOb.y - 30) - (_local2.y - 30)); _local2.ang = Math.atan2(_local10, _local9); _local11 = ((Math.random() * (Math.PI / 30)) - (Math.random() * (Math.PI / 30))); _local2.ang = (_local2.ang + _local11); _local2.shootTime = 40; _local2.movearm = (((_local2.ang * (180 / Math.PI)) - _local2.arm.rotation) / 20); fireHeavy(_local2); }; if (((playerOb.x - _local2.x) * _local2.scaleX) < 0){ _local2.scaleX = (_local2.scaleX * -1); _local2.hbar.scaleX = (_local2.hbar.scaleX * -1); }; if (LOS(_local2.x, (_local2.y - 40), playerOb.x, (playerOb.y - (playerOb.h / 2)), _local2.range) == false){ _local2.seeking = false; _local2.arm.rotation = 0; _local2.range = 500; }; }; _local1++; }; } public function reloadFlamer(_arg1:int):void{ if (_arg1 == 59){ loadopen.play(); } else { if (_arg1 == 40){ loadopen.play(); } else { if (_arg1 == 20){ loadclose.play(); }; }; }; } public function loadMap(_arg1, _arg2):void{ var _local3:Array; var _local4:Array; var _local5:Array; var _local6:Array; var _local7:Array; var _local8:Array; var _local9:int; var _local10:int; var _local11:int; var _local12:int; var _local13:int; var _local14:int; var _local15:int; var _local16:Rectangle; var _local17:Point; var _local18:Object; var _local19:Object; var _local20:Object; var _local21:Object; var _local22:*; var _local23:*; var _local24:door; var _local25:Object; var _local26:switchmc; var _local27:Object; var _local28:Object; var _local29:MovieClip; var _local30:int; var _local31:int; var _local32:int; var _local33:Number; var _local34:int; var _local35:movingtile; var _local36:Object; var _local37:int; var _local38:int; var _local39:Array; var _local40:int; var _local41:Object; if (_arg1 != "X"){ currentLevel = _arg1; currentStage = _arg2; } else { _arg1 = 1; _arg2 = 2; currentLevel = 1; currentStage = 2; }; lastRoomAmmo = []; lastRoomGun = gunSelected; _local11 = 0; while (_local11 < gunsCollected.length) { if (gunsCollected[_local11] != 1){ _local14 = (this[("gun" + gunsCollected[_local11])].ammo + this[("gun" + gunsCollected[_local11])].spare); lastRoomAmmo.push([gunsCollected[_local11], _local14]); } else { lastRoomAmmo.push([1, 99999]); }; _local11++; }; _local3 = this[((("level_" + _arg1) + "_") + _arg2)]; _local4 = this[((("doors_" + _arg1) + "_") + _arg2)]; _local5 = this[((("switches_" + _arg1) + "_") + _arg2)]; _local6 = this[((("enemies_" + _arg1) + "_") + _arg2)]; _local7 = this[((("pickups_" + _arg1) + "_") + _arg2)]; _local8 = this[((("lifts_" + _arg1) + "_") + _arg2)]; levelMap = new BitmapData((_local3[0].length * tileW), (_local3.length * tileH), true, 0xFFFFFF); liftsCollider = new BitmapData((_local3[0].length * tileW), (_local3.length * tileH), false, 0xFFFFFF); levelRect = new Rectangle(0, 0, (_local3[0].length * tileW), (_local3.length * tileH)); fade = new BitmapData((_local3[0].length * tileW), (_local3.length * tileH), true, 0xFFFFFF); fadebmp = new Bitmap(fade); map = new Array(); _local9 = 0; while (_local9 < _local3.length) { map[_local9] = new Array(); _local15 = 0; while (_local15 < _local3[0].length) { map[_local9][_local15] = _local3[_local9][_local15]; if (map[_local9][_local15] > 0){ if (map[_local9][_local15] == 4){ jumpPads[((("pad_" + _local9) + "_") + _local15)] = {x:_local15, y:_local9, timer:0}; } else { if ((((map[_local9][_local15] >= 8)) && ((map[_local9][_local15] <= 13)))){ conveyors.push({x:_local15, y:_local9, f:1, t:(map[_local9][_local15] - 7)}); } else { if (map[_local9][_local15] == 14){ _local18 = new Object(); _local18.sc = new SoundChannel(); _local18.sc.soundTransform = new SoundTransform(0, 0); flamePads.push({ob:_local18, x:_local15, y:_local9, t:0, xv:5, yv:0}); } else { if (map[_local9][_local15] == 15){ _local19 = new Object(); _local19.sc = new SoundChannel(); _local19.sc.soundTransform = new SoundTransform(0, 0); flamePads.push({ob:_local19, x:_local15, y:_local9, t:0, xv:0, yv:5}); } else { if (map[_local9][_local15] == 16){ _local20 = new Object(); _local20.sc = new SoundChannel(); _local20.sc.soundTransform = new SoundTransform(0, 0); flamePads.push({ob:_local20, x:_local15, y:_local9, t:0, xv:-5, yv:0}); } else { if (map[_local9][_local15] == 17){ _local21 = new Object(); _local21.sc = new SoundChannel(); _local21.sc.soundTransform = new SoundTransform(0, 0); flamePads.push({ob:_local21, x:_local15, y:_local9, t:0, xv:0, yv:-5}); }; }; }; }; }; }; _local16 = new Rectangle(((map[_local9][_local15] * tileW) - tileW), 0, tileW, tileH); _local17 = new Point((_local15 * tileW), (_local9 * tileH)); levelMap.copyPixels(tiles, _local16, _local17); }; _local15++; }; _local9++; }; _local10 = 0; while (_local10 < this[((("screens_" + _arg1) + "_") + _arg2)].length) { _local22 = this[((("screens_" + _arg1) + "_") + _arg2)][_local10]; newTv(_local22.x, _local22.y, _local22.txt); _local10++; }; _local10 = 0; while (_local10 < this[((("savepoints_" + _arg1) + "_") + _arg2)].length) { _local23 = this[((("savepoints_" + _arg1) + "_") + _arg2)][_local10]; newSavepoint(_local23.x, _local23.y); _local10++; }; _local10 = 0; while (_local10 < _local4.length) { _local24 = new door(); _local24.x = (_local4[_local10].x * tileW); _local24.y = (_local4[_local10].y * tileH); _local24.goto = _local4[_local10].l; _local24.gotox = _local4[_local10].x2; _local24.gotoy = _local4[_local10].y2; _local24.gotoAndStop(_local4[_local10].s); sprites.addChild(_local24); doorObs.push(_local24); _local10++; }; _local10 = 0; while (_local10 < _local5.length) { _local25 = _local5[_local10]; _local26 = new switchmc(); _local26.x = (_local25.x * tileW); _local26.y = (_local25.y * tileH); _local26.affects = _local25.a; _local26.lev = _arg1; _local26.sta = _arg2; _local26.pos = _local10; _local26.gotoAndStop(_local25.s); sprites.addChild(_local26); switches.push(_local26); _local10++; }; _local10 = 0; while (_local10 < _local6.length) { _local27 = _local6[_local10]; if (_local27.t == 0){ newFlier(_local27.x, _local27.y); } else { if (_local27.t == 1){ newGrunt(_local27.x, _local27.y); } else { if (_local27.t == 2){ newTurret(_local27.x, _local27.y); } else { if (_local27.t == 3){ newHeavy(_local27.x, _local27.y); } else { if (_local27.t == 4){ newLauncher(_local27.x, _local27.y); } else { if (_local27.t == 8){ addBoss(_local27.x, _local27.y); }; }; }; }; }; }; _local10++; }; _local10 = 0; while (_local10 < _local8.length) { _local28 = _local8[_local10]; _local29 = new MovieClip(); if (_local28.once <= 1){ _local29.x = (_local28.x * tileW); _local29.y = (_local28.y * tileH); _local29.once = _local28.once; _local29.s = _local28.s; } else { if (_local28.once > 1){ _local29.x = (_local28.ex * tileW); _local29.y = (_local28.ey * tileH); _local29.once = 1; _local29.s = 2; }; }; _local29.ch = new SoundChannel(); _local29.id = _local28.id; _local30 = 0; while (_local30 < _local28.w) { _local34 = 0; while (_local34 < _local28.h) { _local35 = new movingtile(); _local35.x = (_local30 * tileW); _local35.y = (_local34 * tileH); _local29.addChild(_local35); _local34++; }; _local30++; }; _local29.w = _local28.w; _local29.h = _local28.h; _local29.ex = _local28.ex; _local29.ey = _local28.ey; _local31 = (_local28.ex - _local28.x); _local32 = (_local28.ey - _local28.y); _local33 = Math.atan2(_local32, _local31); if (_local29.s == 1){ _local29.xv = (Math.cos(_local33) * 3); _local29.yv = (Math.sin(_local33) * 3); } else { _local29.xv = 0; _local29.yv = 0; }; _local29.xMove = (Math.cos(_local33) * 3); _local29.yMove = (Math.sin(_local33) * 3); _local29.timeTake = ((Math.sqrt(((_local31 * _local31) + (_local32 * _local32))) * tileW) / 3); _local29.timer = _local29.timeTake; sprites.addChild(_local29); lifts.push(_local29); _local10++; }; _local10 = 0; while (_local10 < _local7.length) { _local36 = _local7[_local10]; if (_local36.s == 1){ newPickup((_local36.x * tileW), (_local36.y * tileH), (_local36.t + 1), _arg1, _arg2, _local10); }; _local10++; }; if ((((_arg1 == 1)) && ((_arg2 == 1)))){ sprites.addChild(startanim); }; posX = (playerOb.x - (stageW / 2)); posY = (playerOb.y - (stageH / 2)); if (playerOb.y > ((map.length * tileH) - (stageH / 2))){ posY = ((map.length * tileH) - stageH); }; if (playerOb.x > ((map[0].length * tileW) - (stageW / 2))){ posX = ((map[0].length * tileW) - stageW); }; if (posX < 0){ posX = 0; }; if (posY < 0){ posY = 0; }; sprites.x = -(posX); sprites.y = -(posY); sprites.addChild(fadebmp); _local12 = 0; _local13 = 0; if (tempPushed.length > 0){ _local12 = tempPushed[0][0]; _local13 = tempPushed[0][1][0]; } else { if (tempCollected.length > 0){ _local12 = tempCollected[0][0]; _local13 = tempCollected[0][1]; }; }; if (((!((currentLevel == _local12))) || (!((currentStage == _local13))))){ _local37 = 0; while (_local37 < tempPushed.length) { pushedSwitches[_local37] = tempPushed[_local37]; this[((("switches_" + tempPushed[_local37][0]) + "_") + tempPushed[_local37][1][0])][tempPushed[_local37][2]].s = 2; _local39 = this[((((tempPushed[_local37][1][1] + "_") + tempPushed[_local37][0]) + "_") + tempPushed[_local37][1][0])]; _local40 = tempPushed[_local37][1][2]; _local41 = _local39[_local40]; _local41.s = 1; if ((((tempPushed[_local37][1][1] == "lifts")) && ((_local41.once == 1)))){ _local41.once = 2; }; _local37++; }; _local38 = 0; while (_local38 < tempCollected.length) { collectedItems[_local38] = tempCollected[_local38]; this[((("pickups_" + tempCollected[_local38][0]) + "_") + tempCollected[_local38][1])][tempCollected[_local38][2]].s = 2; _local38++; }; }; tempPushed = []; tempCollected = []; } public function gruntExplode(_arg1:int, _arg2:int, _arg3:int, _arg4:Number):void{ var _local5:int; var _local6:int; var _local7:int; _local5 = ((Math.random() * 2) + 1); this[("die" + _local5)].play(); playerOb.kills++; _local6 = 0; while (_local6 < 8) { newParticle(_arg1, _arg2, 3, ((Math.random() * 4) + 1)); _local6++; }; _local7 = 0; while (_local7 < 12) { newExplosionParticle(_arg1, _arg2, 4, ((Math.random() * 4) + 1)); _local7++; }; newPart(_arg1, (_arg2 - 50), _arg4, 0, 4, _arg3); newPart(_arg1, (_arg2 - 30), _arg4, 0, 5, _arg3); newPart(_arg1, (_arg2 - 20), _arg4, 0, 6, _arg3); newPart(_arg1, (_arg2 - 10), _arg4, 0, 7, _arg3); newPart(_arg1, (_arg2 - 3), _arg4, 0, 8, _arg3); newPart((_arg1 - 10), (_arg2 - 45), _arg4, 0, 9, _arg3); } public function newTurret(_arg1:int, _arg2:int):void{ var _local3:turret; _local3 = new turret(); sprites.addChild(_local3); _local3.x = _arg1; _local3.y = _arg2; _local3.health = 10; _local3.lastHealth = 10; _local3.gun.rotation = (Math.random() * 180); _local3.seeking = false; _local3.checkLos = int((Math.random() * 5)); _local3.dir = 1; _local3.shootTime = 0; _local3.ang = 0; _local3.onFire = 0; _local3.channel = new SoundChannel(); _local3.soundTimer = 0; _local3.explosionHits = []; _local3.hbar.alpha = 0; _local3.hitTime = 0; turrets.push(_local3); _local3.range = 500; } public function reloadLazer(_arg1:int):void{ if (_arg1 == 79){ bulletin.play(); } else { if (_arg1 == 50){ loadopen.play(); } else { if (_arg1 == 30){ loadclose.play(); } else { if (_arg1 == 15){ bulletin.play(); }; }; }; }; } public function mousedown(_arg1:MouseEvent):void{ var _local2:URLRequest; var _local3:URLRequest; var _local4:int; var _local5:URLRequest; var _local6:int; var _local7:URLRequest; var _local8:URLRequest; var _local9:URLRequest; var _local10:URLRequest; Mouse.hide(); if (gameState == "credits"){ trans.play(); transto = "title"; gameState = "trans"; } else { if (gameState == "title"){ if ((((((((stage.mouseX > 165)) && ((stage.mouseX < 373)))) && ((stage.mouseY > (stageH - 30))))) && ((stage.mouseY < stageH)))){ _local2 = new URLRequest("http://www.coolbuddy.com/?cid=189"); navigateToURL(_local2, "_blank"); }; if (menuOption == 1){ clicked.play(); trans.play(); gameState = "trans"; transto = "game"; resetData(); soundto = 1; soundDir = 2; } else { if (menuOption == 2){ clicked.play(); trans.play(); gameState = "trans"; transto = "load"; } else { if (menuOption == 3){ clicked.play(); trans.play(); gameState = "trans"; transto = "controls"; } else { if (menuOption == 4){ clicked.play(); _local3 = new URLRequest("http://www.coolbuddy.com/?cid=189"); navigateToURL(_local3, "_blank"); } else { if (menuOption == 5){ clicked.play(); trans.play(); gameState = "trans"; transto = "credits"; }; }; }; }; }; } else { if (gameState == "intro"){ trans.play(); gameState = "trans"; transto = "gamegame"; } else { if (gameState == "game"){ if (mouseY < (stageH - 23)){ MD = true; if (deathTime == 0){ fire(); }; }; } else { if (gameState == "controls"){ if (menuOption == 1){ clicked.play(); _local4 = 0; while (_local4 < controlsList.length) { if (controlsList[_local4] == "??"){ gameState = "popup2"; addChild(pop2); removeChild(cursor); addChild(cursor); return; }; _local4++; }; trans.play(); gameState = "trans"; transto = "title"; } else { if (menuOption == 2){ clicked.play(); controls.selector.y = 136; controlsOption = 1; } else { if (menuOption == 3){ clicked.play(); controls.selector.y = 173; controlsOption = 2; } else { if (menuOption == 4){ clicked.play(); controls.selector.y = 207; controlsOption = 3; } else { if (menuOption == 5){ clicked.play(); controls.selector.y = 241; controlsOption = 4; } else { if (menuOption == 6){ clicked.play(); controls.selector.y = 281; controlsOption = 5; } else { if (menuOption == 7){ clicked.play(); controls.selector.y = 319; controlsOption = 6; } else { if (menuOption == 8){ clicked.play(); controls.selector.y = 357; controlsOption = 7; } else { if (menuOption == 9){ clicked.play(); controls.selector.y = 394; controlsOption = 8; } else { if (menuOption == 10){ clicked.play(); controls.selector.y = 429; controlsOption = 9; }; }; }; }; }; }; }; }; }; }; } else { if (gameState == "load"){ if (menuOption == 1){ clicked.play(); trans.play(); gameState = "trans"; transto = "title"; } else { if (menuOption == 2){ clicked.play(); if (((!((slot1.data.dat == undefined))) && ((slot1.data.dat.length > 0)))){ trans.play(); gameState = "trans"; transto = "loadgame"; loadslot = slot1.data.dat; soundto = 2; soundDir = 2; }; } else { if (menuOption == 3){ clicked.play(); if (((!((slot2.data.dat == undefined))) && ((slot2.data.dat.length > 0)))){ trans.play(); gameState = "trans"; transto = "loadgame"; loadslot = slot2.data.dat; soundto = 2; soundDir = 2; }; } else { if (menuOption == 4){ clicked.play(); if (((!((slot3.data.dat == undefined))) && ((slot3.data.dat.length > 0)))){ trans.play(); gameState = "trans"; transto = "loadgame"; loadslot = slot3.data.dat; soundto = 2; soundDir = 2; }; }; }; }; }; } else { if (gameState == "gameover"){ if (menuOption == 2){ clicked.play(); if (lastSave == 0){ gameOver.adBox.removeChild(adv); gameState = "trans"; transto = "title"; trans.play(); } else { clicked.play(); trans.play(); gameOver.adBox.removeChild(adv); gameState = "trans"; transto = "loadgame"; loadslot = this[("slot" + lastSave)].data.dat; }; } else { if (menuOption == 3){ clicked.play(); gameOver.adBox.removeChild(adv); gameState = "trans"; transto = "title"; trans.play(); } else { if (menuOption == 1){ clicked.play(); _local5 = new URLRequest("http://www.coolbuddy.com/?cid=189"); navigateToURL(_local5, "_blank"); }; }; }; } else { if (gameState == "popup"){ if (pop.currentFrame == 23){ if (menuOption == 1){ if ((((slot1.data.dat == undefined)) || ((slot1.data.dat.length == 0)))){ saveGame(1); pop.gotoAndPlay(73); saved.play(); } else { clicked.play(); pop.gotoAndPlay(24); savechoice = 1; }; } else { if (menuOption == 2){ if ((((slot2.data.dat == undefined)) || ((slot2.data.dat.length == 0)))){ saved.play(); saveGame(2); pop.gotoAndPlay(73); } else { clicked.play(); pop.gotoAndPlay(24); savechoice = 2; }; } else { if (menuOption == 3){ if ((((slot3.data.dat == undefined)) || ((slot3.data.dat.length == 0)))){ saved.play(); saveGame(3); pop.gotoAndPlay(73); } else { clicked.play(); pop.gotoAndPlay(24); savechoice = 3; }; } else { if (menuOption == 4){ clicked.play(); pop.gotoAndPlay(85); }; }; }; }; } else { if (pop.currentFrame == 36){ if (menuOption == 1){ saved.play(); saveGame(savechoice); pop.gotoAndPlay(37); } else { if (menuOption == 2){ clicked.play(); pop.gotoAndPlay(6); }; }; } else { if (pop.currentFrame == 49){ if (menuOption == 1){ clicked.play(); pop.gotoAndPlay(50); }; }; }; }; } else { if (gameState == "popup2"){ if (menuOption == 1){ clicked.play(); removeChild(pop2); gameState = "controls"; controlsList = [65, 68, 87, 83, 69, 81, 82, 80, 77]; _local6 = 0; while (_local6 < controlsList.length) { controls[(("con" + _local6) + 1)].gotoAndStop(controlsList[_local6]); _local6++; }; } else { if (menuOption == 2){ clicked.play(); removeChild(pop2); gameState = "controls"; }; }; } else { if (gameState == "updates"){ if (menuOption == 1){ updates.adBox.removeChild(adv); updates.x = -800; gui.x = 0; gameState = "game"; } else { if (menuOption == 2){ _local7 = new URLRequest("http://www.twitter.com/CoolbuddyGames/"); navigateToURL(_local7, "_blank"); } else { if (menuOption == 3){ _local8 = new URLRequest("http://www.coolbuddy.com/games/community/Game_forum.asp?cat=1007"); navigateToURL(_local8, "_blank"); } else { if (menuOption == 4){ _local9 = new URLRequest("http://www.coolbuddy.com/games/community/Game_walkthrough.asp?cat=1007"); navigateToURL(_local9, "_blank"); } else { if (menuOption == 5){ _local10 = new URLRequest("http://www.coolbuddy.com/?cid=189"); navigateToURL(_local10, "_blank"); }; }; }; }; }; } else { if (gameState == "paused"){ if (pausegame.currentFrame == 23){ if (menuOption == 1){ clicked.play(); pausegame.gotoAndPlay(24); } else { if (menuOption == 2){ clicked.play(); pausegame.gotoAndPlay(49); }; }; } else { if (pausegame.currentFrame == 36){ if (menuOption == 1){ clicked.play(); trans.play(); transto = "menufrompause"; gameState = "trans"; soundto = 3; soundDir = 2; } else { if (menuOption == 2){ clicked.play(); pausegame.gotoAndPlay(37); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; } public function playerExplode(_arg1:int):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:int; _local2 = playerOb.x; _local3 = (playerOb.y - (playerOb.h / 2)); _local4 = 0; while (_local4 < 8) { newParticle(_local2, _local3, 3, ((Math.random() * 4) + 1)); _local4++; }; _local5 = 0; while (_local5 < 16) { newExplosionParticle(_local2, _local3, 4, ((Math.random() * 4) + 1)); _local5++; }; newPart(_local2, (_local3 - 50), _arg1, 0, 15, player.scaleX); newPart(_local2, (_local3 - 30), _arg1, 0, 5, player.scaleX); newPart(_local2, (_local3 - 20), _arg1, 0, 6, player.scaleX); newPart(_local2, (_local3 - 10), _arg1, 0, 7, player.scaleX); newPart(_local2, (_local3 - 3), _arg1, 0, 8, player.scaleX); newPart((_local2 - 10), (_local3 - 45), _arg1, 0, (15 + lastGun), player.scaleX); } public function updatePopup2():void{ if ((((stage.mouseY > 260)) && ((stage.mouseY < 292)))){ if (rolledOver != 1){ rolledOver = 1; rollover.play(); }; pop2.option1.gotoAndStop(2); pop2.option2.gotoAndStop(1); menuOption = 1; } else { if ((((stage.mouseY > 300)) && ((stage.mouseY < 332)))){ if (rolledOver != 2){ rolledOver = 2; rollover.play(); }; pop2.option1.gotoAndStop(1); pop2.option2.gotoAndStop(2); menuOption = 2; } else { rolledOver = 0; pop2.option1.gotoAndStop(1); pop2.option2.gotoAndStop(1); menuOption = 0; }; }; } public function LOS(_arg1, _arg2, _arg3, _arg4, _arg5:int=9999999):Boolean{ var _local6:int; var _local7:int; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:int; var _local12:int; var _local13:int; var _local14:int; var _local15:int; _local6 = Math.sqrt((((_arg3 - _arg1) * (_arg3 - _arg1)) + ((_arg4 - _arg2) * (_arg4 - _arg2)))); if (_local6 > _arg5){ return (false); }; _local7 = (_local6 / 10); _local8 = Math.atan2((_arg4 - _arg2), (_arg3 - _arg1)); _local9 = (Math.cos(_local8) * 10); _local10 = (Math.sin(_local8) * 10); _local11 = _arg1; _local12 = _arg2; _local13 = 0; while (_local13 < _local7) { _local11 = (_local11 + _local9); _local12 = (_local12 + _local10); _local14 = Math.floor((_local11 / tileW)); _local15 = Math.floor((_local12 / tileH)); if (((!((map[_local15][_local14] == 0))) || ((liftsCollider.getPixel(_local11, _local12) == 0)))){ return (false); }; _local13++; }; return (true); } public function updateTitle():void{ if (Title.buttons.currentFrame == 139){ stage.quality = StageQuality.LOW; if ((((stage.mouseX > 120)) && ((stage.mouseX < 420)))){ if ((((stage.mouseY > 150)) && ((stage.mouseY < 210)))){ if (rolledOver != 1){ rolledOver = 1; rollover.play(); }; Title.buttons.button1.gotoAndStop(2); Title.buttons.button2.gotoAndStop(1); Title.buttons.button3.gotoAndStop(1); Title.buttons.button4.gotoAndStop(1); Title.buttons.button5.gotoAndStop(1); menuOption = 1; } else { if ((((stage.mouseY > 220)) && ((stage.mouseY < 280)))){ if (rolledOver != 2){ rolledOver = 2; rollover.play(); }; Title.buttons.button1.gotoAndStop(1); Title.buttons.button2.gotoAndStop(2); Title.buttons.button3.gotoAndStop(1); Title.buttons.button4.gotoAndStop(1); Title.buttons.button5.gotoAndStop(1); menuOption = 2; } else { if ((((stage.mouseY > 290)) && ((stage.mouseY < 350)))){ if (rolledOver != 3){ rolledOver = 3; rollover.play(); }; Title.buttons.button1.gotoAndStop(1); Title.buttons.button2.gotoAndStop(1); Title.buttons.button3.gotoAndStop(2); Title.buttons.button4.gotoAndStop(1); Title.buttons.button5.gotoAndStop(1); menuOption = 3; } else { if ((((stage.mouseY > 360)) && ((stage.mouseY < 420)))){ if (rolledOver != 4){ rolledOver = 4; rollover.play(); }; Title.buttons.button1.gotoAndStop(1); Title.buttons.button2.gotoAndStop(1); Title.buttons.button3.gotoAndStop(1); Title.buttons.button4.gotoAndStop(2); Title.buttons.button5.gotoAndStop(1); menuOption = 4; } else { if ((((stage.mouseY > 430)) && ((stage.mouseY < 490)))){ if (rolledOver != 5){ rolledOver = 5; rollover.play(); }; Title.buttons.button1.gotoAndStop(1); Title.buttons.button2.gotoAndStop(1); Title.buttons.button3.gotoAndStop(1); Title.buttons.button4.gotoAndStop(1); Title.buttons.button5.gotoAndStop(2); menuOption = 5; } else { rolledOver = 0; Title.buttons.button1.gotoAndStop(1); Title.buttons.button2.gotoAndStop(1); Title.buttons.button3.gotoAndStop(1); Title.buttons.button4.gotoAndStop(1); Title.buttons.button5.gotoAndStop(1); menuOption = 0; }; }; }; }; }; } else { rolledOver = 0; Title.buttons.button1.gotoAndStop(1); Title.buttons.button2.gotoAndStop(1); Title.buttons.button3.gotoAndStop(1); Title.buttons.button4.gotoAndStop(1); Title.buttons.butto; }; }; } public function getFlierTarg(_arg1:int, _arg2:int):Array{ var _local3:Array; var _local4:Boolean; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:int; var _local11:int; _local3 = new Array(); _local4 = false; _local5 = 0; while (!(_local4)) { if (_local5 > 10){ return ([99999, 99999]); }; _local5++; _local6 = ((Math.random() * 360) * (Math.PI / 180)); _local7 = ((Math.random() * 20) + 10); _local8 = (_arg1 + (Math.cos(_local6) * _local7)); _local9 = (_arg2 + (Math.sin(_local6) * _local7)); _local10 = Math.floor((_local8 / tileW)); _local11 = Math.floor((_local9 / tileH)); if (map[_local11][_local10] == 0){ if (LOS(_arg1, _arg2, _local8, _local9) == true){ _local3[0] = _local8; _local3[1] = _local9; _local4 = true; }; }; }; return (_local3); } public function releaseBossFliers():void{ var _local1:int; _local1 = (Math.random() * 6); newFlierBoss((boss.x + 48), (boss.y + 48), (Math.cos((_local1 * (Math.PI / 3))) * 200), (Math.sin((_local1 * (Math.PI / 3))) * 200)); } public function fireLine(_arg1:int, _arg2:int, _arg3:Number, _arg4:Number, _arg5:Number, _arg6, _arg7:int, _arg8:int=0):void{ var _local9:Boolean; var _local10:Number; var _local11:Number; var _local12:int; var _local13:Matrix; var _local14:int; var _local15:int; var _local16:int; var _local17:int; var _local18:int; var _local19:flier; var _local20:grunt; var _local21:turret; var _local22:heavy; var _local23:launcher; var _local24:Object; drawSprite.graphics.clear(); drawSprite.graphics.lineStyle(_arg5, _arg6, 1); _local9 = false; _local10 = _arg1; _local11 = _arg2; _local12 = ((Math.random() * 3) + 1); while (!(_local9)) { _local14 = Math.floor((_local10 / tileW)); _local15 = Math.floor((_local11 / tileH)); _local16 = 0; if (_arg8 == 0){ _local16 = 0; while (_local16 < fliers.length) { _local19 = fliers[_local16]; if ((((_local19.x - _local10) * (_local19.x - _local10)) + ((_local19.y - _local11) * (_local19.y - _local11))) < 150){ this[("strike" + _local12)].play(); _local19.health = (_local19.health - _arg7); _local9 = true; _local19.hitTime = 30; _local19.hbar.alpha = 1; _local19.hbar.bar.width = ((_local19.health / 2) * 25); }; _local16++; }; _local16 = 0; while (_local16 < grunts.length) { _local20 = grunts[_local16]; if ((((_local20.x - _local10) * (_local20.x - _local10)) + (((_local20.y - 30) - _local11) * ((_local20.y - 30) - _local11))) < 900){ this[("strike" + _local12)].play(); _local20.health = (_local20.health - _arg7); _local9 = true; _local20.hitTime = 30; _local20.hbar.alpha = 1; _local20.hbar.bar.width = ((_local20.health / 12) * 25); }; _local16++; }; _local16 = 0; while (_local16 < turrets.length) { _local21 = turrets[_local16]; if ((((_local21.x - _local10) * (_local21.x - _local10)) + ((_local21.y - _local11) * (_local21.y - _local11))) < 1000){ this[("strike" + _local12)].play(); _local21.health = (_local21.health - _arg7); _local9 = true; _local21.hitTime = 30; _local21.hbar.alpha = 1; _local21.hbar.bar.width = ((_local21.health / 10) * 25); }; _local16++; }; _local16 = 0; while (_local16 < heavies.length) { _local22 = heavies[_local16]; if ((((_local22.x - _local10) * (_local22.x - _local10)) + (((_local22.y - 30) - _local11) * ((_local22.y - 30) - _local11))) < 900){ this[("strike" + _local12)].play(); _local22.health = (_local22.health - _arg7); _local9 = true; _local22.hitTime = 30; _local22.hbar.alpha = 1; _local22.hbar.bar.width = ((_local22.health / 15) * 25); }; _local16++; }; _local16 = 0; while (_local16 < launchers.length) { _local23 = launchers[_local16]; if ((((_local23.x - _local10) * (_local23.x - _local10)) + ((_local23.y - _local11) * (_local23.y - _local11))) < 1500){ this[("strike" + _local12)].play(); _local23.health = (_local23.health - _arg7); _local9 = true; _local23.hitTime = 30; _local23.hbar.alpha = 1; _local23.hbar.bar.width = ((_local23.health / 30) * 25); }; _local16++; }; _local16 = 0; while (_local16 < computers.length) { _local24 = computers[_local16]; if (Math.abs((_local24.x - _local10)) <= 20){ if ((((_local11 >= _local24.y)) && ((_local11 <= (_local24.y + _local24.h))))){ this[("strike" + _local12)].play(); if (_local24.side == 1){ bossInfo.lCompHealth = (bossInfo.lCompHealth - _arg7); _local24.ob.play(); } else { if (_local24.side == 2){ bossInfo.rCompHealth = (bossInfo.rCompHealth - _arg7); _local24.ob.play(); } else { bossInfo.health = (bossInfo.health - _arg7); }; }; _local9 = true; }; }; _local16++; }; } else { if ((((playerOb.x - _local10) * (playerOb.x - _local10)) + (((playerOb.y - (playerOb.h / 2)) - _local11) * ((playerOb.y - (playerOb.h / 2)) - _local11))) < 1200){ this[("strike" + _local12)].play(); playerOb.health = (playerOb.health - _arg7); _local9 = true; }; }; if (((!((map[_local15][_local14] == 0))) || ((liftsCollider.getPixel(_local10, _local11) == 0)))){ _local9 = true; } else { _local10 = (_local10 + _arg3); _local11 = (_local11 + _arg4); }; }; drawSprite.graphics.moveTo(_arg1, _arg2); drawSprite.graphics.lineTo(_local10, _local11); wallHit((_local10 - _arg3), (_local11 - _arg4)); _local13 = new Matrix(); _local13.rotate(Math.atan2(_arg4, _arg3)); _local13.translate(_arg1, _arg2); gunflash.gotoAndStop((Math.floor((Math.random() * 4)) + 1)); fade.draw(drawSprite); fade.draw(gunflash, _local13); } public function changeGun():void{ if (reloading == 0){ if (downKeys[("key" + controlsList[4])] == true){ channel2.stop(); channel3.stop(); channel4.stop(); gunSelected++; if (gunSelected >= gunsCollected.length){ gunSelected = 0; }; gunType = gunsCollected[gunSelected]; changegun.play(); } else { if (downKeys[("key" + controlsList[5])] == true){ channel2.stop(); channel3.stop(); channel4.stop(); gunSelected--; if (gunSelected < 0){ gunSelected = (gunsCollected.length - 1); }; gunType = gunsCollected[gunSelected]; changegun.play(); }; }; }; gun.gotoAndStop(gunType); gui.gunicon.gotoAndStop(gunType); if (gunType != 1){ gui.ammo.text = ((String(this[("gun" + gunType)].ammo) + " | ") + String(this[("gun" + gunType)].spare)); } else { gui.ammo.text = (String(this[("gun" + gunType)].ammo) + " | X"); }; if (gunType != 5){ player.body.gotoAndStop(1); } else { player.body.gotoAndStop(2); }; lastGun = gunType; if (gunSelected == 0){ gui.prevgun.gotoAndStop(gunsCollected[(gunsCollected.length - 1)]); } else { gui.prevgun.gotoAndStop(gunsCollected[(gunSelected - 1)]); }; if (gunSelected <= (gunsCollected.length - 2)){ gui.nextgun.gotoAndStop(gunsCollected[(gunSelected + 1)]); } else { gui.nextgun.gotoAndStop(gunsCollected[0]); }; } public function updateLifts():void{ var _local1:int; var _local2:MovieClip; var _local3:Matrix; var _local4:int; var _local5:int; var _local6:*; var _local7:int; _local1 = 0; while (_local1 < lifts.length) { _local2 = lifts[_local1]; if (_local2.s == 1){ _local2.x = (_local2.x + _local2.xv); _local2.y = (_local2.y + _local2.yv); _local2.timer--; if (_local2.timer == 0){ if (_local2.once == 1){ _local2.once = 2; _local2.s = 2; _local2.ch.stop(); _local7 = 0; while (_local7 < lifts.length) { if (lifts[_local7].id == _local2.id){ this[((("lifts_" + currentLevel) + "_") + currentStage)][_local2.id].s = 2; }; _local7++; }; }; _local2.xMove = (_local2.xMove * -1); _local2.yMove = (_local2.yMove * -1); _local2.xv = 0; _local2.yv = 0; _local2.ch.stop(); } else { if (_local2.timer == -30){ _local2.xv = _local2.xMove; _local2.yv = _local2.yMove; _local2.ch = liftrun.play(); _local2.ch.soundTransform = new SoundTransform(0, 0); } else { if (_local2.timer == (-(_local2.timeTake) - 30)){ _local2.xMove = (_local2.xMove * -1); _local2.yMove = (_local2.yMove * -1); _local2.xv = 0; _local2.yv = 0; _local2.ch.stop(); _local2.timer = (_local2.timeTake + 30); } else { if (_local2.timer == _local2.timeTake){ _local2.xv = _local2.xMove; _local2.yv = _local2.yMove; _local2.ch = liftrun.play(); _local2.ch.soundTransform = new SoundTransform(0, 0); }; }; }; }; }; _local3 = new Matrix(); _local3.translate(_local2.x, _local2.y); liftsCollider.draw(_local2, _local3); _local4 = (playerOb.x - (_local2.x + (_local2.width / 2))); _local5 = ((playerOb.y - 30) - (_local2.y + (_local2.height / 2))); _local6 = Math.sqrt(((_local4 * _local4) + (_local5 * _local5))); if (_local6 <= 200){ _local2.ch.soundTransform = new SoundTransform(((200 - _local6) / 200), 0); } else { _local2.ch.soundTransform = new SoundTransform(0, 0); }; _local1++; }; } public function updateParts():void{ var _local1:int; var _local2:*; var _local3:int; var _local4:int; _local1 = 0; while (_local1 < parts.length) { _local2 = parts[_local1]; _local3 = Math.floor(((_local2.x + _local2.xv) / tileW)); _local4 = Math.floor(((_local2.y + _local2.yv) / tileH)); if (map[_local4][_local3] > 0){ sprites.removeChild(_local2); parts.splice(_local1, 1); _local1--; } else { _local2.x = (_local2.x + _local2.xv); _local2.y = (_local2.y + _local2.yv); _local2.yv = (_local2.yv + (grav / 2)); _local2.rotation = (_local2.rotation + _local2.rotSpeed); }; _local1++; }; } public function updateJumpPads():void{ var _local1:int; _local1 = 0; while (_local1 < upPads.length) { if (jumpPads[((("pad_" + upPads[_local1][0]) + "_") + upPads[_local1][1])].timer > 0){ jumpPads[((("pad_" + upPads[_local1][0]) + "_") + upPads[_local1][1])].timer--; } else { levelMap.fillRect(new Rectangle((upPads[_local1][1] * tileH), ((upPads[_local1][0] * tileW) - 15), tileW, (tileH + 15)), 0xFFFFFF); levelMap.copyPixels(jumpDown, new Rectangle(0, 0, tileW, tileH), new Point((upPads[_local1][1] * tileW), (upPads[_local1][0] * tileH))); upPads.splice(_local1, 1); _local1--; }; _local1++; }; } public function moveScreen():void{ if ((((playerOb.y > (stageH / 2))) && ((playerOb.y < ((map.length * tileH) - (stageH / 2)))))){ if (player.y != (stageH / 2)){ player.y = ((stageH / 2) - posAddY); }; posY = ((playerOb.y - (stageH / 2)) + posAddY); } else { if (playerOb.y > (stageH / 2)){ posY = (((map.length * tileH) - stageH) + posAddY); } else { posY = posAddY; }; player.y = (playerOb.y - posY); }; if ((((playerOb.x > (stageW / 2))) && ((playerOb.x < ((map[0].length * tileW) - (stageW / 2)))))){ if (player.x != (stageW / 2)){ player.x = ((stageW / 2) - posAddX); }; player.x = ((stageW / 2) - posAddX); posX = ((playerOb.x - (stageW / 2)) + posAddX); } else { if (playerOb.x > (stageW / 2)){ posX = (((map[0].length * tileW) - stageW) + posAddX); } else { posX = posAddX; }; player.x = (playerOb.x - posX); }; } public function addBoss(_arg1:int, _arg2:int):void{ var _local3:leftframe; var _local4:rightframe; var _local5:bosslauncher; var _local6:bosslauncher; var _local7:bosslauncher; var _local8:bosslauncher; boss = new BOSS(); boss.x = ((_arg1 * tileW) + 3); boss.y = ((_arg2 * tileH) + 1); bossParts.push(boss); sprites.addChild(boss); _local3 = new leftframe(); _local3.x = ((_arg1 - 1) * tileW); _local3.y = (_arg2 * tileH); bossParts.push(_local3); sprites.addChild(_local3); if (bossInfo.ldead == true){ _local3.gotoAndStop(4); computers.push({ob:_local3, x:(((_arg1 - 1) * tileW) + 50), y:(_arg2 * tileH), h:120, side:3}); if (bossInfo.rdead == true){ boss.body.gotoAndStop(4); } else { boss.body.gotoAndStop(3); }; } else { computers.push({ob:_local3, x:(((_arg1 - 1) * tileW) + 20), y:(_arg2 * tileH), h:120, side:1}); }; _local4 = new rightframe(); _local4.x = (((_arg1 + 4) * tileW) - 15); _local4.y = (_arg2 * tileH); bossParts.push(_local4); sprites.addChild(_local4); if (bossInfo.rdead == true){ _local4.gotoAndStop(4); computers.push({ob:_local4, x:(((_arg1 + 4) * tileW) - 20), y:(_arg2 * tileH), h:120, side:3}); if (bossInfo.ldead == true){ boss.body.gotoAndStop(4); } else { boss.body.gotoAndStop(2); }; } else { computers.push({ob:_local4, x:(((_arg1 + 4) * tileW) + 10), y:(_arg2 * tileH), h:120, side:2}); }; _local5 = new bosslauncher(); _local5.x = (4 * tileW); _local5.y = (12 * tileH); _local5.scaleX = -1; bossParts.push(_local5); sprites.addChild(_local5); _local6 = new bosslauncher(); _local6.x = (20 * tileW); _local6.y = (8 * tileH); _local6.scaleX = -1; bossParts.push(_local6); sprites.addChild(_local6); _local7 = new bosslauncher(); _local7.x = (16 * tileW); _local7.y = (8 * tileH); bossParts.push(_local7); sprites.addChild(_local7); _local8 = new bosslauncher(); _local8.x = (32 * tileW); _local8.y = (12 * tileH); bossParts.push(_local8); sprites.addChild(_local8); } public function grenadeExplode(_arg1:int, _arg2:int):void{ var _local3:int; var _local4:int; exp1.play(); _local3 = 0; while (_local3 < 10) { newParticle(_arg1, _arg2, 3, ((Math.random() * 4) + 1)); _local3++; }; _local4 = 0; while (_local4 < 15) { newExplosionParticle(_arg1, _arg2, 4, ((Math.random() * 4) + 1)); _local4++; }; } } }//package mechanaughtCB_fla
Section 26
//menu_142 (mechanaughtCB_fla.menu_142) package mechanaughtCB_fla { import flash.display.*; public dynamic class menu_142 extends MovieClip { public var button1:MovieClip; public var button5:MovieClip; public var button3:MovieClip; public var button2:MovieClip; public var button4:MovieClip; public function menu_142(){ addFrameScript(138, frame139); } function frame139(){ stop(); } } }//package mechanaughtCB_fla
Section 27
//menubar_141 (mechanaughtCB_fla.menubar_141) package mechanaughtCB_fla { import flash.display.*; public dynamic class menubar_141 extends MovieClip { public function menubar_141(){ addFrameScript(117, frame118); } function frame118(){ stop(); } } }//package mechanaughtCB_fla
Section 28
//missilegun_83 (mechanaughtCB_fla.missilegun_83) package mechanaughtCB_fla { import flash.display.*; public dynamic class missilegun_83 extends MovieClip { public function missilegun_83(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 29
//moregamesbtn_73 (mechanaughtCB_fla.moregamesbtn_73) package mechanaughtCB_fla { import flash.display.*; public dynamic class moregamesbtn_73 extends MovieClip { public function moregamesbtn_73(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 30
//moveleftcon_27 (mechanaughtCB_fla.moveleftcon_27) package mechanaughtCB_fla { import flash.display.*; public dynamic class moveleftcon_27 extends MovieClip { public function moveleftcon_27(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 31
//moverightcon_28 (mechanaughtCB_fla.moverightcon_28) package mechanaughtCB_fla { import flash.display.*; public dynamic class moverightcon_28 extends MovieClip { public function moverightcon_28(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 32
//mutecon_35 (mechanaughtCB_fla.mutecon_35) package mechanaughtCB_fla { import flash.display.*; public dynamic class mutecon_35 extends MovieClip { public function mutecon_35(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 33
//NEWGAMEBTN_143 (mechanaughtCB_fla.NEWGAMEBTN_143) package mechanaughtCB_fla { import flash.display.*; public dynamic class NEWGAMEBTN_143 extends MovieClip { public function NEWGAMEBTN_143(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package mechanaughtCB_fla
Section 34
//nextTab_65 (mechanaughtCB_fla.nextTab_65) package mechanaughtCB_fla { import flash.display.*; public dynamic class nextTab_65 extends MovieClip { public function nextTab_65(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 35
//nextweaponcon_31 (mechanaughtCB_fla.nextweaponcon_31) package mechanaughtCB_fla { import flash.display.*; public dynamic class nextweaponcon_31 extends MovieClip { public function nextweaponcon_31(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 36
//ok_91 (mechanaughtCB_fla.ok_91) package mechanaughtCB_fla { import flash.display.*; public dynamic class ok_91 extends MovieClip { public function ok_91(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 37
//pausecon_34 (mechanaughtCB_fla.pausecon_34) package mechanaughtCB_fla { import flash.display.*; public dynamic class pausecon_34 extends MovieClip { public function pausecon_34(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 38
//pickupdisplay_66 (mechanaughtCB_fla.pickupdisplay_66) package mechanaughtCB_fla { import flash.display.*; public dynamic class pickupdisplay_66 extends MovieClip { public var mc:MovieClip; public function pickupdisplay_66(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 39
//pickupppp_67 (mechanaughtCB_fla.pickupppp_67) package mechanaughtCB_fla { import flash.display.*; import flash.text.*; public dynamic class pickupppp_67 extends MovieClip { public var txt:TextField; } }//package mechanaughtCB_fla
Section 40
//playmoregames_52 (mechanaughtCB_fla.playmoregames_52) package mechanaughtCB_fla { import flash.display.*; public dynamic class playmoregames_52 extends MovieClip { public function playmoregames_52(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 41
//postcomments_126 (mechanaughtCB_fla.postcomments_126) package mechanaughtCB_fla { import flash.display.*; public dynamic class postcomments_126 extends MovieClip { public function postcomments_126(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 42
//preloader_2 (mechanaughtCB_fla.preloader_2) package mechanaughtCB_fla { import flash.display.*; public dynamic class preloader_2 extends MovieClip { public function preloader_2(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 43
//prevweaponcon_32 (mechanaughtCB_fla.prevweaponcon_32) package mechanaughtCB_fla { import flash.display.*; public dynamic class prevweaponcon_32 extends MovieClip { public function prevweaponcon_32(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 44
//reloadcon_33 (mechanaughtCB_fla.reloadcon_33) package mechanaughtCB_fla { import flash.display.*; public dynamic class reloadcon_33 extends MovieClip { public function reloadcon_33(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 45
//reloadingcircle_97 (mechanaughtCB_fla.reloadingcircle_97) package mechanaughtCB_fla { import flash.display.*; public dynamic class reloadingcircle_97 extends MovieClip { public function reloadingcircle_97(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 46
//RESTOREDEFAULTS_104 (mechanaughtCB_fla.RESTOREDEFAULTS_104) package mechanaughtCB_fla { import flash.display.*; public dynamic class RESTOREDEFAULTS_104 extends MovieClip { public function RESTOREDEFAULTS_104(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 47
//resume_90 (mechanaughtCB_fla.resume_90) package mechanaughtCB_fla { import flash.display.*; public dynamic class resume_90 extends MovieClip { public function resume_90(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 48
//returntogame_124 (mechanaughtCB_fla.returntogame_124) package mechanaughtCB_fla { import flash.display.*; public dynamic class returntogame_124 extends MovieClip { public function returntogame_124(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 49
//returntomainmenu_51 (mechanaughtCB_fla.returntomainmenu_51) package mechanaughtCB_fla { import flash.display.*; public dynamic class returntomainmenu_51 extends MovieClip { public function returntomainmenu_51(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 50
//saveinslot1_99 (mechanaughtCB_fla.saveinslot1_99) package mechanaughtCB_fla { import flash.display.*; import flash.text.*; public dynamic class saveinslot1_99 extends MovieClip { public var txt:TextField; public function saveinslot1_99(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 51
//saveinslot2_100 (mechanaughtCB_fla.saveinslot2_100) package mechanaughtCB_fla { import flash.display.*; import flash.text.*; public dynamic class saveinslot2_100 extends MovieClip { public var txt:TextField; public function saveinslot2_100(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 52
//saveinslot3_101 (mechanaughtCB_fla.saveinslot3_101) package mechanaughtCB_fla { import flash.display.*; import flash.text.*; public dynamic class saveinslot3_101 extends MovieClip { public var txt:TextField; public function saveinslot3_101(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 53
//screenshots_127 (mechanaughtCB_fla.screenshots_127) package mechanaughtCB_fla { import flash.display.*; public dynamic class screenshots_127 extends MovieClip { public function screenshots_127(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 54
//settingsbtn_146 (mechanaughtCB_fla.settingsbtn_146) package mechanaughtCB_fla { import flash.display.*; public dynamic class settingsbtn_146 extends MovieClip { public function settingsbtn_146(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package mechanaughtCB_fla
Section 55
//theboardsymbol_148 (mechanaughtCB_fla.theboardsymbol_148) package mechanaughtCB_fla { import flash.display.*; public dynamic class theboardsymbol_148 extends MovieClip { public function theboardsymbol_148(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 56
//THEORYTEXT_139 (mechanaughtCB_fla.THEORYTEXT_139) package mechanaughtCB_fla { import flash.display.*; public dynamic class THEORYTEXT_139 extends MovieClip { public function THEORYTEXT_139(){ addFrameScript(92, frame93); } function frame93(){ stop(); } } }//package mechanaughtCB_fla
Section 57
//titlefadein_152 (mechanaughtCB_fla.titlefadein_152) package mechanaughtCB_fla { import flash.display.*; public dynamic class titlefadein_152 extends MovieClip { public function titlefadein_152(){ addFrameScript(29, frame30); } function frame30(){ stop(); } } }//package mechanaughtCB_fla
Section 58
//updatesbtn_71 (mechanaughtCB_fla.updatesbtn_71) package mechanaughtCB_fla { import flash.display.*; public dynamic class updatesbtn_71 extends MovieClip { public function updatesbtn_71(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 59
//updatesontwitter_125 (mechanaughtCB_fla.updatesontwitter_125) package mechanaughtCB_fla { import flash.display.*; public dynamic class updatesontwitter_125 extends MovieClip { public function updatesontwitter_125(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mechanaughtCB_fla
Section 60
//bgloop (bgloop) package { import flash.media.*; public dynamic class bgloop extends Sound { } }//package
Section 61
//BOSS (BOSS) package { import flash.display.*; public dynamic class BOSS extends MovieClip { public var body:MovieClip; public var head:MovieClip; public function BOSS(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 62
//bosslauncher (bosslauncher) package { import flash.display.*; public dynamic class bosslauncher extends MovieClip { } }//package
Section 63
//buttonclick (buttonclick) package { import flash.media.*; public dynamic class buttonclick extends Sound { } }//package
Section 64
//cantpickup (cantpickup) package { import flash.media.*; public dynamic class cantpickup extends Sound { } }//package
Section 65
//char (char) package { import flash.display.*; public dynamic class char extends MovieClip { public var legs:MovieClip; public var reload:MovieClip; public var body:MovieClip; public function char(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 66
//closebolt (closebolt) package { import flash.media.*; public dynamic class closebolt extends Sound { } }//package
Section 67
//CONTROLS (CONTROLS) package { import flash.display.*; public dynamic class CONTROLS extends MovieClip { public var con7:MovieClip; public var con5:MovieClip; public var backbtn:MovieClip; public var con6:MovieClip; public var con9:MovieClip; public var option2:MovieClip; public var option4:MovieClip; public var option8:MovieClip; public var option7:MovieClip; public var option9:MovieClip; public var option3:MovieClip; public var option6:MovieClip; public var option1:MovieClip; public var option5:MovieClip; public var selector:MovieClip; public var con1:MovieClip; public var con3:MovieClip; public var con4:MovieClip; public var con8:MovieClip; public var con2:MovieClip; } }//package
Section 68
//conveyor1set (conveyor1set) package { import flash.display.*; public dynamic class conveyor1set extends BitmapData { public function conveyor1set(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 69
//conveyor2set (conveyor2set) package { import flash.display.*; public dynamic class conveyor2set extends BitmapData { public function conveyor2set(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 70
//conveyor3set (conveyor3set) package { import flash.display.*; public dynamic class conveyor3set extends BitmapData { public function conveyor3set(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 71
//conveyor4set (conveyor4set) package { import flash.display.*; public dynamic class conveyor4set extends BitmapData { public function conveyor4set(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 72
//conveyor5set (conveyor5set) package { import flash.display.*; public dynamic class conveyor5set extends BitmapData { public function conveyor5set(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 73
//conveyor6set (conveyor6set) package { import flash.display.*; public dynamic class conveyor6set extends BitmapData { public function conveyor6set(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 74
//CREDITS (CREDITS) package { import flash.display.*; public dynamic class CREDITS extends MovieClip { public var roll:MovieClip; } }//package
Section 75
//CURSOR (CURSOR) package { import flash.display.*; public dynamic class CURSOR extends MovieClip { } }//package
Section 76
//death1 (death1) package { import flash.media.*; public dynamic class death1 extends Sound { } }//package
Section 77
//death2 (death2) package { import flash.media.*; public dynamic class death2 extends Sound { } }//package
Section 78
//door (door) package { import flash.display.*; public dynamic class door extends MovieClip { public function door(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 79
//endpoint (endpoint) package { import flash.display.*; public dynamic class endpoint extends MovieClip { } }//package
Section 80
//explode1 (explode1) package { import flash.media.*; public dynamic class explode1 extends Sound { } }//package
Section 81
//explosionparts (explosionparts) package { import flash.display.*; public dynamic class explosionparts extends MovieClip { public function explosionparts(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 82
//flamethrower (flamethrower) package { import flash.media.*; public dynamic class flamethrower extends Sound { } }//package
Section 83
//flier (flier) package { import flash.display.*; public dynamic class flier extends MovieClip { public var hbar:MovieClip; } }//package
Section 84
//gameloop (gameloop) package { import flash.media.*; public dynamic class gameloop extends Sound { } }//package
Section 85
//gameover (gameover) package { import flash.display.*; public dynamic class gameover extends MovieClip { public var option2:MovieClip; public var option1:MovieClip; public var option3:MovieClip; public var adBox:MovieClip; } }//package
Section 86
//godoor (godoor) package { import flash.media.*; public dynamic class godoor extends Sound { } }//package
Section 87
//grenade (grenade) package { import flash.display.*; public dynamic class grenade extends MovieClip { } }//package
Section 88
//grunt (grunt) package { import flash.display.*; public dynamic class grunt extends MovieClip { public var legs:MovieClip; public var arm:MovieClip; public var hbar:MovieClip; } }//package
Section 89
//GUI (GUI) package { import flash.display.*; import flash.text.*; public dynamic class GUI extends MovieClip { public var bosshealth:MovieClip; public var updatebtn:MovieClip; public var lives:TextField; public var pickupdisp:MovieClip; public var prevgun:MovieClip; public var health:MovieClip; public var nextgun:MovieClip; public var gunicon:MovieClip; public var ammo:TextField; public var morebtn:MovieClip; } }//package
Section 90
//gunarm (gunarm) package { import flash.display.*; public dynamic class gunarm extends MovieClip { public function gunarm(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 91
//gunchange (gunchange) package { import flash.media.*; public dynamic class gunchange extends Sound { } }//package
Section 92
//heavy (heavy) package { import flash.display.*; public dynamic class heavy extends MovieClip { public var legs:MovieClip; public var arm:MovieClip; public var hbar:MovieClip; } }//package
Section 93
//hit1 (hit1) package { import flash.media.*; public dynamic class hit1 extends Sound { } }//package
Section 94
//hit2 (hit2) package { import flash.media.*; public dynamic class hit2 extends Sound { } }//package
Section 95
//hit3 (hit3) package { import flash.media.*; public dynamic class hit3 extends Sound { } }//package
Section 96
//introtext (introtext) package { import flash.display.*; public dynamic class introtext extends MovieClip { public function introtext(){ addFrameScript(226, frame227); } function frame227(){ stop(); } } }//package
Section 97
//jump1 (jump1) package { import flash.display.*; public dynamic class jump1 extends BitmapData { public function jump1(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 98
//jump2 (jump2) package { import flash.display.*; public dynamic class jump2 extends BitmapData { public function jump2(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 99
//jumping (jumping) package { import flash.media.*; public dynamic class jumping extends Sound { } }//package
Section 100
//keyboardtype (keyboardtype) package { import flash.media.*; public dynamic class keyboardtype extends Sound { } }//package
Section 101
//launcher (launcher) package { import flash.display.*; public dynamic class launcher extends MovieClip { public var gun:MovieClip; public var hbar:MovieClip; } }//package
Section 102
//lazersound (lazersound) package { import flash.media.*; public dynamic class lazersound extends Sound { } }//package
Section 103
//leftframe (leftframe) package { import flash.display.*; public dynamic class leftframe extends MovieClip { public function leftframe(){ addFrameScript(0, frame1, 2, frame3); } function frame3(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package
Section 104
//levelTrans (levelTrans) package { import flash.display.*; import flash.text.*; public dynamic class levelTrans extends MovieClip { public var leveltxt:TextField; public function levelTrans(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 105
//liftrunning (liftrunning) package { import flash.media.*; public dynamic class liftrunning extends Sound { } }//package
Section 106
//liftstarting (liftstarting) package { import flash.media.*; public dynamic class liftstarting extends Sound { } }//package
Section 107
//liftstopping (liftstopping) package { import flash.media.*; public dynamic class liftstopping extends Sound { } }//package
Section 108
//loadbullet (loadbullet) package { import flash.media.*; public dynamic class loadbullet extends Sound { } }//package
Section 109
//LOADGAME (LOADGAME) package { import flash.display.*; import flash.text.*; public dynamic class LOADGAME extends MovieClip { public var slot3:MovieClip; public var slot1:MovieClip; public var backbtn:MovieClip; public var slot2:MovieClip; public var slotdata2:TextField; public var slotdata1:TextField; public var slotdata0:TextField; } }//package
Section 110
//machinegunfire (machinegunfire) package { import flash.media.*; public dynamic class machinegunfire extends Sound { } }//package
Section 111
//menuloop (menuloop) package { import flash.media.*; public dynamic class menuloop extends Sound { } }//package
Section 112
//missile (missile) package { import flash.display.*; public dynamic class missile extends MovieClip { } }//package
Section 113
//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 114
//mouseover (mouseover) package { import flash.media.*; public dynamic class mouseover extends Sound { } }//package
Section 115
//movingtile (movingtile) package { import flash.display.*; public dynamic class movingtile extends MovieClip { } }//package
Section 116
//octobomb (octobomb) package { import flash.display.*; public dynamic class octobomb extends MovieClip { } }//package
Section 117
//openbolt (openbolt) package { import flash.media.*; public dynamic class openbolt extends Sound { } }//package
Section 118
//part (part) package { import flash.display.*; public dynamic class part extends MovieClip { public function part(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 119
//particle (particle) package { import flash.display.*; public dynamic class particle extends MovieClip { } }//package
Section 120
//pausemenu (pausemenu) package { import flash.display.*; public dynamic class pausemenu extends MovieClip { public var slot1:MovieClip; public var option2:MovieClip; public var option1:MovieClip; public function pausemenu(){ addFrameScript(22, frame23, 35, frame36, 47, frame48, 70, frame71); } function frame71(){ stop(); } function frame23(){ stop(); } function frame36(){ stop(); } function frame48(){ gotoAndPlay(22); } } }//package
Section 121
//pickup (pickup) package { import flash.display.*; public dynamic class pickup extends MovieClip { public function pickup(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 122
//pickupsound (pickupsound) package { import flash.media.*; public dynamic class pickupsound extends Sound { } }//package
Section 123
//pistolshot (pistolshot) package { import flash.media.*; public dynamic class pistolshot extends Sound { } }//package
Section 124
//popup (popup) package { import flash.display.*; public dynamic class popup extends MovieClip { public var slot1:MovieClip; public var option2:MovieClip; public var option4:MovieClip; public var option1:MovieClip; public var option3:MovieClip; public var op1:MovieClip; public var op2:MovieClip; public function popup(){ addFrameScript(22, frame23, 35, frame36, 48, frame49, 71, frame72, 83, frame84, 106, frame107); } function frame72(){ stop(); } function frame84(){ gotoAndPlay(48); } function frame107(){ stop(); } function frame23(){ stop(); } function frame36(){ stop(); } function frame49(){ stop(); } } }//package
Section 125
//popup2 (popup2) package { import flash.display.*; public dynamic class popup2 extends MovieClip { public var slot1:MovieClip; public var option2:MovieClip; public var option1:MovieClip; } }//package
Section 126
//rightframe (rightframe) package { import flash.display.*; public dynamic class rightframe extends MovieClip { public function rightframe(){ addFrameScript(0, frame1, 2, frame3); } function frame3(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package
Section 127
//rocketlaunch (rocketlaunch) package { import flash.media.*; public dynamic class rocketlaunch extends Sound { } }//package
Section 128
//savepoint (savepoint) package { import flash.display.*; public dynamic class savepoint extends MovieClip { } }//package
Section 129
//savesuccess (savesuccess) package { import flash.media.*; public dynamic class savesuccess extends Sound { } }//package
Section 130
//shortburst (shortburst) package { import flash.media.*; public dynamic class shortburst extends Sound { } }//package
Section 131
//shotgunshot (shotgunshot) package { import flash.media.*; public dynamic class shotgunshot extends Sound { } }//package
Section 132
//spawnsound (spawnsound) package { import flash.media.*; public dynamic class spawnsound extends Sound { } }//package
Section 133
//spring (spring) package { import flash.media.*; public dynamic class spring extends Sound { } }//package
Section 134
//startmov (startmov) package { import flash.display.*; public dynamic class startmov extends MovieClip { public function startmov(){ addFrameScript(620, frame621); } function frame621(){ stop(); } } }//package
Section 135
//switchmc (switchmc) package { import flash.display.*; public dynamic class switchmc extends MovieClip { public function switchmc(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 136
//switchpress (switchpress) package { import flash.media.*; public dynamic class switchpress extends Sound { } }//package
Section 137
//tilesheet (tilesheet) package { import flash.display.*; public dynamic class tilesheet extends BitmapData { public function tilesheet(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 138
//TITLE (TITLE) package { import flash.display.*; public dynamic class TITLE extends MovieClip { public var theboard:MovieClip; public var alillmbtn:MovieClip; public var buttons:MovieClip; } }//package
Section 139
//TRANS (TRANS) package { import flash.display.*; public dynamic class TRANS extends MovieClip { public function TRANS(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 140
//turret (turret) package { import flash.display.*; public dynamic class turret extends MovieClip { public var gun:MovieClip; public var hbar:MovieClip; } }//package
Section 141
//tvcover (tvcover) package { import flash.display.*; import flash.text.*; public dynamic class tvcover extends MovieClip { public var txt:TextField; } }//package
Section 142
//tvscreen (tvscreen) package { import flash.display.*; public dynamic class tvscreen extends MovieClip { } }//package
Section 143
//updatespage (updatespage) package { import flash.display.*; public dynamic class updatespage extends MovieClip { public var option2:MovieClip; public var option4:MovieClip; public var option1:MovieClip; public var option3:MovieClip; public var option5:MovieClip; public var adBox:MovieClip; } }//package

Library Items

Symbol 1 Bitmap {tilesheet}
Symbol 2 Bitmap {jump2}
Symbol 3 Bitmap {jump1}
Symbol 4 Bitmap {conveyor6set}
Symbol 5 Bitmap {conveyor5set}
Symbol 6 Bitmap {conveyor4set}
Symbol 7 Bitmap {conveyor3set}
Symbol 8 Bitmap {conveyor2set}
Symbol 9 Bitmap {conveyor1set}
Symbol 10 BitmapUsed by:13 156 513
Symbol 11 BitmapUsed by:13
Symbol 12 BitmapUsed by:13 26 28 30 32 54 156 194 513
Symbol 13 GraphicUses:10 11 12Used by:71
Symbol 14 FontUsed by:15 19 38 39 41 42 44 45 47 48 50 51 58 77 79 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 157 158 159 163 164 166 167 169 170 172 173 283 286 288 289 291 292 294 295 297 298 300 301 303 304 306 307 309 310 312 313 317 318 319 320 321 322 323 324 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 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 417 418 419 421 422 516 517 518 519 520 521 522 580 581 582 584 585 587 657
Symbol 15 TextUses:14Used by:16
Symbol 16 MovieClipUses:15Used by:18
Symbol 17 SoundUsed by:18 236
Symbol 18 MovieClip {mechanaughtCB_fla.BULLETTEXT_137}Uses:16 17Used by:71
Symbol 19 TextUses:14Used by:20
Symbol 20 MovieClipUses:19Used by:21
Symbol 21 MovieClip {mechanaughtCB_fla.THEORYTEXT_139}Uses:20Used by:71
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:35 175 387 424 523 594 655 661  Timeline
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:35 175 387 424 523 594 655 661  Timeline
Symbol 26 GraphicUses:12Used by:27
Symbol 27 MovieClipUses:26Used by:35 175 387 424 523 594 655 661  Timeline
Symbol 28 GraphicUses:12Used by:29
Symbol 29 MovieClipUses:28Used by:35 175 387 424 523 594 655 661  Timeline
Symbol 30 GraphicUses:12Used by:31
Symbol 31 MovieClipUses:30Used by:35 175 387 424 523 594 655 661  Timeline
Symbol 32 GraphicUses:12Used by:33
Symbol 33 MovieClipUses:32Used by:35 175 387 424 523 594 655 661  Timeline
Symbol 34 SoundUsed by:35 236
Symbol 35 MovieClip {mechanaughtCB_fla.menubar_141}Uses:23 25 27 29 31 33 34Used by:71
Symbol 36 GraphicUsed by:37 72 74 188 193 393 394 408 481 487 515 678 696
Symbol 37 MovieClipUses:36Used by:53 175 387 424
Symbol 38 TextUses:14Used by:40
Symbol 39 TextUses:14Used by:40
Symbol 40 MovieClip {mechanaughtCB_fla.NEWGAMEBTN_143}Uses:38 39Used by:53
Symbol 41 TextUses:14Used by:43
Symbol 42 TextUses:14Used by:43
Symbol 43 MovieClip {mechanaughtCB_fla.loadgamebtn_144}Uses:41 42Used by:53
Symbol 44 TextUses:14Used by:46
Symbol 45 TextUses:14Used by:46
Symbol 46 MovieClip {mechanaughtCB_fla.instructionsbtn_145}Uses:44 45Used by:53
Symbol 47 TextUses:14Used by:49
Symbol 48 TextUses:14Used by:49
Symbol 49 MovieClip {mechanaughtCB_fla.settingsbtn_146}Uses:47 48Used by:53
Symbol 50 TextUses:14Used by:52
Symbol 51 TextUses:14Used by:52
Symbol 52 MovieClip {mechanaughtCB_fla.creditsbtn_147}Uses:50 51Used by:53
Symbol 53 MovieClip {mechanaughtCB_fla.menu_142}Uses:37 40 43 46 49 52Used by:71
Symbol 54 GraphicUses:12Used by:55
Symbol 55 MovieClipUses:54Used by:56
Symbol 56 MovieClipUses:55Used by:57
Symbol 57 MovieClip {mechanaughtCB_fla.theboardsymbol_148}Uses:56Used by:71
Symbol 58 TextUses:14Used by:59
Symbol 59 MovieClipUses:58Used by:71
Symbol 60 ShapeTweeningUsed by:66
Symbol 61 ShapeTweeningUsed by:66
Symbol 62 ShapeTweeningUsed by:66
Symbol 63 ShapeTweeningUsed by:66
Symbol 64 ShapeTweeningUsed by:66
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:60 61 62 63 64 65Used by:69  Timeline
Symbol 67 GraphicUsed by:68 703
Symbol 68 MovieClipUses:67Used by:69
Symbol 69 MovieClipUses:66 68Used by:70
Symbol 70 MovieClip {mechanaughtCB_fla.titlefadein_152}Uses:69Used by:71
Symbol 71 MovieClip {TITLE}Uses:13 18 21 35 53 57 59 70
Symbol 72 MovieClipUses:36Used by:73
Symbol 73 MovieClip {TRANS}Uses:72
Symbol 74 MovieClipUses:36Used by:78
Symbol 75 GraphicUsed by:76 406 407 472 484 485 656
Symbol 76 MovieClipUses:75Used by:78
Symbol 77 EditableTextUses:14Used by:78
Symbol 78 MovieClip {levelTrans}Uses:74 76 77
Symbol 79 TextUses:14Used by:80
Symbol 80 MovieClipUses:79Used by:149 394
Symbol 81 EditableTextUses:14Used by:149
Symbol 82 TextUses:14Used by:149
Symbol 83 TextUses:14Used by:149
Symbol 84 TextUses:14Used by:149
Symbol 85 TextUses:14Used by:149
Symbol 86 TextUses:14Used by:149
Symbol 87 TextUses:14Used by:149
Symbol 88 TextUses:14Used by:149
Symbol 89 TextUses:14Used by:149
Symbol 90 TextUses:14Used by:149
Symbol 91 TextUses:14Used by:149
Symbol 92 TextUses:14Used by:149
Symbol 93 TextUses:14Used by:149
Symbol 94 TextUses:14Used by:149
Symbol 95 TextUses:14Used by:149
Symbol 96 TextUses:14Used by:149
Symbol 97 TextUses:14Used by:149
Symbol 98 TextUses:14Used by:149
Symbol 99 TextUses:14Used by:149
Symbol 100 TextUses:14Used by:149
Symbol 101 TextUses:14Used by:149
Symbol 102 TextUses:14Used by:149
Symbol 103 TextUses:14Used by:149
Symbol 104 TextUses:14Used by:149
Symbol 105 TextUses:14Used by:149
Symbol 106 TextUses:14Used by:149
Symbol 107 TextUses:14Used by:149
Symbol 108 TextUses:14Used by:149
Symbol 109 TextUses:14Used by:149
Symbol 110 TextUses:14Used by:149
Symbol 111 TextUses:14Used by:149
Symbol 112 TextUses:14Used by:149
Symbol 113 TextUses:14Used by:149
Symbol 114 TextUses:14Used by:149
Symbol 115 TextUses:14Used by:149
Symbol 116 TextUses:14Used by:149
Symbol 117 TextUses:14Used by:149
Symbol 118 TextUses:14Used by:149
Symbol 119 TextUses:14Used by:149
Symbol 120 TextUses:14Used by:149
Symbol 121 TextUses:14Used by:149
Symbol 122 TextUses:14Used by:149
Symbol 123 TextUses:14Used by:149
Symbol 124 TextUses:14Used by:149
Symbol 125 TextUses:14Used by:149
Symbol 126 TextUses:14Used by:149
Symbol 127 TextUses:14Used by:149
Symbol 128 TextUses:14Used by:149
Symbol 129 TextUses:14Used by:149
Symbol 130 TextUses:14Used by:149
Symbol 131 TextUses:14Used by:149
Symbol 132 TextUses:14Used by:149
Symbol 133 TextUses:14Used by:149
Symbol 134 TextUses:14Used by:149
Symbol 135 TextUses:14Used by:149
Symbol 136 TextUses:14Used by:149
Symbol 137 TextUses:14Used by:149
Symbol 138 TextUses:14Used by:149
Symbol 139 TextUses:14Used by:149
Symbol 140 TextUses:14Used by:149
Symbol 141 TextUses:14Used by:149
Symbol 142 TextUses:14Used by:149
Symbol 143 TextUses:14Used by:149
Symbol 144 TextUses:14Used by:149
Symbol 145 TextUses:14Used by:149
Symbol 146 TextUses:14Used by:149
Symbol 147 TextUses:14Used by:149
Symbol 148 TextUses:14Used by:149
Symbol 149 MovieClip {introtext}Uses:80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
Symbol 150 BitmapUsed by:151 511
Symbol 151 GraphicUses:150Used by:152 153
Symbol 152 MovieClipUses:151Used by:153 512
Symbol 153 MovieClip {rightframe}Uses:151 152
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClip {CURSOR}Uses:154
Symbol 156 GraphicUses:10 12Used by:175 387 424
Symbol 157 TextUses:14Used by:175
Symbol 158 TextUses:14Used by:160
Symbol 159 TextUses:14Used by:160
Symbol 160 MovieClip {mechanaughtCB_fla.playmoregames_52}Uses:158 159Used by:175 424
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClipUses:161Used by:175 424  Timeline
Symbol 163 TextUses:14Used by:165
Symbol 164 TextUses:14Used by:165
Symbol 165 MovieClip {mechanaughtCB_fla.returntogame_124}Uses:163 164Used by:175
Symbol 166 TextUses:14Used by:168
Symbol 167 TextUses:14Used by:168
Symbol 168 MovieClip {mechanaughtCB_fla.updatesontwitter_125}Uses:166 167Used by:175
Symbol 169 TextUses:14Used by:171
Symbol 170 TextUses:14Used by:171
Symbol 171 MovieClip {mechanaughtCB_fla.postcomments_126}Uses:169 170Used by:175
Symbol 172 TextUses:14Used by:174
Symbol 173 TextUses:14Used by:174
Symbol 174 MovieClip {mechanaughtCB_fla.screenshots_127}Uses:172 173Used by:175
Symbol 175 MovieClip {updatespage}Uses:156 157 37 23 25 27 29 31 33 160 162 165 168 171 174
Symbol 176 GraphicUsed by:187
Symbol 177 GraphicUsed by:187
Symbol 178 GraphicUsed by:187
Symbol 179 GraphicUsed by:187
Symbol 180 GraphicUsed by:187
Symbol 181 GraphicUsed by:187
Symbol 182 GraphicUsed by:187
Symbol 183 GraphicUsed by:187
Symbol 184 GraphicUsed by:187
Symbol 185 GraphicUsed by:187
Symbol 186 GraphicUsed by:187
Symbol 187 MovieClip {mechanaughtCB_fla.preloader_2}Uses:176 177 178 179 180 181 182 183 184 185 186Used by:Timeline
Symbol 188 MovieClipUses:36Used by:Timeline
Symbol 189 FontUsed by:190 191 198 199 390 488 489 491 492 588 589 591 592 644 645 647 648 650 651 653 654 658 659
Symbol 190 TextUses:189Used by:192
Symbol 191 TextUses:189Used by:192
Symbol 192 MovieClip {mechanaughtCB_fla.coolbuddy_11}Uses:190 191Used by:Timeline
Symbol 193 MovieClip {mechanaughtCB_fla.loadblock_12}Uses:36Used by:Timeline
Symbol 194 GraphicUses:12Used by:197
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClipUses:195Used by:197
Symbol 197 MovieClipUses:194 196Used by:200
Symbol 198 TextUses:189Used by:200
Symbol 199 TextUses:189Used by:200
Symbol 200 MovieClip {mechanaughtCB_fla.button_13}Uses:197 198 199Used by:Timeline
Symbol 201 GraphicUsed by:236
Symbol 202 Sound {cantpickup}Used by:236
Symbol 203 Sound {savesuccess}Used by:236
Symbol 204 Sound {shortburst}Used by:236
Symbol 205 Sound {rocketlaunch}Used by:236
Symbol 206 Sound {buttonclick}Used by:236
Symbol 207 Sound {mouseover}Used by:236
Symbol 208 Sound {menuloop}Used by:236
Symbol 209 Sound {liftstopping}Used by:236
Symbol 210 Sound {liftstarting}Used by:236
Symbol 211 Sound {liftrunning}Used by:236
Symbol 212 Sound {machinegunfire}Used by:236
Symbol 213 Sound {keyboardtype}Used by:236
Symbol 214 Sound {jumping}Used by:236
Symbol 215 Sound {gameloop}Used by:236
Symbol 216 Sound {loadbullet}Used by:236
Symbol 217 Sound {flamethrower}Used by:236
Symbol 218 Sound {closebolt}Used by:236
Symbol 219 Sound {openbolt}Used by:236
Symbol 220 Sound {gunchange}Used by:236
Symbol 221 Sound {pickupsound}Used by:236
Symbol 222 Sound {pistolshot}Used by:236
Symbol 223 Sound {shotgunshot}Used by:236
Symbol 224 Sound {spawnsound}Used by:236
Symbol 225 Sound {switchpress}Used by:236
Symbol 226 Sound {godoor}Used by:236
Symbol 227 Sound {bgloop}Used by:236
Symbol 228 Sound {death2}Used by:236
Symbol 229 Sound {death1}Used by:236
Symbol 230 Sound {lazersound}Used by:236
Symbol 231 Sound {spring}Used by:236
Symbol 232 Sound {explode1}Used by:236
Symbol 233 Sound {hit3}Used by:236
Symbol 234 Sound {hit2}Used by:236
Symbol 235 Sound {hit1}Used by:236
Symbol 236 MovieClipUses:201 202 17 203 204 205 206 207 34 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235Used by:Timeline
Symbol 237 BitmapUsed by:238
Symbol 238 GraphicUses:237Used by:252
Symbol 239 BitmapUsed by:240
Symbol 240 GraphicUses:239Used by:252
Symbol 241 BitmapUsed by:242
Symbol 242 GraphicUses:241Used by:252
Symbol 243 BitmapUsed by:244
Symbol 244 GraphicUses:243Used by:252
Symbol 245 BitmapUsed by:246
Symbol 246 GraphicUses:245Used by:249
Symbol 247 BitmapUsed by:248
Symbol 248 GraphicUses:247Used by:249
Symbol 249 MovieClipUses:246 248Used by:252
Symbol 250 BitmapUsed by:251
Symbol 251 GraphicUses:250Used by:252
Symbol 252 MovieClip {mechanaughtCB_fla.bosshead_18}Uses:238 240 242 244 249 251Used by:279
Symbol 253 BitmapUsed by:254 255 276 277
Symbol 254 GraphicUses:253Used by:278
Symbol 255 GraphicUses:253Used by:278
Symbol 256 GraphicUsed by:275
Symbol 257 GraphicUsed by:275
Symbol 258 GraphicUsed by:275
Symbol 259 GraphicUsed by:275
Symbol 260 GraphicUsed by:275
Symbol 261 GraphicUsed by:275
Symbol 262 GraphicUsed by:275
Symbol 263 GraphicUsed by:275
Symbol 264 GraphicUsed by:275
Symbol 265 GraphicUsed by:275
Symbol 266 GraphicUsed by:275
Symbol 267 GraphicUsed by:275
Symbol 268 GraphicUsed by:275
Symbol 269 GraphicUsed by:275
Symbol 270 GraphicUsed by:275
Symbol 271 GraphicUsed by:275
Symbol 272 GraphicUsed by:275
Symbol 273 GraphicUsed by:275
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274Used by:278
Symbol 276 GraphicUses:253Used by:278
Symbol 277 GraphicUses:253Used by:278
Symbol 278 MovieClip {mechanaughtCB_fla.body2_20}Uses:254 255 275 276 277Used by:279
Symbol 279 MovieClip {BOSS}Uses:252 278Used by:Timeline
Symbol 280 BitmapUsed by:281
Symbol 281 GraphicUses:280Used by:282
Symbol 282 MovieClip {bosslauncher}Uses:281Used by:Timeline
Symbol 283 TextUses:14Used by:387
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClipUses:284Used by:387
Symbol 286 TextUses:14Used by:287
Symbol 287 MovieClip {mechanaughtCB_fla.backbtn_26}Uses:286Used by:387 523
Symbol 288 TextUses:14Used by:290
Symbol 289 TextUses:14Used by:290
Symbol 290 MovieClip {mechanaughtCB_fla.moveleftcon_27}Uses:288 289Used by:387
Symbol 291 TextUses:14Used by:293
Symbol 292 TextUses:14Used by:293
Symbol 293 MovieClip {mechanaughtCB_fla.moverightcon_28}Uses:291 292Used by:387
Symbol 294 TextUses:14Used by:296
Symbol 295 TextUses:14Used by:296
Symbol 296 MovieClip {mechanaughtCB_fla.jumpcon_29}Uses:294 295Used by:387
Symbol 297 TextUses:14Used by:299
Symbol 298 TextUses:14Used by:299
Symbol 299 MovieClip {mechanaughtCB_fla.actioncon_30}Uses:297 298Used by:387
Symbol 300 TextUses:14Used by:302
Symbol 301 TextUses:14Used by:302
Symbol 302 MovieClip {mechanaughtCB_fla.nextweaponcon_31}Uses:300 301Used by:387
Symbol 303 TextUses:14Used by:305
Symbol 304 TextUses:14Used by:305
Symbol 305 MovieClip {mechanaughtCB_fla.prevweaponcon_32}Uses:303 304Used by:387
Symbol 306 TextUses:14Used by:308
Symbol 307 TextUses:14Used by:308
Symbol 308 MovieClip {mechanaughtCB_fla.reloadcon_33}Uses:306 307Used by:387
Symbol 309 TextUses:14Used by:311
Symbol 310 TextUses:14Used by:311
Symbol 311 MovieClip {mechanaughtCB_fla.pausecon_34}Uses:309 310Used by:387
Symbol 312 TextUses:14Used by:314
Symbol 313 TextUses:14Used by:314
Symbol 314 MovieClip {mechanaughtCB_fla.mutecon_35}Uses:312 313Used by:387
Symbol 315 FontUsed by:316
Symbol 316 TextUses:315Used by:387
Symbol 317 TextUses:14Used by:386
Symbol 318 TextUses:14Used by:386
Symbol 319 TextUses:14Used by:386
Symbol 320 TextUses:14Used by:386
Symbol 321 TextUses:14Used by:386
Symbol 322 TextUses:14Used by:386
Symbol 323 TextUses:14Used by:386
Symbol 324 TextUses:14Used by:386
Symbol 325 TextUses:14Used by:386
Symbol 326 TextUses:14Used by:386
Symbol 327 TextUses:14Used by:386
Symbol 328 TextUses:14Used by:386
Symbol 329 TextUses:14Used by:386
Symbol 330 TextUses:14Used by:386
Symbol 331 TextUses:14Used by:386
Symbol 332 TextUses:14Used by:386
Symbol 333 TextUses:14Used by:386
Symbol 334 TextUses:14Used by:386
Symbol 335 TextUses:14Used by:386
Symbol 336 TextUses:14Used by:386
Symbol 337 TextUses:14Used by:386
Symbol 338 TextUses:14Used by:386
Symbol 339 TextUses:14Used by:386
Symbol 340 TextUses:14Used by:386
Symbol 341 TextUses:14Used by:386
Symbol 342 TextUses:14Used by:386
Symbol 343 TextUses:14Used by:386
Symbol 344 TextUses:14Used by:386
Symbol 345 TextUses:14Used by:386
Symbol 346 TextUses:14Used by:386
Symbol 347 TextUses:14Used by:386
Symbol 348 TextUses:14Used by:386
Symbol 349 TextUses:14Used by:386
Symbol 350 TextUses:14Used by:386
Symbol 351 TextUses:14Used by:386
Symbol 352 TextUses:14Used by:386
Symbol 353 TextUses:14Used by:386
Symbol 354 TextUses:14Used by:386
Symbol 355 TextUses:14Used by:386
Symbol 356 TextUses:14Used by:386
Symbol 357 TextUses:14Used by:386
Symbol 358 TextUses:14Used by:386
Symbol 359 TextUses:14Used by:386
Symbol 360 TextUses:14Used by:386
Symbol 361 TextUses:14Used by:386
Symbol 362 TextUses:14Used by:386
Symbol 363 TextUses:14Used by:386
Symbol 364 TextUses:14Used by:386
Symbol 365 TextUses:14Used by:386
Symbol 366 TextUses:14Used by:386
Symbol 367 TextUses:14Used by:386
Symbol 368 TextUses:14Used by:386
Symbol 369 TextUses:14Used by:386
Symbol 370 TextUses:14Used by:386
Symbol 371 TextUses:14Used by:386
Symbol 372 TextUses:14Used by:386
Symbol 373 TextUses:14Used by:386
Symbol 374 TextUses:14Used by:386
Symbol 375 TextUses:14Used by:386
Symbol 376 TextUses:14Used by:386
Symbol 377 TextUses:14Used by:386
Symbol 378 TextUses:14Used by:386
Symbol 379 TextUses:14Used by:386
Symbol 380 TextUses:14Used by:386
Symbol 381 TextUses:14Used by:386
Symbol 382 TextUses:14Used by:386
Symbol 383 TextUses:14Used by:386
Symbol 384 TextUses:14Used by:386
Symbol 385 TextUses:14Used by:386
Symbol 386 MovieClip {mechanaughtCB_fla.controlkey_36}Uses:317 318 319 320 321 322 323 324 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 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385Used by:387
Symbol 387 MovieClip {CONTROLS}Uses:156 37 23 25 27 29 31 33 283 285 287 290 293 296 299 302 305 308 311 314 316 386Used by:Timeline
Symbol 388 GraphicUsed by:391
Symbol 389 FontUsed by:390
Symbol 390 TextUses:189 389Used by:391
Symbol 391 MovieClipUses:388 390Used by:392
Symbol 392 MovieClip {mechanaughtCB_fla.creditsroll_38}Uses:391Used by:394
Symbol 393 MovieClipUses:36Used by:394
Symbol 394 MovieClip {CREDITS}Uses:36 392 393 80Used by:Timeline
Symbol 395 BitmapUsed by:397 398
Symbol 396 BitmapUsed by:397 398
Symbol 397 GraphicUses:395 396Used by:399
Symbol 398 GraphicUses:395 396Used by:399
Symbol 399 MovieClip {door}Uses:397 398Used by:Timeline
Symbol 400 GraphicUsed by:401
Symbol 401 MovieClip {endpoint}Uses:400Used by:Timeline
Symbol 402 GraphicUsed by:406
Symbol 403 GraphicUsed by:406
Symbol 404 GraphicUsed by:406
Symbol 405 GraphicUsed by:406
Symbol 406 MovieClip {explosionparts}Uses:402 403 404 75 405Used by:Timeline
Symbol 407 MovieClipUses:75Used by:408
Symbol 408 MovieClip {mechanaughtCB_fla.enemyhealth_46}Uses:36 407Used by:416 446 510 540 685
Symbol 409 BitmapUsed by:411 412 413 414 550 551
Symbol 410 BitmapUsed by:411 412 413 414 552
Symbol 411 GraphicUses:409 410Used by:415
Symbol 412 GraphicUses:409 410Used by:415
Symbol 413 GraphicUses:409 410Used by:415
Symbol 414 GraphicUses:409 410Used by:415
Symbol 415 MovieClipUses:411 412 413 414Used by:416
Symbol 416 MovieClip {flier}Uses:408 415Used by:Timeline
Symbol 417 TextUses:14Used by:424
Symbol 418 TextUses:14Used by:420
Symbol 419 TextUses:14Used by:420
Symbol 420 MovieClip {mechanaughtCB_fla.continuefromlastsave_50}Uses:418 419Used by:424
Symbol 421 TextUses:14Used by:423
Symbol 422 TextUses:14Used by:423
Symbol 423 MovieClip {mechanaughtCB_fla.returntomainmenu_51}Uses:421 422Used by:424
Symbol 424 MovieClip {gameover}Uses:156 417 37 23 25 27 29 31 33 420 423 160 162Used by:Timeline
Symbol 425 BitmapUsed by:426
Symbol 426 GraphicUses:425Used by:427
Symbol 427 MovieClip {grenade}Uses:426Used by:Timeline
Symbol 428 BitmapUsed by:430 554
Symbol 429 BitmapUsed by:430 553
Symbol 430 GraphicUses:428 429Used by:446
Symbol 431 BitmapUsed by:432
Symbol 432 GraphicUses:431Used by:433 579
Symbol 433 MovieClipUses:432Used by:440 441 442
Symbol 434 BitmapUsed by:435
Symbol 435 GraphicUses:434Used by:436 579
Symbol 436 MovieClipUses:435Used by:440 441 442
Symbol 437 BitmapUsed by:438
Symbol 438 GraphicUses:437Used by:439 579
Symbol 439 MovieClipUses:438Used by:440 441 442
Symbol 440 MovieClipUses:433 436 439Used by:442
Symbol 441 MovieClipUses:433 436 439Used by:442
Symbol 442 MovieClip {mechanaughtCB_fla.legs_55}Uses:433 436 439 440 441Used by:446 510 643
Symbol 443 BitmapUsed by:444
Symbol 444 GraphicUses:443Used by:445 505 579 678
Symbol 445 MovieClipUses:444Used by:446
Symbol 446 MovieClip {grunt}Uses:430 442 445 408Used by:Timeline
Symbol 447 GraphicUsed by:494
Symbol 448 BitmapUsed by:450 473
Symbol 449 BitmapUsed by:450
Symbol 450 GraphicUses:448 449Used by:466
Symbol 451 BitmapUsed by:453 474
Symbol 452 BitmapUsed by:453
Symbol 453 GraphicUses:451 452Used by:466
Symbol 454 BitmapUsed by:456 475
Symbol 455 BitmapUsed by:456
Symbol 456 GraphicUses:454 455Used by:466
Symbol 457 BitmapUsed by:459 476
Symbol 458 BitmapUsed by:459
Symbol 459 GraphicUses:457 458Used by:466
Symbol 460 BitmapUsed by:462 477
Symbol 461 BitmapUsed by:462
Symbol 462 GraphicUses:460 461Used by:466
Symbol 463 BitmapUsed by:465 478
Symbol 464 BitmapUsed by:465
Symbol 465 GraphicUses:463 464Used by:466
Symbol 466 MovieClip {mechanaughtCB_fla.gunicon_63}Uses:450 453 456 459 462 465Used by:494
Symbol 467 FontUsed by:468 471 480 688
Symbol 468 EditableTextUses:467Used by:494
Symbol 469 BitmapUsed by:470
Symbol 470 GraphicUses:469Used by:494
Symbol 471 EditableTextUses:467Used by:494
Symbol 472 MovieClipUses:75Used by:494
Symbol 473 GraphicUses:448Used by:479
Symbol 474 GraphicUses:451Used by:479
Symbol 475 GraphicUses:454Used by:479
Symbol 476 GraphicUses:457Used by:479
Symbol 477 GraphicUses:460Used by:479
Symbol 478 GraphicUses:463Used by:479
Symbol 479 MovieClip {mechanaughtCB_fla.nextTab_65}Uses:473 474 475 476 477 478Used by:494
Symbol 480 EditableTextUses:467Used by:481
Symbol 481 MovieClip {mechanaughtCB_fla.pickupppp_67}Uses:36 480Used by:482
Symbol 482 MovieClip {mechanaughtCB_fla.pickupdisplay_66}Uses:481Used by:494
Symbol 483 GraphicUsed by:486
Symbol 484 MovieClipUses:75Used by:486
Symbol 485 MovieClipUses:75Used by:486
Symbol 486 MovieClip {mechanaughtCB_fla.bosshealthback_68}Uses:483 484 485Used by:494
Symbol 487 MovieClipUses:36Used by:490 493
Symbol 488 TextUses:189Used by:490
Symbol 489 TextUses:189Used by:490
Symbol 490 MovieClip {mechanaughtCB_fla.updatesbtn_71}Uses:487 488 489Used by:494
Symbol 491 TextUses:189Used by:493
Symbol 492 TextUses:189Used by:493
Symbol 493 MovieClip {mechanaughtCB_fla.moregamesbtn_73}Uses:487 491 492Used by:494
Symbol 494 MovieClip {GUI}Uses:447 466 468 470 471 472 479 482 486 490 493Used by:Timeline
Symbol 495 BitmapUsed by:496
Symbol 496 GraphicUses:495Used by:505 579
Symbol 497 BitmapUsed by:498
Symbol 498 GraphicUses:497Used by:505 579
Symbol 499 BitmapUsed by:500
Symbol 500 GraphicUses:499Used by:505 509 579
Symbol 501 BitmapUsed by:502
Symbol 502 GraphicUses:501Used by:505 579
Symbol 503 BitmapUsed by:504
Symbol 504 GraphicUses:503Used by:505 579
Symbol 505 MovieClip {gunarm}Uses:444 496 498 500 502 504Used by:Timeline
Symbol 506 BitmapUsed by:508 560
Symbol 507 BitmapUsed by:508 559
Symbol 508 GraphicUses:506 507Used by:510
Symbol 509 MovieClipUses:500Used by:510 579
Symbol 510 MovieClip {heavy}Uses:508 442 509 408Used by:Timeline
Symbol 511 GraphicUses:150Used by:512
Symbol 512 MovieClip {leftframe}Uses:511 152Used by:Timeline
Symbol 513 GraphicUses:10 12Used by:523
Symbol 514 GraphicUsed by:515
Symbol 515 MovieClip {mechanaughtCB_fla.loadslot_80}Uses:36 514Used by:523 594 655 661
Symbol 516 TextUses:14Used by:523
Symbol 517 TextUses:14Used by:523
Symbol 518 TextUses:14Used by:523
Symbol 519 TextUses:14Used by:523
Symbol 520 EditableTextUses:14Used by:523
Symbol 521 EditableTextUses:14Used by:523
Symbol 522 EditableTextUses:14Used by:523
Symbol 523 MovieClip {LOADGAME}Uses:513 515 23 25 27 29 31 33 516 517 518 519 520 521 522 287Used by:Timeline
Symbol 524 BitmapUsed by:525 530 532 533 534 535 536 537 538
Symbol 525 GraphicUses:524Used by:526
Symbol 526 MovieClip {missile}Uses:525Used by:Timeline
Symbol 527 BitmapUsed by:528
Symbol 528 GraphicUses:527Used by:540 579
Symbol 529 BitmapUsed by:530 531 532 533 534 535 536 537 538
Symbol 530 GraphicUses:524 529Used by:539
Symbol 531 GraphicUses:529Used by:539 579
Symbol 532 GraphicUses:524 529Used by:539
Symbol 533 GraphicUses:524 529Used by:539
Symbol 534 GraphicUses:524 529Used by:539
Symbol 535 GraphicUses:524 529Used by:539
Symbol 536 GraphicUses:524 529Used by:539
Symbol 537 GraphicUses:524 529Used by:539
Symbol 538 GraphicUses:524 529Used by:539
Symbol 539 MovieClip {mechanaughtCB_fla.missilegun_83}Uses:530 531 532 533 534 535 536 537 538Used by:540
Symbol 540 MovieClip {launcher}Uses:528 539 408Used by:Timeline
Symbol 541 BitmapUsed by:542
Symbol 542 GraphicUses:541Used by:543
Symbol 543 MovieClip {movingtile}Uses:542Used by:Timeline
Symbol 544 BitmapUsed by:545
Symbol 545 GraphicUses:544Used by:546
Symbol 546 MovieClip {octobomb}Uses:545Used by:Timeline
Symbol 547 BitmapUsed by:548
Symbol 548 GraphicUses:547Used by:549
Symbol 549 MovieClip {particle}Uses:548Used by:Timeline
Symbol 550 GraphicUses:409Used by:579
Symbol 551 GraphicUses:409Used by:579
Symbol 552 GraphicUses:410Used by:579
Symbol 553 GraphicUses:429Used by:579
Symbol 554 GraphicUses:428Used by:579 625
Symbol 555 BitmapUsed by:556
Symbol 556 GraphicUses:555Used by:579 685
Symbol 557 BitmapUsed by:558
Symbol 558 GraphicUses:557Used by:579 684
Symbol 559 GraphicUses:507Used by:579
Symbol 560 GraphicUses:506Used by:579
Symbol 561 BitmapUsed by:562
Symbol 562 GraphicUses:561Used by:579 643
Symbol 563 BitmapUsed by:564
Symbol 564 GraphicUses:563Used by:579
Symbol 565 BitmapUsed by:566
Symbol 566 GraphicUses:565Used by:579
Symbol 567 BitmapUsed by:568
Symbol 568 GraphicUses:567Used by:579
Symbol 569 BitmapUsed by:570
Symbol 570 GraphicUses:569Used by:579
Symbol 571 BitmapUsed by:572
Symbol 572 GraphicUses:571Used by:579
Symbol 573 GraphicUsed by:579
Symbol 574 GraphicUsed by:579
Symbol 575 GraphicUsed by:579
Symbol 576 GraphicUsed by:579
Symbol 577 GraphicUsed by:579
Symbol 578 GraphicUsed by:579
Symbol 579 MovieClip {part}Uses:550 551 552 553 554 432 435 438 444 556 558 559 560 509 562 496 498 500 502 504 531 528 564 566 568 570 572 573 574 575 576 577 578Used by:Timeline
Symbol 580 TextUses:14Used by:594
Symbol 581 TextUses:14Used by:583
Symbol 582 TextUses:14Used by:583
Symbol 583 MovieClip {mechanaughtCB_fla.exittomenu_89}Uses:581 582Used by:594
Symbol 584 TextUses:14Used by:586
Symbol 585 TextUses:14Used by:586
Symbol 586 MovieClip {mechanaughtCB_fla.resume_90}Uses:584 585Used by:594
Symbol 587 TextUses:14Used by:594
Symbol 588 TextUses:189Used by:590
Symbol 589 TextUses:189Used by:590
Symbol 590 MovieClip {mechanaughtCB_fla.ok_91}Uses:588 589Used by:594 655
Symbol 591 TextUses:189Used by:593
Symbol 592 TextUses:189Used by:593
Symbol 593 MovieClip {mechanaughtCB_fla.cancel_92}Uses:591 592Used by:594 655 661
Symbol 594 MovieClip {pausemenu}Uses:23 31 33 25 29 27 515 580 583 586 587 590 593Used by:Timeline
Symbol 595 BitmapUsed by:596
Symbol 596 GraphicUses:595Used by:622
Symbol 597 BitmapUsed by:598
Symbol 598 GraphicUses:597Used by:599
Symbol 599 MovieClipUses:598Used by:622
Symbol 600 BitmapUsed by:601
Symbol 601 GraphicUses:600Used by:622
Symbol 602 BitmapUsed by:603
Symbol 603 GraphicUses:602Used by:622
Symbol 604 BitmapUsed by:605
Symbol 605 GraphicUses:604Used by:622
Symbol 606 BitmapUsed by:607
Symbol 607 GraphicUses:606Used by:622
Symbol 608 BitmapUsed by:609
Symbol 609 GraphicUses:608Used by:622
Symbol 610 BitmapUsed by:611
Symbol 611 GraphicUses:610Used by:622
Symbol 612 BitmapUsed by:613
Symbol 613 GraphicUses:612Used by:622
Symbol 614 BitmapUsed by:615
Symbol 615 GraphicUses:614Used by:622
Symbol 616 BitmapUsed by:617
Symbol 617 GraphicUses:616Used by:622
Symbol 618 BitmapUsed by:619
Symbol 619 GraphicUses:618Used by:622
Symbol 620 BitmapUsed by:621
Symbol 621 GraphicUses:620Used by:622
Symbol 622 MovieClip {pickup}Uses:596 599 601 603 605 607 609 611 613 615 617 619 621Used by:Timeline
Symbol 623 BitmapUsed by:624
Symbol 624 GraphicUses:623Used by:625
Symbol 625 MovieClip {mechanaughtCB_fla.body_96}Uses:554 624Used by:643
Symbol 626 BitmapUsed by:627
Symbol 627 GraphicUses:626Used by:642
Symbol 628 BitmapUsed by:629
Symbol 629 GraphicUses:628Used by:642
Symbol 630 BitmapUsed by:631
Symbol 631 GraphicUses:630Used by:642
Symbol 632 BitmapUsed by:633
Symbol 633 GraphicUses:632Used by:642
Symbol 634 BitmapUsed by:635
Symbol 635 GraphicUses:634Used by:642
Symbol 636 BitmapUsed by:637
Symbol 637 GraphicUses:636Used by:642
Symbol 638 BitmapUsed by:639
Symbol 639 GraphicUses:638Used by:642
Symbol 640 BitmapUsed by:641
Symbol 641 GraphicUses:640Used by:642
Symbol 642 MovieClip {mechanaughtCB_fla.reloadingcircle_97}Uses:627 629 631 633 635 637 639 641Used by:643
Symbol 643 MovieClip {char}Uses:562 442 625 642Used by:665 670 672 678  Timeline
Symbol 644 EditableTextUses:189Used by:646
Symbol 645 EditableTextUses:189Used by:646
Symbol 646 MovieClip {mechanaughtCB_fla.saveinslot1_99}Uses:644 645Used by:655
Symbol 647 EditableTextUses:189Used by:649
Symbol 648 EditableTextUses:189Used by:649
Symbol 649 MovieClip {mechanaughtCB_fla.saveinslot2_100}Uses:647 648Used by:655
Symbol 650 EditableTextUses:189Used by:652
Symbol 651 EditableTextUses:189Used by:652
Symbol 652 MovieClip {mechanaughtCB_fla.saveinslot3_101}Uses:650 651Used by:655
Symbol 653 TextUses:189Used by:655
Symbol 654 TextUses:189Used by:655
Symbol 655 MovieClip {popup}Uses:23 31 33 25 29 27 515 646 649 652 593 653 590 654Used by:Timeline
Symbol 656 MovieClipUses:75Used by:661
Symbol 657 TextUses:14Used by:661
Symbol 658 TextUses:189Used by:660
Symbol 659 TextUses:189Used by:660
Symbol 660 MovieClip {mechanaughtCB_fla.RESTOREDEFAULTS_104}Uses:658 659Used by:661
Symbol 661 MovieClip {popup2}Uses:656 515 23 31 33 25 29 27 657 593 660Used by:Timeline
Symbol 662 BitmapUsed by:663
Symbol 663 GraphicUses:662Used by:664
Symbol 664 MovieClip {savepoint}Uses:663Used by:Timeline
Symbol 665 MovieClipUses:643Used by:678
Symbol 666 BitmapUsed by:667 675
Symbol 667 GraphicUses:666Used by:668
Symbol 668 MovieClipUses:667Used by:678
Symbol 669 ShapeTweeningUsed by:678
Symbol 670 MovieClipUses:643Used by:678
Symbol 671 ShapeTweeningUsed by:678
Symbol 672 MovieClipUses:643Used by:678
Symbol 673 ShapeTweeningUsed by:678
Symbol 674 ShapeTweeningUsed by:678
Symbol 675 GraphicUses:666Used by:676
Symbol 676 MovieClipUses:675Used by:678
Symbol 677 ShapeTweeningUsed by:678
Symbol 678 MovieClip {startmov}Uses:665 668 669 670 671 643 672 673 444 674 676 677 36Used by:Timeline
Symbol 679 BitmapUsed by:680
Symbol 680 GraphicUses:679Used by:683
Symbol 681 BitmapUsed by:682
Symbol 682 GraphicUses:681Used by:683
Symbol 683 MovieClip {switchmc}Uses:680 682Used by:Timeline
Symbol 684 MovieClipUses:558Used by:685
Symbol 685 MovieClip {turret}Uses:556 684 408Used by:Timeline
Symbol 686 BitmapUsed by:687
Symbol 687 GraphicUses:686Used by:689
Symbol 688 EditableTextUses:467Used by:689
Symbol 689 MovieClip {tvcover}Uses:687 688Used by:Timeline
Symbol 690 BitmapUsed by:691
Symbol 691 GraphicUses:690Used by:692
Symbol 692 MovieClip {tvscreen}Uses:691Used by:Timeline
Symbol 693 GraphicUsed by:694
Symbol 694 MovieClipUses:693Used by:Timeline
Symbol 695 GraphicUsed by:697
Symbol 696 MovieClipUses:36Used by:697 700 703
Symbol 697 MovieClipUses:695 696Used by:Timeline
Symbol 698 GraphicUsed by:Timeline
Symbol 699 GraphicUsed by:700
Symbol 700 MovieClipUses:699 696Used by:Timeline
Symbol 701 GraphicUsed by:703
Symbol 702 GraphicUsed by:703
Symbol 703 MovieClipUses:701 696 702 67Used by:Timeline
Symbol 704 GraphicUsed by:708
Symbol 705 GraphicUsed by:708
Symbol 706 GraphicUsed by:708
Symbol 707 GraphicUsed by:708
Symbol 708 MovieClipUses:704 705 706 707Used by:Timeline
Symbol 709 FontUsed by:710
Symbol 710 EditableTextUses:709Used by:Timeline

Instance Names

"loader"Frame 1Symbol 187 MovieClip {mechanaughtCB_fla.preloader_2}
"adBox"Frame 1Symbol 162 MovieClip
"coolbuddy"Frame 1Symbol 192 MovieClip {mechanaughtCB_fla.coolbuddy_11}
"loadblock"Frame 1Symbol 193 MovieClip {mechanaughtCB_fla.loadblock_12}
"closeBtn"Frame 1Symbol 200 MovieClip {mechanaughtCB_fla.button_13}
"gunflash"Frame 7Symbol 708 MovieClip
"button1"Symbol 53 MovieClip {mechanaughtCB_fla.menu_142} Frame 119Symbol 40 MovieClip {mechanaughtCB_fla.NEWGAMEBTN_143}
"button2"Symbol 53 MovieClip {mechanaughtCB_fla.menu_142} Frame 119Symbol 43 MovieClip {mechanaughtCB_fla.loadgamebtn_144}
"button3"Symbol 53 MovieClip {mechanaughtCB_fla.menu_142} Frame 119Symbol 46 MovieClip {mechanaughtCB_fla.instructionsbtn_145}
"button4"Symbol 53 MovieClip {mechanaughtCB_fla.menu_142} Frame 119Symbol 49 MovieClip {mechanaughtCB_fla.settingsbtn_146}
"button5"Symbol 53 MovieClip {mechanaughtCB_fla.menu_142} Frame 119Symbol 52 MovieClip {mechanaughtCB_fla.creditsbtn_147}
"buttons"Symbol 71 MovieClip {TITLE} Frame 1Symbol 53 MovieClip {mechanaughtCB_fla.menu_142}
"theboard"Symbol 71 MovieClip {TITLE} Frame 1Symbol 57 MovieClip {mechanaughtCB_fla.theboardsymbol_148}
"alillmbtn"Symbol 71 MovieClip {TITLE} Frame 1Symbol 59 MovieClip
"leveltxt"Symbol 78 MovieClip {levelTrans} Frame 15Symbol 77 EditableText
"option5"Symbol 175 MovieClip {updatespage} Frame 1Symbol 160 MovieClip {mechanaughtCB_fla.playmoregames_52}
"adBox"Symbol 175 MovieClip {updatespage} Frame 1Symbol 162 MovieClip
"option1"Symbol 175 MovieClip {updatespage} Frame 1Symbol 165 MovieClip {mechanaughtCB_fla.returntogame_124}
"option2"Symbol 175 MovieClip {updatespage} Frame 1Symbol 168 MovieClip {mechanaughtCB_fla.updatesontwitter_125}
"option3"Symbol 175 MovieClip {updatespage} Frame 1Symbol 171 MovieClip {mechanaughtCB_fla.postcomments_126}
"option4"Symbol 175 MovieClip {updatespage} Frame 1Symbol 174 MovieClip {mechanaughtCB_fla.screenshots_127}
"arm3"Symbol 278 MovieClip {mechanaughtCB_fla.body2_20} Frame 2Symbol 275 MovieClip
"arm4"Symbol 278 MovieClip {mechanaughtCB_fla.body2_20} Frame 2Symbol 275 MovieClip
"arm1"Symbol 278 MovieClip {mechanaughtCB_fla.body2_20} Frame 3Symbol 275 MovieClip
"arm2"Symbol 278 MovieClip {mechanaughtCB_fla.body2_20} Frame 3Symbol 275 MovieClip
"arm3"Symbol 278 MovieClip {mechanaughtCB_fla.body2_20} Frame 4Symbol 275 MovieClip
"arm4"Symbol 278 MovieClip {mechanaughtCB_fla.body2_20} Frame 4Symbol 275 MovieClip
"head"Symbol 279 MovieClip {BOSS} Frame 1Symbol 252 MovieClip {mechanaughtCB_fla.bosshead_18}
"body"Symbol 279 MovieClip {BOSS} Frame 1Symbol 278 MovieClip {mechanaughtCB_fla.body2_20}
"selector"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 285 MovieClip
"backbtn"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 287 MovieClip {mechanaughtCB_fla.backbtn_26}
"option1"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 290 MovieClip {mechanaughtCB_fla.moveleftcon_27}
"option2"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 293 MovieClip {mechanaughtCB_fla.moverightcon_28}
"option3"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 296 MovieClip {mechanaughtCB_fla.jumpcon_29}
"option4"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 299 MovieClip {mechanaughtCB_fla.actioncon_30}
"option5"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 302 MovieClip {mechanaughtCB_fla.nextweaponcon_31}
"option6"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 305 MovieClip {mechanaughtCB_fla.prevweaponcon_32}
"option7"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 308 MovieClip {mechanaughtCB_fla.reloadcon_33}
"option8"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 311 MovieClip {mechanaughtCB_fla.pausecon_34}
"option9"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 314 MovieClip {mechanaughtCB_fla.mutecon_35}
"con1"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 386 MovieClip {mechanaughtCB_fla.controlkey_36}
"con2"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 386 MovieClip {mechanaughtCB_fla.controlkey_36}
"con3"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 386 MovieClip {mechanaughtCB_fla.controlkey_36}
"con4"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 386 MovieClip {mechanaughtCB_fla.controlkey_36}
"con5"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 386 MovieClip {mechanaughtCB_fla.controlkey_36}
"con6"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 386 MovieClip {mechanaughtCB_fla.controlkey_36}
"con7"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 386 MovieClip {mechanaughtCB_fla.controlkey_36}
"con8"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 386 MovieClip {mechanaughtCB_fla.controlkey_36}
"con9"Symbol 387 MovieClip {CONTROLS} Frame 1Symbol 386 MovieClip {mechanaughtCB_fla.controlkey_36}
"roll"Symbol 394 MovieClip {CREDITS} Frame 1Symbol 392 MovieClip {mechanaughtCB_fla.creditsroll_38}
"bar"Symbol 408 MovieClip {mechanaughtCB_fla.enemyhealth_46} Frame 1Symbol 407 MovieClip
"hbar"Symbol 416 MovieClip {flier} Frame 1Symbol 408 MovieClip {mechanaughtCB_fla.enemyhealth_46}
"option2"Symbol 424 MovieClip {gameover} Frame 1Symbol 420 MovieClip {mechanaughtCB_fla.continuefromlastsave_50}
"option3"Symbol 424 MovieClip {gameover} Frame 1Symbol 423 MovieClip {mechanaughtCB_fla.returntomainmenu_51}
"option1"Symbol 424 MovieClip {gameover} Frame 1Symbol 160 MovieClip {mechanaughtCB_fla.playmoregames_52}
"adBox"Symbol 424 MovieClip {gameover} Frame 1Symbol 162 MovieClip
"legs"Symbol 446 MovieClip {grunt} Frame 1Symbol 442 MovieClip {mechanaughtCB_fla.legs_55}
"arm"Symbol 446 MovieClip {grunt} Frame 1Symbol 445 MovieClip
"hbar"Symbol 446 MovieClip {grunt} Frame 1Symbol 408 MovieClip {mechanaughtCB_fla.enemyhealth_46}
"txt"Symbol 481 MovieClip {mechanaughtCB_fla.pickupppp_67} Frame 1Symbol 480 EditableText
"mc"Symbol 482 MovieClip {mechanaughtCB_fla.pickupdisplay_66} Frame 1Symbol 481 MovieClip {mechanaughtCB_fla.pickupppp_67}
"health"Symbol 486 MovieClip {mechanaughtCB_fla.bosshealthback_68} Frame 2Symbol 484 MovieClip
"lhealth"Symbol 486 MovieClip {mechanaughtCB_fla.bosshealthback_68} Frame 2Symbol 485 MovieClip
"rhealth"Symbol 486 MovieClip {mechanaughtCB_fla.bosshealthback_68} Frame 2Symbol 485 MovieClip
"gunicon"Symbol 494 MovieClip {GUI} Frame 1Symbol 466 MovieClip {mechanaughtCB_fla.gunicon_63}
"ammo"Symbol 494 MovieClip {GUI} Frame 1Symbol 468 EditableText
"lives"Symbol 494 MovieClip {GUI} Frame 1Symbol 471 EditableText
"health"Symbol 494 MovieClip {GUI} Frame 1Symbol 472 MovieClip
"nextgun"Symbol 494 MovieClip {GUI} Frame 1Symbol 479 MovieClip {mechanaughtCB_fla.nextTab_65}
"prevgun"Symbol 494 MovieClip {GUI} Frame 1Symbol 479 MovieClip {mechanaughtCB_fla.nextTab_65}
"pickupdisp"Symbol 494 MovieClip {GUI} Frame 1Symbol 482 MovieClip {mechanaughtCB_fla.pickupdisplay_66}
"bosshealth"Symbol 494 MovieClip {GUI} Frame 1Symbol 486 MovieClip {mechanaughtCB_fla.bosshealthback_68}
"updatebtn"Symbol 494 MovieClip {GUI} Frame 1Symbol 490 MovieClip {mechanaughtCB_fla.updatesbtn_71}
"morebtn"Symbol 494 MovieClip {GUI} Frame 1Symbol 493 MovieClip {mechanaughtCB_fla.moregamesbtn_73}
"legs"Symbol 510 MovieClip {heavy} Frame 1Symbol 442 MovieClip {mechanaughtCB_fla.legs_55}
"arm"Symbol 510 MovieClip {heavy} Frame 1Symbol 509 MovieClip
"hbar"Symbol 510 MovieClip {heavy} Frame 1Symbol 408 MovieClip {mechanaughtCB_fla.enemyhealth_46}
"slot2"Symbol 523 MovieClip {LOADGAME} Frame 1Symbol 515 MovieClip {mechanaughtCB_fla.loadslot_80}
"slot3"Symbol 523 MovieClip {LOADGAME} Frame 1Symbol 515 MovieClip {mechanaughtCB_fla.loadslot_80}
"slot1"Symbol 523 MovieClip {LOADGAME} Frame 1Symbol 515 MovieClip {mechanaughtCB_fla.loadslot_80}
"slotdata0"Symbol 523 MovieClip {LOADGAME} Frame 1Symbol 520 EditableText
"slotdata1"Symbol 523 MovieClip {LOADGAME} Frame 1Symbol 521 EditableText
"slotdata2"Symbol 523 MovieClip {LOADGAME} Frame 1Symbol 522 EditableText
"backbtn"Symbol 523 MovieClip {LOADGAME} Frame 1Symbol 287 MovieClip {mechanaughtCB_fla.backbtn_26}
"gun"Symbol 540 MovieClip {launcher} Frame 1Symbol 539 MovieClip {mechanaughtCB_fla.missilegun_83}
"hbar"Symbol 540 MovieClip {launcher} Frame 1Symbol 408 MovieClip {mechanaughtCB_fla.enemyhealth_46}
"slot1"Symbol 594 MovieClip {pausemenu} Frame 11Symbol 515 MovieClip {mechanaughtCB_fla.loadslot_80}
"option1"Symbol 594 MovieClip {pausemenu} Frame 22Symbol 583 MovieClip {mechanaughtCB_fla.exittomenu_89}
"option2"Symbol 594 MovieClip {pausemenu} Frame 22Symbol 586 MovieClip {mechanaughtCB_fla.resume_90}
"option1"Symbol 594 MovieClip {pausemenu} Frame 35Symbol 590 MovieClip {mechanaughtCB_fla.ok_91}
"option2"Symbol 594 MovieClip {pausemenu} Frame 35Symbol 593 MovieClip {mechanaughtCB_fla.cancel_92}
"legs"Symbol 643 MovieClip {char} Frame 1Symbol 442 MovieClip {mechanaughtCB_fla.legs_55}
"body"Symbol 643 MovieClip {char} Frame 1Symbol 625 MovieClip {mechanaughtCB_fla.body_96}
"reload"Symbol 643 MovieClip {char} Frame 1Symbol 642 MovieClip {mechanaughtCB_fla.reloadingcircle_97}
"txt"Symbol 646 MovieClip {mechanaughtCB_fla.saveinslot1_99} Frame 1Symbol 644 EditableText
"txt"Symbol 646 MovieClip {mechanaughtCB_fla.saveinslot1_99} Frame 2Symbol 645 EditableText
"txt"Symbol 649 MovieClip {mechanaughtCB_fla.saveinslot2_100} Frame 1Symbol 647 EditableText
"txt"Symbol 649 MovieClip {mechanaughtCB_fla.saveinslot2_100} Frame 2Symbol 648 EditableText
"txt"Symbol 652 MovieClip {mechanaughtCB_fla.saveinslot3_101} Frame 1Symbol 650 EditableText
"txt"Symbol 652 MovieClip {mechanaughtCB_fla.saveinslot3_101} Frame 2Symbol 651 EditableText
"slot1"Symbol 655 MovieClip {popup} Frame 11Symbol 515 MovieClip {mechanaughtCB_fla.loadslot_80}
"option1"Symbol 655 MovieClip {popup} Frame 22Symbol 646 MovieClip {mechanaughtCB_fla.saveinslot1_99}
"option2"Symbol 655 MovieClip {popup} Frame 22Symbol 649 MovieClip {mechanaughtCB_fla.saveinslot2_100}
"option3"Symbol 655 MovieClip {popup} Frame 22Symbol 652 MovieClip {mechanaughtCB_fla.saveinslot3_101}
"option4"Symbol 655 MovieClip {popup} Frame 22Symbol 593 MovieClip {mechanaughtCB_fla.cancel_92}
"op2"Symbol 655 MovieClip {popup} Frame 35Symbol 593 MovieClip {mechanaughtCB_fla.cancel_92}
"op1"Symbol 655 MovieClip {popup} Frame 35Symbol 590 MovieClip {mechanaughtCB_fla.ok_91}
"option1"Symbol 655 MovieClip {popup} Frame 48Symbol 590 MovieClip {mechanaughtCB_fla.ok_91}
"slot1"Symbol 655 MovieClip {popup} Frame 73Symbol 515 MovieClip {mechanaughtCB_fla.loadslot_80}
"slot1"Symbol 661 MovieClip {popup2} Frame 1Symbol 515 MovieClip {mechanaughtCB_fla.loadslot_80}
"option2"Symbol 661 MovieClip {popup2} Frame 1Symbol 593 MovieClip {mechanaughtCB_fla.cancel_92}
"option1"Symbol 661 MovieClip {popup2} Frame 1Symbol 660 MovieClip {mechanaughtCB_fla.RESTOREDEFAULTS_104}
"gun"Symbol 685 MovieClip {turret} Frame 1Symbol 684 MovieClip
"hbar"Symbol 685 MovieClip {turret} Frame 1Symbol 408 MovieClip {mechanaughtCB_fla.enemyhealth_46}
"txt"Symbol 689 MovieClip {tvcover} Frame 1Symbol 688 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.




http://swfchan.com/19/90337/info.shtml
Created: 28/3 -2019 11:56:07 Last modified: 28/3 -2019 11:56:07 Server time: 28/09 -2024 04:43:52