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

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

Stark Raving Ted.swf

This is the info page for
Flash #99856

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


Text
LOADING

Play

Play

Skip

Skip

Skip

They arrived at year 2012.

They burn our atmosphere.

They turn us into zombies.

They kill us with their machines.

All survivors are hiding in shelters...

except me

My name is Ted.

And I'm going to kick their alien asses!

PROJ LAYER

PROPS LAYER

FX LAYER

script

TAKE

Warling!
All your progress will be lost. Continue?

Yes

Yes

Yes

No

No

No

developed by:

sponsored by:

PRECACHING LEVELS

CACHE

Headshot!

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
wepons

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
impact

SOUND
music

SOUND
music

SOUND
music

SOUND
music

SOUND
music

SOUND
music

SOUND
music

SOUND
music

SOUND
music

SOUND
music

SOUND
music

SOUND
music

SOUND
other

SOUND
other

SOUND
other

SOUND
other

SOUND
other

SOUND
other

SOUND
other

SOUND
other

SOUND
other

SOUND
other

SOUND
other

SOUND
other

o|

on|

onl|

onli|

onlin|

online|

onlineg|

onlinega|

onlinegam|

onlinegame|

onlinegamer|

onlinegamer.|

onlinegamer.c|

onlinegamer.cc|

onlinegamer.cc

Options

Options

Options

Credits

Credits

Credits

More rave

More rave

Back

Back

Music:  [on]

Music:  [on]

Sound:  [on]

Sound:  [on]

Quality:  [high]

Quality:  [high]

Visual FX:  [on]

Visual FX:  [on]

Debris:  [on]

Debris:  [on]

Debris:  [off]

Debris:  [off]

Music:  [off]

Music:  [off]

Sound:  [off]

Sound:  [off]

Quality:  [low]

Quality:  [low]

Visual FX:  [off]

Visual FX:  [off]

New game

New game

Continue

Continue

Continue

Episodes

Episodes

Episodes

Walkthrough

Walkthrough

Leaderboard

Leaderboard

Air attack!

Air attack!

<p align="right"><font face="Impact" size="14" color="#00ff00" letterSpacing="0.000000" kerning="1">1</font></p>

Here you can play single episodes. For continue your story press
CONTINUE in the game menu.

EPISODES

developed by
Oleg Antipov

Anegmetex.com

Stark Raving Ted

13\13

234

1

$1245

ELECTRO

BIO

PSYCHO

Move

Wave 1

Need:

Food

Dynamite

Handle

Valve

Gas mask

Clothes

Jerrycan

Jump

Aim & Shoot

Crouch

Upgrade

Weapons:

Secret
found!

<p align="left"><font face="Dungeon" size="22" color="#00ff00" letterSpacing="0.000000" kerning="1">Injured man:</font></p>

<p align="left"><font face="Calibri" size="18" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>I think my game is over...</b></font></p><p align="left"><font face="Calibri" size="18" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Take my shotgun. Hope you are more lucky than me...</b></font></p>

!

<p align="center"><font face="Tahoma" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>MENU</b></font></p>

<p align="center"><font face="Tahoma" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>MENU</b></font></p>

<p align="center"><font face="Tahoma" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>MENU</b></font></p>

<p align="center"><font face="Tahoma" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>MENU</b></font></p>

<p align="center"><font face="Tahoma" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>WALKTHROUGH</b></font></p>

<p align="center"><font face="Tahoma" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>WALKTHROUGH</b></font></p>

<p align="center"><font face="Tahoma" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>WALKTHROUGH</b></font></p>

<p align="center"><font face="Tahoma" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>WALKTHROUGH</b></font></p>

PISTOLS x1

BACK

BACK

<p align="center"><font face="ICBM SS-20" size="32" color="#000000" letterSpacing="0.000000" kerning="1">Pistols</font></p>

<p align="left"><font face="Franklin Gothic Medium" size="18" color="#000000" letterSpacing="0.000000" kerning="1">(150$) reload time 50% faster</font></p>

<p align="right"><font face="Franklin Gothic Medium" size="15" color="#000000" letterSpacing="0.000000" kerning="1"><b>You have 136$</b></font></p>

Accept

Cancel

Exit

Exit

Shooting  accurancy:

34%

Money collected:

546$

Secrets found:

1\1

Enemies killed:

67%

Score earned:

564

Total score:

564

Next episode

Next episode

Retry episode

Retry episode

Retry episode

Submit score!

Submit score!

Submit score!

Walkthrough

Walkthrough

Ted wins

Ted is dead

Total score:

4532

Victory!

ActionScript [AS3]

Section 1
//AdLoader (CPMStar.AdLoader) package CPMStar { import flash.display.*; import flash.events.*; import flash.net.*; import flash.system.*; public class AdLoader extends Sprite { private var cpmstarLoader:Loader; private var contentspotid:String; public function AdLoader(_arg1:String){ this.contentspotid = _arg1; addEventListener(Event.ADDED, addedHandler); } private function dispatchHandler(_arg1:Event):void{ dispatchEvent(_arg1); } private function addedHandler(_arg1:Event):void{ removeEventListener(Event.ADDED, addedHandler); Security.allowDomain("server.cpmstar.com"); var _local2 = "http://server.cpmstar.com/adviewas3.swf"; var _local3:DisplayObjectContainer = 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); } } }//package CPMStar
Section 2
//actorObject (main.actorObject) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.ui.*; import com.oaxoa.fx.*; public class actorObject extends dynObject { public var lLeg:MovieClip; var noArmsShoot:Boolean;// = false public var anim:MovieClip; public var elSpawn:MovieClip; public var light:MovieClip; public var firstAttack:Boolean;// = false var psyProtect:Number;// = 1 var psyCurLevel:Number;// = 0 public var timerBulletDelay:Timer; var shoot;// = false var oldX;// = 0 public var alwaysSeeEnemy:Boolean;// = false var electroProtect:Number;// = 1 var jump;// = false var upgradesAbilities:Array; var vChildPos:int;// = 0 var vChildTime:int;// = 0 public var rLeg:MovieClip; var vChild; var distToEnemy:Number;// = 999999 public var LEngFire:MovieClip; var damageType:uint;// = 0 var bioCurLevel:Number;// = 0 public var goodGuy:Boolean;// = false public var arm1:MovieClip; public var arm2:MovieClip; var rageRadius:Number;// = 335 public var diffAttackCount:uint;// = 2 public var dead:Boolean;// = false var useSelfWepPsy:Boolean;// = false var fsmAI:FSM; var curWeaponNum:int;// = 1 public var pointShoot:MovieClip; var upgradesLife:Array; var psyMaxLevel:Number;// = 0 public var timerBloodFXDelay:Timer; var electroCurLevel:Number;// = 0 public var die:MovieClip; public var REngFire:MovieClip; public var curTargetChanged:int;// = 0 public var totalScores:int;// = 0 var bioReduce:Number;// = 0.3 public var cursorReload:Boolean;// = false var damagePerHit:Number;// = 1 public var timerBulletDelay2:Timer; var bioDamage:Number;// = 0.1 var electroReduce:Number;// = 0.3 var electroDamage:Number;// = 0.1 public var damageArea:MovieClip; public var moneyCnt:Number;// = 0 public var body:MovieClip; var rightArmToShoot;// = false public var blaster:MovieClip; var bioProtect:Number;// = 1 var bioMaxLevel:Number;// = 0 public var diffAttack:Boolean;// = false public var beam:MovieClip; var vChild2; var jumpSpeed;// = -16 var electroMaxLevel:Number;// = 0 var wepAcc:Number;// = 0.1 public var p1:MovieClip; public var p2:MovieClip; public var p3:MovieClip; public var p4:MovieClip; var sitting;// = false var actorType:String;// = "" public var noStatEnemy:Boolean;// = false var weapons:Array; var isReloadLittleDelay:Boolean;// = false var upgradesBullets:Array; var itemsInBag:Array; var seeRadius:Number;// = 335 public var BEngFire1:MovieClip; public var head:MovieClip; public var sound3D:Boolean;// = true var psyReduce:Number;// = 0.3 public var maxTargetChanged:int;// = 5 public var BEngFire2:MovieClip; public var alreadySeed:Boolean;// = false var isRage:Boolean;// = false public var live:MovieClip; public var waitTimeBegin:uint;// = 0 var useSelfWep:Boolean;// = false var noArmsShootCnt:int;// = 1 public var timerReloadDelay:Timer; var upgradesParam:Array; var attackRadius:Number;// = 35 var psyDamage:Number;// = 0.1 public function actorObject(){ timerBulletDelay = new Timer(200, 1); timerBulletDelay2 = new Timer(200, 1); timerReloadDelay = new Timer(200); itemsInBag = new Array(); weapons = new Array(); timerBloodFXDelay = new Timer(300, 1); upgradesLife = new Array(); upgradesParam = new Array(); upgradesBullets = new Array(); upgradesAbilities = new Array(); super(); timerReloadDelay.addEventListener(TimerEvent.TIMER, timerReloadDelay_Timer, false, 0, true); addEventListener(FSMEvent.ONPOSTED, onFSMPosted, false, 0, true); } public function addBioDamage(_arg1:Number){ bioMaxLevel = (bioCurLevel + _arg1); bioCurLevel = bioMaxLevel; } public function loadParams(){ var _local1:int; if (!mainGlobal.myCookie.isKeyExist("moneyCnt")){ return; }; moneyCnt = Number(mainGlobal.myCookie.get("moneyCnt")); totalScores = int(mainGlobal.myCookie.get("totalScores")); curWeaponNum = int(mainGlobal.myCookie.get("curWeaponNum")); life = Number(mainGlobal.myCookie.get("life")); lifeMax = Number(mainGlobal.myCookie.get("lifeMax")); bioProtect = Number(mainGlobal.myCookie.get("bioProtect")); psyProtect = Number(mainGlobal.myCookie.get("psyProtect")); electroProtect = Number(mainGlobal.myCookie.get("electroProtect")); _local1 = 0; while (_local1 < weapons.length) { weapons[_local1].loadParams(("weapons" + _local1.toString())); _local1++; }; _local1 = 0; while (_local1 < upgradesLife.length) { upgradesLife[_local1].loadParams(("upgradesLife" + _local1.toString())); _local1++; }; _local1 = 0; while (_local1 < upgradesParam.length) { upgradesParam[_local1].loadParams(("upgradesParam" + _local1.toString())); _local1++; }; _local1 = 0; while (_local1 < upgradesBullets.length) { upgradesBullets[_local1].loadParams(("upgradesBullets" + _local1.toString())); _local1++; }; _local1 = 0; while (_local1 < upgradesAbilities.length) { upgradesAbilities[_local1].loadParams(("upgradesAbilities" + _local1.toString())); _local1++; }; } public function testIsActorDead(){ if (life <= 0){ fsmAI.postEvent("killed"); gotoAndStop("die"); dead = true; stayTime = (6000 + ageMath.RandomInt(1, 2000)); timerStayDelay.start(); if (((((head) && (arm1))) && (arm2))){ head.visible = false; arm1.visible = false; arm2.visible = false; }; }; } public function updateRunJumpState(_arg1:Boolean){ if (jump){ if (currentLabel != "jump"){ gotoAndStop("jump"); }; } else { if (sitting){ if (currentLabel != "sitting"){ gotoAndStop("sitting"); }; } else { if (oldX != x){ if (!_arg1){ if (currentLabel != "run"){ gotoAndStop("run"); }; } else { if (currentLabel != "runBack"){ gotoAndStop("runBack"); }; }; } else { if (currentLabel != "stand"){ gotoAndStop("stand"); }; }; }; }; } public function clearActorObject(){ timerReloadDelay.stop(); timerReloadDelay.removeEventListener(TimerEvent.TIMER, timerReloadDelay_Timer); timerBulletDelay.stop(); timerBloodFXDelay.stop(); this.removeEventListener(FSMEvent.ONPOSTED, onFSMPosted); if (((lLeg) && (rLeg))){ lLeg.stop(); rLeg.stop(); }; vChild = null; vChild2 = null; fsmAI.actor = null; clearDynObject(); } public function updateActorEnemy(){ var _local1:ageVector = new ageVector(curLevel.hero.x, curLevel.hero.y); var _local2:Point = curLevel.globalToLocal(MovieClip(parent).localToGlobal(new Point(this.x, this.y))); _local1.sub(new ageVector(_local2.x, _local2.y)); distToEnemy = _local1.len(); fsmAI.postEvent("timer"); } public function addPsyDamage(_arg1:Number){ psyMaxLevel = (psyCurLevel + _arg1); psyCurLevel = psyMaxLevel; } public function timerReloadDelay_Timer(_arg1:TimerEvent):void{ var _local2:int; if (isReloadLittleDelay){ if (((cursorReload) && (!(mainGlobal.paused)))){ Game(root).cursor.gotoAndStop("cross"); }; timerReloadDelay.stop(); isReloadLittleDelay = false; _local2 = (weapons[(curWeaponNum - 1)].bulletsInCatrigeMax - weapons[(curWeaponNum - 1)].bulletsInCatrige); if (weapons[(curWeaponNum - 1)].bulletsNum >= _local2){ weapons[(curWeaponNum - 1)].bulletsInCatrige = (weapons[(curWeaponNum - 1)].bulletsInCatrige + _local2); if (!weapons[(curWeaponNum - 1)].infAmmo){ weapons[(curWeaponNum - 1)].bulletsNum = (weapons[(curWeaponNum - 1)].bulletsNum - _local2); }; } else { weapons[(curWeaponNum - 1)].bulletsInCatrige = (weapons[(curWeaponNum - 1)].bulletsInCatrige + weapons[(curWeaponNum - 1)].bulletsNum); weapons[(curWeaponNum - 1)].bulletsNum = 0; }; } else { timerReloadDelay.delay = sounds.snd[(weapons[(curWeaponNum - 1)].type + "Reloaded")].length; timerReloadDelay.start(); isReloadLittleDelay = true; if (sound3D){ sounds.PlaySnd((weapons[(curWeaponNum - 1)].type + "Reloaded"), 0.6, this, stage); } else { sounds.PlaySnd((weapons[(curWeaponNum - 1)].type + "Reloaded")); }; }; } public function hitTestLine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):ageVector{ var _local5:Boolean; if (this.scaleX < 0){ _local5 = true; this.scaleX = 1; }; var _local6:Point = curLevel.globalToLocal(this.localToGlobal(new Point(damageArea.x, damageArea.y))); if (_local5){ this.scaleX = -1; }; return (ageMath.getLineCrossRect(_arg1, _arg2, _arg3, _arg4, _local6.x, _local6.y, (_local6.x + damageArea.width), (_local6.y + damageArea.height))); } public function transmitDamage(_arg1:projObject){ var _local2:*; if (!timerBloodFXDelay.running){ if (damageType == 0){ if (mainGlobal.configVfxOn){ curLevel.addFX_Splatters((_arg1.x + (_arg1.Velocity.x * 0.5)), (_arg1.y + ageMath.RandomInt(-5, 5))); }; sounds.PlaySnd(("bodyBlood" + ageMath.RandomInt(1, 3).toString()), 1, this, stage); if (fsmAI.curAIClass == "Zombie"){ if (((!(ageMath.RandomInt(0, 1))) || ((life <= _arg1.damage)))){ sounds.PlaySnd(("ZombieVoice" + ageMath.RandomInt(1, 4).toString()), 0.8, this, stage); }; } else { if (fsmAI.curAIClass == "Ted"){ sounds.PlaySnd(("TedPain" + ageMath.RandomInt(1, 3).toString()), 0.8); } else { if (fsmAI.curAIClass == "AlienSolder"){ if (((!(ageMath.RandomInt(0, 1))) || ((life <= _arg1.damage)))){ sounds.PlaySnd(("alienPain" + ageMath.RandomInt(1, 4).toString()), 1); }; }; }; }; if (((!((bottomLimiter == null))) && (mainGlobal.configVfxOn))){ if (bottomLimiter.wideGround){ _local2 = curLevel.addFX_BloodOnGround((x + Velocity.x), y); curLevel.alignObjXToAnother(_local2, bottomLimiter); } else { _local2 = curLevel.addFX_BloodLeak(x, y); curLevel.alignObjXToAnother(_local2, bottomLimiter); }; }; timerBloodFXDelay.start(); } else { if (damageType == 1){ if (mainGlobal.configVfxOn){ curLevel.addFX_MetalSparks((_arg1.x + (_arg1.Velocity.x * 0.5)), (_arg1.y + (_arg1.Velocity.y * 0.5))); }; if ((((((((fsmAI.curAIClass == "AlienSaw")) || ((fsmAI.curAIClass == "AlienHunter")))) || ((fsmAI.curAIClass == "AlienElectro")))) || ((fsmAI.curAIClass == "AlienElectro")))){ if (((!(ageMath.RandomInt(0, 1))) || ((life <= _arg1.damage)))){ sounds.PlaySnd(("AlienVoice" + ageMath.RandomInt(1, 7).toString()), 1); }; } else { if (fsmAI.curAIClass == "AlienBomber"){ if (((!(ageMath.RandomInt(0, 1))) || ((life <= _arg1.damage)))){ sounds.PlaySnd(("alienPain" + ageMath.RandomInt(1, 4).toString()), 1); }; }; }; sounds.PlaySnd(("Ricochet" + ageMath.RandomInt(1, 4).toString()), 1, this, stage); timerBloodFXDelay.start(); }; }; }; _arg1.visible = false; life = (life - _arg1.damage); if (live != null){ live.gotoAndStop(Math.round(ageMath.RemapVal(life, 0, lifeMax, 1, 100))); live.startFadeOut(); }; if (((!(_arg1.fromGoodGuy)) && (_arg1.useBioDamage))){ addBioDamage(_arg1.bioDamageVal); }; if (((!(_arg1.fromGoodGuy)) && (_arg1.usePsyDamage))){ addPsyDamage(_arg1.psyDamageVal); }; if (((!(_arg1.fromGoodGuy)) && (_arg1.useElectroDamage))){ addElectroDamage(_arg1.electroDamageVal); }; if (life <= 0){ if (((_arg1.fromGoodGuy) && (!(noStatEnemy)))){ mainGlobal.enemiesKilled++; }; }; testIsActorDead(); } public function removeItemFromBag(_arg1:String):void{ var _local2:int; _local2 = 0; while (_local2 < itemsInBag.length) { if (itemsInBag[_local2] == _arg1){ itemsInBag.splice(_local2, 1); return; }; _local2++; }; } public function addElectroDamage(_arg1:Number){ electroMaxLevel = (electroCurLevel + _arg1); electroCurLevel = electroMaxLevel; } public function saveParams(){ var _local1:int; mainGlobal.myCookie.putNoFlush("moneyCnt", moneyCnt); mainGlobal.myCookie.putNoFlush("totalScores", totalScores); mainGlobal.myCookie.putNoFlush("curWeaponNum", curWeaponNum); mainGlobal.myCookie.putNoFlush("life", life); mainGlobal.myCookie.putNoFlush("lifeMax", lifeMax); mainGlobal.myCookie.putNoFlush("bioProtect", bioProtect); mainGlobal.myCookie.putNoFlush("psyProtect", psyProtect); mainGlobal.myCookie.putNoFlush("electroProtect", electroProtect); _local1 = 0; while (_local1 < weapons.length) { weapons[_local1].saveParams(("weapons" + _local1.toString())); _local1++; }; _local1 = 0; while (_local1 < upgradesLife.length) { upgradesLife[_local1].saveParams(("upgradesLife" + _local1.toString())); _local1++; }; _local1 = 0; while (_local1 < upgradesParam.length) { upgradesParam[_local1].saveParams(("upgradesParam" + _local1.toString())); _local1++; }; _local1 = 0; while (_local1 < upgradesBullets.length) { upgradesBullets[_local1].saveParams(("upgradesBullets" + _local1.toString())); _local1++; }; _local1 = 0; while (_local1 < upgradesAbilities.length) { upgradesAbilities[_local1].saveParams(("upgradesAbilities" + _local1.toString())); _local1++; }; mainGlobal.myCookie.flushData(); } public function setTarget(_arg1:ageVector):void{ isTargeting = true; target.copy(_arg1); } public function isItemExist(_arg1:String):Boolean{ var _local2:int; _local2 = 0; while (_local2 < itemsInBag.length) { if (itemsInBag[_local2] == _arg1){ return (true); }; _local2++; }; return (false); } public function applyDamages(){ if (bioCurLevel > 0){ bioCurLevel = (bioCurLevel - (bioReduce * bioProtect)); life = (life - bioDamage); if (bioCurLevel < 0){ bioCurLevel = 0; }; } else { bioCurLevel = (bioMaxLevel = 0); }; if (psyCurLevel > 0){ psyCurLevel = (psyCurLevel - (psyReduce * psyProtect)); if (psyCurLevel < 0){ psyCurLevel = 0; }; } else { psyCurLevel = (psyMaxLevel = 0); }; if (electroCurLevel > 0){ if (!elSpawn.visible){ elSpawn.visible = true; sounds.PlaySnd("ElectroWave"); }; electroCurLevel = (electroCurLevel - (electroReduce * electroProtect)); if (electroCurLevel < 0){ electroCurLevel = 0; }; } else { if (elSpawn.visible){ elSpawn.visible = false; }; electroCurLevel = (electroMaxLevel = 0); }; } public function moveFlyLike():void{ var _local3:ageVector; var _local4:Number; x = (x + speed.x); y = (y + speed.y); var _local1:Point = curLevel.globalToLocal(MovieClip(parent).localToGlobal(new Point(x, y))); if (target.isEqual(new ageVector(_local1.x, _local1.y), 30)){ speed.mulScalar(0.9); if (isTargeting){ fsmAI.postEvent("targetReached"); }; }; var _local2:* = new ageVector((target.x - _local1.x), (target.y - _local1.y)).len(); speed.trimLen(((_local2 > (maxSpeed.x * 10))) ? maxSpeed.x : ageMath.RemapVal(_local2, 0, (maxSpeed.x * 10), 0, maxSpeed.x)); if (isTargeting){ _local3 = new ageVector((target.x - _local1.x), (target.y - _local1.y)); _local3.normThis(); _local3.mulScalar(0.2); speed.add(_local3); _local4 = speed.len(); speed.normThis(); _local3.normThis(); speed.lerpThis(_local3, 0.1); speed.normThis(); speed.mulScalar(_local4); }; } public function initParams(_arg1:String){ var _local2:uint; var _local3:GlowFilter; actorType = _arg1; if (_arg1 == "Ted"){ head.gm.visible = false; life = (lifeMax = 80); fsmAI = new FSM(this, "Ted"); damageType = 0; goodGuy = true; jumpSpeed = -13; sound3D = false; cursorReload = true; speed.x = 8; weapons.push(new weaponParam("Pistol", curLevel)); weapons.push(new weaponParam("Shotgun", curLevel)); weapons.push(new weaponParam("AK", curLevel)); weapons.push(new weaponParam("Minigun", curLevel)); weapons.push(new weaponParam("Blaster", curLevel)); weapons.push(new weaponParam("RPG", curLevel)); weapons.push(new weaponParam("Lasergun", curLevel)); weapons.push(new weaponParam("DDD", curLevel)); weapons[0].active = true; upgradesLife.push(new upgItem("Life +25%", 1, -1, 250, "life", 125, 2)); upgradesLife.push(new upgItem("Life +50%", 1, 0, 350, "life", 150, 2)); upgradesLife.push(new upgItem("Life +75%", 1, 1, 450, "life", 175, 2)); upgradesLife.push(new upgItem("Life +100%", 1, 2, 550, "life", 200, 2)); upgradesLife.push(new upgItem("Life +150%", 1, 3, 700, "life", 250, 2)); upgradesLife.push(new upgItem("Life +200%", 1, 4, 850, "life", 300, 2)); upgradesParam.push(new upgItem("bio-protection -25%", 1, -1, 150, "bioProtect", 1.25, 2)); upgradesParam.push(new upgItem("bio-protection -50%", 1, 0, 200, "bioProtect", 1.5, 2)); upgradesParam.push(new upgItem("electro-protection -25%", 1, -1, 200, "electroProtect", 1.25, 2)); upgradesParam.push(new upgItem("electro-protection -50%", 1, 2, 300, "electroProtect", 1.5, 2)); upgradesParam.push(new upgItem("psy-protection -25%", 1, -1, 200, "psyProtect", 1.25, 2)); upgradesParam.push(new upgItem("psy-protection -50%", 1, 4, 300, "psyProtect", 1.5, 2)); upgradesBullets.push(new upgItem("Shotgun", 1, -1, 35, "spam", 0.25, 1)); upgradesBullets.push(new upgItem("Assault Rifle", 1, -1, 45, "spam", 0.25, 1)); upgradesBullets.push(new upgItem("Minigun", 1, -1, 65, "spam", 0.25, 1)); upgradesBullets.push(new upgItem("Blaster", 1, -1, 70, "spam", 0.25, 1)); upgradesBullets.push(new upgItem("Launcher", 1, -1, 150, "spam", 0.25, 1)); upgradesAbilities.push(new upgItem("necroeater 50%", 1, -1, 150, "spam", 0.25, 1)); upgradesAbilities.push(new upgItem("necroeater 100%", 1, -1, 150, "spam", 0.25, 1)); upgradesAbilities.push(new upgItem("Freeze 1sec", 1, -1, 150, "spam", 0.25, 1)); upgradesAbilities.push(new upgItem("Freeze 2sec", 1, -1, 150, "spam", 0.25, 1)); if (!mainGlobal.dontLoadHeroParam){ Game(root).curLev.hero.loadParams(); mainGlobal.dontLoadHeroParam = true; }; } else { if (_arg1 == "AlienSolder"){ life = (lifeMax = 15); speed.x = 1.5; jumpSpeed = -10; fsmAI = new FSM(this, "AlienSolder"); damageType = 0; seeRadius = 640; attackRadius = 150; weapons.push(new weaponParam("Blaster", curLevel)); } else { if (_arg1 == "Spider"){ speed.x = 5; life = (lifeMax = 2); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); } else { if (_arg1 == "SpiderBig"){ speed.x = 3; life = (lifeMax = 4); damagePerHit = 4; fsmAI = new FSM(this, "Zombie"); } else { if (_arg1 == "Zomb01"){ speed.x = 0.5; life = (lifeMax = 3); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); } else { if (_arg1 == "Zomb01Run"){ speed.x = 6; life = (lifeMax = 4); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); } else { if (_arg1 == "Zomb01Vomit"){ speed.x = 0.5; life = (lifeMax = 6); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); useSelfWep = true; noArmsShoot = true; weapons.push(new weaponParam("Vomit", curLevel)); } else { if (_arg1 == "Zomb02"){ speed.x = 0.5; life = (lifeMax = 3); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); } else { if (_arg1 == "Zomb02Run"){ speed.x = 2; life = (lifeMax = 4); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); } else { if (_arg1 == "Zomb02Vomit"){ speed.x = 0.5; life = (lifeMax = 6); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); useSelfWep = true; noArmsShoot = true; weapons.push(new weaponParam("Vomit", curLevel)); } else { if (_arg1 == "Zomb03"){ speed.x = 0.5; life = (lifeMax = 3); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); } else { if (_arg1 == "Zomb03Run"){ speed.x = 7; life = (lifeMax = 4); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); } else { if (_arg1 == "Zomb03Vomit"){ speed.x = 0.5; life = (lifeMax = 6); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); useSelfWep = true; noArmsShoot = true; weapons.push(new weaponParam("Vomit", curLevel)); } else { if (_arg1 == "Zomb04"){ speed.x = 0.5; life = (lifeMax = 3); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); } else { if (_arg1 == "Zomb04Run"){ speed.x = 7; life = (lifeMax = 4); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); } else { if (_arg1 == "Zomb04Vomit"){ speed.x = 0.5; life = (lifeMax = 6); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); useSelfWep = true; noArmsShoot = true; weapons.push(new weaponParam("Vomit", curLevel)); } else { if (_arg1 == "Zomb05"){ speed.x = 0.5; life = (lifeMax = 3); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); } else { if (_arg1 == "Zomb05Run"){ speed.x = 7; life = (lifeMax = 4); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); } else { if (_arg1 == "Zomb05Vomit"){ speed.x = 0.5; life = (lifeMax = 6); damagePerHit = 2; fsmAI = new FSM(this, "Zombie"); useSelfWep = true; noArmsShoot = true; weapons.push(new weaponParam("Vomit", curLevel)); } else { if (_arg1 == "ZombPsy"){ speed.x = 1; life = (lifeMax = 6); damagePerHit = 2; attackRadius = 300; seeRadius = 550; fsmAI = new FSM(this, "Zombie"); useSelfWepPsy = true; noArmsShoot = true; weapons.push(new weaponParam("psyProj", curLevel)); } else { if (_arg1 == "ZombTank"){ speed.x = 1; life = (lifeMax = 40); damagePerHit = 15; attackRadius = 90; seeRadius = 550; diffAttack = true; diffAttackCount = 2; fsmAI = new FSM(this, "Zombie"); useSelfWep = true; noArmsShoot = true; noArmsShootCnt = 3; weapons.push(new weaponParam("Vomit", curLevel)); } else { if (_arg1 == "ZombTankRun"){ speed.x = 10; life = (lifeMax = 40); damagePerHit = 15; attackRadius = 90; seeRadius = 550; diffAttack = true; diffAttackCount = 2; fsmAI = new FSM(this, "Zombie"); } else { if (_arg1 == "AlienSaw"){ life = (lifeMax = 8); gravityEnable = false; collisionEnable = false; isFlyMoveType = true; maxSpeed.x = 10; seeRadius = 600; attackRadius = 50; damagePerHit = 0.4; damageType = 1; fsmAI = new FSM(this, "AlienSaw"); } else { if (_arg1 == "AlienHunter"){ life = (lifeMax = 35); gravityEnable = false; collisionEnable = false; isFlyMoveType = true; maxSpeed.x = 5; seeRadius = 600; damageType = 1; this.LEngFire.fadeSpeed = 0.2; this.REngFire.fadeSpeed = 0.2; this.BEngFire1.fadeSpeed = 0.2; this.BEngFire2.fadeSpeed = 0.2; fsmAI = new FSM(this, "AlienHunter"); } else { if (_arg1 == "AlienPredator"){ life = (lifeMax = 250); gravityEnable = false; collisionEnable = false; maxSpeed.x = 5; seeRadius = 600; damageType = 1; timerBulletDelay.delay = 1000; timerBulletDelay2.delay = 6000; weapons.push(new weaponParam("Blaster", curLevel)); weapons.push(new weaponParam("BombWep", curLevel)); fsmAI = new FSM(this, "AlienPredator"); } else { if (_arg1 == "AlienElectro"){ life = (lifeMax = 35); gravityEnable = false; collisionEnable = false; isFlyMoveType = true; maxSpeed.x = 5; seeRadius = 600; damageType = 1; this.LEngFire.fadeSpeed = 0.2; this.REngFire.fadeSpeed = 0.2; this.BEngFire2.fadeSpeed = 0.2; fsmAI = new FSM(this, "AlienElectro"); _local2 = 14544639; if (mainGlobal.configVfxOn){ _local3 = new GlowFilter(); _local3.color = _local2; _local3.strength = 1.5; _local3.quality = BitmapFilterQuality.LOW; _local3.blurX = (_local3.blurY = 10); light.filters = [_local3]; }; vChild = light; } else { if (_arg1 == "AlienSeeder"){ life = (lifeMax = 140); gravityEnable = false; collisionEnable = false; isFlyMoveType = true; maxSpeed.x = 3; seeRadius = 600; damageType = 1; this.LEngFire.fadeSpeed = 0.2; this.REngFire.fadeSpeed = 0.2; this.BEngFire1.fadeSpeed = 0.2; this.BEngFire2.fadeSpeed = 0.2; maxTargetChanged = 350; fsmAI = new FSM(this, "AlienSeeder"); } else { if (_arg1 == "AlienBigBoss"){ life = (lifeMax = 550); gravityEnable = false; collisionEnable = false; isFlyMoveType = true; maxSpeed.x = 3; seeRadius = 600; damageType = 1; maxTargetChanged = 4; fsmAI = new FSM(this, "AlienBigBoss"); _local2 = 14544639; if (mainGlobal.configVfxOn){ _local3 = new GlowFilter(); _local3.color = _local2; _local3.strength = 1.5; _local3.quality = BitmapFilterQuality.LOW; _local3.blurX = (_local3.blurY = 10); light.filters = [_local3]; }; vChild = light; vChild2 = beam; vChild.visible = false; timerBulletDelay.delay = 1000; timerBulletDelay2.delay = 7000; weapons.push(new weaponParam("Blaster", curLevel)); weapons.push(new weaponParam("BombWep", curLevel)); } else { if (_arg1 == "AlienHunterBlaster"){ speed.x = 0; speed.y = 0; life = (lifeMax = 25); gravityEnable = false; collisionEnable = false; seeRadius = 500; attackRadius = 500; damageType = 1; timerBulletDelay.delay = 1000; fsmAI = new FSM(this, "Turrel"); noStatEnemy = true; weapons.push(new weaponParam("Blaster", curLevel)); } else { if (_arg1 == "AlienBomber"){ life = (lifeMax = 180); gravityEnable = false; collisionEnable = false; isFlyMoveType = true; maxSpeed.x = 5; seeRadius = 600; damageType = 1; timerBulletDelay.delay = 1200; this.LEngFire.fadeSpeed = 0.2; this.REngFire.fadeSpeed = 0.2; this.BEngFire1.fadeSpeed = 0.2; this.BEngFire2.fadeSpeed = 0.2; fsmAI = new FSM(this, "AlienBomber"); weapons.push(new weaponParam("BombWep", curLevel)); } else { if (_arg1 == "AlienBombWep"){ speed.x = 0; speed.y = 0; life = (lifeMax = 25); gravityEnable = false; collisionEnable = false; seeRadius = 500; attackRadius = 500; damageType = 1; timerBulletDelay.delay = 1000; fsmAI = new FSM(this, "TurrelBomb"); noStatEnemy = true; weapons.push(new weaponParam("Blaster", curLevel)); } else { if (_arg1 == "AlienBomb"){ speed.x = 0; speed.y = 0; life = (lifeMax = 2); gravityEnable = false; seeRadius = 100; attackRadius = 100; damagePerHit = 35; damageType = 1; fsmAI = new FSM(this, "Bomb"); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; } private function onFSMPosted(_arg1:FSMEvent):void{ if (((((mainGlobal.paused) || ((curLevel == null)))) || (!(curLevel.visible)))){ return; }; fsmAI.postEvent(_arg1.data); } public function hitTestProj(_arg1:projObject):Boolean{ var _local2:Point = new Point(_arg1.x, _arg1.y); var _local3:Point = this.globalToLocal(curLevel.localToGlobal(_local2)); return (Boolean(((ageMath.inRange(_local3.x, damageArea.x, (damageArea.x + damageArea.width))) && (ageMath.inRange(_local3.y, damageArea.y, (damageArea.y + damageArea.height)))))); } public function updateActorParts(_arg1:ageVector){ var _local4:Point; var _local5:Point; var _local6:Point; var _local7:Point; var _local8:Number; if (((!(body)) || (!(arm1)))){ return; }; if (arm1.currentLabel != ("R" + weapons[(curWeaponNum - 1)].type)){ arm1.gotoAndStop(("R" + weapons[(curWeaponNum - 1)].type)); return; }; if (arm2.currentLabel != ("L" + weapons[(curWeaponNum - 1)].type)){ arm2.gotoAndStop(("L" + weapons[(curWeaponNum - 1)].type)); return; }; arm1.x = (body.arm1.x + body.x); arm1.y = (body.arm1.y + body.y); arm2.x = (body.arm2.x + body.x); arm2.y = (body.arm2.y + body.y); head.x = (body.head.x + body.x); head.y = (body.head.y + body.y); var _local2:ageVector = new ageVector((_arg1.x - ((body.arm1.x + body.x) + x)), (_arg1.y - ((body.arm1.y + body.y) + y))).norm(); if (_arg1.x > x){ scaleX = 1; } else { scaleX = -1; }; if (scaleX < 0){ _local2.x = -(_local2.x); }; var _local3:* = _local2.getAngleDeg(); if (_local3 > 180){ _local3 = (_local3 - 90); } else { if (_local3 < -180){ _local3 = (_local3 + 90); }; }; arm1.rotation = _local3; head.rotation = (_local3 * 0.5); if (arm1.anim.pointHand != null){ _local4 = arm1.anim.localToGlobal(new Point(arm1.anim.pointHand.x, arm1.anim.pointHand.y)); _local5 = this.globalToLocal(_local4); _local6 = body.localToGlobal(new Point(body.arm2.x, body.arm2.y)); _local7 = this.globalToLocal(_local6); _local8 = ageMath.Distance(_local5.x, _local5.y, _local7.x, _local7.y); arm2.rotation = 0; arm2.width = _local8; arm2.rotation = ((Math.atan2((_local5.y - _local7.y), (_local5.x - _local7.x)) / Math.PI) * 180); } else { arm2.rotation = 0; arm2.width = 37; arm2.rotation = _local3; }; } public function startReload(){ if (cursorReload){ Game(root).cursor.gotoAndStop("wait"); waitTimeBegin = getTimer(); }; timerReloadDelay.delay = weapons[(curWeaponNum - 1)].reloadDelay; timerReloadDelay.start(); if (sound3D){ sounds.PlaySnd((weapons[(curWeaponNum - 1)].type + "Reload"), 0.6, this, stage); } else { sounds.PlaySnd((weapons[(curWeaponNum - 1)].type + "Reload")); }; } public function startShoot(_arg1:ageVector){ var _local2:Point; var _local3:Point; var _local7:*; var _local8:Number; var _local9:int; if (!noArmsShoot){ if (((((!(body)) || (!(arm1)))) || (!(arm1.pointShoot)))){ return; }; }; if ((((weapons[(curWeaponNum - 1)].bulletsNum == 0)) && ((weapons[(curWeaponNum - 1)].bulletsInCatrige == 0)))){ if (sound3D){ sounds.PlaySnd("cocking", 0.6, this, stage); } else { sounds.PlaySnd("cocking"); }; timerBulletDelay.delay = 500; timerBulletDelay.start(); return; }; if (weapons[(curWeaponNum - 1)].bulletsInCatrige == 0){ if (weapons[(curWeaponNum - 1)].bulletsNum == 0){ } else { startReload(); }; return; }; if (wepAcc < weapons[(curWeaponNum - 1)].accHi){ wepAcc = (wepAcc + weapons[(curWeaponNum - 1)].accShootInc); if (wepAcc > weapons[(curWeaponNum - 1)].accHi){ wepAcc = weapons[(curWeaponNum - 1)].accHi; }; }; if (!noArmsShoot){ _local2 = new Point(arm1.pointShoot.x, arm1.pointShoot.y); _local2 = curLevel.globalToLocal(arm1.localToGlobal(_local2)); if (weapons[(curWeaponNum - 1)].useDiffArms){ _local3 = new Point(arm2.pointShoot.x, arm2.pointShoot.y); _local3 = curLevel.globalToLocal(arm2.localToGlobal(_local3)); }; } else { _local2 = new Point(this["pointShoot"].x, this["pointShoot"].y); _local2 = curLevel.globalToLocal(this.localToGlobal(_local2)); }; var _local4:Point = _local2; if (!noArmsShoot){ if (((weapons[(curWeaponNum - 1)].useDiffArms) && (!(rightArmToShoot)))){ _local4 = _local3; }; }; var _local5:Number = ageMath.Distance(x, y, (Controls.mousePosX - curLevel.x), (Controls.mousePosY - curLevel.y)); var _local6:Number = (((14 * wepAcc) * _local5) / weapons[(curWeaponNum - 1)].accDistScale); _local7 = weapons[(curWeaponNum - 1)].shootFunc(_local4.x, _local4.y, (_arg1.x + ageMath.Random(-(_local6), _local6)), (_arg1.y + ageMath.Random(-(_local6), _local6)), weapons[(curWeaponNum - 1)]); if (((_local7.gravityEnable) && (_local7.gravityComp))){ _local8 = _local7.Velocity.len(); _local7.Velocity.add(new ageVector(0, -13)); _local7.Velocity.setLen(_local8); }; if (goodGuy){ _local7.fromGoodGuy = true; mainGlobal.shootingAll++; } else { _local7.fromGoodGuy = false; }; if (weapons[(curWeaponNum - 1)].bulletsShotCnt > 1){ _local9 = 0; _local9 = 0; while (_local9 < (weapons[(curWeaponNum - 1)].bulletsShotCnt - 1)) { _local7 = weapons[(curWeaponNum - 1)].shootFunc(_local4.x, _local4.y, (_arg1.x + ageMath.Random(-(_local6), _local6)), (_arg1.y + ageMath.Random(-(_local6), _local6)), weapons[(curWeaponNum - 1)]); if (goodGuy){ _local7.fromGoodGuy = true; mainGlobal.shootingAll++; } else { _local7.fromGoodGuy = false; }; if (((_local7.gravityEnable) && (_local7.gravityComp))){ _local8 = _local7.Velocity.len(); _local7.Velocity.add(new ageVector(0, -13)); _local7.Velocity.setLen(_local8); }; _local9++; }; }; weapons[(curWeaponNum - 1)].bulletsInCatrige = (weapons[(curWeaponNum - 1)].bulletsInCatrige - weapons[(curWeaponNum - 1)].bulletsDecr); if (weapons[(curWeaponNum - 1)].bulletsInCatrige < 0){ weapons[(curWeaponNum - 1)].bulletsInCatrige = 0; }; if (weapons[(curWeaponNum - 1)].bulletsInCatrige == 0){ if (weapons[(curWeaponNum - 1)].bulletsNum == 0){ } else { if (cursorReload){ Game(root).cursor.gotoAndStop("wait"); waitTimeBegin = getTimer(); }; timerReloadDelay.delay = weapons[(curWeaponNum - 1)].reloadDelay; timerReloadDelay.start(); if (sound3D){ sounds.PlaySnd((weapons[(curWeaponNum - 1)].type + "Reload"), 0.6, this, stage); } else { sounds.PlaySnd((weapons[(curWeaponNum - 1)].type + "Reload")); }; }; }; if (timerBulletDelay.delay != weapons[(curWeaponNum - 1)].bulletDelay){ timerBulletDelay.delay = weapons[(curWeaponNum - 1)].bulletDelay; }; timerBulletDelay.start(); if (!noArmsShoot){ if (!weapons[(curWeaponNum - 1)].useDiffArms){ arm1.anim.gotoAndPlay(2); } else { if (rightArmToShoot){ arm1.anim.gotoAndPlay(2); rightArmToShoot = false; } else { arm2.anim.gotoAndPlay(2); rightArmToShoot = true; }; }; }; } public function applyUpgrade(_arg1:int, _arg2:int){ var _local3:Array; if (_arg1 == 1){ _local3 = upgradesLife; } else { if (_arg1 == 2){ _local3 = upgradesParam; } else { if (_arg1 == 4){ _local3 = upgradesAbilities; } else { return; }; }; }; if (_local3[_arg2].typeOp == 0){ this[_local3[_arg2].paramName] = (this[_local3[_arg2].paramName] + _local3[_arg2].param); } else { if (_local3[_arg2].typeOp == 1){ this[_local3[_arg2].paramName] = (this[_local3[_arg2].paramName] * _local3[_arg2].param); } else { if (_local3[_arg2].typeOp == 2){ this[_local3[_arg2].paramName] = _local3[_arg2].param; }; }; }; if (this[(_local3[_arg2].paramName + "Max")]){ this[(_local3[_arg2].paramName + "Max")] = this[_local3[_arg2].paramName]; }; } public function updateActor(){ var _local2:Boolean; var _local3:Boolean; var _local4:Boolean; var _local5:Boolean; var _local6:Boolean; var _local7:Number; if (dead){ return; }; if (wepAcc > weapons[(curWeaponNum - 1)].accLo){ wepAcc = (wepAcc - weapons[(curWeaponNum - 1)].accDecSpeed); if (wepAcc < weapons[(curWeaponNum - 1)].accLo){ wepAcc = weapons[(curWeaponNum - 1)].accLo; }; }; if (Game(root).cursor.currentLabel == "wait"){ Game(root).cursor.pic.gotoAndStop(Math.round(((100 * (getTimer() - waitTimeBegin)) / (weapons[(curWeaponNum - 1)].reloadDelay + sounds.snd[(weapons[(curWeaponNum - 1)].type + "Reloaded")].length)))); }; var _local1:Point = curLevel.globalToLocal(new Point(Controls.mousePosX, Controls.mousePosY)); updateActorParts(new ageVector(_local1.x, _local1.y)); if ((((((((((((electroCurLevel == 0)) && (Controls.mouseKey))) && (!(timerBulletDelay.running)))) && (!(timerReloadDelay.running)))) && (!((((Controls.mousePosX > 483)) && ((Controls.mousePosY > 459))))))) && (!((((Controls.mousePosX > 619)) && ((Controls.mousePosY < 22))))))){ startShoot(new ageVector(_local1.x, _local1.y)); }; if (((((((Controls.key[82]) && (!(timerReloadDelay.running)))) && ((weapons[(curWeaponNum - 1)].bulletsInCatrige < weapons[(curWeaponNum - 1)].bulletsInCatrigeMax)))) && ((weapons[(curWeaponNum - 1)].bulletsNum > 0)))){ startReload(); }; _local2 = ((Controls.key[Keyboard.DOWN]) || (Controls.key[83])); if (psyCurLevel != 0){ _local2 = ((Controls.key[Keyboard.UP]) || (Controls.key[87])); }; _local3 = ((Controls.key[Keyboard.UP]) || (Controls.key[87])); if (psyCurLevel != 0){ _local3 = ((Controls.key[Keyboard.DOWN]) || (Controls.key[83])); }; _local4 = ((Controls.key[Keyboard.LEFT]) || (Controls.key[65])); if (psyCurLevel != 0){ _local4 = ((Controls.key[Keyboard.RIGHT]) || (Controls.key[68])); }; _local5 = ((Controls.key[Keyboard.RIGHT]) || (Controls.key[68])); if (psyCurLevel != 0){ _local5 = ((Controls.key[Keyboard.LEFT]) || (Controls.key[65])); }; if ((((((electroCurLevel == 0)) && (_local2))) && (!(jump)))){ jump = false; sitting = true; } else { sitting = false; if ((((((electroCurLevel == 0)) && (_local3))) && (!(jump)))){ jump = true; speed.y = jumpSpeed; }; _local6 = false; if ((((electroCurLevel == 0)) && (_local4))){ if (scaleX < 0){ _local6 = false; } else { _local6 = true; }; _local7 = (jump) ? ((speed.x * speedFactor) * 0.8) : (speed.x * speedFactor); if (((_local6) && (!(jump)))){ _local7 = (_local7 * 0.5); }; x = (x - _local7); } else { if ((((electroCurLevel == 0)) && (_local5))){ if (scaleX > 0){ _local6 = false; } else { _local6 = true; }; _local7 = (jump) ? ((speed.x * speedFactor) * 0.8) : (speed.x * speedFactor); if (((_local6) && (!(jump)))){ _local7 = (_local7 * 0.5); }; x = (x + _local7); }; }; }; updateRunJumpState(_local6); oldX = x; } } }//package main
Section 3
//adBoxClass (main.adBoxClass) package main { import flash.display.*; public dynamic class adBoxClass extends MovieClip { } }//package main
Section 4
//addActorStruct (main.addActorStruct) package main { public class addActorStruct { var posx:Number; var posy:Number; var strClass:String; var orderZ:int; public function addActorStruct(_arg1:Number, _arg2:Number, _arg3:String, _arg4:int){ posx = _arg1; posy = _arg2; strClass = _arg3; orderZ = _arg4; } } }//package main
Section 5
//ageMath (main.ageMath) package main { public dynamic class ageMath { public static function trimToRange(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return (((_arg1)>_arg3) ? _arg3 : ((_arg1)<_arg2) ? _arg2 : _arg1); } public static function getClosest(_arg1:Number, _arg2:Number, _arg3:Number):Number{ if (Math.abs((_arg1 - _arg2)) < Math.abs((_arg1 - _arg3))){ return (_arg2); }; return (_arg3); } public static function inRange(_arg1:Number, _arg2:Number, _arg3:Number):Boolean{ return ((((_arg1 > _arg2)) && ((_arg1 < _arg3)))); } public static function aproxEqual(_arg1:Number, _arg2:Number, _arg3:Number=1E-5):Boolean{ return ((Math.abs((_arg2 - _arg1)) <= _arg3)); } public static function Random(_arg1:Number, _arg2:Number):Number{ return ((Math.round((Math.random() * (_arg2 - _arg1))) + _arg1)); } public static function IsLinesCross(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):Boolean{ var _local9:Number = (((_arg3 - _arg1) * (_arg6 - _arg8)) - ((_arg5 - _arg7) * (_arg4 - _arg2))); if (_local9 == 0){ return (false); }; var _local10:Number = (((_arg5 - _arg1) * (_arg6 - _arg8)) - ((_arg5 - _arg7) * (_arg6 - _arg2))); var _local11:Number = (((_arg3 - _arg1) * (_arg6 - _arg2)) - ((_arg5 - _arg1) * (_arg4 - _arg2))); var _local12:Number = (_local10 / _local9); var _local13:Number = (_local11 / _local9); if ((((((((_local12 >= 0)) && ((_local12 <= 1)))) && ((_local13 >= 0)))) && ((_local13 <= 1)))){ return (true); }; return (false); } public static function RandomInt(_arg1:int, _arg2:int):int{ return (Math.round(Random(_arg1, _arg2))); } public static function Distance(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (Math.sqrt((((_arg1 - _arg3) * (_arg1 - _arg3)) + ((_arg2 - _arg4) * (_arg2 - _arg4))))); } public static function Lerp(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return ((_arg1 + (_arg3 * (_arg2 - _arg1)))); } public static function RemapVal(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Number{ return ((_arg4 + (((_arg5 - _arg4) * (_arg1 - _arg2)) / (_arg3 - _arg2)))); } public static function getLineCrossRect(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):ageVector{ var _local9:Number; var _local10:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; var _local29:ageVector; var _local11:Number = 0; var _local12:Number = 1; _local9 = (_arg3 - _arg1); _local10 = (_arg4 - _arg2); _local13 = -(_local9); _local14 = _local9; _local15 = -(_local10); _local16 = _local10; _local17 = (_arg1 - _arg5); _local18 = (_arg7 - _arg1); _local19 = (_arg2 - _arg6); _local20 = (_arg8 - _arg2); if ((((((((((_local13 == 0)) && ((_local17 < 0)))) || ((((_local14 == 0)) && ((_local18 < 0)))))) || ((((_local15 == 0)) && ((_local19 < 0)))))) || ((((_local16 == 0)) && ((_local20 < 0)))))){ return (null); }; if (_local13 < 0){ _local21 = (_local17 / _local13); _local11 = Math.max(_local11, _local21); }; if (_local14 < 0){ _local22 = (_local18 / _local14); _local11 = Math.max(_local11, _local22); }; if (_local15 < 0){ _local23 = (_local19 / _local15); _local11 = Math.max(_local11, _local23); }; if (_local16 < 0){ _local24 = (_local20 / _local16); _local11 = Math.max(_local11, _local24); }; if (_local13 > 0){ _local21 = (_local17 / _local13); _local12 = Math.min(_local12, _local21); }; if (_local14 > 0){ _local22 = (_local18 / _local14); _local12 = Math.min(_local12, _local22); }; if (_local15 > 0){ _local23 = (_local19 / _local15); _local12 = Math.min(_local12, _local23); }; if (_local16 > 0){ _local24 = (_local20 / _local16); _local12 = Math.min(_local12, _local24); }; if (_local11 > _local12){ return (null); }; if ((((_local11 == 0)) && ((_local12 == 1)))){ return (null); }; if ((((((_local11 < _local12)) && (!((_local11 == 0))))) && (!((_local12 == 1))))){ _local25 = (_arg1 + (_local9 * _local11)); _local26 = (_arg2 + (_local10 * _local11)); _local27 = (_arg1 + (_local9 * _local12)); _local28 = (_arg2 + (_local10 * _local12)); _local29 = new ageVector(); if (Distance(_local25, _local26, _arg1, _arg2) < Distance(_local27, _local28, _arg1, _arg2)){ _local29.set(_local25, _local26); return (_local29); }; _local29.set(_local27, _local28); return (_local29); }; return (null); } public static function getLinesCross(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):ageVector{ var _local14:ageVector; var _local9:Number = (((_arg3 - _arg1) * (_arg6 - _arg8)) - ((_arg5 - _arg7) * (_arg4 - _arg2))); if (_local9 == 0){ return (null); }; var _local10:Number = (((_arg5 - _arg1) * (_arg6 - _arg8)) - ((_arg5 - _arg7) * (_arg6 - _arg2))); var _local11:Number = (((_arg3 - _arg1) * (_arg6 - _arg2)) - ((_arg5 - _arg1) * (_arg4 - _arg2))); var _local12:Number = (_local10 / _local9); var _local13:Number = (_local11 / _local9); if ((((((((_local12 >= 0)) && ((_local12 <= 1)))) && ((_local13 >= 0)))) && ((_local13 <= 1)))){ _local14 = new ageVector(); _local14.set(((_local12 * _arg3) + ((1 - _local12) * _arg1)), ((_local12 * _arg4) + ((1 - _local12) * _arg2))); return (_local14); }; return (null); } public static function DistanceVec(_arg1:ageVector, _arg2:ageVector):Number{ return (Distance(_arg1.x, _arg1.y, _arg2.x, _arg2.y)); } } }//package main
Section 6
//ageVector (main.ageVector) package main { public class ageVector { var x:Number; var y:Number; public function ageVector(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } function sub(_arg1:ageVector):void{ x = (x - _arg1.x); y = (y - _arg1.y); } function copy(_arg1:ageVector):void{ x = _arg1.x; y = _arg1.y; } function getAngleDegNorm():Number{ var _local1:Number = ((Math.atan2(y, x) / Math.PI) * 180); if (_local1 < 0){ _local1 = (360 + _local1); } else { if (_local1 >= 360){ _local1 = (_local1 - 360); }; }; return (_local1); } function ProjOnScalar(_arg1:ageVector):Number{ return ((dot(_arg1) / _arg1.len())); } function dot(_arg1:ageVector):Number{ return (((x * _arg1.x) + (y * _arg1.y))); } function mulScalar(_arg1:Number):void{ x = (x * _arg1); y = (y * _arg1); } function getAngleNorm():Number{ var _local1:Number = Math.atan2(y, x); if (_local1 < 0){ _local1 = ((Math.PI * 2) + _local1); } else { if (_local1 >= (Math.PI * 2)){ _local1 = (_local1 - (Math.PI * 2)); }; }; return (_local1); } function trimLen(_arg1:Number):void{ if (len2() > (_arg1 * _arg1)){ normThis(); mulScalar(_arg1); }; } function len():Number{ return (Math.sqrt(((x * x) + (y * y)))); } function rot(_arg1:Number):void{ var _local2:Number = x; x = ((_local2 * Math.cos(_arg1)) - (y * Math.sin(_arg1))); y = ((y * Math.cos(_arg1)) + (_local2 * Math.sin(_arg1))); } function setLen(_arg1:Number):void{ normThis(); mulScalar(_arg1); } function getAngle():Number{ return (Math.atan2(y, x)); } function add(_arg1:ageVector):void{ x = (x + _arg1.x); y = (y + _arg1.y); } function set(_arg1:Number, _arg2:Number):void{ x = _arg1; y = _arg2; } function getAngleDeg():Number{ return (((Math.atan2(y, x) / Math.PI) * 180)); } function isEqual(_arg1:ageVector, _arg2:Number=1E-5):Boolean{ return (((ageMath.aproxEqual(x, _arg1.x, _arg2)) && (ageMath.aproxEqual(y, _arg1.y, _arg2)))); } function rotDeg(_arg1:Number):void{ var _local2:Number = x; var _local3:Number = ((_arg1 * Math.PI) / 180); x = ((_local2 * Math.cos(_local3)) - (y * Math.sin(_local3))); y = ((y * Math.cos(_local3)) + (_local2 * Math.sin(_local3))); } function lerpThis(_arg1:ageVector, _arg2:Number):void{ var _local3:ageVector = new ageVector(); _local3.copy(_arg1); _local3.sub(this); _local3.mulScalar(_arg2); add(_local3); } function normThis():void{ var _local1:Number = len(); if (_local1){ x = (x / _local1); y = (y / _local1); }; } function norm():ageVector{ var _local1:Number = len(); var _local2:ageVector = new ageVector(x, y); if (_local1){ _local2.x = (_local2.x / _local1); _local2.y = (_local2.y / _local1); }; return (_local2); } function len2():Number{ return (((x * x) + (y * y))); } function ProjOnVec(_arg1:ageVector):ageVector{ var _local2:ageVector = _arg1.norm(); _local2.mulScalar(ProjOnScalar(_arg1)); return (_local2); } } }//package main
Section 7
//AKShoot1 (main.AKShoot1) package main { import flash.media.*; public dynamic class AKShoot1 extends Sound { } }//package main
Section 8
//AKShoot2 (main.AKShoot2) package main { import flash.media.*; public dynamic class AKShoot2 extends Sound { } }//package main
Section 9
//AlienBigBoss (main.AlienBigBoss) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class AlienBigBoss extends actorObject { public function AlienBigBoss(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("AlienBigBoss"); }; } } }//package main
Section 10
//alienBlasterShoot1 (main.alienBlasterShoot1) package main { import flash.media.*; public dynamic class alienBlasterShoot1 extends Sound { } }//package main
Section 11
//alienBlasterShoot2 (main.alienBlasterShoot2) package main { import flash.media.*; public dynamic class alienBlasterShoot2 extends Sound { } }//package main
Section 12
//AlienBomb (main.AlienBomb) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class AlienBomb extends actorObject { public function AlienBomb(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.enemies.push(this); initParams("AlienBomb"); }; } } }//package main
Section 13
//AlienBomber (main.AlienBomber) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class AlienBomber extends actorObject { public function AlienBomber(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("AlienBomber"); }; } } }//package main
Section 14
//AlienElectro (main.AlienElectro) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class AlienElectro extends actorObject { public function AlienElectro(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("AlienElectro"); }; } } }//package main
Section 15
//AlienHunter (main.AlienHunter) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class AlienHunter extends actorObject { public function AlienHunter(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("AlienHunter"); }; } } }//package main
Section 16
//AlienHunterBlaster (main.AlienHunterBlaster) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class AlienHunterBlaster extends actorObject { public function AlienHunterBlaster(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; if ((parent.parent as Level)){ curLevel = Level(parent.parent); } else { curLevel = Level(parent); }; curLevel.enemies.push(this); initParams("AlienHunterBlaster"); }; } } }//package main
Section 17
//AlienPredator (main.AlienPredator) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class AlienPredator extends actorObject { public function AlienPredator(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("AlienPredator"); }; } } }//package main
Section 18
//AlienSaw (main.AlienSaw) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class AlienSaw extends actorObject { public function AlienSaw(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("AlienSaw"); }; } } }//package main
Section 19
//AlienSeeder (main.AlienSeeder) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class AlienSeeder extends actorObject { public function AlienSeeder(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("AlienSeeder"); }; } } }//package main
Section 20
//AlienSolder (main.AlienSolder) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class AlienSolder extends actorObject { public function AlienSolder(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("AlienSolder"); }; } } }//package main
Section 21
//alphaFader (main.alphaFader) package main { import flash.display.*; import flash.events.*; import flash.text.*; public class alphaFader extends MovieClip { var use_force_restart:Boolean;// = false public var gamButWT:SimpleButton; public var wep1:guiWepNum; public var wep2:guiWepNum; public var wep3:guiWepNum; public var wep4:guiWepNum; public var wep5:guiWepNum; public var wep7:guiWepNum; public var wep6:guiWepNum; public var wep8:guiWepNum; public var butYes:SimpleButton; public var hazBio:MovieClip; public var hazElectro:MovieClip; public var fxblink2:fxblink; public var txtMoney:TextField; public var butNo:SimpleButton; public var fadeSpeed:Number;// = 0.1 public var gamButMenu:SimpleButton; public var dlgIco:dialogIco; public var painFrame:PainFrame; public var fadeMinLimit:Number;// = 0 public var wepInfo:MovieClip; public var fxblink:fxblink; public var itm1:MovieClip; public var itm3:MovieClip; public var itm4:MovieClip; public var itm5:MovieClip; public var itm0:MovieClip; public var itm2:MovieClip; public var hlpControl:hlpCtrl; public var dlg:dialog; public var fadeMaxLimit:Number;// = 1 public var hazPsy:MovieClip; public var lifeBar:MovieClip; public var fadingout:Boolean;// = false public function alphaFader(){ fadingout = false; addEventListener(Event.ENTER_FRAME, update, false, 0, true); } public function startFadeIn():void{ if (((!(ageMath.aproxEqual(alpha, fadeMinLimit))) && (!(use_force_restart)))){ return; }; alpha = fadeMinLimit; visible = true; fadingout = false; } public function update(_arg1:Event):void{ if (visible){ if (fadingout){ if (alpha <= fadeMinLimit){ alpha = fadeMinLimit; visible = false; fadingout = false; } else { alpha = (alpha - fadeSpeed); }; } else { if (alpha >= fadeMaxLimit){ alpha = fadeMaxLimit; } else { alpha = (alpha + fadeSpeed); }; }; }; } public function clearAlphaFader(){ removeEventListener(Event.ENTER_FRAME, update); } public function startFadeOut():void{ if (((!(ageMath.aproxEqual(alpha, fadeMaxLimit))) && (!(use_force_restart)))){ return; }; alpha = fadeMaxLimit; visible = true; fadingout = true; } } }//package main
Section 22
//baseObject (main.baseObject) package main { public class baseObject extends alphaFader { var life:Number;// = 0 var lifeMax:Number;// = 0 var paralaxX:Number;// = 0 var initIDE:Boolean;// = false var saveX:Number;// = 0 var saveY:Number;// = 0 var paralaxY:Number;// = 0 } }//package main
Section 23
//bg (main.bg) package main { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; public class bg extends MovieClip { var outputBitmapData:BitmapData; var bgArray:Array; public function bg(){ bgArray = new Array(); super(); outputBitmapData = new BitmapData(stage.stageWidth, stage.stageHeight, false, 0); bgArray.push(new EarthRow01(424, 424)); var _local1:Bitmap = new Bitmap(outputBitmapData); addChild(_local1); } public function changeBG(_arg1:Number, _arg2:Number):void{ outputBitmapData.lock(); var _local3:Number = 0; var _local4:Number = 0; var _local5:Number = ((_arg1 / 1) - (int(((_arg1 / 1) / 424)) * 424)); var _local6:Number = ((_arg2 / 1) - (int(((_arg2 / 1) / 424)) * 424)); _local3 = (_local5 - 424); while (_local3 <= stage.stageWidth) { _local4 = (_local6 - 424); while (_local4 <= stage.stageHeight) { outputBitmapData.copyPixels(bgArray[0], new Rectangle(0, 0, 424, 424), new Point(_local3, _local4)); _local4 = (_local4 + 424); }; _local3 = (_local3 + 424); }; outputBitmapData.unlock(); } } }//package main
Section 24
//bigExp (main.bigExp) package main { import flash.media.*; public dynamic class bigExp extends Sound { } }//package main
Section 25
//blasterProj (main.blasterProj) package main { public dynamic class blasterProj extends projObject { } }//package main
Section 26
//bloodLeak (main.bloodLeak) package main { public dynamic class bloodLeak extends fxObject { public function bloodLeak(){ addFrameScript(19, frame20); } function frame20(){ stop(); } } }//package main
Section 27
//bloodOnGround (main.bloodOnGround) package main { public dynamic class bloodOnGround extends fxObject { public function bloodOnGround(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package main
Section 28
//bodyBlood1 (main.bodyBlood1) package main { import flash.media.*; public dynamic class bodyBlood1 extends Sound { } }//package main
Section 29
//bodyBlood2 (main.bodyBlood2) package main { import flash.media.*; public dynamic class bodyBlood2 extends Sound { } }//package main
Section 30
//bodyBlood3 (main.bodyBlood3) package main { import flash.media.*; public dynamic class bodyBlood3 extends Sound { } }//package main
Section 31
//bodyFall1 (main.bodyFall1) package main { import flash.media.*; public dynamic class bodyFall1 extends Sound { } }//package main
Section 32
//bodyFall2 (main.bodyFall2) package main { import flash.media.*; public dynamic class bodyFall2 extends Sound { } }//package main
Section 33
//bodyFall3 (main.bodyFall3) package main { import flash.media.*; public dynamic class bodyFall3 extends Sound { } }//package main
Section 34
//bodyFall4 (main.bodyFall4) package main { import flash.media.*; public dynamic class bodyFall4 extends Sound { } }//package main
Section 35
//bomb2 (main.bomb2) package main { import flash.media.*; public dynamic class bomb2 extends Sound { } }//package main
Section 36
//bombExp (main.bombExp) package main { import flash.media.*; public dynamic class bombExp extends Sound { } }//package main
Section 37
//brickWall3x_paralax (main.brickWall3x_paralax) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class brickWall3x_paralax extends baseObject { public function brickWall3x_paralax(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ paralaxX = 180; paralaxY = 40; saveX = x; saveY = y; Level(parent).paralaxObjects.push(this); }; } } }//package main
Section 38
//cocking (main.cocking) package main { import flash.media.*; public dynamic class cocking extends Sound { } }//package main
Section 39
//Coin1 (main.Coin1) package main { import flash.media.*; public dynamic class Coin1 extends Sound { } }//package main
Section 40
//Coin2 (main.Coin2) package main { import flash.media.*; public dynamic class Coin2 extends Sound { } }//package main
Section 41
//ColorMatrix (main.ColorMatrix) package main { import flash.filters.*; public class ColorMatrix { public var matrix:Array; private var preHue:ColorMatrix; private var postHue:ColorMatrix; private var hueInitialized:Boolean; private static const ONETHIRD:Number = 0.333333333333333; private static const LUMA_G:Number = 0.71516; private static const LUMA_B:Number = 0.072169; private static const LUMA_R2:Number = 0.3086; private static const LUMA_G2:Number = 0.6094; private static const LUMA_R:Number = 0.212671; private static const LUMA_B2:Number = 0.082; private static const RAD:Number = (Math.PI / 180); private static const IDENTITY:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]; public static const COLOR_DEFICIENCY_TYPES:Array = ["Protanopia", "Protanomaly", "Deuteranopia", "Deuteranomaly", "Tritanopia", "Tritanomaly", "Achromatopsia", "Achromatomaly"]; public function ColorMatrix(_arg1:Object=null){ if ((_arg1 is ColorMatrix)){ matrix = _arg1.matrix.concat(); } else { if ((_arg1 is Array)){ matrix = _arg1.concat(); } else { reset(); }; }; } public function adjustBrightness(_arg1:Number, _arg2:Number=NaN, _arg3:Number=NaN):void{ if (isNaN(_arg2)){ _arg2 = _arg1; }; if (isNaN(_arg3)){ _arg3 = _arg1; }; concat([1, 0, 0, 0, _arg1, 0, 1, 0, 0, _arg2, 0, 0, 1, 0, _arg3, 0, 0, 0, 1, 0]); } public function averageRGB2Alpha():void{ concat([0, 0, 0, 0, 0xFF, 0, 0, 0, 0, 0xFF, 0, 0, 0, 0, 0xFF, ONETHIRD, ONETHIRD, ONETHIRD, 0, 0]); } public function luminance2Alpha():void{ concat([0, 0, 0, 0, 0xFF, 0, 0, 0, 0, 0xFF, 0, 0, 0, 0, 0xFF, LUMA_R, LUMA_G, LUMA_B, 0, 0]); } public function rotateRed(_arg1:Number):void{ rotateColor(_arg1, 2, 1); } public function get filter():ColorMatrixFilter{ return (new ColorMatrixFilter(matrix)); } public function adjustSaturation(_arg1:Number):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local2 = (1 - _arg1); _local3 = (_local2 * LUMA_R); _local4 = (_local2 * LUMA_G); _local5 = (_local2 * LUMA_B); concat([(_local3 + _arg1), _local4, _local5, 0, 0, _local3, (_local4 + _arg1), _local5, 0, 0, _local3, _local4, (_local5 + _arg1), 0, 0, 0, 0, 0, 1, 0]); } public function adjustAlphaContrast(_arg1:Number):void{ _arg1 = (_arg1 + 1); concat([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, _arg1, (128 * (1 - _arg1))]); } public function reset():void{ matrix = IDENTITY.concat(); } public function blend(_arg1:ColorMatrix, _arg2:Number):void{ var _local3:Number = (1 - _arg2); var _local4:int; while (_local4 < 20) { matrix[_local4] = ((_local3 * Number(matrix[_local4])) + (_arg2 * Number(_arg1.matrix[_local4]))); _local4++; }; } public function setChannels(_arg1:int=1, _arg2:int=2, _arg3:int=4, _arg4:int=8):void{ var _local5:Number = (((((((_arg1 & 1) == 1)) ? 1 : ((0 + ((_arg1 & 2) == 2))) ? 1 : 0 + ((_arg1 & 4) == 4))) ? 1 : 0 + ((_arg1 & 8) == 8))) ? 1 : 0; if (_local5 > 0){ _local5 = (1 / _local5); }; var _local6:Number = (((((((_arg2 & 1) == 1)) ? 1 : ((0 + ((_arg2 & 2) == 2))) ? 1 : 0 + ((_arg2 & 4) == 4))) ? 1 : 0 + ((_arg2 & 8) == 8))) ? 1 : 0; if (_local6 > 0){ _local6 = (1 / _local6); }; var _local7:Number = (((((((_arg3 & 1) == 1)) ? 1 : ((0 + ((_arg3 & 2) == 2))) ? 1 : 0 + ((_arg3 & 4) == 4))) ? 1 : 0 + ((_arg3 & 8) == 8))) ? 1 : 0; if (_local7 > 0){ _local7 = (1 / _local7); }; var _local8:Number = (((((((_arg4 & 1) == 1)) ? 1 : ((0 + ((_arg4 & 2) == 2))) ? 1 : 0 + ((_arg4 & 4) == 4))) ? 1 : 0 + ((_arg4 & 8) == 8))) ? 1 : 0; if (_local8 > 0){ _local8 = (1 / _local8); }; concat([(((_arg1 & 1) == 1)) ? _local5 : 0, (((_arg1 & 2) == 2)) ? _local5 : 0, (((_arg1 & 4) == 4)) ? _local5 : 0, (((_arg1 & 8) == 8)) ? _local5 : 0, 0, (((_arg2 & 1) == 1)) ? _local6 : 0, (((_arg2 & 2) == 2)) ? _local6 : 0, (((_arg2 & 4) == 4)) ? _local6 : 0, (((_arg2 & 8) == 8)) ? _local6 : 0, 0, (((_arg3 & 1) == 1)) ? _local7 : 0, (((_arg3 & 2) == 2)) ? _local7 : 0, (((_arg3 & 4) == 4)) ? _local7 : 0, (((_arg3 & 8) == 8)) ? _local7 : 0, 0, (((_arg4 & 1) == 1)) ? _local8 : 0, (((_arg4 & 2) == 2)) ? _local8 : 0, (((_arg4 & 4) == 4)) ? _local8 : 0, (((_arg4 & 8) == 8)) ? _local8 : 0, 0]); } public function randomize(_arg1:Number=1):void{ var _local2:Number = (1 - _arg1); var _local3:Number = (_local2 + (_arg1 * (Math.random() - Math.random()))); var _local4:Number = (_arg1 * (Math.random() - Math.random())); var _local5:Number = (_arg1 * (Math.random() - Math.random())); var _local6:Number = ((_arg1 * 0xFF) * (Math.random() - Math.random())); var _local7:Number = (_arg1 * (Math.random() - Math.random())); var _local8:Number = (_local2 + (_arg1 * (Math.random() - Math.random()))); var _local9:Number = (_arg1 * (Math.random() - Math.random())); var _local10:Number = ((_arg1 * 0xFF) * (Math.random() - Math.random())); var _local11:Number = (_arg1 * (Math.random() - Math.random())); var _local12:Number = (_arg1 * (Math.random() - Math.random())); var _local13:Number = (_local2 + (_arg1 * (Math.random() - Math.random()))); var _local14:Number = ((_arg1 * 0xFF) * (Math.random() - Math.random())); concat([_local3, _local4, _local5, 0, _local6, _local7, _local8, _local9, 0, _local10, _local11, _local12, _local13, 0, _local14, 0, 0, 0, 1, 0]); } public function concat(_arg1:Array):void{ var _local4:int; var _local5:int; var _local2:Array = []; var _local3:int; _local5 = 0; while (_local5 < 4) { _local4 = 0; while (_local4 < 5) { _local2[int((_local3 + _local4))] = (((((Number(_arg1[_local3]) * Number(matrix[_local4])) + (Number(_arg1[int((_local3 + 1))]) * Number(matrix[int((_local4 + 5))]))) + (Number(_arg1[int((_local3 + 2))]) * Number(matrix[int((_local4 + 10))]))) + (Number(_arg1[int((_local3 + 3))]) * Number(matrix[int((_local4 + 15))]))) + ((_local4 == 4)) ? Number(_arg1[int((_local3 + 4))]) : 0); _local4++; }; _local3 = (_local3 + 5); _local5++; }; matrix = _local2; } public function invert():void{ concat([-1, 0, 0, 0, 0xFF, 0, -1, 0, 0, 0xFF, 0, 0, -1, 0, 0xFF, 0, 0, 0, 1, 0]); } private function rotateColor(_arg1:Number, _arg2:int, _arg3:int):void{ _arg1 = (_arg1 * RAD); var _local4:Array = IDENTITY.concat(); _local4[(_arg2 + (_arg2 * 5))] = (_local4[(_arg3 + (_arg3 * 5))] = Math.cos(_arg1)); _local4[(_arg3 + (_arg2 * 5))] = Math.sin(_arg1); _local4[(_arg2 + (_arg3 * 5))] = -(Math.sin(_arg1)); concat(_local4); } public function colorize(_arg1:int, _arg2:Number=1):void{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; _local3 = (((_arg1 >> 16) & 0xFF) / 0xFF); _local4 = (((_arg1 >> 8) & 0xFF) / 0xFF); _local5 = ((_arg1 & 0xFF) / 0xFF); _local6 = (1 - _arg2); concat([(_local6 + ((_arg2 * _local3) * LUMA_R)), ((_arg2 * _local3) * LUMA_G), ((_arg2 * _local3) * LUMA_B), 0, 0, ((_arg2 * _local4) * LUMA_R), (_local6 + ((_arg2 * _local4) * LUMA_G)), ((_arg2 * _local4) * LUMA_B), 0, 0, ((_arg2 * _local5) * LUMA_R), ((_arg2 * _local5) * LUMA_G), (_local6 + ((_arg2 * _local5) * LUMA_B)), 0, 0, 0, 0, 0, 1, 0]); } public function rgb2Alpha(_arg1:Number, _arg2:Number, _arg3:Number):void{ concat([0, 0, 0, 0, 0xFF, 0, 0, 0, 0, 0xFF, 0, 0, 0, 0, 0xFF, _arg1, _arg2, _arg3, 0, 0]); } private function shearColor(_arg1:int, _arg2:int, _arg3:Number, _arg4:int, _arg5:Number):void{ var _local6:Array = IDENTITY.concat(); _local6[(_arg2 + (_arg1 * 5))] = _arg3; _local6[(_arg4 + (_arg1 * 5))] = _arg5; concat(_local6); } public function shearBlue(_arg1:Number, _arg2:Number):void{ shearColor(2, 0, _arg1, 1, _arg2); } public function setAlpha(_arg1:Number):void{ concat([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, _arg1, 0]); } public function rotateHue(_arg1:Number):void{ initHue(); concat(preHue.matrix); rotateBlue(_arg1); concat(postHue.matrix); } public function applyMatrix(_arg1:uint):uint{ var _local2:Number = ((_arg1 >>> 24) & 0xFF); var _local3:Number = ((_arg1 >>> 16) & 0xFF); var _local4:Number = ((_arg1 >>> 8) & 0xFF); var _local5:Number = (_arg1 & 0xFF); var _local6:int = (((((0.5 + (_local3 * matrix[0])) + (_local4 * matrix[1])) + (_local5 * matrix[2])) + (_local2 * matrix[3])) + matrix[4]); var _local7:int = (((((0.5 + (_local3 * matrix[5])) + (_local4 * matrix[6])) + (_local5 * matrix[7])) + (_local2 * matrix[8])) + matrix[9]); var _local8:int = (((((0.5 + (_local3 * matrix[10])) + (_local4 * matrix[11])) + (_local5 * matrix[12])) + (_local2 * matrix[13])) + matrix[14]); var _local9:int = (((((0.5 + (_local3 * matrix[15])) + (_local4 * matrix[16])) + (_local5 * matrix[17])) + (_local2 * matrix[18])) + matrix[19]); if (_local9 < 0){ _local9 = 0; }; if (_local9 > 0xFF){ _local9 = 0xFF; }; if (_local6 < 0){ _local6 = 0; }; if (_local6 > 0xFF){ _local6 = 0xFF; }; if (_local7 < 0){ _local7 = 0; }; if (_local7 > 0xFF){ _local7 = 0xFF; }; if (_local8 < 0){ _local8 = 0; }; if (_local8 > 0xFF){ _local8 = 0xFF; }; return (((((_local9 << 24) | (_local6 << 16)) | (_local7 << 8)) | _local8)); } private function initHue():void{ var _local2:Array; var _local3:Number; var _local4:Number; var _local1:Number = 39.182655; if (!hueInitialized){ hueInitialized = true; preHue = new ColorMatrix(); preHue.rotateRed(45); preHue.rotateGreen(-(_local1)); _local2 = [LUMA_R2, LUMA_G2, LUMA_B2, 1]; preHue.transformVector(_local2); _local3 = (_local2[0] / _local2[2]); _local4 = (_local2[1] / _local2[2]); preHue.shearBlue(_local3, _local4); postHue = new ColorMatrix(); postHue.shearBlue(-(_local3), -(_local4)); postHue.rotateGreen(_local1); postHue.rotateRed(-45); }; } public function shearGreen(_arg1:Number, _arg2:Number):void{ shearColor(1, 0, _arg1, 2, _arg2); } public function shearRed(_arg1:Number, _arg2:Number):void{ shearColor(0, 1, _arg1, 2, _arg2); } public function average(_arg1:Number=0.333333333333333, _arg2:Number=0.333333333333333, _arg3:Number=0.333333333333333):void{ concat([_arg1, _arg2, _arg3, 0, 0, _arg1, _arg2, _arg3, 0, 0, _arg1, _arg2, _arg3, 0, 0, 0, 0, 0, 1, 0]); } public function transformVector(_arg1:Array):void{ if (_arg1.length != 4){ return; }; var _local2:Number = (((((_arg1[0] * matrix[0]) + (_arg1[1] * matrix[1])) + (_arg1[2] * matrix[2])) + (_arg1[3] * matrix[3])) + matrix[4]); var _local3:Number = (((((_arg1[0] * matrix[5]) + (_arg1[1] * matrix[6])) + (_arg1[2] * matrix[7])) + (_arg1[3] * matrix[8])) + matrix[9]); var _local4:Number = (((((_arg1[0] * matrix[10]) + (_arg1[1] * matrix[11])) + (_arg1[2] * matrix[12])) + (_arg1[3] * matrix[13])) + matrix[14]); var _local5:Number = (((((_arg1[0] * matrix[15]) + (_arg1[1] * matrix[16])) + (_arg1[2] * matrix[17])) + (_arg1[3] * matrix[18])) + matrix[19]); _arg1[0] = _local2; _arg1[1] = _local3; _arg1[2] = _local4; _arg1[3] = _local5; } public function invertAlpha():void{ concat([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, -1, 0xFF]); } public function adjustHue(_arg1:Number):void{ _arg1 = (_arg1 * RAD); var _local2:Number = Math.cos(_arg1); var _local3:Number = Math.sin(_arg1); concat([((LUMA_R + (_local2 * (1 - LUMA_R))) + (_local3 * -(LUMA_R))), ((LUMA_G + (_local2 * -(LUMA_G))) + (_local3 * -(LUMA_G))), ((LUMA_B + (_local2 * -(LUMA_B))) + (_local3 * (1 - LUMA_B))), 0, 0, ((LUMA_R + (_local2 * -(LUMA_R))) + (_local3 * 0.143)), ((LUMA_G + (_local2 * (1 - LUMA_G))) + (_local3 * 0.14)), ((LUMA_B + (_local2 * -(LUMA_B))) + (_local3 * -0.283)), 0, 0, ((LUMA_R + (_local2 * -(LUMA_R))) + (_local3 * -((1 - LUMA_R)))), ((LUMA_G + (_local2 * -(LUMA_G))) + (_local3 * LUMA_G)), ((LUMA_B + (_local2 * (1 - LUMA_B))) + (_local3 * LUMA_B)), 0, 0, 0, 0, 0, 1, 0]); } public function threshold(_arg1:Number, _arg2:Number=0x0100):void{ concat([(LUMA_R * _arg2), (LUMA_G * _arg2), (LUMA_B * _arg2), 0, (-(_arg2) * _arg1), (LUMA_R * _arg2), (LUMA_G * _arg2), (LUMA_B * _arg2), 0, (-(_arg2) * _arg1), (LUMA_R * _arg2), (LUMA_G * _arg2), (LUMA_B * _arg2), 0, (-(_arg2) * _arg1), 0, 0, 0, 1, 0]); } public function clone():ColorMatrix{ return (new ColorMatrix(matrix)); } public function rotateBlue(_arg1:Number):void{ rotateColor(_arg1, 1, 0); } public function rotateGreen(_arg1:Number):void{ rotateColor(_arg1, 0, 2); } public function desaturate():void{ concat([LUMA_R, LUMA_G, LUMA_B, 0, 0, LUMA_R, LUMA_G, LUMA_B, 0, 0, LUMA_R, LUMA_G, LUMA_B, 0, 0, 0, 0, 0, 1, 0]); } public function adjustContrast(_arg1:Number, _arg2:Number=NaN, _arg3:Number=NaN):void{ if (isNaN(_arg2)){ _arg2 = _arg1; }; if (isNaN(_arg3)){ _arg3 = _arg1; }; _arg1 = (_arg1 + 1); _arg2 = (_arg2 + 1); _arg3 = (_arg3 + 1); concat([_arg1, 0, 0, 0, (128 * (1 - _arg1)), 0, _arg2, 0, 0, (128 * (1 - _arg2)), 0, 0, _arg3, 0, (128 * (1 - _arg3)), 0, 0, 0, 1, 0]); } public function setMultiplicators(_arg1:Number=1, _arg2:Number=1, _arg3:Number=1, _arg4:Number=1):void{ var _local5:Array = new Array(_arg1, 0, 0, 0, 0, 0, _arg2, 0, 0, 0, 0, 0, _arg3, 0, 0, 0, 0, 0, _arg4, 0); concat(_local5); } public function thresholdAlpha(_arg1:Number, _arg2:Number=0x0100):void{ concat([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, _arg2, (-(_arg2) * _arg1)]); } public function clearChannels(_arg1:Boolean=false, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Boolean=false):void{ if (_arg1){ matrix[0] = (matrix[1] = (matrix[2] = (matrix[3] = (matrix[4] = 0)))); }; if (_arg2){ matrix[5] = (matrix[6] = (matrix[7] = (matrix[8] = (matrix[9] = 0)))); }; if (_arg3){ matrix[10] = (matrix[11] = (matrix[12] = (matrix[13] = (matrix[14] = 0)))); }; if (_arg4){ matrix[15] = (matrix[16] = (matrix[17] = (matrix[18] = (matrix[19] = 0)))); }; } public function applyColorDeficiency(_arg1:String):void{ switch (_arg1){ case "Protanopia": concat([0.567, 0.433, 0, 0, 0, 0.558, 0.442, 0, 0, 0, 0, 0.242, 0.758, 0, 0, 0, 0, 0, 1, 0]); break; case "Protanomaly": concat([0.817, 0.183, 0, 0, 0, 0.333, 0.667, 0, 0, 0, 0, 0.125, 0.875, 0, 0, 0, 0, 0, 1, 0]); break; case "Deuteranopia": concat([0.625, 0.375, 0, 0, 0, 0.7, 0.3, 0, 0, 0, 0, 0.3, 0.7, 0, 0, 0, 0, 0, 1, 0]); break; case "Deuteranomaly": concat([0.8, 0.2, 0, 0, 0, 0.258, 0.742, 0, 0, 0, 0, 0.142, 0.858, 0, 0, 0, 0, 0, 1, 0]); break; case "Tritanopia": concat([0.95, 0.05, 0, 0, 0, 0, 0.433, 0.567, 0, 0, 0, 0.475, 0.525, 0, 0, 0, 0, 0, 1, 0]); break; case "Tritanomaly": concat([0.967, 0.033, 0, 0, 0, 0, 0.733, 0.267, 0, 0, 0, 0.183, 0.817, 0, 0, 0, 0, 0, 1, 0]); break; case "Achromatopsia": concat([0.299, 0.587, 0.114, 0, 0, 0.299, 0.587, 0.114, 0, 0, 0.299, 0.587, 0.114, 0, 0, 0, 0, 0, 1, 0]); break; case "Achromatomaly": concat([0.618, 0.32, 0.062, 0, 0, 0.163, 0.775, 0.062, 0, 0, 0.163, 0.32, 0.516, 0, 0, 0, 0, 0, 1, 0]); break; }; } } }//package main
Section 42
//Controls (main.Controls) package main { import flash.events.*; import flash.ui.*; public dynamic class Controls { public static var keyNew:Array = new Array(0x0100); public static var curReg; public static var mousePosX:Number; public static var mousePosY:Number; public static var mouseGlobalPosX:Number; public static var mouseGlobalPosY:Number; public static var mouseKey:Boolean; public static var key:Array = new Array(0x0100); public static function unregMC(){ curReg.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMove); curReg.removeEventListener(MouseEvent.MOUSE_UP, mouseUp); curReg.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDown); curReg.removeEventListener(KeyboardEvent.KEY_UP, keyUp); curReg.removeEventListener(KeyboardEvent.KEY_DOWN, keyDown); curReg = null; } public static function keyUp(_arg1:KeyboardEvent){ key[_arg1.keyCode] = false; } public static function mouseDown(_arg1:MouseEvent):void{ mouseKey = true; } public static function mouseUp(_arg1:MouseEvent):void{ mouseKey = false; } public static function keyDown(_arg1:KeyboardEvent){ key[_arg1.keyCode] = true; keyNew[_arg1.keyCode] = true; } public static function mouseMove(_arg1:MouseEvent):void{ mousePosX = _arg1.stageX; mousePosY = _arg1.stageY; mouseGlobalPosX = (mousePosX - curReg.x); mouseGlobalPosY = (mousePosY - curReg.y); } public static function updateKeyNew(){ var _local1:int; _local1 = 0; while (_local1 < 0x0100) { keyNew[_local1] = false; _local1++; }; } public static function regMC(_arg1){ curReg = _arg1; _arg1.addEventListener(MouseEvent.MOUSE_MOVE, mouseMove); _arg1.addEventListener(MouseEvent.MOUSE_UP, mouseUp); _arg1.addEventListener(MouseEvent.MOUSE_DOWN, mouseDown); _arg1.addEventListener(KeyboardEvent.KEY_UP, keyUp); _arg1.addEventListener(KeyboardEvent.KEY_DOWN, keyDown); } } }//package main
Section 43
//Cookie (main.Cookie) package main { import flash.net.*; public class Cookie { private var _name:String; private var _so:SharedObject; public function Cookie(_arg1:String="tempCookie"){ _name = _arg1; _so = SharedObject.getLocal(_arg1, "/"); } public function getName():String{ return (_name); } public function isKeyExist(_arg1:String):Boolean{ _arg1 = ("key_" + _arg1); return (((!((_so.data.cookie == undefined))) && (!((_so.data.cookie[_arg1] == undefined))))); } public function putNoFlush(_arg1:String, _arg2):void{ var _local3:Object; _arg1 = ("key_" + _arg1); if (_so.data.cookie == undefined){ _local3 = {}; _local3[_arg1] = _arg2; _so.data.cookie = _local3; } else { _so.data.cookie[_arg1] = _arg2; }; } public function remove(_arg1:String):void{ if (isKeyExist(_arg1)){ delete _so.data.cookie[("key_" + _arg1)]; _so.flush(); }; } public function clear():void{ _so.clear(); } public function flushData():void{ _so.flush(); } public function put(_arg1:String, _arg2):void{ var _local3:Object; _arg1 = ("key_" + _arg1); if (_so.data.cookie == undefined){ _local3 = {}; _local3[_arg1] = _arg2; _so.data.cookie = _local3; } else { _so.data.cookie[_arg1] = _arg2; }; _so.flush(); } public function get(_arg1:String):Object{ return ((isKeyExist(_arg1)) ? _so.data.cookie[("key_" + _arg1)] : null); } public function getSize():uint{ return (_so.size); } public function isExist():Boolean{ return (!((getSize() == 0))); } } }//package main
Section 44
//damageMarker (main.damageMarker) package main { import flash.display.*; public dynamic class damageMarker extends MovieClip { public function damageMarker(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package main
Section 45
//dialog (main.dialog) package main { import flash.display.*; import flash.text.*; public dynamic class dialog extends alphaFader { public var txtSpeech:TextField; public var pic:MovieClip; public var txtName:TextField; public function dialog(){ visible = false; fadeSpeed = 0.03; use_force_restart = true; } public function setTo(_arg1:String):int{ if (_arg1 == "lev1_Ted01"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Hey, you look like a bloody steak."; } else { if (_arg1 == "lev1_InjMan01"){ pic.gotoAndStop("injMan"); txtName.text = "Injured Man:"; txtSpeech.text = "My game is over...\nTake this shotgun. I hope you are luckier than me..."; } else { if (_arg1 == "lev1_TedBrain"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "I think they want to eat my brains."; } else { if (_arg1 == "lev1_TedMus"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Music in my head has changed... Now I guess is something gonna happen."; } else { if (_arg1 == "lev1_TedDiff"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "I thought it'll be more difficult."; }; }; }; }; }; if (_arg1 == "lev2_OldManTed01"){ pic.gotoAndStop("oldMan"); txtName.text = "Old Man:"; txtSpeech.text = "Help me! Please! "; } else { if (_arg1 == "lev2_OldManTed02"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "What's the matter? "; } else { if (_arg1 == "lev2_OldManTed03"){ pic.gotoAndStop("oldMan"); txtName.text = "Old Man:"; txtSpeech.text = "Alien robots! They are coming! "; } else { if (_arg1 == "lev2_OldManTed04"){ pic.gotoAndStop("oldMan"); txtName.text = "Old Man:"; txtSpeech.text = "Thanks, brave man!.. I'm so hungry... can you find some food for me?"; } else { if (_arg1 == "lev2_OldManTed05"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Do I look like a delivery service?"; } else { if (_arg1 == "lev2_OldManTed06"){ pic.gotoAndStop("oldMan"); txtName.text = "Old Man:"; txtSpeech.text = "I'll give you something useful!"; } else { if (_arg1 == "lev2_OldManTed07"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Your fear for example?"; } else { if (_arg1 == "lev2_OldManTed08"){ pic.gotoAndStop("oldMan"); txtName.text = "Old Man:"; txtSpeech.text = "Thanks for food! Now I won't die from hunger."; } else { if (_arg1 == "lev2_OldManTed09"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "You said that you'll give me something useful."; } else { if (_arg1 == "lev2_OldManTed10"){ pic.gotoAndStop("oldMan"); txtName.text = "Old Man:"; txtSpeech.text = "Of course! Take this dynamite. I found it in the basement."; } else { if (_arg1 == "lev2_TedScrap"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "I can sell all this scrap metal and make a few bucks."; } else { if (_arg1 == "lev2_TedObst"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "The obstacle... how to overcome it?"; } else { if (_arg1 == "lev2_TedAK"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Serious gun for the serious guy."; }; }; }; }; }; }; }; }; }; }; }; }; }; if (_arg1 == "lev3_TedALienKilled"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Good alien is a dead alien!"; } else { if (_arg1 == "lev3_TedDate"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "This zombie girl looks cute. Maybe I should date her?"; } else { if (_arg1 == "lev3_TedPreBoss"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Damn, what is this?"; } else { if (_arg1 == "lev3_TedPreBoss"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Damn, what is this?"; } else { if (_arg1 == "lev3_TedPostBoss"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Yeah, great fireworks. Very impressive."; }; }; }; }; }; if (_arg1 == "lev4_TedElevatorEnd"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "I no longer need this gas mask."; } else { if (_arg1 == "lev4_TedBio"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "This gas smells like a shit. I need to find some protection."; }; }; if (_arg1 == "lev5_TedValve"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "My childhood mania: when I see a valve - I turn it."; } else { if (_arg1 == "lev5_TedBio"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Oh, not this shit again...."; } else { if (_arg1 == "lev5_BunkerManTed01"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Hey! Can you open this door?"; } else { if (_arg1 == "lev5_BunkerManTed02"){ pic.gotoAndStop("bunkerManNude"); txtName.text = "Technician:"; txtSpeech.text = "C-c-cold... v-v-ver-y-y c-c-cold..."; }; }; }; }; if (_arg1 == "lev5_BunkerManTed03"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Hm, nice... "; } else { if (_arg1 == "lev5_BunkerManTed04"){ pic.gotoAndStop("bunkerManCloth"); txtName.text = "Technician:"; txtSpeech.text = "Thanks! "; }; }; if (_arg1 == "lev5_BunkerManTed05"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Now open the door."; } else { if (_arg1 == "lev5_BunkerManTed06"){ pic.gotoAndStop("bunkerManCloth"); txtName.text = "Technician:"; txtSpeech.text = "So... the password... A-N-E-G-M-E-T-E-X... done!"; } else { if (_arg1 == "lev5_BunkerManTed07"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Better late than never."; } else { if (_arg1 == "lev5_TedRock"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Let's ROCK!"; }; }; }; }; if (_arg1 == "lev6_TedBigAss"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Get out, Big Ass!"; } else { if (_arg1 == "lev6_TedBarney01"){ pic.gotoAndStop("Barny"); txtName.text = "Barney:"; txtSpeech.text = "Holy shit, this is a human!"; } else { if (_arg1 == "lev6_TedBarney02"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Yeah, my name is Ted. Now, can we get out of here?"; } else { if (_arg1 == "lev6_TedBarney03"){ pic.gotoAndStop("Barny"); txtName.text = "Barney:"; txtSpeech.text = "I'm Barney. We can, but if you find a little bit of fuel. Also take this blaster. It's damn good!"; } else { if (_arg1 == "lev6_TedBarney04"){ pic.gotoAndStop("Barny"); txtName.text = "Barney:"; txtSpeech.text = "You got a fuel. OK, now we can go."; }; }; }; }; }; if (_arg1 == "lev7_TedBarney01"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Ammo is falling from the heaven!"; } else { if (_arg1 == "lev7_TedBarney02"){ pic.gotoAndStop("Barny"); txtName.text = "Barney:"; txtSpeech.text = "God bless us, Ted!"; } else { if (_arg1 == "lev7_TedBarney03"){ pic.gotoAndStop("Barny"); txtName.text = "Barney:"; txtSpeech.text = "What's the hell is that?!"; } else { if (_arg1 == "lev7_TedBarney04"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Die! Die! Die! "; } else { if (_arg1 == "lev7_TedBarney05"){ pic.gotoAndStop("Barny"); txtName.text = "Barney:"; txtSpeech.text = "You saved our asses! "; }; }; }; }; }; if (_arg1 == "lev8_TedCool"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Damn, I rule! "; } else { if (_arg1 == "lev8_BarneyLuck"){ pic.gotoAndStop("Barny"); txtName.text = "Barney:"; txtSpeech.text = "Good luck, Ted. "; }; }; if (_arg1 == "lev10_TedEvil"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "Alien Boss is very close. I feel it."; } else { if (_arg1 == "lev10_TedVoc"){ pic.gotoAndStop("Ted"); txtName.text = "Ted:"; txtSpeech.text = "It’s over. And I need a vacation right now..."; }; }; return (txtSpeech.text.length); } } }//package main
Section 46
//dialogIco (main.dialogIco) package main { import flash.display.*; import flash.geom.*; public dynamic class dialogIco extends MovieClip { public var bg:MovieClip; public var Excl:MovieClip; public function dialogIco(){ addFrameScript(0, frame1); } public function targetingObject(_arg1:MovieClip){ var _local2:Number = 2; var _local3:Point = _arg1.parent.localToGlobal(new Point((_arg1.x + (_arg1.width * 0.5)), _arg1.y)); var _local4:Rectangle = new Rectangle(_local3.x, _local3.y, _arg1.width, _arg1.height); var _local5:Rectangle = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local5.intersects(_local4)){ x = (_local3.x - (width * 0.5)); y = (_local3.y - height); if (bg){ bg.scaleX = 1; bg.scaleY = 1; }; Excl.y = 3.6; } else { if (_local3.y < (_local5.y + _local2)){ toTop(); y = (_local5.y + _local2); } else { if (_local3.y > ((_local5.y + stage.stageHeight) - _local2)){ toBottom(); y = (((_local5.y + stage.stageHeight) - _local2) - height); } else { y = (_local3.y - height); }; }; if (_local3.x < (_local5.x + _local2)){ toLeft(); x = (_local5.x + _local2); } else { if (_local3.x > ((_local5.x + stage.stageWidth) - _local2)){ toRight(); x = (((_local5.x + stage.stageWidth) - _local2) - width); } else { x = (_local3.x - (width * 0.5)); }; }; }; } public function toRight(){ if (bg){ bg.scaleX = -1; bg.scaleY = 1; }; Excl.y = 3.6; } public function toLeft(){ if (bg){ bg.scaleX = 1; bg.scaleY = 1; }; Excl.y = 3.6; } function frame1(){ stop(); } public function toBottom(){ if (bg){ bg.scaleX = 1; bg.scaleY = 1; }; Excl.y = 3.6; } public function toTop(){ if (bg){ bg.scaleX = 1; bg.scaleY = -1; }; Excl.y = 10.4; } } }//package main
Section 47
//DistortImage (main.DistortImage) package main { import flash.display.*; import flash.geom.*; public class DistortImage extends Sprite { private var _points:Array; private var _hseg:int; private var _texture:BitmapData; private var _iH:Number; private var _triangles:Array; private var _iW:Number; private var _smoothing:Boolean;// = false private var _vseg:int; public function DistortImage(_arg1:BitmapData, _arg2:int=0, _arg3:int=0, _arg4:Boolean=false){ _points = []; _triangles = []; super(); _texture = _arg1; _vseg = _arg3; _hseg = _arg2; _smoothing = _arg4; init(); } private function addTriangle(_arg1:GridPoint, _arg2:GridPoint, _arg3:GridPoint):void{ var _local4:Matrix = new Matrix(); _local4.tx = (-(_arg1.y) * (_texture.width / (_arg2.y - _arg1.y))); _local4.ty = (-(_arg1.x) * (_texture.height / (_arg3.x - _arg1.x))); _local4.b = (_texture.height / (_arg3.x - _arg1.x)); _local4.c = (_texture.width / (_arg2.y - _arg1.y)); _triangles.push(new GridTriangle(_arg1, _arg2, _arg3, _local4)); } private function init():void{ var _local1:int; var _local2:int; _iW = (1 / _texture.width); _iH = (1 / _texture.height); _points = []; _triangles = []; var _local3:Number = (_texture.width / (_hseg + 1)); var _local4:Number = (_texture.height / (_vseg + 1)); var _local5:int = (_hseg + 2); var _local6:int = (_vseg + 2); _local1 = 0; while (_local1 < _local5) { _local2 = 0; while (_local2 < _local6) { _points.push(new GridPoint((_local1 * _local3), (_local2 * _local4))); _local2++; }; _local1++; }; _local1 = 0; while (_local1 < (_local5 - 1)) { _local2 = 0; while (_local2 < (_local6 - 1)) { addTriangle(_points[(_local2 + (_local1 * _local6))], _points[((_local2 + (_local1 * _local6)) + 1)], _points[(_local2 + ((_local1 + 1) * _local6))]); addTriangle(_points[((_local2 + ((_local1 + 1) * _local6)) + 1)], _points[(_local2 + ((_local1 + 1) * _local6))], _points[((_local2 + (_local1 * _local6)) + 1)]); _local2++; }; _local1++; }; render(); } private function concat(_arg1:Matrix, _arg2:Matrix):Matrix{ var _local3:Matrix = new Matrix(); _local3.a = (_arg1.c * _arg2.b); _local3.b = (_arg1.d * _arg2.b); _local3.c = (_arg1.a * _arg2.c); _local3.d = (_arg1.b * _arg2.c); _local3.tx = (((_arg1.a * _arg2.tx) + (_arg1.c * _arg2.ty)) + _arg1.tx); _local3.ty = (((_arg1.b * _arg2.tx) + (_arg1.d * _arg2.ty)) + _arg1.ty); return (_local3); } private function render():void{ var _local3:GridTriangle; var _local4:GridPoint; var _local5:GridPoint; var _local6:GridPoint; var _local7:Number; var _local8:Number; var _local1:Matrix = new Matrix(); var _local2:Number = _triangles.length; graphics.clear(); while (--_local2 > -1) { _local3 = _triangles[_local2]; _local4 = _local3.p0; _local5 = _local3.p1; _local6 = _local3.p2; _local7 = _local4.sx; _local8 = _local4.sy; _local1.a = ((_local5.sx - _local7) * _iW); _local1.b = ((_local5.sy - _local8) * _iW); _local1.c = ((_local6.sx - _local7) * _iH); _local1.d = ((_local6.sy - _local8) * _iH); _local1.tx = _local7; _local1.ty = _local8; graphics.beginBitmapFill(_texture, concat(_local1, _local3.matrix), false, _smoothing); graphics.moveTo(_local7, _local8); graphics.lineTo(_local5.sx, _local5.sy); graphics.lineTo(_local6.sx, _local6.sy); graphics.endFill(); }; } public function get texture():BitmapData{ return (_texture); } public function set smoothing(_arg1:Boolean):void{ _smoothing = _arg1; } public function setTransform(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):void{ var _local14:GridPoint; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local9:Number = (_arg7 - _arg1); var _local10:Number = (_arg8 - _arg2); var _local11:Number = (_arg5 - _arg3); var _local12:Number = (_arg6 - _arg4); var _local13:int = _points.length; while (--_local13 > -1) { _local14 = _points[_local13]; _local15 = (_iW * _local14.x); _local16 = (_iH * _local14.y); _local17 = (_arg1 + (_local16 * _local9)); _local18 = (_arg2 + (_local16 * _local10)); _local14.sx = (_local17 + (_local15 * ((_arg3 + (_local16 * _local11)) - _local17))); _local14.sy = (_local18 + (_local15 * ((_arg4 + (_local16 * _local12)) - _local18))); }; render(); } public function get smoothing():Boolean{ return (_smoothing); } public function set texture(_arg1:BitmapData):void{ _texture = _arg1; init(); } public function setTransformByArray(_arg1:Array):void{ setTransform(_arg1[0].x, _arg1[0].y, _arg1[1].x, _arg1[1].y, _arg1[2].x, _arg1[2].y, _arg1[3].x, _arg1[3].y); } } }//package main import flash.geom.*; class GridTriangle { public var p0:GridPoint; public var p1:GridPoint; public var matrix:Matrix; public var p2:GridPoint; private function GridTriangle(_arg1:GridPoint, _arg2:GridPoint, _arg3:GridPoint, _arg4:Matrix){ this.p0 = _arg1; this.p1 = _arg2; this.p2 = _arg3; this.matrix = _arg4; } } class GridPoint { public var sx:Number; public var sy:Number; public var x:Number; public var y:Number; private function GridPoint(_arg1:Number=0, _arg2:Number=0){ this.x = _arg1; this.y = _arg2; this.sx = _arg1; this.sy = _arg2; } }
Section 48
//dropMedKit (main.dropMedKit) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class dropMedKit extends propObject { public function dropMedKit(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.propType = "Med"; this.moneyAmount = 40; } } }//package main
Section 49
//dynObject (main.dynObject) package main { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; public class dynObject extends baseObject { public var isRubber:Boolean;// = false public var gravityComp:Boolean;// = true var target:ageVector; public var Velocity:ageVector; public var rubberFactor:Number;// = 0.5 var curLevel:Level; public var useRotateSpeed:Boolean;// = false var isTargeting:Boolean;// = false public var RotTarget:ageVector; public var rotateSpeed:Number;// = 5 var isFlyMoveType:Boolean;// = false var fxFunc:Function; public var gravityFactor:Number;// = 1 public var notTargetRotate:Boolean;// = false var maxSpeed:ageVector; var stayTime:Number;// = 0 var speed:ageVector; public var CurPoint:ageVector; public var timerFXAdd:Timer; public var collisionEnable:Boolean;// = true public var rot:Number;// = 0 public var timerStayDelay:Timer; public var rotTargeted:Boolean;// = false public var VelocitySpd:Number;// = 3 public var gravityEnable:Boolean;// = true var speedFactor:Number;// = 1 var bottomLimiter:MovieClip;// = null public function dynObject(){ speed = new ageVector(0, 0); maxSpeed = new ageVector(14, 14); target = new ageVector(0, 0); Velocity = new ageVector(); RotTarget = new ageVector(); CurPoint = new ageVector(); timerStayDelay = new Timer(20); timerFXAdd = new Timer(20); super(); timerStayDelay.stop(); timerStayDelay.addEventListener(TimerEvent.TIMER, timerStayDelay_Timer, false, 0, true); timerFXAdd.stop(); timerFXAdd.addEventListener(TimerEvent.TIMER, timerFXAdd_Timer, false, 0, true); } public function setRotTarget(_arg1:Number, _arg2:Number):void{ RotTarget.x = _arg1; RotTarget.y = _arg2; } public function mulVelocity(_arg1:Number){ Velocity.mulScalar(_arg1); } public function clearDynObject(){ timerStayDelay.stop(); timerStayDelay.removeEventListener(TimerEvent.TIMER, timerStayDelay_Timer); timerFXAdd.stop(); timerFXAdd.removeEventListener(TimerEvent.TIMER, timerFXAdd_Timer); curLevel = null; bottomLimiter = null; fxFunc = null; clearAlphaFader(); } public function timerStayDelay_Timer(_arg1:TimerEvent):void{ if (((!(curLevel)) || (curLevel.paused))){ return; }; if (!visible){ timerStayDelay.stop(); timerStayDelay.removeEventListener(TimerEvent.TIMER, timerStayDelay_Timer); return; }; stayTime = (stayTime - 20); if (stayTime <= 0){ startFadeOut(); timerStayDelay.stop(); timerStayDelay.removeEventListener(TimerEvent.TIMER, timerStayDelay_Timer); }; } public function rotate():void{ var _local1:ageVector; var _local2:Number; var _local3:Point; var _local4:Number; rotation = (rotation + rot); if (!notTargetRotate){ _local3 = curLevel.globalToLocal(MovieClip(parent).localToGlobal(new Point(x, y))); _local1 = new ageVector((RotTarget.x - _local3.x), (RotTarget.y - _local3.y)); if ((parent as actorObject)){ if (actorObject(parent).scaleX < 0){ _local1.x = -(_local1.x); }; }; _local2 = ((_local1.getAngleDeg() - rotation) - 180); if (_local2 > 180){ _local2 = (_local2 - 360); } else { if (_local2 < -180){ _local2 = (_local2 + 360); }; }; rotTargeted = Boolean((Math.abs(_local2) <= rotateSpeed)); if (Math.abs(_local2) > 0){ _local4 = rotateSpeed; rotation = (rotation + ((Math.abs(_local2) > _local4)) ? ((_local2 > 0)) ? _local4 : -(_local4) : _local2); }; }; } public function setVelocity(_arg1:Number, _arg2:Number, _arg3:Number){ Velocity.set(_arg1, _arg2); Velocity.mulScalar((_arg3 / Velocity.len())); } public function move():void{ x = (x + Velocity.x); y = (y + Velocity.y); } public function calcGlobalPos(){ } public function setRotToVelocity():void{ setRotTarget(((Velocity.x * 6) + x), ((Velocity.y * 6) + y)); } public function updateDynObj():void{ if (!isFlyMoveType){ move(); } else { actorObject(this).moveFlyLike(); }; } public function timerFXAdd_Timer(_arg1:TimerEvent):void{ if (mainGlobal.configVfxOn){ fxFunc(x, y); }; } } }//package main
Section 50
//ElectroWave (main.ElectroWave) package main { import flash.media.*; public dynamic class ElectroWave extends Sound { } }//package main
Section 51
//enginesFire (main.enginesFire) package main { public dynamic class enginesFire extends alphaFader { } }//package main
Section 52
//fader50perc (main.fader50perc) package main { public dynamic class fader50perc extends alphaFader { public function fader50perc(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package main
Section 53
//fader50percVis (main.fader50percVis) package main { public dynamic class fader50percVis extends alphaFader { } }//package main
Section 54
//FatalDamage (main.FatalDamage) package main { import flash.media.*; public dynamic class FatalDamage extends Sound { } }//package main
Section 55
//FSM (main.FSM) package main { public dynamic class FSM extends FSM_Actions { var curAIClass:String;// = "" var curState:String;// = "idle" var transTable:Array; public function FSM(_arg1:actorObject, _arg2:String){ transTable = new Array(); super(); actor = _arg1; curAIClass = _arg2; if (_arg2 == "Zombie"){ transTable.push(new FSMTrans("die", "timer", "die", Zomb_procDie)); transTable.push(new FSMTrans("idle", "timer", "idle", Zomb_procIdle)); transTable.push(new FSMTrans("idle", "killed", "die", Zomb_beginDie)); transTable.push(new FSMTrans("idle", "findEnemy", "moveToEnemy", Zomb_beginMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "timer", "moveToEnemy", Zomb_procMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "killed", "die", Zomb_beginDie)); transTable.push(new FSMTrans("moveToEnemy", "canAttack", "attack", Zomb_beginAttack)); transTable.push(new FSMTrans("moveToEnemy", "lostEnemy", "idle", Zomb_beginIdle)); transTable.push(new FSMTrans("attack", "timer", "attack", Zomb_procAttack)); transTable.push(new FSMTrans("attack", "attackHit", "attack", Zomb_attackHit)); transTable.push(new FSMTrans("attack", "firstAttackEnd", "attack", Zomb_firstAttackEnd)); transTable.push(new FSMTrans("attack", "killed", "die", Zomb_beginDie)); transTable.push(new FSMTrans("attack", "farToAttack", "moveToEnemy", Zomb_beginMoveToEnemy)); transTable.push(new FSMTrans("attack", "lostEnemy", "idle", Zomb_beginIdle)); } else { if (_arg2 == "AlienSaw"){ transTable.push(new FSMTrans("die", "timer", "die", AlienSaw_procDie)); transTable.push(new FSMTrans("idle", "timer", "idle", AlienSaw_procIdle)); transTable.push(new FSMTrans("idle", "killed", "die", AlienSaw_beginDie)); transTable.push(new FSMTrans("idle", "findEnemy", "moveToEnemy", AlienSaw_beginMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "timer", "moveToEnemy", AlienSaw_procMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "attackHit", "moveToEnemy", AlienSaw_attackHit)); transTable.push(new FSMTrans("moveToEnemy", "lostEnemy", "idle", AlienSaw_beginIdle)); transTable.push(new FSMTrans("moveToEnemy", "targetReached", "moveToEnemy", AlienSaw_changeTarget)); transTable.push(new FSMTrans("moveToEnemy", "killed", "die", AlienSaw_beginDie)); } else { if (_arg2 == "AlienHunter"){ transTable.push(new FSMTrans("die", "timer", "die", AlienHunter_procDie)); transTable.push(new FSMTrans("idle", "timer", "idle", AlienHunter_procIdle)); transTable.push(new FSMTrans("idle", "killed", "die", AlienHunter_beginDie)); transTable.push(new FSMTrans("idle", "findEnemy", "moveToEnemy", AlienHunter_beginMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "timer", "moveToEnemy", AlienHunter_procMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "killed", "die", AlienHunter_beginDie)); transTable.push(new FSMTrans("moveToEnemy", "lostEnemy", "idle", AlienHunter_beginIdle)); transTable.push(new FSMTrans("moveToEnemy", "targetReached", "moveToEnemy", AlienHunter_changeTarget)); } else { if (_arg2 == "AlienBigBoss"){ transTable.push(new FSMTrans("die", "timer", "die", AlienBigBoss_procDie)); transTable.push(new FSMTrans("idle", "timer", "idle", AlienBigBoss_procIdle)); transTable.push(new FSMTrans("idle", "killed", "die", AlienBigBoss_beginDie)); transTable.push(new FSMTrans("idle", "findEnemy", "moveToEnemy", AlienBigBoss_beginMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "timer", "moveToEnemy", AlienBigBoss_procMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "killed", "die", AlienBigBoss_beginDie)); transTable.push(new FSMTrans("moveToEnemy", "lostEnemy", "idle", AlienBigBoss_beginIdle)); transTable.push(new FSMTrans("moveToEnemy", "targetReached", "moveToEnemy", AlienBigBoss_changeTarget)); } else { if (_arg2 == "AlienPredator"){ transTable.push(new FSMTrans("die", "timer", "die", AlienPredator_procDie)); transTable.push(new FSMTrans("idle", "timer", "idle", AlienPredator_procIdle)); transTable.push(new FSMTrans("idle", "killed", "die", AlienPredator_beginDie)); transTable.push(new FSMTrans("idle", "findEnemy", "moveToEnemy", AlienPredator_beginMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "timer", "moveToEnemy", AlienPredator_procMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "killed", "die", AlienPredator_beginDie)); transTable.push(new FSMTrans("moveToEnemy", "lostEnemy", "idle", AlienPredator_beginIdle)); transTable.push(new FSMTrans("moveToEnemy", "targetReached", "moveToEnemy", AlienPredator_changeTarget)); } else { if (_arg2 == "AlienElectro"){ transTable.push(new FSMTrans("die", "timer", "die", AlienElectro_procDie)); transTable.push(new FSMTrans("idle", "timer", "idle", AlienElectro_procIdle)); transTable.push(new FSMTrans("idle", "killed", "die", AlienElectro_beginDie)); transTable.push(new FSMTrans("idle", "findEnemy", "moveToEnemy", AlienElectro_beginMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "timer", "moveToEnemy", AlienElectro_procMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "killed", "die", AlienElectro_beginDie)); transTable.push(new FSMTrans("moveToEnemy", "lostEnemy", "idle", AlienElectro_beginIdle)); transTable.push(new FSMTrans("moveToEnemy", "targetReached", "moveToEnemy", AlienElectro_changeTarget)); } else { if (_arg2 == "AlienSeeder"){ transTable.push(new FSMTrans("die", "timer", "die", AlienSeeder_procDie)); transTable.push(new FSMTrans("idle", "timer", "idle", AlienSeeder_procIdle)); transTable.push(new FSMTrans("idle", "killed", "die", AlienSeeder_beginDie)); transTable.push(new FSMTrans("idle", "findEnemy", "moveToEnemy", AlienSeeder_beginMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "timer", "moveToEnemy", AlienSeeder_procMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "killed", "die", AlienSeeder_beginDie)); transTable.push(new FSMTrans("moveToEnemy", "startSeed", "seed", AlienSeeder_beginSeed)); transTable.push(new FSMTrans("moveToEnemy", "lostEnemy", "idle", AlienSeeder_beginIdle)); transTable.push(new FSMTrans("moveToEnemy", "targetReached", "moveToEnemy", AlienSeeder_changeTarget)); transTable.push(new FSMTrans("moveToEnemy", "killed", "die", AlienSeeder_beginDie)); transTable.push(new FSMTrans("seed", "timer", "seed", AlienSeeder_procSeed)); transTable.push(new FSMTrans("seed", "killed", "die", AlienSeeder_beginDie)); transTable.push(new FSMTrans("seed", "endSeed", "moveToEnemy", AlienSeeder_beginMoveToEnemy)); } else { if (_arg2 == "Turrel"){ transTable.push(new FSMTrans("die", "timer", "die", Turrel_procDie)); transTable.push(new FSMTrans("idle", "timer", "idle", Turrel_procIdle)); transTable.push(new FSMTrans("idle", "killed", "die", Turrel_beginDie)); transTable.push(new FSMTrans("idle", "findEnemy", "attack", Turrel_beginAttack)); transTable.push(new FSMTrans("attack", "timer", "attack", Turrel_procAttack)); transTable.push(new FSMTrans("attack", "killed", "die", Turrel_beginDie)); } else { if (_arg2 == "Bomb"){ transTable.push(new FSMTrans("die", "timer", "die", Bomb_procDie)); transTable.push(new FSMTrans("idle", "timer", "idle", Bomb_procIdle)); transTable.push(new FSMTrans("idle", "killed", "die", Bomb_beginDie)); transTable.push(new FSMTrans("idle", "findEnemy", "attack", Bomb_beginAttack)); transTable.push(new FSMTrans("attack", "timer", "attack", Bomb_procAttack)); transTable.push(new FSMTrans("attack", "killed", "die", Bomb_beginDie)); } else { if (_arg2 == "AlienSolder"){ transTable.push(new FSMTrans("die", "timer", "die", AlienSolder_procDie)); transTable.push(new FSMTrans("idle", "timer", "idle", AlienSolder_procIdle)); transTable.push(new FSMTrans("idle", "killed", "die", AlienSolder_beginDie)); transTable.push(new FSMTrans("idle", "findEnemy", "moveToEnemy", AlienSolder_beginMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "timer", "moveToEnemy", AlienSolder_procMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "killed", "die", AlienSolder_beginDie)); transTable.push(new FSMTrans("moveToEnemy", "canAttack", "attack", AlienSolder_beginAttack)); transTable.push(new FSMTrans("moveToEnemy", "lostEnemy", "idle", AlienSolder_beginIdle)); transTable.push(new FSMTrans("moveToEnemy", "targetReached", "moveToEnemy", AlienSolder_changeTarget)); transTable.push(new FSMTrans("attack", "timer", "attack", AlienSolder_procAttack)); transTable.push(new FSMTrans("attack", "killed", "die", AlienSolder_beginDie)); transTable.push(new FSMTrans("attack", "farToAttack", "moveToEnemy", AlienSolder_beginMoveToEnemy)); transTable.push(new FSMTrans("attack", "lostEnemy", "idle", AlienSolder_beginIdle)); } else { if (_arg2 == "AlienBomber"){ transTable.push(new FSMTrans("die", "timer", "die", AlienBomber_procDie)); transTable.push(new FSMTrans("idle", "timer", "idle", AlienBomber_procIdle)); transTable.push(new FSMTrans("idle", "killed", "die", AlienBomber_beginDie)); transTable.push(new FSMTrans("idle", "findEnemy", "moveToEnemy", AlienBomber_beginMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "timer", "moveToEnemy", AlienBomber_procMoveToEnemy)); transTable.push(new FSMTrans("moveToEnemy", "killed", "die", AlienBomber_beginDie)); transTable.push(new FSMTrans("moveToEnemy", "lostEnemy", "idle", AlienBomber_beginIdle)); transTable.push(new FSMTrans("moveToEnemy", "targetReached", "moveToEnemy", AlienBomber_changeTarget)); } else { if (_arg2 == "TurrelBomb"){ transTable.push(new FSMTrans("die", "timer", "die", TurrelBomb_procDie)); transTable.push(new FSMTrans("idle", "timer", "idle", TurrelBomb_procIdle)); transTable.push(new FSMTrans("idle", "killed", "die", TurrelBomb_beginDie)); transTable.push(new FSMTrans("idle", "findEnemy", "attack", TurrelBomb_beginAttack)); transTable.push(new FSMTrans("attack", "timer", "attack", TurrelBomb_procAttack)); transTable.push(new FSMTrans("attack", "killed", "die", TurrelBomb_beginDie)); }; }; }; }; }; }; }; }; }; }; }; }; } public function postEvent(_arg1:String, _arg2:Array=null):void{ var _local3:int; _local3 = 0; while (_local3 < transTable.length) { if ((((curState == transTable[_local3].stateFrom)) && ((_arg1 == transTable[_local3].curEvent)))){ curState = transTable[_local3].stateTo; transTable[_local3].execFunc(_arg2); break; }; _local3++; }; } } }//package main
Section 56
//FSM_Actions (main.FSM_Actions) package main { import flash.display.*; import flash.geom.*; public dynamic class FSM_Actions { var actor:actorObject; public function AlienBigBoss_procDie(_arg1:Array=null){ } public function AlienSeeder_endMoveToEnemy(_arg1:Array=null){ } public function AlienSaw_beginDie(_arg1:Array=null){ var _local2:uint; actor.dead = true; actor.curLevel.addFX_littleBlast(actor.x, (actor.y - 15), 1.8); actor.curLevel.addFX_littleSmoke(actor.x, (actor.y - 25), 2); sounds.PlaySnd("bombExp", 1.5, actor, actor.stage); actor.visible = false; if (mainGlobal.configDebrisOn){ _local2 = 0; _local2 = 0; while (_local2 < 3) { actor.curLevel.addProp_Debris(actor.x, actor.y); _local2++; }; actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienSawDebris1"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienSawDebris2"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienSawDebris3"); }; actor.curLevel.addProp_Money1(actor.x, actor.y); } public function AlienBigBoss_beginIdle(_arg1:Array=null){ } public function AlienPredator_procMoveToEnemy(_arg1:Array=null){ var _local2:Point; var _local3:projObject; if ((((actor.x > actor.curLevel["levelLeftSeed"].x)) || (!((actor.rLeg.currentFrame == 36))))){ actor.x = (actor.x - actor.maxSpeed.x); } else { actor.rLeg.stop(); actor.lLeg.stop(); }; if (!actor.timerBulletDelay.running){ _local2 = actor.curLevel.globalToLocal(actor.localToGlobal(new Point(actor.pointShoot.x, actor.pointShoot.y))); actor.curLevel.addBlasterProj(_local2.x, _local2.y, (actor.curLevel.hero.x - 800), actor.curLevel.hero.y, actor.weapons[0]); actor.curLevel.addBlasterProj(_local2.x, _local2.y, (actor.curLevel.hero.x - 200), actor.curLevel.hero.y, actor.weapons[0]); actor.curLevel.addBlasterProj(_local2.x, _local2.y, actor.curLevel.hero.x, actor.curLevel.hero.y, actor.weapons[0]); actor.timerBulletDelay.start(); }; if (!actor.timerBulletDelay2.running){ _local2 = actor.curLevel.globalToLocal(actor.localToGlobal(new Point(actor.pointShoot.x, actor.pointShoot.y))); actor.curLevel.addProj_BombWep(_local2.x, _local2.y, (actor.curLevel.hero.x - ageMath.Random(100, 800)), actor.curLevel.hero.y, actor.weapons[1]); actor.timerBulletDelay2.start(); }; if (actor.damageArea.hitTestObject(actor.curLevel.hero)){ actor.curLevel.hero.x = (actor.x - (actor.width / 2)); _local3 = new projObject(); _local3.damage = 5; _local3.x = actor.curLevel.hero.x; _local3.y = (actor.curLevel.hero.y - (actor.curLevel.hero.height / 2)); actor.curLevel.hero.transmitDamage(_local3); Game(actor.curLevel.parent).gameGUI.painFrame.startFadeOut(); }; } public function AlienSaw_procMoveToEnemy(_arg1:Array=null){ if (actor.distToEnemy <= actor.attackRadius){ actor.fsmAI.postEvent("canAttack"); }; if ((((actor.distToEnemy > actor.seeRadius)) && (!(actor.alwaysSeeEnemy)))){ actor.fsmAI.postEvent("lostEnemy"); }; actor.updateDynObj(); } public function AlienElectro_changeTarget(_arg1:Array=null){ actor.setTarget(new ageVector(ageMath.Random((actor.curLevel.hero.x - 200), (actor.curLevel.hero.x + 200)), ageMath.Random((actor.curLevel.hero.y - 300), (actor.curLevel.hero.y - 200)))); } public function Zomb_beginDie(_arg1:Array=null){ actor.gotoAndStop("die"); actor.dead = true; if (actor.noArmsShootCnt == 3){ actor.curLevel.addProp_Money2(actor.x, actor.y); } else { actor.curLevel.addProp_Coin(actor.x, actor.y); }; } public function AlienHunter_procDie(_arg1:Array=null){ } public function Turrel_procDie(_arg1:Array=null){ } public function Zomb_endMoveToEnemy(_arg1:Array=null){ } public function AlienHunter_endIdle(_arg1:Array=null){ } public function Turrel_endIdle(_arg1:Array=null){ } public function AlienHunter_endMoveToEnemy(_arg1:Array=null){ } public function AlienSolder_procDie(_arg1:Array=null){ } public function AlienBomber_beginMoveToEnemy(_arg1:Array=null){ } public function AlienElectro_endMoveToEnemy(_arg1:Array=null){ } public function AlienBigBoss_endDie(_arg1:Array=null){ } public function AlienSolder_endIdle(_arg1:Array=null){ } public function AlienSeeder_endSeed(_arg1:Array=null){ } public function AlienBomber_procIdle(_arg1:Array=null){ if ((((actor.distToEnemy <= actor.seeRadius)) || (actor.alwaysSeeEnemy))){ actor.fsmAI.postEvent("findEnemy"); actor.setTarget(new ageVector(ageMath.Random((actor.curLevel.hero.x - 200), (actor.curLevel.hero.x + 200)), ageMath.Random((actor.curLevel.hero.y - 300), (actor.curLevel.hero.y - 200)))); }; } public function TurrelBomb_procIdle(_arg1:Array=null){ if (actor.distToEnemy <= actor.seeRadius){ }; } public function Bomb_procIdle(_arg1:Array=null){ if (actor.distToEnemy <= actor.seeRadius){ actor.fsmAI.postEvent("findEnemy"); }; } public function AlienBigBoss_changeTarget(_arg1:Array=null){ actor.setTarget(new ageVector(ageMath.Random((actor.curLevel.hero.x - 200), (actor.curLevel.hero.x + 200)), ageMath.Random((actor.curLevel.hero.y - 300), (actor.curLevel.hero.y - 200)))); } public function Bomb_beginDie(_arg1:Array=null){ actor.dead = true; var _local2:projObject = new projObject(); _local2.x = actor.x; _local2.y = actor.y; _local2.attackRadius = actor.attackRadius; _local2.damage = actor.damagePerHit; actor.curLevel.addExplotion(_local2, actor); actor.curLevel.addFX_littleBlast(actor.x, (actor.y - 15)); actor.curLevel.addFX_littleSmoke(actor.x, (actor.y - 25)); if (mainGlobal.configDebrisOn){ actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienBombDebris1"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienBombDebris2"); }; sounds.PlaySnd("bombExp", 1.5, actor, actor.stage); actor.visible = false; actor.anim.stop(); } public function AlienSaw_procIdle(_arg1:Array=null){ if ((((actor.distToEnemy <= actor.seeRadius)) || (actor.alwaysSeeEnemy))){ actor.fsmAI.postEvent("findEnemy"); actor.setTarget(new ageVector((actor.curLevel.hero.x + ageMath.Random(-10, 10)), ((actor.curLevel.hero.y - (actor.curLevel.hero.height / 2)) + ageMath.Random(-10, 10)))); }; } public function AlienSaw_beginMoveToEnemy(_arg1:Array=null){ } public function AlienBigBoss_procMoveToEnemy(_arg1:Array=null){ var _local5:Number; var _local6:int; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:ageVector; var _local13:projObject; var _local14:ageVector; var _local15:Point; var _local2:Point = new Point(actor.x, actor.y); var _local3:ageVector = new ageVector((actor.curLevel.hero.x - _local2.x), (actor.curLevel.hero.y - _local2.y)); var _local4:Number = (_local3.getAngleDeg() - actor.anim.rotation); if (_local4 > 180){ _local4 = (_local4 - 360); } else { if (_local4 < -180){ _local4 = (_local4 + 360); }; }; if (Math.abs(_local4) > 0){ _local5 = 0.6; actor.anim.rotation = (actor.anim.rotation + ((Math.abs(_local4) > _local5)) ? ((_local4 > 0)) ? _local5 : -(_local5) : _local4); }; if ((((actor.anim.currentFrame == 1)) && ((actor.life < (actor.lifeMax / 3))))){ actor.vChild.visible = true; actor.vChild2.visible = false; actor.anim.gotoAndStop(2); actor.curLevel["seeder1"].alwaysSeeEnemy = true; actor.curLevel.addFX_littleBlast(actor.x, actor.y, 3); actor.curLevel.addFX_littleSmoke(actor.x, actor.y, 4); sounds.PlaySnd("bombExp", 1.5, actor, actor.stage); musicEnv.fadeTo("roboAttack"); sounds.PlaySnd("bigExp", 10, actor, actor.stage); sounds.PlaySnd("midExp", 10, actor, actor.stage); sounds.PlaySnd("bombExp", 10, actor, actor.stage); if (mainGlobal.configDebrisOn){ _local6 = 0; _local6 = 0; while (_local6 < 35) { actor.curLevel.addProp_Debris(actor.x, actor.y); _local6++; }; }; }; if (actor.anim.currentFrame == 2){ actor.vChildTime++; if (actor.vChildTime > 35){ actor.vChildTime = 0; actor.vChildPos++; if (actor.vChildPos > 7){ actor.vChildPos = 0; }; }; _local7 = 400; _local8 = 0; _local9 = (Math.PI / 4); _local10 = ((_local7 * Math.cos((_local9 * actor.vChildPos))) - (_local8 * Math.sin((_local9 * actor.vChildPos)))); _local11 = ((_local8 * Math.cos((_local9 * actor.vChildPos))) + (_local7 * Math.sin((_local9 * actor.vChildPos)))); actor.vChild.rotation = 90; actor.vChild.width = _local7; actor.vChild.rotation = (90 + (actor.vChildPos * 45)); _local12 = ageMath.getLineCrossRect(actor.x, actor.y, (actor.x + _local10), (actor.y + _local11), (actor.curLevel.hero.x - (actor.curLevel.hero.width / 2)), (actor.curLevel.hero.y - actor.curLevel.hero.height), (actor.curLevel.hero.x + (actor.curLevel.hero.width / 2)), actor.curLevel.hero.y); if (((_local12) && ((actor.curLevel.hero.electroCurLevel < 25)))){ actor.curLevel.hero.addElectroDamage(0.8); }; } else { actor.vChildTime++; if (actor.vChildTime > 35){ actor.vChildTime = 0; actor.vChildPos++; if (actor.vChildPos == 1){ sounds.PlaySnd("LasergunShoot1", 10, actor, actor.stage); }; if (actor.vChildPos > 2){ actor.vChildPos = 0; }; if (actor.vChildPos == 0){ actor.vChild2.visible = false; } else { actor.vChild2.visible = true; }; }; _local7 = 700; _local8 = 0; _local9 = ((actor.anim.rotation * Math.PI) / 180); _local10 = ((_local7 * Math.cos((_local9 * actor.vChildPos))) - (_local8 * Math.sin((_local9 * actor.vChildPos)))); _local11 = ((_local8 * Math.cos((_local9 * actor.vChildPos))) + (_local7 * Math.sin((_local9 * actor.vChildPos)))); actor.vChild2.rotation = 90; actor.vChild2.width = _local7; actor.vChild2.rotation = (actor.anim.rotation + 90); _local12 = ageMath.getLineCrossRect(actor.x, actor.y, (actor.x + _local10), (actor.y + _local11), (actor.curLevel.hero.x - (actor.curLevel.hero.width / 2)), (actor.curLevel.hero.y - actor.curLevel.hero.height), (actor.curLevel.hero.x + (actor.curLevel.hero.width / 2)), actor.curLevel.hero.y); if (((_local12) && ((actor.vChild2.visible == true)))){ _local13 = new projObject(); _local13.damage = 0.8; _local13.x = actor.curLevel.hero.x; _local13.y = (actor.curLevel.hero.y - (actor.curLevel.hero.height / 2)); actor.curLevel.hero.transmitDamage(_local13); Game(actor.curLevel.parent).gameGUI.painFrame.startFadeOut(); }; }; if (!actor.timerBulletDelay.running){ _local14 = new ageVector(30, 0); _local14.rotDeg(actor.anim.rotation); _local15 = actor.curLevel.globalToLocal(actor.anim.localToGlobal(new Point(actor.anim.pointShoot.x, actor.anim.pointShoot.y))); actor.curLevel.addBlasterProj(_local15.x, _local15.y, (_local14.x + _local15.x), (_local14.y + _local15.y), actor.weapons[0]); sounds.PlaySnd("BlasterShoot1", 10, actor, actor.stage); _local14.x = 30; _local14.y = 0; _local14.rotDeg((actor.anim.rotation - 30)); actor.curLevel.addBlasterProj(_local15.x, _local15.y, (_local14.x + _local15.x), (_local14.y + _local15.y), actor.weapons[0]); _local14.x = 30; _local14.y = 0; _local14.rotDeg((actor.anim.rotation + 30)); actor.curLevel.addBlasterProj(_local15.x, _local15.y, (_local14.x + _local15.x), (_local14.y + _local15.y), actor.weapons[0]); _local14.x = 30; _local14.y = 0; _local14.rotDeg((actor.anim.rotation - 45)); actor.curLevel.addBlasterProj(_local15.x, _local15.y, (_local14.x + _local15.x), (_local14.y + _local15.y), actor.weapons[0]); _local14.x = 30; _local14.y = 0; _local14.rotDeg((actor.anim.rotation + 45)); actor.curLevel.addBlasterProj(_local15.x, _local15.y, (_local14.x + _local15.x), (_local14.y + _local15.y), actor.weapons[0]); actor.timerBulletDelay.start(); }; if (!actor.timerBulletDelay2.running){ _local14 = new ageVector(30, 0); _local14.rotDeg(actor.anim.rotation); _local15 = actor.curLevel.globalToLocal(actor.anim.localToGlobal(new Point(actor.anim.pointShoot.x, actor.anim.pointShoot.y))); actor.curLevel.addProj_Psy(_local15.x, _local15.y, (_local14.x + _local15.x), (_local14.y + _local15.y), actor.weapons[0]); _local14.x = 30; _local14.y = 0; _local14.rotDeg((actor.anim.rotation + 45)); actor.curLevel.addProj_Psy(_local15.x, _local15.y, (_local14.x + _local15.x), (_local14.y + _local15.y), actor.weapons[0]); _local14.x = 30; _local14.y = 0; _local14.rotDeg((actor.anim.rotation + 90)); actor.curLevel.addProj_Psy(_local15.x, _local15.y, (_local14.x + _local15.x), (_local14.y + _local15.y), actor.weapons[0]); _local14.x = 30; _local14.y = 0; _local14.rotDeg((actor.anim.rotation + 135)); actor.curLevel.addProj_Psy(_local15.x, _local15.y, (_local14.x + _local15.x), (_local14.y + _local15.y), actor.weapons[0]); _local14.x = 30; _local14.y = 0; _local14.rotDeg((actor.anim.rotation + 180)); actor.curLevel.addProj_Psy(_local15.x, _local15.y, (_local14.x + _local15.x), (_local14.y + _local15.y), actor.weapons[0]); _local14.x = 30; _local14.y = 0; _local14.rotDeg((actor.anim.rotation + 225)); actor.curLevel.addProj_Psy(_local15.x, _local15.y, (_local14.x + _local15.x), (_local14.y + _local15.y), actor.weapons[0]); _local14.x = 30; _local14.y = 0; _local14.rotDeg((actor.anim.rotation + 270)); actor.curLevel.addProj_Psy(_local15.x, _local15.y, (_local14.x + _local15.x), (_local14.y + _local15.y), actor.weapons[0]); _local14.x = 30; _local14.y = 0; _local14.rotDeg((actor.anim.rotation + 315)); actor.curLevel.addProj_Psy(_local15.x, _local15.y, (_local14.x + _local15.x), (_local14.y + _local15.y), actor.weapons[0]); actor.timerBulletDelay2.start(); }; actor.updateDynObj(); } public function AlienSolder_changeTarget(_arg1:Array=null){ } public function Zomb_beginAttack(_arg1:Array=null){ if (!actor.diffAttack){ actor.gotoAndStop("attack"); } else { actor.gotoAndStop(("attack" + ageMath.RandomInt(1, actor.diffAttackCount))); }; actor.firstAttack = true; } public function Zomb_procIdle(_arg1:Array=null){ if (actor.currentLabel != "stand"){ actor.gotoAndStop("stand"); }; if (actor.distToEnemy <= actor.seeRadius){ actor.fsmAI.postEvent("findEnemy"); }; } public function AlienPredator_changeTarget(_arg1:Array=null){ } public function AlienPredator_endDie(_arg1:Array=null){ } public function Zomb_beginMoveToEnemy(_arg1:Array=null){ actor.gotoAndStop("walk"); } public function AlienHunter_procMoveToEnemy(_arg1:Array=null){ if (actor.distToEnemy <= actor.attackRadius){ actor.fsmAI.postEvent("canAttack"); }; if ((((actor.distToEnemy > actor.seeRadius)) && (!(actor.alwaysSeeEnemy)))){ actor.fsmAI.postEvent("lostEnemy"); }; if (actor.speed.x > 0){ actor.LEngFire.startFadeIn(); actor.REngFire.startFadeOut(); } else { actor.LEngFire.startFadeOut(); actor.REngFire.startFadeIn(); }; if (actor.speed.y < 2){ actor.BEngFire1.startFadeIn(); actor.BEngFire2.startFadeIn(); } else { actor.BEngFire1.startFadeOut(); actor.BEngFire2.startFadeOut(); }; actor.updateDynObj(); } public function AlienHunter_beginDie(_arg1:Array=null){ var _local2:int; actor.dead = true; actor.curLevel.addFX_littleBlast(actor.x, (actor.y - 15), 1.8); actor.curLevel.addFX_littleSmoke(actor.x, (actor.y - 25), 2); sounds.PlaySnd("midExp", 10, actor, actor.stage); sounds.PlaySnd("bombExp", 10, actor, actor.stage); if (MovieClip(actor).blaster){ if (MovieClip(actor).blaster.visible == true){ MovieClip(actor).blaster.fsmAI.postEvent("killed"); }; }; actor.visible = false; if (mainGlobal.configDebrisOn){ _local2 = 0; _local2 = 0; while (_local2 < 15) { actor.curLevel.addProp_Debris(actor.x, actor.y); _local2++; }; actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienHunterDebris1"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienHunterDebris2"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienHunterDebris3"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienHunterDebris4"); }; actor.curLevel.addProp_Money1(actor.x, actor.y); actor.curLevel.addProp_Money1(actor.x, actor.y); actor.curLevel.addProp_Money1(actor.x, actor.y); } public function AlienBigBoss_beginDie(_arg1:Array=null){ var _local2:int; actor.dead = true; actor.curLevel.addFX_littleBlast(actor.x, (actor.y - 15), 1.8); actor.curLevel.addFX_littleSmoke(actor.x, (actor.y - 25), 2); sounds.PlaySnd("bombExp", 10, actor, actor.stage); sounds.PlaySnd("bigExp", 10, actor, actor.stage); sounds.PlaySnd("midExp", 10, actor, actor.stage); actor.visible = false; if (mainGlobal.configDebrisOn){ _local2 = 0; _local2 = 0; while (_local2 < 35) { actor.curLevel.addProp_Debris(actor.x, actor.y); _local2++; }; actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienBigBossDebris1"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienBigBossDebris2"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienBigBossDebris3"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienBigBossDebris4"); }; } public function Bomb_beginAttack(_arg1:Array=null){ actor.anim.play(); } public function AlienSolder_procMoveToEnemy(_arg1:Array=null){ var _local3:Number; if (((!(actor.jump)) && ((actor.distToEnemy <= actor.attackRadius)))){ actor.fsmAI.postEvent("canAttack"); return; }; if (actor.distToEnemy > actor.seeRadius){ actor.fsmAI.postEvent("lostEnemy"); return; }; var _local2:ageVector = new ageVector(actor.curLevel.hero.x, (actor.curLevel.hero.y - (actor.curLevel.hero.height / 2))); if (_local2.x > actor.x){ actor.scaleX = 1; } else { actor.scaleX = -1; }; if (_local2.x < actor.x){ _local3 = (actor.jump) ? (actor.speed.x * 0.8) : actor.speed.x; actor.x = (actor.x - _local3); } else { if (_local2.x > actor.x){ _local3 = (actor.jump) ? (actor.speed.x * 0.8) : actor.speed.x; actor.x = (actor.x + _local3); }; }; actor.updateActorParts(new ageVector(actor.curLevel.hero.x, (actor.curLevel.hero.y - (actor.curLevel.hero.height / 2)))); if (((!(actor.timerBulletDelay.running)) && (!(actor.timerReloadDelay.running)))){ actor.startShoot(new ageVector(actor.curLevel.hero.x, (actor.curLevel.hero.y - (actor.curLevel.hero.height / 2)))); }; actor.updateDynObj(); if (((ageMath.aproxEqual(actor.oldX, actor.x, (actor.speed.x / 4))) && (!(actor.jump)))){ actor.jump = true; actor.speed.y = actor.jumpSpeed; }; actor.updateRunJumpState(false); actor.oldX = actor.x; } public function AlienBigBoss_endMoveToEnemy(_arg1:Array=null){ } public function TurrelBomb_beginAttack(_arg1:Array=null){ } public function AlienSeeder_beginSeed(_arg1:Array=null){ actor.body.gotoAndPlay(2); } public function AlienBomber_procDie(_arg1:Array=null){ } public function AlienBomber_endIdle(_arg1:Array=null){ } public function AlienSolder_beginDie(_arg1:Array=null){ actor.dead = true; actor.head.visible = false; actor.arm1.visible = false; actor.arm2.visible = false; actor.curLevel.addProp_Money2(actor.x, actor.y); } public function AlienSeeder_procDie(_arg1:Array=null){ } public function AlienBomber_beginIdle(_arg1:Array=null){ } public function AlienSeeder_endIdle(_arg1:Array=null){ } public function AlienElectro_procDie(_arg1:Array=null){ } public function AlienPredator_beginDie(_arg1:Array=null){ var _local2:int; actor.dead = true; actor.visible = false; actor.rLeg.stop(); actor.lLeg.stop(); actor.curLevel.addFX_littleBlast(actor.x, (actor.y - 15), 1.8); actor.curLevel.addFX_littleSmoke(actor.x, (actor.y - 25), 2); sounds.PlaySnd("bombExp", 10, actor, actor.stage); if (mainGlobal.configDebrisOn){ _local2 = 0; _local2 = 0; while (_local2 < 35) { actor.curLevel.addProp_Debris(actor.x, actor.y); _local2++; }; }; actor.curLevel.addProp_Money2(actor.x, actor.y); actor.curLevel.addProp_Money2(actor.x, actor.y); actor.curLevel.addProp_Money2(actor.x, actor.y); actor.curLevel.addProp_Money2(actor.x, actor.y); } public function AlienElectro_endIdle(_arg1:Array=null){ } public function Turrel_beginDie(_arg1:Array=null){ var _local2:uint; var _local3:Point = actor.curLevel.globalToLocal(MovieClip(actor.parent).localToGlobal(new Point(actor.x, actor.y))); if (mainGlobal.configDebrisOn){ _local2 = 0; while (_local2 < 10) { actor.curLevel.addProp_Debris(_local3.x, _local3.y); _local2++; }; if (actor.actorType == "AlienHunterBlaster"){ actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienBlasterDebris1"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienBlasterDebris2"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienBlasterDebris3"); }; }; actor.dead = true; actor.curLevel.addFX_littleBlast((actor.x + MovieClip(actor.parent).x), ((actor.y - 15) + MovieClip(actor.parent).y)); actor.curLevel.addFX_littleSmoke((actor.x + MovieClip(actor.parent).x), ((actor.y - 25) + MovieClip(actor.parent).y)); sounds.PlaySnd("bombExp", 1.5, actor, actor.stage); actor.visible = false; actor.anim.stop(); } public function AlienSeeder_procSeed(_arg1:Array=null){ var _local2:Point; var _local3:String; actor.speed.mulScalar(0.9); if ((((actor.body.currentFrame == 100)) && (!(actor.alreadySeed)))){ actor.alreadySeed = true; _local2 = actor.curLevel.globalToLocal(actor.body.hatch.localToGlobal(new Point((actor.body.hatch.h1.x + (actor.body.hatch.h1.width * 0.5)), actor.body.hatch.h1.y))); _local3 = ("Zomb0" + ageMath.RandomInt(1, 5)); if (!ageMath.RandomInt(0, 1)){ _local3 = (_local3 + "Run"); } else { if (!ageMath.RandomInt(0, 1)){ _local3 = (_local3 + "Vomit"); }; }; actor.curLevel.addActorsArr.push(new addActorStruct(_local2.x, _local2.y, _local3, actor.curLevel.getChildIndex(actor))); _local2 = actor.curLevel.globalToLocal(actor.body.hatch.localToGlobal(new Point((actor.body.hatch.h2.x + (actor.body.hatch.h2.width * 0.5)), actor.body.hatch.h2.y))); _local3 = ("Zomb0" + ageMath.RandomInt(1, 5)); if (!ageMath.RandomInt(0, 1)){ _local3 = (_local3 + "Run"); } else { if (!ageMath.RandomInt(0, 1)){ _local3 = (_local3 + "Vomit"); }; }; actor.curLevel.addActorsArr.push(new addActorStruct(_local2.x, _local2.y, _local3, actor.curLevel.getChildIndex(actor))); _local2 = actor.curLevel.globalToLocal(actor.body.hatch.localToGlobal(new Point((actor.body.hatch.h3.x + (actor.body.hatch.h3.width * 0.5)), actor.body.hatch.h3.y))); _local3 = ("Zomb0" + ageMath.RandomInt(1, 5)); if (!ageMath.RandomInt(0, 1)){ _local3 = (_local3 + "Run"); } else { if (!ageMath.RandomInt(0, 1)){ _local3 = (_local3 + "Vomit"); }; }; actor.curLevel.addActorsArr.push(new addActorStruct(_local2.x, _local2.y, _local3, actor.curLevel.getChildIndex(actor))); _local2 = actor.curLevel.globalToLocal(actor.body.hatch.localToGlobal(new Point((actor.body.hatch.h4.x + (actor.body.hatch.h4.width * 0.5)), actor.body.hatch.h4.y))); _local3 = ("Zomb0" + ageMath.RandomInt(1, 5)); if (!ageMath.RandomInt(0, 1)){ _local3 = (_local3 + "Run"); } else { if (!ageMath.RandomInt(0, 1)){ _local3 = (_local3 + "Vomit"); }; }; actor.curLevel.addActorsArr.push(new addActorStruct(_local2.x, _local2.y, _local3, actor.curLevel.getChildIndex(actor))); actor.body.gotoAndPlay(101); } else { if (actor.body.currentFrame == 150){ actor.fsmAI.postEvent("endSeed"); actor.alreadySeed = false; actor.body.gotoAndStop(1); }; }; } public function AlienHunter_procIdle(_arg1:Array=null){ if ((((actor.distToEnemy <= actor.seeRadius)) || (actor.alwaysSeeEnemy))){ actor.fsmAI.postEvent("findEnemy"); actor.setTarget(new ageVector(ageMath.Random((actor.curLevel.hero.x - 200), (actor.curLevel.hero.x + 200)), ageMath.Random((actor.curLevel.hero.y - 300), (actor.curLevel.hero.y - 200)))); }; } public function AlienBigBoss_procIdle(_arg1:Array=null){ if ((((actor.distToEnemy <= actor.seeRadius)) || (actor.alwaysSeeEnemy))){ actor.fsmAI.postEvent("findEnemy"); actor.setTarget(new ageVector(ageMath.Random((actor.curLevel.hero.x - 200), (actor.curLevel.hero.x + 200)), ageMath.Random((actor.curLevel.hero.y - 200), (actor.curLevel.hero.y + 200)))); }; } public function AlienPredator_endMoveToEnemy(_arg1:Array=null){ } public function AlienHunter_beginMoveToEnemy(_arg1:Array=null){ } public function Turrel_endAttack(_arg1:Array=null){ } public function AlienSolder_endAttack(_arg1:Array=null){ } public function AlienHunter_changeTarget(_arg1:Array=null){ actor.setTarget(new ageVector(ageMath.Random((actor.curLevel.hero.x - 200), (actor.curLevel.hero.x + 200)), ageMath.Random((actor.curLevel.hero.y - 300), (actor.curLevel.hero.y - 200)))); } public function Turrel_beginAttack(_arg1:Array=null){ } public function AlienBigBoss_beginMoveToEnemy(_arg1:Array=null){ } public function AlienBomber_procMoveToEnemy(_arg1:Array=null){ var _local2:Point; if (actor.distToEnemy <= actor.attackRadius){ actor.fsmAI.postEvent("canAttack"); }; if ((((actor.distToEnemy > actor.seeRadius)) && (!(actor.alwaysSeeEnemy)))){ actor.fsmAI.postEvent("lostEnemy"); }; if (!actor.timerBulletDelay.running){ _local2 = actor.curLevel.globalToLocal(actor.localToGlobal(new Point(actor.pointShoot.x, actor.pointShoot.y))); actor.curLevel.addProj_BombWep(_local2.x, _local2.y, _local2.x, (_local2.y + 25), actor.weapons[0]); actor.timerBulletDelay.start(); }; if (actor.speed.x > 0){ actor.LEngFire.startFadeIn(); actor.REngFire.startFadeOut(); } else { actor.LEngFire.startFadeOut(); actor.REngFire.startFadeIn(); }; if (actor.speed.y < 2){ actor.BEngFire1.startFadeIn(); actor.BEngFire2.startFadeIn(); } else { actor.BEngFire1.startFadeOut(); actor.BEngFire2.startFadeOut(); }; actor.updateDynObj(); } public function Turrel_procIdle(_arg1:Array=null){ if (actor.distToEnemy <= actor.seeRadius){ actor.fsmAI.postEvent("findEnemy"); }; } public function Turrel_beginIdle(_arg1:Array=null){ } public function AlienSolder_procIdle(_arg1:Array=null){ if (actor.distToEnemy <= actor.seeRadius){ actor.fsmAI.postEvent("findEnemy"); }; } public function AlienSolder_beginAttack(_arg1:Array=null){ actor.gotoAndStop("stand"); } public function AlienSolder_beginMoveToEnemy(_arg1:Array=null){ actor.gotoAndStop("run"); } public function AlienPredator_procIdle(_arg1:Array=null){ actor.rLeg.gotoAndPlay(36); actor.lLeg.gotoAndPlay(1); actor.fsmAI.postEvent("findEnemy"); } public function AlienSeeder_procMoveToEnemy(_arg1:Array=null){ actor.curTargetChanged++; if (actor.curTargetChanged == actor.maxTargetChanged){ actor.fsmAI.postEvent("startSeed"); actor.curTargetChanged = 0; return; }; if (actor.distToEnemy <= actor.attackRadius){ actor.fsmAI.postEvent("canAttack"); }; if ((((actor.distToEnemy > actor.seeRadius)) && (!(actor.alwaysSeeEnemy)))){ actor.fsmAI.postEvent("lostEnemy"); }; if (actor.speed.x > 0){ actor.LEngFire.startFadeIn(); actor.REngFire.startFadeOut(); } else { actor.LEngFire.startFadeOut(); actor.REngFire.startFadeIn(); }; if (actor.speed.y < 2){ actor.BEngFire1.startFadeIn(); actor.BEngFire2.startFadeIn(); } else { actor.BEngFire1.startFadeOut(); actor.BEngFire2.startFadeOut(); }; actor.updateDynObj(); } public function AlienSolder_beginIdle(_arg1:Array=null){ } public function Zomb_endAttack(_arg1:Array=null){ } public function AlienSeeder_beginDie(_arg1:Array=null){ var _local2:int; actor.dead = true; actor.curLevel.addFX_littleBlast(actor.x, (actor.y - 15), 1.8); actor.curLevel.addFX_littleSmoke(actor.x, (actor.y - 25), 2); sounds.PlaySnd("bigExp", 10, actor, actor.stage); sounds.PlaySnd("midExp", 10, actor, actor.stage); sounds.PlaySnd("bombExp", 10, actor, actor.stage); if (MovieClip(actor).blaster){ if (MovieClip(actor).blaster.visible == true){ MovieClip(actor).blaster.fsmAI.postEvent("killed"); }; }; actor.visible = false; if (mainGlobal.configDebrisOn){ _local2 = 0; _local2 = 0; while (_local2 < 15) { actor.curLevel.addProp_Debris(actor.x, actor.y); _local2++; }; actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienHunterDebris1"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienHunterDebris2"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienHunterDebris3"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienHunterDebris4"); }; actor.curLevel.addProp_Money2(actor.x, actor.y); actor.curLevel.addProp_Money2(actor.x, actor.y); actor.curLevel.addProp_Money1(actor.x, actor.y); actor.curLevel.addProp_Money1(actor.x, actor.y); } public function AlienElectro_procMoveToEnemy(_arg1:Array=null){ actor.vChildTime++; if (actor.vChildTime > 35){ actor.vChildTime = 0; actor.vChildPos++; if (actor.vChildPos > 4){ actor.vChildPos = 0; }; }; var _local2:Number = 350; var _local3:Number = 0; var _local4:Number = (Math.PI / 4); var _local5:Number = ((_local2 * Math.cos((_local4 * actor.vChildPos))) - (_local3 * Math.sin((_local4 * actor.vChildPos)))); var _local6:Number = ((_local3 * Math.cos((_local4 * actor.vChildPos))) + (_local2 * Math.sin((_local4 * actor.vChildPos)))); actor.vChild.rotation = 90; actor.vChild.width = _local2; actor.vChild.rotation = (90 + (actor.vChildPos * 45)); var _local7:ageVector = ageMath.getLineCrossRect(actor.x, actor.y, (actor.x + _local5), (actor.y + _local6), (actor.curLevel.hero.x - (actor.curLevel.hero.width / 2)), (actor.curLevel.hero.y - actor.curLevel.hero.height), (actor.curLevel.hero.x + (actor.curLevel.hero.width / 2)), actor.curLevel.hero.y); if (((_local7) && ((actor.curLevel.hero.electroCurLevel < 25)))){ actor.curLevel.hero.addElectroDamage(0.8); }; if (actor.distToEnemy <= actor.attackRadius){ }; if ((((actor.distToEnemy > actor.seeRadius)) && (!(actor.alwaysSeeEnemy)))){ actor.fsmAI.postEvent("lostEnemy"); }; if (actor.speed.x > 0){ actor.LEngFire.startFadeIn(); actor.REngFire.startFadeOut(); } else { actor.LEngFire.startFadeOut(); actor.REngFire.startFadeIn(); }; if (actor.speed.y < 2){ actor.BEngFire2.startFadeIn(); } else { actor.BEngFire2.startFadeOut(); }; actor.updateDynObj(); } public function AlienPredator_beginMoveToEnemy(_arg1:Array=null){ } public function Zomb_procDie(_arg1:Array=null){ } public function AlienElectro_beginDie(_arg1:Array=null){ var _local2:int; actor.dead = true; actor.curLevel.addFX_littleBlast(actor.x, (actor.y - 15), 1.8); actor.curLevel.addFX_littleSmoke(actor.x, (actor.y - 25), 2); sounds.PlaySnd("midExp", 10, actor, actor.stage); sounds.PlaySnd("bombExp", 10, actor, actor.stage); if (MovieClip(actor).blaster){ if (MovieClip(actor).blaster.visible == true){ MovieClip(actor).blaster.fsmAI.postEvent("killed"); }; }; actor.visible = false; if (mainGlobal.configDebrisOn){ _local2 = 0; _local2 = 0; while (_local2 < 15) { actor.curLevel.addProp_Debris(actor.x, actor.y); _local2++; }; }; actor.curLevel.addProp_Money1(actor.x, actor.y); actor.curLevel.addProp_Money1(actor.x, actor.y); actor.curLevel.addProp_Money1(actor.x, actor.y); } public function AlienBomber_changeTarget(_arg1:Array=null){ actor.setTarget(new ageVector(ageMath.Random((actor.curLevel.hero.x - 200), (actor.curLevel.hero.x + 200)), ageMath.Random((actor.curLevel.hero.y - 300), (actor.curLevel.hero.y - 200)))); } public function Zomb_endIdle(_arg1:Array=null){ } public function Turrel_endDie(_arg1:Array=null){ } public function AlienBomber_endDie(_arg1:Array=null){ } public function AlienSaw_changeTarget(_arg1:Array=null){ if (actor.curTargetChanged == actor.maxTargetChanged){ actor.curTargetChanged = 0; actor.setTarget(new ageVector(ageMath.Random((actor.curLevel.hero.x - 200), (actor.curLevel.hero.x + 200)), ageMath.Random((actor.curLevel.hero.y - 300), (actor.curLevel.hero.y - 200)))); } else { actor.curTargetChanged++; actor.setTarget(new ageVector((actor.curLevel.hero.x + ageMath.Random(-10, 10)), ((actor.curLevel.hero.y - (actor.curLevel.hero.height / 2)) + ageMath.Random(-10, 10)))); }; } public function AlienSeeder_endDie(_arg1:Array=null){ } public function TurrelBomb_endDie(_arg1:Array=null){ } public function AlienSaw_endDie(_arg1:Array=null){ } public function AlienElectro_beginIdle(_arg1:Array=null){ } public function Bomb_endAttack(_arg1:Array=null){ } public function Zomb_beginIdle(_arg1:Array=null){ } public function Bomb_endDie(_arg1:Array=null){ } public function AlienSeeder_beginIdle(_arg1:Array=null){ } public function AlienSolder_endDie(_arg1:Array=null){ } public function AlienSaw_procDie(_arg1:Array=null){ } public function AlienElectro_endDie(_arg1:Array=null){ } public function AlienPredator_procDie(_arg1:Array=null){ } public function AlienSaw_endIdle(_arg1:Array=null){ } public function TurrelBomb_procAttack(_arg1:Array=null){ var _local2:Point; actor.calcGlobalPos(); actor.setRotTarget(actor.curLevel.hero.x, actor.curLevel.hero.y); actor.updateDynObj(); actor.rotate(); if (((!(actor.timerBulletDelay.running)) && (actor.rotTargeted))){ _local2 = actor.curLevel.globalToLocal(actor.localToGlobal(new Point(actor.anim.pointShoot.x, actor.anim.pointShoot.y))); actor.curLevel.addBlasterProj(_local2.x, _local2.y, actor.curLevel.hero.x, actor.curLevel.hero.y, actor.weapons[0]); actor.timerBulletDelay.start(); actor.anim.gotoAndPlay(2); }; } public function Bomb_procDie(_arg1:Array=null){ } public function Turrel_procAttack(_arg1:Array=null){ var _local3:Point; actor.calcGlobalPos(); actor.setRotTarget(actor.curLevel.hero.x, actor.curLevel.hero.y); actor.updateDynObj(); actor.rotate(); actor.live.rotation = -(actor.rotation); var _local2:ageVector = new ageVector(-51, -23); _local2.rotDeg(actor.live.rotation); actor.live.x = _local2.x; actor.live.y = _local2.y; if (((!(actor.timerBulletDelay.running)) && (actor.rotTargeted))){ _local3 = actor.curLevel.globalToLocal(actor.localToGlobal(new Point(actor.anim.pointShoot.x, actor.anim.pointShoot.y))); actor.curLevel.addBlasterProj(_local3.x, _local3.y, actor.curLevel.hero.x, actor.curLevel.hero.y, actor.weapons[0]); actor.timerBulletDelay.start(); actor.anim.gotoAndPlay(2); }; } public function Zomb_attackHit(_arg1:Array=null){ var _local2:projObject; if (actor.distToEnemy <= actor.attackRadius){ _local2 = new projObject(); _local2.damage = actor.damagePerHit; _local2.x = actor.curLevel.hero.x; _local2.y = (actor.curLevel.hero.y - (actor.curLevel.hero.height / 2)); actor.curLevel.hero.transmitDamage(_local2); Game(actor.curLevel.parent).gameGUI.painFrame.startFadeOut(); }; } public function Zomb_firstAttackEnd(_arg1:Array=null){ actor.firstAttack = false; } public function Bomb_endIdle(_arg1:Array=null){ } public function Zomb_endDie(_arg1:Array=null){ } public function Bomb_procAttack(_arg1:Array=null){ if (actor.anim.currentFrame == 60){ actor.fsmAI.postEvent("killed"); }; } public function AlienSolder_procAttack(_arg1:Array=null){ if (actor.distToEnemy > actor.seeRadius){ actor.fsmAI.postEvent("lostEnemy"); }; if (actor.distToEnemy > actor.attackRadius){ actor.fsmAI.postEvent("farToAttack"); }; actor.updateActorParts(new ageVector(actor.curLevel.hero.x, actor.curLevel.hero.y)); if (((!(actor.timerBulletDelay.running)) && (!(actor.timerReloadDelay.running)))){ actor.startShoot(new ageVector(actor.curLevel.hero.x, (actor.curLevel.hero.y - (actor.curLevel.hero.height / 2)))); }; } public function AlienHunter_endDie(_arg1:Array=null){ } public function AlienBomber_beginDie(_arg1:Array=null){ var _local2:int; actor.dead = true; actor.curLevel.addFX_littleBlast(actor.x, (actor.y - 15), 1.8); actor.curLevel.addFX_littleSmoke(actor.x, (actor.y - 25), 2); sounds.PlaySnd("midExp", 1.5, actor, actor.stage); sounds.PlaySnd("bigExp", 1.5, actor, actor.stage); actor.visible = false; if (mainGlobal.configDebrisOn){ _local2 = 0; _local2 = 0; while (_local2 < 15) { actor.curLevel.addProp_Debris(actor.x, actor.y); _local2++; }; }; actor.curLevel.addProp_Money1(actor.x, actor.y); actor.curLevel.addProp_Money2(actor.x, actor.y); actor.curLevel.addProp_Money1(actor.x, actor.y); } public function TurrelBomb_endIdle(_arg1:Array=null){ } public function AlienPredator_beginIdle(_arg1:Array=null){ } public function AlienElectro_procIdle(_arg1:Array=null){ if ((((actor.distToEnemy <= actor.seeRadius)) || (actor.alwaysSeeEnemy))){ actor.fsmAI.postEvent("findEnemy"); actor.setTarget(new ageVector(ageMath.Random((actor.curLevel.hero.x - 200), (actor.curLevel.hero.x + 200)), ageMath.Random((actor.curLevel.hero.y - 300), (actor.curLevel.hero.y - 200)))); }; } public function AlienHunter_beginIdle(_arg1:Array=null){ } public function TurrelBomb_endAttack(_arg1:Array=null){ } public function AlienSaw_beginIdle(_arg1:Array=null){ } public function TurrelBomb_beginIdle(_arg1:Array=null){ } public function AlienSeeder_procIdle(_arg1:Array=null){ if ((((actor.distToEnemy <= actor.seeRadius)) || (actor.alwaysSeeEnemy))){ actor.fsmAI.postEvent("findEnemy"); actor.setTarget(new ageVector(ageMath.Random((actor.curLevel.hero.x - 200), (actor.curLevel.hero.x + 200)), ageMath.Random((actor.curLevel.hero.y - 300), (actor.curLevel.hero.y - 200)))); }; } public function TurrelBomb_beginDie(_arg1:Array=null){ var _local2:uint; var _local3:Point = actor.curLevel.globalToLocal(MovieClip(actor.parent).localToGlobal(new Point(actor.x, actor.y))); if (mainGlobal.configDebrisOn){ _local2 = 0; while (_local2 < 10) { actor.curLevel.addProp_Debris(_local3.x, _local3.y); _local2++; }; if (actor.actorType == "AlienHunterBlaster"){ actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienBlasterDebris1"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienBlasterDebris2"); actor.curLevel.addProp_Debris(actor.x, actor.y, 1, "AlienBlasterDebris3"); }; }; actor.dead = true; actor.curLevel.addFX_littleBlast((actor.x + MovieClip(actor.parent).x), ((actor.y - 15) + MovieClip(actor.parent).y)); actor.curLevel.addFX_littleSmoke((actor.x + MovieClip(actor.parent).x), ((actor.y - 25) + MovieClip(actor.parent).y)); sounds.PlaySnd("bombExp", 1.5, actor, actor.stage); actor.visible = false; actor.anim.stop(); } public function AlienElectro_beginMoveToEnemy(_arg1:Array=null){ } public function AlienSaw_attackHit(_arg1:Array=null){ var _local2:projObject; if (actor.distToEnemy <= actor.attackRadius){ if (!actor.curLevel.hero.timerBloodFXDelay.running){ sounds.PlaySnd(("sawAttack" + ageMath.RandomInt(1, 3)), 1.5, actor, actor.stage); }; _local2 = new projObject(); _local2.damage = actor.damagePerHit; _local2.x = actor.curLevel.hero.x; _local2.y = (actor.curLevel.hero.y - (actor.curLevel.hero.height / 2)); actor.curLevel.hero.transmitDamage(_local2); Game(actor.curLevel.parent).gameGUI.painFrame.startFadeOut(); }; } public function Bomb_beginIdle(_arg1:Array=null){ } public function AlienPredator_endIdle(_arg1:Array=null){ } public function Zomb_procMoveToEnemy(_arg1:Array=null){ var _local4:Number; if (actor.distToEnemy <= actor.attackRadius){ actor.fsmAI.postEvent("canAttack"); }; if (actor.distToEnemy > actor.seeRadius){ actor.fsmAI.postEvent("lostEnemy"); } else { if (actor.useSelfWep){ if (((!(actor.timerBulletDelay.running)) && (!(actor.timerReloadDelay.running)))){ actor.startShoot(new ageVector(actor.curLevel.hero.x, (actor.curLevel.hero.y - (actor.curLevel.hero.height / 2)))); if (sounds){ sounds.PlaySnd(("VomitShoot" + ageMath.RandomInt(1, 2).toString()), 1, actor, actor.stage); }; if (actor.noArmsShootCnt == 3){ actor.startShoot(new ageVector(actor.curLevel.hero.x, (actor.curLevel.hero.y - (actor.curLevel.hero.height * 1.5)))); actor.startShoot(new ageVector(actor.curLevel.hero.x, (actor.curLevel.hero.y - (actor.curLevel.hero.height * 2)))); }; }; }; }; if (actor.useSelfWepPsy){ if (((!(actor.timerBulletDelay.running)) && (!(actor.timerReloadDelay.running)))){ actor.startShoot(new ageVector(actor.curLevel.hero.x, (actor.curLevel.hero.y - (actor.curLevel.hero.height / 2)))); if (sounds){ sounds.PlaySnd(("VomitShoot" + ageMath.RandomInt(1, 2).toString()), 1, actor, actor.stage); }; }; }; var _local2:ageVector = new ageVector(actor.curLevel.hero.x, actor.curLevel.hero.y); var _local3:ageVector = new ageVector((_local2.x - actor.x), (_local2.y - (actor.y - 35))).norm(); if (_local2.x > actor.x){ actor.scaleX = 1; } else { actor.scaleX = -1; }; if (_local2.x < actor.x){ _local4 = (actor.jump) ? (actor.speed.x * 0.8) : actor.speed.x; actor.x = (actor.x - _local4); } else { if (_local2.x > actor.x){ _local4 = (actor.jump) ? (actor.speed.x * 0.8) : actor.speed.x; actor.x = (actor.x + _local4); }; }; } public function Zomb_procAttack(_arg1:Array=null){ if ((((actor.distToEnemy > actor.seeRadius)) && (!(actor.firstAttack)))){ actor.fsmAI.postEvent("lostEnemy"); }; if ((((actor.distToEnemy > actor.attackRadius)) && (!(actor.firstAttack)))){ actor.fsmAI.postEvent("farToAttack"); }; if (actor.useSelfWepPsy){ if (((!(actor.timerBulletDelay.running)) && (!(actor.timerReloadDelay.running)))){ actor.startShoot(new ageVector(actor.curLevel.hero.x, (actor.curLevel.hero.y - (actor.curLevel.hero.height / 2)))); if (sounds){ sounds.PlaySnd(("VomitShoot" + ageMath.RandomInt(1, 2).toString()), 1, actor, actor.stage); }; }; }; } public function AlienSeeder_beginMoveToEnemy(_arg1:Array=null){ } public function AlienBigBoss_endIdle(_arg1:Array=null){ } public function TurrelBomb_procDie(_arg1:Array=null){ } public function AlienSolder_endMoveToEnemy(_arg1:Array=null){ } public function AlienBomber_endMoveToEnemy(_arg1:Array=null){ } public function AlienSeeder_changeTarget(_arg1:Array=null){ actor.setTarget(new ageVector(ageMath.Random((actor.curLevel.hero.x - 200), (actor.curLevel.hero.x + 200)), ageMath.Random((actor.curLevel.hero.y - 300), (actor.curLevel.hero.y - 200)))); } public function AlienSaw_endMoveToEnemy(_arg1:Array=null){ } } }//package main
Section 57
//FSMEvent (main.FSMEvent) package main { import flash.events.*; public dynamic class FSMEvent extends Event { public var data; public static const ONPOSTED:String = "OnPosted"; public function FSMEvent(_arg1:String, _arg2){ this.data = _arg2; super(_arg1); } } }//package main
Section 58
//FSMTrans (main.FSMTrans) package main { public dynamic class FSMTrans { var paramFunc:Array; var execFunc:Function; var curEvent:String; var stateFrom:String; var stateTo:String; public function FSMTrans(_arg1:String, _arg2:String, _arg3:String, _arg4:Function, _arg5:Array=null){ stateFrom = _arg1; curEvent = _arg2; stateTo = _arg3; execFunc = _arg4; paramFunc = _arg5; } } }//package main
Section 59
//fxBlast (main.fxBlast) package main { public dynamic class fxBlast extends fxObject { } }//package main
Section 60
//fxBlastWave (main.fxBlastWave) package main { public dynamic class fxBlastWave extends fxObject { public function fxBlastWave(){ addFrameScript(9, frame10); } function frame10(){ stop(); this.visible = false; } } }//package main
Section 61
//fxblink (main.fxblink) package main { public dynamic class fxblink extends alphaFader { public function fxblink(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package main
Section 62
//fxBloodSpatters (main.fxBloodSpatters) package main { public dynamic class fxBloodSpatters extends fxObject { public function fxBloodSpatters(){ addFrameScript(19, frame20); } function frame20(){ visible = false; } } }//package main
Section 63
//fxHeadshot (main.fxHeadshot) package main { public dynamic class fxHeadshot extends fxObject { public function fxHeadshot(){ addFrameScript(29, frame30); } function frame30(){ visible = false; } } }//package main
Section 64
//fxLittleSmoke (main.fxLittleSmoke) package main { public dynamic class fxLittleSmoke extends fxObject { } }//package main
Section 65
//fxMetalSparks (main.fxMetalSparks) package main { public dynamic class fxMetalSparks extends fxObject { public function fxMetalSparks(){ addFrameScript(29, frame30); } function frame30(){ this.visible = false; stop(); } } }//package main
Section 66
//fxObject (main.fxObject) package main { public class fxObject extends baseObject { } }//package main
Section 67
//fxVomitSpatters (main.fxVomitSpatters) package main { public dynamic class fxVomitSpatters extends fxObject { public function fxVomitSpatters(){ addFrameScript(19, frame20); } function frame20(){ visible = false; } } }//package main
Section 68
//Game (main.Game) package main { import flash.display.*; import flash.events.*; import mochi.as3.*; import flash.utils.*; import flash.net.*; import CPMStar.*; import flash.ui.*; public dynamic class Game extends MovieClip { public var splashOG:MovieClip; var tmp_prog:preloader;// = null public var groundBG:bg; public var menuWinGame:menuWinGame; public var my_cMenu:ContextMenu; public var sky:MovieClip; public var timerLogo2:Timer; public var ad:DisplayObject; public var CPMStarContentSpotID:String; public var adBox:adBoxClass; var cursorBlockCh:Boolean;// = false var tmp_Cursor:Cursor;// = null public var menuWinLose:menuWinLose; public var bPlay:buttonPlay; public var menuMain:menuMain; var curLev:Level;// = null public var cacheRem:MovieClip; public var fadeBG:fader50percVis; public var preloaderOG:MovieClip; public var menuUpgradeShop:menuUpgradeShop; public var cursor:Cursor; var tmp_but:buttonPlay;// = null public var gamButSnd:MovieClip; var tmp_CursorReload:ReloadCurType;// = null public var gameGUI:gameGui; public var menuInGame:menuInGame; public var ld:preloader; public function Game(){ addFrameScript(0, frame1, 1, frame2, 10, frame11, 11, frame12); } public function gamButSnd_Click(_arg1:Event):void{ if (gamButSnd.currentFrame == 1){ sounds.PlaySnd("menuClick"); mainGlobal.configMusicOn = false; mainGlobal.configSoundOn = false; mainGlobal.applyConfig(); mainGlobal.saveConfig(); gamButSnd.gotoAndStop(2); } else { sounds.PlaySnd("menuClick"); mainGlobal.configMusicOn = true; mainGlobal.configSoundOn = true; mainGlobal.applyConfig(); mainGlobal.saveConfig(); gamButSnd.gotoAndStop(1); }; } public function mouseLeave(_arg1:Event):void{ if (!cursorBlockCh){ cursor.visible = false; stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseBack); }; } public function bPlay_Click(_arg1:Event):void{ this.removeChild(this["adBox"]); this.gotoAndPlay(2); } public function mouseBack(_arg1:Event):void{ if (!cursorBlockCh){ cursor.visible = true; stage.removeEventListener(MouseEvent.MOUSE_MOVE, mouseBack); }; } public function loadLevel(_arg1:String){ if (curLev != null){ delLevel(); }; if (_arg1 == "Level1"){ curLev = new Level1(); } else { if (_arg1 == "Level2"){ curLev = new Level2(); } else { if (_arg1 == "Level3"){ curLev = new Level3(); } else { if (_arg1 == "Level4"){ curLev = new Level4(); } else { if (_arg1 == "Level5"){ curLev = new Level5(); } else { if (_arg1 == "Level6"){ curLev = new Level6(); } else { if (_arg1 == "Level7"){ curLev = new Level7(); } else { if (_arg1 == "Level8"){ curLev = new Level8(); } else { if (_arg1 == "Level9"){ curLev = new Level9(); } else { if (_arg1 == "Level10"){ curLev = new Level10(); }; }; }; }; }; }; }; }; }; }; curLev.visible = true; gameGUI.visible = true; mainGlobal.paused = false; Game(root).cursor.gotoAndStop("cross"); var _local2:int = getChildIndex(sky); addChildAt(curLev, (_local2 + 1)); stage.focus = this; } public function delLevel(){ curLev.term(); removeChild(curLev); curLev = null; } function frame11(){ cursor.visible = true; cursor.gotoAndStop("arrow"); stop(); timerLogo2 = new Timer(8000, 1); timerLogo2.start(); timerLogo2.addEventListener(TimerEvent.TIMER, timerLogo2_Timer); splashOG.addEventListener(MouseEvent.CLICK, splashOG_click); splashOG.buttonMode = true; } public function timerLogo2_Timer(_arg1:TimerEvent):void{ play(); } function frame12(){ if (((!(mainGlobal.configMusicOn)) && (!(mainGlobal.configSoundOn)))){ gamButSnd.gotoAndStop(2); } else { gamButSnd.gotoAndStop(1); }; gamButSnd.buttonMode = true; gamButSnd.addEventListener(MouseEvent.CLICK, gamButSnd_Click, false, 0, true); menuInGame.visible = false; stop(); gameGUI.painFrame.use_force_restart = true; menuWinLose.use_force_restart = true; menuWinLose.fadeSpeed = 0.03; menuWinGame.use_force_restart = true; menuWinGame.fadeSpeed = 0.03; fadeBG.fadeSpeed = 0.03; fadeBG.use_force_restart = true; fadeBG.startFadeOut(); musicEnv.fadeTo("musMenu"); } public function preloaderOG_click(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.onlinegamer.cc?utm_source=Ted&utm_medium=preloader"), "_blank"); } public function splashOG_click(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.onlinegamer.cc?utm_source=Ted&utm_medium=splash"), "_blank"); } public function mouseClick(_arg1:Event):void{ if (!cursorBlockCh){ cursor.visible = true; Mouse.hide(); }; } function frame2(){ sounds.init(stage.stageWidth, stage.stageHeight); musicEnv.init(); cursor.visible = false; gotoAndStop(11); } function frame1(){ stop(); if (!mainGlobal.isCookieExist()){ mainGlobal.initCookie(); } else { mainGlobal.loadConfig(); mainGlobal.applyConfig(); }; stage.quality = (mainGlobal.configQuaHigh) ? StageQuality.MEDIUM : StageQuality.LOW; Controls.regMC(stage); Mouse.hide(); cursor.startDrag(true); cursor.mouseEnabled = false; cursor.mouseChildren = false; stage.addEventListener(MouseEvent.CLICK, mouseClick); stage.addEventListener(Event.MOUSE_LEAVE, mouseLeave); my_cMenu = new ContextMenu(); my_cMenu.hideBuiltInItems(); contextMenu = my_cMenu; MochiServices.connect("ab8a8afba7348126", root); MochiBot.track(this, "b77f1844"); mainGlobal.noAds = ((ld.isUrl(["kongregate.com", "www.kongregate.com"])) || (ld.isUrl(["flashgamelicense.com", "www.flashgamelicense.com"]))); if (!mainGlobal.noAds){ CPMStarContentSpotID = "3988Q4DB4755D"; ad = new AdLoader(CPMStarContentSpotID); adBox.addChild(ad); } else { adBox.addChild(new adMY()); }; bPlay.addEventListener(MouseEvent.CLICK, bPlay_Click); bPlay.visible = false; preloaderOG.addEventListener(MouseEvent.CLICK, preloaderOG_click); preloaderOG.buttonMode = true; } } }//package main
Section 69
//gameGui (main.gameGui) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class gameGui extends alphaFader { public var i:uint; public function gameGui(){ addFrameScript(0, frame1); } function frame1(){ visible = false; gamButMenu.addEventListener(MouseEvent.CLICK, gamButMenu_Click, false, 0, true); gamButWT.addEventListener(MouseEvent.CLICK, gamButWT_Click, false, 0, true); i = 1; while (i < 9) { guiWepNum(getChildByName(("wep" + i))).txt.text = i.toString(); i++; }; } public function gamButMenu_Click(_arg1:Event):void{ Game(root).curLev.showGameMenu(); } public function gamButWT_Click(_arg1:Event):void{ Game(root).curLev.showGameMenu(); navigateToURL(new URLRequest("http://onlinegamer.cc/index.php?task=view_page&id=2"), "_blank"); } } }//package main
Section 70
//GameVictory (main.GameVictory) package main { import flash.media.*; public dynamic class GameVictory extends Sound { } }//package main
Section 71
//guiWepNum (main.guiWepNum) package main { import flash.display.*; import flash.text.*; public dynamic class guiWepNum extends MovieClip { public var txt:TextField; public var flagState:int;// = 1 } }//package main
Section 72
//helpIco (main.helpIco) package main { import flash.media.*; public dynamic class helpIco extends Sound { } }//package main
Section 73
//hlpCtrl (main.hlpCtrl) package main { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.text.*; public dynamic class hlpCtrl extends alphaFader { public var txt2:TextField; public var timerStayDelay:Timer; public var pic2:MovieClip; public var txt:TextField; public var minDelay:int;// = 2500 public var maxDelay:int;// = 6000 public function hlpCtrl(){ timerStayDelay = new Timer(6000, 1); super(); addFrameScript(0, frame1); fadeSpeed = 0.1; use_force_restart = true; timerStayDelay.stop(); timerStayDelay.addEventListener(TimerEvent.TIMER, timerStayDelay_Timer, false, 0, true); } public function hideHelp(){ startFadeOut(); timerStayDelay.stop(); } public function timerStayDelay_Timer(_arg1:TimerEvent):void{ hideHelp(); } public function showHelp(_arg1:int){ if (_arg1 != 8){ txt.visible = false; } else { txt.visible = true; }; if (_arg1 != 9){ txt2.visible = false; pic2.visible = false; } else { txt2.visible = true; pic2.visible = true; }; startFadeIn(); timerStayDelay.stop(); timerStayDelay.delay = maxDelay; timerStayDelay.start(); gotoAndStop(_arg1); } function frame1(){ visible = false; stop(); } } }//package main
Section 74
//itemTake (main.itemTake) package main { import flash.media.*; public dynamic class itemTake extends Sound { } }//package main
Section 75
//LasergunShoot1 (main.LasergunShoot1) package main { import flash.media.*; public dynamic class LasergunShoot1 extends Sound { } }//package main
Section 76
//Level (main.Level) package main { import flash.display.*; public dynamic class Level extends MovieClip { } }//package main
Section 77
//Level1 (main.Level1) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.ui.*; public dynamic class Level1 extends Level { public var triggerInjManCall:MovieClip; public var triggerInjMan:MovieClip; var levRightLim:Number;// = 999999 var dlgSpeedFactor:Number;// = 4 var lastMSFrame:int;// = 9999 public var limEndLevel:MovieClip; public var enemies:Array; var levLeftLim:Number;// = -999999 public var propObjects:Array; public var minLimX:Number;// = 2147483647 public var maxLimX:Number;// = -2147483648 var curBlastShake:Number;// = 0 var isWin:Boolean;// = false public var dynObjects:Array; var isLose:Boolean;// = false var grav:Number;// = 1 public var boss:MovieClip; public var shotgunMan:MovieClip; public var limitersCache:Array; public var triggerCrunchInformer:MovieClip; var initFirst:Boolean;// = false var curLevNum:int;// = 1 public var triggerTedMus:MovieClip; public var FXLayer:MovieClip; var levelMus:String;// = "" public var triggerAimShootInformer:MovieClip; public var triggerSecret1:MovieClip; public var propLayer:MovieClip; var sVar:Object; public var limitersOnScr:Array; public var triggerTedEatBrains:MovieClip; public var addActorsArr:Array; public var limiters:Array; public var paralaxObjects:Array; var curLevScore:int;// = 3000 public var fxObjects:Array; var curBlastShakeDec:Number;// = 0.3 public var goodNPC:Array; public var chunkObjects:Array; public var limitersCacheStep:int;// = 640 var curScale:Number;// = 1 public var projObjects:Array; public var hero:MovieClip; public var projLayer:MovieClip; public var triggerJumpInformer:MovieClip; public function Level1(){ sVar = new Object(); limiters = new Array(); limitersCache = new Array(); limitersOnScr = new Array(); dynObjects = new Array(); enemies = new Array(); goodNPC = new Array(); paralaxObjects = new Array(); projObjects = new Array(); chunkObjects = new Array(); fxObjects = new Array(); propObjects = new Array(); addActorsArr = new Array(); super(); addFrameScript(0, frame1); init(); } public function addFX_VomitSplatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxVomitSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function initLimCache(){ var _local1:*; var _local2:int; var _local3:int; var _local4:int; maxLimX = int.MIN_VALUE; minLimX = int.MAX_VALUE; _local1 = 0; while (_local1 < limiters.length) { if (limiters[_local1].x < minLimX){ minLimX = limiters[_local1].x; }; if ((limiters[_local1].x + limiters[_local1].width) > maxLimX){ maxLimX = limiters[_local1].x; }; _local1++; }; limitersCache = []; _local1 = 0; while (_local1 < (((maxLimX - minLimX) / limitersCacheStep) + 1)) { limitersCache.push(new Array()); _local1++; }; _local1 = 0; while (_local1 < limiters.length) { _local3 = int(((limiters[_local1].x - minLimX) / limitersCacheStep)); _local4 = int((((limiters[_local1].x + limiters[_local1].width) - minLimX) / limitersCacheStep)); _local2 = _local3; while (_local2 <= _local4) { if (!limitersCache[_local2]){ limitersCache[_local2] = new Array(); }; limitersCache[_local2].push(limiters[_local1]); _local2++; }; _local1++; }; } public function addLineDamage(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Boolean{ var _local6:Number; var _local8:int; var _local9:ageVector; var _local7:Boolean; _local8 = 0; while (_local8 < enemies.length) { if (enemies[_local8].dead){ } else { _local9 = enemies[_local8].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local9 != null){ addLineDamageToEnemy(_local9, _arg5, enemies[_local8], true); _local7 = true; }; }; _local8++; }; return (_local7); } public function checkHitPlatform(_arg1, _arg2:Array){ var _local3:int; _arg1.bottomLimiter = null; _local3 = 0; while (_local3 < _arg2.length) { if (((_arg2[_local3].slimMode) && ((_arg1.speed.y < 0)))){ } else { if (_arg2[_local3].hitTestObject(_arg1.p2)){ _arg1.jump = false; if (_arg1.isRubber){ _arg1.speed.y = (_arg1.speed.y * -(_arg1.rubberFactor)); _arg1.speed.x = (_arg1.speed.x * _arg1.rubberFactor); if (_arg1.useRotateSpeed){ _arg1.rotateSpeed = 0; }; } else { _arg1.speed.y = 0; }; _arg1.y = ((_arg2[_local3].y - _arg1.p2.y) - _arg1.p2.height); _arg1.bottomLimiter = _arg2[_local3]; } else { if (((_arg2[_local3].hitTestObject(_arg1.p1)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = (_arg2[_local3].x - (_arg1.p1.x + _arg1.p1.width)); } else { _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) + (_arg1.p1.x + _arg1.p1.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p3)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) - _arg1.p3.x); } else { _arg1.x = (_arg2[_local3].x - (-(_arg1.p3.x) + _arg1.p3.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p4)) && (!(_arg2[_local3].slimMode)))){ _arg1.speed.y = 0; _arg1.y = ((_arg2[_local3].y + _arg2[_local3].height) - _arg1.p4.y); }; }; }; }; }; _local3++; }; } public function addFX_MetalSparks(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxMetalSparks(); _local3.x = _arg1; _local3.y = _arg2; _local3.blendMode = BlendMode.ADD; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function init(){ addEventListener(Event.ENTER_FRAME, Update, false, 0, true); } public function openUpgradeMenu():void{ mainGlobal.paused = true; this.visible = false; Game(root).cursor.gotoAndStop("arrow"); Game(parent).menuUpgradeShop.showShop(); musicEnv.fadeTo("musUpgrade"); } public function addFX_littleSmoke(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxLittleSmoke(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addBlinkFX_OverLight():void{ Game(parent).gameGUI.fxblink.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink.use_force_restart = true; Game(parent).gameGUI.fxblink.startFadeOut(); curBlastShake = 15; } function mouseLeave(_arg1:Event):void{ showGameMenu(); } public function UpdateDynObjects():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; _local1 = 0; while (_local1 < dynObjects.length) { if (dynObjects[_local1].visible == false){ } else { if (ageMath.Distance(dynObjects[_local1].x, dynObjects[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6)){ if (dynObjects[_local1].gravityEnable){ dynObjects[_local1].speed.y = (dynObjects[_local1].speed.y + (grav * dynObjects[_local1].gravityFactor)); }; dynObjects[_local1].speed.y = ((dynObjects[_local1].speed.y)>dynObjects[_local1].maxSpeed.y) ? dynObjects[_local1].maxSpeed.y : dynObjects[_local1].speed.y; dynObjects[_local1].y = (dynObjects[_local1].y + dynObjects[_local1].speed.y); if (dynObjects[_local1].collisionEnable){ _local2 = int((((dynObjects[_local1].x - dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local3 = int((((dynObjects[_local1].x + dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local4 = _local2; while (_local4 <= _local3) { if (((limitersCache[_local4]) && (limitersCache[_local4].length))){ checkHitPlatform(dynObjects[_local1], limitersCache[_local4]); }; _local4++; }; }; }; }; _local1++; }; } public function cleenUP():void{ cleenUP_FX(); cleenUP_Proj(); cleenUP_Prop(); cleenUP_Actors(); } public function addLineDamageToEnemy(_arg1:ageVector, _arg2:Number, _arg3:actorObject, _arg4:Boolean){ var _local5:projObject = new projObject(); _local5.damage = _arg2; _local5.x = _arg1.x; _local5.y = _arg1.y; _local5.fromGoodGuy = _arg4; _arg3.transmitDamage(_local5); _local5.clearDynObject(); } public function addFX_BloodOnGround(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodOnGround(); _local3.x = _arg1; _local3.y = _arg2; _local3.gotoAndStop(ageMath.RandomInt(1, 5)); _local3.scaleY = 0.5; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function UpdateParalaxObjects():void{ var _local1:int; _local1 = 0; while (_local1 < paralaxObjects.length) { paralaxObjects[_local1].x = (paralaxObjects[_local1].saveX - ageMath.RemapVal((paralaxObjects[_local1].saveX + x), 0, stage.stageWidth, 0, paralaxObjects[_local1].paralaxX)); paralaxObjects[_local1].y = (paralaxObjects[_local1].saveY - ageMath.RemapVal((paralaxObjects[_local1].saveY + y), 0, stage.stageHeight, 0, paralaxObjects[_local1].paralaxY)); _local1++; }; } public function cleenUP_Actors():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < enemies.length) { if (((((enemies[_local1]) && ((enemies[_local1].visible == false)))) && (enemies[_local1].dead))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == enemies[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; enemies[_local1].clearActorObject(); if (enemies[_local1]){ if (enemies[_local1].parent){ enemies[_local1].parent.removeChild(enemies[_local1]); }; }; enemies.splice(_local1, 1); break; }; _local1++; }; } public function addBlasterProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new blasterProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function cleenUP_Prop():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < propObjects.length) { if (((propObjects[_local1]) && ((propObjects[_local1].visible == false)))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == propObjects[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; if (propObjects[_local1]){ if (propObjects[_local1].parent){ propObjects[_local1].parent.removeChild(propObjects[_local1]); }; }; propObjects.splice(_local1, 1); break; }; _local1++; }; } public function cleenUP_Proj():void{ var _local1:int; _local1 = 0; while (_local1 < projObjects.length) { if (((projObjects[_local1]) && ((projObjects[_local1].visible == false)))){ projObjects[_local1].clearDynObject(); if (projObjects[_local1]){ if (projObjects[_local1].parent){ projObjects[_local1].parent.removeChild(projObjects[_local1]); }; }; projObjects.splice(_local1, 1); break; }; _local1++; }; } public function addBlinkFX_OverLight2():void{ Game(parent).gameGUI.fxblink2.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink2.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink2.use_force_restart = true; Game(parent).gameGUI.fxblink2.startFadeOut(); } public function testIntersectLimiterOnScr(_arg1:dynObject):Boolean{ var _local2:int; _local2 = 0; while (_local2 < limitersOnScr.length) { if (((!(limitersOnScr[_local2].slimMode)) && (limitersOnScr[_local2].hitTestObject(_arg1)))){ return (true); }; _local2++; }; return (false); } public function addProp_Shotgun(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propShotgun(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function UpdateLimitersOnScr():void{ var _local1:int; var _local2:int; var _local3:*; var _local4:int; var _local5:Point; var _local6:Rectangle; var _local7:Rectangle; limitersOnScr = []; _local1 = int(((-(x) - minLimX) / limitersCacheStep)); _local2 = int((((-(x) + stage.stageWidth) - minLimX) / limitersCacheStep)); _local4 = _local1; while (_local4 <= _local2) { if (limitersCache[_local4]){ _local3 = 0; while (_local3 < limitersCache[_local4].length) { _local5 = this.localToGlobal(new Point(limitersCache[_local4][_local3].x, limitersCache[_local4][_local3].y)); _local6 = new Rectangle(_local5.x, _local5.y, limitersCache[_local4][_local3].width, limitersCache[_local4][_local3].height); _local7 = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local7.intersects(_local6)){ limitersOnScr.push(limitersCache[_local4][_local3]); }; _local3++; }; }; _local4++; }; } public function addFX_BloodLeak(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodLeak(); _local3.x = _arg1; _local3.y = _arg2; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function levScript(){ var _local1:int; if (((Game(parent).gameGUI.hlpControl.visible) && (!(Game(parent).gameGUI.hlpControl.fadingout)))){ if (curLevNum == 1){ if (Game(parent).gameGUI.hlpControl.currentFrame == 1){ if (((((((Controls.key[Keyboard.LEFT]) || (Controls.key[65]))) || (Controls.key[Keyboard.RIGHT]))) || (Controls.key[68]))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; } else { if (Game(parent).gameGUI.hlpControl.currentFrame == 2){ if (((Controls.key[Keyboard.UP]) || (Controls.key[87]))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; } else { if (Game(parent).gameGUI.hlpControl.currentFrame == 3){ if (Controls.mouseKey){ Game(parent).gameGUI.hlpControl.hideHelp(); }; } else { if (Game(parent).gameGUI.hlpControl.currentFrame == 4){ if (((Controls.key[Keyboard.DOWN]) || (Controls.key[83]))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; } else { if (Game(parent).gameGUI.hlpControl.currentFrame == 6){ if (((Controls.key[49]) || (Controls.key[50]))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; }; }; }; if (!sVar["triggerSecret1"]){ if (triggerSecret1.hitTestObject(hero)){ sVar["triggerSecret1"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["jumpInfoShow"]){ if (triggerJumpInformer.hitTestObject(hero)){ sVar["jumpInfoShow"] = true; Game(parent).gameGUI.hlpControl.showHelp(2); }; }; if (!sVar["aimShootInfoShow"]){ if (triggerAimShootInformer.hitTestObject(hero)){ sVar["aimShootInfoShow"] = true; Game(parent).gameGUI.hlpControl.showHelp(3); }; }; if (!sVar["crunchInfoShow"]){ if (triggerCrunchInformer.hitTestObject(hero)){ sVar["crunchInfoShow"] = true; Game(parent).gameGUI.hlpControl.showHelp(4); }; }; if (!sVar["triggerTedEatBrains"]){ if (triggerTedEatBrains.hitTestObject(hero)){ sVar["triggerTedEatBrains"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev1_TedBrain"); sVar["DlgTedBrainTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); }; } else { if (!sVar["DlgTedBrainEnd"]){ if (sVar["DlgTedBrainTimer"] == 0){ sVar["DlgTedBrainEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { var _local2 = sVar; var _local3 = "DlgTedBrainTimer"; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (Controls.keyNew[69]){ sVar["DlgTedBrainTimer"] = 0; }; }; }; }; if (!sVar["triggerTedMus"]){ if (triggerTedMus.hitTestObject(hero)){ sVar["triggerTedMus"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev1_TedMus"); sVar["DlgTedMusTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); levLeftLim = (triggerInjManCall.x + triggerInjManCall.width); levRightLim = limEndLevel.x; musicEnv.fadeTo("FatalDamage"); }; } else { if (!sVar["DlgTedMusEnd"]){ if ((((sVar["DlgTedMusTimer"] == 0)) || (sVar["crunchInfoShow"]))){ sVar["DlgTedMusEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { _local2 = sVar; _local3 = "DlgTedMusTimer"; _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (Controls.keyNew[69]){ sVar["DlgTedMusTimer"] = 0; }; }; }; }; if (!sVar["triggerInjManCall"]){ if (triggerInjManCall.hitTestObject(hero)){ sVar["triggerInjManCall"] = true; sounds.PlaySnd("helpIco"); }; } else { if (!sVar["triggerInjMan"]){ Game(parent).gameGUI.dlgIco.targetingObject(shotgunMan); } else { Game(parent).gameGUI.dlgIco.x = -500; }; }; if (!sVar["triggerInjMan"]){ if (triggerInjMan.hitTestObject(hero)){ sVar["triggerInjMan"] = true; levLeftLim = triggerInjManCall.x; levRightLim = (triggerInjManCall.x + triggerInjManCall.width); }; } else { if (!sVar["DlgInjManEnd"]){ if (sVar["DlgInjManTimer"] == 0){ if (sVar["DlgInjManState"] == 0){ _local1 = Game(parent).gameGUI.dlg.setTo("lev1_Ted01"); _local2 = sVar; _local3 = "DlgInjManState"; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; sVar["DlgInjManTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgInjManState"] == 1){ _local1 = Game(parent).gameGUI.dlg.setTo("lev1_InjMan01"); _local2 = sVar; _local3 = "DlgInjManState"; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; sVar["DlgInjManTimer"] = int((_local1 * dlgSpeedFactor)); } else { sVar["DlgInjManEnd"] = true; shotgunMan.play(); Game(parent).gameGUI.dlg.startFadeOut(); addProp_Shotgun((shotgunMan.x + (shotgunMan.width * 0.5)), (shotgunMan.y + (shotgunMan.height * 0.5))); }; }; } else { _local2 = sVar; _local3 = "DlgInjManTimer"; _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (Controls.keyNew[69]){ sVar["DlgInjManTimer"] = 0; }; }; }; }; if (!sVar["wepShotgunTaked"]){ if (hero.weapons[1].active){ sVar["wepShotgunTaked"] = true; levLeftLim = -999999; levRightLim = 999999; Game(parent).gameGUI.hlpControl.showHelp(6); }; }; if (((!(sVar["DlgTedKilledBoss"])) && ((((boss == null)) || ((boss.visible == false)))))){ sVar["DlgTedKilledBoss"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev1_TedDiff"); sVar["DlgTedDiffTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgTedKilledBoss"]){ if (!sVar["DlgTedDiffEnd"]){ if (sVar["DlgTedDiffTimer"] == 0){ sVar["DlgTedDiffEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { _local2 = sVar; _local3 = "DlgTedDiffTimer"; _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (Controls.keyNew[69]){ sVar["DlgTedDiffTimer"] = 0; }; }; }; }; }; if (((sVar["DlgTedDiffEnd"]) && (!(Game(parent).gameGUI.dlg.visible)))){ if (!isWin){ isWin = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToWin(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musWin"); return; }; }; } public function UpdateProjObjects():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < projObjects.length) { if (projObjects[_local1].visible == false){ } else { if (projObjects[_local1].gravityEnable){ projObjects[_local1].Velocity.y = (projObjects[_local1].Velocity.y + (grav * projObjects[_local1].gravityFactor)); projObjects[_local1].Velocity.y = ((projObjects[_local1].Velocity.y)>projObjects[_local1].maxSpeed.y) ? projObjects[_local1].maxSpeed.y : projObjects[_local1].Velocity.y; }; projObjects[_local1].updateDynObj(); if (!projObjects[_local1].fromGoodGuy){ if (((!(hero.dead)) && (hero.hitTestProj(projObjects[_local1])))){ if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { hero.transmitDamage(projObjects[_local1]); Game(parent).gameGUI.painFrame.startFadeOut(); }; }; } else { _local2 = 0; while (_local2 < enemies.length) { if (((!(enemies[_local2].dead)) && (enemies[_local2].hitTestProj(projObjects[_local1])))){ mainGlobal.shootingInEnemies++; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { enemies[_local2].transmitDamage(projObjects[_local1]); }; }; _local2++; }; }; if (ageMath.Distance(projObjects[_local1].x, projObjects[_local1].y, hero.x, hero.y) > 670){ projObjects[_local1].visible = false; }; if (testIntersectLimiterOnScr(projObjects[_local1])){ projObjects[_local1].visible = false; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; }; }; }; _local1++; }; } function frame1(){ initFirst = true; } public function cleenUP_FX():void{ var _local1:int; _local1 = 0; while (_local1 < fxObjects.length) { if (((fxObjects[_local1]) && ((fxObjects[_local1].visible == false)))){ if (fxObjects[_local1]){ if (fxObjects[_local1].parent){ fxObjects[_local1].parent.removeChild(fxObjects[_local1]); }; }; fxObjects.splice(_local1, 1); break; }; _local1++; }; } public function term(){ var _local1:int; removeEventListener(Event.ENTER_FRAME, Update); _local1 = 0; while (_local1 < enemies.length) { enemies[_local1].clearActorObject(); _local1++; }; _local1 = 0; while (_local1 < dynObjects.length) { dynObjects[_local1].clearDynObject(); _local1++; }; dynObjects = []; enemies = []; goodNPC = []; projObjects = []; paralaxObjects = []; chunkObjects = []; fxObjects = []; propObjects = []; addActorsArr = []; limitersCache = []; limitersOnScr = []; limiters = []; } public function testRayToLimiterOnScr(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean=false, _arg6:Object=null):ageVector{ var _local10:int; var _local11:ageVector; var _local12:Number; var _local13:ageVector; var _local14:Number; var _local7:ageVector; var _local8:ageVector = new ageVector(_arg1, _arg3); var _local9:Number = Number.MAX_VALUE; _local10 = 0; while (_local10 < limitersOnScr.length) { if (!limitersOnScr[_local10].slimMode){ _local11 = ageMath.getLineCrossRect(_arg1, _arg2, _arg3, _arg4, limitersOnScr[_local10].x, limitersOnScr[_local10].y, (limitersOnScr[_local10].x + limitersOnScr[_local10].width), (limitersOnScr[_local10].y + limitersOnScr[_local10].height)); if (_local11 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local11); _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local12 = ageMath.DistanceVec(_local8, _local11); if (_local12 < _local9){ _local9 = _local12; _local7.copy(_local11); }; }; }; }; _local10++; }; if (!_arg5){ return (_local7); }; _arg6.id = -1; _local10 = 0; while (_local10 < enemies.length) { if (enemies[_local10].dead){ } else { _local13 = enemies[_local10].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local13 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local13); _arg6.id = _local10; _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local14 = ageMath.DistanceVec(_local8, _local13); if (_local14 < _local9){ _local9 = _local14; _arg6.id = _local10; _local7.copy(_local13); }; }; }; }; _local10++; }; return (_local7); } public function addFX_Splatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxBloodSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Coin(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propCoin(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addProp_Dynamite(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propDynamite(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProp_MedKit(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new dropMedKit(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_Headshot(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxHeadshot(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function UpdatePropObjects():void{ var _local1:int; _local1 = 0; while (_local1 < propObjects.length) { if (propObjects[_local1].visible == false){ } else { if (ageMath.Distance(propObjects[_local1].x, propObjects[_local1].y, hero.x, hero.y) >= (stage.stageWidth * 1.6)){ } else { propObjects[_local1].x = (propObjects[_local1].x + propObjects[_local1].speed.x); if (propObjects[_local1].useRotateSpeed){ propObjects[_local1].body.rotation = (propObjects[_local1].body.rotation + propObjects[_local1].rotateSpeed); }; if ((((((((((((propObjects[_local1].propType == "Med")) || ((propObjects[_local1].propType == "Coin")))) || ((propObjects[_local1].propType == "Money")))) || ((propObjects[_local1].propType == "Weapon")))) || ((propObjects[_local1].propType == "Item")))) || ((propObjects[_local1].propType == "Ammo")))){ if (hero.hitTestObject(propObjects[_local1])){ if (propObjects[_local1].propType == "Ammo"){ if (hero.weapons[propObjects[_local1].wepNum].active){ if (hero.weapons[propObjects[_local1].wepNum].bulletsNum < hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].bulletsNum = (hero.weapons[propObjects[_local1].wepNum].bulletsNum + (hero.weapons[propObjects[_local1].wepNum].bulletsInCatrigeMax * propObjects[_local1].moneyAmount)); if (hero.weapons[propObjects[_local1].wepNum].bulletsNum > hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ hero.weapons[propObjects[_local1].wepNum].bulletsNum = hero.weapons[propObjects[_local1].wepNum].bulletsNumMax; }; sounds.PlaySnd((hero.weapons[propObjects[_local1].wepNum].type + "Reloaded")); }; }; } else { if (propObjects[_local1].propType == "Med"){ if (hero.life < hero.lifeMax){ propObjects[_local1].visible = false; hero.life = (hero.life + propObjects[_local1].moneyAmount); if (hero.life > hero.lifeMax){ hero.life = hero.lifeMax; }; sounds.PlaySnd("Med"); }; } else { if (propObjects[_local1].propType == "Item"){ propObjects[_local1].visible = false; hero.itemsInBag.push(propObjects[_local1].itemName); sounds.PlaySnd("itemTake"); } else { if (propObjects[_local1].propType == "Weapon"){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].active = true; hero.curWeaponNum = (propObjects[_local1].wepNum + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); } else { propObjects[_local1].visible = false; sounds.PlaySnd((propObjects[_local1].propType + "1")); hero.moneyCnt = (hero.moneyCnt + propObjects[_local1].moneyAmount); mainGlobal.moneyCollected = (mainGlobal.moneyCollected + propObjects[_local1].moneyAmount); }; }; }; }; }; }; }; }; _local1++; }; } public function addProp_Money2(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney2(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } function showGameMenu():void{ mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); Game(root).menuInGame.visible = true; Game(root).gameGUI.startFadeOut(); Game(root).menuInGame.startFadeIn(); } public function addProp_Money1(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney1(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addProj_Psy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new psyProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; _local6.gravityComp = false; _local6.infAmmo = true; _local6.usePsyDamage = true; _local6.psyDamageVal = 16; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_MinigunBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projMinigunBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:Object = {id:-1}; var _local12:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4, true, _local11); if (_local12 != null){ _arg3 = _local12.x; _arg4 = _local12.y; if (_local11.id != -1){ mainGlobal.shootingInEnemies++; addLineDamageToEnemy(_local12, _arg5.damage, enemies[_local11.id], true); }; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; var _local13:Array = new Array(); _local13.push(new GlowFilter(0xFFFF00, 1, 15, 15, 4, BitmapFilterQuality.MEDIUM)); _local6.filters = _local13; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addProj_LaserBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projLaserBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4); if (_local11 != null){ _arg3 = _local11.x; _arg4 = _local11.y; }; if (addLineDamage(_arg1, _arg2, _arg3, _arg4, _arg5.damage)){ mainGlobal.shootingInEnemies++; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; _local6.use_force_restart = true; _local6.fadeSpeed = 0.1; _local6.startFadeOut(); _local6.gravityEnable = false; var _local12:Array = new Array(); _local12.push(new GlowFilter(0xFF0000, 1, 15, 15, 1.7, BitmapFilterQuality.MEDIUM)); _local6.filters = _local12; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addFX_littleBlast(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; addBlinkFX_OverLight(); _local4 = new fxBlast(); _local4.x = _arg1; _local4.y = _arg2; _local4.blendMode = BlendMode.SCREEN; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBullet(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, 24); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_Debris(_arg1:Number, _arg2:Number, _arg3:Number=1, _arg4:String=""):propObject{ var _local5:propObject; _local5 = new propDebris(); _local5.x = _arg1; _local5.y = _arg2; _local5.speed.y = (ageMath.Random(-6, -18) * _arg3); _local5.speed.x = (ageMath.Random(-10, 10) * _arg3); if (_arg4.length){ _local5.gotoAndStop(_arg4); } else { _local5.gotoAndStop(ageMath.RandomInt(1, 20)); }; _local5.curLevel = this; dynObjects.push(_local5); propObjects.push(_local5); _local5.isRubber = true; _local5.stayTime = (3000 + ageMath.RandomInt(1, 2000)); _local5.timerStayDelay.start(); _local5.useRotateSpeed = true; _local5.rotateSpeed = ageMath.RandomInt(-15, 15); propLayer.addChild(_local5); return (_local5); } public function addProj_BombWep(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBombWep(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_Rocket(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projRocket(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function ifMCOnScreen(_arg1:MovieClip):Boolean{ var _local2:Point = this.localToGlobal(new Point(_arg1.x, _arg1.y)); var _local3:Rectangle = _arg1.getBounds(root); var _local4:Rectangle = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local4.intersects(_local3)){ return (true); }; return (false); } public function addLimiter(_arg1){ limiters.push(_arg1); } public function alignObjXToAnother(_arg1, _arg2):void{ if ((_arg1.x - (_arg1.width * 0.5)) < _arg2.x){ _arg1.x = (_arg1.x + (_arg2.x - (_arg1.x - (_arg1.width * 0.5)))); }; if ((_arg1.x + (_arg1.width * 0.5)) > (_arg2.x + _arg2.width)){ _arg1.x = (_arg1.x - ((_arg1.x + (_arg1.width * 0.5)) - (_arg2.x + _arg2.width))); }; } public function levInit(){ mainGlobal.secretsAll = 1; curLevNum = 1; curLevScore = 2500; levelMus = "musGlory"; musicEnv.fadeTo(levelMus); Game(parent).gameGUI.hlpControl.showHelp(1); sVar["jumpInfoShow"] = false; sVar["aimShootInfoShow"] = false; sVar["crunchInfoShow"] = false; sVar["triggerInjManCall"] = false; sVar["triggerInjMan"] = false; sVar["DlgInjManState"] = 0; sVar["DlgInjManTimer"] = 0; sVar["DlgInjManEnd"] = false; sVar["DlgTedMusTimer"] = 0; sVar["DlgTedMusEnd"] = false; sVar["triggerTedEatBrains"] = false; sVar["DlgTedBrainTimer"] = 0; sVar["DlgTedBrainEnd"] = false; sVar["triggerTedMus"] = false; sVar["DlgTedDiffTimer"] = 0; sVar["DlgTedDiffEnd"] = false; sVar["DlgTedKilledBoss"] = false; sVar["wepShotgunTaked"] = false; sVar["triggerSecret1"] = false; levRightLim = ((triggerInjManCall.x + triggerInjManCall.width) + 200); } public function addExplotion(_arg1:projObject, _arg2:actorObject=null):void{ var _local3:Number; var _local5:int; _local3 = ageMath.Distance(_arg1.x, _arg1.y, hero.x, hero.y); var _local4:projObject = new projObject(); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = hero.x; _local4.y = (hero.y - (hero.height / 2)); _local4.fromGoodGuy = false; hero.transmitDamage(_local4); Game(parent).gameGUI.painFrame.startFadeOut(); _local4.clearDynObject(); }; _local5 = 0; while (_local5 < enemies.length) { if (((((enemies[_local5].dead) && (!((_arg2 == null))))) && (!((_arg2 == enemies[_local5]))))){ } else { _local3 = ageMath.Distance(_arg1.x, _arg1.y, enemies[_local5].x, enemies[_local5].y); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = enemies[_local5].x; _local4.y = (enemies[_local5].y - (enemies[_local5].height / 2)); _local4.fromGoodGuy = true; enemies[_local5].transmitDamage(_local4); _local4.clearDynObject(); }; }; _local5++; }; } public function addActor(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=-1):actorObject{ var _local6:actorObject; if (_arg1 == "AlienSaw"){ _local6 = new AlienSaw(); } else { if (_arg1 == "AlienHunter"){ _local6 = new AlienHunter(); } else { if (_arg1 == "AlienElectro"){ _local6 = new AlienElectro(); } else { if (_arg1 == "Zomb01"){ _local6 = new Zomb01(); } else { if (_arg1 == "Zomb02"){ _local6 = new Zomb02(); } else { if (_arg1 == "Zomb03"){ _local6 = new Zomb03(); } else { if (_arg1 == "Zomb04"){ _local6 = new Zomb04(); } else { if (_arg1 == "Zomb05"){ _local6 = new Zomb05(); } else { if (_arg1 == "Zomb01Run"){ _local6 = new Zomb01Run(); } else { if (_arg1 == "Zomb02Run"){ _local6 = new Zomb02Run(); } else { if (_arg1 == "Zomb03Run"){ _local6 = new Zomb03Run(); } else { if (_arg1 == "Zomb04Run"){ _local6 = new Zomb04Run(); } else { if (_arg1 == "Zomb05Run"){ _local6 = new Zomb05Run(); } else { if (_arg1 == "Zomb01Vomit"){ _local6 = new Zomb01Vomit(); } else { if (_arg1 == "Zomb02Vomit"){ _local6 = new Zomb02Vomit(); } else { if (_arg1 == "Zomb03Vomit"){ _local6 = new Zomb03Vomit(); } else { if (_arg1 == "Zomb04Vomit"){ _local6 = new Zomb04Vomit(); } else { if (_arg1 == "Zomb05Vomit"){ _local6 = new Zomb05Vomit(); } else { if (_arg1 == "Spider"){ _local6 = new Spider(); } else { if (_arg1 == "AlienBomber"){ _local6 = new AlienBomber(); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; _local6.x = _arg3; _local6.y = _arg4; _local6.name = _arg2; if (!_local6.noStatEnemy){ mainGlobal.enemiesAll++; }; if (_arg5 < 0){ addChild(_local6); } else { addChildAt(_local6, _arg5); }; return (_local6); } public function addProp_minigunAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMinigunAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_BlastWave(_arg1:Number, _arg2:Number, _arg3:Number=1){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxBlastWave(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function Update(_arg1:Event):void{ var _local5:int; var _local6:*; var _local7:*; var _local11:int; var _local12:addActorStruct; var _local13:int; var _local14:Number; var _local15:Array; var _local16:ColorMatrix; if (isWin){ hero.body.stop(); return; }; if (((((mainGlobal.paused) || (!(visible)))) || (!((parent as Game))))){ return; }; if ((((hero.life <= 0)) && (!(isLose)))){ isLose = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToLose(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musLose"); sounds.PlaySnd(("TedDie" + ageMath.RandomInt(1, 2).toString()), 0.8); return; }; if (initFirst){ if (((!(mainGlobal.configMusicOn)) && (!(mainGlobal.configSoundOn)))){ Game(parent).gamButSnd.gotoAndStop(2); } else { Game(parent).gamButSnd.gotoAndStop(1); }; initFirst = false; initLimCache(); Game(parent).fadeBG.fadeSpeed = 0.03; Game(parent).fadeBG.use_force_restart = true; Game(parent).fadeBG.startFadeOut(); Game(parent).gameGUI.hlpControl.visible = false; Game(parent).gameGUI.dlg.visible = false; Game(parent).gameGUI.dlgIco.x = -500; _local6 = (hero.x * this.scaleX); _local7 = ((hero.y - 95) * this.scaleY); x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); mainGlobal.initStat(); _local11 = 0; _local11 = 0; while (_local11 < enemies.length) { if (!enemies[_local11].noStatEnemy){ mainGlobal.enemiesAll++; }; _local11++; }; Game(parent).sky.visible = true; levInit(); if (mainGlobal.isSingleEp){ if (curLevNum == 1){ _local5 = 0; while (_local5 < 1) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 0; } else { if (curLevNum == 2){ _local5 = 0; while (_local5 < 2) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 200; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 3){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 4){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1300; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 5){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 6){ _local5 = 0; while (_local5 < 4) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 2000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 7){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 8){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; } else { if (curLevNum == 9){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; } else { if (curLevNum == 10){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; }; }; }; }; }; }; }; }; }; }; }; Game(parent).gameGUI.dlgIco.gotoAndStop(1); }; var _local2:int = getTimer(); cleenUP(); UpdateLimitersOnScr(); UpdateParalaxObjects(); UpdateDynObjects(); UpdatePropObjects(); UpdateEnemies(); UpdateProjObjects(); hero.updateActor(); hero.applyDamages(); hero.testIsActorDead(); if (addActorsArr.length){ while (addActorsArr.length) { _local12 = addActorsArr.pop(); addActor(_local12.strClass, "", _local12.posx, _local12.posy, _local12.orderZ); }; }; var _local3:int; _local3 = 0; while (_local3 < chunkObjects.length) { if (ifMCOnScreen(chunkObjects[_local3])){ chunkObjects[_local3].visible = true; } else { chunkObjects[_local3].visible = false; }; _local3++; }; levScript(); var _local4:Boolean; if (Controls.key[Keyboard.F2]){ hero.life = 1; }; if (Controls.key[Keyboard.ESCAPE]){ showGameMenu(); }; if (!hero.timerReloadDelay.running){ _local13 = 0; while (_local13 < 8) { if (((((Controls.key[(49 + _local13)]) && (!((hero.curWeaponNum == (_local13 + 1)))))) && (hero.weapons[_local13].active))){ hero.curWeaponNum = (_local13 + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); }; _local13++; }; }; if (Game(root).cursor.currentLabel == "cross"){ _local14 = ageMath.Distance(hero.x, hero.y, (Controls.mousePosX - x), (Controls.mousePosY - y)); Game(root).cursor.shootAcc.scaleX = (Game(root).cursor.shootAcc.scaleY = ((hero.wepAcc * _local14) / hero.weapons[(hero.curWeaponNum - 1)].accDistScale)); }; _local5 = 0; _local5 = 0; while (_local5 < 8) { if (((hero.weapons[_local5]) && (hero.weapons[_local5].active))){ if ((((hero.weapons[_local5].bulletsInCatrige == 0)) && ((hero.weapons[_local5].bulletsNum == 0)))){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 2){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 2; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(-124); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (hero.curWeaponNum != (_local5 + 1)){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 1){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 1; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 3){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 3; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(87); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 4){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 4; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 0.5; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; _local5++; }; Game(parent).gameGUI.wepInfo.catTxt.text = ((hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrige + "/") + hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrigeMax); if (!hero.weapons[(hero.curWeaponNum - 1)].infAmmo){ Game(parent).gameGUI.wepInfo.allTxt.text = hero.weapons[(hero.curWeaponNum - 1)].bulletsNum; } else { Game(parent).gameGUI.wepInfo.allTxt.text = "INF"; }; Game(parent).gameGUI.wepInfo.pic.gotoAndStop((hero.curWeaponNum + 4)); if ((hero.x - (hero.width * 0.5)) < levLeftLim){ hero.x = (levLeftLim + (hero.width * 0.5)); } else { if ((hero.x + (hero.width * 0.5)) > levRightLim){ hero.x = (levRightLim - (hero.width * 0.5)); }; }; _local6 = ageMath.Lerp((Controls.mousePosX - x), (hero.x * scaleX), 0.6); _local7 = ageMath.Lerp((Controls.mousePosY - y), ((hero.y - 95) * scaleY), 0.6); if (!_local4){ x = Math.round(ageMath.Lerp(x, -((_local6 - (stage.stageWidth * 0.5))), 0.15)); y = Math.round(ageMath.Lerp(y, -((_local7 - (stage.stageHeight * 0.5))), 0.15)); } else { x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); }; if (this["blackScr"]){ this["blackScr"].x = -(x); this["blackScr"].y = -(y); }; var _local8:Point = this.localToGlobal(new Point(levLeftLim, 0)); var _local9:Point = this.localToGlobal(new Point(levRightLim, 0)); if (_local8.x > 0){ x = (x - _local8.x); } else { if (_local9.x < stage.stageWidth){ x = (x + (stage.stageWidth - _local9.x)); }; }; if (curBlastShake > 0){ x = (x + ageMath.Random(-(curBlastShake), curBlastShake)); y = (y + ageMath.Random(-(curBlastShake), curBlastShake)); curBlastShake = (curBlastShake - curBlastShakeDec); if (curBlastShake < 0){ curBlastShake = 0; }; }; Game(parent).gameGUI.lifeBar.gotoAndStop(Math.round(ageMath.RemapVal(Math.round(hero.life), 1, hero.lifeMax, 1, 100))); Game(parent).gameGUI.lifeBar.width = ageMath.RemapVal(Math.round(hero.lifeMax), 100, 300, 108, 227); Game(parent).gameGUI.txtMoney.text = ("$" + hero.moneyCnt); var _local10:int; _local10 = 0; while (_local10 < 6) { if (hero.itemsInBag[_local10]){ Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(hero.itemsInBag[_local10]); } else { Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(1); }; _local10++; }; if (hero.bioMaxLevel > 0){ Game(parent).gameGUI.hazBio.visible = true; Game(parent).gameGUI.hazBio.gotoAndStop((100 - int(ageMath.RemapVal(hero.bioCurLevel, 0, hero.bioMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazBio.visible = false; }; if (hero.psyMaxLevel > 0){ Game(parent).gameGUI.hazPsy.visible = true; Game(parent).gameGUI.hazPsy.gotoAndStop((100 - int(ageMath.RemapVal(hero.psyCurLevel, 0, hero.psyMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazPsy.visible = false; }; if (hero.electroMaxLevel > 0){ Game(parent).gameGUI.hazElectro.visible = true; Game(parent).gameGUI.hazElectro.gotoAndStop((100 - int(ageMath.RemapVal(hero.electroCurLevel, 0, hero.electroMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazElectro.visible = false; }; Controls.updateKeyNew(); if (Game(parent).groundBG){ Game(parent).groundBG.changeBG(x, y); }; } public function addProp_Blaster(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlaster(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function UpdateEnemies():void{ var _local1:int; _local1 = 0; while (_local1 < enemies.length) { if (((enemies[_local1].dead) || ((enemies[_local1].life <= 0)))){ } else { if (((((!((enemies[_local1].parent as Level))) || (enemies[_local1].alwaysSeeEnemy))) || ((ageMath.Distance(enemies[_local1].x, enemies[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6))))){ enemies[_local1].updateActorEnemy(); }; }; _local1++; }; } public function addProj_Vomit(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projVomit(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.timerFXAdd.delay = 80; _local6.timerFXAdd.start(); _local6.fxFunc = addFX_VomitSplatters; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = true; _local6.gravityComp = true; _local6.infAmmo = true; _local6.useBioDamage = true; _local6.bioDamageVal = 10; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_blasterAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlasterAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } } }//package main
Section 78
//Level10 (main.Level10) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.ui.*; public dynamic class Level10 extends Level { public var triggerBottomBorder:MovieClip; var levRightLim:Number;// = 999999 public var seeder1:MovieClip; var dlgSpeedFactor:Number;// = 4 var lastMSFrame:int;// = 9999 public var leveler1:MovieClip; var levLeftLim:Number;// = -999999 public var enemies:Array; public var propObjects:Array; public var minLimX:Number;// = 2147483647 public var maxLimX:Number;// = -2147483648 var curBlastShake:Number;// = 0 var isWin:Boolean;// = false public var dynObjects:Array; var isLose:Boolean;// = false var grav:Number;// = 1 public var boss:AlienBigBoss; public var limitersCache:Array; public var leveler1Trigger:MovieClip; public var triggerUpgrade1:MovieClip; var initFirst:Boolean;// = false var curLevNum:int;// = 1 public var triggerRightBorder:MovieClip; public var FXLayer:MovieClip; var levelMus:String;// = "" public var triggerSecret1:MovieClip; public var propLayer:MovieClip; var sVar:Object; public var limitersOnScr:Array; public var addActorsArr:Array; public var limiters:Array; public var triggerBossBorder:MovieClip; var curLevScore:int;// = 3000 public var paralaxObjects:Array; var curBlastShakeDec:Number;// = 0.3 public var hatch1Lim:MovieClip; public var fxObjects:Array; public var limitersCacheStep:int;// = 640 public var goodNPC:Array; public var chunkObjects:Array; var curScale:Number;// = 1 public var triggerLeftBorder:MovieClip; public var hatch1:MovieClip; public var projObjects:Array; public var hero:MovieClip; public var projLayer:MovieClip; public function Level10(){ sVar = new Object(); limiters = new Array(); limitersCache = new Array(); limitersOnScr = new Array(); dynObjects = new Array(); enemies = new Array(); goodNPC = new Array(); paralaxObjects = new Array(); projObjects = new Array(); chunkObjects = new Array(); fxObjects = new Array(); propObjects = new Array(); addActorsArr = new Array(); super(); addFrameScript(0, frame1); init(); } public function addFX_VomitSplatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxVomitSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function initLimCache(){ var _local1:*; var _local2:int; var _local3:int; var _local4:int; maxLimX = int.MIN_VALUE; minLimX = int.MAX_VALUE; _local1 = 0; while (_local1 < limiters.length) { if (limiters[_local1].x < minLimX){ minLimX = limiters[_local1].x; }; if ((limiters[_local1].x + limiters[_local1].width) > maxLimX){ maxLimX = limiters[_local1].x; }; _local1++; }; limitersCache = []; _local1 = 0; while (_local1 < (((maxLimX - minLimX) / limitersCacheStep) + 1)) { limitersCache.push(new Array()); _local1++; }; _local1 = 0; while (_local1 < limiters.length) { _local3 = int(((limiters[_local1].x - minLimX) / limitersCacheStep)); _local4 = int((((limiters[_local1].x + limiters[_local1].width) - minLimX) / limitersCacheStep)); _local2 = _local3; while (_local2 <= _local4) { if (!limitersCache[_local2]){ limitersCache[_local2] = new Array(); }; limitersCache[_local2].push(limiters[_local1]); _local2++; }; _local1++; }; } public function addLineDamage(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Boolean{ var _local6:Number; var _local8:int; var _local9:ageVector; var _local7:Boolean; _local8 = 0; while (_local8 < enemies.length) { if (enemies[_local8].dead){ } else { _local9 = enemies[_local8].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local9 != null){ addLineDamageToEnemy(_local9, _arg5, enemies[_local8], true); _local7 = true; }; }; _local8++; }; return (_local7); } public function checkHitPlatform(_arg1, _arg2:Array){ var _local3:int; _arg1.bottomLimiter = null; _local3 = 0; while (_local3 < _arg2.length) { if (((_arg2[_local3].slimMode) && ((_arg1.speed.y < 0)))){ } else { if (_arg2[_local3].hitTestObject(_arg1.p2)){ _arg1.jump = false; if (_arg1.isRubber){ _arg1.speed.y = (_arg1.speed.y * -(_arg1.rubberFactor)); _arg1.speed.x = (_arg1.speed.x * _arg1.rubberFactor); if (_arg1.useRotateSpeed){ _arg1.rotateSpeed = 0; }; } else { _arg1.speed.y = 0; }; _arg1.y = ((_arg2[_local3].y - _arg1.p2.y) - _arg1.p2.height); _arg1.bottomLimiter = _arg2[_local3]; } else { if (((_arg2[_local3].hitTestObject(_arg1.p1)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = (_arg2[_local3].x - (_arg1.p1.x + _arg1.p1.width)); } else { _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) + (_arg1.p1.x + _arg1.p1.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p3)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) - _arg1.p3.x); } else { _arg1.x = (_arg2[_local3].x - (-(_arg1.p3.x) + _arg1.p3.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p4)) && (!(_arg2[_local3].slimMode)))){ _arg1.speed.y = 0; _arg1.y = ((_arg2[_local3].y + _arg2[_local3].height) - _arg1.p4.y); }; }; }; }; }; _local3++; }; } public function openUpgradeMenu():void{ mainGlobal.paused = true; this.visible = false; Game(root).cursor.gotoAndStop("arrow"); Game(parent).menuUpgradeShop.showShop(); musicEnv.fadeTo("musUpgrade"); } public function Update(_arg1:Event):void{ var _local5:int; var _local6:*; var _local7:*; var _local11:int; var _local12:addActorStruct; var _local13:int; var _local14:Number; var _local15:Array; var _local16:ColorMatrix; if (isWin){ hero.body.stop(); return; }; if (((((mainGlobal.paused) || (!(visible)))) || (!((parent as Game))))){ return; }; if ((((hero.life <= 0)) && (!(isLose)))){ isLose = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToLose(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musLose"); sounds.PlaySnd(("TedDie" + ageMath.RandomInt(1, 2).toString()), 0.8); return; }; if (initFirst){ if (((!(mainGlobal.configMusicOn)) && (!(mainGlobal.configSoundOn)))){ Game(parent).gamButSnd.gotoAndStop(2); } else { Game(parent).gamButSnd.gotoAndStop(1); }; initFirst = false; initLimCache(); Game(parent).fadeBG.fadeSpeed = 0.03; Game(parent).fadeBG.use_force_restart = true; Game(parent).fadeBG.startFadeOut(); Game(parent).gameGUI.hlpControl.visible = false; Game(parent).gameGUI.dlg.visible = false; Game(parent).gameGUI.dlgIco.x = -500; _local6 = (hero.x * this.scaleX); _local7 = ((hero.y - 95) * this.scaleY); x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); mainGlobal.initStat(); _local11 = 0; _local11 = 0; while (_local11 < enemies.length) { if (!enemies[_local11].noStatEnemy){ mainGlobal.enemiesAll++; }; _local11++; }; Game(parent).sky.visible = true; levInit(); if (mainGlobal.isSingleEp){ if (curLevNum == 1){ _local5 = 0; while (_local5 < 1) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 0; } else { if (curLevNum == 2){ _local5 = 0; while (_local5 < 2) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 200; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 3){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 4){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1300; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 5){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 6){ _local5 = 0; while (_local5 < 4) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 2000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 7){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 8){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; } else { if (curLevNum == 9){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; } else { if (curLevNum == 10){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; }; }; }; }; }; }; }; }; }; }; }; Game(parent).gameGUI.dlgIco.gotoAndStop(1); }; var _local2:int = getTimer(); cleenUP(); UpdateLimitersOnScr(); UpdateParalaxObjects(); UpdateDynObjects(); UpdatePropObjects(); UpdateEnemies(); UpdateProjObjects(); hero.updateActor(); hero.applyDamages(); hero.testIsActorDead(); if (addActorsArr.length){ while (addActorsArr.length) { _local12 = addActorsArr.pop(); addActor(_local12.strClass, "", _local12.posx, _local12.posy, _local12.orderZ); }; }; var _local3:int; _local3 = 0; while (_local3 < chunkObjects.length) { if (ifMCOnScreen(chunkObjects[_local3])){ chunkObjects[_local3].visible = true; } else { chunkObjects[_local3].visible = false; }; _local3++; }; levScript(); var _local4:Boolean; if (Controls.key[Keyboard.F2]){ hero.life = 1; }; if (Controls.key[Keyboard.ESCAPE]){ showGameMenu(); }; if (!hero.timerReloadDelay.running){ _local13 = 0; while (_local13 < 8) { if (((((Controls.key[(49 + _local13)]) && (!((hero.curWeaponNum == (_local13 + 1)))))) && (hero.weapons[_local13].active))){ hero.curWeaponNum = (_local13 + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); }; _local13++; }; }; if (Game(root).cursor.currentLabel == "cross"){ _local14 = ageMath.Distance(hero.x, hero.y, (Controls.mousePosX - x), (Controls.mousePosY - y)); Game(root).cursor.shootAcc.scaleX = (Game(root).cursor.shootAcc.scaleY = ((hero.wepAcc * _local14) / hero.weapons[(hero.curWeaponNum - 1)].accDistScale)); }; _local5 = 0; _local5 = 0; while (_local5 < 8) { if (((hero.weapons[_local5]) && (hero.weapons[_local5].active))){ if ((((hero.weapons[_local5].bulletsInCatrige == 0)) && ((hero.weapons[_local5].bulletsNum == 0)))){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 2){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 2; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(-124); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (hero.curWeaponNum != (_local5 + 1)){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 1){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 1; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 3){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 3; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(87); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 4){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 4; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 0.5; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; _local5++; }; Game(parent).gameGUI.wepInfo.catTxt.text = ((hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrige + "/") + hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrigeMax); if (!hero.weapons[(hero.curWeaponNum - 1)].infAmmo){ Game(parent).gameGUI.wepInfo.allTxt.text = hero.weapons[(hero.curWeaponNum - 1)].bulletsNum; } else { Game(parent).gameGUI.wepInfo.allTxt.text = "INF"; }; Game(parent).gameGUI.wepInfo.pic.gotoAndStop((hero.curWeaponNum + 4)); if ((hero.x - (hero.width * 0.5)) < levLeftLim){ hero.x = (levLeftLim + (hero.width * 0.5)); } else { if ((hero.x + (hero.width * 0.5)) > levRightLim){ hero.x = (levRightLim - (hero.width * 0.5)); }; }; _local6 = ageMath.Lerp((Controls.mousePosX - x), (hero.x * scaleX), 0.6); _local7 = ageMath.Lerp((Controls.mousePosY - y), ((hero.y - 95) * scaleY), 0.6); if (!_local4){ x = Math.round(ageMath.Lerp(x, -((_local6 - (stage.stageWidth * 0.5))), 0.15)); y = Math.round(ageMath.Lerp(y, -((_local7 - (stage.stageHeight * 0.5))), 0.15)); } else { x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); }; if (this["blackScr"]){ this["blackScr"].x = -(x); this["blackScr"].y = -(y); }; var _local8:Point = this.localToGlobal(new Point(levLeftLim, 0)); var _local9:Point = this.localToGlobal(new Point(levRightLim, 0)); if (_local8.x > 0){ x = (x - _local8.x); } else { if (_local9.x < stage.stageWidth){ x = (x + (stage.stageWidth - _local9.x)); }; }; if (curBlastShake > 0){ x = (x + ageMath.Random(-(curBlastShake), curBlastShake)); y = (y + ageMath.Random(-(curBlastShake), curBlastShake)); curBlastShake = (curBlastShake - curBlastShakeDec); if (curBlastShake < 0){ curBlastShake = 0; }; }; Game(parent).gameGUI.lifeBar.gotoAndStop(Math.round(ageMath.RemapVal(Math.round(hero.life), 1, hero.lifeMax, 1, 100))); Game(parent).gameGUI.lifeBar.width = ageMath.RemapVal(Math.round(hero.lifeMax), 100, 300, 108, 227); Game(parent).gameGUI.txtMoney.text = ("$" + hero.moneyCnt); var _local10:int; _local10 = 0; while (_local10 < 6) { if (hero.itemsInBag[_local10]){ Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(hero.itemsInBag[_local10]); } else { Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(1); }; _local10++; }; if (hero.bioMaxLevel > 0){ Game(parent).gameGUI.hazBio.visible = true; Game(parent).gameGUI.hazBio.gotoAndStop((100 - int(ageMath.RemapVal(hero.bioCurLevel, 0, hero.bioMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazBio.visible = false; }; if (hero.psyMaxLevel > 0){ Game(parent).gameGUI.hazPsy.visible = true; Game(parent).gameGUI.hazPsy.gotoAndStop((100 - int(ageMath.RemapVal(hero.psyCurLevel, 0, hero.psyMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazPsy.visible = false; }; if (hero.electroMaxLevel > 0){ Game(parent).gameGUI.hazElectro.visible = true; Game(parent).gameGUI.hazElectro.gotoAndStop((100 - int(ageMath.RemapVal(hero.electroCurLevel, 0, hero.electroMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazElectro.visible = false; }; Controls.updateKeyNew(); if (Game(parent).groundBG){ Game(parent).groundBG.changeBG(x, y); }; } public function addFX_littleSmoke(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxLittleSmoke(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function init(){ addEventListener(Event.ENTER_FRAME, Update, false, 0, true); } function mouseLeave(_arg1:Event):void{ showGameMenu(); } public function UpdateParalaxObjects():void{ var _local1:int; _local1 = 0; while (_local1 < paralaxObjects.length) { paralaxObjects[_local1].x = (paralaxObjects[_local1].saveX - ageMath.RemapVal((paralaxObjects[_local1].saveX + x), 0, stage.stageWidth, 0, paralaxObjects[_local1].paralaxX)); paralaxObjects[_local1].y = (paralaxObjects[_local1].saveY - ageMath.RemapVal((paralaxObjects[_local1].saveY + y), 0, stage.stageHeight, 0, paralaxObjects[_local1].paralaxY)); _local1++; }; } public function addBlinkFX_OverLight():void{ Game(parent).gameGUI.fxblink.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink.use_force_restart = true; Game(parent).gameGUI.fxblink.startFadeOut(); curBlastShake = 15; } public function UpdateDynObjects():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; _local1 = 0; while (_local1 < dynObjects.length) { if (dynObjects[_local1].visible == false){ } else { if (ageMath.Distance(dynObjects[_local1].x, dynObjects[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6)){ if (dynObjects[_local1].gravityEnable){ dynObjects[_local1].speed.y = (dynObjects[_local1].speed.y + (grav * dynObjects[_local1].gravityFactor)); }; dynObjects[_local1].speed.y = ((dynObjects[_local1].speed.y)>dynObjects[_local1].maxSpeed.y) ? dynObjects[_local1].maxSpeed.y : dynObjects[_local1].speed.y; dynObjects[_local1].y = (dynObjects[_local1].y + dynObjects[_local1].speed.y); if (dynObjects[_local1].collisionEnable){ _local2 = int((((dynObjects[_local1].x - dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local3 = int((((dynObjects[_local1].x + dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local4 = _local2; while (_local4 <= _local3) { if (((limitersCache[_local4]) && (limitersCache[_local4].length))){ checkHitPlatform(dynObjects[_local1], limitersCache[_local4]); }; _local4++; }; }; }; }; _local1++; }; } public function cleenUP():void{ cleenUP_FX(); cleenUP_Proj(); cleenUP_Prop(); cleenUP_Actors(); } public function addLineDamageToEnemy(_arg1:ageVector, _arg2:Number, _arg3:actorObject, _arg4:Boolean){ var _local5:projObject = new projObject(); _local5.damage = _arg2; _local5.x = _arg1.x; _local5.y = _arg1.y; _local5.fromGoodGuy = _arg4; _arg3.transmitDamage(_local5); _local5.clearDynObject(); } public function addFX_BloodOnGround(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodOnGround(); _local3.x = _arg1; _local3.y = _arg2; _local3.gotoAndStop(ageMath.RandomInt(1, 5)); _local3.scaleY = 0.5; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function cleenUP_Proj():void{ var _local1:int; _local1 = 0; while (_local1 < projObjects.length) { if (((projObjects[_local1]) && ((projObjects[_local1].visible == false)))){ projObjects[_local1].clearDynObject(); if (projObjects[_local1]){ if (projObjects[_local1].parent){ projObjects[_local1].parent.removeChild(projObjects[_local1]); }; }; projObjects.splice(_local1, 1); break; }; _local1++; }; } public function cleenUP_Actors():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < enemies.length) { if (((((enemies[_local1]) && ((enemies[_local1].visible == false)))) && (enemies[_local1].dead))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == enemies[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; enemies[_local1].clearActorObject(); if (enemies[_local1]){ if (enemies[_local1].parent){ enemies[_local1].parent.removeChild(enemies[_local1]); }; }; enemies.splice(_local1, 1); break; }; _local1++; }; } public function addBlasterProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new blasterProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function cleenUP_Prop():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < propObjects.length) { if (((propObjects[_local1]) && ((propObjects[_local1].visible == false)))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == propObjects[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; if (propObjects[_local1]){ if (propObjects[_local1].parent){ propObjects[_local1].parent.removeChild(propObjects[_local1]); }; }; propObjects.splice(_local1, 1); break; }; _local1++; }; } public function addBlinkFX_OverLight2():void{ Game(parent).gameGUI.fxblink2.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink2.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink2.use_force_restart = true; Game(parent).gameGUI.fxblink2.startFadeOut(); } public function testIntersectLimiterOnScr(_arg1:dynObject):Boolean{ var _local2:int; _local2 = 0; while (_local2 < limitersOnScr.length) { if (((!(limitersOnScr[_local2].slimMode)) && (limitersOnScr[_local2].hitTestObject(_arg1)))){ return (true); }; _local2++; }; return (false); } public function addProp_Shotgun(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propShotgun(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function UpdateLimitersOnScr():void{ var _local1:int; var _local2:int; var _local3:*; var _local4:int; var _local5:Point; var _local6:Rectangle; var _local7:Rectangle; limitersOnScr = []; _local1 = int(((-(x) - minLimX) / limitersCacheStep)); _local2 = int((((-(x) + stage.stageWidth) - minLimX) / limitersCacheStep)); _local4 = _local1; while (_local4 <= _local2) { if (limitersCache[_local4]){ _local3 = 0; while (_local3 < limitersCache[_local4].length) { _local5 = this.localToGlobal(new Point(limitersCache[_local4][_local3].x, limitersCache[_local4][_local3].y)); _local6 = new Rectangle(_local5.x, _local5.y, limitersCache[_local4][_local3].width, limitersCache[_local4][_local3].height); _local7 = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local7.intersects(_local6)){ limitersOnScr.push(limitersCache[_local4][_local3]); }; _local3++; }; }; _local4++; }; } public function addFX_BloodLeak(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodLeak(); _local3.x = _arg1; _local3.y = _arg2; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function levScript(){ var _local1:int; var _local2:Point; if (!sVar["triggerUpgrade1"]){ if (triggerUpgrade1.hitTestObject(hero)){ if (((Controls.keyNew[Keyboard.ENTER]) || (Controls.keyNew[69]))){ openUpgradeMenu(); }; if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(5); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; } else { if (!leveler1Trigger.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 5)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; if (!sVar["triggerSecret1"]){ if (triggerSecret1.hitTestObject(hero)){ sVar["triggerSecret1"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["leveler1Trigger"]){ if (leveler1Trigger.hitTestObject(hero)){ if (hero.isItemExist("lever")){ sVar["leveler1Trigger"] = true; hero.removeItemFromBag("lever"); leveler1.play(); hatch1.play(); sounds.PlaySnd("sewerDoorOpen"); } else { if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(9); Game(parent).gameGUI.hlpControl.pic2.gotoAndStop("lever"); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; }; } else { if (!triggerUpgrade1.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 9)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; } else { _local2 = this.globalToLocal(MovieClip(hatch1).localToGlobal(new Point(hatch1.anmPoint.x, hatch1.anmPoint.y))); hatch1Lim.y = _local2.y; }; if (!sVar["startBoss"]){ if ((((hero.x > (triggerBossBorder.x + triggerBossBorder.width))) && ((hero.x < triggerRightBorder.x)))){ sVar["startBoss"] = true; levLeftLim = triggerBossBorder.x; levRightLim = triggerRightBorder.x; musicEnv.fadeTo("musTrasher"); boss.alwaysSeeEnemy = true; }; } else { if ((boss.x - (boss.anim.width / 2)) < triggerBossBorder.x){ boss.x = (triggerBossBorder.x + (boss.anim.width / 2)); boss.fsmAI.AlienBomber_changeTarget(); } else { if ((boss.x + (boss.anim.width / 2)) > triggerRightBorder.x){ boss.x = (triggerRightBorder.x - (boss.anim.width / 2)); boss.fsmAI.AlienBigBoss_changeTarget(); }; if ((boss.y + (boss.anim.height / 2)) > triggerBottomBorder.y){ boss.y = (triggerBottomBorder.y - (boss.anim.height / 2)); boss.fsmAI.AlienBigBoss_changeTarget(); }; }; if ((seeder1.x - (seeder1.width / 2)) < triggerBossBorder.x){ seeder1.x = (triggerBossBorder.x + (seeder1.width / 2)); seeder1.fsmAI.AlienSeeder_changeTarget(); } else { if ((seeder1.x + (seeder1.width / 2)) > triggerRightBorder.x){ seeder1.x = (triggerRightBorder.x - (seeder1.width / 2)); seeder1.fsmAI.AlienSeeder_changeTarget(); }; if ((seeder1.y + (seeder1.height / 2)) > triggerBottomBorder.y){ seeder1.y = (triggerBottomBorder.y - (seeder1.height / 2)); seeder1.fsmAI.AlienSeeder_changeTarget(); }; }; }; if (((((!(sVar["DlgTedKilledBoss"])) && ((((boss == null)) || ((boss.visible == false)))))) && ((((seeder1 == null)) || ((seeder1.visible == false)))))){ sVar["DlgTedKilledBoss"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev10_TedVoc"); sVar["DlgTedDiffTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgTedKilledBoss"]){ if (!sVar["DlgTedDiffEnd"]){ if (sVar["DlgTedDiffTimer"] == 0){ sVar["DlgTedDiffEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { var _local3 = sVar; var _local4 = "DlgTedDiffTimer"; var _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; if (Controls.keyNew[69]){ sVar["DlgTedDiffTimer"] = 0; }; }; }; }; }; if (!sVar["DlgBarneyLuck"]){ sVar["DlgBarneyLuck"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev10_TedEvil"); sVar["DlgBarneyTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgBarneyLuck"]){ if (!sVar["DlgBarneyLuckEnd"]){ if (sVar["DlgBarneyTimer"] == 0){ sVar["DlgBarneyLuckEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { _local3 = sVar; _local4 = "DlgBarneyTimer"; _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; if (Controls.keyNew[69]){ sVar["DlgBarneyTimer"] = 0; }; }; }; }; }; if (((sVar["DlgTedDiffEnd"]) && (!(Game(parent).gameGUI.dlg.visible)))){ if (!isWin){ isWin = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToWin(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musWin"); return; }; }; } public function UpdateProjObjects():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < projObjects.length) { if (projObjects[_local1].visible == false){ } else { if (projObjects[_local1].gravityEnable){ projObjects[_local1].Velocity.y = (projObjects[_local1].Velocity.y + (grav * projObjects[_local1].gravityFactor)); projObjects[_local1].Velocity.y = ((projObjects[_local1].Velocity.y)>projObjects[_local1].maxSpeed.y) ? projObjects[_local1].maxSpeed.y : projObjects[_local1].Velocity.y; }; projObjects[_local1].updateDynObj(); if (!projObjects[_local1].fromGoodGuy){ if (((!(hero.dead)) && (hero.hitTestProj(projObjects[_local1])))){ if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { hero.transmitDamage(projObjects[_local1]); Game(parent).gameGUI.painFrame.startFadeOut(); }; }; } else { _local2 = 0; while (_local2 < enemies.length) { if (((!(enemies[_local2].dead)) && (enemies[_local2].hitTestProj(projObjects[_local1])))){ mainGlobal.shootingInEnemies++; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { enemies[_local2].transmitDamage(projObjects[_local1]); }; }; _local2++; }; }; if (ageMath.Distance(projObjects[_local1].x, projObjects[_local1].y, hero.x, hero.y) > 670){ projObjects[_local1].visible = false; }; if (testIntersectLimiterOnScr(projObjects[_local1])){ projObjects[_local1].visible = false; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; }; }; }; _local1++; }; } function frame1(){ initFirst = true; } public function cleenUP_FX():void{ var _local1:int; _local1 = 0; while (_local1 < fxObjects.length) { if (((fxObjects[_local1]) && ((fxObjects[_local1].visible == false)))){ if (fxObjects[_local1]){ if (fxObjects[_local1].parent){ fxObjects[_local1].parent.removeChild(fxObjects[_local1]); }; }; fxObjects.splice(_local1, 1); break; }; _local1++; }; } public function term(){ var _local1:int; removeEventListener(Event.ENTER_FRAME, Update); _local1 = 0; while (_local1 < enemies.length) { enemies[_local1].clearActorObject(); _local1++; }; _local1 = 0; while (_local1 < dynObjects.length) { dynObjects[_local1].clearDynObject(); _local1++; }; dynObjects = []; enemies = []; goodNPC = []; projObjects = []; paralaxObjects = []; chunkObjects = []; fxObjects = []; propObjects = []; addActorsArr = []; limitersCache = []; limitersOnScr = []; limiters = []; } public function testRayToLimiterOnScr(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean=false, _arg6:Object=null):ageVector{ var _local10:int; var _local11:ageVector; var _local12:Number; var _local13:ageVector; var _local14:Number; var _local7:ageVector; var _local8:ageVector = new ageVector(_arg1, _arg3); var _local9:Number = Number.MAX_VALUE; _local10 = 0; while (_local10 < limitersOnScr.length) { if (!limitersOnScr[_local10].slimMode){ _local11 = ageMath.getLineCrossRect(_arg1, _arg2, _arg3, _arg4, limitersOnScr[_local10].x, limitersOnScr[_local10].y, (limitersOnScr[_local10].x + limitersOnScr[_local10].width), (limitersOnScr[_local10].y + limitersOnScr[_local10].height)); if (_local11 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local11); _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local12 = ageMath.DistanceVec(_local8, _local11); if (_local12 < _local9){ _local9 = _local12; _local7.copy(_local11); }; }; }; }; _local10++; }; if (!_arg5){ return (_local7); }; _arg6.id = -1; _local10 = 0; while (_local10 < enemies.length) { if (enemies[_local10].dead){ } else { _local13 = enemies[_local10].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local13 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local13); _arg6.id = _local10; _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local14 = ageMath.DistanceVec(_local8, _local13); if (_local14 < _local9){ _local9 = _local14; _arg6.id = _local10; _local7.copy(_local13); }; }; }; }; _local10++; }; return (_local7); } public function addFX_Splatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxBloodSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Coin(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propCoin(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addProp_Dynamite(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propDynamite(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProp_MedKit(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new dropMedKit(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_Headshot(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxHeadshot(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function UpdatePropObjects():void{ var _local1:int; _local1 = 0; while (_local1 < propObjects.length) { if (propObjects[_local1].visible == false){ } else { if (ageMath.Distance(propObjects[_local1].x, propObjects[_local1].y, hero.x, hero.y) >= (stage.stageWidth * 1.6)){ } else { propObjects[_local1].x = (propObjects[_local1].x + propObjects[_local1].speed.x); if (propObjects[_local1].useRotateSpeed){ propObjects[_local1].body.rotation = (propObjects[_local1].body.rotation + propObjects[_local1].rotateSpeed); }; if ((((((((((((propObjects[_local1].propType == "Med")) || ((propObjects[_local1].propType == "Coin")))) || ((propObjects[_local1].propType == "Money")))) || ((propObjects[_local1].propType == "Weapon")))) || ((propObjects[_local1].propType == "Item")))) || ((propObjects[_local1].propType == "Ammo")))){ if (hero.hitTestObject(propObjects[_local1])){ if (propObjects[_local1].propType == "Ammo"){ if (hero.weapons[propObjects[_local1].wepNum].active){ if (hero.weapons[propObjects[_local1].wepNum].bulletsNum < hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].bulletsNum = (hero.weapons[propObjects[_local1].wepNum].bulletsNum + (hero.weapons[propObjects[_local1].wepNum].bulletsInCatrigeMax * propObjects[_local1].moneyAmount)); if (hero.weapons[propObjects[_local1].wepNum].bulletsNum > hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ hero.weapons[propObjects[_local1].wepNum].bulletsNum = hero.weapons[propObjects[_local1].wepNum].bulletsNumMax; }; sounds.PlaySnd((hero.weapons[propObjects[_local1].wepNum].type + "Reloaded")); }; }; } else { if (propObjects[_local1].propType == "Med"){ if (hero.life < hero.lifeMax){ propObjects[_local1].visible = false; hero.life = (hero.life + propObjects[_local1].moneyAmount); if (hero.life > hero.lifeMax){ hero.life = hero.lifeMax; }; sounds.PlaySnd("Med"); }; } else { if (propObjects[_local1].propType == "Item"){ propObjects[_local1].visible = false; hero.itemsInBag.push(propObjects[_local1].itemName); sounds.PlaySnd("itemTake"); } else { if (propObjects[_local1].propType == "Weapon"){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].active = true; hero.curWeaponNum = (propObjects[_local1].wepNum + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); } else { propObjects[_local1].visible = false; sounds.PlaySnd((propObjects[_local1].propType + "1")); hero.moneyCnt = (hero.moneyCnt + propObjects[_local1].moneyAmount); mainGlobal.moneyCollected = (mainGlobal.moneyCollected + propObjects[_local1].moneyAmount); }; }; }; }; }; }; }; }; _local1++; }; } public function addProp_Money1(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney1(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addProp_Money2(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney2(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } function showGameMenu():void{ mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); Game(root).menuInGame.visible = true; Game(root).gameGUI.startFadeOut(); Game(root).menuInGame.startFadeIn(); } public function addProj_Psy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new psyProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; _local6.gravityComp = false; _local6.infAmmo = true; _local6.usePsyDamage = true; _local6.psyDamageVal = 16; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_MinigunBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projMinigunBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:Object = {id:-1}; var _local12:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4, true, _local11); if (_local12 != null){ _arg3 = _local12.x; _arg4 = _local12.y; if (_local11.id != -1){ mainGlobal.shootingInEnemies++; addLineDamageToEnemy(_local12, _arg5.damage, enemies[_local11.id], true); }; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; var _local13:Array = new Array(); _local13.push(new GlowFilter(0xFFFF00, 1, 15, 15, 4, BitmapFilterQuality.MEDIUM)); _local6.filters = _local13; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addProj_LaserBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projLaserBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4); if (_local11 != null){ _arg3 = _local11.x; _arg4 = _local11.y; }; if (addLineDamage(_arg1, _arg2, _arg3, _arg4, _arg5.damage)){ mainGlobal.shootingInEnemies++; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; _local6.use_force_restart = true; _local6.fadeSpeed = 0.1; _local6.startFadeOut(); _local6.gravityEnable = false; var _local12:Array = new Array(); _local12.push(new GlowFilter(0xFF0000, 1, 15, 15, 1.7, BitmapFilterQuality.MEDIUM)); _local6.filters = _local12; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addFX_littleBlast(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; addBlinkFX_OverLight(); _local4 = new fxBlast(); _local4.x = _arg1; _local4.y = _arg2; _local4.blendMode = BlendMode.SCREEN; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBullet(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, 24); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_Debris(_arg1:Number, _arg2:Number, _arg3:Number=1, _arg4:String=""):propObject{ var _local5:propObject; _local5 = new propDebris(); _local5.x = _arg1; _local5.y = _arg2; _local5.speed.y = (ageMath.Random(-6, -18) * _arg3); _local5.speed.x = (ageMath.Random(-10, 10) * _arg3); if (_arg4.length){ _local5.gotoAndStop(_arg4); } else { _local5.gotoAndStop(ageMath.RandomInt(1, 20)); }; _local5.curLevel = this; dynObjects.push(_local5); propObjects.push(_local5); _local5.isRubber = true; _local5.stayTime = (3000 + ageMath.RandomInt(1, 2000)); _local5.timerStayDelay.start(); _local5.useRotateSpeed = true; _local5.rotateSpeed = ageMath.RandomInt(-15, 15); propLayer.addChild(_local5); return (_local5); } public function addProj_BombWep(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBombWep(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_Rocket(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projRocket(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addLimiter(_arg1){ limiters.push(_arg1); } public function alignObjXToAnother(_arg1, _arg2):void{ if ((_arg1.x - (_arg1.width * 0.5)) < _arg2.x){ _arg1.x = (_arg1.x + (_arg2.x - (_arg1.x - (_arg1.width * 0.5)))); }; if ((_arg1.x + (_arg1.width * 0.5)) > (_arg2.x + _arg2.width)){ _arg1.x = (_arg1.x - ((_arg1.x + (_arg1.width * 0.5)) - (_arg2.x + _arg2.width))); }; } public function ifMCOnScreen(_arg1:MovieClip):Boolean{ var _local2:Point = this.localToGlobal(new Point(_arg1.x, _arg1.y)); var _local3:Rectangle = _arg1.getBounds(root); var _local4:Rectangle = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local4.intersects(_local3)){ return (true); }; return (false); } public function addExplotion(_arg1:projObject, _arg2:actorObject=null):void{ var _local3:Number; var _local5:int; _local3 = ageMath.Distance(_arg1.x, _arg1.y, hero.x, hero.y); var _local4:projObject = new projObject(); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = hero.x; _local4.y = (hero.y - (hero.height / 2)); _local4.fromGoodGuy = false; hero.transmitDamage(_local4); Game(parent).gameGUI.painFrame.startFadeOut(); _local4.clearDynObject(); }; _local5 = 0; while (_local5 < enemies.length) { if (((((enemies[_local5].dead) && (!((_arg2 == null))))) && (!((_arg2 == enemies[_local5]))))){ } else { _local3 = ageMath.Distance(_arg1.x, _arg1.y, enemies[_local5].x, enemies[_local5].y); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = enemies[_local5].x; _local4.y = (enemies[_local5].y - (enemies[_local5].height / 2)); _local4.fromGoodGuy = true; enemies[_local5].transmitDamage(_local4); _local4.clearDynObject(); }; }; _local5++; }; } public function addProp_minigunAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMinigunAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_BlastWave(_arg1:Number, _arg2:Number, _arg3:Number=1){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxBlastWave(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addActor(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=-1):actorObject{ var _local6:actorObject; if (_arg1 == "AlienSaw"){ _local6 = new AlienSaw(); } else { if (_arg1 == "AlienHunter"){ _local6 = new AlienHunter(); } else { if (_arg1 == "AlienElectro"){ _local6 = new AlienElectro(); } else { if (_arg1 == "Zomb01"){ _local6 = new Zomb01(); } else { if (_arg1 == "Zomb02"){ _local6 = new Zomb02(); } else { if (_arg1 == "Zomb03"){ _local6 = new Zomb03(); } else { if (_arg1 == "Zomb04"){ _local6 = new Zomb04(); } else { if (_arg1 == "Zomb05"){ _local6 = new Zomb05(); } else { if (_arg1 == "Zomb01Run"){ _local6 = new Zomb01Run(); } else { if (_arg1 == "Zomb02Run"){ _local6 = new Zomb02Run(); } else { if (_arg1 == "Zomb03Run"){ _local6 = new Zomb03Run(); } else { if (_arg1 == "Zomb04Run"){ _local6 = new Zomb04Run(); } else { if (_arg1 == "Zomb05Run"){ _local6 = new Zomb05Run(); } else { if (_arg1 == "Zomb01Vomit"){ _local6 = new Zomb01Vomit(); } else { if (_arg1 == "Zomb02Vomit"){ _local6 = new Zomb02Vomit(); } else { if (_arg1 == "Zomb03Vomit"){ _local6 = new Zomb03Vomit(); } else { if (_arg1 == "Zomb04Vomit"){ _local6 = new Zomb04Vomit(); } else { if (_arg1 == "Zomb05Vomit"){ _local6 = new Zomb05Vomit(); } else { if (_arg1 == "Spider"){ _local6 = new Spider(); } else { if (_arg1 == "AlienBomber"){ _local6 = new AlienBomber(); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; _local6.x = _arg3; _local6.y = _arg4; _local6.name = _arg2; if (!_local6.noStatEnemy){ mainGlobal.enemiesAll++; }; if (_arg5 < 0){ addChild(_local6); } else { addChildAt(_local6, _arg5); }; return (_local6); } public function levInit(){ var _local1:int; mainGlobal.secretsAll = 1; curLevNum = 10; curLevScore = 3500; levelMus = "musDarkAmb"; musicEnv.fadeTo(levelMus); Game(parent).sky.visible = true; levLeftLim = triggerLeftBorder.x; levRightLim = triggerRightBorder.x; sVar["DlgTedDiffTimer"] = 0; sVar["DlgTedDiffEnd"] = false; sVar["DlgTedKilledBoss"] = false; sVar["DlgBarneyTimer"] = 0; sVar["DlgBarneyLuckEnd"] = false; sVar["DlgBarneyLuck"] = false; } public function addFX_MetalSparks(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxMetalSparks(); _local3.x = _arg1; _local3.y = _arg2; _local3.blendMode = BlendMode.ADD; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Blaster(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlaster(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function UpdateEnemies():void{ var _local1:int; _local1 = 0; while (_local1 < enemies.length) { if (((enemies[_local1].dead) || ((enemies[_local1].life <= 0)))){ } else { if (((((!((enemies[_local1].parent as Level))) || (enemies[_local1].alwaysSeeEnemy))) || ((ageMath.Distance(enemies[_local1].x, enemies[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6))))){ enemies[_local1].updateActorEnemy(); }; }; _local1++; }; } public function addProj_Vomit(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projVomit(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.timerFXAdd.delay = 80; _local6.timerFXAdd.start(); _local6.fxFunc = addFX_VomitSplatters; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = true; _local6.gravityComp = true; _local6.infAmmo = true; _local6.useBioDamage = true; _local6.bioDamageVal = 10; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_blasterAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlasterAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } } }//package main
Section 79
//Level2 (main.Level2) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.ui.*; public dynamic class Level2 extends Level { var levRightLim:Number;// = 999999 var dlgSpeedFactor:Number;// = 4 var lastMSFrame:int;// = 9999 public var enemies:Array; public var dynAnim:MovieClip; var levLeftLim:Number;// = -999999 public var propObjects:Array; public var minLimX:Number;// = 2147483647 public var triggerEndLevel:MovieClip; public var triggerUpgrade:MovieClip; public var maxLimX:Number;// = -2147483648 var curBlastShake:Number;// = 0 var isLose:Boolean;// = false var grav:Number;// = 1 var isWin:Boolean;// = false public var dynObjects:Array; public var limitersCache:Array; public var triggerBomb:MovieClip; var initFirst:Boolean;// = false public var obstacleLim:MovieClip; public var triggerOldManCall:MovieClip; public var triggerOldMan:MovieClip; public var obstacle:MovieClip; var curLevNum:int;// = 1 public var FXLayer:MovieClip; var levelMus:String;// = "" public var pointWave1:MovieClip; public var triggerSecret1:MovieClip; public var propLayer:MovieClip; public var pointWave2:MovieClip; public var pointWave3:MovieClip; public var oldMan:MovieClip; var sVar:Object; public var limitersOnScr:Array; public var triggerSecret2:MovieClip; public var addActorsArr:Array; public var limiters:Array; public var paralaxObjects:Array; var curLevScore:int;// = 3000 var curBlastShakeDec:Number;// = 0.3 public var fxObjects:Array; public var limitersCacheStep:int;// = 640 public var goodNPC:Array; public var chunkObjects:Array; var curScale:Number;// = 1 public var triggerLeftBorder:MovieClip; public var projObjects:Array; public var hero:MovieClip; public var projLayer:MovieClip; public function Level2(){ sVar = new Object(); limiters = new Array(); limitersCache = new Array(); limitersOnScr = new Array(); dynObjects = new Array(); enemies = new Array(); goodNPC = new Array(); paralaxObjects = new Array(); projObjects = new Array(); chunkObjects = new Array(); fxObjects = new Array(); propObjects = new Array(); addActorsArr = new Array(); super(); addFrameScript(0, frame1); init(); } public function addFX_VomitSplatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxVomitSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addLineDamage(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Boolean{ var _local6:Number; var _local8:int; var _local9:ageVector; var _local7:Boolean; _local8 = 0; while (_local8 < enemies.length) { if (enemies[_local8].dead){ } else { _local9 = enemies[_local8].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local9 != null){ addLineDamageToEnemy(_local9, _arg5, enemies[_local8], true); _local7 = true; }; }; _local8++; }; return (_local7); } public function checkHitPlatform(_arg1, _arg2:Array){ var _local3:int; _arg1.bottomLimiter = null; _local3 = 0; while (_local3 < _arg2.length) { if (((_arg2[_local3].slimMode) && ((_arg1.speed.y < 0)))){ } else { if (_arg2[_local3].hitTestObject(_arg1.p2)){ _arg1.jump = false; if (_arg1.isRubber){ _arg1.speed.y = (_arg1.speed.y * -(_arg1.rubberFactor)); _arg1.speed.x = (_arg1.speed.x * _arg1.rubberFactor); if (_arg1.useRotateSpeed){ _arg1.rotateSpeed = 0; }; } else { _arg1.speed.y = 0; }; _arg1.y = ((_arg2[_local3].y - _arg1.p2.y) - _arg1.p2.height); _arg1.bottomLimiter = _arg2[_local3]; } else { if (((_arg2[_local3].hitTestObject(_arg1.p1)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = (_arg2[_local3].x - (_arg1.p1.x + _arg1.p1.width)); } else { _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) + (_arg1.p1.x + _arg1.p1.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p3)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) - _arg1.p3.x); } else { _arg1.x = (_arg2[_local3].x - (-(_arg1.p3.x) + _arg1.p3.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p4)) && (!(_arg2[_local3].slimMode)))){ _arg1.speed.y = 0; _arg1.y = ((_arg2[_local3].y + _arg2[_local3].height) - _arg1.p4.y); }; }; }; }; }; _local3++; }; } public function initLimCache(){ var _local1:*; var _local2:int; var _local3:int; var _local4:int; maxLimX = int.MIN_VALUE; minLimX = int.MAX_VALUE; _local1 = 0; while (_local1 < limiters.length) { if (limiters[_local1].x < minLimX){ minLimX = limiters[_local1].x; }; if ((limiters[_local1].x + limiters[_local1].width) > maxLimX){ maxLimX = limiters[_local1].x; }; _local1++; }; limitersCache = []; _local1 = 0; while (_local1 < (((maxLimX - minLimX) / limitersCacheStep) + 1)) { limitersCache.push(new Array()); _local1++; }; _local1 = 0; while (_local1 < limiters.length) { _local3 = int(((limiters[_local1].x - minLimX) / limitersCacheStep)); _local4 = int((((limiters[_local1].x + limiters[_local1].width) - minLimX) / limitersCacheStep)); _local2 = _local3; while (_local2 <= _local4) { if (!limitersCache[_local2]){ limitersCache[_local2] = new Array(); }; limitersCache[_local2].push(limiters[_local1]); _local2++; }; _local1++; }; } public function addFX_littleSmoke(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxLittleSmoke(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function init(){ addEventListener(Event.ENTER_FRAME, Update, false, 0, true); } public function openUpgradeMenu():void{ mainGlobal.paused = true; this.visible = false; Game(root).cursor.gotoAndStop("arrow"); Game(parent).menuUpgradeShop.showShop(); musicEnv.fadeTo("musUpgrade"); } public function UpdateParalaxObjects():void{ var _local1:int; _local1 = 0; while (_local1 < paralaxObjects.length) { paralaxObjects[_local1].x = (paralaxObjects[_local1].saveX - ageMath.RemapVal((paralaxObjects[_local1].saveX + x), 0, stage.stageWidth, 0, paralaxObjects[_local1].paralaxX)); paralaxObjects[_local1].y = (paralaxObjects[_local1].saveY - ageMath.RemapVal((paralaxObjects[_local1].saveY + y), 0, stage.stageHeight, 0, paralaxObjects[_local1].paralaxY)); _local1++; }; } public function addBlinkFX_OverLight():void{ Game(parent).gameGUI.fxblink.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink.use_force_restart = true; Game(parent).gameGUI.fxblink.startFadeOut(); curBlastShake = 15; } public function cleenUP():void{ cleenUP_FX(); cleenUP_Proj(); cleenUP_Prop(); cleenUP_Actors(); } function mouseLeave(_arg1:Event):void{ showGameMenu(); } public function UpdateDynObjects():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; _local1 = 0; while (_local1 < dynObjects.length) { if (dynObjects[_local1].visible == false){ } else { if (ageMath.Distance(dynObjects[_local1].x, dynObjects[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6)){ if (dynObjects[_local1].gravityEnable){ dynObjects[_local1].speed.y = (dynObjects[_local1].speed.y + (grav * dynObjects[_local1].gravityFactor)); }; dynObjects[_local1].speed.y = ((dynObjects[_local1].speed.y)>dynObjects[_local1].maxSpeed.y) ? dynObjects[_local1].maxSpeed.y : dynObjects[_local1].speed.y; dynObjects[_local1].y = (dynObjects[_local1].y + dynObjects[_local1].speed.y); if (dynObjects[_local1].collisionEnable){ _local2 = int((((dynObjects[_local1].x - dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local3 = int((((dynObjects[_local1].x + dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local4 = _local2; while (_local4 <= _local3) { if (((limitersCache[_local4]) && (limitersCache[_local4].length))){ checkHitPlatform(dynObjects[_local1], limitersCache[_local4]); }; _local4++; }; }; }; }; _local1++; }; } public function addLineDamageToEnemy(_arg1:ageVector, _arg2:Number, _arg3:actorObject, _arg4:Boolean){ var _local5:projObject = new projObject(); _local5.damage = _arg2; _local5.x = _arg1.x; _local5.y = _arg1.y; _local5.fromGoodGuy = _arg4; _arg3.transmitDamage(_local5); _local5.clearDynObject(); } public function addFX_BloodOnGround(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodOnGround(); _local3.x = _arg1; _local3.y = _arg2; _local3.gotoAndStop(ageMath.RandomInt(1, 5)); _local3.scaleY = 0.5; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function cleenUP_Proj():void{ var _local1:int; _local1 = 0; while (_local1 < projObjects.length) { if (((projObjects[_local1]) && ((projObjects[_local1].visible == false)))){ projObjects[_local1].clearDynObject(); if (projObjects[_local1]){ if (projObjects[_local1].parent){ projObjects[_local1].parent.removeChild(projObjects[_local1]); }; }; projObjects.splice(_local1, 1); break; }; _local1++; }; } public function cleenUP_Actors():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < enemies.length) { if (((((enemies[_local1]) && ((enemies[_local1].visible == false)))) && (enemies[_local1].dead))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == enemies[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; enemies[_local1].clearActorObject(); if (enemies[_local1]){ if (enemies[_local1].parent){ enemies[_local1].parent.removeChild(enemies[_local1]); }; }; enemies.splice(_local1, 1); break; }; _local1++; }; } public function cleenUP_Prop():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < propObjects.length) { if (((propObjects[_local1]) && ((propObjects[_local1].visible == false)))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == propObjects[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; if (propObjects[_local1]){ if (propObjects[_local1].parent){ propObjects[_local1].parent.removeChild(propObjects[_local1]); }; }; propObjects.splice(_local1, 1); break; }; _local1++; }; } public function addBlasterProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new blasterProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_Shotgun(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propShotgun(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addBlinkFX_OverLight2():void{ Game(parent).gameGUI.fxblink2.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink2.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink2.use_force_restart = true; Game(parent).gameGUI.fxblink2.startFadeOut(); } public function addFX_BloodLeak(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodLeak(); _local3.x = _arg1; _local3.y = _arg2; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function UpdateLimitersOnScr():void{ var _local1:int; var _local2:int; var _local3:*; var _local4:int; var _local5:Point; var _local6:Rectangle; var _local7:Rectangle; limitersOnScr = []; _local1 = int(((-(x) - minLimX) / limitersCacheStep)); _local2 = int((((-(x) + stage.stageWidth) - minLimX) / limitersCacheStep)); _local4 = _local1; while (_local4 <= _local2) { if (limitersCache[_local4]){ _local3 = 0; while (_local3 < limitersCache[_local4].length) { _local5 = this.localToGlobal(new Point(limitersCache[_local4][_local3].x, limitersCache[_local4][_local3].y)); _local6 = new Rectangle(_local5.x, _local5.y, limitersCache[_local4][_local3].width, limitersCache[_local4][_local3].height); _local7 = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local7.intersects(_local6)){ limitersOnScr.push(limitersCache[_local4][_local3]); }; _local3++; }; }; _local4++; }; } public function testIntersectLimiterOnScr(_arg1:dynObject):Boolean{ var _local2:int; _local2 = 0; while (_local2 < limitersOnScr.length) { if (((!(limitersOnScr[_local2].slimMode)) && (limitersOnScr[_local2].hitTestObject(_arg1)))){ return (true); }; _local2++; }; return (false); } public function UpdateProjObjects():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < projObjects.length) { if (projObjects[_local1].visible == false){ } else { if (projObjects[_local1].gravityEnable){ projObjects[_local1].Velocity.y = (projObjects[_local1].Velocity.y + (grav * projObjects[_local1].gravityFactor)); projObjects[_local1].Velocity.y = ((projObjects[_local1].Velocity.y)>projObjects[_local1].maxSpeed.y) ? projObjects[_local1].maxSpeed.y : projObjects[_local1].Velocity.y; }; projObjects[_local1].updateDynObj(); if (!projObjects[_local1].fromGoodGuy){ if (((!(hero.dead)) && (hero.hitTestProj(projObjects[_local1])))){ if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { hero.transmitDamage(projObjects[_local1]); Game(parent).gameGUI.painFrame.startFadeOut(); }; }; } else { _local2 = 0; while (_local2 < enemies.length) { if (((!(enemies[_local2].dead)) && (enemies[_local2].hitTestProj(projObjects[_local1])))){ mainGlobal.shootingInEnemies++; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { enemies[_local2].transmitDamage(projObjects[_local1]); }; }; _local2++; }; }; if (ageMath.Distance(projObjects[_local1].x, projObjects[_local1].y, hero.x, hero.y) > 670){ projObjects[_local1].visible = false; }; if (testIntersectLimiterOnScr(projObjects[_local1])){ projObjects[_local1].visible = false; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; }; }; }; _local1++; }; } function frame1(){ initFirst = true; } public function cleenUP_FX():void{ var _local1:int; _local1 = 0; while (_local1 < fxObjects.length) { if (((fxObjects[_local1]) && ((fxObjects[_local1].visible == false)))){ if (fxObjects[_local1]){ if (fxObjects[_local1].parent){ fxObjects[_local1].parent.removeChild(fxObjects[_local1]); }; }; fxObjects.splice(_local1, 1); break; }; _local1++; }; } public function term(){ var _local1:int; removeEventListener(Event.ENTER_FRAME, Update); _local1 = 0; while (_local1 < enemies.length) { enemies[_local1].clearActorObject(); _local1++; }; _local1 = 0; while (_local1 < dynObjects.length) { dynObjects[_local1].clearDynObject(); _local1++; }; dynObjects = []; enemies = []; goodNPC = []; projObjects = []; paralaxObjects = []; chunkObjects = []; fxObjects = []; propObjects = []; addActorsArr = []; limitersCache = []; limitersOnScr = []; limiters = []; } public function testRayToLimiterOnScr(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean=false, _arg6:Object=null):ageVector{ var _local10:int; var _local11:ageVector; var _local12:Number; var _local13:ageVector; var _local14:Number; var _local7:ageVector; var _local8:ageVector = new ageVector(_arg1, _arg3); var _local9:Number = Number.MAX_VALUE; _local10 = 0; while (_local10 < limitersOnScr.length) { if (!limitersOnScr[_local10].slimMode){ _local11 = ageMath.getLineCrossRect(_arg1, _arg2, _arg3, _arg4, limitersOnScr[_local10].x, limitersOnScr[_local10].y, (limitersOnScr[_local10].x + limitersOnScr[_local10].width), (limitersOnScr[_local10].y + limitersOnScr[_local10].height)); if (_local11 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local11); _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local12 = ageMath.DistanceVec(_local8, _local11); if (_local12 < _local9){ _local9 = _local12; _local7.copy(_local11); }; }; }; }; _local10++; }; if (!_arg5){ return (_local7); }; _arg6.id = -1; _local10 = 0; while (_local10 < enemies.length) { if (enemies[_local10].dead){ } else { _local13 = enemies[_local10].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local13 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local13); _arg6.id = _local10; _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local14 = ageMath.DistanceVec(_local8, _local13); if (_local14 < _local9){ _local9 = _local14; _arg6.id = _local10; _local7.copy(_local13); }; }; }; }; _local10++; }; return (_local7); } public function addFX_Splatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxBloodSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Coin(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propCoin(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function levScript(){ var _local1:int; var _local2:int; var _local3:Boolean; var _local4:int; var _local5:int; if (!sVar["triggerUpgrade"]){ if (triggerUpgrade.hitTestObject(hero)){ if (((Controls.keyNew[Keyboard.ENTER]) || (Controls.keyNew[69]))){ openUpgradeMenu(); }; if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(5); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; } else { if ((((Game(parent).gameGUI.hlpControl.currentFrame == 5)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; if (!sVar["triggerSecret1"]){ if (triggerSecret1.hitTestObject(hero)){ sVar["triggerSecret1"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["triggerSecret2"]){ if (triggerSecret2.hitTestObject(hero)){ sVar["triggerSecret2"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["triggerOldManCall"]){ if (triggerOldManCall.hitTestObject(hero)){ sVar["triggerOldManCall"] = true; sounds.PlaySnd("helpIco"); }; } else { if (!sVar["triggerOldMan"]){ Game(parent).gameGUI.dlgIco.targetingObject(oldMan); } else { Game(parent).gameGUI.dlgIco.x = -500; }; }; if (!sVar["triggerOldMan"]){ if (triggerOldMan.hitTestObject(hero)){ sVar["triggerOldMan"] = true; oldMan.play(); levLeftLim = triggerOldManCall.x; levRightLim = (triggerOldManCall.x + triggerOldManCall.width); }; } else { if (!sVar["DlgOldManEnd"]){ if (sVar["DlgOldManTimer"] == 0){ if (sVar["DlgOldManState"] == 0){ _local1 = Game(parent).gameGUI.dlg.setTo("lev2_OldManTed01"); var _local6 = sVar; var _local7 = "DlgOldManState"; var _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; sVar["DlgOldManTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgOldManState"] == 1){ _local1 = Game(parent).gameGUI.dlg.setTo("lev2_OldManTed02"); _local6 = sVar; _local7 = "DlgOldManState"; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; sVar["DlgOldManTimer"] = int((_local1 * dlgSpeedFactor)); } else { if (sVar["DlgOldManState"] == 2){ _local1 = Game(parent).gameGUI.dlg.setTo("lev2_OldManTed03"); _local6 = sVar; _local7 = "DlgOldManState"; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; sVar["DlgOldManTimer"] = int((_local1 * dlgSpeedFactor)); } else { sVar["DlgOldManEnd"] = true; oldMan.play(); Game(parent).gameGUI.dlg.startFadeOut(); musicEnv.fadeTo("roboAttack"); _local6 = sVar; _local7 = "WaveNum"; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; Game(parent).gameGUI.hlpControl.showHelp(8); Game(parent).gameGUI.hlpControl.txt.text = ("Wave " + sVar["WaveNum"]); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); sVar["WaveCnt"] = 4; _local2 = 0; while (_local2 < 4) { addActor("AlienSaw", ("unit" + _local2), (pointWave1.x + ageMath.RandomInt(-200, 200)), (pointWave1.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; _local2++; }; }; }; }; } else { _local6 = sVar; _local7 = "DlgOldManTimer"; _local8 = (_local6[_local7] - 1); _local6[_local7] = _local8; if (Controls.keyNew[69]){ sVar["DlgOldManTimer"] = 0; }; }; } else { if (!sVar["isWaveEnd"]){ _local3 = true; _local2 = 0; while (_local2 < sVar["WaveCnt"]) { if (((!((getChildByName(("unit" + _local2)) == null))) && (!((getChildByName(("unit" + _local2)).visible == false))))){ _local3 = false; break; }; _local2++; }; if (_local3){ if (sVar["WaveNum"] == 1){ _local6 = sVar; _local7 = "WaveNum"; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; Game(parent).gameGUI.hlpControl.showHelp(8); Game(parent).gameGUI.hlpControl.txt.text = ("Wave " + sVar["WaveNum"]); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); sVar["WaveCnt"] = 6; _local2 = 0; while (_local2 < 3) { addActor("AlienSaw", ("unit" + _local2), (pointWave1.x + ageMath.RandomInt(-200, 200)), (pointWave1.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; _local2++; }; _local2 = 3; while (_local2 < 6) { addActor("AlienSaw", ("unit" + _local2), (pointWave2.x + ageMath.RandomInt(-200, 200)), (pointWave2.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; _local2++; }; } else { if (sVar["WaveNum"] == 2){ _local6 = sVar; _local7 = "WaveNum"; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; Game(parent).gameGUI.hlpControl.showHelp(8); Game(parent).gameGUI.hlpControl.txt.text = ("Wave " + sVar["WaveNum"]); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); sVar["WaveCnt"] = 6; _local2 = 0; while (_local2 < 2) { addActor("AlienSaw", ("unit" + _local2), (pointWave1.x + ageMath.RandomInt(-200, 200)), (pointWave1.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; _local2++; }; _local2 = 2; while (_local2 < 4) { addActor("AlienSaw", ("unit" + _local2), (pointWave2.x + ageMath.RandomInt(-200, 200)), (pointWave2.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; _local2++; }; addActor("AlienHunter", ("unit" + 5), (pointWave3.x + ageMath.RandomInt(-200, 200)), (pointWave3.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; } else { if (sVar["WaveNum"] == 3){ sVar["isWaveEnd"] = true; musicEnv.fadeTo("musGlory"); _local1 = Game(parent).gameGUI.dlg.setTo("lev2_TedScrap"); sVar["DlgTedScrapTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); sVar["triggerOldManCall2"] = true; sounds.PlaySnd("helpIco"); }; }; }; }; }; }; }; if (((((sVar["isWaveEnd"]) && (!(sVar["DlgTedScrapEnd"])))) && (!(sVar["triggerOldMan2"])))){ if (sVar["DlgTedScrapTimer"] == 0){ sVar["DlgTedScrapEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { _local6 = sVar; _local7 = "DlgTedScrapTimer"; _local8 = (_local6[_local7] - 1); _local6[_local7] = _local8; if (Controls.keyNew[69]){ sVar["DlgTedScrapTimer"] = 0; }; }; }; if (sVar["triggerOldManCall2"]){ if (!sVar["triggerOldMan2"]){ Game(parent).gameGUI.dlgIco.targetingObject(oldMan); } else { Game(parent).gameGUI.dlgIco.x = -500; }; }; if (sVar["triggerOldManCall2"]){ if (!sVar["triggerOldMan2"]){ if (triggerOldMan.hitTestObject(hero)){ sVar["triggerOldMan2"] = true; oldMan.play(); }; } else { if (!sVar["DlgOldManEnd2"]){ if (sVar["DlgOldManTimer2"] == 0){ if (sVar["DlgOldManState2"] == 0){ _local1 = Game(parent).gameGUI.dlg.setTo("lev2_OldManTed04"); _local6 = sVar; _local7 = "DlgOldManState2"; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; sVar["DlgOldManTimer2"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgOldManState2"] == 1){ _local1 = Game(parent).gameGUI.dlg.setTo("lev2_OldManTed05"); _local6 = sVar; _local7 = "DlgOldManState2"; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; sVar["DlgOldManTimer2"] = int((_local1 * dlgSpeedFactor)); } else { if (sVar["DlgOldManState2"] == 2){ _local1 = Game(parent).gameGUI.dlg.setTo("lev2_OldManTed06"); _local6 = sVar; _local7 = "DlgOldManState2"; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; sVar["DlgOldManTimer2"] = int((_local1 * dlgSpeedFactor)); } else { if (sVar["DlgOldManState2"] == 3){ _local1 = Game(parent).gameGUI.dlg.setTo("lev2_OldManTed07"); _local6 = sVar; _local7 = "DlgOldManState2"; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; sVar["DlgOldManTimer2"] = int((_local1 * dlgSpeedFactor)); } else { sVar["DlgOldManEnd2"] = true; oldMan.play(); Game(parent).gameGUI.dlg.startFadeOut(); levLeftLim = triggerLeftBorder.x; levRightLim = triggerEndLevel.x; }; }; }; }; } else { _local6 = sVar; _local7 = "DlgOldManTimer2"; _local8 = (_local6[_local7] - 1); _local6[_local7] = _local8; if (Controls.keyNew[69]){ sVar["DlgOldManTimer2"] = 0; }; }; }; }; }; if (!sVar["propDynamiteTaked"]){ if (!sVar["triggerTedBomb"]){ if (triggerBomb.hitTestObject(hero)){ sVar["triggerTedBomb"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev2_TedObst"); sVar["DlgTedBombTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); }; } else { if (!sVar["DlgTedBombEnd"]){ if (sVar["DlgTedBombTimer"] == 0){ sVar["DlgTedBombEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { _local6 = sVar; _local7 = "DlgTedBombTimer"; _local8 = (_local6[_local7] - 1); _local6[_local7] = _local8; if (Controls.keyNew[69]){ sVar["DlgTedBombTimer"] = 0; }; }; }; }; } else { if (!sVar["propDynamiteStart"]){ if (triggerBomb.hitTestObject(hero)){ sVar["propDynamiteStart"] = true; dynAnim.visible = true; dynAnim.play(); hero.removeItemFromBag("dynamite"); }; } else { if (((!(sVar["propDynamiteBlast"])) && ((dynAnim.currentFrame == 64)))){ sVar["propDynamiteBlast"] = true; _local5 = 0; _local5 = 0; while (_local5 < 35) { addProp_Debris(((obstacle.x + (obstacle.width * 0.5)) + ageMath.RandomInt(-100, 100)), (obstacle.y + ageMath.RandomInt(-50, 50)), 1.4); _local5++; }; obstacle.visible = false; obstacleLim.y = -99999; dynAnim.visible = false; sounds.PlaySnd("bombExp", 4, obstacle, obstacle.stage); addFX_littleBlast((dynAnim.x + (dynAnim.width * 0.5)), ((dynAnim.y + (dynAnim.height * 0.5)) - 15), 6); addFX_littleSmoke((dynAnim.x + (dynAnim.width * 0.5)), ((dynAnim.y + (dynAnim.height * 0.5)) - 25), 7); addBlinkFX_OverLight2(); }; }; }; if (sVar["DlgOldManEnd2"]){ if (!sVar["triggerOldMan3"]){ if (((hero.isItemExist("food")) && (triggerOldMan.hitTestObject(hero)))){ sVar["triggerOldMan3"] = true; oldMan.play(); hero.removeItemFromBag("food"); sounds.PlaySnd("itemTake"); levLeftLim = triggerOldManCall.x; levRightLim = (triggerOldManCall.x + triggerOldManCall.width); }; } else { if (!sVar["DlgOldManEnd3"]){ if (sVar["DlgOldManTimer3"] == 0){ if (sVar["DlgOldManState3"] == 0){ _local1 = Game(parent).gameGUI.dlg.setTo("lev2_OldManTed08"); _local6 = sVar; _local7 = "DlgOldManState3"; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; sVar["DlgOldManTimer3"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgOldManState3"] == 1){ _local1 = Game(parent).gameGUI.dlg.setTo("lev2_OldManTed09"); _local6 = sVar; _local7 = "DlgOldManState3"; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; sVar["DlgOldManTimer3"] = int((_local1 * dlgSpeedFactor)); } else { if (sVar["DlgOldManState3"] == 2){ _local1 = Game(parent).gameGUI.dlg.setTo("lev2_OldManTed10"); _local6 = sVar; _local7 = "DlgOldManState3"; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; sVar["DlgOldManTimer3"] = int((_local1 * dlgSpeedFactor)); } else { sVar["DlgOldManEnd3"] = true; oldMan.play(); Game(parent).gameGUI.dlg.startFadeOut(); addProp_Dynamite((oldMan.x + (oldMan.width * 0.5)), (oldMan.y + (oldMan.height * 0.5))); }; }; }; } else { _local6 = sVar; _local7 = "DlgOldManTimer3"; _local8 = (_local6[_local7] - 1); _local6[_local7] = _local8; if (Controls.keyNew[69]){ sVar["DlgOldManTimer3"] = 0; }; }; }; }; }; if (!sVar["propDynamiteTaked"]){ if (hero.isItemExist("dynamite")){ sVar["propDynamiteTaked"] = true; levLeftLim = triggerLeftBorder.x; levRightLim = triggerEndLevel.x; }; }; if (((!(sVar["DlgTedAK"])) && (hero.weapons[2].active))){ sVar["DlgTedAK"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev2_TedAK"); sVar["DlgTedAKTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgTedAK"]){ if (!sVar["DlgTedAKEnd"]){ if (sVar["DlgTedAKTimer"] == 0){ sVar["DlgTedAKEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { _local6 = sVar; _local7 = "DlgTedAKTimer"; _local8 = (_local6[_local7] - 1); _local6[_local7] = _local8; if (Controls.keyNew[69]){ sVar["DlgTedAKTimer"] = 0; }; }; }; }; }; if (((sVar["DlgTedAKEnd"]) && (!(Game(parent).gameGUI.dlg.visible)))){ if (!isWin){ isWin = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToWin(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musWin"); return; }; }; } public function addProp_Dynamite(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propDynamite(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProp_MedKit(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new dropMedKit(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_Headshot(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxHeadshot(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Money1(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney1(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addProp_Money2(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney2(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } function showGameMenu():void{ mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); Game(root).menuInGame.visible = true; Game(root).gameGUI.startFadeOut(); Game(root).menuInGame.startFadeIn(); } public function addProj_Psy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new psyProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; _local6.gravityComp = false; _local6.infAmmo = true; _local6.usePsyDamage = true; _local6.psyDamageVal = 16; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_MinigunBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projMinigunBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:Object = {id:-1}; var _local12:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4, true, _local11); if (_local12 != null){ _arg3 = _local12.x; _arg4 = _local12.y; if (_local11.id != -1){ mainGlobal.shootingInEnemies++; addLineDamageToEnemy(_local12, _arg5.damage, enemies[_local11.id], true); }; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; var _local13:Array = new Array(); _local13.push(new GlowFilter(0xFFFF00, 1, 15, 15, 4, BitmapFilterQuality.MEDIUM)); _local6.filters = _local13; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addProj_LaserBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projLaserBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4); if (_local11 != null){ _arg3 = _local11.x; _arg4 = _local11.y; }; if (addLineDamage(_arg1, _arg2, _arg3, _arg4, _arg5.damage)){ mainGlobal.shootingInEnemies++; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; _local6.use_force_restart = true; _local6.fadeSpeed = 0.1; _local6.startFadeOut(); _local6.gravityEnable = false; var _local12:Array = new Array(); _local12.push(new GlowFilter(0xFF0000, 1, 15, 15, 1.7, BitmapFilterQuality.MEDIUM)); _local6.filters = _local12; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addFX_littleBlast(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; addBlinkFX_OverLight(); _local4 = new fxBlast(); _local4.x = _arg1; _local4.y = _arg2; _local4.blendMode = BlendMode.SCREEN; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBullet(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, 24); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function UpdatePropObjects():void{ var _local1:int; _local1 = 0; while (_local1 < propObjects.length) { if (propObjects[_local1].visible == false){ } else { if (ageMath.Distance(propObjects[_local1].x, propObjects[_local1].y, hero.x, hero.y) >= (stage.stageWidth * 1.6)){ } else { propObjects[_local1].x = (propObjects[_local1].x + propObjects[_local1].speed.x); if (propObjects[_local1].useRotateSpeed){ propObjects[_local1].body.rotation = (propObjects[_local1].body.rotation + propObjects[_local1].rotateSpeed); }; if ((((((((((((propObjects[_local1].propType == "Med")) || ((propObjects[_local1].propType == "Coin")))) || ((propObjects[_local1].propType == "Money")))) || ((propObjects[_local1].propType == "Weapon")))) || ((propObjects[_local1].propType == "Item")))) || ((propObjects[_local1].propType == "Ammo")))){ if (hero.hitTestObject(propObjects[_local1])){ if (propObjects[_local1].propType == "Ammo"){ if (hero.weapons[propObjects[_local1].wepNum].active){ if (hero.weapons[propObjects[_local1].wepNum].bulletsNum < hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].bulletsNum = (hero.weapons[propObjects[_local1].wepNum].bulletsNum + (hero.weapons[propObjects[_local1].wepNum].bulletsInCatrigeMax * propObjects[_local1].moneyAmount)); if (hero.weapons[propObjects[_local1].wepNum].bulletsNum > hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ hero.weapons[propObjects[_local1].wepNum].bulletsNum = hero.weapons[propObjects[_local1].wepNum].bulletsNumMax; }; sounds.PlaySnd((hero.weapons[propObjects[_local1].wepNum].type + "Reloaded")); }; }; } else { if (propObjects[_local1].propType == "Med"){ if (hero.life < hero.lifeMax){ propObjects[_local1].visible = false; hero.life = (hero.life + propObjects[_local1].moneyAmount); if (hero.life > hero.lifeMax){ hero.life = hero.lifeMax; }; sounds.PlaySnd("Med"); }; } else { if (propObjects[_local1].propType == "Item"){ propObjects[_local1].visible = false; hero.itemsInBag.push(propObjects[_local1].itemName); sounds.PlaySnd("itemTake"); } else { if (propObjects[_local1].propType == "Weapon"){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].active = true; hero.curWeaponNum = (propObjects[_local1].wepNum + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); } else { propObjects[_local1].visible = false; sounds.PlaySnd((propObjects[_local1].propType + "1")); hero.moneyCnt = (hero.moneyCnt + propObjects[_local1].moneyAmount); mainGlobal.moneyCollected = (mainGlobal.moneyCollected + propObjects[_local1].moneyAmount); }; }; }; }; }; }; }; }; _local1++; }; } public function addProp_Debris(_arg1:Number, _arg2:Number, _arg3:Number=1, _arg4:String=""):propObject{ var _local5:propObject; _local5 = new propDebris(); _local5.x = _arg1; _local5.y = _arg2; _local5.speed.y = (ageMath.Random(-6, -18) * _arg3); _local5.speed.x = (ageMath.Random(-10, 10) * _arg3); if (_arg4.length){ _local5.gotoAndStop(_arg4); } else { _local5.gotoAndStop(ageMath.RandomInt(1, 20)); }; _local5.curLevel = this; dynObjects.push(_local5); propObjects.push(_local5); _local5.isRubber = true; _local5.stayTime = (3000 + ageMath.RandomInt(1, 2000)); _local5.timerStayDelay.start(); _local5.useRotateSpeed = true; _local5.rotateSpeed = ageMath.RandomInt(-15, 15); propLayer.addChild(_local5); return (_local5); } public function addProj_BombWep(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBombWep(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_Rocket(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projRocket(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function ifMCOnScreen(_arg1:MovieClip):Boolean{ var _local2:Point = this.localToGlobal(new Point(_arg1.x, _arg1.y)); var _local3:Rectangle = _arg1.getBounds(root); var _local4:Rectangle = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local4.intersects(_local3)){ return (true); }; return (false); } public function addLimiter(_arg1){ limiters.push(_arg1); } public function alignObjXToAnother(_arg1, _arg2):void{ if ((_arg1.x - (_arg1.width * 0.5)) < _arg2.x){ _arg1.x = (_arg1.x + (_arg2.x - (_arg1.x - (_arg1.width * 0.5)))); }; if ((_arg1.x + (_arg1.width * 0.5)) > (_arg2.x + _arg2.width)){ _arg1.x = (_arg1.x - ((_arg1.x + (_arg1.width * 0.5)) - (_arg2.x + _arg2.width))); }; } public function levInit(){ mainGlobal.secretsAll = 2; curLevNum = 2; curLevScore = 3200; levelMus = "musGlory"; musicEnv.fadeTo(levelMus); oldMan.gotoAndStop(1); sVar["triggerUpgrade"] = false; sVar["triggerSecret1"] = false; sVar["triggerSecret2"] = false; levLeftLim = triggerLeftBorder.x; sVar["triggerOldManCall"] = false; sVar["triggerOldMan"] = false; sVar["DlgOldManState"] = 0; sVar["DlgOldManTimer"] = 0; sVar["DlgOldManEnd"] = false; sVar["isWaveEnd"] = false; sVar["WaveNum"] = 0; sVar["WaveCnt"] = 0; sVar["DlgTedScrapTimer"] = 0; sVar["DlgTedScrapEnd"] = false; sVar["triggerOldManCall2"] = false; sVar["triggerOldMan2"] = false; sVar["DlgOldManState2"] = 0; sVar["DlgOldManTimer2"] = 0; sVar["DlgOldManEnd2"] = false; sVar["triggerOldMan3"] = false; sVar["DlgOldManState3"] = 0; sVar["DlgOldManTimer3"] = 0; sVar["DlgOldManEnd3"] = false; sVar["triggerTedBomb"] = 0; sVar["DlgTedBombTimer"] = 0; sVar["DlgTedBombEnd"] = false; sVar["propDynamiteTaked"] = false; sVar["propDynamiteStart"] = false; sVar["propDynamiteBlast"] = false; dynAnim.visible = false; sVar["DlgTedAK"] = false; sVar["DlgTedAKEnd"] = false; sVar["DlgTedAKTimer"] = 0; } public function addExplotion(_arg1:projObject, _arg2:actorObject=null):void{ var _local3:Number; var _local5:int; _local3 = ageMath.Distance(_arg1.x, _arg1.y, hero.x, hero.y); var _local4:projObject = new projObject(); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = hero.x; _local4.y = (hero.y - (hero.height / 2)); _local4.fromGoodGuy = false; hero.transmitDamage(_local4); Game(parent).gameGUI.painFrame.startFadeOut(); _local4.clearDynObject(); }; _local5 = 0; while (_local5 < enemies.length) { if (((((enemies[_local5].dead) && (!((_arg2 == null))))) && (!((_arg2 == enemies[_local5]))))){ } else { _local3 = ageMath.Distance(_arg1.x, _arg1.y, enemies[_local5].x, enemies[_local5].y); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = enemies[_local5].x; _local4.y = (enemies[_local5].y - (enemies[_local5].height / 2)); _local4.fromGoodGuy = true; enemies[_local5].transmitDamage(_local4); _local4.clearDynObject(); }; }; _local5++; }; } public function addProp_minigunAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMinigunAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_BlastWave(_arg1:Number, _arg2:Number, _arg3:Number=1){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxBlastWave(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function Update(_arg1:Event):void{ var _local5:int; var _local6:*; var _local7:*; var _local11:int; var _local12:addActorStruct; var _local13:int; var _local14:Number; var _local15:Array; var _local16:ColorMatrix; if (isWin){ hero.body.stop(); return; }; if (((((mainGlobal.paused) || (!(visible)))) || (!((parent as Game))))){ return; }; if ((((hero.life <= 0)) && (!(isLose)))){ isLose = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToLose(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musLose"); sounds.PlaySnd(("TedDie" + ageMath.RandomInt(1, 2).toString()), 0.8); return; }; if (initFirst){ if (((!(mainGlobal.configMusicOn)) && (!(mainGlobal.configSoundOn)))){ Game(parent).gamButSnd.gotoAndStop(2); } else { Game(parent).gamButSnd.gotoAndStop(1); }; initFirst = false; initLimCache(); Game(parent).fadeBG.fadeSpeed = 0.03; Game(parent).fadeBG.use_force_restart = true; Game(parent).fadeBG.startFadeOut(); Game(parent).gameGUI.hlpControl.visible = false; Game(parent).gameGUI.dlg.visible = false; Game(parent).gameGUI.dlgIco.x = -500; _local6 = (hero.x * this.scaleX); _local7 = ((hero.y - 95) * this.scaleY); x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); mainGlobal.initStat(); _local11 = 0; _local11 = 0; while (_local11 < enemies.length) { if (!enemies[_local11].noStatEnemy){ mainGlobal.enemiesAll++; }; _local11++; }; Game(parent).sky.visible = true; levInit(); if (mainGlobal.isSingleEp){ if (curLevNum == 1){ _local5 = 0; while (_local5 < 1) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 0; } else { if (curLevNum == 2){ _local5 = 0; while (_local5 < 2) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 200; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 3){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 4){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1300; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 5){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 6){ _local5 = 0; while (_local5 < 4) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 2000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 7){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 8){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; } else { if (curLevNum == 9){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; } else { if (curLevNum == 10){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; }; }; }; }; }; }; }; }; }; }; }; Game(parent).gameGUI.dlgIco.gotoAndStop(1); }; var _local2:int = getTimer(); cleenUP(); UpdateLimitersOnScr(); UpdateParalaxObjects(); UpdateDynObjects(); UpdatePropObjects(); UpdateEnemies(); UpdateProjObjects(); hero.updateActor(); hero.applyDamages(); hero.testIsActorDead(); if (addActorsArr.length){ while (addActorsArr.length) { _local12 = addActorsArr.pop(); addActor(_local12.strClass, "", _local12.posx, _local12.posy, _local12.orderZ); }; }; var _local3:int; _local3 = 0; while (_local3 < chunkObjects.length) { if (ifMCOnScreen(chunkObjects[_local3])){ chunkObjects[_local3].visible = true; } else { chunkObjects[_local3].visible = false; }; _local3++; }; levScript(); var _local4:Boolean; if (Controls.key[Keyboard.F2]){ hero.life = 1; }; if (Controls.key[Keyboard.ESCAPE]){ showGameMenu(); }; if (!hero.timerReloadDelay.running){ _local13 = 0; while (_local13 < 8) { if (((((Controls.key[(49 + _local13)]) && (!((hero.curWeaponNum == (_local13 + 1)))))) && (hero.weapons[_local13].active))){ hero.curWeaponNum = (_local13 + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); }; _local13++; }; }; if (Game(root).cursor.currentLabel == "cross"){ _local14 = ageMath.Distance(hero.x, hero.y, (Controls.mousePosX - x), (Controls.mousePosY - y)); Game(root).cursor.shootAcc.scaleX = (Game(root).cursor.shootAcc.scaleY = ((hero.wepAcc * _local14) / hero.weapons[(hero.curWeaponNum - 1)].accDistScale)); }; _local5 = 0; _local5 = 0; while (_local5 < 8) { if (((hero.weapons[_local5]) && (hero.weapons[_local5].active))){ if ((((hero.weapons[_local5].bulletsInCatrige == 0)) && ((hero.weapons[_local5].bulletsNum == 0)))){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 2){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 2; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(-124); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (hero.curWeaponNum != (_local5 + 1)){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 1){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 1; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 3){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 3; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(87); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 4){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 4; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 0.5; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; _local5++; }; Game(parent).gameGUI.wepInfo.catTxt.text = ((hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrige + "/") + hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrigeMax); if (!hero.weapons[(hero.curWeaponNum - 1)].infAmmo){ Game(parent).gameGUI.wepInfo.allTxt.text = hero.weapons[(hero.curWeaponNum - 1)].bulletsNum; } else { Game(parent).gameGUI.wepInfo.allTxt.text = "INF"; }; Game(parent).gameGUI.wepInfo.pic.gotoAndStop((hero.curWeaponNum + 4)); if ((hero.x - (hero.width * 0.5)) < levLeftLim){ hero.x = (levLeftLim + (hero.width * 0.5)); } else { if ((hero.x + (hero.width * 0.5)) > levRightLim){ hero.x = (levRightLim - (hero.width * 0.5)); }; }; _local6 = ageMath.Lerp((Controls.mousePosX - x), (hero.x * scaleX), 0.6); _local7 = ageMath.Lerp((Controls.mousePosY - y), ((hero.y - 95) * scaleY), 0.6); if (!_local4){ x = Math.round(ageMath.Lerp(x, -((_local6 - (stage.stageWidth * 0.5))), 0.15)); y = Math.round(ageMath.Lerp(y, -((_local7 - (stage.stageHeight * 0.5))), 0.15)); } else { x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); }; if (this["blackScr"]){ this["blackScr"].x = -(x); this["blackScr"].y = -(y); }; var _local8:Point = this.localToGlobal(new Point(levLeftLim, 0)); var _local9:Point = this.localToGlobal(new Point(levRightLim, 0)); if (_local8.x > 0){ x = (x - _local8.x); } else { if (_local9.x < stage.stageWidth){ x = (x + (stage.stageWidth - _local9.x)); }; }; if (curBlastShake > 0){ x = (x + ageMath.Random(-(curBlastShake), curBlastShake)); y = (y + ageMath.Random(-(curBlastShake), curBlastShake)); curBlastShake = (curBlastShake - curBlastShakeDec); if (curBlastShake < 0){ curBlastShake = 0; }; }; Game(parent).gameGUI.lifeBar.gotoAndStop(Math.round(ageMath.RemapVal(Math.round(hero.life), 1, hero.lifeMax, 1, 100))); Game(parent).gameGUI.lifeBar.width = ageMath.RemapVal(Math.round(hero.lifeMax), 100, 300, 108, 227); Game(parent).gameGUI.txtMoney.text = ("$" + hero.moneyCnt); var _local10:int; _local10 = 0; while (_local10 < 6) { if (hero.itemsInBag[_local10]){ Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(hero.itemsInBag[_local10]); } else { Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(1); }; _local10++; }; if (hero.bioMaxLevel > 0){ Game(parent).gameGUI.hazBio.visible = true; Game(parent).gameGUI.hazBio.gotoAndStop((100 - int(ageMath.RemapVal(hero.bioCurLevel, 0, hero.bioMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazBio.visible = false; }; if (hero.psyMaxLevel > 0){ Game(parent).gameGUI.hazPsy.visible = true; Game(parent).gameGUI.hazPsy.gotoAndStop((100 - int(ageMath.RemapVal(hero.psyCurLevel, 0, hero.psyMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazPsy.visible = false; }; if (hero.electroMaxLevel > 0){ Game(parent).gameGUI.hazElectro.visible = true; Game(parent).gameGUI.hazElectro.gotoAndStop((100 - int(ageMath.RemapVal(hero.electroCurLevel, 0, hero.electroMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazElectro.visible = false; }; Controls.updateKeyNew(); if (Game(parent).groundBG){ Game(parent).groundBG.changeBG(x, y); }; } public function addActor(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=-1):actorObject{ var _local6:actorObject; if (_arg1 == "AlienSaw"){ _local6 = new AlienSaw(); } else { if (_arg1 == "AlienHunter"){ _local6 = new AlienHunter(); } else { if (_arg1 == "AlienElectro"){ _local6 = new AlienElectro(); } else { if (_arg1 == "Zomb01"){ _local6 = new Zomb01(); } else { if (_arg1 == "Zomb02"){ _local6 = new Zomb02(); } else { if (_arg1 == "Zomb03"){ _local6 = new Zomb03(); } else { if (_arg1 == "Zomb04"){ _local6 = new Zomb04(); } else { if (_arg1 == "Zomb05"){ _local6 = new Zomb05(); } else { if (_arg1 == "Zomb01Run"){ _local6 = new Zomb01Run(); } else { if (_arg1 == "Zomb02Run"){ _local6 = new Zomb02Run(); } else { if (_arg1 == "Zomb03Run"){ _local6 = new Zomb03Run(); } else { if (_arg1 == "Zomb04Run"){ _local6 = new Zomb04Run(); } else { if (_arg1 == "Zomb05Run"){ _local6 = new Zomb05Run(); } else { if (_arg1 == "Zomb01Vomit"){ _local6 = new Zomb01Vomit(); } else { if (_arg1 == "Zomb02Vomit"){ _local6 = new Zomb02Vomit(); } else { if (_arg1 == "Zomb03Vomit"){ _local6 = new Zomb03Vomit(); } else { if (_arg1 == "Zomb04Vomit"){ _local6 = new Zomb04Vomit(); } else { if (_arg1 == "Zomb05Vomit"){ _local6 = new Zomb05Vomit(); } else { if (_arg1 == "Spider"){ _local6 = new Spider(); } else { if (_arg1 == "AlienBomber"){ _local6 = new AlienBomber(); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; _local6.x = _arg3; _local6.y = _arg4; _local6.name = _arg2; if (!_local6.noStatEnemy){ mainGlobal.enemiesAll++; }; if (_arg5 < 0){ addChild(_local6); } else { addChildAt(_local6, _arg5); }; return (_local6); } public function addFX_MetalSparks(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxMetalSparks(); _local3.x = _arg1; _local3.y = _arg2; _local3.blendMode = BlendMode.ADD; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_blasterAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlasterAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProp_Blaster(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlaster(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function UpdateEnemies():void{ var _local1:int; _local1 = 0; while (_local1 < enemies.length) { if (((enemies[_local1].dead) || ((enemies[_local1].life <= 0)))){ } else { if (((((!((enemies[_local1].parent as Level))) || (enemies[_local1].alwaysSeeEnemy))) || ((ageMath.Distance(enemies[_local1].x, enemies[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6))))){ enemies[_local1].updateActorEnemy(); }; }; _local1++; }; } public function addProj_Vomit(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projVomit(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.timerFXAdd.delay = 80; _local6.timerFXAdd.start(); _local6.fxFunc = addFX_VomitSplatters; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = true; _local6.gravityComp = true; _local6.infAmmo = true; _local6.useBioDamage = true; _local6.bioDamageVal = 10; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } } }//package main
Section 80
//Level3 (main.Level3) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.ui.*; public dynamic class Level3 extends Level { public var goArrow:MovieClip; var levRightLim:Number;// = 999999 var dlgSpeedFactor:Number;// = 4 var lastMSFrame:int;// = 9999 public var enemies:Array; public var alienFirst:MovieClip; var levLeftLim:Number;// = -999999 public var propObjects:Array; public var minLimX:Number;// = 2147483647 public var maxLimX:Number;// = -2147483648 var curBlastShake:Number;// = 0 public var dynObjects:Array; var isLose:Boolean;// = false public var leftBossBorder:MovieClip; var isWin:Boolean;// = false public var triggerTube:MovieClip; var grav:Number;// = 1 public var leftLevBorder:MovieClip; public var triggerUpgrade1:MovieClip; public var triggerUpgrade2:MovieClip; public var limitersCache:Array; public var boss:MovieClip; var initFirst:Boolean;// = false var curLevNum:int;// = 1 public var FXLayer:MovieClip; public var preboss1:MovieClip; public var preboss2:MovieClip; var levelMus:String;// = "" public var triggerSecret1:MovieClip; public var triggerSecret2:MovieClip; public var triggerSecret3:MovieClip; public var propLayer:MovieClip; var sVar:Object; public var triggerZombieGirl:MovieClip; public var limitersOnScr:Array; public var addActorsArr:Array; public var paralaxObjects:Array; public var limiters:Array; var curLevScore:int;// = 3000 var curBlastShakeDec:Number;// = 0.3 public var fxObjects:Array; public var limitersCacheStep:int;// = 640 public var goodNPC:Array; public var chunkObjects:Array; var curScale:Number;// = 1 public var rightLevBorder:MovieClip; public var projObjects:Array; public var hero:MovieClip; public var projLayer:MovieClip; public function Level3(){ sVar = new Object(); limiters = new Array(); limitersCache = new Array(); limitersOnScr = new Array(); dynObjects = new Array(); enemies = new Array(); goodNPC = new Array(); paralaxObjects = new Array(); projObjects = new Array(); chunkObjects = new Array(); fxObjects = new Array(); propObjects = new Array(); addActorsArr = new Array(); super(); addFrameScript(0, frame1); init(); } public function addLineDamage(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Boolean{ var _local6:Number; var _local8:int; var _local9:ageVector; var _local7:Boolean; _local8 = 0; while (_local8 < enemies.length) { if (enemies[_local8].dead){ } else { _local9 = enemies[_local8].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local9 != null){ addLineDamageToEnemy(_local9, _arg5, enemies[_local8], true); _local7 = true; }; }; _local8++; }; return (_local7); } public function checkHitPlatform(_arg1, _arg2:Array){ var _local3:int; _arg1.bottomLimiter = null; _local3 = 0; while (_local3 < _arg2.length) { if (((_arg2[_local3].slimMode) && ((_arg1.speed.y < 0)))){ } else { if (_arg2[_local3].hitTestObject(_arg1.p2)){ _arg1.jump = false; if (_arg1.isRubber){ _arg1.speed.y = (_arg1.speed.y * -(_arg1.rubberFactor)); _arg1.speed.x = (_arg1.speed.x * _arg1.rubberFactor); if (_arg1.useRotateSpeed){ _arg1.rotateSpeed = 0; }; } else { _arg1.speed.y = 0; }; _arg1.y = ((_arg2[_local3].y - _arg1.p2.y) - _arg1.p2.height); _arg1.bottomLimiter = _arg2[_local3]; } else { if (((_arg2[_local3].hitTestObject(_arg1.p1)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = (_arg2[_local3].x - (_arg1.p1.x + _arg1.p1.width)); } else { _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) + (_arg1.p1.x + _arg1.p1.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p3)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) - _arg1.p3.x); } else { _arg1.x = (_arg2[_local3].x - (-(_arg1.p3.x) + _arg1.p3.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p4)) && (!(_arg2[_local3].slimMode)))){ _arg1.speed.y = 0; _arg1.y = ((_arg2[_local3].y + _arg2[_local3].height) - _arg1.p4.y); }; }; }; }; }; _local3++; }; } public function addFX_VomitSplatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxVomitSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function initLimCache(){ var _local1:*; var _local2:int; var _local3:int; var _local4:int; maxLimX = int.MIN_VALUE; minLimX = int.MAX_VALUE; _local1 = 0; while (_local1 < limiters.length) { if (limiters[_local1].x < minLimX){ minLimX = limiters[_local1].x; }; if ((limiters[_local1].x + limiters[_local1].width) > maxLimX){ maxLimX = limiters[_local1].x; }; _local1++; }; limitersCache = []; _local1 = 0; while (_local1 < (((maxLimX - minLimX) / limitersCacheStep) + 1)) { limitersCache.push(new Array()); _local1++; }; _local1 = 0; while (_local1 < limiters.length) { _local3 = int(((limiters[_local1].x - minLimX) / limitersCacheStep)); _local4 = int((((limiters[_local1].x + limiters[_local1].width) - minLimX) / limitersCacheStep)); _local2 = _local3; while (_local2 <= _local4) { if (!limitersCache[_local2]){ limitersCache[_local2] = new Array(); }; limitersCache[_local2].push(limiters[_local1]); _local2++; }; _local1++; }; } public function addFX_littleSmoke(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxLittleSmoke(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function init(){ addEventListener(Event.ENTER_FRAME, Update, false, 0, true); } public function openUpgradeMenu():void{ mainGlobal.paused = true; this.visible = false; Game(root).cursor.gotoAndStop("arrow"); Game(parent).menuUpgradeShop.showShop(); musicEnv.fadeTo("musUpgrade"); } function mouseLeave(_arg1:Event):void{ showGameMenu(); } public function UpdateParalaxObjects():void{ var _local1:int; _local1 = 0; while (_local1 < paralaxObjects.length) { paralaxObjects[_local1].x = (paralaxObjects[_local1].saveX - ageMath.RemapVal((paralaxObjects[_local1].saveX + x), 0, stage.stageWidth, 0, paralaxObjects[_local1].paralaxX)); paralaxObjects[_local1].y = (paralaxObjects[_local1].saveY - ageMath.RemapVal((paralaxObjects[_local1].saveY + y), 0, stage.stageHeight, 0, paralaxObjects[_local1].paralaxY)); _local1++; }; } public function addBlinkFX_OverLight():void{ Game(parent).gameGUI.fxblink.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink.use_force_restart = true; Game(parent).gameGUI.fxblink.startFadeOut(); curBlastShake = 15; } public function cleenUP():void{ cleenUP_FX(); cleenUP_Proj(); cleenUP_Prop(); cleenUP_Actors(); } public function UpdateDynObjects():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; _local1 = 0; while (_local1 < dynObjects.length) { if (dynObjects[_local1].visible == false){ } else { if (ageMath.Distance(dynObjects[_local1].x, dynObjects[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6)){ if (dynObjects[_local1].gravityEnable){ dynObjects[_local1].speed.y = (dynObjects[_local1].speed.y + (grav * dynObjects[_local1].gravityFactor)); }; dynObjects[_local1].speed.y = ((dynObjects[_local1].speed.y)>dynObjects[_local1].maxSpeed.y) ? dynObjects[_local1].maxSpeed.y : dynObjects[_local1].speed.y; dynObjects[_local1].y = (dynObjects[_local1].y + dynObjects[_local1].speed.y); if (dynObjects[_local1].collisionEnable){ _local2 = int((((dynObjects[_local1].x - dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local3 = int((((dynObjects[_local1].x + dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local4 = _local2; while (_local4 <= _local3) { if (((limitersCache[_local4]) && (limitersCache[_local4].length))){ checkHitPlatform(dynObjects[_local1], limitersCache[_local4]); }; _local4++; }; }; }; }; _local1++; }; } public function addLineDamageToEnemy(_arg1:ageVector, _arg2:Number, _arg3:actorObject, _arg4:Boolean){ var _local5:projObject = new projObject(); _local5.damage = _arg2; _local5.x = _arg1.x; _local5.y = _arg1.y; _local5.fromGoodGuy = _arg4; _arg3.transmitDamage(_local5); _local5.clearDynObject(); } public function addFX_BloodOnGround(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodOnGround(); _local3.x = _arg1; _local3.y = _arg2; _local3.gotoAndStop(ageMath.RandomInt(1, 5)); _local3.scaleY = 0.5; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function cleenUP_Proj():void{ var _local1:int; _local1 = 0; while (_local1 < projObjects.length) { if (((projObjects[_local1]) && ((projObjects[_local1].visible == false)))){ projObjects[_local1].clearDynObject(); if (projObjects[_local1]){ if (projObjects[_local1].parent){ projObjects[_local1].parent.removeChild(projObjects[_local1]); }; }; projObjects.splice(_local1, 1); break; }; _local1++; }; } public function cleenUP_Actors():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < enemies.length) { if (((((enemies[_local1]) && ((enemies[_local1].visible == false)))) && (enemies[_local1].dead))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == enemies[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; enemies[_local1].clearActorObject(); if (enemies[_local1]){ if (enemies[_local1].parent){ enemies[_local1].parent.removeChild(enemies[_local1]); }; }; enemies.splice(_local1, 1); break; }; _local1++; }; } public function addBlasterProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new blasterProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function testIntersectLimiterOnScr(_arg1:dynObject):Boolean{ var _local2:int; _local2 = 0; while (_local2 < limitersOnScr.length) { if (((!(limitersOnScr[_local2].slimMode)) && (limitersOnScr[_local2].hitTestObject(_arg1)))){ return (true); }; _local2++; }; return (false); } public function cleenUP_Prop():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < propObjects.length) { if (((propObjects[_local1]) && ((propObjects[_local1].visible == false)))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == propObjects[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; if (propObjects[_local1]){ if (propObjects[_local1].parent){ propObjects[_local1].parent.removeChild(propObjects[_local1]); }; }; propObjects.splice(_local1, 1); break; }; _local1++; }; } public function addProp_Shotgun(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propShotgun(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_BloodLeak(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodLeak(); _local3.x = _arg1; _local3.y = _arg2; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function levScript(){ var _local1:int; if (!sVar["triggerUpgrade1"]){ if (triggerUpgrade1.hitTestObject(hero)){ if (((Controls.keyNew[Keyboard.ENTER]) || (Controls.keyNew[69]))){ openUpgradeMenu(); }; if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(5); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; } else { if (!triggerUpgrade2.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 5)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; if (!sVar["triggerUpgrade2"]){ if (triggerUpgrade2.hitTestObject(hero)){ if (((Controls.keyNew[Keyboard.ENTER]) || (Controls.keyNew[69]))){ openUpgradeMenu(); }; if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(5); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; } else { if (!triggerUpgrade1.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 5)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; if (!sVar["triggerSecret1"]){ if (triggerSecret1.hitTestObject(hero)){ sVar["triggerSecret1"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["triggerSecret2"]){ if (triggerSecret2.hitTestObject(hero)){ sVar["triggerSecret2"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["triggerSecret3"]){ if (triggerSecret3.hitTestObject(hero)){ sVar["triggerSecret3"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (((!(sVar["DlgTedKilledAlien"])) && ((((((alienFirst == null)) || ((((alienFirst.visible == false)) && (alienFirst.dead))))) || ((alienFirst.life <= 0)))))){ sVar["DlgTedKilledAlien"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev3_TedALienKilled"); sVar["DlgTedKilledAlienTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgTedKilledAlien"]){ if (!sVar["DlgTedKilledAlienEnd"]){ if (sVar["DlgTedKilledAlienTimer"] == 0){ sVar["DlgTedKilledAlienEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { var _local2 = sVar; var _local3 = "DlgTedKilledAlienTimer"; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (Controls.keyNew[69]){ sVar["DlgTedKilledAlienTimer"] = 0; }; }; }; }; }; if (!sVar["triggerZombieGirl"]){ if (triggerZombieGirl.hitTestObject(hero)){ sVar["triggerZombieGirl"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev3_TedDate"); sVar["triggerZombieGirlTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); }; } else { if (!sVar["triggerZombieGirlEnd"]){ if (sVar["triggerZombieGirlTimer"] == 0){ sVar["triggerZombieGirlEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { _local2 = sVar; _local3 = "triggerZombieGirlTimer"; _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (Controls.keyNew[69]){ sVar["triggerZombieGirlTimer"] = 0; }; }; }; }; if (((((!(sVar["prebossEnemies"])) && ((((((preboss1 == null)) || ((((preboss1.visible == false)) && (preboss1.dead))))) || ((preboss1.life <= 0)))))) && ((((((preboss2 == null)) || ((((preboss2.visible == false)) && (preboss2.dead))))) || ((preboss2.life <= 0)))))){ sVar["prebossEnemies"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev3_TedPreBoss"); sVar["prebossEnemiesTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); boss.alwaysSeeEnemy = true; musicEnv.fadeTo("musTrasher"); } else { if (sVar["prebossEnemies"]){ if (!sVar["prebossEnemiesEnd"]){ if (sVar["prebossEnemiesTimer"] == 0){ sVar["prebossEnemiesEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { _local2 = sVar; _local3 = "prebossEnemiesTimer"; _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (Controls.keyNew[69]){ sVar["prebossEnemiesTimer"] = 0; }; }; }; }; }; if (((!(sVar["DlgTedKilledBoss"])) && ((((((boss == null)) || ((((boss.visible == false)) && (boss.dead))))) || ((boss.life <= 0)))))){ sVar["DlgTedKilledBoss"] = true; musicEnv.fadeTo(levelMus); goArrow.visible = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev3_TedPostBoss"); sVar["DlgTedKilledBossTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgTedKilledBoss"]){ if (!sVar["DlgTedKilledBossEnd"]){ if (sVar["DlgTedKilledBossTimer"] == 0){ sVar["DlgTedKilledBossEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { _local2 = sVar; _local3 = "DlgTedKilledBossTimer"; _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (Controls.keyNew[69]){ sVar["DlgTedKilledBossTimer"] = 0; }; }; }; }; }; if (((sVar["DlgTedKilledBossEnd"]) && (!(isWin)))){ if (triggerTube.hitTestObject(hero)){ isWin = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToWin(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musWin"); return; }; }; } public function UpdateProjObjects():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < projObjects.length) { if (projObjects[_local1].visible == false){ } else { if (projObjects[_local1].gravityEnable){ projObjects[_local1].Velocity.y = (projObjects[_local1].Velocity.y + (grav * projObjects[_local1].gravityFactor)); projObjects[_local1].Velocity.y = ((projObjects[_local1].Velocity.y)>projObjects[_local1].maxSpeed.y) ? projObjects[_local1].maxSpeed.y : projObjects[_local1].Velocity.y; }; projObjects[_local1].updateDynObj(); if (!projObjects[_local1].fromGoodGuy){ if (((!(hero.dead)) && (hero.hitTestProj(projObjects[_local1])))){ if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { hero.transmitDamage(projObjects[_local1]); Game(parent).gameGUI.painFrame.startFadeOut(); }; }; } else { _local2 = 0; while (_local2 < enemies.length) { if (((!(enemies[_local2].dead)) && (enemies[_local2].hitTestProj(projObjects[_local1])))){ mainGlobal.shootingInEnemies++; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { enemies[_local2].transmitDamage(projObjects[_local1]); }; }; _local2++; }; }; if (ageMath.Distance(projObjects[_local1].x, projObjects[_local1].y, hero.x, hero.y) > 670){ projObjects[_local1].visible = false; }; if (testIntersectLimiterOnScr(projObjects[_local1])){ projObjects[_local1].visible = false; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; }; }; }; _local1++; }; } public function UpdateLimitersOnScr():void{ var _local1:int; var _local2:int; var _local3:*; var _local4:int; var _local5:Point; var _local6:Rectangle; var _local7:Rectangle; limitersOnScr = []; _local1 = int(((-(x) - minLimX) / limitersCacheStep)); _local2 = int((((-(x) + stage.stageWidth) - minLimX) / limitersCacheStep)); _local4 = _local1; while (_local4 <= _local2) { if (limitersCache[_local4]){ _local3 = 0; while (_local3 < limitersCache[_local4].length) { _local5 = this.localToGlobal(new Point(limitersCache[_local4][_local3].x, limitersCache[_local4][_local3].y)); _local6 = new Rectangle(_local5.x, _local5.y, limitersCache[_local4][_local3].width, limitersCache[_local4][_local3].height); _local7 = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local7.intersects(_local6)){ limitersOnScr.push(limitersCache[_local4][_local3]); }; _local3++; }; }; _local4++; }; } function frame1(){ initFirst = true; } public function term(){ var _local1:int; removeEventListener(Event.ENTER_FRAME, Update); _local1 = 0; while (_local1 < enemies.length) { enemies[_local1].clearActorObject(); _local1++; }; _local1 = 0; while (_local1 < dynObjects.length) { dynObjects[_local1].clearDynObject(); _local1++; }; dynObjects = []; enemies = []; goodNPC = []; projObjects = []; paralaxObjects = []; chunkObjects = []; fxObjects = []; propObjects = []; addActorsArr = []; limitersCache = []; limitersOnScr = []; limiters = []; } public function addFX_Splatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxBloodSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Coin(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propCoin(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function testRayToLimiterOnScr(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean=false, _arg6:Object=null):ageVector{ var _local10:int; var _local11:ageVector; var _local12:Number; var _local13:ageVector; var _local14:Number; var _local7:ageVector; var _local8:ageVector = new ageVector(_arg1, _arg3); var _local9:Number = Number.MAX_VALUE; _local10 = 0; while (_local10 < limitersOnScr.length) { if (!limitersOnScr[_local10].slimMode){ _local11 = ageMath.getLineCrossRect(_arg1, _arg2, _arg3, _arg4, limitersOnScr[_local10].x, limitersOnScr[_local10].y, (limitersOnScr[_local10].x + limitersOnScr[_local10].width), (limitersOnScr[_local10].y + limitersOnScr[_local10].height)); if (_local11 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local11); _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local12 = ageMath.DistanceVec(_local8, _local11); if (_local12 < _local9){ _local9 = _local12; _local7.copy(_local11); }; }; }; }; _local10++; }; if (!_arg5){ return (_local7); }; _arg6.id = -1; _local10 = 0; while (_local10 < enemies.length) { if (enemies[_local10].dead){ } else { _local13 = enemies[_local10].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local13 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local13); _arg6.id = _local10; _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local14 = ageMath.DistanceVec(_local8, _local13); if (_local14 < _local9){ _local9 = _local14; _arg6.id = _local10; _local7.copy(_local13); }; }; }; }; _local10++; }; return (_local7); } public function addBlinkFX_OverLight2():void{ Game(parent).gameGUI.fxblink2.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink2.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink2.use_force_restart = true; Game(parent).gameGUI.fxblink2.startFadeOut(); } public function cleenUP_FX():void{ var _local1:int; _local1 = 0; while (_local1 < fxObjects.length) { if (((fxObjects[_local1]) && ((fxObjects[_local1].visible == false)))){ if (fxObjects[_local1]){ if (fxObjects[_local1].parent){ fxObjects[_local1].parent.removeChild(fxObjects[_local1]); }; }; fxObjects.splice(_local1, 1); break; }; _local1++; }; } public function addProp_Dynamite(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propDynamite(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProp_MedKit(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new dropMedKit(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_Headshot(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxHeadshot(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function UpdatePropObjects():void{ var _local1:int; _local1 = 0; while (_local1 < propObjects.length) { if (propObjects[_local1].visible == false){ } else { if (ageMath.Distance(propObjects[_local1].x, propObjects[_local1].y, hero.x, hero.y) >= (stage.stageWidth * 1.6)){ } else { propObjects[_local1].x = (propObjects[_local1].x + propObjects[_local1].speed.x); if (propObjects[_local1].useRotateSpeed){ propObjects[_local1].body.rotation = (propObjects[_local1].body.rotation + propObjects[_local1].rotateSpeed); }; if ((((((((((((propObjects[_local1].propType == "Med")) || ((propObjects[_local1].propType == "Coin")))) || ((propObjects[_local1].propType == "Money")))) || ((propObjects[_local1].propType == "Weapon")))) || ((propObjects[_local1].propType == "Item")))) || ((propObjects[_local1].propType == "Ammo")))){ if (hero.hitTestObject(propObjects[_local1])){ if (propObjects[_local1].propType == "Ammo"){ if (hero.weapons[propObjects[_local1].wepNum].active){ if (hero.weapons[propObjects[_local1].wepNum].bulletsNum < hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].bulletsNum = (hero.weapons[propObjects[_local1].wepNum].bulletsNum + (hero.weapons[propObjects[_local1].wepNum].bulletsInCatrigeMax * propObjects[_local1].moneyAmount)); if (hero.weapons[propObjects[_local1].wepNum].bulletsNum > hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ hero.weapons[propObjects[_local1].wepNum].bulletsNum = hero.weapons[propObjects[_local1].wepNum].bulletsNumMax; }; sounds.PlaySnd((hero.weapons[propObjects[_local1].wepNum].type + "Reloaded")); }; }; } else { if (propObjects[_local1].propType == "Med"){ if (hero.life < hero.lifeMax){ propObjects[_local1].visible = false; hero.life = (hero.life + propObjects[_local1].moneyAmount); if (hero.life > hero.lifeMax){ hero.life = hero.lifeMax; }; sounds.PlaySnd("Med"); }; } else { if (propObjects[_local1].propType == "Item"){ propObjects[_local1].visible = false; hero.itemsInBag.push(propObjects[_local1].itemName); sounds.PlaySnd("itemTake"); } else { if (propObjects[_local1].propType == "Weapon"){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].active = true; hero.curWeaponNum = (propObjects[_local1].wepNum + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); } else { propObjects[_local1].visible = false; sounds.PlaySnd((propObjects[_local1].propType + "1")); hero.moneyCnt = (hero.moneyCnt + propObjects[_local1].moneyAmount); mainGlobal.moneyCollected = (mainGlobal.moneyCollected + propObjects[_local1].moneyAmount); }; }; }; }; }; }; }; }; _local1++; }; } public function addProp_Money1(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney1(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addProp_Money2(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney2(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } function showGameMenu():void{ mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); Game(root).menuInGame.visible = true; Game(root).gameGUI.startFadeOut(); Game(root).menuInGame.startFadeIn(); } public function addProj_Psy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new psyProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; _local6.gravityComp = false; _local6.infAmmo = true; _local6.usePsyDamage = true; _local6.psyDamageVal = 16; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_MinigunBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projMinigunBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:Object = {id:-1}; var _local12:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4, true, _local11); if (_local12 != null){ _arg3 = _local12.x; _arg4 = _local12.y; if (_local11.id != -1){ mainGlobal.shootingInEnemies++; addLineDamageToEnemy(_local12, _arg5.damage, enemies[_local11.id], true); }; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; var _local13:Array = new Array(); _local13.push(new GlowFilter(0xFFFF00, 1, 15, 15, 4, BitmapFilterQuality.MEDIUM)); _local6.filters = _local13; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addProj_LaserBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projLaserBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4); if (_local11 != null){ _arg3 = _local11.x; _arg4 = _local11.y; }; if (addLineDamage(_arg1, _arg2, _arg3, _arg4, _arg5.damage)){ mainGlobal.shootingInEnemies++; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; _local6.use_force_restart = true; _local6.fadeSpeed = 0.1; _local6.startFadeOut(); _local6.gravityEnable = false; var _local12:Array = new Array(); _local12.push(new GlowFilter(0xFF0000, 1, 15, 15, 1.7, BitmapFilterQuality.MEDIUM)); _local6.filters = _local12; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addFX_littleBlast(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; addBlinkFX_OverLight(); _local4 = new fxBlast(); _local4.x = _arg1; _local4.y = _arg2; _local4.blendMode = BlendMode.SCREEN; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBullet(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, 24); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_Debris(_arg1:Number, _arg2:Number, _arg3:Number=1, _arg4:String=""):propObject{ var _local5:propObject; _local5 = new propDebris(); _local5.x = _arg1; _local5.y = _arg2; _local5.speed.y = (ageMath.Random(-6, -18) * _arg3); _local5.speed.x = (ageMath.Random(-10, 10) * _arg3); if (_arg4.length){ _local5.gotoAndStop(_arg4); } else { _local5.gotoAndStop(ageMath.RandomInt(1, 20)); }; _local5.curLevel = this; dynObjects.push(_local5); propObjects.push(_local5); _local5.isRubber = true; _local5.stayTime = (3000 + ageMath.RandomInt(1, 2000)); _local5.timerStayDelay.start(); _local5.useRotateSpeed = true; _local5.rotateSpeed = ageMath.RandomInt(-15, 15); propLayer.addChild(_local5); return (_local5); } public function addProj_BombWep(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBombWep(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_Rocket(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projRocket(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function ifMCOnScreen(_arg1:MovieClip):Boolean{ var _local2:Point = this.localToGlobal(new Point(_arg1.x, _arg1.y)); var _local3:Rectangle = _arg1.getBounds(root); var _local4:Rectangle = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local4.intersects(_local3)){ return (true); }; return (false); } public function alignObjXToAnother(_arg1, _arg2):void{ if ((_arg1.x - (_arg1.width * 0.5)) < _arg2.x){ _arg1.x = (_arg1.x + (_arg2.x - (_arg1.x - (_arg1.width * 0.5)))); }; if ((_arg1.x + (_arg1.width * 0.5)) > (_arg2.x + _arg2.width)){ _arg1.x = (_arg1.x - ((_arg1.x + (_arg1.width * 0.5)) - (_arg2.x + _arg2.width))); }; } public function levInit(){ mainGlobal.secretsAll = 3; curLevNum = 3; curLevScore = 3600; levelMus = "musGlory"; musicEnv.fadeTo(levelMus); goArrow.visible = false; sVar["triggerUpgrade1"] = false; sVar["triggerUpgrade2"] = false; levLeftLim = leftLevBorder.x; levRightLim = rightLevBorder.x; sVar["triggerSecret1"] = false; sVar["triggerSecret2"] = false; sVar["triggerSecret3"] = false; sVar["DlgTedKilledAlien"] = false; sVar["DlgTedKilledAlienEnd"] = false; sVar["DlgTedKilledAlienTimer"] = 0; sVar["triggerZombieGirl"] = false; sVar["triggerZombieGirlEnd"] = false; sVar["triggerZombieGirlTimer"] = 0; sVar["prebossEnemies"] = false; sVar["prebossEnemiesEnd"] = false; sVar["prebossEnemiesTimer"] = 0; sVar["DlgTedKilledBoss"] = false; sVar["DlgTedKilledBossEnd"] = false; sVar["DlgTedKilledBossTimer"] = 0; } public function addExplotion(_arg1:projObject, _arg2:actorObject=null):void{ var _local3:Number; var _local5:int; _local3 = ageMath.Distance(_arg1.x, _arg1.y, hero.x, hero.y); var _local4:projObject = new projObject(); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = hero.x; _local4.y = (hero.y - (hero.height / 2)); _local4.fromGoodGuy = false; hero.transmitDamage(_local4); Game(parent).gameGUI.painFrame.startFadeOut(); _local4.clearDynObject(); }; _local5 = 0; while (_local5 < enemies.length) { if (((((enemies[_local5].dead) && (!((_arg2 == null))))) && (!((_arg2 == enemies[_local5]))))){ } else { _local3 = ageMath.Distance(_arg1.x, _arg1.y, enemies[_local5].x, enemies[_local5].y); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = enemies[_local5].x; _local4.y = (enemies[_local5].y - (enemies[_local5].height / 2)); _local4.fromGoodGuy = true; enemies[_local5].transmitDamage(_local4); _local4.clearDynObject(); }; }; _local5++; }; } public function addLimiter(_arg1){ limiters.push(_arg1); } public function addFX_BlastWave(_arg1:Number, _arg2:Number, _arg3:Number=1){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxBlastWave(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addProp_minigunAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMinigunAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addActor(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=-1):actorObject{ var _local6:actorObject; if (_arg1 == "AlienSaw"){ _local6 = new AlienSaw(); } else { if (_arg1 == "AlienHunter"){ _local6 = new AlienHunter(); } else { if (_arg1 == "AlienElectro"){ _local6 = new AlienElectro(); } else { if (_arg1 == "Zomb01"){ _local6 = new Zomb01(); } else { if (_arg1 == "Zomb02"){ _local6 = new Zomb02(); } else { if (_arg1 == "Zomb03"){ _local6 = new Zomb03(); } else { if (_arg1 == "Zomb04"){ _local6 = new Zomb04(); } else { if (_arg1 == "Zomb05"){ _local6 = new Zomb05(); } else { if (_arg1 == "Zomb01Run"){ _local6 = new Zomb01Run(); } else { if (_arg1 == "Zomb02Run"){ _local6 = new Zomb02Run(); } else { if (_arg1 == "Zomb03Run"){ _local6 = new Zomb03Run(); } else { if (_arg1 == "Zomb04Run"){ _local6 = new Zomb04Run(); } else { if (_arg1 == "Zomb05Run"){ _local6 = new Zomb05Run(); } else { if (_arg1 == "Zomb01Vomit"){ _local6 = new Zomb01Vomit(); } else { if (_arg1 == "Zomb02Vomit"){ _local6 = new Zomb02Vomit(); } else { if (_arg1 == "Zomb03Vomit"){ _local6 = new Zomb03Vomit(); } else { if (_arg1 == "Zomb04Vomit"){ _local6 = new Zomb04Vomit(); } else { if (_arg1 == "Zomb05Vomit"){ _local6 = new Zomb05Vomit(); } else { if (_arg1 == "Spider"){ _local6 = new Spider(); } else { if (_arg1 == "AlienBomber"){ _local6 = new AlienBomber(); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; _local6.x = _arg3; _local6.y = _arg4; _local6.name = _arg2; if (!_local6.noStatEnemy){ mainGlobal.enemiesAll++; }; if (_arg5 < 0){ addChild(_local6); } else { addChildAt(_local6, _arg5); }; return (_local6); } public function Update(_arg1:Event):void{ var _local5:int; var _local6:*; var _local7:*; var _local11:int; var _local12:addActorStruct; var _local13:int; var _local14:Number; var _local15:Array; var _local16:ColorMatrix; if (isWin){ hero.body.stop(); return; }; if (((((mainGlobal.paused) || (!(visible)))) || (!((parent as Game))))){ return; }; if ((((hero.life <= 0)) && (!(isLose)))){ isLose = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToLose(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musLose"); sounds.PlaySnd(("TedDie" + ageMath.RandomInt(1, 2).toString()), 0.8); return; }; if (initFirst){ if (((!(mainGlobal.configMusicOn)) && (!(mainGlobal.configSoundOn)))){ Game(parent).gamButSnd.gotoAndStop(2); } else { Game(parent).gamButSnd.gotoAndStop(1); }; initFirst = false; initLimCache(); Game(parent).fadeBG.fadeSpeed = 0.03; Game(parent).fadeBG.use_force_restart = true; Game(parent).fadeBG.startFadeOut(); Game(parent).gameGUI.hlpControl.visible = false; Game(parent).gameGUI.dlg.visible = false; Game(parent).gameGUI.dlgIco.x = -500; _local6 = (hero.x * this.scaleX); _local7 = ((hero.y - 95) * this.scaleY); x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); mainGlobal.initStat(); _local11 = 0; _local11 = 0; while (_local11 < enemies.length) { if (!enemies[_local11].noStatEnemy){ mainGlobal.enemiesAll++; }; _local11++; }; Game(parent).sky.visible = true; levInit(); if (mainGlobal.isSingleEp){ if (curLevNum == 1){ _local5 = 0; while (_local5 < 1) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 0; } else { if (curLevNum == 2){ _local5 = 0; while (_local5 < 2) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 200; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 3){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 4){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1300; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 5){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 6){ _local5 = 0; while (_local5 < 4) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 2000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 7){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 8){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; } else { if (curLevNum == 9){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; } else { if (curLevNum == 10){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; }; }; }; }; }; }; }; }; }; }; }; Game(parent).gameGUI.dlgIco.gotoAndStop(1); }; var _local2:int = getTimer(); cleenUP(); UpdateLimitersOnScr(); UpdateParalaxObjects(); UpdateDynObjects(); UpdatePropObjects(); UpdateEnemies(); UpdateProjObjects(); hero.updateActor(); hero.applyDamages(); hero.testIsActorDead(); if (addActorsArr.length){ while (addActorsArr.length) { _local12 = addActorsArr.pop(); addActor(_local12.strClass, "", _local12.posx, _local12.posy, _local12.orderZ); }; }; var _local3:int; _local3 = 0; while (_local3 < chunkObjects.length) { if (ifMCOnScreen(chunkObjects[_local3])){ chunkObjects[_local3].visible = true; } else { chunkObjects[_local3].visible = false; }; _local3++; }; levScript(); var _local4:Boolean; if (Controls.key[Keyboard.F2]){ hero.life = 1; }; if (Controls.key[Keyboard.ESCAPE]){ showGameMenu(); }; if (!hero.timerReloadDelay.running){ _local13 = 0; while (_local13 < 8) { if (((((Controls.key[(49 + _local13)]) && (!((hero.curWeaponNum == (_local13 + 1)))))) && (hero.weapons[_local13].active))){ hero.curWeaponNum = (_local13 + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); }; _local13++; }; }; if (Game(root).cursor.currentLabel == "cross"){ _local14 = ageMath.Distance(hero.x, hero.y, (Controls.mousePosX - x), (Controls.mousePosY - y)); Game(root).cursor.shootAcc.scaleX = (Game(root).cursor.shootAcc.scaleY = ((hero.wepAcc * _local14) / hero.weapons[(hero.curWeaponNum - 1)].accDistScale)); }; _local5 = 0; _local5 = 0; while (_local5 < 8) { if (((hero.weapons[_local5]) && (hero.weapons[_local5].active))){ if ((((hero.weapons[_local5].bulletsInCatrige == 0)) && ((hero.weapons[_local5].bulletsNum == 0)))){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 2){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 2; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(-124); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (hero.curWeaponNum != (_local5 + 1)){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 1){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 1; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 3){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 3; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(87); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 4){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 4; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 0.5; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; _local5++; }; Game(parent).gameGUI.wepInfo.catTxt.text = ((hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrige + "/") + hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrigeMax); if (!hero.weapons[(hero.curWeaponNum - 1)].infAmmo){ Game(parent).gameGUI.wepInfo.allTxt.text = hero.weapons[(hero.curWeaponNum - 1)].bulletsNum; } else { Game(parent).gameGUI.wepInfo.allTxt.text = "INF"; }; Game(parent).gameGUI.wepInfo.pic.gotoAndStop((hero.curWeaponNum + 4)); if ((hero.x - (hero.width * 0.5)) < levLeftLim){ hero.x = (levLeftLim + (hero.width * 0.5)); } else { if ((hero.x + (hero.width * 0.5)) > levRightLim){ hero.x = (levRightLim - (hero.width * 0.5)); }; }; _local6 = ageMath.Lerp((Controls.mousePosX - x), (hero.x * scaleX), 0.6); _local7 = ageMath.Lerp((Controls.mousePosY - y), ((hero.y - 95) * scaleY), 0.6); if (!_local4){ x = Math.round(ageMath.Lerp(x, -((_local6 - (stage.stageWidth * 0.5))), 0.15)); y = Math.round(ageMath.Lerp(y, -((_local7 - (stage.stageHeight * 0.5))), 0.15)); } else { x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); }; if (this["blackScr"]){ this["blackScr"].x = -(x); this["blackScr"].y = -(y); }; var _local8:Point = this.localToGlobal(new Point(levLeftLim, 0)); var _local9:Point = this.localToGlobal(new Point(levRightLim, 0)); if (_local8.x > 0){ x = (x - _local8.x); } else { if (_local9.x < stage.stageWidth){ x = (x + (stage.stageWidth - _local9.x)); }; }; if (curBlastShake > 0){ x = (x + ageMath.Random(-(curBlastShake), curBlastShake)); y = (y + ageMath.Random(-(curBlastShake), curBlastShake)); curBlastShake = (curBlastShake - curBlastShakeDec); if (curBlastShake < 0){ curBlastShake = 0; }; }; Game(parent).gameGUI.lifeBar.gotoAndStop(Math.round(ageMath.RemapVal(Math.round(hero.life), 1, hero.lifeMax, 1, 100))); Game(parent).gameGUI.lifeBar.width = ageMath.RemapVal(Math.round(hero.lifeMax), 100, 300, 108, 227); Game(parent).gameGUI.txtMoney.text = ("$" + hero.moneyCnt); var _local10:int; _local10 = 0; while (_local10 < 6) { if (hero.itemsInBag[_local10]){ Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(hero.itemsInBag[_local10]); } else { Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(1); }; _local10++; }; if (hero.bioMaxLevel > 0){ Game(parent).gameGUI.hazBio.visible = true; Game(parent).gameGUI.hazBio.gotoAndStop((100 - int(ageMath.RemapVal(hero.bioCurLevel, 0, hero.bioMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazBio.visible = false; }; if (hero.psyMaxLevel > 0){ Game(parent).gameGUI.hazPsy.visible = true; Game(parent).gameGUI.hazPsy.gotoAndStop((100 - int(ageMath.RemapVal(hero.psyCurLevel, 0, hero.psyMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazPsy.visible = false; }; if (hero.electroMaxLevel > 0){ Game(parent).gameGUI.hazElectro.visible = true; Game(parent).gameGUI.hazElectro.gotoAndStop((100 - int(ageMath.RemapVal(hero.electroCurLevel, 0, hero.electroMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazElectro.visible = false; }; Controls.updateKeyNew(); if (Game(parent).groundBG){ Game(parent).groundBG.changeBG(x, y); }; } public function addFX_MetalSparks(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxMetalSparks(); _local3.x = _arg1; _local3.y = _arg2; _local3.blendMode = BlendMode.ADD; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_blasterAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlasterAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProp_Blaster(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlaster(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function UpdateEnemies():void{ var _local1:int; _local1 = 0; while (_local1 < enemies.length) { if (((enemies[_local1].dead) || ((enemies[_local1].life <= 0)))){ } else { if (((((!((enemies[_local1].parent as Level))) || (enemies[_local1].alwaysSeeEnemy))) || ((ageMath.Distance(enemies[_local1].x, enemies[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6))))){ enemies[_local1].updateActorEnemy(); }; }; _local1++; }; } public function addProj_Vomit(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projVomit(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.timerFXAdd.delay = 80; _local6.timerFXAdd.start(); _local6.fxFunc = addFX_VomitSplatters; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = true; _local6.gravityComp = true; _local6.infAmmo = true; _local6.useBioDamage = true; _local6.bioDamageVal = 10; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } } }//package main
Section 81
//Level4 (main.Level4) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.ui.*; public dynamic class Level4 extends Level { public var goArrow:MovieClip; public var upWallY:MovieClip; public var upWall:MovieClip; public var tubeSpiders:MovieClip; var dlgSpeedFactor:Number;// = 4 public var triggerLeverGM:MovieClip; var levRightLim:Number;// = 999999 public var enemies:Array; var lastMSFrame:int;// = 9999 var levLeftLim:Number;// = -999999 public var butLeverGM:MovieClip; public var propObjects:Array; public var triggerTubeSpiders:MovieClip; public var triggerLeverCell:MovieClip; public var minLimX:Number;// = 2147483647 public var limLeverGM:MovieClip; public var limLeverCellDoor1:MovieClip; public var limLeverCellDoor2:MovieClip; public var maxLimX:Number;// = -2147483648 var curBlastShake:Number;// = 0 var isWin:Boolean;// = false public var dynObjects:Array; var isLose:Boolean;// = false public var limLeverElevDoor:MovieClip; var grav:Number;// = 1 public var triggerLeverElev:MovieClip; public var triggerUpgrade1:MovieClip; public var limitersCache:Array; public var triggerBioGasLevel:MovieClip; var initFirst:Boolean;// = false var curLevNum:int;// = 1 public var butLeverCell:MovieClip; public var triggerLevelEnd:MovieClip; public var FXLayer:MovieClip; public var blackScr:MovieClip; var levelMus:String;// = "" public var triggerSecret1:MovieClip; public var triggerSecret2:MovieClip; public var propLayer:MovieClip; var sVar:Object; public var LeverCellDoor1:MovieClip; public var LeverCellDoor2:MovieClip; public var limitersOnScr:Array; public var butLeverElev:MovieClip; public var addActorsArr:Array; public var triggerLeverElevLIM:MovieClip; public var limiters:Array; public var LeverGM:MovieClip; public var paralaxObjects:Array; var curLevScore:int;// = 3000 public var fxObjects:Array; var curBlastShakeDec:Number;// = 0.3 public var goodNPC:Array; public var chunkObjects:Array; var curScale:Number;// = 1 public var LeverElevDoor:MovieClip; public var limitersCacheStep:int;// = 640 public var projObjects:Array; public var hero:MovieClip; public var projLayer:MovieClip; public function Level4(){ sVar = new Object(); limiters = new Array(); limitersCache = new Array(); limitersOnScr = new Array(); dynObjects = new Array(); enemies = new Array(); goodNPC = new Array(); paralaxObjects = new Array(); projObjects = new Array(); chunkObjects = new Array(); fxObjects = new Array(); propObjects = new Array(); addActorsArr = new Array(); super(); addFrameScript(0, frame1); init(); } public function addLineDamage(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Boolean{ var _local6:Number; var _local8:int; var _local9:ageVector; var _local7:Boolean; _local8 = 0; while (_local8 < enemies.length) { if (enemies[_local8].dead){ } else { _local9 = enemies[_local8].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local9 != null){ addLineDamageToEnemy(_local9, _arg5, enemies[_local8], true); _local7 = true; }; }; _local8++; }; return (_local7); } public function levInit(){ mainGlobal.secretsAll = 2; curLevNum = 4; curLevScore = 3000; levelMus = "musDarkAmb"; musicEnv.fadeTo(levelMus); Game(parent).sky.visible = false; levRightLim = (triggerLevelEnd.x + triggerLevelEnd.width); sVar["triggerUpgrade1"] = false; sVar["triggerLeverCell"] = false; sVar["triggerLeverGM"] = false; sVar["triggerLeverElev"] = false; sVar["GMTaked"] = false; sVar["triggerTedElevatorEnd"] = false; sVar["DlgTedElevatorEndTimer"] = 0; sVar["DlgTedElevatorEnd"] = false; sVar["triggerTedBioEnd"] = false; sVar["DlgTedBioTimer"] = 0; sVar["DlgTedBioEnd"] = false; sVar["triggerTubeSpiders"] = false; } public function addFX_VomitSplatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxVomitSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function initLimCache(){ var _local1:*; var _local2:int; var _local3:int; var _local4:int; maxLimX = int.MIN_VALUE; minLimX = int.MAX_VALUE; _local1 = 0; while (_local1 < limiters.length) { if (limiters[_local1].x < minLimX){ minLimX = limiters[_local1].x; }; if ((limiters[_local1].x + limiters[_local1].width) > maxLimX){ maxLimX = limiters[_local1].x; }; _local1++; }; limitersCache = []; _local1 = 0; while (_local1 < (((maxLimX - minLimX) / limitersCacheStep) + 1)) { limitersCache.push(new Array()); _local1++; }; _local1 = 0; while (_local1 < limiters.length) { _local3 = int(((limiters[_local1].x - minLimX) / limitersCacheStep)); _local4 = int((((limiters[_local1].x + limiters[_local1].width) - minLimX) / limitersCacheStep)); _local2 = _local3; while (_local2 <= _local4) { if (!limitersCache[_local2]){ limitersCache[_local2] = new Array(); }; limitersCache[_local2].push(limiters[_local1]); _local2++; }; _local1++; }; } public function addFX_littleSmoke(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxLittleSmoke(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function init(){ addEventListener(Event.ENTER_FRAME, Update, false, 0, true); } public function openUpgradeMenu():void{ mainGlobal.paused = true; this.visible = false; Game(root).cursor.gotoAndStop("arrow"); Game(parent).menuUpgradeShop.showShop(); musicEnv.fadeTo("musUpgrade"); } function mouseLeave(_arg1:Event):void{ showGameMenu(); } public function UpdateParalaxObjects():void{ var _local1:int; _local1 = 0; while (_local1 < paralaxObjects.length) { paralaxObjects[_local1].x = (paralaxObjects[_local1].saveX - ageMath.RemapVal((paralaxObjects[_local1].saveX + x), 0, stage.stageWidth, 0, paralaxObjects[_local1].paralaxX)); paralaxObjects[_local1].y = (paralaxObjects[_local1].saveY - ageMath.RemapVal((paralaxObjects[_local1].saveY + y), 0, stage.stageHeight, 0, paralaxObjects[_local1].paralaxY)); _local1++; }; } public function addBlinkFX_OverLight():void{ Game(parent).gameGUI.fxblink.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink.use_force_restart = true; Game(parent).gameGUI.fxblink.startFadeOut(); curBlastShake = 15; } public function UpdateDynObjects():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; _local1 = 0; while (_local1 < dynObjects.length) { if (dynObjects[_local1].visible == false){ } else { if (ageMath.Distance(dynObjects[_local1].x, dynObjects[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6)){ if (dynObjects[_local1].gravityEnable){ dynObjects[_local1].speed.y = (dynObjects[_local1].speed.y + (grav * dynObjects[_local1].gravityFactor)); }; dynObjects[_local1].speed.y = ((dynObjects[_local1].speed.y)>dynObjects[_local1].maxSpeed.y) ? dynObjects[_local1].maxSpeed.y : dynObjects[_local1].speed.y; dynObjects[_local1].y = (dynObjects[_local1].y + dynObjects[_local1].speed.y); if (dynObjects[_local1].collisionEnable){ _local2 = int((((dynObjects[_local1].x - dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local3 = int((((dynObjects[_local1].x + dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local4 = _local2; while (_local4 <= _local3) { if (((limitersCache[_local4]) && (limitersCache[_local4].length))){ checkHitPlatform(dynObjects[_local1], limitersCache[_local4]); }; _local4++; }; }; }; }; _local1++; }; } public function cleenUP():void{ cleenUP_FX(); cleenUP_Proj(); cleenUP_Prop(); cleenUP_Actors(); } public function checkHitPlatform(_arg1, _arg2:Array){ var _local3:int; _arg1.bottomLimiter = null; _local3 = 0; while (_local3 < _arg2.length) { if (((_arg2[_local3].slimMode) && ((_arg1.speed.y < 0)))){ } else { if (_arg2[_local3].hitTestObject(_arg1.p2)){ _arg1.jump = false; if (_arg1.isRubber){ _arg1.speed.y = (_arg1.speed.y * -(_arg1.rubberFactor)); _arg1.speed.x = (_arg1.speed.x * _arg1.rubberFactor); if (_arg1.useRotateSpeed){ _arg1.rotateSpeed = 0; }; } else { _arg1.speed.y = 0; }; _arg1.y = ((_arg2[_local3].y - _arg1.p2.y) - _arg1.p2.height); _arg1.bottomLimiter = _arg2[_local3]; } else { if (((_arg2[_local3].hitTestObject(_arg1.p1)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = (_arg2[_local3].x - (_arg1.p1.x + _arg1.p1.width)); } else { _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) + (_arg1.p1.x + _arg1.p1.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p3)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) - _arg1.p3.x); } else { _arg1.x = (_arg2[_local3].x - (-(_arg1.p3.x) + _arg1.p3.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p4)) && (!(_arg2[_local3].slimMode)))){ _arg1.speed.y = 0; _arg1.y = ((_arg2[_local3].y + _arg2[_local3].height) - _arg1.p4.y); }; }; }; }; }; _local3++; }; } public function addLineDamageToEnemy(_arg1:ageVector, _arg2:Number, _arg3:actorObject, _arg4:Boolean){ var _local5:projObject = new projObject(); _local5.damage = _arg2; _local5.x = _arg1.x; _local5.y = _arg1.y; _local5.fromGoodGuy = _arg4; _arg3.transmitDamage(_local5); _local5.clearDynObject(); } public function addFX_BloodOnGround(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodOnGround(); _local3.x = _arg1; _local3.y = _arg2; _local3.gotoAndStop(ageMath.RandomInt(1, 5)); _local3.scaleY = 0.5; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function cleenUP_Proj():void{ var _local1:int; _local1 = 0; while (_local1 < projObjects.length) { if (((projObjects[_local1]) && ((projObjects[_local1].visible == false)))){ projObjects[_local1].clearDynObject(); if (projObjects[_local1]){ if (projObjects[_local1].parent){ projObjects[_local1].parent.removeChild(projObjects[_local1]); }; }; projObjects.splice(_local1, 1); break; }; _local1++; }; } public function cleenUP_Actors():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < enemies.length) { if (((((enemies[_local1]) && ((enemies[_local1].visible == false)))) && (enemies[_local1].dead))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == enemies[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; enemies[_local1].clearActorObject(); if (enemies[_local1]){ if (enemies[_local1].parent){ enemies[_local1].parent.removeChild(enemies[_local1]); }; }; enemies.splice(_local1, 1); break; }; _local1++; }; } public function addBlasterProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new blasterProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function cleenUP_Prop():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < propObjects.length) { if (((propObjects[_local1]) && ((propObjects[_local1].visible == false)))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == propObjects[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; if (propObjects[_local1]){ if (propObjects[_local1].parent){ propObjects[_local1].parent.removeChild(propObjects[_local1]); }; }; propObjects.splice(_local1, 1); break; }; _local1++; }; } public function addProp_Shotgun(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propShotgun(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addBlinkFX_OverLight2():void{ Game(parent).gameGUI.fxblink2.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink2.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink2.use_force_restart = true; Game(parent).gameGUI.fxblink2.startFadeOut(); } public function addFX_BloodLeak(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodLeak(); _local3.x = _arg1; _local3.y = _arg2; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function UpdateLimitersOnScr():void{ var _local1:int; var _local2:int; var _local3:*; var _local4:int; var _local5:Point; var _local6:Rectangle; var _local7:Rectangle; limitersOnScr = []; _local1 = int(((-(x) - minLimX) / limitersCacheStep)); _local2 = int((((-(x) + stage.stageWidth) - minLimX) / limitersCacheStep)); _local4 = _local1; while (_local4 <= _local2) { if (limitersCache[_local4]){ _local3 = 0; while (_local3 < limitersCache[_local4].length) { _local5 = this.localToGlobal(new Point(limitersCache[_local4][_local3].x, limitersCache[_local4][_local3].y)); _local6 = new Rectangle(_local5.x, _local5.y, limitersCache[_local4][_local3].width, limitersCache[_local4][_local3].height); _local7 = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local7.intersects(_local6)){ limitersOnScr.push(limitersCache[_local4][_local3]); }; _local3++; }; }; _local4++; }; } public function testIntersectLimiterOnScr(_arg1:dynObject):Boolean{ var _local2:int; _local2 = 0; while (_local2 < limitersOnScr.length) { if (((!(limitersOnScr[_local2].slimMode)) && (limitersOnScr[_local2].hitTestObject(_arg1)))){ return (true); }; _local2++; }; return (false); } public function UpdateProjObjects():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < projObjects.length) { if (projObjects[_local1].visible == false){ } else { if (projObjects[_local1].gravityEnable){ projObjects[_local1].Velocity.y = (projObjects[_local1].Velocity.y + (grav * projObjects[_local1].gravityFactor)); projObjects[_local1].Velocity.y = ((projObjects[_local1].Velocity.y)>projObjects[_local1].maxSpeed.y) ? projObjects[_local1].maxSpeed.y : projObjects[_local1].Velocity.y; }; projObjects[_local1].updateDynObj(); if (!projObjects[_local1].fromGoodGuy){ if (((!(hero.dead)) && (hero.hitTestProj(projObjects[_local1])))){ if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { hero.transmitDamage(projObjects[_local1]); Game(parent).gameGUI.painFrame.startFadeOut(); }; }; } else { _local2 = 0; while (_local2 < enemies.length) { if (((!(enemies[_local2].dead)) && (enemies[_local2].hitTestProj(projObjects[_local1])))){ mainGlobal.shootingInEnemies++; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { enemies[_local2].transmitDamage(projObjects[_local1]); }; }; _local2++; }; }; if (ageMath.Distance(projObjects[_local1].x, projObjects[_local1].y, hero.x, hero.y) > 670){ projObjects[_local1].visible = false; }; if (testIntersectLimiterOnScr(projObjects[_local1])){ projObjects[_local1].visible = false; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; }; }; }; _local1++; }; } public function cleenUP_FX():void{ var _local1:int; _local1 = 0; while (_local1 < fxObjects.length) { if (((fxObjects[_local1]) && ((fxObjects[_local1].visible == false)))){ if (fxObjects[_local1]){ if (fxObjects[_local1].parent){ fxObjects[_local1].parent.removeChild(fxObjects[_local1]); }; }; fxObjects.splice(_local1, 1); break; }; _local1++; }; } function frame1(){ initFirst = true; } public function term(){ var _local1:int; removeEventListener(Event.ENTER_FRAME, Update); _local1 = 0; while (_local1 < enemies.length) { enemies[_local1].clearActorObject(); _local1++; }; _local1 = 0; while (_local1 < dynObjects.length) { dynObjects[_local1].clearDynObject(); _local1++; }; dynObjects = []; enemies = []; goodNPC = []; projObjects = []; paralaxObjects = []; chunkObjects = []; fxObjects = []; propObjects = []; addActorsArr = []; limitersCache = []; limitersOnScr = []; limiters = []; } public function addProp_Coin(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propCoin(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function testRayToLimiterOnScr(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean=false, _arg6:Object=null):ageVector{ var _local10:int; var _local11:ageVector; var _local12:Number; var _local13:ageVector; var _local14:Number; var _local7:ageVector; var _local8:ageVector = new ageVector(_arg1, _arg3); var _local9:Number = Number.MAX_VALUE; _local10 = 0; while (_local10 < limitersOnScr.length) { if (!limitersOnScr[_local10].slimMode){ _local11 = ageMath.getLineCrossRect(_arg1, _arg2, _arg3, _arg4, limitersOnScr[_local10].x, limitersOnScr[_local10].y, (limitersOnScr[_local10].x + limitersOnScr[_local10].width), (limitersOnScr[_local10].y + limitersOnScr[_local10].height)); if (_local11 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local11); _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local12 = ageMath.DistanceVec(_local8, _local11); if (_local12 < _local9){ _local9 = _local12; _local7.copy(_local11); }; }; }; }; _local10++; }; if (!_arg5){ return (_local7); }; _arg6.id = -1; _local10 = 0; while (_local10 < enemies.length) { if (enemies[_local10].dead){ } else { _local13 = enemies[_local10].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local13 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local13); _arg6.id = _local10; _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local14 = ageMath.DistanceVec(_local8, _local13); if (_local14 < _local9){ _local9 = _local14; _arg6.id = _local10; _local7.copy(_local13); }; }; }; }; _local10++; }; return (_local7); } public function levScript(){ var _local1:int; var _local2:Point; var _local3:int; if (!sVar["triggerSecret1"]){ if (triggerSecret1.hitTestObject(hero)){ sVar["triggerSecret1"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["triggerSecret2"]){ if (triggerSecret2.hitTestObject(hero)){ sVar["triggerSecret2"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (((!(hero.head.gm.visible)) && ((hero.y > triggerBioGasLevel.y)))){ hero.addBioDamage(0.6); if (!sVar["triggerTedBioEnd"]){ sVar["triggerTedBioEnd"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev4_TedBio"); sVar["DlgTedBioTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); }; }; if (sVar["triggerTedBioEnd"]){ if (!sVar["DlgTedBioEnd"]){ if (sVar["DlgTedBioTimer"] == 0){ sVar["DlgTedBioEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { var _local4 = sVar; var _local5 = "DlgTedBioTimer"; var _local6 = (_local4[_local5] - 1); _local4[_local5] = _local6; if (Controls.keyNew[69]){ sVar["DlgTedBioTimer"] = 0; }; }; }; }; if (!sVar["GMTaked"]){ if (hero.isItemExist("gasmask")){ hero.head.gm.visible = true; }; }; if (!sVar["triggerUpgrade1"]){ if (triggerUpgrade1.hitTestObject(hero)){ if (((Controls.keyNew[Keyboard.ENTER]) || (Controls.keyNew[69]))){ openUpgradeMenu(); }; if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(5); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; } else { if (!triggerLeverGM.hitTestObject(hero)){ if (!triggerLeverCell.hitTestObject(hero)){ if (!triggerLeverElev.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 5)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; }; if (!sVar["triggerLeverCell"]){ if (triggerLeverCell.hitTestObject(hero)){ if (hero.isItemExist("lever")){ sVar["triggerLeverCell"] = true; hero.removeItemFromBag("lever"); butLeverCell.play(); LeverCellDoor1.play(); LeverCellDoor2.play(); sounds.PlaySnd("sewerDoorOpen"); } else { if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(9); Game(parent).gameGUI.hlpControl.pic2.gotoAndStop("lever"); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; }; } else { if (!triggerLeverGM.hitTestObject(hero)){ if (!triggerUpgrade1.hitTestObject(hero)){ if (!triggerLeverElev.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 9)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; } else { _local2 = this.globalToLocal(MovieClip(LeverCellDoor1).localToGlobal(new Point(LeverCellDoor1.anmPoint.x, LeverCellDoor1.anmPoint.y))); limLeverCellDoor1.x = (_local2.x - limLeverCellDoor1.width); _local2 = this.globalToLocal(MovieClip(LeverCellDoor2).localToGlobal(new Point(LeverCellDoor2.anmPoint.x, LeverCellDoor2.anmPoint.y))); limLeverCellDoor2.x = _local2.x; }; if (!sVar["triggerLeverGM"]){ if (triggerLeverGM.hitTestObject(hero)){ if (hero.isItemExist("lever")){ sVar["triggerLeverGM"] = true; hero.removeItemFromBag("lever"); butLeverGM.play(); LeverGM.play(); sounds.PlaySnd("sewerDoorOpen"); } else { if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(9); Game(parent).gameGUI.hlpControl.pic2.gotoAndStop("lever"); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; }; } else { if (!triggerLeverCell.hitTestObject(hero)){ if (!triggerUpgrade1.hitTestObject(hero)){ if (!triggerLeverElev.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 9)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; } else { _local2 = this.globalToLocal(MovieClip(LeverGM).localToGlobal(new Point(LeverGM.anmPoint.x, LeverGM.anmPoint.y))); limLeverGM.y = _local2.y; }; if (!sVar["triggerTubeSpiders"]){ if (triggerTubeSpiders.hitTestObject(hero)){ _local3 = 150; sVar["triggerTubeSpiders"] = true; addActor("Spider", "", tubeSpiders.x, (tubeSpiders.y - (_local3 * 1)), getChildIndex(tubeSpiders)); addActor("Spider", "", tubeSpiders.x, (tubeSpiders.y - (_local3 * 2)), getChildIndex(tubeSpiders)); addActor("Spider", "", tubeSpiders.x, (tubeSpiders.y - (_local3 * 3)), getChildIndex(tubeSpiders)); addActor("Spider", "", tubeSpiders.x, (tubeSpiders.y - (_local3 * 4)), getChildIndex(tubeSpiders)); addActor("Spider", "", tubeSpiders.x, (tubeSpiders.y - (_local3 * 5)), getChildIndex(tubeSpiders)); }; }; if (!sVar["triggerLeverElev"]){ if (triggerLeverElev.hitTestObject(hero)){ if (hero.isItemExist("valve")){ sVar["triggerLeverElev"] = true; hero.removeItemFromBag("valve"); butLeverElev.play(); upWall.y = upWallY.y; } else { if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(9); Game(parent).gameGUI.hlpControl.pic2.gotoAndStop("valve"); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; }; } else { if (!triggerLeverCell.hitTestObject(hero)){ if (!triggerUpgrade1.hitTestObject(hero)){ if (!triggerLeverGM.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 9)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; } else { if (limLeverElevDoor.y > triggerLeverElevLIM.y){ limLeverElevDoor.y = (limLeverElevDoor.y - 2); LeverElevDoor.y = (LeverElevDoor.y - 2); } else { if (!sVar["triggerTedElevatorEnd"]){ sVar["triggerTedElevatorEnd"] = true; hero.head.gm.visible = false; hero.removeItemFromBag("gasmask"); _local1 = Game(parent).gameGUI.dlg.setTo("lev4_TedElevatorEnd"); sVar["DlgTedElevatorEndTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (!sVar["DlgTedElevatorEnd"]){ if (sVar["DlgTedElevatorEndTimer"] == 0){ sVar["DlgTedElevatorEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { _local4 = sVar; _local5 = "DlgTedElevatorEndTimer"; _local6 = (_local4[_local5] - 1); _local4[_local5] = _local6; if (Controls.keyNew[69]){ sVar["DlgTedElevatorEndTimer"] = 0; }; }; }; }; }; }; if (!isWin){ if (triggerLevelEnd.hitTestObject(hero)){ isWin = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToWin(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musWin"); return; }; }; } public function addProp_MedKit(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new dropMedKit(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_Headshot(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxHeadshot(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Dynamite(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propDynamite(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_Splatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxBloodSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Money2(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney2(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addProp_Money1(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney1(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } function showGameMenu():void{ mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); Game(root).menuInGame.visible = true; Game(root).gameGUI.startFadeOut(); Game(root).menuInGame.startFadeIn(); } public function addProj_MinigunBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projMinigunBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:Object = {id:-1}; var _local12:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4, true, _local11); if (_local12 != null){ _arg3 = _local12.x; _arg4 = _local12.y; if (_local11.id != -1){ mainGlobal.shootingInEnemies++; addLineDamageToEnemy(_local12, _arg5.damage, enemies[_local11.id], true); }; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; var _local13:Array = new Array(); _local13.push(new GlowFilter(0xFFFF00, 1, 15, 15, 4, BitmapFilterQuality.MEDIUM)); _local6.filters = _local13; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addProj_LaserBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projLaserBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4); if (_local11 != null){ _arg3 = _local11.x; _arg4 = _local11.y; }; if (addLineDamage(_arg1, _arg2, _arg3, _arg4, _arg5.damage)){ mainGlobal.shootingInEnemies++; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; _local6.use_force_restart = true; _local6.fadeSpeed = 0.1; _local6.startFadeOut(); _local6.gravityEnable = false; var _local12:Array = new Array(); _local12.push(new GlowFilter(0xFF0000, 1, 15, 15, 1.7, BitmapFilterQuality.MEDIUM)); _local6.filters = _local12; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addFX_littleBlast(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; addBlinkFX_OverLight(); _local4 = new fxBlast(); _local4.x = _arg1; _local4.y = _arg2; _local4.blendMode = BlendMode.SCREEN; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBullet(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, 24); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_Debris(_arg1:Number, _arg2:Number, _arg3:Number=1, _arg4:String=""):propObject{ var _local5:propObject; _local5 = new propDebris(); _local5.x = _arg1; _local5.y = _arg2; _local5.speed.y = (ageMath.Random(-6, -18) * _arg3); _local5.speed.x = (ageMath.Random(-10, 10) * _arg3); if (_arg4.length){ _local5.gotoAndStop(_arg4); } else { _local5.gotoAndStop(ageMath.RandomInt(1, 20)); }; _local5.curLevel = this; dynObjects.push(_local5); propObjects.push(_local5); _local5.isRubber = true; _local5.stayTime = (3000 + ageMath.RandomInt(1, 2000)); _local5.timerStayDelay.start(); _local5.useRotateSpeed = true; _local5.rotateSpeed = ageMath.RandomInt(-15, 15); propLayer.addChild(_local5); return (_local5); } public function addProj_BombWep(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBombWep(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_Psy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new psyProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; _local6.gravityComp = false; _local6.infAmmo = true; _local6.usePsyDamage = true; _local6.psyDamageVal = 16; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_Rocket(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projRocket(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function ifMCOnScreen(_arg1:MovieClip):Boolean{ var _local2:Point = this.localToGlobal(new Point(_arg1.x, _arg1.y)); var _local3:Rectangle = _arg1.getBounds(root); var _local4:Rectangle = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local4.intersects(_local3)){ return (true); }; return (false); } public function alignObjXToAnother(_arg1, _arg2):void{ if ((_arg1.x - (_arg1.width * 0.5)) < _arg2.x){ _arg1.x = (_arg1.x + (_arg2.x - (_arg1.x - (_arg1.width * 0.5)))); }; if ((_arg1.x + (_arg1.width * 0.5)) > (_arg2.x + _arg2.width)){ _arg1.x = (_arg1.x - ((_arg1.x + (_arg1.width * 0.5)) - (_arg2.x + _arg2.width))); }; } public function addExplotion(_arg1:projObject, _arg2:actorObject=null):void{ var _local3:Number; var _local5:int; _local3 = ageMath.Distance(_arg1.x, _arg1.y, hero.x, hero.y); var _local4:projObject = new projObject(); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = hero.x; _local4.y = (hero.y - (hero.height / 2)); _local4.fromGoodGuy = false; hero.transmitDamage(_local4); Game(parent).gameGUI.painFrame.startFadeOut(); _local4.clearDynObject(); }; _local5 = 0; while (_local5 < enemies.length) { if (((((enemies[_local5].dead) && (!((_arg2 == null))))) && (!((_arg2 == enemies[_local5]))))){ } else { _local3 = ageMath.Distance(_arg1.x, _arg1.y, enemies[_local5].x, enemies[_local5].y); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = enemies[_local5].x; _local4.y = (enemies[_local5].y - (enemies[_local5].height / 2)); _local4.fromGoodGuy = true; enemies[_local5].transmitDamage(_local4); _local4.clearDynObject(); }; }; _local5++; }; } public function addLimiter(_arg1){ limiters.push(_arg1); } public function addProp_minigunAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMinigunAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_BlastWave(_arg1:Number, _arg2:Number, _arg3:Number=1){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxBlastWave(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function Update(_arg1:Event):void{ var _local5:int; var _local6:*; var _local7:*; var _local11:int; var _local12:addActorStruct; var _local13:int; var _local14:Number; var _local15:Array; var _local16:ColorMatrix; if (isWin){ hero.body.stop(); return; }; if (((((mainGlobal.paused) || (!(visible)))) || (!((parent as Game))))){ return; }; if ((((hero.life <= 0)) && (!(isLose)))){ isLose = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToLose(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musLose"); sounds.PlaySnd(("TedDie" + ageMath.RandomInt(1, 2).toString()), 0.8); return; }; if (initFirst){ if (((!(mainGlobal.configMusicOn)) && (!(mainGlobal.configSoundOn)))){ Game(parent).gamButSnd.gotoAndStop(2); } else { Game(parent).gamButSnd.gotoAndStop(1); }; initFirst = false; initLimCache(); Game(parent).fadeBG.fadeSpeed = 0.03; Game(parent).fadeBG.use_force_restart = true; Game(parent).fadeBG.startFadeOut(); Game(parent).gameGUI.hlpControl.visible = false; Game(parent).gameGUI.dlg.visible = false; Game(parent).gameGUI.dlgIco.x = -500; _local6 = (hero.x * this.scaleX); _local7 = ((hero.y - 95) * this.scaleY); x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); mainGlobal.initStat(); _local11 = 0; _local11 = 0; while (_local11 < enemies.length) { if (!enemies[_local11].noStatEnemy){ mainGlobal.enemiesAll++; }; _local11++; }; Game(parent).sky.visible = true; levInit(); if (mainGlobal.isSingleEp){ if (curLevNum == 1){ _local5 = 0; while (_local5 < 1) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 0; } else { if (curLevNum == 2){ _local5 = 0; while (_local5 < 2) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 200; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 3){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 4){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1300; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 5){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 6){ _local5 = 0; while (_local5 < 4) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 2000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 7){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 8){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; } else { if (curLevNum == 9){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; } else { if (curLevNum == 10){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; }; }; }; }; }; }; }; }; }; }; }; Game(parent).gameGUI.dlgIco.gotoAndStop(1); }; var _local2:int = getTimer(); cleenUP(); UpdateLimitersOnScr(); UpdateParalaxObjects(); UpdateDynObjects(); UpdatePropObjects(); UpdateEnemies(); UpdateProjObjects(); hero.updateActor(); hero.applyDamages(); hero.testIsActorDead(); if (addActorsArr.length){ while (addActorsArr.length) { _local12 = addActorsArr.pop(); addActor(_local12.strClass, "", _local12.posx, _local12.posy, _local12.orderZ); }; }; var _local3:int; _local3 = 0; while (_local3 < chunkObjects.length) { if (ifMCOnScreen(chunkObjects[_local3])){ chunkObjects[_local3].visible = true; } else { chunkObjects[_local3].visible = false; }; _local3++; }; levScript(); var _local4:Boolean; if (Controls.key[Keyboard.F2]){ hero.life = 1; }; if (Controls.key[Keyboard.ESCAPE]){ showGameMenu(); }; if (!hero.timerReloadDelay.running){ _local13 = 0; while (_local13 < 8) { if (((((Controls.key[(49 + _local13)]) && (!((hero.curWeaponNum == (_local13 + 1)))))) && (hero.weapons[_local13].active))){ hero.curWeaponNum = (_local13 + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); }; _local13++; }; }; if (Game(root).cursor.currentLabel == "cross"){ _local14 = ageMath.Distance(hero.x, hero.y, (Controls.mousePosX - x), (Controls.mousePosY - y)); Game(root).cursor.shootAcc.scaleX = (Game(root).cursor.shootAcc.scaleY = ((hero.wepAcc * _local14) / hero.weapons[(hero.curWeaponNum - 1)].accDistScale)); }; _local5 = 0; _local5 = 0; while (_local5 < 8) { if (((hero.weapons[_local5]) && (hero.weapons[_local5].active))){ if ((((hero.weapons[_local5].bulletsInCatrige == 0)) && ((hero.weapons[_local5].bulletsNum == 0)))){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 2){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 2; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(-124); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (hero.curWeaponNum != (_local5 + 1)){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 1){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 1; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 3){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 3; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(87); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 4){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 4; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 0.5; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; _local5++; }; Game(parent).gameGUI.wepInfo.catTxt.text = ((hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrige + "/") + hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrigeMax); if (!hero.weapons[(hero.curWeaponNum - 1)].infAmmo){ Game(parent).gameGUI.wepInfo.allTxt.text = hero.weapons[(hero.curWeaponNum - 1)].bulletsNum; } else { Game(parent).gameGUI.wepInfo.allTxt.text = "INF"; }; Game(parent).gameGUI.wepInfo.pic.gotoAndStop((hero.curWeaponNum + 4)); if ((hero.x - (hero.width * 0.5)) < levLeftLim){ hero.x = (levLeftLim + (hero.width * 0.5)); } else { if ((hero.x + (hero.width * 0.5)) > levRightLim){ hero.x = (levRightLim - (hero.width * 0.5)); }; }; _local6 = ageMath.Lerp((Controls.mousePosX - x), (hero.x * scaleX), 0.6); _local7 = ageMath.Lerp((Controls.mousePosY - y), ((hero.y - 95) * scaleY), 0.6); if (!_local4){ x = Math.round(ageMath.Lerp(x, -((_local6 - (stage.stageWidth * 0.5))), 0.15)); y = Math.round(ageMath.Lerp(y, -((_local7 - (stage.stageHeight * 0.5))), 0.15)); } else { x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); }; if (this["blackScr"]){ this["blackScr"].x = -(x); this["blackScr"].y = -(y); }; var _local8:Point = this.localToGlobal(new Point(levLeftLim, 0)); var _local9:Point = this.localToGlobal(new Point(levRightLim, 0)); if (_local8.x > 0){ x = (x - _local8.x); } else { if (_local9.x < stage.stageWidth){ x = (x + (stage.stageWidth - _local9.x)); }; }; if (curBlastShake > 0){ x = (x + ageMath.Random(-(curBlastShake), curBlastShake)); y = (y + ageMath.Random(-(curBlastShake), curBlastShake)); curBlastShake = (curBlastShake - curBlastShakeDec); if (curBlastShake < 0){ curBlastShake = 0; }; }; Game(parent).gameGUI.lifeBar.gotoAndStop(Math.round(ageMath.RemapVal(Math.round(hero.life), 1, hero.lifeMax, 1, 100))); Game(parent).gameGUI.lifeBar.width = ageMath.RemapVal(Math.round(hero.lifeMax), 100, 300, 108, 227); Game(parent).gameGUI.txtMoney.text = ("$" + hero.moneyCnt); var _local10:int; _local10 = 0; while (_local10 < 6) { if (hero.itemsInBag[_local10]){ Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(hero.itemsInBag[_local10]); } else { Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(1); }; _local10++; }; if (hero.bioMaxLevel > 0){ Game(parent).gameGUI.hazBio.visible = true; Game(parent).gameGUI.hazBio.gotoAndStop((100 - int(ageMath.RemapVal(hero.bioCurLevel, 0, hero.bioMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazBio.visible = false; }; if (hero.psyMaxLevel > 0){ Game(parent).gameGUI.hazPsy.visible = true; Game(parent).gameGUI.hazPsy.gotoAndStop((100 - int(ageMath.RemapVal(hero.psyCurLevel, 0, hero.psyMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazPsy.visible = false; }; if (hero.electroMaxLevel > 0){ Game(parent).gameGUI.hazElectro.visible = true; Game(parent).gameGUI.hazElectro.gotoAndStop((100 - int(ageMath.RemapVal(hero.electroCurLevel, 0, hero.electroMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazElectro.visible = false; }; Controls.updateKeyNew(); if (Game(parent).groundBG){ Game(parent).groundBG.changeBG(x, y); }; } public function UpdatePropObjects():void{ var _local1:int; _local1 = 0; while (_local1 < propObjects.length) { if (propObjects[_local1].visible == false){ } else { if (ageMath.Distance(propObjects[_local1].x, propObjects[_local1].y, hero.x, hero.y) >= (stage.stageWidth * 1.6)){ } else { propObjects[_local1].x = (propObjects[_local1].x + propObjects[_local1].speed.x); if (propObjects[_local1].useRotateSpeed){ propObjects[_local1].body.rotation = (propObjects[_local1].body.rotation + propObjects[_local1].rotateSpeed); }; if ((((((((((((propObjects[_local1].propType == "Med")) || ((propObjects[_local1].propType == "Coin")))) || ((propObjects[_local1].propType == "Money")))) || ((propObjects[_local1].propType == "Weapon")))) || ((propObjects[_local1].propType == "Item")))) || ((propObjects[_local1].propType == "Ammo")))){ if (hero.hitTestObject(propObjects[_local1])){ if (propObjects[_local1].propType == "Ammo"){ if (hero.weapons[propObjects[_local1].wepNum].active){ if (hero.weapons[propObjects[_local1].wepNum].bulletsNum < hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].bulletsNum = (hero.weapons[propObjects[_local1].wepNum].bulletsNum + (hero.weapons[propObjects[_local1].wepNum].bulletsInCatrigeMax * propObjects[_local1].moneyAmount)); if (hero.weapons[propObjects[_local1].wepNum].bulletsNum > hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ hero.weapons[propObjects[_local1].wepNum].bulletsNum = hero.weapons[propObjects[_local1].wepNum].bulletsNumMax; }; sounds.PlaySnd((hero.weapons[propObjects[_local1].wepNum].type + "Reloaded")); }; }; } else { if (propObjects[_local1].propType == "Med"){ if (hero.life < hero.lifeMax){ propObjects[_local1].visible = false; hero.life = (hero.life + propObjects[_local1].moneyAmount); if (hero.life > hero.lifeMax){ hero.life = hero.lifeMax; }; sounds.PlaySnd("Med"); }; } else { if (propObjects[_local1].propType == "Item"){ propObjects[_local1].visible = false; hero.itemsInBag.push(propObjects[_local1].itemName); sounds.PlaySnd("itemTake"); } else { if (propObjects[_local1].propType == "Weapon"){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].active = true; hero.curWeaponNum = (propObjects[_local1].wepNum + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); } else { propObjects[_local1].visible = false; sounds.PlaySnd((propObjects[_local1].propType + "1")); hero.moneyCnt = (hero.moneyCnt + propObjects[_local1].moneyAmount); mainGlobal.moneyCollected = (mainGlobal.moneyCollected + propObjects[_local1].moneyAmount); }; }; }; }; }; }; }; }; _local1++; }; } public function addActor(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=-1):actorObject{ var _local6:actorObject; if (_arg1 == "AlienSaw"){ _local6 = new AlienSaw(); } else { if (_arg1 == "AlienHunter"){ _local6 = new AlienHunter(); } else { if (_arg1 == "AlienElectro"){ _local6 = new AlienElectro(); } else { if (_arg1 == "Zomb01"){ _local6 = new Zomb01(); } else { if (_arg1 == "Zomb02"){ _local6 = new Zomb02(); } else { if (_arg1 == "Zomb03"){ _local6 = new Zomb03(); } else { if (_arg1 == "Zomb04"){ _local6 = new Zomb04(); } else { if (_arg1 == "Zomb05"){ _local6 = new Zomb05(); } else { if (_arg1 == "Zomb01Run"){ _local6 = new Zomb01Run(); } else { if (_arg1 == "Zomb02Run"){ _local6 = new Zomb02Run(); } else { if (_arg1 == "Zomb03Run"){ _local6 = new Zomb03Run(); } else { if (_arg1 == "Zomb04Run"){ _local6 = new Zomb04Run(); } else { if (_arg1 == "Zomb05Run"){ _local6 = new Zomb05Run(); } else { if (_arg1 == "Zomb01Vomit"){ _local6 = new Zomb01Vomit(); } else { if (_arg1 == "Zomb02Vomit"){ _local6 = new Zomb02Vomit(); } else { if (_arg1 == "Zomb03Vomit"){ _local6 = new Zomb03Vomit(); } else { if (_arg1 == "Zomb04Vomit"){ _local6 = new Zomb04Vomit(); } else { if (_arg1 == "Zomb05Vomit"){ _local6 = new Zomb05Vomit(); } else { if (_arg1 == "Spider"){ _local6 = new Spider(); } else { if (_arg1 == "AlienBomber"){ _local6 = new AlienBomber(); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; _local6.x = _arg3; _local6.y = _arg4; _local6.name = _arg2; if (!_local6.noStatEnemy){ mainGlobal.enemiesAll++; }; if (_arg5 < 0){ addChild(_local6); } else { addChildAt(_local6, _arg5); }; return (_local6); } public function addFX_MetalSparks(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxMetalSparks(); _local3.x = _arg1; _local3.y = _arg2; _local3.blendMode = BlendMode.ADD; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_blasterAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlasterAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProp_Blaster(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlaster(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function UpdateEnemies():void{ var _local1:int; _local1 = 0; while (_local1 < enemies.length) { if (((enemies[_local1].dead) || ((enemies[_local1].life <= 0)))){ } else { if (((((!((enemies[_local1].parent as Level))) || (enemies[_local1].alwaysSeeEnemy))) || ((ageMath.Distance(enemies[_local1].x, enemies[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6))))){ enemies[_local1].updateActorEnemy(); }; }; _local1++; }; } public function addProj_Vomit(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projVomit(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.timerFXAdd.delay = 80; _local6.timerFXAdd.start(); _local6.fxFunc = addFX_VomitSplatters; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = true; _local6.gravityComp = true; _local6.infAmmo = true; _local6.useBioDamage = true; _local6.bioDamageVal = 10; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } } }//package main
Section 82
//Level5 (main.Level5) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.ui.*; public dynamic class Level5 extends Level { public var triggerValveGas:MovieClip; public var goArrow:MovieClip; public var projLayer:MovieClip; var levRightLim:Number;// = 999999 var dlgSpeedFactor:Number;// = 4 public var bunkerMinigunBorder:MovieClip; public var triggerLevelRightBorder:MovieClip; public var bunkerMan:MovieClip; var lastMSFrame:int;// = 9999 public var leverSecretRoomHatchLim:MovieClip; public var enemies:Array; public var hero:MovieClip; public var valveGas:MovieClip; var levLeftLim:Number;// = -999999 public var propObjects:Array; public var triggerEndLevel:MovieClip; public var triggerBunkerManCall:MovieClip; public var triggerSoundBoss:MovieClip; public var triggerBunkerMan:MovieClip; public var codeLockBoss:MovieClip; public var leverHangar:MovieClip; public var maxLimX:Number;// = -2147483648 var curBlastShake:Number;// = 0 public var dynObjects:Array; var isLose:Boolean;// = false var grav:Number;// = 1 public var minLimX:Number;// = 2147483647 var isWin:Boolean;// = false public var leverSecretRoomHatch:MovieClip; public var triggerUpgrade1:MovieClip; public var triggerUpgrade2:MovieClip; public var triggerLeverHangar:MovieClip; public var limitersCache:Array; public var gas1:MovieClip; public var gas2:MovieClip; public var gas3:MovieClip; var initFirst:Boolean;// = false var curLevNum:int;// = 1 public var codeLockBossHatchLim:MovieClip; public var leverHangarHatchLim:MovieClip; public var FXLayer:MovieClip; public var blackScr:MovieClip; var levelMus:String;// = "" public var triggerSecret1:MovieClip; public var propLayer:MovieClip; public var bunkerManBorder:MovieClip; public var triggerSecret2:MovieClip; var sVar:Object; public var limitersOnScr:Array; public var addActorsArr:Array; public var limiters:Array; public var paralaxObjects:Array; var curBlastShakeDec:Number;// = 0.3 public var leverSecretRoom:MovieClip; public var triggerLevelLeftBorder:MovieClip; public var fxObjects:Array; public var limitersCacheStep:int;// = 640 var curLevScore:int;// = 3000 public var markerZombGen1:MovieClip; public var markerZombGen2:MovieClip; public var chunkObjects:Array; public var goodNPC:Array; var curScale:Number;// = 1 public var leverHangarHatch:MovieClip; public var projObjects:Array; public var codeLockBossHatch:MovieClip; public var triggerLeverSecretRoom:MovieClip; public function Level5(){ sVar = new Object(); limiters = new Array(); limitersCache = new Array(); limitersOnScr = new Array(); dynObjects = new Array(); enemies = new Array(); goodNPC = new Array(); paralaxObjects = new Array(); projObjects = new Array(); chunkObjects = new Array(); fxObjects = new Array(); propObjects = new Array(); addActorsArr = new Array(); super(); addFrameScript(0, frame1); init(); } public function UpdateEnemies():void{ var _local1:int; _local1 = 0; while (_local1 < enemies.length) { if (((enemies[_local1].dead) || ((enemies[_local1].life <= 0)))){ } else { if (((((!((enemies[_local1].parent as Level))) || (enemies[_local1].alwaysSeeEnemy))) || ((ageMath.Distance(enemies[_local1].x, enemies[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6))))){ enemies[_local1].updateActorEnemy(); }; }; _local1++; }; } public function checkHitPlatform(_arg1, _arg2:Array){ var _local3:int; _arg1.bottomLimiter = null; _local3 = 0; while (_local3 < _arg2.length) { if (((_arg2[_local3].slimMode) && ((_arg1.speed.y < 0)))){ } else { if (_arg2[_local3].hitTestObject(_arg1.p2)){ _arg1.jump = false; if (_arg1.isRubber){ _arg1.speed.y = (_arg1.speed.y * -(_arg1.rubberFactor)); _arg1.speed.x = (_arg1.speed.x * _arg1.rubberFactor); if (_arg1.useRotateSpeed){ _arg1.rotateSpeed = 0; }; } else { _arg1.speed.y = 0; }; _arg1.y = ((_arg2[_local3].y - _arg1.p2.y) - _arg1.p2.height); _arg1.bottomLimiter = _arg2[_local3]; } else { if (((_arg2[_local3].hitTestObject(_arg1.p1)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = (_arg2[_local3].x - (_arg1.p1.x + _arg1.p1.width)); } else { _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) + (_arg1.p1.x + _arg1.p1.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p3)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) - _arg1.p3.x); } else { _arg1.x = (_arg2[_local3].x - (-(_arg1.p3.x) + _arg1.p3.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p4)) && (!(_arg2[_local3].slimMode)))){ _arg1.speed.y = 0; _arg1.y = ((_arg2[_local3].y + _arg2[_local3].height) - _arg1.p4.y); }; }; }; }; }; _local3++; }; } public function addFX_BlastWave(_arg1:Number, _arg2:Number, _arg3:Number=1){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxBlastWave(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addLineDamage(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Boolean{ var _local6:Number; var _local8:int; var _local9:ageVector; var _local7:Boolean; _local8 = 0; while (_local8 < enemies.length) { if (enemies[_local8].dead){ } else { _local9 = enemies[_local8].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local9 != null){ addLineDamageToEnemy(_local9, _arg5, enemies[_local8], true); _local7 = true; }; }; _local8++; }; return (_local7); } public function addFX_littleSmoke(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxLittleSmoke(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function init(){ addEventListener(Event.ENTER_FRAME, Update, false, 0, true); } public function openUpgradeMenu():void{ mainGlobal.paused = true; this.visible = false; Game(root).cursor.gotoAndStop("arrow"); Game(parent).menuUpgradeShop.showShop(); musicEnv.fadeTo("musUpgrade"); } public function addProp_minigunAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMinigunAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } function mouseLeave(_arg1:Event):void{ showGameMenu(); } public function initLimCache(){ var _local1:*; var _local2:int; var _local3:int; var _local4:int; maxLimX = int.MIN_VALUE; minLimX = int.MAX_VALUE; _local1 = 0; while (_local1 < limiters.length) { if (limiters[_local1].x < minLimX){ minLimX = limiters[_local1].x; }; if ((limiters[_local1].x + limiters[_local1].width) > maxLimX){ maxLimX = limiters[_local1].x; }; _local1++; }; limitersCache = []; _local1 = 0; while (_local1 < (((maxLimX - minLimX) / limitersCacheStep) + 1)) { limitersCache.push(new Array()); _local1++; }; _local1 = 0; while (_local1 < limiters.length) { _local3 = int(((limiters[_local1].x - minLimX) / limitersCacheStep)); _local4 = int((((limiters[_local1].x + limiters[_local1].width) - minLimX) / limitersCacheStep)); _local2 = _local3; while (_local2 <= _local4) { if (!limitersCache[_local2]){ limitersCache[_local2] = new Array(); }; limitersCache[_local2].push(limiters[_local1]); _local2++; }; _local1++; }; } public function addBlinkFX_OverLight():void{ Game(parent).gameGUI.fxblink.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink.use_force_restart = true; Game(parent).gameGUI.fxblink.startFadeOut(); curBlastShake = 15; } public function UpdateParalaxObjects():void{ var _local1:int; _local1 = 0; while (_local1 < paralaxObjects.length) { paralaxObjects[_local1].x = (paralaxObjects[_local1].saveX - ageMath.RemapVal((paralaxObjects[_local1].saveX + x), 0, stage.stageWidth, 0, paralaxObjects[_local1].paralaxX)); paralaxObjects[_local1].y = (paralaxObjects[_local1].saveY - ageMath.RemapVal((paralaxObjects[_local1].saveY + y), 0, stage.stageHeight, 0, paralaxObjects[_local1].paralaxY)); _local1++; }; } public function addFX_VomitSplatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxVomitSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function UpdateDynObjects():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; _local1 = 0; while (_local1 < dynObjects.length) { if (dynObjects[_local1].visible == false){ } else { if (ageMath.Distance(dynObjects[_local1].x, dynObjects[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6)){ if (dynObjects[_local1].gravityEnable){ dynObjects[_local1].speed.y = (dynObjects[_local1].speed.y + (grav * dynObjects[_local1].gravityFactor)); }; dynObjects[_local1].speed.y = ((dynObjects[_local1].speed.y)>dynObjects[_local1].maxSpeed.y) ? dynObjects[_local1].maxSpeed.y : dynObjects[_local1].speed.y; dynObjects[_local1].y = (dynObjects[_local1].y + dynObjects[_local1].speed.y); if (dynObjects[_local1].collisionEnable){ _local2 = int((((dynObjects[_local1].x - dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local3 = int((((dynObjects[_local1].x + dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local4 = _local2; while (_local4 <= _local3) { if (((limitersCache[_local4]) && (limitersCache[_local4].length))){ checkHitPlatform(dynObjects[_local1], limitersCache[_local4]); }; _local4++; }; }; }; }; _local1++; }; } public function cleenUP():void{ cleenUP_FX(); cleenUP_Proj(); cleenUP_Prop(); cleenUP_Actors(); } public function addFX_BloodOnGround(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodOnGround(); _local3.x = _arg1; _local3.y = _arg2; _local3.gotoAndStop(ageMath.RandomInt(1, 5)); _local3.scaleY = 0.5; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function cleenUP_Proj():void{ var _local1:int; _local1 = 0; while (_local1 < projObjects.length) { if (((projObjects[_local1]) && ((projObjects[_local1].visible == false)))){ projObjects[_local1].clearDynObject(); if (projObjects[_local1]){ if (projObjects[_local1].parent){ projObjects[_local1].parent.removeChild(projObjects[_local1]); }; }; projObjects.splice(_local1, 1); break; }; _local1++; }; } public function cleenUP_Actors():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < enemies.length) { if (((((enemies[_local1]) && ((enemies[_local1].visible == false)))) && (enemies[_local1].dead))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == enemies[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; enemies[_local1].clearActorObject(); if (enemies[_local1]){ if (enemies[_local1].parent){ enemies[_local1].parent.removeChild(enemies[_local1]); }; }; enemies.splice(_local1, 1); break; }; _local1++; }; } public function cleenUP_Prop():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < propObjects.length) { if (((propObjects[_local1]) && ((propObjects[_local1].visible == false)))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == propObjects[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; if (propObjects[_local1]){ if (propObjects[_local1].parent){ propObjects[_local1].parent.removeChild(propObjects[_local1]); }; }; propObjects.splice(_local1, 1); break; }; _local1++; }; } public function addBlasterProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new blasterProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_Shotgun(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propShotgun(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_BloodLeak(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodLeak(); _local3.x = _arg1; _local3.y = _arg2; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function addLineDamageToEnemy(_arg1:ageVector, _arg2:Number, _arg3:actorObject, _arg4:Boolean){ var _local5:projObject = new projObject(); _local5.damage = _arg2; _local5.x = _arg1.x; _local5.y = _arg1.y; _local5.fromGoodGuy = _arg4; _arg3.transmitDamage(_local5); _local5.clearDynObject(); } public function testIntersectLimiterOnScr(_arg1:dynObject):Boolean{ var _local2:int; _local2 = 0; while (_local2 < limitersOnScr.length) { if (((!(limitersOnScr[_local2].slimMode)) && (limitersOnScr[_local2].hitTestObject(_arg1)))){ return (true); }; _local2++; }; return (false); } public function UpdateProjObjects():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < projObjects.length) { if (projObjects[_local1].visible == false){ } else { if (projObjects[_local1].gravityEnable){ projObjects[_local1].Velocity.y = (projObjects[_local1].Velocity.y + (grav * projObjects[_local1].gravityFactor)); projObjects[_local1].Velocity.y = ((projObjects[_local1].Velocity.y)>projObjects[_local1].maxSpeed.y) ? projObjects[_local1].maxSpeed.y : projObjects[_local1].Velocity.y; }; projObjects[_local1].updateDynObj(); if (!projObjects[_local1].fromGoodGuy){ if (((!(hero.dead)) && (hero.hitTestProj(projObjects[_local1])))){ if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { hero.transmitDamage(projObjects[_local1]); Game(parent).gameGUI.painFrame.startFadeOut(); }; }; } else { _local2 = 0; while (_local2 < enemies.length) { if (((!(enemies[_local2].dead)) && (enemies[_local2].hitTestProj(projObjects[_local1])))){ mainGlobal.shootingInEnemies++; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { enemies[_local2].transmitDamage(projObjects[_local1]); }; }; _local2++; }; }; if (ageMath.Distance(projObjects[_local1].x, projObjects[_local1].y, hero.x, hero.y) > 670){ projObjects[_local1].visible = false; }; if (testIntersectLimiterOnScr(projObjects[_local1])){ projObjects[_local1].visible = false; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; }; }; }; _local1++; }; } public function UpdateLimitersOnScr():void{ var _local1:int; var _local2:int; var _local3:*; var _local4:int; var _local5:Point; var _local6:Rectangle; var _local7:Rectangle; limitersOnScr = []; _local1 = int(((-(x) - minLimX) / limitersCacheStep)); _local2 = int((((-(x) + stage.stageWidth) - minLimX) / limitersCacheStep)); _local4 = _local1; while (_local4 <= _local2) { if (limitersCache[_local4]){ _local3 = 0; while (_local3 < limitersCache[_local4].length) { _local5 = this.localToGlobal(new Point(limitersCache[_local4][_local3].x, limitersCache[_local4][_local3].y)); _local6 = new Rectangle(_local5.x, _local5.y, limitersCache[_local4][_local3].width, limitersCache[_local4][_local3].height); _local7 = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local7.intersects(_local6)){ limitersOnScr.push(limitersCache[_local4][_local3]); }; _local3++; }; }; _local4++; }; } public function cleenUP_FX():void{ var _local1:int; _local1 = 0; while (_local1 < fxObjects.length) { if (((fxObjects[_local1]) && ((fxObjects[_local1].visible == false)))){ if (fxObjects[_local1]){ if (fxObjects[_local1].parent){ fxObjects[_local1].parent.removeChild(fxObjects[_local1]); }; }; fxObjects.splice(_local1, 1); break; }; _local1++; }; } public function term(){ var _local1:int; removeEventListener(Event.ENTER_FRAME, Update); _local1 = 0; while (_local1 < enemies.length) { enemies[_local1].clearActorObject(); _local1++; }; _local1 = 0; while (_local1 < dynObjects.length) { dynObjects[_local1].clearDynObject(); _local1++; }; dynObjects = []; enemies = []; goodNPC = []; projObjects = []; paralaxObjects = []; chunkObjects = []; fxObjects = []; propObjects = []; addActorsArr = []; limitersCache = []; limitersOnScr = []; limiters = []; } public function addFX_Splatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxBloodSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Coin(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propCoin(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addBlinkFX_OverLight2():void{ Game(parent).gameGUI.fxblink2.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink2.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink2.use_force_restart = true; Game(parent).gameGUI.fxblink2.startFadeOut(); } function frame1(){ initFirst = true; } public function testRayToLimiterOnScr(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean=false, _arg6:Object=null):ageVector{ var _local10:int; var _local11:ageVector; var _local12:Number; var _local13:ageVector; var _local14:Number; var _local7:ageVector; var _local8:ageVector = new ageVector(_arg1, _arg3); var _local9:Number = Number.MAX_VALUE; _local10 = 0; while (_local10 < limitersOnScr.length) { if (!limitersOnScr[_local10].slimMode){ _local11 = ageMath.getLineCrossRect(_arg1, _arg2, _arg3, _arg4, limitersOnScr[_local10].x, limitersOnScr[_local10].y, (limitersOnScr[_local10].x + limitersOnScr[_local10].width), (limitersOnScr[_local10].y + limitersOnScr[_local10].height)); if (_local11 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local11); _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local12 = ageMath.DistanceVec(_local8, _local11); if (_local12 < _local9){ _local9 = _local12; _local7.copy(_local11); }; }; }; }; _local10++; }; if (!_arg5){ return (_local7); }; _arg6.id = -1; _local10 = 0; while (_local10 < enemies.length) { if (enemies[_local10].dead){ } else { _local13 = enemies[_local10].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local13 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local13); _arg6.id = _local10; _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local14 = ageMath.DistanceVec(_local8, _local13); if (_local14 < _local9){ _local9 = _local14; _arg6.id = _local10; _local7.copy(_local13); }; }; }; }; _local10++; }; return (_local7); } public function addProp_Dynamite(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propDynamite(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function levScript(){ var _local1:int; var _local2:Point; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; if (((((((gas1.visible) && (gas1.hitTestObject(hero)))) || (((gas2.visible) && (gas2.hitTestObject(hero)))))) || (((gas3.visible) && (gas3.hitTestObject(hero)))))){ hero.addBioDamage(0.6); if (!sVar["triggerTedBioEnd"]){ sVar["triggerTedBioEnd"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev5_TedBio"); sVar["DlgTedBioTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); }; }; if (sVar["triggerTedBioEnd"]){ if (!sVar["DlgTedBioEnd"]){ if (sVar["DlgTedBioTimer"] == 0){ sVar["DlgTedBioEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { var _local8 = sVar; var _local9 = "DlgTedBioTimer"; var _local10 = (_local8[_local9] - 1); _local8[_local9] = _local10; if (Controls.keyNew[69]){ sVar["DlgTedBioTimer"] = 0; }; }; }; }; if (!sVar["triggerUpgrade1"]){ if (triggerUpgrade1.hitTestObject(hero)){ if (((Controls.keyNew[Keyboard.ENTER]) || (Controls.keyNew[69]))){ openUpgradeMenu(); }; if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(5); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; } else { if (!triggerLeverHangar.hitTestObject(hero)){ if (!triggerLeverSecretRoom.hitTestObject(hero)){ if (!triggerValveGas.hitTestObject(hero)){ if (!triggerUpgrade2.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 5)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; }; }; if (!sVar["triggerUpgrade2"]){ if (triggerUpgrade2.hitTestObject(hero)){ if (((Controls.keyNew[Keyboard.ENTER]) || (Controls.keyNew[69]))){ openUpgradeMenu(); }; if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(5); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; } else { if (!triggerLeverHangar.hitTestObject(hero)){ if (!triggerLeverSecretRoom.hitTestObject(hero)){ if (!triggerValveGas.hitTestObject(hero)){ if (!triggerUpgrade1.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 5)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; }; }; if (!sVar["triggerSecret1"]){ if (triggerSecret1.hitTestObject(hero)){ sVar["triggerSecret1"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["triggerSecret2"]){ if (triggerSecret2.hitTestObject(hero)){ sVar["triggerSecret2"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["triggerLeverHangar"]){ if (triggerLeverHangar.hitTestObject(hero)){ if (hero.isItemExist("lever")){ sVar["triggerLeverHangar"] = true; hero.removeItemFromBag("lever"); leverHangar.play(); leverHangarHatch.play(); sounds.PlaySnd("sewerDoorOpen"); } else { if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(9); Game(parent).gameGUI.hlpControl.pic2.gotoAndStop("lever"); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; }; } else { if (!triggerLeverSecretRoom.hitTestObject(hero)){ if (!triggerValveGas.hitTestObject(hero)){ if (!triggerUpgrade1.hitTestObject(hero)){ if (!triggerUpgrade2.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 9)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; }; } else { _local2 = this.globalToLocal(MovieClip(leverHangarHatch).localToGlobal(new Point(leverHangarHatch.anmPoint.x, leverHangarHatch.anmPoint.y))); leverHangarHatchLim.y = _local2.y; }; if (!sVar["triggerLeverSecretRoom"]){ if (triggerLeverSecretRoom.hitTestObject(hero)){ if (hero.isItemExist("lever")){ sVar["triggerLeverSecretRoom"] = true; hero.removeItemFromBag("lever"); leverSecretRoom.play(); leverSecretRoomHatch.play(); sounds.PlaySnd("sewerDoorOpen"); } else { if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(9); Game(parent).gameGUI.hlpControl.pic2.gotoAndStop("lever"); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; }; } else { if (!triggerLeverHangar.hitTestObject(hero)){ if (!triggerValveGas.hitTestObject(hero)){ if (!triggerUpgrade1.hitTestObject(hero)){ if (!triggerUpgrade2.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 9)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; }; } else { _local2 = this.globalToLocal(MovieClip(leverSecretRoomHatch).localToGlobal(new Point(leverSecretRoomHatch.anmPoint.x, leverSecretRoomHatch.anmPoint.y))); leverSecretRoomHatchLim.y = _local2.y; }; if (!sVar["triggerValveGas"]){ if (triggerValveGas.hitTestObject(hero)){ if (hero.isItemExist("valve")){ sVar["triggerValveGas"] = true; hero.removeItemFromBag("valve"); valveGas.play(); gas1.visible = false; gas2.visible = false; gas3.visible = false; _local1 = Game(parent).gameGUI.dlg.setTo("lev5_TedValve"); sVar["DlgTedValveTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(9); Game(parent).gameGUI.hlpControl.pic2.gotoAndStop("valve"); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; }; } else { if (!triggerLeverHangar.hitTestObject(hero)){ if (!triggerLeverSecretRoom.hitTestObject(hero)){ if (!triggerUpgrade1.hitTestObject(hero)){ if (!triggerUpgrade2.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 9)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; }; } else { if (!sVar["DlgTedValveEnd"]){ if (sVar["DlgTedValveTimer"] == 0){ sVar["DlgTedValveEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { _local8 = sVar; _local9 = "DlgTedValveTimer"; _local10 = (_local8[_local9] - 1); _local8[_local9] = _local10; if (Controls.keyNew[69]){ sVar["DlgTedValveTimer"] = 0; }; }; }; }; if (!sVar["triggerBunkerManCall"]){ if (triggerBunkerManCall.hitTestObject(hero)){ sVar["triggerBunkerManCall"] = true; sounds.PlaySnd("helpIco"); }; } else { if (!sVar["triggerBunkerMan"]){ Game(parent).gameGUI.dlgIco.targetingObject(bunkerMan); } else { Game(parent).gameGUI.dlgIco.x = -500; }; }; if (!sVar["triggerBunkerMan"]){ if (((triggerBunkerMan.hitTestObject(hero)) && (!(hero.isItemExist("cloth"))))){ sVar["triggerBunkerMan"] = true; }; } else { if (!sVar["DlgBunkerManEnd"]){ if (sVar["DlgBunkerManTimer"] == 0){ if (sVar["DlgBunkerManState"] == 0){ _local1 = Game(parent).gameGUI.dlg.setTo("lev5_BunkerManTed01"); _local8 = sVar; _local9 = "DlgBunkerManState"; _local10 = (_local8[_local9] + 1); _local8[_local9] = _local10; sVar["DlgBunkerManTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgBunkerManState"] == 1){ _local1 = Game(parent).gameGUI.dlg.setTo("lev5_BunkerManTed02"); _local8 = sVar; _local9 = "DlgBunkerManState"; _local10 = (_local8[_local9] + 1); _local8[_local9] = _local10; sVar["DlgBunkerManTimer"] = int((_local1 * dlgSpeedFactor)); } else { if (sVar["DlgBunkerManState"] == 2){ _local1 = Game(parent).gameGUI.dlg.setTo("lev5_BunkerManTed03"); _local8 = sVar; _local9 = "DlgBunkerManState"; _local10 = (_local8[_local9] + 1); _local8[_local9] = _local10; sVar["DlgBunkerManTimer"] = int((_local1 * dlgSpeedFactor)); } else { sVar["DlgBunkerManEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); }; }; }; } else { _local8 = sVar; _local9 = "DlgBunkerManTimer"; _local10 = (_local8[_local9] - 1); _local8[_local9] = _local10; if (Controls.keyNew[69]){ sVar["DlgBunkerManTimer"] = 0; }; }; }; }; if (!sVar["triggerBunkerMan2"]){ if (((triggerBunkerMan.hitTestObject(hero)) && (hero.isItemExist("cloth")))){ sVar["triggerBunkerMan2"] = true; hero.removeItemFromBag("cloth"); bunkerMan.gotoAndStop(2); sVar["triggerBunkerMan"] = true; sVar["DlgBunkerManEnd"] = true; }; } else { if (!sVar["DlgBunkerManEnd2"]){ if (sVar["DlgBunkerManTimer2"] == 0){ if (sVar["DlgBunkerManState2"] == 0){ _local1 = Game(parent).gameGUI.dlg.setTo("lev5_BunkerManTed04"); _local8 = sVar; _local9 = "DlgBunkerManState2"; _local10 = (_local8[_local9] + 1); _local8[_local9] = _local10; sVar["DlgBunkerManTimer2"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgBunkerManState2"] == 1){ _local1 = Game(parent).gameGUI.dlg.setTo("lev5_BunkerManTed05"); _local8 = sVar; _local9 = "DlgBunkerManState2"; _local10 = (_local8[_local9] + 1); _local8[_local9] = _local10; sVar["DlgBunkerManTimer2"] = int((_local1 * dlgSpeedFactor)); } else { if (sVar["DlgBunkerManState2"] == 2){ _local1 = Game(parent).gameGUI.dlg.setTo("lev5_BunkerManTed06"); _local8 = sVar; _local9 = "DlgBunkerManState2"; _local10 = (_local8[_local9] + 1); _local8[_local9] = _local10; sVar["DlgBunkerManTimer2"] = int((_local1 * dlgSpeedFactor)); } else { if (sVar["DlgBunkerManState2"] == 3){ _local1 = Game(parent).gameGUI.dlg.setTo("lev5_BunkerManTed07"); _local8 = sVar; _local9 = "DlgBunkerManState2"; _local10 = (_local8[_local9] + 1); _local8[_local9] = _local10; sVar["DlgBunkerManTimer2"] = int((_local1 * dlgSpeedFactor)); codeLockBoss.gotoAndStop(2); codeLockBossHatch.play(); sounds.PlaySnd("sewerDoorOpen"); } else { sVar["DlgBunkerManEnd2"] = true; Game(parent).gameGUI.dlg.startFadeOut(); }; }; }; }; } else { _local8 = sVar; _local9 = "DlgBunkerManTimer2"; _local10 = (_local8[_local9] - 1); _local8[_local9] = _local10; if (Controls.keyNew[69]){ sVar["DlgBunkerManTimer2"] = 0; }; }; }; }; if (sVar["DlgBunkerManState2"] >= 3){ _local2 = this.globalToLocal(MovieClip(codeLockBossHatch).localToGlobal(new Point(codeLockBossHatch.anmPoint.x, codeLockBossHatch.anmPoint.y))); codeLockBossHatchLim.y = _local2.y; }; if (((!(sVar["DlgTedMinigun"])) && (hero.weapons[3].active))){ sVar["DlgTedMinigun"] = true; levRightLim = triggerLevelRightBorder.x; _local3 = 80; _local4 = int((_local3 * 0.3)); _local5 = int((_local3 * 0.3)); _local6 = int((_local3 * 0.4)); _local7 = 0; _local7 = 0; while (_local7 < _local4) { addActor((("Zomb0" + ageMath.RandomInt(1, 5)) + "Run"), "", ageMath.Random(markerZombGen1.x, markerZombGen2.x), markerZombGen1.y, getChildIndex(markerZombGen1)); _local7++; }; _local7 = 0; while (_local7 < _local5) { addActor((("Zomb0" + ageMath.RandomInt(1, 5)) + "Vomit"), "", ageMath.Random(markerZombGen1.x, markerZombGen2.x), markerZombGen1.y, getChildIndex(markerZombGen1)); _local7++; }; _local7 = 0; while (_local7 < _local6) { addActor(("Zomb0" + ageMath.RandomInt(1, 5)), "", ageMath.Random(markerZombGen1.x, markerZombGen2.x), markerZombGen1.y, getChildIndex(markerZombGen1)); _local7++; }; }; if (!sVar["triggerSoundBoss"]){ if (triggerSoundBoss.hitTestObject(hero)){ sVar["triggerSoundBoss"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev5_TedRock"); sVar["DlgSoundBossTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); musicEnv.fadeTo("roboAttack"); }; } else { if (!sVar["DlgSoundBossEnd"]){ if (sVar["DlgSoundBossTimer"] == 0){ sVar["DlgSoundBossEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { _local8 = sVar; _local9 = "DlgSoundBossTimer"; _local10 = (_local8[_local9] - 1); _local8[_local9] = _local10; if (Controls.keyNew[69]){ sVar["DlgSoundBossTimer"] = 0; }; }; }; }; if (!isWin){ if (triggerEndLevel.hitTestObject(hero)){ isWin = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToWin(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musWin"); return; }; }; } public function addProp_MedKit(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new dropMedKit(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProp_Money1(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney1(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addFX_Headshot(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxHeadshot(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } function showGameMenu():void{ mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); Game(root).menuInGame.visible = true; Game(root).gameGUI.startFadeOut(); Game(root).menuInGame.startFadeIn(); } public function UpdatePropObjects():void{ var _local1:int; _local1 = 0; while (_local1 < propObjects.length) { if (propObjects[_local1].visible == false){ } else { if (ageMath.Distance(propObjects[_local1].x, propObjects[_local1].y, hero.x, hero.y) >= (stage.stageWidth * 1.6)){ } else { propObjects[_local1].x = (propObjects[_local1].x + propObjects[_local1].speed.x); if (propObjects[_local1].useRotateSpeed){ propObjects[_local1].body.rotation = (propObjects[_local1].body.rotation + propObjects[_local1].rotateSpeed); }; if ((((((((((((propObjects[_local1].propType == "Med")) || ((propObjects[_local1].propType == "Coin")))) || ((propObjects[_local1].propType == "Money")))) || ((propObjects[_local1].propType == "Weapon")))) || ((propObjects[_local1].propType == "Item")))) || ((propObjects[_local1].propType == "Ammo")))){ if (hero.hitTestObject(propObjects[_local1])){ if (propObjects[_local1].propType == "Ammo"){ if (hero.weapons[propObjects[_local1].wepNum].active){ if (hero.weapons[propObjects[_local1].wepNum].bulletsNum < hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].bulletsNum = (hero.weapons[propObjects[_local1].wepNum].bulletsNum + (hero.weapons[propObjects[_local1].wepNum].bulletsInCatrigeMax * propObjects[_local1].moneyAmount)); if (hero.weapons[propObjects[_local1].wepNum].bulletsNum > hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ hero.weapons[propObjects[_local1].wepNum].bulletsNum = hero.weapons[propObjects[_local1].wepNum].bulletsNumMax; }; sounds.PlaySnd((hero.weapons[propObjects[_local1].wepNum].type + "Reloaded")); }; }; } else { if (propObjects[_local1].propType == "Med"){ if (hero.life < hero.lifeMax){ propObjects[_local1].visible = false; hero.life = (hero.life + propObjects[_local1].moneyAmount); if (hero.life > hero.lifeMax){ hero.life = hero.lifeMax; }; sounds.PlaySnd("Med"); }; } else { if (propObjects[_local1].propType == "Item"){ propObjects[_local1].visible = false; hero.itemsInBag.push(propObjects[_local1].itemName); sounds.PlaySnd("itemTake"); } else { if (propObjects[_local1].propType == "Weapon"){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].active = true; hero.curWeaponNum = (propObjects[_local1].wepNum + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); } else { propObjects[_local1].visible = false; sounds.PlaySnd((propObjects[_local1].propType + "1")); hero.moneyCnt = (hero.moneyCnt + propObjects[_local1].moneyAmount); mainGlobal.moneyCollected = (mainGlobal.moneyCollected + propObjects[_local1].moneyAmount); }; }; }; }; }; }; }; }; _local1++; }; } public function addProp_Money2(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney2(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addProj_MinigunBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projMinigunBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:Object = {id:-1}; var _local12:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4, true, _local11); if (_local12 != null){ _arg3 = _local12.x; _arg4 = _local12.y; if (_local11.id != -1){ mainGlobal.shootingInEnemies++; addLineDamageToEnemy(_local12, _arg5.damage, enemies[_local11.id], true); }; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; var _local13:Array = new Array(); _local13.push(new GlowFilter(0xFFFF00, 1, 15, 15, 4, BitmapFilterQuality.MEDIUM)); _local6.filters = _local13; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addProj_LaserBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projLaserBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4); if (_local11 != null){ _arg3 = _local11.x; _arg4 = _local11.y; }; if (addLineDamage(_arg1, _arg2, _arg3, _arg4, _arg5.damage)){ mainGlobal.shootingInEnemies++; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; _local6.use_force_restart = true; _local6.fadeSpeed = 0.1; _local6.startFadeOut(); _local6.gravityEnable = false; var _local12:Array = new Array(); _local12.push(new GlowFilter(0xFF0000, 1, 15, 15, 1.7, BitmapFilterQuality.MEDIUM)); _local6.filters = _local12; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBullet(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, 24); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addFX_littleBlast(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; addBlinkFX_OverLight(); _local4 = new fxBlast(); _local4.x = _arg1; _local4.y = _arg2; _local4.blendMode = BlendMode.SCREEN; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addProj_BombWep(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBombWep(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_Psy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new psyProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; _local6.gravityComp = false; _local6.infAmmo = true; _local6.usePsyDamage = true; _local6.psyDamageVal = 16; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_Rocket(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projRocket(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_Debris(_arg1:Number, _arg2:Number, _arg3:Number=1, _arg4:String=""):propObject{ var _local5:propObject; _local5 = new propDebris(); _local5.x = _arg1; _local5.y = _arg2; _local5.speed.y = (ageMath.Random(-6, -18) * _arg3); _local5.speed.x = (ageMath.Random(-10, 10) * _arg3); if (_arg4.length){ _local5.gotoAndStop(_arg4); } else { _local5.gotoAndStop(ageMath.RandomInt(1, 20)); }; _local5.curLevel = this; dynObjects.push(_local5); propObjects.push(_local5); _local5.isRubber = true; _local5.stayTime = (3000 + ageMath.RandomInt(1, 2000)); _local5.timerStayDelay.start(); _local5.useRotateSpeed = true; _local5.rotateSpeed = ageMath.RandomInt(-15, 15); propLayer.addChild(_local5); return (_local5); } public function addLimiter(_arg1){ limiters.push(_arg1); } public function alignObjXToAnother(_arg1, _arg2):void{ if ((_arg1.x - (_arg1.width * 0.5)) < _arg2.x){ _arg1.x = (_arg1.x + (_arg2.x - (_arg1.x - (_arg1.width * 0.5)))); }; if ((_arg1.x + (_arg1.width * 0.5)) > (_arg2.x + _arg2.width)){ _arg1.x = (_arg1.x - ((_arg1.x + (_arg1.width * 0.5)) - (_arg2.x + _arg2.width))); }; } public function ifMCOnScreen(_arg1:MovieClip):Boolean{ var _local2:Point = this.localToGlobal(new Point(_arg1.x, _arg1.y)); var _local3:Rectangle = _arg1.getBounds(root); var _local4:Rectangle = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local4.intersects(_local3)){ return (true); }; return (false); } public function addExplotion(_arg1:projObject, _arg2:actorObject=null):void{ var _local3:Number; var _local5:int; _local3 = ageMath.Distance(_arg1.x, _arg1.y, hero.x, hero.y); var _local4:projObject = new projObject(); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = hero.x; _local4.y = (hero.y - (hero.height / 2)); _local4.fromGoodGuy = false; hero.transmitDamage(_local4); Game(parent).gameGUI.painFrame.startFadeOut(); _local4.clearDynObject(); }; _local5 = 0; while (_local5 < enemies.length) { if (((((enemies[_local5].dead) && (!((_arg2 == null))))) && (!((_arg2 == enemies[_local5]))))){ } else { _local3 = ageMath.Distance(_arg1.x, _arg1.y, enemies[_local5].x, enemies[_local5].y); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = enemies[_local5].x; _local4.y = (enemies[_local5].y - (enemies[_local5].height / 2)); _local4.fromGoodGuy = true; enemies[_local5].transmitDamage(_local4); _local4.clearDynObject(); }; }; _local5++; }; } public function Update(_arg1:Event):void{ var _local5:int; var _local6:*; var _local7:*; var _local11:int; var _local12:addActorStruct; var _local13:int; var _local14:Number; var _local15:Array; var _local16:ColorMatrix; if (isWin){ hero.body.stop(); return; }; if (((((mainGlobal.paused) || (!(visible)))) || (!((parent as Game))))){ return; }; if ((((hero.life <= 0)) && (!(isLose)))){ isLose = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToLose(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musLose"); sounds.PlaySnd(("TedDie" + ageMath.RandomInt(1, 2).toString()), 0.8); return; }; if (initFirst){ if (((!(mainGlobal.configMusicOn)) && (!(mainGlobal.configSoundOn)))){ Game(parent).gamButSnd.gotoAndStop(2); } else { Game(parent).gamButSnd.gotoAndStop(1); }; initFirst = false; initLimCache(); Game(parent).fadeBG.fadeSpeed = 0.03; Game(parent).fadeBG.use_force_restart = true; Game(parent).fadeBG.startFadeOut(); Game(parent).gameGUI.hlpControl.visible = false; Game(parent).gameGUI.dlg.visible = false; Game(parent).gameGUI.dlgIco.x = -500; _local6 = (hero.x * this.scaleX); _local7 = ((hero.y - 95) * this.scaleY); x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); mainGlobal.initStat(); _local11 = 0; _local11 = 0; while (_local11 < enemies.length) { if (!enemies[_local11].noStatEnemy){ mainGlobal.enemiesAll++; }; _local11++; }; Game(parent).sky.visible = true; levInit(); if (mainGlobal.isSingleEp){ if (curLevNum == 1){ _local5 = 0; while (_local5 < 1) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 0; } else { if (curLevNum == 2){ _local5 = 0; while (_local5 < 2) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 200; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 3){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 4){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1300; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 5){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 6){ _local5 = 0; while (_local5 < 4) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 2000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 7){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 8){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; } else { if (curLevNum == 9){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; } else { if (curLevNum == 10){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; }; }; }; }; }; }; }; }; }; }; }; Game(parent).gameGUI.dlgIco.gotoAndStop(1); }; var _local2:int = getTimer(); cleenUP(); UpdateLimitersOnScr(); UpdateParalaxObjects(); UpdateDynObjects(); UpdatePropObjects(); UpdateEnemies(); UpdateProjObjects(); hero.updateActor(); hero.applyDamages(); hero.testIsActorDead(); if (addActorsArr.length){ while (addActorsArr.length) { _local12 = addActorsArr.pop(); addActor(_local12.strClass, "", _local12.posx, _local12.posy, _local12.orderZ); }; }; var _local3:int; _local3 = 0; while (_local3 < chunkObjects.length) { if (ifMCOnScreen(chunkObjects[_local3])){ chunkObjects[_local3].visible = true; } else { chunkObjects[_local3].visible = false; }; _local3++; }; levScript(); var _local4:Boolean; if (Controls.key[Keyboard.F2]){ hero.life = 1; }; if (Controls.key[Keyboard.ESCAPE]){ showGameMenu(); }; if (!hero.timerReloadDelay.running){ _local13 = 0; while (_local13 < 8) { if (((((Controls.key[(49 + _local13)]) && (!((hero.curWeaponNum == (_local13 + 1)))))) && (hero.weapons[_local13].active))){ hero.curWeaponNum = (_local13 + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); }; _local13++; }; }; if (Game(root).cursor.currentLabel == "cross"){ _local14 = ageMath.Distance(hero.x, hero.y, (Controls.mousePosX - x), (Controls.mousePosY - y)); Game(root).cursor.shootAcc.scaleX = (Game(root).cursor.shootAcc.scaleY = ((hero.wepAcc * _local14) / hero.weapons[(hero.curWeaponNum - 1)].accDistScale)); }; _local5 = 0; _local5 = 0; while (_local5 < 8) { if (((hero.weapons[_local5]) && (hero.weapons[_local5].active))){ if ((((hero.weapons[_local5].bulletsInCatrige == 0)) && ((hero.weapons[_local5].bulletsNum == 0)))){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 2){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 2; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(-124); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (hero.curWeaponNum != (_local5 + 1)){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 1){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 1; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 3){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 3; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(87); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 4){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 4; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 0.5; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; _local5++; }; Game(parent).gameGUI.wepInfo.catTxt.text = ((hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrige + "/") + hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrigeMax); if (!hero.weapons[(hero.curWeaponNum - 1)].infAmmo){ Game(parent).gameGUI.wepInfo.allTxt.text = hero.weapons[(hero.curWeaponNum - 1)].bulletsNum; } else { Game(parent).gameGUI.wepInfo.allTxt.text = "INF"; }; Game(parent).gameGUI.wepInfo.pic.gotoAndStop((hero.curWeaponNum + 4)); if ((hero.x - (hero.width * 0.5)) < levLeftLim){ hero.x = (levLeftLim + (hero.width * 0.5)); } else { if ((hero.x + (hero.width * 0.5)) > levRightLim){ hero.x = (levRightLim - (hero.width * 0.5)); }; }; _local6 = ageMath.Lerp((Controls.mousePosX - x), (hero.x * scaleX), 0.6); _local7 = ageMath.Lerp((Controls.mousePosY - y), ((hero.y - 95) * scaleY), 0.6); if (!_local4){ x = Math.round(ageMath.Lerp(x, -((_local6 - (stage.stageWidth * 0.5))), 0.15)); y = Math.round(ageMath.Lerp(y, -((_local7 - (stage.stageHeight * 0.5))), 0.15)); } else { x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); }; if (this["blackScr"]){ this["blackScr"].x = -(x); this["blackScr"].y = -(y); }; var _local8:Point = this.localToGlobal(new Point(levLeftLim, 0)); var _local9:Point = this.localToGlobal(new Point(levRightLim, 0)); if (_local8.x > 0){ x = (x - _local8.x); } else { if (_local9.x < stage.stageWidth){ x = (x + (stage.stageWidth - _local9.x)); }; }; if (curBlastShake > 0){ x = (x + ageMath.Random(-(curBlastShake), curBlastShake)); y = (y + ageMath.Random(-(curBlastShake), curBlastShake)); curBlastShake = (curBlastShake - curBlastShakeDec); if (curBlastShake < 0){ curBlastShake = 0; }; }; Game(parent).gameGUI.lifeBar.gotoAndStop(Math.round(ageMath.RemapVal(Math.round(hero.life), 1, hero.lifeMax, 1, 100))); Game(parent).gameGUI.lifeBar.width = ageMath.RemapVal(Math.round(hero.lifeMax), 100, 300, 108, 227); Game(parent).gameGUI.txtMoney.text = ("$" + hero.moneyCnt); var _local10:int; _local10 = 0; while (_local10 < 6) { if (hero.itemsInBag[_local10]){ Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(hero.itemsInBag[_local10]); } else { Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(1); }; _local10++; }; if (hero.bioMaxLevel > 0){ Game(parent).gameGUI.hazBio.visible = true; Game(parent).gameGUI.hazBio.gotoAndStop((100 - int(ageMath.RemapVal(hero.bioCurLevel, 0, hero.bioMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazBio.visible = false; }; if (hero.psyMaxLevel > 0){ Game(parent).gameGUI.hazPsy.visible = true; Game(parent).gameGUI.hazPsy.gotoAndStop((100 - int(ageMath.RemapVal(hero.psyCurLevel, 0, hero.psyMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazPsy.visible = false; }; if (hero.electroMaxLevel > 0){ Game(parent).gameGUI.hazElectro.visible = true; Game(parent).gameGUI.hazElectro.gotoAndStop((100 - int(ageMath.RemapVal(hero.electroCurLevel, 0, hero.electroMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazElectro.visible = false; }; Controls.updateKeyNew(); if (Game(parent).groundBG){ Game(parent).groundBG.changeBG(x, y); }; } public function addActor(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=-1):actorObject{ var _local6:actorObject; if (_arg1 == "AlienSaw"){ _local6 = new AlienSaw(); } else { if (_arg1 == "AlienHunter"){ _local6 = new AlienHunter(); } else { if (_arg1 == "AlienElectro"){ _local6 = new AlienElectro(); } else { if (_arg1 == "Zomb01"){ _local6 = new Zomb01(); } else { if (_arg1 == "Zomb02"){ _local6 = new Zomb02(); } else { if (_arg1 == "Zomb03"){ _local6 = new Zomb03(); } else { if (_arg1 == "Zomb04"){ _local6 = new Zomb04(); } else { if (_arg1 == "Zomb05"){ _local6 = new Zomb05(); } else { if (_arg1 == "Zomb01Run"){ _local6 = new Zomb01Run(); } else { if (_arg1 == "Zomb02Run"){ _local6 = new Zomb02Run(); } else { if (_arg1 == "Zomb03Run"){ _local6 = new Zomb03Run(); } else { if (_arg1 == "Zomb04Run"){ _local6 = new Zomb04Run(); } else { if (_arg1 == "Zomb05Run"){ _local6 = new Zomb05Run(); } else { if (_arg1 == "Zomb01Vomit"){ _local6 = new Zomb01Vomit(); } else { if (_arg1 == "Zomb02Vomit"){ _local6 = new Zomb02Vomit(); } else { if (_arg1 == "Zomb03Vomit"){ _local6 = new Zomb03Vomit(); } else { if (_arg1 == "Zomb04Vomit"){ _local6 = new Zomb04Vomit(); } else { if (_arg1 == "Zomb05Vomit"){ _local6 = new Zomb05Vomit(); } else { if (_arg1 == "Spider"){ _local6 = new Spider(); } else { if (_arg1 == "AlienBomber"){ _local6 = new AlienBomber(); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; _local6.x = _arg3; _local6.y = _arg4; _local6.name = _arg2; if (!_local6.noStatEnemy){ mainGlobal.enemiesAll++; }; if (_arg5 < 0){ addChild(_local6); } else { addChildAt(_local6, _arg5); }; return (_local6); } public function levInit(){ mainGlobal.secretsAll = 2; curLevNum = 5; curLevScore = 3000; levelMus = "musDarkAmb"; musicEnv.fadeTo(levelMus); Game(parent).sky.visible = false; levLeftLim = triggerLevelLeftBorder.x; levRightLim = bunkerMinigunBorder.x; sVar["triggerSecret1"] = false; sVar["triggerSecret2"] = false; sVar["triggerLeverHangar"] = false; sVar["triggerLeverSecretRoom"] = false; sVar["triggerTedBioEnd"] = false; sVar["DlgTedBioTimer"] = 0; sVar["DlgTedBioEnd"] = false; sVar["triggerTedButtonEnd"] = false; sVar["DlgTedButtonTimer"] = 0; sVar["DlgTedButtonEnd"] = false; sVar["triggerBunkerManCall"] = false; sVar["triggerBunkerMan"] = false; sVar["DlgBunkerManState"] = 0; sVar["DlgBunkerManTimer"] = 0; sVar["DlgBunkerManEnd"] = false; sVar["triggerBunkerMan2"] = false; sVar["DlgBunkerManState2"] = 0; sVar["DlgBunkerManTimer2"] = 0; sVar["DlgBunkerManEnd2"] = false; sVar["DlgTedMinigun"] = false; sVar["triggerSoundBoss"] = false; sVar["DlgSoundBossTimer"] = 0; sVar["DlgSoundBossEnd"] = false; } public function addFX_MetalSparks(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxMetalSparks(); _local3.x = _arg1; _local3.y = _arg2; _local3.blendMode = BlendMode.ADD; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Blaster(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlaster(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProj_Vomit(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projVomit(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.timerFXAdd.delay = 80; _local6.timerFXAdd.start(); _local6.fxFunc = addFX_VomitSplatters; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = true; _local6.gravityComp = true; _local6.infAmmo = true; _local6.useBioDamage = true; _local6.bioDamageVal = 10; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_blasterAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlasterAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } } }//package main
Section 83
//Level6 (main.Level6) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.ui.*; public dynamic class Level6 extends Level { var levRightLim:Number;// = 999999 var dlgSpeedFactor:Number;// = 4 var lastMSFrame:int;// = 9999 public var enemies:Array; var levLeftLim:Number;// = -999999 public var propObjects:Array; public var triggerBigAss:MovieClip; public var minLimX:Number;// = 2147483647 public var levelRightBorder:MovieClip; public var maxLimX:Number;// = -2147483648 var curBlastShake:Number;// = 0 var isWin:Boolean;// = false public var dynObjects:Array; var isLose:Boolean;// = false var grav:Number;// = 1 public var triggerFuel1:MovieClip; public var triggerFuel2:MovieClip; public var triggerUpgrade1:MovieClip; public var triggerUpgrade2:MovieClip; public var limitersCache:Array; var initFirst:Boolean;// = false public var triggerBarneyCall:MovieClip; public var triggerBarney:MovieClip; var curLevNum:int;// = 1 public var FXLayer:MovieClip; var levelMus:String;// = "" public var triggerSecret1:MovieClip; public var propLayer:MovieClip; public var barney:MovieClip; var sVar:Object; public var fuelBarrel1:MovieClip; public var fuelBarrel2:MovieClip; public var levelLeftBorder:MovieClip; public var limitersOnScr:Array; public var addActorsArr:Array; public var limiters:Array; public var paralaxObjects:Array; var curLevScore:int;// = 3000 var curBlastShakeDec:Number;// = 0.3 public var triggerFuelBarrel1:MovieClip; public var triggerFuelBarrel2:MovieClip; public var fxObjects:Array; public var limitersCacheStep:int;// = 640 public var goodNPC:Array; public var chunkObjects:Array; var curScale:Number;// = 1 public var projObjects:Array; public var hero:MovieClip; public var projLayer:MovieClip; public function Level6(){ sVar = new Object(); limiters = new Array(); limitersCache = new Array(); limitersOnScr = new Array(); dynObjects = new Array(); enemies = new Array(); goodNPC = new Array(); paralaxObjects = new Array(); projObjects = new Array(); chunkObjects = new Array(); fxObjects = new Array(); propObjects = new Array(); addActorsArr = new Array(); super(); addFrameScript(0, frame1); init(); } public function addFX_VomitSplatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxVomitSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function initLimCache(){ var _local1:*; var _local2:int; var _local3:int; var _local4:int; maxLimX = int.MIN_VALUE; minLimX = int.MAX_VALUE; _local1 = 0; while (_local1 < limiters.length) { if (limiters[_local1].x < minLimX){ minLimX = limiters[_local1].x; }; if ((limiters[_local1].x + limiters[_local1].width) > maxLimX){ maxLimX = limiters[_local1].x; }; _local1++; }; limitersCache = []; _local1 = 0; while (_local1 < (((maxLimX - minLimX) / limitersCacheStep) + 1)) { limitersCache.push(new Array()); _local1++; }; _local1 = 0; while (_local1 < limiters.length) { _local3 = int(((limiters[_local1].x - minLimX) / limitersCacheStep)); _local4 = int((((limiters[_local1].x + limiters[_local1].width) - minLimX) / limitersCacheStep)); _local2 = _local3; while (_local2 <= _local4) { if (!limitersCache[_local2]){ limitersCache[_local2] = new Array(); }; limitersCache[_local2].push(limiters[_local1]); _local2++; }; _local1++; }; } public function addLineDamage(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Boolean{ var _local6:Number; var _local8:int; var _local9:ageVector; var _local7:Boolean; _local8 = 0; while (_local8 < enemies.length) { if (enemies[_local8].dead){ } else { _local9 = enemies[_local8].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local9 != null){ addLineDamageToEnemy(_local9, _arg5, enemies[_local8], true); _local7 = true; }; }; _local8++; }; return (_local7); } public function checkHitPlatform(_arg1, _arg2:Array){ var _local3:int; _arg1.bottomLimiter = null; _local3 = 0; while (_local3 < _arg2.length) { if (((_arg2[_local3].slimMode) && ((_arg1.speed.y < 0)))){ } else { if (_arg2[_local3].hitTestObject(_arg1.p2)){ _arg1.jump = false; if (_arg1.isRubber){ _arg1.speed.y = (_arg1.speed.y * -(_arg1.rubberFactor)); _arg1.speed.x = (_arg1.speed.x * _arg1.rubberFactor); if (_arg1.useRotateSpeed){ _arg1.rotateSpeed = 0; }; } else { _arg1.speed.y = 0; }; _arg1.y = ((_arg2[_local3].y - _arg1.p2.y) - _arg1.p2.height); _arg1.bottomLimiter = _arg2[_local3]; } else { if (((_arg2[_local3].hitTestObject(_arg1.p1)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = (_arg2[_local3].x - (_arg1.p1.x + _arg1.p1.width)); } else { _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) + (_arg1.p1.x + _arg1.p1.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p3)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) - _arg1.p3.x); } else { _arg1.x = (_arg2[_local3].x - (-(_arg1.p3.x) + _arg1.p3.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p4)) && (!(_arg2[_local3].slimMode)))){ _arg1.speed.y = 0; _arg1.y = ((_arg2[_local3].y + _arg2[_local3].height) - _arg1.p4.y); }; }; }; }; }; _local3++; }; } public function openUpgradeMenu():void{ mainGlobal.paused = true; this.visible = false; Game(root).cursor.gotoAndStop("arrow"); Game(parent).menuUpgradeShop.showShop(); musicEnv.fadeTo("musUpgrade"); } public function addFX_littleSmoke(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxLittleSmoke(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function init(){ addEventListener(Event.ENTER_FRAME, Update, false, 0, true); } function mouseLeave(_arg1:Event):void{ showGameMenu(); } public function UpdateParalaxObjects():void{ var _local1:int; _local1 = 0; while (_local1 < paralaxObjects.length) { paralaxObjects[_local1].x = (paralaxObjects[_local1].saveX - ageMath.RemapVal((paralaxObjects[_local1].saveX + x), 0, stage.stageWidth, 0, paralaxObjects[_local1].paralaxX)); paralaxObjects[_local1].y = (paralaxObjects[_local1].saveY - ageMath.RemapVal((paralaxObjects[_local1].saveY + y), 0, stage.stageHeight, 0, paralaxObjects[_local1].paralaxY)); _local1++; }; } public function addBlinkFX_OverLight():void{ Game(parent).gameGUI.fxblink.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink.use_force_restart = true; Game(parent).gameGUI.fxblink.startFadeOut(); curBlastShake = 15; } public function cleenUP():void{ cleenUP_FX(); cleenUP_Proj(); cleenUP_Prop(); cleenUP_Actors(); } public function UpdateDynObjects():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; _local1 = 0; while (_local1 < dynObjects.length) { if (dynObjects[_local1].visible == false){ } else { if (ageMath.Distance(dynObjects[_local1].x, dynObjects[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6)){ if (dynObjects[_local1].gravityEnable){ dynObjects[_local1].speed.y = (dynObjects[_local1].speed.y + (grav * dynObjects[_local1].gravityFactor)); }; dynObjects[_local1].speed.y = ((dynObjects[_local1].speed.y)>dynObjects[_local1].maxSpeed.y) ? dynObjects[_local1].maxSpeed.y : dynObjects[_local1].speed.y; dynObjects[_local1].y = (dynObjects[_local1].y + dynObjects[_local1].speed.y); if (dynObjects[_local1].collisionEnable){ _local2 = int((((dynObjects[_local1].x - dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local3 = int((((dynObjects[_local1].x + dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local4 = _local2; while (_local4 <= _local3) { if (((limitersCache[_local4]) && (limitersCache[_local4].length))){ checkHitPlatform(dynObjects[_local1], limitersCache[_local4]); }; _local4++; }; }; }; }; _local1++; }; } public function addLineDamageToEnemy(_arg1:ageVector, _arg2:Number, _arg3:actorObject, _arg4:Boolean){ var _local5:projObject = new projObject(); _local5.damage = _arg2; _local5.x = _arg1.x; _local5.y = _arg1.y; _local5.fromGoodGuy = _arg4; _arg3.transmitDamage(_local5); _local5.clearDynObject(); } public function addFX_BloodOnGround(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodOnGround(); _local3.x = _arg1; _local3.y = _arg2; _local3.gotoAndStop(ageMath.RandomInt(1, 5)); _local3.scaleY = 0.5; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function cleenUP_Proj():void{ var _local1:int; _local1 = 0; while (_local1 < projObjects.length) { if (((projObjects[_local1]) && ((projObjects[_local1].visible == false)))){ projObjects[_local1].clearDynObject(); if (projObjects[_local1]){ if (projObjects[_local1].parent){ projObjects[_local1].parent.removeChild(projObjects[_local1]); }; }; projObjects.splice(_local1, 1); break; }; _local1++; }; } public function cleenUP_Actors():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < enemies.length) { if (((((enemies[_local1]) && ((enemies[_local1].visible == false)))) && (enemies[_local1].dead))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == enemies[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; enemies[_local1].clearActorObject(); if (enemies[_local1]){ if (enemies[_local1].parent){ enemies[_local1].parent.removeChild(enemies[_local1]); }; }; enemies.splice(_local1, 1); break; }; _local1++; }; } public function addBlasterProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new blasterProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function cleenUP_Prop():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < propObjects.length) { if (((propObjects[_local1]) && ((propObjects[_local1].visible == false)))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == propObjects[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; if (propObjects[_local1]){ if (propObjects[_local1].parent){ propObjects[_local1].parent.removeChild(propObjects[_local1]); }; }; propObjects.splice(_local1, 1); break; }; _local1++; }; } public function testIntersectLimiterOnScr(_arg1:dynObject):Boolean{ var _local2:int; _local2 = 0; while (_local2 < limitersOnScr.length) { if (((!(limitersOnScr[_local2].slimMode)) && (limitersOnScr[_local2].hitTestObject(_arg1)))){ return (true); }; _local2++; }; return (false); } public function addProp_Shotgun(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propShotgun(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addBlinkFX_OverLight2():void{ Game(parent).gameGUI.fxblink2.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink2.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink2.use_force_restart = true; Game(parent).gameGUI.fxblink2.startFadeOut(); } public function addFX_BloodLeak(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodLeak(); _local3.x = _arg1; _local3.y = _arg2; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function UpdateLimitersOnScr():void{ var _local1:int; var _local2:int; var _local3:*; var _local4:int; var _local5:Point; var _local6:Rectangle; var _local7:Rectangle; limitersOnScr = []; _local1 = int(((-(x) - minLimX) / limitersCacheStep)); _local2 = int((((-(x) + stage.stageWidth) - minLimX) / limitersCacheStep)); _local4 = _local1; while (_local4 <= _local2) { if (limitersCache[_local4]){ _local3 = 0; while (_local3 < limitersCache[_local4].length) { _local5 = this.localToGlobal(new Point(limitersCache[_local4][_local3].x, limitersCache[_local4][_local3].y)); _local6 = new Rectangle(_local5.x, _local5.y, limitersCache[_local4][_local3].width, limitersCache[_local4][_local3].height); _local7 = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local7.intersects(_local6)){ limitersOnScr.push(limitersCache[_local4][_local3]); }; _local3++; }; }; _local4++; }; } public function levScript(){ var _local1:int; var _local2:int; var _local3:Boolean; var _local4:int; if (!sVar["triggerUpgrade1"]){ if (triggerUpgrade1.hitTestObject(hero)){ if (((Controls.keyNew[Keyboard.ENTER]) || (Controls.keyNew[69]))){ openUpgradeMenu(); }; if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(5); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; } else { if (!triggerUpgrade2.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 5)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; if (!sVar["triggerUpgrade2"]){ if (triggerUpgrade2.hitTestObject(hero)){ if (((Controls.keyNew[Keyboard.ENTER]) || (Controls.keyNew[69]))){ openUpgradeMenu(); }; if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(5); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; } else { if (!triggerUpgrade1.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 5)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; if (!sVar["triggerSecret1"]){ if (triggerSecret1.hitTestObject(hero)){ sVar["triggerSecret1"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["triggerTedBigAss"]){ if (triggerBigAss.hitTestObject(hero)){ sVar["triggerTedBigAss"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev6_TedBigAss"); sVar["DlgTedBigAssTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); }; } else { if (!sVar["DlgTedBigAssEnd"]){ if (sVar["DlgTedBigAssTimer"] == 0){ sVar["DlgTedBigAssEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { var _local5 = sVar; var _local6 = "DlgTedBigAssTimer"; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; if (Controls.keyNew[69]){ sVar["DlgTedBigAssTimer"] = 0; }; }; }; }; if (!sVar["triggerBarneyCall"]){ if (triggerBarneyCall.hitTestObject(hero)){ sVar["triggerBarneyCall"] = true; sounds.PlaySnd("helpIco"); }; } else { if (!sVar["triggerBarney"]){ Game(parent).gameGUI.dlgIco.targetingObject(barney); } else { Game(parent).gameGUI.dlgIco.x = -500; }; }; if (!sVar["triggerBarney"]){ if (triggerBarney.hitTestObject(hero)){ sVar["triggerBarney"] = true; levLeftLim = triggerBarneyCall.x; }; } else { if (!sVar["DlgBarneyEnd"]){ if (sVar["DlgBarneyTimer"] == 0){ if (sVar["DlgBarneyState"] == 0){ _local1 = Game(parent).gameGUI.dlg.setTo("lev6_TedBarney01"); _local5 = sVar; _local6 = "DlgBarneyState"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; sVar["DlgBarneyTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgBarneyState"] == 1){ _local1 = Game(parent).gameGUI.dlg.setTo("lev6_TedBarney02"); _local5 = sVar; _local6 = "DlgBarneyState"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; sVar["DlgBarneyTimer"] = int((_local1 * dlgSpeedFactor)); } else { if (sVar["DlgBarneyState"] == 2){ _local1 = Game(parent).gameGUI.dlg.setTo("lev6_TedBarney03"); _local5 = sVar; _local6 = "DlgBarneyState"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; sVar["DlgBarneyTimer"] = int((_local1 * dlgSpeedFactor)); } else { sVar["DlgBarneyEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); addProp_Blaster((barney.x + (barney.width * 0.5)), (barney.y + (barney.height * 0.5))); }; }; }; } else { _local5 = sVar; _local6 = "DlgBarneyTimer"; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; if (Controls.keyNew[69]){ sVar["DlgBarneyTimer"] = 0; }; }; }; }; if (!sVar["wepBlasterTaked"]){ if (hero.weapons[4].active){ sVar["wepBlasterTaked"] = true; levLeftLim = levelLeftBorder.x; Game(parent).gameGUI.dlgIco.gotoAndStop(2); sounds.PlaySnd("helpIco"); }; } else { if (!sVar["fueled1"]){ if (!sVar["fuel1Trigger"]){ Game(parent).gameGUI.dlgIco.targetingObject(fuelBarrel1); if (triggerFuelBarrel1.hitTestObject(hero)){ sVar["fuel1Trigger"] = true; Game(parent).gameGUI.dlgIco.x = -500; fuelBarrel1.visible = true; levLeftLim = triggerFuel1.x; levRightLim = (triggerFuel1.x + triggerFuel1.width); musicEnv.fadeTo("FatalDamage"); sVar["WaveCnt"] = 8; _local2 = 0; while (_local2 < 6) { addActor("AlienSaw", ("unit" + _local2), (triggerFuel1.x + ageMath.RandomInt(-200, 200)), (triggerFuel1.y - ageMath.RandomInt(100, 300))).alwaysSeeEnemy = true; _local2++; }; addActor("AlienHunter", ("unit" + _local2), (triggerFuel1.x + ageMath.RandomInt(-200, 200)), (triggerFuel1.y - ageMath.RandomInt(100, 300))).alwaysSeeEnemy = true; _local2++; addActor("AlienElectro", ("unit" + _local2), (triggerFuel1.x + ageMath.RandomInt(-200, 200)), (triggerFuel1.y - ageMath.RandomInt(100, 300))).alwaysSeeEnemy = true; }; } else { if (!sVar["fuel1TriggerEnemies"]){ _local3 = true; _local2 = 0; while (_local2 < sVar["WaveCnt"]) { if (((!((getChildByName(("unit" + _local2)) == null))) && (!((getChildByName(("unit" + _local2)).visible == false))))){ _local3 = false; break; }; _local2++; }; if (_local3){ fuelBarrel1.gotoAndStop(2); sVar["fuel1TriggerEnemies"] = true; musicEnv.fadeTo(levelMus); }; } else { if (triggerFuelBarrel1.hitTestObject(hero)){ sVar["fueled1"] = true; fuelBarrel1.visible = false; Game(parent).gameGUI.dlgIco.gotoAndStop(2); sounds.PlaySnd("helpIco"); levLeftLim = levelLeftBorder.x; levRightLim = levelRightBorder.x; }; }; }; }; if (((sVar["fueled1"]) && (!(sVar["fueled2"])))){ if (!sVar["fuel2Trigger"]){ Game(parent).gameGUI.dlgIco.targetingObject(fuelBarrel2); if (triggerFuelBarrel2.hitTestObject(hero)){ sVar["fuel2Trigger"] = true; Game(parent).gameGUI.dlgIco.x = -500; fuelBarrel2.visible = true; levLeftLim = triggerFuel2.x; levRightLim = (triggerFuel2.x + triggerFuel2.width); musicEnv.fadeTo("FatalDamage"); sVar["WaveCnt"] = 8; _local2 = 0; while (_local2 < 6) { addActor("AlienSaw", ("unit" + _local2), (triggerFuel2.x + ageMath.RandomInt(-200, 200)), (triggerFuel2.y - ageMath.RandomInt(100, 300))).alwaysSeeEnemy = true; _local2++; }; addActor("AlienHunter", ("unit" + _local2), (triggerFuel2.x + ageMath.RandomInt(-200, 200)), (triggerFuel2.y - ageMath.RandomInt(100, 300))).alwaysSeeEnemy = true; _local2++; addActor("AlienHunter", ("unit" + _local2), (triggerFuel2.x + ageMath.RandomInt(-200, 200)), (triggerFuel2.y - ageMath.RandomInt(100, 300))).alwaysSeeEnemy = true; }; } else { if (!sVar["fuel2TriggerEnemies"]){ _local3 = true; _local2 = 0; while (_local2 < sVar["WaveCnt"]) { if (((!((getChildByName(("unit" + _local2)) == null))) && (!((getChildByName(("unit" + _local2)).visible == false))))){ _local3 = false; break; }; _local2++; }; if (_local3){ fuelBarrel2.gotoAndStop(2); sVar["fuel2TriggerEnemies"] = true; }; } else { if (triggerFuelBarrel2.hitTestObject(hero)){ sVar["fueled2"] = true; fuelBarrel2.visible = false; sounds.PlaySnd("helpIco"); Game(parent).gameGUI.dlgIco.gotoAndStop(1); musicEnv.fadeTo(levelMus); levLeftLim = levelLeftBorder.x; levRightLim = levelRightBorder.x; }; }; }; }; }; if (sVar["fueled2"]){ if (!sVar["triggerBarney2"]){ Game(parent).gameGUI.dlgIco.targetingObject(barney); } else { Game(parent).gameGUI.dlgIco.x = -500; }; if (!sVar["triggerBarney2"]){ if (triggerBarney.hitTestObject(hero)){ sVar["triggerBarney2"] = true; levLeftLim = triggerBarneyCall.x; }; } else { if (!sVar["DlgBarney2End"]){ if (sVar["DlgBarney2Timer"] == 0){ if (sVar["DlgBarney2State"] == 0){ _local1 = Game(parent).gameGUI.dlg.setTo("lev6_TedBarney04"); _local5 = sVar; _local6 = "DlgBarney2State"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; sVar["DlgBarney2Timer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { sVar["DlgBarney2End"] = true; Game(parent).gameGUI.dlg.startFadeOut(); }; } else { _local5 = sVar; _local6 = "DlgBarney2Timer"; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; if (Controls.keyNew[69]){ sVar["DlgBarney2Timer"] = 0; }; }; }; }; if (((sVar["DlgBarney2End"]) && (!(Game(parent).gameGUI.dlg.visible)))){ if (!isWin){ isWin = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToWin(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musWin"); return; }; }; }; } public function UpdateProjObjects():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < projObjects.length) { if (projObjects[_local1].visible == false){ } else { if (projObjects[_local1].gravityEnable){ projObjects[_local1].Velocity.y = (projObjects[_local1].Velocity.y + (grav * projObjects[_local1].gravityFactor)); projObjects[_local1].Velocity.y = ((projObjects[_local1].Velocity.y)>projObjects[_local1].maxSpeed.y) ? projObjects[_local1].maxSpeed.y : projObjects[_local1].Velocity.y; }; projObjects[_local1].updateDynObj(); if (!projObjects[_local1].fromGoodGuy){ if (((!(hero.dead)) && (hero.hitTestProj(projObjects[_local1])))){ if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { hero.transmitDamage(projObjects[_local1]); Game(parent).gameGUI.painFrame.startFadeOut(); }; }; } else { _local2 = 0; while (_local2 < enemies.length) { if (((!(enemies[_local2].dead)) && (enemies[_local2].hitTestProj(projObjects[_local1])))){ mainGlobal.shootingInEnemies++; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { enemies[_local2].transmitDamage(projObjects[_local1]); }; }; _local2++; }; }; if (ageMath.Distance(projObjects[_local1].x, projObjects[_local1].y, hero.x, hero.y) > 670){ projObjects[_local1].visible = false; }; if (testIntersectLimiterOnScr(projObjects[_local1])){ projObjects[_local1].visible = false; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; }; }; }; _local1++; }; } public function cleenUP_FX():void{ var _local1:int; _local1 = 0; while (_local1 < fxObjects.length) { if (((fxObjects[_local1]) && ((fxObjects[_local1].visible == false)))){ if (fxObjects[_local1]){ if (fxObjects[_local1].parent){ fxObjects[_local1].parent.removeChild(fxObjects[_local1]); }; }; fxObjects.splice(_local1, 1); break; }; _local1++; }; } function frame1(){ initFirst = true; } public function addFX_Splatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxBloodSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function term(){ var _local1:int; removeEventListener(Event.ENTER_FRAME, Update); _local1 = 0; while (_local1 < enemies.length) { enemies[_local1].clearActorObject(); _local1++; }; _local1 = 0; while (_local1 < dynObjects.length) { dynObjects[_local1].clearDynObject(); _local1++; }; dynObjects = []; enemies = []; goodNPC = []; projObjects = []; paralaxObjects = []; chunkObjects = []; fxObjects = []; propObjects = []; addActorsArr = []; limitersCache = []; limitersOnScr = []; limiters = []; } public function addProp_Coin(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propCoin(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function testRayToLimiterOnScr(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean=false, _arg6:Object=null):ageVector{ var _local10:int; var _local11:ageVector; var _local12:Number; var _local13:ageVector; var _local14:Number; var _local7:ageVector; var _local8:ageVector = new ageVector(_arg1, _arg3); var _local9:Number = Number.MAX_VALUE; _local10 = 0; while (_local10 < limitersOnScr.length) { if (!limitersOnScr[_local10].slimMode){ _local11 = ageMath.getLineCrossRect(_arg1, _arg2, _arg3, _arg4, limitersOnScr[_local10].x, limitersOnScr[_local10].y, (limitersOnScr[_local10].x + limitersOnScr[_local10].width), (limitersOnScr[_local10].y + limitersOnScr[_local10].height)); if (_local11 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local11); _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local12 = ageMath.DistanceVec(_local8, _local11); if (_local12 < _local9){ _local9 = _local12; _local7.copy(_local11); }; }; }; }; _local10++; }; if (!_arg5){ return (_local7); }; _arg6.id = -1; _local10 = 0; while (_local10 < enemies.length) { if (enemies[_local10].dead){ } else { _local13 = enemies[_local10].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local13 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local13); _arg6.id = _local10; _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local14 = ageMath.DistanceVec(_local8, _local13); if (_local14 < _local9){ _local9 = _local14; _arg6.id = _local10; _local7.copy(_local13); }; }; }; }; _local10++; }; return (_local7); } public function addProp_Dynamite(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propDynamite(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_Headshot(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxHeadshot(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Money1(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney1(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addProp_Money2(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney2(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } function showGameMenu():void{ mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); Game(root).menuInGame.visible = true; Game(root).gameGUI.startFadeOut(); Game(root).menuInGame.startFadeIn(); } public function UpdatePropObjects():void{ var _local1:int; _local1 = 0; while (_local1 < propObjects.length) { if (propObjects[_local1].visible == false){ } else { if (ageMath.Distance(propObjects[_local1].x, propObjects[_local1].y, hero.x, hero.y) >= (stage.stageWidth * 1.6)){ } else { propObjects[_local1].x = (propObjects[_local1].x + propObjects[_local1].speed.x); if (propObjects[_local1].useRotateSpeed){ propObjects[_local1].body.rotation = (propObjects[_local1].body.rotation + propObjects[_local1].rotateSpeed); }; if ((((((((((((propObjects[_local1].propType == "Med")) || ((propObjects[_local1].propType == "Coin")))) || ((propObjects[_local1].propType == "Money")))) || ((propObjects[_local1].propType == "Weapon")))) || ((propObjects[_local1].propType == "Item")))) || ((propObjects[_local1].propType == "Ammo")))){ if (hero.hitTestObject(propObjects[_local1])){ if (propObjects[_local1].propType == "Ammo"){ if (hero.weapons[propObjects[_local1].wepNum].active){ if (hero.weapons[propObjects[_local1].wepNum].bulletsNum < hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].bulletsNum = (hero.weapons[propObjects[_local1].wepNum].bulletsNum + (hero.weapons[propObjects[_local1].wepNum].bulletsInCatrigeMax * propObjects[_local1].moneyAmount)); if (hero.weapons[propObjects[_local1].wepNum].bulletsNum > hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ hero.weapons[propObjects[_local1].wepNum].bulletsNum = hero.weapons[propObjects[_local1].wepNum].bulletsNumMax; }; sounds.PlaySnd((hero.weapons[propObjects[_local1].wepNum].type + "Reloaded")); }; }; } else { if (propObjects[_local1].propType == "Med"){ if (hero.life < hero.lifeMax){ propObjects[_local1].visible = false; hero.life = (hero.life + propObjects[_local1].moneyAmount); if (hero.life > hero.lifeMax){ hero.life = hero.lifeMax; }; sounds.PlaySnd("Med"); }; } else { if (propObjects[_local1].propType == "Item"){ propObjects[_local1].visible = false; hero.itemsInBag.push(propObjects[_local1].itemName); sounds.PlaySnd("itemTake"); } else { if (propObjects[_local1].propType == "Weapon"){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].active = true; hero.curWeaponNum = (propObjects[_local1].wepNum + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); } else { propObjects[_local1].visible = false; sounds.PlaySnd((propObjects[_local1].propType + "1")); hero.moneyCnt = (hero.moneyCnt + propObjects[_local1].moneyAmount); mainGlobal.moneyCollected = (mainGlobal.moneyCollected + propObjects[_local1].moneyAmount); }; }; }; }; }; }; }; }; _local1++; }; } public function addProp_MedKit(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new dropMedKit(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProj_Psy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new psyProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; _local6.gravityComp = false; _local6.infAmmo = true; _local6.usePsyDamage = true; _local6.psyDamageVal = 16; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_MinigunBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projMinigunBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:Object = {id:-1}; var _local12:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4, true, _local11); if (_local12 != null){ _arg3 = _local12.x; _arg4 = _local12.y; if (_local11.id != -1){ mainGlobal.shootingInEnemies++; addLineDamageToEnemy(_local12, _arg5.damage, enemies[_local11.id], true); }; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; var _local13:Array = new Array(); _local13.push(new GlowFilter(0xFFFF00, 1, 15, 15, 4, BitmapFilterQuality.MEDIUM)); _local6.filters = _local13; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addProj_LaserBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projLaserBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4); if (_local11 != null){ _arg3 = _local11.x; _arg4 = _local11.y; }; if (addLineDamage(_arg1, _arg2, _arg3, _arg4, _arg5.damage)){ mainGlobal.shootingInEnemies++; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; _local6.use_force_restart = true; _local6.fadeSpeed = 0.1; _local6.startFadeOut(); _local6.gravityEnable = false; var _local12:Array = new Array(); _local12.push(new GlowFilter(0xFF0000, 1, 15, 15, 1.7, BitmapFilterQuality.MEDIUM)); _local6.filters = _local12; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addFX_littleBlast(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; addBlinkFX_OverLight(); _local4 = new fxBlast(); _local4.x = _arg1; _local4.y = _arg2; _local4.blendMode = BlendMode.SCREEN; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBullet(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, 24); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_Debris(_arg1:Number, _arg2:Number, _arg3:Number=1, _arg4:String=""):propObject{ var _local5:propObject; _local5 = new propDebris(); _local5.x = _arg1; _local5.y = _arg2; _local5.speed.y = (ageMath.Random(-6, -18) * _arg3); _local5.speed.x = (ageMath.Random(-10, 10) * _arg3); if (_arg4.length){ _local5.gotoAndStop(_arg4); } else { _local5.gotoAndStop(ageMath.RandomInt(1, 20)); }; _local5.curLevel = this; dynObjects.push(_local5); propObjects.push(_local5); _local5.isRubber = true; _local5.stayTime = (3000 + ageMath.RandomInt(1, 2000)); _local5.timerStayDelay.start(); _local5.useRotateSpeed = true; _local5.rotateSpeed = ageMath.RandomInt(-15, 15); propLayer.addChild(_local5); return (_local5); } public function addProj_BombWep(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBombWep(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function ifMCOnScreen(_arg1:MovieClip):Boolean{ var _local2:Point = this.localToGlobal(new Point(_arg1.x, _arg1.y)); var _local3:Rectangle = _arg1.getBounds(root); var _local4:Rectangle = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local4.intersects(_local3)){ return (true); }; return (false); } public function addLimiter(_arg1){ limiters.push(_arg1); } public function alignObjXToAnother(_arg1, _arg2):void{ if ((_arg1.x - (_arg1.width * 0.5)) < _arg2.x){ _arg1.x = (_arg1.x + (_arg2.x - (_arg1.x - (_arg1.width * 0.5)))); }; if ((_arg1.x + (_arg1.width * 0.5)) > (_arg2.x + _arg2.width)){ _arg1.x = (_arg1.x - ((_arg1.x + (_arg1.width * 0.5)) - (_arg2.x + _arg2.width))); }; } public function addExplotion(_arg1:projObject, _arg2:actorObject=null):void{ var _local3:Number; var _local5:int; _local3 = ageMath.Distance(_arg1.x, _arg1.y, hero.x, hero.y); var _local4:projObject = new projObject(); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = hero.x; _local4.y = (hero.y - (hero.height / 2)); _local4.fromGoodGuy = false; hero.transmitDamage(_local4); Game(parent).gameGUI.painFrame.startFadeOut(); _local4.clearDynObject(); }; _local5 = 0; while (_local5 < enemies.length) { if (((((enemies[_local5].dead) && (!((_arg2 == null))))) && (!((_arg2 == enemies[_local5]))))){ } else { _local3 = ageMath.Distance(_arg1.x, _arg1.y, enemies[_local5].x, enemies[_local5].y); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = enemies[_local5].x; _local4.y = (enemies[_local5].y - (enemies[_local5].height / 2)); _local4.fromGoodGuy = true; enemies[_local5].transmitDamage(_local4); _local4.clearDynObject(); }; }; _local5++; }; } public function addProj_Rocket(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projRocket(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addFX_BlastWave(_arg1:Number, _arg2:Number, _arg3:Number=1){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxBlastWave(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function Update(_arg1:Event):void{ var _local5:int; var _local6:*; var _local7:*; var _local11:int; var _local12:addActorStruct; var _local13:int; var _local14:Number; var _local15:Array; var _local16:ColorMatrix; if (isWin){ hero.body.stop(); return; }; if (((((mainGlobal.paused) || (!(visible)))) || (!((parent as Game))))){ return; }; if ((((hero.life <= 0)) && (!(isLose)))){ isLose = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToLose(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musLose"); sounds.PlaySnd(("TedDie" + ageMath.RandomInt(1, 2).toString()), 0.8); return; }; if (initFirst){ if (((!(mainGlobal.configMusicOn)) && (!(mainGlobal.configSoundOn)))){ Game(parent).gamButSnd.gotoAndStop(2); } else { Game(parent).gamButSnd.gotoAndStop(1); }; initFirst = false; initLimCache(); Game(parent).fadeBG.fadeSpeed = 0.03; Game(parent).fadeBG.use_force_restart = true; Game(parent).fadeBG.startFadeOut(); Game(parent).gameGUI.hlpControl.visible = false; Game(parent).gameGUI.dlg.visible = false; Game(parent).gameGUI.dlgIco.x = -500; _local6 = (hero.x * this.scaleX); _local7 = ((hero.y - 95) * this.scaleY); x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); mainGlobal.initStat(); _local11 = 0; _local11 = 0; while (_local11 < enemies.length) { if (!enemies[_local11].noStatEnemy){ mainGlobal.enemiesAll++; }; _local11++; }; Game(parent).sky.visible = true; levInit(); if (mainGlobal.isSingleEp){ if (curLevNum == 1){ _local5 = 0; while (_local5 < 1) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 0; } else { if (curLevNum == 2){ _local5 = 0; while (_local5 < 2) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 200; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 3){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 4){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1300; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 5){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 6){ _local5 = 0; while (_local5 < 4) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 2000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 7){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 8){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; } else { if (curLevNum == 9){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; } else { if (curLevNum == 10){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; }; }; }; }; }; }; }; }; }; }; }; Game(parent).gameGUI.dlgIco.gotoAndStop(1); }; var _local2:int = getTimer(); cleenUP(); UpdateLimitersOnScr(); UpdateParalaxObjects(); UpdateDynObjects(); UpdatePropObjects(); UpdateEnemies(); UpdateProjObjects(); hero.updateActor(); hero.applyDamages(); hero.testIsActorDead(); if (addActorsArr.length){ while (addActorsArr.length) { _local12 = addActorsArr.pop(); addActor(_local12.strClass, "", _local12.posx, _local12.posy, _local12.orderZ); }; }; var _local3:int; _local3 = 0; while (_local3 < chunkObjects.length) { if (ifMCOnScreen(chunkObjects[_local3])){ chunkObjects[_local3].visible = true; } else { chunkObjects[_local3].visible = false; }; _local3++; }; levScript(); var _local4:Boolean; if (Controls.key[Keyboard.F2]){ hero.life = 1; }; if (Controls.key[Keyboard.ESCAPE]){ showGameMenu(); }; if (!hero.timerReloadDelay.running){ _local13 = 0; while (_local13 < 8) { if (((((Controls.key[(49 + _local13)]) && (!((hero.curWeaponNum == (_local13 + 1)))))) && (hero.weapons[_local13].active))){ hero.curWeaponNum = (_local13 + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); }; _local13++; }; }; if (Game(root).cursor.currentLabel == "cross"){ _local14 = ageMath.Distance(hero.x, hero.y, (Controls.mousePosX - x), (Controls.mousePosY - y)); Game(root).cursor.shootAcc.scaleX = (Game(root).cursor.shootAcc.scaleY = ((hero.wepAcc * _local14) / hero.weapons[(hero.curWeaponNum - 1)].accDistScale)); }; _local5 = 0; _local5 = 0; while (_local5 < 8) { if (((hero.weapons[_local5]) && (hero.weapons[_local5].active))){ if ((((hero.weapons[_local5].bulletsInCatrige == 0)) && ((hero.weapons[_local5].bulletsNum == 0)))){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 2){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 2; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(-124); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (hero.curWeaponNum != (_local5 + 1)){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 1){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 1; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 3){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 3; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(87); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 4){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 4; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 0.5; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; _local5++; }; Game(parent).gameGUI.wepInfo.catTxt.text = ((hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrige + "/") + hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrigeMax); if (!hero.weapons[(hero.curWeaponNum - 1)].infAmmo){ Game(parent).gameGUI.wepInfo.allTxt.text = hero.weapons[(hero.curWeaponNum - 1)].bulletsNum; } else { Game(parent).gameGUI.wepInfo.allTxt.text = "INF"; }; Game(parent).gameGUI.wepInfo.pic.gotoAndStop((hero.curWeaponNum + 4)); if ((hero.x - (hero.width * 0.5)) < levLeftLim){ hero.x = (levLeftLim + (hero.width * 0.5)); } else { if ((hero.x + (hero.width * 0.5)) > levRightLim){ hero.x = (levRightLim - (hero.width * 0.5)); }; }; _local6 = ageMath.Lerp((Controls.mousePosX - x), (hero.x * scaleX), 0.6); _local7 = ageMath.Lerp((Controls.mousePosY - y), ((hero.y - 95) * scaleY), 0.6); if (!_local4){ x = Math.round(ageMath.Lerp(x, -((_local6 - (stage.stageWidth * 0.5))), 0.15)); y = Math.round(ageMath.Lerp(y, -((_local7 - (stage.stageHeight * 0.5))), 0.15)); } else { x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); }; if (this["blackScr"]){ this["blackScr"].x = -(x); this["blackScr"].y = -(y); }; var _local8:Point = this.localToGlobal(new Point(levLeftLim, 0)); var _local9:Point = this.localToGlobal(new Point(levRightLim, 0)); if (_local8.x > 0){ x = (x - _local8.x); } else { if (_local9.x < stage.stageWidth){ x = (x + (stage.stageWidth - _local9.x)); }; }; if (curBlastShake > 0){ x = (x + ageMath.Random(-(curBlastShake), curBlastShake)); y = (y + ageMath.Random(-(curBlastShake), curBlastShake)); curBlastShake = (curBlastShake - curBlastShakeDec); if (curBlastShake < 0){ curBlastShake = 0; }; }; Game(parent).gameGUI.lifeBar.gotoAndStop(Math.round(ageMath.RemapVal(Math.round(hero.life), 1, hero.lifeMax, 1, 100))); Game(parent).gameGUI.lifeBar.width = ageMath.RemapVal(Math.round(hero.lifeMax), 100, 300, 108, 227); Game(parent).gameGUI.txtMoney.text = ("$" + hero.moneyCnt); var _local10:int; _local10 = 0; while (_local10 < 6) { if (hero.itemsInBag[_local10]){ Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(hero.itemsInBag[_local10]); } else { Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(1); }; _local10++; }; if (hero.bioMaxLevel > 0){ Game(parent).gameGUI.hazBio.visible = true; Game(parent).gameGUI.hazBio.gotoAndStop((100 - int(ageMath.RemapVal(hero.bioCurLevel, 0, hero.bioMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazBio.visible = false; }; if (hero.psyMaxLevel > 0){ Game(parent).gameGUI.hazPsy.visible = true; Game(parent).gameGUI.hazPsy.gotoAndStop((100 - int(ageMath.RemapVal(hero.psyCurLevel, 0, hero.psyMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazPsy.visible = false; }; if (hero.electroMaxLevel > 0){ Game(parent).gameGUI.hazElectro.visible = true; Game(parent).gameGUI.hazElectro.gotoAndStop((100 - int(ageMath.RemapVal(hero.electroCurLevel, 0, hero.electroMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazElectro.visible = false; }; Controls.updateKeyNew(); if (Game(parent).groundBG){ Game(parent).groundBG.changeBG(x, y); }; } public function addProp_minigunAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMinigunAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addActor(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=-1):actorObject{ var _local6:actorObject; if (_arg1 == "AlienSaw"){ _local6 = new AlienSaw(); } else { if (_arg1 == "AlienHunter"){ _local6 = new AlienHunter(); } else { if (_arg1 == "AlienElectro"){ _local6 = new AlienElectro(); } else { if (_arg1 == "Zomb01"){ _local6 = new Zomb01(); } else { if (_arg1 == "Zomb02"){ _local6 = new Zomb02(); } else { if (_arg1 == "Zomb03"){ _local6 = new Zomb03(); } else { if (_arg1 == "Zomb04"){ _local6 = new Zomb04(); } else { if (_arg1 == "Zomb05"){ _local6 = new Zomb05(); } else { if (_arg1 == "Zomb01Run"){ _local6 = new Zomb01Run(); } else { if (_arg1 == "Zomb02Run"){ _local6 = new Zomb02Run(); } else { if (_arg1 == "Zomb03Run"){ _local6 = new Zomb03Run(); } else { if (_arg1 == "Zomb04Run"){ _local6 = new Zomb04Run(); } else { if (_arg1 == "Zomb05Run"){ _local6 = new Zomb05Run(); } else { if (_arg1 == "Zomb01Vomit"){ _local6 = new Zomb01Vomit(); } else { if (_arg1 == "Zomb02Vomit"){ _local6 = new Zomb02Vomit(); } else { if (_arg1 == "Zomb03Vomit"){ _local6 = new Zomb03Vomit(); } else { if (_arg1 == "Zomb04Vomit"){ _local6 = new Zomb04Vomit(); } else { if (_arg1 == "Zomb05Vomit"){ _local6 = new Zomb05Vomit(); } else { if (_arg1 == "Spider"){ _local6 = new Spider(); } else { if (_arg1 == "AlienBomber"){ _local6 = new AlienBomber(); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; _local6.x = _arg3; _local6.y = _arg4; _local6.name = _arg2; if (!_local6.noStatEnemy){ mainGlobal.enemiesAll++; }; if (_arg5 < 0){ addChild(_local6); } else { addChildAt(_local6, _arg5); }; return (_local6); } public function levInit(){ var _local1:int; mainGlobal.secretsAll = 1; curLevNum = 6; curLevScore = 3000; levelMus = "musGlory"; musicEnv.fadeTo(levelMus); Game(parent).sky.visible = true; levLeftLim = levelLeftBorder.x; levRightLim = levelRightBorder.x; sVar["triggerTedBigAss"] = false; sVar["DlgTedBigAssTimer"] = 0; sVar["DlgTedBigAssEnd"] = false; sVar["triggerBarneyCall"] = false; sVar["triggerBarney"] = false; sVar["DlgBarneyState"] = 0; sVar["DlgBarneyTimer"] = 0; sVar["DlgBarneyEnd"] = false; sVar["triggerBarney2"] = false; sVar["DlgBarney2State"] = 0; sVar["DlgBarney2Timer"] = 0; sVar["DlgBarney2End"] = false; fuelBarrel1.visible = false; fuelBarrel2.visible = false; } public function addFX_MetalSparks(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxMetalSparks(); _local3.x = _arg1; _local3.y = _arg2; _local3.blendMode = BlendMode.ADD; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_blasterAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlasterAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProp_Blaster(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlaster(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function UpdateEnemies():void{ var _local1:int; _local1 = 0; while (_local1 < enemies.length) { if (((enemies[_local1].dead) || ((enemies[_local1].life <= 0)))){ } else { if (((((!((enemies[_local1].parent as Level))) || (enemies[_local1].alwaysSeeEnemy))) || ((ageMath.Distance(enemies[_local1].x, enemies[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6))))){ enemies[_local1].updateActorEnemy(); }; }; _local1++; }; } public function addProj_Vomit(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projVomit(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.timerFXAdd.delay = 80; _local6.timerFXAdd.start(); _local6.fxFunc = addFX_VomitSplatters; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = true; _local6.gravityComp = true; _local6.infAmmo = true; _local6.useBioDamage = true; _local6.bioDamageVal = 10; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } } }//package main
Section 84
//Level7 (main.Level7) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.ui.*; public dynamic class Level7 extends Level { var levRightLim:Number;// = 999999 var dlgSpeedFactor:Number;// = 4 var lastMSFrame:int;// = 9999 public var enemies:Array; var levLeftLim:Number;// = -999999 public var propObjects:Array; public var minLimX:Number;// = 2147483647 public var maxLimX:Number;// = -2147483648 var curBlastShake:Number;// = 0 var isWin:Boolean;// = false public var dynObjects:Array; var isLose:Boolean;// = false var grav:Number;// = 1 public var limitersCache:Array; var initFirst:Boolean;// = false var curLevNum:int;// = 1 public var FXLayer:MovieClip; public var triggerY:MovieClip; var levelMus:String;// = "" public var pointWave2:MovieClip; public var pointWave3:MovieClip; public var propLayer:MovieClip; public var pointWave1:MovieClip; var sVar:Object; public var limitersOnScr:Array; public var addActorsArr:Array; public var limiters:Array; public var paralaxObjects:Array; public var triggerRightBarrier:MovieClip; var curLevScore:int;// = 3000 public var triggerLeftBarrier:MovieClip; public var fxObjects:Array; var curBlastShakeDec:Number;// = 0.3 public var goodNPC:Array; public var chunkObjects:Array; var curScale:Number;// = 1 public var limitersCacheStep:int;// = 640 public var projObjects:Array; public var hero:MovieClip; public var projLayer:MovieClip; public function Level7(){ sVar = new Object(); limiters = new Array(); limitersCache = new Array(); limitersOnScr = new Array(); dynObjects = new Array(); enemies = new Array(); goodNPC = new Array(); paralaxObjects = new Array(); projObjects = new Array(); chunkObjects = new Array(); fxObjects = new Array(); propObjects = new Array(); addActorsArr = new Array(); super(); addFrameScript(0, frame1); init(); } public function addFX_VomitSplatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxVomitSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function initLimCache(){ var _local1:*; var _local2:int; var _local3:int; var _local4:int; maxLimX = int.MIN_VALUE; minLimX = int.MAX_VALUE; _local1 = 0; while (_local1 < limiters.length) { if (limiters[_local1].x < minLimX){ minLimX = limiters[_local1].x; }; if ((limiters[_local1].x + limiters[_local1].width) > maxLimX){ maxLimX = limiters[_local1].x; }; _local1++; }; limitersCache = []; _local1 = 0; while (_local1 < (((maxLimX - minLimX) / limitersCacheStep) + 1)) { limitersCache.push(new Array()); _local1++; }; _local1 = 0; while (_local1 < limiters.length) { _local3 = int(((limiters[_local1].x - minLimX) / limitersCacheStep)); _local4 = int((((limiters[_local1].x + limiters[_local1].width) - minLimX) / limitersCacheStep)); _local2 = _local3; while (_local2 <= _local4) { if (!limitersCache[_local2]){ limitersCache[_local2] = new Array(); }; limitersCache[_local2].push(limiters[_local1]); _local2++; }; _local1++; }; } public function addLineDamage(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Boolean{ var _local6:Number; var _local8:int; var _local9:ageVector; var _local7:Boolean; _local8 = 0; while (_local8 < enemies.length) { if (enemies[_local8].dead){ } else { _local9 = enemies[_local8].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local9 != null){ addLineDamageToEnemy(_local9, _arg5, enemies[_local8], true); _local7 = true; }; }; _local8++; }; return (_local7); } public function checkHitPlatform(_arg1, _arg2:Array){ var _local3:int; _arg1.bottomLimiter = null; _local3 = 0; while (_local3 < _arg2.length) { if (((_arg2[_local3].slimMode) && ((_arg1.speed.y < 0)))){ } else { if (_arg2[_local3].hitTestObject(_arg1.p2)){ _arg1.jump = false; if (_arg1.isRubber){ _arg1.speed.y = (_arg1.speed.y * -(_arg1.rubberFactor)); _arg1.speed.x = (_arg1.speed.x * _arg1.rubberFactor); if (_arg1.useRotateSpeed){ _arg1.rotateSpeed = 0; }; } else { _arg1.speed.y = 0; }; _arg1.y = ((_arg2[_local3].y - _arg1.p2.y) - _arg1.p2.height); _arg1.bottomLimiter = _arg2[_local3]; } else { if (((_arg2[_local3].hitTestObject(_arg1.p1)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = (_arg2[_local3].x - (_arg1.p1.x + _arg1.p1.width)); } else { _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) + (_arg1.p1.x + _arg1.p1.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p3)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) - _arg1.p3.x); } else { _arg1.x = (_arg2[_local3].x - (-(_arg1.p3.x) + _arg1.p3.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p4)) && (!(_arg2[_local3].slimMode)))){ _arg1.speed.y = 0; _arg1.y = ((_arg2[_local3].y + _arg2[_local3].height) - _arg1.p4.y); }; }; }; }; }; _local3++; }; } public function openUpgradeMenu():void{ mainGlobal.paused = true; this.visible = false; Game(root).cursor.gotoAndStop("arrow"); Game(parent).menuUpgradeShop.showShop(); musicEnv.fadeTo("musUpgrade"); } public function addFX_littleSmoke(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxLittleSmoke(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function init(){ addEventListener(Event.ENTER_FRAME, Update, false, 0, true); } function mouseLeave(_arg1:Event):void{ showGameMenu(); } public function UpdateParalaxObjects():void{ var _local1:int; _local1 = 0; while (_local1 < paralaxObjects.length) { paralaxObjects[_local1].x = (paralaxObjects[_local1].saveX - ageMath.RemapVal((paralaxObjects[_local1].saveX + x), 0, stage.stageWidth, 0, paralaxObjects[_local1].paralaxX)); paralaxObjects[_local1].y = (paralaxObjects[_local1].saveY - ageMath.RemapVal((paralaxObjects[_local1].saveY + y), 0, stage.stageHeight, 0, paralaxObjects[_local1].paralaxY)); _local1++; }; } public function addBlinkFX_OverLight():void{ Game(parent).gameGUI.fxblink.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink.use_force_restart = true; Game(parent).gameGUI.fxblink.startFadeOut(); curBlastShake = 15; } public function cleenUP():void{ cleenUP_FX(); cleenUP_Proj(); cleenUP_Prop(); cleenUP_Actors(); } public function UpdateDynObjects():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; _local1 = 0; while (_local1 < dynObjects.length) { if (dynObjects[_local1].visible == false){ } else { if (ageMath.Distance(dynObjects[_local1].x, dynObjects[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6)){ if (dynObjects[_local1].gravityEnable){ dynObjects[_local1].speed.y = (dynObjects[_local1].speed.y + (grav * dynObjects[_local1].gravityFactor)); }; dynObjects[_local1].speed.y = ((dynObjects[_local1].speed.y)>dynObjects[_local1].maxSpeed.y) ? dynObjects[_local1].maxSpeed.y : dynObjects[_local1].speed.y; dynObjects[_local1].y = (dynObjects[_local1].y + dynObjects[_local1].speed.y); if (dynObjects[_local1].collisionEnable){ _local2 = int((((dynObjects[_local1].x - dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local3 = int((((dynObjects[_local1].x + dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local4 = _local2; while (_local4 <= _local3) { if (((limitersCache[_local4]) && (limitersCache[_local4].length))){ checkHitPlatform(dynObjects[_local1], limitersCache[_local4]); }; _local4++; }; }; }; }; _local1++; }; } public function addLineDamageToEnemy(_arg1:ageVector, _arg2:Number, _arg3:actorObject, _arg4:Boolean){ var _local5:projObject = new projObject(); _local5.damage = _arg2; _local5.x = _arg1.x; _local5.y = _arg1.y; _local5.fromGoodGuy = _arg4; _arg3.transmitDamage(_local5); _local5.clearDynObject(); } public function addFX_BloodOnGround(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodOnGround(); _local3.x = _arg1; _local3.y = _arg2; _local3.gotoAndStop(ageMath.RandomInt(1, 5)); _local3.scaleY = 0.5; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function cleenUP_Proj():void{ var _local1:int; _local1 = 0; while (_local1 < projObjects.length) { if (((projObjects[_local1]) && ((projObjects[_local1].visible == false)))){ projObjects[_local1].clearDynObject(); if (projObjects[_local1]){ if (projObjects[_local1].parent){ projObjects[_local1].parent.removeChild(projObjects[_local1]); }; }; projObjects.splice(_local1, 1); break; }; _local1++; }; } public function cleenUP_Actors():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < enemies.length) { if (((((enemies[_local1]) && ((enemies[_local1].visible == false)))) && (enemies[_local1].dead))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == enemies[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; enemies[_local1].clearActorObject(); if (enemies[_local1]){ if (enemies[_local1].parent){ enemies[_local1].parent.removeChild(enemies[_local1]); }; }; enemies.splice(_local1, 1); break; }; _local1++; }; } public function addBlasterProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new blasterProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addBlinkFX_OverLight2():void{ Game(parent).gameGUI.fxblink2.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink2.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink2.use_force_restart = true; Game(parent).gameGUI.fxblink2.startFadeOut(); } public function testIntersectLimiterOnScr(_arg1:dynObject):Boolean{ var _local2:int; _local2 = 0; while (_local2 < limitersOnScr.length) { if (((!(limitersOnScr[_local2].slimMode)) && (limitersOnScr[_local2].hitTestObject(_arg1)))){ return (true); }; _local2++; }; return (false); } public function cleenUP_Prop():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < propObjects.length) { if (((propObjects[_local1]) && ((propObjects[_local1].visible == false)))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == propObjects[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; if (propObjects[_local1]){ if (propObjects[_local1].parent){ propObjects[_local1].parent.removeChild(propObjects[_local1]); }; }; propObjects.splice(_local1, 1); break; }; _local1++; }; } public function addProp_Shotgun(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propShotgun(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function UpdateLimitersOnScr():void{ var _local1:int; var _local2:int; var _local3:*; var _local4:int; var _local5:Point; var _local6:Rectangle; var _local7:Rectangle; limitersOnScr = []; _local1 = int(((-(x) - minLimX) / limitersCacheStep)); _local2 = int((((-(x) + stage.stageWidth) - minLimX) / limitersCacheStep)); _local4 = _local1; while (_local4 <= _local2) { if (limitersCache[_local4]){ _local3 = 0; while (_local3 < limitersCache[_local4].length) { _local5 = this.localToGlobal(new Point(limitersCache[_local4][_local3].x, limitersCache[_local4][_local3].y)); _local6 = new Rectangle(_local5.x, _local5.y, limitersCache[_local4][_local3].width, limitersCache[_local4][_local3].height); _local7 = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local7.intersects(_local6)){ limitersOnScr.push(limitersCache[_local4][_local3]); }; _local3++; }; }; _local4++; }; } public function addFX_BloodLeak(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodLeak(); _local3.x = _arg1; _local3.y = _arg2; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function levScript(){ var _local1:int; var _local2:int; var _local3:Boolean; var _local4:int; if (hero.x < triggerLeftBarrier.x){ hero.x = triggerLeftBarrier.x; }; if (hero.x > triggerRightBarrier.x){ hero.x = triggerRightBarrier.x; }; _local2 = 0; while (_local2 < propObjects.length) { if (propObjects[_local2].y > triggerY.y){ propObjects[_local2].x = (propObjects[_local2].x - 35); }; _local2++; }; if (!sVar["isWaveEnd"]){ _local3 = true; _local4 = 0; while (_local4 < sVar["WaveCnt"]) { if (((!((getChildByName(("unit" + _local4)) == null))) && (!((getChildByName(("unit" + _local4)).visible == false))))){ _local3 = false; break; }; _local4++; }; if (_local3){ if (sVar["WaveNum"] == 0){ var _local5 = sVar; var _local6 = "WaveNum"; var _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Game(parent).gameGUI.hlpControl.showHelp(8); Game(parent).gameGUI.hlpControl.txt.text = ("Wave " + sVar["WaveNum"]); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); sVar["WaveCnt"] = 6; _local4 = 0; while (_local4 < 3) { addActor("AlienSaw", ("unit" + _local4), (pointWave1.x + ageMath.RandomInt(-200, 200)), (pointWave1.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; _local4++; }; _local4 = 3; while (_local4 < 6) { addActor("AlienSaw", ("unit" + _local4), (pointWave2.x + ageMath.RandomInt(-200, 200)), (pointWave2.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; _local4++; }; } else { if (sVar["WaveNum"] == 1){ _local5 = sVar; _local6 = "WaveNum"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Game(parent).gameGUI.hlpControl.showHelp(8); Game(parent).gameGUI.hlpControl.txt.text = ("Wave " + sVar["WaveNum"]); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); sVar["WaveCnt"] = 6; _local4 = 0; while (_local4 < 3) { addActor("AlienSaw", ("unit" + _local4), (pointWave1.x + ageMath.RandomInt(-200, 200)), (pointWave1.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; _local4++; }; _local4 = 3; while (_local4 < 6) { addActor("AlienSaw", ("unit" + _local4), (pointWave2.x + ageMath.RandomInt(-200, 200)), (pointWave2.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; _local4++; }; } else { if (sVar["WaveNum"] == 2){ _local5 = sVar; _local6 = "WaveNum"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Game(parent).gameGUI.hlpControl.showHelp(8); Game(parent).gameGUI.hlpControl.txt.text = ("Wave " + sVar["WaveNum"]); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); sVar["WaveCnt"] = 6; _local4 = 0; while (_local4 < 2) { addActor("AlienSaw", ("unit" + _local4), (pointWave1.x + ageMath.RandomInt(-200, 200)), (pointWave1.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; _local4++; }; _local4 = 2; while (_local4 < 4) { addActor("AlienSaw", ("unit" + _local4), (pointWave2.x + ageMath.RandomInt(-200, 200)), (pointWave2.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; _local4++; }; addActor("AlienHunter", ("unit" + 5), (pointWave3.x + ageMath.RandomInt(-200, 200)), (pointWave3.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; } else { if (sVar["WaveNum"] == 3){ if (!sVar["DlgBarneyEnd"]){ if (sVar["DlgBarneyTimer"] == 0){ if (sVar["DlgBarneyState"] == 0){ _local1 = Game(parent).gameGUI.dlg.setTo("lev7_TedBarney01"); _local5 = sVar; _local6 = "DlgBarneyState"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; sVar["DlgBarneyTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); addProp_MedKit(ageMath.RandomInt((triggerLeftBarrier.x + 10), (triggerRightBarrier.x - 10)), pointWave3.y); addProp_MedKit(ageMath.RandomInt((triggerLeftBarrier.x + 10), (triggerRightBarrier.x - 10)), pointWave3.y); addProp_minigunAmmo(ageMath.RandomInt((triggerLeftBarrier.x + 10), (triggerRightBarrier.x - 10)), pointWave3.y); addProp_minigunAmmo(ageMath.RandomInt((triggerLeftBarrier.x + 10), (triggerRightBarrier.x - 10)), pointWave3.y); addProp_blasterAmmo(ageMath.RandomInt((triggerLeftBarrier.x + 10), (triggerRightBarrier.x - 10)), pointWave3.y); addProp_blasterAmmo(ageMath.RandomInt((triggerLeftBarrier.x + 10), (triggerRightBarrier.x - 10)), pointWave3.y); addProp_blasterAmmo(ageMath.RandomInt((triggerLeftBarrier.x + 10), (triggerRightBarrier.x - 10)), pointWave3.y); } else { if (sVar["DlgBarneyState"] == 1){ _local1 = Game(parent).gameGUI.dlg.setTo("lev7_TedBarney02"); _local5 = sVar; _local6 = "DlgBarneyState"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; sVar["DlgBarneyTimer"] = int((_local1 * dlgSpeedFactor)); } else { sVar["DlgBarneyEnd"] = true; musicEnv.fadeTo("FatalDamage"); Game(parent).gameGUI.dlg.startFadeOut(); _local5 = sVar; _local6 = "WaveNum"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Game(parent).gameGUI.hlpControl.showHelp(8); Game(parent).gameGUI.hlpControl.txt.text = ("Wave " + sVar["WaveNum"]); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); sVar["WaveCnt"] = 3; addActor("AlienHunter", ("unit" + 0), (pointWave1.x + ageMath.RandomInt(-200, 200)), (pointWave1.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; addActor("AlienHunter", ("unit" + 1), (pointWave2.x + ageMath.RandomInt(-200, 200)), (pointWave2.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; addActor("AlienElectro", ("unit" + 2), (pointWave3.x + ageMath.RandomInt(-200, 200)), (pointWave3.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; }; }; } else { _local5 = sVar; _local6 = "DlgBarneyTimer"; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; if (Controls.keyNew[69]){ sVar["DlgBarneyTimer"] = 0; }; }; }; } else { if (sVar["WaveNum"] == 4){ _local5 = sVar; _local6 = "WaveNum"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Game(parent).gameGUI.hlpControl.showHelp(8); Game(parent).gameGUI.hlpControl.txt.text = ("Wave " + sVar["WaveNum"]); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); sVar["WaveCnt"] = 6; _local4 = 0; while (_local4 < 2) { addActor("AlienSaw", ("unit" + _local4), (pointWave1.x + ageMath.RandomInt(-200, 200)), (pointWave1.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; _local4++; }; _local4 = 2; while (_local4 < 4) { addActor("AlienSaw", ("unit" + _local4), (pointWave2.x + ageMath.RandomInt(-200, 200)), (pointWave2.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; _local4++; }; addActor("AlienElectro", ("unit" + 5), (pointWave3.x + ageMath.RandomInt(-200, 200)), (pointWave3.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; } else { if (sVar["WaveNum"] == 5){ if (!sVar["DlgBarney2End"]){ if (sVar["DlgBarney2Timer"] == 0){ if (sVar["DlgBarney2State"] == 0){ _local1 = Game(parent).gameGUI.dlg.setTo("lev7_TedBarney03"); _local5 = sVar; _local6 = "DlgBarney2State"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; sVar["DlgBarney2Timer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); addProp_MedKit(ageMath.RandomInt((triggerLeftBarrier.x + 10), (triggerRightBarrier.x - 10)), pointWave3.y); addProp_MedKit(ageMath.RandomInt((triggerLeftBarrier.x + 10), (triggerRightBarrier.x - 10)), pointWave3.y); addProp_minigunAmmo(ageMath.RandomInt((triggerLeftBarrier.x + 10), (triggerRightBarrier.x - 10)), pointWave3.y); addProp_minigunAmmo(ageMath.RandomInt((triggerLeftBarrier.x + 10), (triggerRightBarrier.x - 10)), pointWave3.y); addProp_blasterAmmo(ageMath.RandomInt((triggerLeftBarrier.x + 10), (triggerRightBarrier.x - 10)), pointWave3.y); addProp_blasterAmmo(ageMath.RandomInt((triggerLeftBarrier.x + 10), (triggerRightBarrier.x - 10)), pointWave3.y); } else { sVar["DlgBarney2End"] = true; musicEnv.fadeTo("roboAttack"); Game(parent).gameGUI.dlg.startFadeOut(); _local5 = sVar; _local6 = "WaveNum"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Game(parent).gameGUI.hlpControl.showHelp(8); Game(parent).gameGUI.hlpControl.txt.text = ("Wave " + sVar["WaveNum"]); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); sVar["WaveCnt"] = 1; addActor("AlienBomber", ("unit" + 0), (pointWave3.x + ageMath.RandomInt(-200, 200)), (pointWave3.y - ageMath.RandomInt(200, 200))).alwaysSeeEnemy = true; }; } else { _local5 = sVar; _local6 = "DlgBarney2Timer"; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; if (Controls.keyNew[69]){ sVar["DlgBarney2Timer"] = 0; }; }; }; } else { if (sVar["WaveNum"] == 6){ if (!sVar["DlgBarney3End"]){ if (sVar["DlgBarney3Timer"] == 0){ if (sVar["DlgBarney3State"] == 0){ _local1 = Game(parent).gameGUI.dlg.setTo("lev7_TedBarney04"); _local5 = sVar; _local6 = "DlgBarney3State"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; sVar["DlgBarney3Timer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgBarney3State"] == 1){ _local1 = Game(parent).gameGUI.dlg.setTo("lev7_TedBarney05"); _local5 = sVar; _local6 = "DlgBarney3State"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; sVar["DlgBarney3Timer"] = int((_local1 * dlgSpeedFactor)); } else { sVar["DlgBarney3End"] = true; Game(parent).gameGUI.dlg.startFadeOut(); _local5 = sVar; _local6 = "WaveNum"; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; }; }; } else { _local5 = sVar; _local6 = "DlgBarney3Timer"; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; if (Controls.keyNew[69]){ sVar["DlgBarney3Timer"] = 0; }; }; }; }; }; }; }; }; }; }; if (sVar["WaveNum"] == 7){ if (!Game(parent).gameGUI.dlg.visible){ sVar["isWaveEnd"] = true; isWin = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToWin(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musWin"); return; }; }; }; }; } public function UpdateProjObjects():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < projObjects.length) { if (projObjects[_local1].visible == false){ } else { if (projObjects[_local1].gravityEnable){ projObjects[_local1].Velocity.y = (projObjects[_local1].Velocity.y + (grav * projObjects[_local1].gravityFactor)); projObjects[_local1].Velocity.y = ((projObjects[_local1].Velocity.y)>projObjects[_local1].maxSpeed.y) ? projObjects[_local1].maxSpeed.y : projObjects[_local1].Velocity.y; }; projObjects[_local1].updateDynObj(); if (!projObjects[_local1].fromGoodGuy){ if (((!(hero.dead)) && (hero.hitTestProj(projObjects[_local1])))){ if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { hero.transmitDamage(projObjects[_local1]); Game(parent).gameGUI.painFrame.startFadeOut(); }; }; } else { _local2 = 0; while (_local2 < enemies.length) { if (((!(enemies[_local2].dead)) && (enemies[_local2].hitTestProj(projObjects[_local1])))){ mainGlobal.shootingInEnemies++; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { enemies[_local2].transmitDamage(projObjects[_local1]); }; }; _local2++; }; }; if (ageMath.Distance(projObjects[_local1].x, projObjects[_local1].y, hero.x, hero.y) > 670){ projObjects[_local1].visible = false; }; if (testIntersectLimiterOnScr(projObjects[_local1])){ projObjects[_local1].visible = false; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; }; }; }; _local1++; }; } function frame1(){ initFirst = true; } public function addFX_Splatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxBloodSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function cleenUP_FX():void{ var _local1:int; _local1 = 0; while (_local1 < fxObjects.length) { if (((fxObjects[_local1]) && ((fxObjects[_local1].visible == false)))){ if (fxObjects[_local1]){ if (fxObjects[_local1].parent){ fxObjects[_local1].parent.removeChild(fxObjects[_local1]); }; }; fxObjects.splice(_local1, 1); break; }; _local1++; }; } public function term(){ var _local1:int; removeEventListener(Event.ENTER_FRAME, Update); _local1 = 0; while (_local1 < enemies.length) { enemies[_local1].clearActorObject(); _local1++; }; _local1 = 0; while (_local1 < dynObjects.length) { dynObjects[_local1].clearDynObject(); _local1++; }; dynObjects = []; enemies = []; goodNPC = []; projObjects = []; paralaxObjects = []; chunkObjects = []; fxObjects = []; propObjects = []; addActorsArr = []; limitersCache = []; limitersOnScr = []; limiters = []; } public function testRayToLimiterOnScr(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean=false, _arg6:Object=null):ageVector{ var _local10:int; var _local11:ageVector; var _local12:Number; var _local13:ageVector; var _local14:Number; var _local7:ageVector; var _local8:ageVector = new ageVector(_arg1, _arg3); var _local9:Number = Number.MAX_VALUE; _local10 = 0; while (_local10 < limitersOnScr.length) { if (!limitersOnScr[_local10].slimMode){ _local11 = ageMath.getLineCrossRect(_arg1, _arg2, _arg3, _arg4, limitersOnScr[_local10].x, limitersOnScr[_local10].y, (limitersOnScr[_local10].x + limitersOnScr[_local10].width), (limitersOnScr[_local10].y + limitersOnScr[_local10].height)); if (_local11 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local11); _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local12 = ageMath.DistanceVec(_local8, _local11); if (_local12 < _local9){ _local9 = _local12; _local7.copy(_local11); }; }; }; }; _local10++; }; if (!_arg5){ return (_local7); }; _arg6.id = -1; _local10 = 0; while (_local10 < enemies.length) { if (enemies[_local10].dead){ } else { _local13 = enemies[_local10].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local13 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local13); _arg6.id = _local10; _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local14 = ageMath.DistanceVec(_local8, _local13); if (_local14 < _local9){ _local9 = _local14; _arg6.id = _local10; _local7.copy(_local13); }; }; }; }; _local10++; }; return (_local7); } public function addProp_Coin(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propCoin(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addProp_Dynamite(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propDynamite(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProp_MedKit(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new dropMedKit(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_Headshot(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxHeadshot(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function UpdatePropObjects():void{ var _local1:int; _local1 = 0; while (_local1 < propObjects.length) { if (propObjects[_local1].visible == false){ } else { if (ageMath.Distance(propObjects[_local1].x, propObjects[_local1].y, hero.x, hero.y) >= (stage.stageWidth * 1.6)){ } else { propObjects[_local1].x = (propObjects[_local1].x + propObjects[_local1].speed.x); if (propObjects[_local1].useRotateSpeed){ propObjects[_local1].body.rotation = (propObjects[_local1].body.rotation + propObjects[_local1].rotateSpeed); }; if ((((((((((((propObjects[_local1].propType == "Med")) || ((propObjects[_local1].propType == "Coin")))) || ((propObjects[_local1].propType == "Money")))) || ((propObjects[_local1].propType == "Weapon")))) || ((propObjects[_local1].propType == "Item")))) || ((propObjects[_local1].propType == "Ammo")))){ if (hero.hitTestObject(propObjects[_local1])){ if (propObjects[_local1].propType == "Ammo"){ if (hero.weapons[propObjects[_local1].wepNum].active){ if (hero.weapons[propObjects[_local1].wepNum].bulletsNum < hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].bulletsNum = (hero.weapons[propObjects[_local1].wepNum].bulletsNum + (hero.weapons[propObjects[_local1].wepNum].bulletsInCatrigeMax * propObjects[_local1].moneyAmount)); if (hero.weapons[propObjects[_local1].wepNum].bulletsNum > hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ hero.weapons[propObjects[_local1].wepNum].bulletsNum = hero.weapons[propObjects[_local1].wepNum].bulletsNumMax; }; sounds.PlaySnd((hero.weapons[propObjects[_local1].wepNum].type + "Reloaded")); }; }; } else { if (propObjects[_local1].propType == "Med"){ if (hero.life < hero.lifeMax){ propObjects[_local1].visible = false; hero.life = (hero.life + propObjects[_local1].moneyAmount); if (hero.life > hero.lifeMax){ hero.life = hero.lifeMax; }; sounds.PlaySnd("Med"); }; } else { if (propObjects[_local1].propType == "Item"){ propObjects[_local1].visible = false; hero.itemsInBag.push(propObjects[_local1].itemName); sounds.PlaySnd("itemTake"); } else { if (propObjects[_local1].propType == "Weapon"){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].active = true; hero.curWeaponNum = (propObjects[_local1].wepNum + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); } else { propObjects[_local1].visible = false; sounds.PlaySnd((propObjects[_local1].propType + "1")); hero.moneyCnt = (hero.moneyCnt + propObjects[_local1].moneyAmount); mainGlobal.moneyCollected = (mainGlobal.moneyCollected + propObjects[_local1].moneyAmount); }; }; }; }; }; }; }; }; _local1++; }; } public function addProp_Money1(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney1(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addProp_Money2(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney2(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } function showGameMenu():void{ mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); Game(root).menuInGame.visible = true; Game(root).gameGUI.startFadeOut(); Game(root).menuInGame.startFadeIn(); } public function addProj_Psy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new psyProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; _local6.gravityComp = false; _local6.infAmmo = true; _local6.usePsyDamage = true; _local6.psyDamageVal = 16; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_MinigunBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projMinigunBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:Object = {id:-1}; var _local12:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4, true, _local11); if (_local12 != null){ _arg3 = _local12.x; _arg4 = _local12.y; if (_local11.id != -1){ mainGlobal.shootingInEnemies++; addLineDamageToEnemy(_local12, _arg5.damage, enemies[_local11.id], true); }; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; var _local13:Array = new Array(); _local13.push(new GlowFilter(0xFFFF00, 1, 15, 15, 4, BitmapFilterQuality.MEDIUM)); _local6.filters = _local13; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addProj_LaserBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projLaserBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4); if (_local11 != null){ _arg3 = _local11.x; _arg4 = _local11.y; }; if (addLineDamage(_arg1, _arg2, _arg3, _arg4, _arg5.damage)){ mainGlobal.shootingInEnemies++; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; _local6.use_force_restart = true; _local6.fadeSpeed = 0.1; _local6.startFadeOut(); _local6.gravityEnable = false; var _local12:Array = new Array(); _local12.push(new GlowFilter(0xFF0000, 1, 15, 15, 1.7, BitmapFilterQuality.MEDIUM)); _local6.filters = _local12; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addFX_littleBlast(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; addBlinkFX_OverLight(); _local4 = new fxBlast(); _local4.x = _arg1; _local4.y = _arg2; _local4.blendMode = BlendMode.SCREEN; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBullet(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, 24); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_Debris(_arg1:Number, _arg2:Number, _arg3:Number=1, _arg4:String=""):propObject{ var _local5:propObject; _local5 = new propDebris(); _local5.x = _arg1; _local5.y = _arg2; _local5.speed.y = (ageMath.Random(-6, -18) * _arg3); _local5.speed.x = (ageMath.Random(-10, 10) * _arg3); if (_arg4.length){ _local5.gotoAndStop(_arg4); } else { _local5.gotoAndStop(ageMath.RandomInt(1, 20)); }; _local5.curLevel = this; dynObjects.push(_local5); propObjects.push(_local5); _local5.isRubber = true; _local5.stayTime = (3000 + ageMath.RandomInt(1, 2000)); _local5.timerStayDelay.start(); _local5.useRotateSpeed = true; _local5.rotateSpeed = ageMath.RandomInt(-15, 15); propLayer.addChild(_local5); return (_local5); } public function addProj_Rocket(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projRocket(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_BombWep(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBombWep(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function ifMCOnScreen(_arg1:MovieClip):Boolean{ var _local2:Point = this.localToGlobal(new Point(_arg1.x, _arg1.y)); var _local3:Rectangle = _arg1.getBounds(root); var _local4:Rectangle = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local4.intersects(_local3)){ return (true); }; return (false); } public function addLimiter(_arg1){ limiters.push(_arg1); } public function alignObjXToAnother(_arg1, _arg2):void{ if ((_arg1.x - (_arg1.width * 0.5)) < _arg2.x){ _arg1.x = (_arg1.x + (_arg2.x - (_arg1.x - (_arg1.width * 0.5)))); }; if ((_arg1.x + (_arg1.width * 0.5)) > (_arg2.x + _arg2.width)){ _arg1.x = (_arg1.x - ((_arg1.x + (_arg1.width * 0.5)) - (_arg2.x + _arg2.width))); }; } public function levInit(){ mainGlobal.secretsAll = 0; curLevNum = 7; curLevScore = 3000; levelMus = "musTrasher"; musicEnv.fadeTo(levelMus); Game(parent).sky.visible = true; sVar["isWaveEnd"] = false; sVar["WaveNum"] = 0; sVar["WaveCnt"] = 0; sVar["DlgBarneyState"] = 0; sVar["DlgBarneyTimer"] = 0; sVar["DlgBarneyEnd"] = false; sVar["DlgBarney2State"] = 0; sVar["DlgBarney2Timer"] = 0; sVar["DlgBarney2End"] = false; sVar["DlgBarney3State"] = 0; sVar["DlgBarney3Timer"] = 0; sVar["DlgBarney3End"] = false; } public function addActor(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=-1):actorObject{ var _local6:actorObject; if (_arg1 == "AlienSaw"){ _local6 = new AlienSaw(); } else { if (_arg1 == "AlienHunter"){ _local6 = new AlienHunter(); } else { if (_arg1 == "AlienElectro"){ _local6 = new AlienElectro(); } else { if (_arg1 == "Zomb01"){ _local6 = new Zomb01(); } else { if (_arg1 == "Zomb02"){ _local6 = new Zomb02(); } else { if (_arg1 == "Zomb03"){ _local6 = new Zomb03(); } else { if (_arg1 == "Zomb04"){ _local6 = new Zomb04(); } else { if (_arg1 == "Zomb05"){ _local6 = new Zomb05(); } else { if (_arg1 == "Zomb01Run"){ _local6 = new Zomb01Run(); } else { if (_arg1 == "Zomb02Run"){ _local6 = new Zomb02Run(); } else { if (_arg1 == "Zomb03Run"){ _local6 = new Zomb03Run(); } else { if (_arg1 == "Zomb04Run"){ _local6 = new Zomb04Run(); } else { if (_arg1 == "Zomb05Run"){ _local6 = new Zomb05Run(); } else { if (_arg1 == "Zomb01Vomit"){ _local6 = new Zomb01Vomit(); } else { if (_arg1 == "Zomb02Vomit"){ _local6 = new Zomb02Vomit(); } else { if (_arg1 == "Zomb03Vomit"){ _local6 = new Zomb03Vomit(); } else { if (_arg1 == "Zomb04Vomit"){ _local6 = new Zomb04Vomit(); } else { if (_arg1 == "Zomb05Vomit"){ _local6 = new Zomb05Vomit(); } else { if (_arg1 == "Spider"){ _local6 = new Spider(); } else { if (_arg1 == "AlienBomber"){ _local6 = new AlienBomber(); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; _local6.x = _arg3; _local6.y = _arg4; _local6.name = _arg2; if (!_local6.noStatEnemy){ mainGlobal.enemiesAll++; }; if (_arg5 < 0){ addChild(_local6); } else { addChildAt(_local6, _arg5); }; return (_local6); } public function addExplotion(_arg1:projObject, _arg2:actorObject=null):void{ var _local3:Number; var _local5:int; _local3 = ageMath.Distance(_arg1.x, _arg1.y, hero.x, hero.y); var _local4:projObject = new projObject(); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = hero.x; _local4.y = (hero.y - (hero.height / 2)); _local4.fromGoodGuy = false; hero.transmitDamage(_local4); Game(parent).gameGUI.painFrame.startFadeOut(); _local4.clearDynObject(); }; _local5 = 0; while (_local5 < enemies.length) { if (((((enemies[_local5].dead) && (!((_arg2 == null))))) && (!((_arg2 == enemies[_local5]))))){ } else { _local3 = ageMath.Distance(_arg1.x, _arg1.y, enemies[_local5].x, enemies[_local5].y); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = enemies[_local5].x; _local4.y = (enemies[_local5].y - (enemies[_local5].height / 2)); _local4.fromGoodGuy = true; enemies[_local5].transmitDamage(_local4); _local4.clearDynObject(); }; }; _local5++; }; } public function addProp_minigunAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMinigunAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_BlastWave(_arg1:Number, _arg2:Number, _arg3:Number=1){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxBlastWave(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function Update(_arg1:Event):void{ var _local5:int; var _local6:*; var _local7:*; var _local11:int; var _local12:addActorStruct; var _local13:int; var _local14:Number; var _local15:Array; var _local16:ColorMatrix; if (isWin){ hero.body.stop(); return; }; if (((((mainGlobal.paused) || (!(visible)))) || (!((parent as Game))))){ return; }; if ((((hero.life <= 0)) && (!(isLose)))){ isLose = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToLose(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musLose"); sounds.PlaySnd(("TedDie" + ageMath.RandomInt(1, 2).toString()), 0.8); return; }; if (initFirst){ if (((!(mainGlobal.configMusicOn)) && (!(mainGlobal.configSoundOn)))){ Game(parent).gamButSnd.gotoAndStop(2); } else { Game(parent).gamButSnd.gotoAndStop(1); }; initFirst = false; initLimCache(); Game(parent).fadeBG.fadeSpeed = 0.03; Game(parent).fadeBG.use_force_restart = true; Game(parent).fadeBG.startFadeOut(); Game(parent).gameGUI.hlpControl.visible = false; Game(parent).gameGUI.dlg.visible = false; Game(parent).gameGUI.dlgIco.x = -500; _local6 = (hero.x * this.scaleX); _local7 = ((hero.y - 95) * this.scaleY); x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); mainGlobal.initStat(); _local11 = 0; _local11 = 0; while (_local11 < enemies.length) { if (!enemies[_local11].noStatEnemy){ mainGlobal.enemiesAll++; }; _local11++; }; Game(parent).sky.visible = true; levInit(); if (mainGlobal.isSingleEp){ if (curLevNum == 1){ _local5 = 0; while (_local5 < 1) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 0; } else { if (curLevNum == 2){ _local5 = 0; while (_local5 < 2) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 200; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 3){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 4){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1300; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 5){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 6){ _local5 = 0; while (_local5 < 4) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 2000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 7){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 8){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; } else { if (curLevNum == 9){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; } else { if (curLevNum == 10){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; }; }; }; }; }; }; }; }; }; }; }; Game(parent).gameGUI.dlgIco.gotoAndStop(1); }; var _local2:int = getTimer(); cleenUP(); UpdateLimitersOnScr(); UpdateParalaxObjects(); UpdateDynObjects(); UpdatePropObjects(); UpdateEnemies(); UpdateProjObjects(); hero.updateActor(); hero.applyDamages(); hero.testIsActorDead(); if (addActorsArr.length){ while (addActorsArr.length) { _local12 = addActorsArr.pop(); addActor(_local12.strClass, "", _local12.posx, _local12.posy, _local12.orderZ); }; }; var _local3:int; _local3 = 0; while (_local3 < chunkObjects.length) { if (ifMCOnScreen(chunkObjects[_local3])){ chunkObjects[_local3].visible = true; } else { chunkObjects[_local3].visible = false; }; _local3++; }; levScript(); var _local4:Boolean; if (Controls.key[Keyboard.F2]){ hero.life = 1; }; if (Controls.key[Keyboard.ESCAPE]){ showGameMenu(); }; if (!hero.timerReloadDelay.running){ _local13 = 0; while (_local13 < 8) { if (((((Controls.key[(49 + _local13)]) && (!((hero.curWeaponNum == (_local13 + 1)))))) && (hero.weapons[_local13].active))){ hero.curWeaponNum = (_local13 + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); }; _local13++; }; }; if (Game(root).cursor.currentLabel == "cross"){ _local14 = ageMath.Distance(hero.x, hero.y, (Controls.mousePosX - x), (Controls.mousePosY - y)); Game(root).cursor.shootAcc.scaleX = (Game(root).cursor.shootAcc.scaleY = ((hero.wepAcc * _local14) / hero.weapons[(hero.curWeaponNum - 1)].accDistScale)); }; _local5 = 0; _local5 = 0; while (_local5 < 8) { if (((hero.weapons[_local5]) && (hero.weapons[_local5].active))){ if ((((hero.weapons[_local5].bulletsInCatrige == 0)) && ((hero.weapons[_local5].bulletsNum == 0)))){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 2){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 2; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(-124); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (hero.curWeaponNum != (_local5 + 1)){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 1){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 1; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 3){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 3; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(87); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 4){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 4; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 0.5; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; _local5++; }; Game(parent).gameGUI.wepInfo.catTxt.text = ((hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrige + "/") + hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrigeMax); if (!hero.weapons[(hero.curWeaponNum - 1)].infAmmo){ Game(parent).gameGUI.wepInfo.allTxt.text = hero.weapons[(hero.curWeaponNum - 1)].bulletsNum; } else { Game(parent).gameGUI.wepInfo.allTxt.text = "INF"; }; Game(parent).gameGUI.wepInfo.pic.gotoAndStop((hero.curWeaponNum + 4)); if ((hero.x - (hero.width * 0.5)) < levLeftLim){ hero.x = (levLeftLim + (hero.width * 0.5)); } else { if ((hero.x + (hero.width * 0.5)) > levRightLim){ hero.x = (levRightLim - (hero.width * 0.5)); }; }; _local6 = ageMath.Lerp((Controls.mousePosX - x), (hero.x * scaleX), 0.6); _local7 = ageMath.Lerp((Controls.mousePosY - y), ((hero.y - 95) * scaleY), 0.6); if (!_local4){ x = Math.round(ageMath.Lerp(x, -((_local6 - (stage.stageWidth * 0.5))), 0.15)); y = Math.round(ageMath.Lerp(y, -((_local7 - (stage.stageHeight * 0.5))), 0.15)); } else { x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); }; if (this["blackScr"]){ this["blackScr"].x = -(x); this["blackScr"].y = -(y); }; var _local8:Point = this.localToGlobal(new Point(levLeftLim, 0)); var _local9:Point = this.localToGlobal(new Point(levRightLim, 0)); if (_local8.x > 0){ x = (x - _local8.x); } else { if (_local9.x < stage.stageWidth){ x = (x + (stage.stageWidth - _local9.x)); }; }; if (curBlastShake > 0){ x = (x + ageMath.Random(-(curBlastShake), curBlastShake)); y = (y + ageMath.Random(-(curBlastShake), curBlastShake)); curBlastShake = (curBlastShake - curBlastShakeDec); if (curBlastShake < 0){ curBlastShake = 0; }; }; Game(parent).gameGUI.lifeBar.gotoAndStop(Math.round(ageMath.RemapVal(Math.round(hero.life), 1, hero.lifeMax, 1, 100))); Game(parent).gameGUI.lifeBar.width = ageMath.RemapVal(Math.round(hero.lifeMax), 100, 300, 108, 227); Game(parent).gameGUI.txtMoney.text = ("$" + hero.moneyCnt); var _local10:int; _local10 = 0; while (_local10 < 6) { if (hero.itemsInBag[_local10]){ Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(hero.itemsInBag[_local10]); } else { Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(1); }; _local10++; }; if (hero.bioMaxLevel > 0){ Game(parent).gameGUI.hazBio.visible = true; Game(parent).gameGUI.hazBio.gotoAndStop((100 - int(ageMath.RemapVal(hero.bioCurLevel, 0, hero.bioMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazBio.visible = false; }; if (hero.psyMaxLevel > 0){ Game(parent).gameGUI.hazPsy.visible = true; Game(parent).gameGUI.hazPsy.gotoAndStop((100 - int(ageMath.RemapVal(hero.psyCurLevel, 0, hero.psyMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazPsy.visible = false; }; if (hero.electroMaxLevel > 0){ Game(parent).gameGUI.hazElectro.visible = true; Game(parent).gameGUI.hazElectro.gotoAndStop((100 - int(ageMath.RemapVal(hero.electroCurLevel, 0, hero.electroMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazElectro.visible = false; }; Controls.updateKeyNew(); if (Game(parent).groundBG){ Game(parent).groundBG.changeBG(x, y); }; } public function addFX_MetalSparks(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxMetalSparks(); _local3.x = _arg1; _local3.y = _arg2; _local3.blendMode = BlendMode.ADD; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_blasterAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlasterAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProp_Blaster(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlaster(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function UpdateEnemies():void{ var _local1:int; _local1 = 0; while (_local1 < enemies.length) { if (((enemies[_local1].dead) || ((enemies[_local1].life <= 0)))){ } else { if (((((!((enemies[_local1].parent as Level))) || (enemies[_local1].alwaysSeeEnemy))) || ((ageMath.Distance(enemies[_local1].x, enemies[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6))))){ enemies[_local1].updateActorEnemy(); }; }; _local1++; }; } public function addProj_Vomit(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projVomit(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.timerFXAdd.delay = 80; _local6.timerFXAdd.start(); _local6.fxFunc = addFX_VomitSplatters; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = true; _local6.gravityComp = true; _local6.infAmmo = true; _local6.useBioDamage = true; _local6.bioDamageVal = 10; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } } }//package main
Section 85
//Level8 (main.Level8) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.ui.*; public dynamic class Level8 extends Level { var levRightLim:Number;// = 999999 var dlgSpeedFactor:Number;// = 4 var lastMSFrame:int;// = 9999 public var enemies:Array; var levLeftLim:Number;// = -999999 public var unit1:MovieClip; public var unit2:MovieClip; public var unit3:MovieClip; public var propObjects:Array; public var minLimX:Number;// = 2147483647 public var levelRightBorder:MovieClip; public var triggerBoss:MovieClip; public var maxLimX:Number;// = -2147483648 var curBlastShake:Number;// = 0 var isWin:Boolean;// = false public var dynObjects:Array; var isLose:Boolean;// = false var grav:Number;// = 1 public var triggerUpgrade1:MovieClip; public var triggerUpgrade2:MovieClip; public var limitersCache:Array; public var boss:MovieClip; var initFirst:Boolean;// = false public var levelRightSeed:MovieClip; var curLevNum:int;// = 1 public var FXLayer:MovieClip; var levelMus:String;// = "" public var triggerSecret1:MovieClip; public var triggerSecret2:MovieClip; public var propLayer:MovieClip; var sVar:Object; public var levelLeftBorder:MovieClip; public var limitersOnScr:Array; public var levelLeftSeed:MovieClip; public var addActorsArr:Array; public var limiters:Array; public var paralaxObjects:Array; var curLevScore:int;// = 3000 public var fxObjects:Array; var curBlastShakeDec:Number;// = 0.3 public var goodNPC:Array; public var chunkObjects:Array; var curScale:Number;// = 1 public var limitersCacheStep:int;// = 640 public var projLayer:MovieClip; public var projObjects:Array; public var hero:MovieClip; public function Level8(){ sVar = new Object(); limiters = new Array(); limitersCache = new Array(); limitersOnScr = new Array(); dynObjects = new Array(); enemies = new Array(); goodNPC = new Array(); paralaxObjects = new Array(); projObjects = new Array(); chunkObjects = new Array(); fxObjects = new Array(); propObjects = new Array(); addActorsArr = new Array(); super(); addFrameScript(0, frame1); init(); } public function addFX_VomitSplatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxVomitSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function initLimCache(){ var _local1:*; var _local2:int; var _local3:int; var _local4:int; maxLimX = int.MIN_VALUE; minLimX = int.MAX_VALUE; _local1 = 0; while (_local1 < limiters.length) { if (limiters[_local1].x < minLimX){ minLimX = limiters[_local1].x; }; if ((limiters[_local1].x + limiters[_local1].width) > maxLimX){ maxLimX = limiters[_local1].x; }; _local1++; }; limitersCache = []; _local1 = 0; while (_local1 < (((maxLimX - minLimX) / limitersCacheStep) + 1)) { limitersCache.push(new Array()); _local1++; }; _local1 = 0; while (_local1 < limiters.length) { _local3 = int(((limiters[_local1].x - minLimX) / limitersCacheStep)); _local4 = int((((limiters[_local1].x + limiters[_local1].width) - minLimX) / limitersCacheStep)); _local2 = _local3; while (_local2 <= _local4) { if (!limitersCache[_local2]){ limitersCache[_local2] = new Array(); }; limitersCache[_local2].push(limiters[_local1]); _local2++; }; _local1++; }; } public function addLineDamage(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Boolean{ var _local6:Number; var _local8:int; var _local9:ageVector; var _local7:Boolean; _local8 = 0; while (_local8 < enemies.length) { if (enemies[_local8].dead){ } else { _local9 = enemies[_local8].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local9 != null){ addLineDamageToEnemy(_local9, _arg5, enemies[_local8], true); _local7 = true; }; }; _local8++; }; return (_local7); } public function checkHitPlatform(_arg1, _arg2:Array){ var _local3:int; _arg1.bottomLimiter = null; _local3 = 0; while (_local3 < _arg2.length) { if (((_arg2[_local3].slimMode) && ((_arg1.speed.y < 0)))){ } else { if (_arg2[_local3].hitTestObject(_arg1.p2)){ _arg1.jump = false; if (_arg1.isRubber){ _arg1.speed.y = (_arg1.speed.y * -(_arg1.rubberFactor)); _arg1.speed.x = (_arg1.speed.x * _arg1.rubberFactor); if (_arg1.useRotateSpeed){ _arg1.rotateSpeed = 0; }; } else { _arg1.speed.y = 0; }; _arg1.y = ((_arg2[_local3].y - _arg1.p2.y) - _arg1.p2.height); _arg1.bottomLimiter = _arg2[_local3]; } else { if (((_arg2[_local3].hitTestObject(_arg1.p1)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = (_arg2[_local3].x - (_arg1.p1.x + _arg1.p1.width)); } else { _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) + (_arg1.p1.x + _arg1.p1.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p3)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) - _arg1.p3.x); } else { _arg1.x = (_arg2[_local3].x - (-(_arg1.p3.x) + _arg1.p3.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p4)) && (!(_arg2[_local3].slimMode)))){ _arg1.speed.y = 0; _arg1.y = ((_arg2[_local3].y + _arg2[_local3].height) - _arg1.p4.y); }; }; }; }; }; _local3++; }; } public function openUpgradeMenu():void{ mainGlobal.paused = true; this.visible = false; Game(root).cursor.gotoAndStop("arrow"); Game(parent).menuUpgradeShop.showShop(); musicEnv.fadeTo("musUpgrade"); } public function addFX_littleSmoke(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxLittleSmoke(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function init(){ addEventListener(Event.ENTER_FRAME, Update, false, 0, true); } public function UpdateParalaxObjects():void{ var _local1:int; _local1 = 0; while (_local1 < paralaxObjects.length) { paralaxObjects[_local1].x = (paralaxObjects[_local1].saveX - ageMath.RemapVal((paralaxObjects[_local1].saveX + x), 0, stage.stageWidth, 0, paralaxObjects[_local1].paralaxX)); paralaxObjects[_local1].y = (paralaxObjects[_local1].saveY - ageMath.RemapVal((paralaxObjects[_local1].saveY + y), 0, stage.stageHeight, 0, paralaxObjects[_local1].paralaxY)); _local1++; }; } public function addBlinkFX_OverLight():void{ Game(parent).gameGUI.fxblink.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink.use_force_restart = true; Game(parent).gameGUI.fxblink.startFadeOut(); curBlastShake = 15; } public function cleenUP():void{ cleenUP_FX(); cleenUP_Proj(); cleenUP_Prop(); cleenUP_Actors(); } function mouseLeave(_arg1:Event):void{ showGameMenu(); } public function UpdateDynObjects():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; _local1 = 0; while (_local1 < dynObjects.length) { if (dynObjects[_local1].visible == false){ } else { if (ageMath.Distance(dynObjects[_local1].x, dynObjects[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6)){ if (dynObjects[_local1].gravityEnable){ dynObjects[_local1].speed.y = (dynObjects[_local1].speed.y + (grav * dynObjects[_local1].gravityFactor)); }; dynObjects[_local1].speed.y = ((dynObjects[_local1].speed.y)>dynObjects[_local1].maxSpeed.y) ? dynObjects[_local1].maxSpeed.y : dynObjects[_local1].speed.y; dynObjects[_local1].y = (dynObjects[_local1].y + dynObjects[_local1].speed.y); if (dynObjects[_local1].collisionEnable){ _local2 = int((((dynObjects[_local1].x - dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local3 = int((((dynObjects[_local1].x + dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local4 = _local2; while (_local4 <= _local3) { if (((limitersCache[_local4]) && (limitersCache[_local4].length))){ checkHitPlatform(dynObjects[_local1], limitersCache[_local4]); }; _local4++; }; }; }; }; _local1++; }; } public function addLineDamageToEnemy(_arg1:ageVector, _arg2:Number, _arg3:actorObject, _arg4:Boolean){ var _local5:projObject = new projObject(); _local5.damage = _arg2; _local5.x = _arg1.x; _local5.y = _arg1.y; _local5.fromGoodGuy = _arg4; _arg3.transmitDamage(_local5); _local5.clearDynObject(); } public function addFX_BloodOnGround(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodOnGround(); _local3.x = _arg1; _local3.y = _arg2; _local3.gotoAndStop(ageMath.RandomInt(1, 5)); _local3.scaleY = 0.5; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function cleenUP_Proj():void{ var _local1:int; _local1 = 0; while (_local1 < projObjects.length) { if (((projObjects[_local1]) && ((projObjects[_local1].visible == false)))){ projObjects[_local1].clearDynObject(); if (projObjects[_local1]){ if (projObjects[_local1].parent){ projObjects[_local1].parent.removeChild(projObjects[_local1]); }; }; projObjects.splice(_local1, 1); break; }; _local1++; }; } public function cleenUP_Actors():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < enemies.length) { if (((((enemies[_local1]) && ((enemies[_local1].visible == false)))) && (enemies[_local1].dead))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == enemies[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; enemies[_local1].clearActorObject(); if (enemies[_local1]){ if (enemies[_local1].parent){ enemies[_local1].parent.removeChild(enemies[_local1]); }; }; enemies.splice(_local1, 1); break; }; _local1++; }; } public function addBlasterProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new blasterProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function cleenUP_Prop():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < propObjects.length) { if (((propObjects[_local1]) && ((propObjects[_local1].visible == false)))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == propObjects[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; if (propObjects[_local1]){ if (propObjects[_local1].parent){ propObjects[_local1].parent.removeChild(propObjects[_local1]); }; }; propObjects.splice(_local1, 1); break; }; _local1++; }; } public function testIntersectLimiterOnScr(_arg1:dynObject):Boolean{ var _local2:int; _local2 = 0; while (_local2 < limitersOnScr.length) { if (((!(limitersOnScr[_local2].slimMode)) && (limitersOnScr[_local2].hitTestObject(_arg1)))){ return (true); }; _local2++; }; return (false); } public function addProp_Shotgun(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propShotgun(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addBlinkFX_OverLight2():void{ Game(parent).gameGUI.fxblink2.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink2.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink2.use_force_restart = true; Game(parent).gameGUI.fxblink2.startFadeOut(); } public function addFX_BloodLeak(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodLeak(); _local3.x = _arg1; _local3.y = _arg2; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function UpdateLimitersOnScr():void{ var _local1:int; var _local2:int; var _local3:*; var _local4:int; var _local5:Point; var _local6:Rectangle; var _local7:Rectangle; limitersOnScr = []; _local1 = int(((-(x) - minLimX) / limitersCacheStep)); _local2 = int((((-(x) + stage.stageWidth) - minLimX) / limitersCacheStep)); _local4 = _local1; while (_local4 <= _local2) { if (limitersCache[_local4]){ _local3 = 0; while (_local3 < limitersCache[_local4].length) { _local5 = this.localToGlobal(new Point(limitersCache[_local4][_local3].x, limitersCache[_local4][_local3].y)); _local6 = new Rectangle(_local5.x, _local5.y, limitersCache[_local4][_local3].width, limitersCache[_local4][_local3].height); _local7 = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local7.intersects(_local6)){ limitersOnScr.push(limitersCache[_local4][_local3]); }; _local3++; }; }; _local4++; }; } public function levScript(){ var _local1:int; if (!sVar["triggerUpgrade1"]){ if (!sVar["startBoss"]){ if (triggerUpgrade1.hitTestObject(hero)){ if (((Controls.keyNew[Keyboard.ENTER]) || (Controls.keyNew[69]))){ openUpgradeMenu(); }; if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(5); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; } else { if (!triggerUpgrade2.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 5)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; if (!sVar["triggerUpgrade2"]){ if (!sVar["startBoss"]){ if (triggerUpgrade2.hitTestObject(hero)){ if (((Controls.keyNew[Keyboard.ENTER]) || (Controls.keyNew[69]))){ openUpgradeMenu(); }; if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(5); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; } else { if (!triggerUpgrade1.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 5)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; if (!sVar["triggerSecret1"]){ if (triggerSecret1.hitTestObject(hero)){ sVar["triggerSecret1"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["triggerSecret2"]){ if (triggerSecret2.hitTestObject(hero)){ sVar["triggerSecret2"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["wepLuncherTaked"]){ if (hero.weapons[5].active){ sVar["wepLuncherTaked"] = true; levRightLim = levelRightBorder.x; }; }; if (!sVar["startSeed"]){ if ((((hero.x > (levelLeftSeed.x + levelLeftSeed.width))) && ((hero.x < levelRightSeed.x)))){ sVar["startSeed"] = true; levLeftLim = levelLeftSeed.x; levRightLim = levelRightSeed.x; musicEnv.fadeTo("roboAttack"); unit1.alwaysSeeEnemy = true; unit2.alwaysSeeEnemy = true; unit3.alwaysSeeEnemy = true; }; } else { if (!sVar["SeedDead"]){ if ((((((((unit1 == null)) || ((((unit1.visible == false)) && (unit1.dead))))) && ((((unit2 == null)) || ((((unit2.visible == false)) && (unit2.dead))))))) && ((((unit3 == null)) || ((((unit3.visible == false)) && (unit3.dead))))))){ sVar["SeedDead"] = true; levLeftLim = levelLeftBorder.x; levRightLim = levelRightBorder.x; musicEnv.fadeTo(levelMus); }; }; }; if (!sVar["startBoss"]){ if (triggerBoss.hitTestObject(hero)){ sVar["startBoss"] = true; levLeftLim = levelLeftBorder.x; levRightLim = levelRightBorder.x; musicEnv.fadeTo("FatalDamage"); boss.lLeg.play(); boss.rLeg.play(); }; }; if (!sVar["DlgBarneyLuck"]){ sVar["DlgBarneyLuck"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev8_BarneyLuck"); sVar["DlgBarneyTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgBarneyLuck"]){ if (!sVar["DlgBarneyLuckEnd"]){ if (sVar["DlgBarneyTimer"] == 0){ sVar["DlgBarneyLuckEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { var _local2 = sVar; var _local3 = "DlgBarneyTimer"; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (Controls.keyNew[69]){ sVar["DlgBarneyTimer"] = 0; }; }; }; }; }; if (((!(sVar["DlgTedKilledBoss"])) && ((((boss == null)) || ((boss.visible == false)))))){ sVar["DlgTedKilledBoss"] = true; _local1 = Game(parent).gameGUI.dlg.setTo("lev8_TedCool"); sVar["DlgTedDiffTimer"] = int((_local1 * dlgSpeedFactor)); Game(parent).gameGUI.dlg.startFadeIn(); } else { if (sVar["DlgTedKilledBoss"]){ if (!sVar["DlgTedDiffEnd"]){ if (sVar["DlgTedDiffTimer"] == 0){ sVar["DlgTedDiffEnd"] = true; Game(parent).gameGUI.dlg.startFadeOut(); } else { _local2 = sVar; _local3 = "DlgTedDiffTimer"; _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (Controls.keyNew[69]){ sVar["DlgTedDiffTimer"] = 0; }; }; }; }; }; if (((sVar["DlgTedDiffEnd"]) && (!(Game(parent).gameGUI.dlg.visible)))){ if (!isWin){ isWin = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToWin(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musWin"); return; }; }; } public function UpdateProjObjects():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < projObjects.length) { if (projObjects[_local1].visible == false){ } else { if (projObjects[_local1].gravityEnable){ projObjects[_local1].Velocity.y = (projObjects[_local1].Velocity.y + (grav * projObjects[_local1].gravityFactor)); projObjects[_local1].Velocity.y = ((projObjects[_local1].Velocity.y)>projObjects[_local1].maxSpeed.y) ? projObjects[_local1].maxSpeed.y : projObjects[_local1].Velocity.y; }; projObjects[_local1].updateDynObj(); if (!projObjects[_local1].fromGoodGuy){ if (((!(hero.dead)) && (hero.hitTestProj(projObjects[_local1])))){ if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { hero.transmitDamage(projObjects[_local1]); Game(parent).gameGUI.painFrame.startFadeOut(); }; }; } else { _local2 = 0; while (_local2 < enemies.length) { if (((!(enemies[_local2].dead)) && (enemies[_local2].hitTestProj(projObjects[_local1])))){ mainGlobal.shootingInEnemies++; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { enemies[_local2].transmitDamage(projObjects[_local1]); }; }; _local2++; }; }; if (ageMath.Distance(projObjects[_local1].x, projObjects[_local1].y, hero.x, hero.y) > 670){ projObjects[_local1].visible = false; }; if (testIntersectLimiterOnScr(projObjects[_local1])){ projObjects[_local1].visible = false; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; }; }; }; _local1++; }; } function frame1(){ initFirst = true; } public function cleenUP_FX():void{ var _local1:int; _local1 = 0; while (_local1 < fxObjects.length) { if (((fxObjects[_local1]) && ((fxObjects[_local1].visible == false)))){ if (fxObjects[_local1]){ if (fxObjects[_local1].parent){ fxObjects[_local1].parent.removeChild(fxObjects[_local1]); }; }; fxObjects.splice(_local1, 1); break; }; _local1++; }; } public function term(){ var _local1:int; removeEventListener(Event.ENTER_FRAME, Update); _local1 = 0; while (_local1 < enemies.length) { enemies[_local1].clearActorObject(); _local1++; }; _local1 = 0; while (_local1 < dynObjects.length) { dynObjects[_local1].clearDynObject(); _local1++; }; dynObjects = []; enemies = []; goodNPC = []; projObjects = []; paralaxObjects = []; chunkObjects = []; fxObjects = []; propObjects = []; addActorsArr = []; limitersCache = []; limitersOnScr = []; limiters = []; } public function addFX_Splatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxBloodSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Coin(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propCoin(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function testRayToLimiterOnScr(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean=false, _arg6:Object=null):ageVector{ var _local10:int; var _local11:ageVector; var _local12:Number; var _local13:ageVector; var _local14:Number; var _local7:ageVector; var _local8:ageVector = new ageVector(_arg1, _arg3); var _local9:Number = Number.MAX_VALUE; _local10 = 0; while (_local10 < limitersOnScr.length) { if (!limitersOnScr[_local10].slimMode){ _local11 = ageMath.getLineCrossRect(_arg1, _arg2, _arg3, _arg4, limitersOnScr[_local10].x, limitersOnScr[_local10].y, (limitersOnScr[_local10].x + limitersOnScr[_local10].width), (limitersOnScr[_local10].y + limitersOnScr[_local10].height)); if (_local11 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local11); _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local12 = ageMath.DistanceVec(_local8, _local11); if (_local12 < _local9){ _local9 = _local12; _local7.copy(_local11); }; }; }; }; _local10++; }; if (!_arg5){ return (_local7); }; _arg6.id = -1; _local10 = 0; while (_local10 < enemies.length) { if (enemies[_local10].dead){ } else { _local13 = enemies[_local10].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local13 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local13); _arg6.id = _local10; _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local14 = ageMath.DistanceVec(_local8, _local13); if (_local14 < _local9){ _local9 = _local14; _arg6.id = _local10; _local7.copy(_local13); }; }; }; }; _local10++; }; return (_local7); } public function addProp_Dynamite(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propDynamite(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProp_MedKit(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new dropMedKit(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_Headshot(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxHeadshot(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Money1(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney1(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addProp_Money2(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney2(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } function showGameMenu():void{ mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); Game(root).menuInGame.visible = true; Game(root).gameGUI.startFadeOut(); Game(root).menuInGame.startFadeIn(); } public function UpdatePropObjects():void{ var _local1:int; _local1 = 0; while (_local1 < propObjects.length) { if (propObjects[_local1].visible == false){ } else { if (ageMath.Distance(propObjects[_local1].x, propObjects[_local1].y, hero.x, hero.y) >= (stage.stageWidth * 1.6)){ } else { propObjects[_local1].x = (propObjects[_local1].x + propObjects[_local1].speed.x); if (propObjects[_local1].useRotateSpeed){ propObjects[_local1].body.rotation = (propObjects[_local1].body.rotation + propObjects[_local1].rotateSpeed); }; if ((((((((((((propObjects[_local1].propType == "Med")) || ((propObjects[_local1].propType == "Coin")))) || ((propObjects[_local1].propType == "Money")))) || ((propObjects[_local1].propType == "Weapon")))) || ((propObjects[_local1].propType == "Item")))) || ((propObjects[_local1].propType == "Ammo")))){ if (hero.hitTestObject(propObjects[_local1])){ if (propObjects[_local1].propType == "Ammo"){ if (hero.weapons[propObjects[_local1].wepNum].active){ if (hero.weapons[propObjects[_local1].wepNum].bulletsNum < hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].bulletsNum = (hero.weapons[propObjects[_local1].wepNum].bulletsNum + (hero.weapons[propObjects[_local1].wepNum].bulletsInCatrigeMax * propObjects[_local1].moneyAmount)); if (hero.weapons[propObjects[_local1].wepNum].bulletsNum > hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ hero.weapons[propObjects[_local1].wepNum].bulletsNum = hero.weapons[propObjects[_local1].wepNum].bulletsNumMax; }; sounds.PlaySnd((hero.weapons[propObjects[_local1].wepNum].type + "Reloaded")); }; }; } else { if (propObjects[_local1].propType == "Med"){ if (hero.life < hero.lifeMax){ propObjects[_local1].visible = false; hero.life = (hero.life + propObjects[_local1].moneyAmount); if (hero.life > hero.lifeMax){ hero.life = hero.lifeMax; }; sounds.PlaySnd("Med"); }; } else { if (propObjects[_local1].propType == "Item"){ propObjects[_local1].visible = false; hero.itemsInBag.push(propObjects[_local1].itemName); sounds.PlaySnd("itemTake"); } else { if (propObjects[_local1].propType == "Weapon"){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].active = true; hero.curWeaponNum = (propObjects[_local1].wepNum + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); } else { propObjects[_local1].visible = false; sounds.PlaySnd((propObjects[_local1].propType + "1")); hero.moneyCnt = (hero.moneyCnt + propObjects[_local1].moneyAmount); mainGlobal.moneyCollected = (mainGlobal.moneyCollected + propObjects[_local1].moneyAmount); }; }; }; }; }; }; }; }; _local1++; }; } public function addProj_Psy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new psyProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; _local6.gravityComp = false; _local6.infAmmo = true; _local6.usePsyDamage = true; _local6.psyDamageVal = 16; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_MinigunBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projMinigunBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:Object = {id:-1}; var _local12:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4, true, _local11); if (_local12 != null){ _arg3 = _local12.x; _arg4 = _local12.y; if (_local11.id != -1){ mainGlobal.shootingInEnemies++; addLineDamageToEnemy(_local12, _arg5.damage, enemies[_local11.id], true); }; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; var _local13:Array = new Array(); _local13.push(new GlowFilter(0xFFFF00, 1, 15, 15, 4, BitmapFilterQuality.MEDIUM)); _local6.filters = _local13; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addProj_LaserBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projLaserBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4); if (_local11 != null){ _arg3 = _local11.x; _arg4 = _local11.y; }; if (addLineDamage(_arg1, _arg2, _arg3, _arg4, _arg5.damage)){ mainGlobal.shootingInEnemies++; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; _local6.use_force_restart = true; _local6.fadeSpeed = 0.1; _local6.startFadeOut(); _local6.gravityEnable = false; var _local12:Array = new Array(); _local12.push(new GlowFilter(0xFF0000, 1, 15, 15, 1.7, BitmapFilterQuality.MEDIUM)); _local6.filters = _local12; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addFX_littleBlast(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; addBlinkFX_OverLight(); _local4 = new fxBlast(); _local4.x = _arg1; _local4.y = _arg2; _local4.blendMode = BlendMode.SCREEN; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBullet(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, 24); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_Debris(_arg1:Number, _arg2:Number, _arg3:Number=1, _arg4:String=""):propObject{ var _local5:propObject; _local5 = new propDebris(); _local5.x = _arg1; _local5.y = _arg2; _local5.speed.y = (ageMath.Random(-6, -18) * _arg3); _local5.speed.x = (ageMath.Random(-10, 10) * _arg3); if (_arg4.length){ _local5.gotoAndStop(_arg4); } else { _local5.gotoAndStop(ageMath.RandomInt(1, 20)); }; _local5.curLevel = this; dynObjects.push(_local5); propObjects.push(_local5); _local5.isRubber = true; _local5.stayTime = (3000 + ageMath.RandomInt(1, 2000)); _local5.timerStayDelay.start(); _local5.useRotateSpeed = true; _local5.rotateSpeed = ageMath.RandomInt(-15, 15); propLayer.addChild(_local5); return (_local5); } public function addProj_BombWep(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBombWep(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_Rocket(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projRocket(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function ifMCOnScreen(_arg1:MovieClip):Boolean{ var _local2:Point = this.localToGlobal(new Point(_arg1.x, _arg1.y)); var _local3:Rectangle = _arg1.getBounds(root); var _local4:Rectangle = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local4.intersects(_local3)){ return (true); }; return (false); } public function addLimiter(_arg1){ limiters.push(_arg1); } public function alignObjXToAnother(_arg1, _arg2):void{ if ((_arg1.x - (_arg1.width * 0.5)) < _arg2.x){ _arg1.x = (_arg1.x + (_arg2.x - (_arg1.x - (_arg1.width * 0.5)))); }; if ((_arg1.x + (_arg1.width * 0.5)) > (_arg2.x + _arg2.width)){ _arg1.x = (_arg1.x - ((_arg1.x + (_arg1.width * 0.5)) - (_arg2.x + _arg2.width))); }; } public function levInit(){ mainGlobal.secretsAll = 2; curLevNum = 8; curLevScore = 3500; levelMus = "musGlory"; musicEnv.fadeTo(levelMus); Game(parent).sky.visible = true; levLeftLim = levelLeftBorder.x; boss.rLeg.stop(); boss.lLeg.stop(); sVar["DlgTedDiffTimer"] = 0; sVar["DlgTedDiffEnd"] = false; sVar["DlgTedKilledBoss"] = false; sVar["DlgBarneyTimer"] = 0; sVar["DlgBarneyLuckEnd"] = false; sVar["DlgBarneyLuck"] = false; } public function addExplotion(_arg1:projObject, _arg2:actorObject=null):void{ var _local3:Number; var _local5:int; _local3 = ageMath.Distance(_arg1.x, _arg1.y, hero.x, hero.y); var _local4:projObject = new projObject(); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = hero.x; _local4.y = (hero.y - (hero.height / 2)); _local4.fromGoodGuy = false; hero.transmitDamage(_local4); Game(parent).gameGUI.painFrame.startFadeOut(); _local4.clearDynObject(); }; _local5 = 0; while (_local5 < enemies.length) { if (((((enemies[_local5].dead) && (!((_arg2 == null))))) && (!((_arg2 == enemies[_local5]))))){ } else { _local3 = ageMath.Distance(_arg1.x, _arg1.y, enemies[_local5].x, enemies[_local5].y); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = enemies[_local5].x; _local4.y = (enemies[_local5].y - (enemies[_local5].height / 2)); _local4.fromGoodGuy = true; enemies[_local5].transmitDamage(_local4); _local4.clearDynObject(); }; }; _local5++; }; } public function addActor(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=-1):actorObject{ var _local6:actorObject; if (_arg1 == "AlienSaw"){ _local6 = new AlienSaw(); } else { if (_arg1 == "AlienHunter"){ _local6 = new AlienHunter(); } else { if (_arg1 == "AlienElectro"){ _local6 = new AlienElectro(); } else { if (_arg1 == "Zomb01"){ _local6 = new Zomb01(); } else { if (_arg1 == "Zomb02"){ _local6 = new Zomb02(); } else { if (_arg1 == "Zomb03"){ _local6 = new Zomb03(); } else { if (_arg1 == "Zomb04"){ _local6 = new Zomb04(); } else { if (_arg1 == "Zomb05"){ _local6 = new Zomb05(); } else { if (_arg1 == "Zomb01Run"){ _local6 = new Zomb01Run(); } else { if (_arg1 == "Zomb02Run"){ _local6 = new Zomb02Run(); } else { if (_arg1 == "Zomb03Run"){ _local6 = new Zomb03Run(); } else { if (_arg1 == "Zomb04Run"){ _local6 = new Zomb04Run(); } else { if (_arg1 == "Zomb05Run"){ _local6 = new Zomb05Run(); } else { if (_arg1 == "Zomb01Vomit"){ _local6 = new Zomb01Vomit(); } else { if (_arg1 == "Zomb02Vomit"){ _local6 = new Zomb02Vomit(); } else { if (_arg1 == "Zomb03Vomit"){ _local6 = new Zomb03Vomit(); } else { if (_arg1 == "Zomb04Vomit"){ _local6 = new Zomb04Vomit(); } else { if (_arg1 == "Zomb05Vomit"){ _local6 = new Zomb05Vomit(); } else { if (_arg1 == "Spider"){ _local6 = new Spider(); } else { if (_arg1 == "AlienBomber"){ _local6 = new AlienBomber(); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; _local6.x = _arg3; _local6.y = _arg4; _local6.name = _arg2; if (!_local6.noStatEnemy){ mainGlobal.enemiesAll++; }; if (_arg5 < 0){ addChild(_local6); } else { addChildAt(_local6, _arg5); }; return (_local6); } public function addFX_BlastWave(_arg1:Number, _arg2:Number, _arg3:Number=1){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxBlastWave(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function Update(_arg1:Event):void{ var _local5:int; var _local6:*; var _local7:*; var _local11:int; var _local12:addActorStruct; var _local13:int; var _local14:Number; var _local15:Array; var _local16:ColorMatrix; if (isWin){ hero.body.stop(); return; }; if (((((mainGlobal.paused) || (!(visible)))) || (!((parent as Game))))){ return; }; if ((((hero.life <= 0)) && (!(isLose)))){ isLose = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToLose(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musLose"); sounds.PlaySnd(("TedDie" + ageMath.RandomInt(1, 2).toString()), 0.8); return; }; if (initFirst){ if (((!(mainGlobal.configMusicOn)) && (!(mainGlobal.configSoundOn)))){ Game(parent).gamButSnd.gotoAndStop(2); } else { Game(parent).gamButSnd.gotoAndStop(1); }; initFirst = false; initLimCache(); Game(parent).fadeBG.fadeSpeed = 0.03; Game(parent).fadeBG.use_force_restart = true; Game(parent).fadeBG.startFadeOut(); Game(parent).gameGUI.hlpControl.visible = false; Game(parent).gameGUI.dlg.visible = false; Game(parent).gameGUI.dlgIco.x = -500; _local6 = (hero.x * this.scaleX); _local7 = ((hero.y - 95) * this.scaleY); x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); mainGlobal.initStat(); _local11 = 0; _local11 = 0; while (_local11 < enemies.length) { if (!enemies[_local11].noStatEnemy){ mainGlobal.enemiesAll++; }; _local11++; }; Game(parent).sky.visible = true; levInit(); if (mainGlobal.isSingleEp){ if (curLevNum == 1){ _local5 = 0; while (_local5 < 1) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 0; } else { if (curLevNum == 2){ _local5 = 0; while (_local5 < 2) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 200; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 3){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 4){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1300; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 5){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 6){ _local5 = 0; while (_local5 < 4) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 2000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 7){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 8){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; } else { if (curLevNum == 9){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; } else { if (curLevNum == 10){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; }; }; }; }; }; }; }; }; }; }; }; Game(parent).gameGUI.dlgIco.gotoAndStop(1); }; var _local2:int = getTimer(); cleenUP(); UpdateLimitersOnScr(); UpdateParalaxObjects(); UpdateDynObjects(); UpdatePropObjects(); UpdateEnemies(); UpdateProjObjects(); hero.updateActor(); hero.applyDamages(); hero.testIsActorDead(); if (addActorsArr.length){ while (addActorsArr.length) { _local12 = addActorsArr.pop(); addActor(_local12.strClass, "", _local12.posx, _local12.posy, _local12.orderZ); }; }; var _local3:int; _local3 = 0; while (_local3 < chunkObjects.length) { if (ifMCOnScreen(chunkObjects[_local3])){ chunkObjects[_local3].visible = true; } else { chunkObjects[_local3].visible = false; }; _local3++; }; levScript(); var _local4:Boolean; if (Controls.key[Keyboard.F2]){ hero.life = 1; }; if (Controls.key[Keyboard.ESCAPE]){ showGameMenu(); }; if (!hero.timerReloadDelay.running){ _local13 = 0; while (_local13 < 8) { if (((((Controls.key[(49 + _local13)]) && (!((hero.curWeaponNum == (_local13 + 1)))))) && (hero.weapons[_local13].active))){ hero.curWeaponNum = (_local13 + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); }; _local13++; }; }; if (Game(root).cursor.currentLabel == "cross"){ _local14 = ageMath.Distance(hero.x, hero.y, (Controls.mousePosX - x), (Controls.mousePosY - y)); Game(root).cursor.shootAcc.scaleX = (Game(root).cursor.shootAcc.scaleY = ((hero.wepAcc * _local14) / hero.weapons[(hero.curWeaponNum - 1)].accDistScale)); }; _local5 = 0; _local5 = 0; while (_local5 < 8) { if (((hero.weapons[_local5]) && (hero.weapons[_local5].active))){ if ((((hero.weapons[_local5].bulletsInCatrige == 0)) && ((hero.weapons[_local5].bulletsNum == 0)))){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 2){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 2; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(-124); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (hero.curWeaponNum != (_local5 + 1)){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 1){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 1; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 3){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 3; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(87); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 4){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 4; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 0.5; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; _local5++; }; Game(parent).gameGUI.wepInfo.catTxt.text = ((hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrige + "/") + hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrigeMax); if (!hero.weapons[(hero.curWeaponNum - 1)].infAmmo){ Game(parent).gameGUI.wepInfo.allTxt.text = hero.weapons[(hero.curWeaponNum - 1)].bulletsNum; } else { Game(parent).gameGUI.wepInfo.allTxt.text = "INF"; }; Game(parent).gameGUI.wepInfo.pic.gotoAndStop((hero.curWeaponNum + 4)); if ((hero.x - (hero.width * 0.5)) < levLeftLim){ hero.x = (levLeftLim + (hero.width * 0.5)); } else { if ((hero.x + (hero.width * 0.5)) > levRightLim){ hero.x = (levRightLim - (hero.width * 0.5)); }; }; _local6 = ageMath.Lerp((Controls.mousePosX - x), (hero.x * scaleX), 0.6); _local7 = ageMath.Lerp((Controls.mousePosY - y), ((hero.y - 95) * scaleY), 0.6); if (!_local4){ x = Math.round(ageMath.Lerp(x, -((_local6 - (stage.stageWidth * 0.5))), 0.15)); y = Math.round(ageMath.Lerp(y, -((_local7 - (stage.stageHeight * 0.5))), 0.15)); } else { x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); }; if (this["blackScr"]){ this["blackScr"].x = -(x); this["blackScr"].y = -(y); }; var _local8:Point = this.localToGlobal(new Point(levLeftLim, 0)); var _local9:Point = this.localToGlobal(new Point(levRightLim, 0)); if (_local8.x > 0){ x = (x - _local8.x); } else { if (_local9.x < stage.stageWidth){ x = (x + (stage.stageWidth - _local9.x)); }; }; if (curBlastShake > 0){ x = (x + ageMath.Random(-(curBlastShake), curBlastShake)); y = (y + ageMath.Random(-(curBlastShake), curBlastShake)); curBlastShake = (curBlastShake - curBlastShakeDec); if (curBlastShake < 0){ curBlastShake = 0; }; }; Game(parent).gameGUI.lifeBar.gotoAndStop(Math.round(ageMath.RemapVal(Math.round(hero.life), 1, hero.lifeMax, 1, 100))); Game(parent).gameGUI.lifeBar.width = ageMath.RemapVal(Math.round(hero.lifeMax), 100, 300, 108, 227); Game(parent).gameGUI.txtMoney.text = ("$" + hero.moneyCnt); var _local10:int; _local10 = 0; while (_local10 < 6) { if (hero.itemsInBag[_local10]){ Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(hero.itemsInBag[_local10]); } else { Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(1); }; _local10++; }; if (hero.bioMaxLevel > 0){ Game(parent).gameGUI.hazBio.visible = true; Game(parent).gameGUI.hazBio.gotoAndStop((100 - int(ageMath.RemapVal(hero.bioCurLevel, 0, hero.bioMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazBio.visible = false; }; if (hero.psyMaxLevel > 0){ Game(parent).gameGUI.hazPsy.visible = true; Game(parent).gameGUI.hazPsy.gotoAndStop((100 - int(ageMath.RemapVal(hero.psyCurLevel, 0, hero.psyMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazPsy.visible = false; }; if (hero.electroMaxLevel > 0){ Game(parent).gameGUI.hazElectro.visible = true; Game(parent).gameGUI.hazElectro.gotoAndStop((100 - int(ageMath.RemapVal(hero.electroCurLevel, 0, hero.electroMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazElectro.visible = false; }; Controls.updateKeyNew(); if (Game(parent).groundBG){ Game(parent).groundBG.changeBG(x, y); }; } public function addProp_minigunAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMinigunAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_MetalSparks(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxMetalSparks(); _local3.x = _arg1; _local3.y = _arg2; _local3.blendMode = BlendMode.ADD; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_blasterAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlasterAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addProp_Blaster(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlaster(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function UpdateEnemies():void{ var _local1:int; _local1 = 0; while (_local1 < enemies.length) { if (((enemies[_local1].dead) || ((enemies[_local1].life <= 0)))){ } else { if (((((!((enemies[_local1].parent as Level))) || (enemies[_local1].alwaysSeeEnemy))) || ((ageMath.Distance(enemies[_local1].x, enemies[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6))))){ enemies[_local1].updateActorEnemy(); }; }; _local1++; }; } public function addProj_Vomit(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projVomit(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.timerFXAdd.delay = 80; _local6.timerFXAdd.start(); _local6.fxFunc = addFX_VomitSplatters; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = true; _local6.gravityComp = true; _local6.infAmmo = true; _local6.useBioDamage = true; _local6.bioDamageVal = 10; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } } }//package main
Section 86
//Level9 (main.Level9) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.ui.*; public dynamic class Level9 extends Level { public var goArrow:MovieClip; public var triggerBossMusBegin:MovieClip; var levRightLim:Number;// = 999999 var dlgSpeedFactor:Number;// = 4 var lastMSFrame:int;// = 9999 public var bomberRightBorder:MovieClip; public var leveler1:MovieClip; public var leveler2:MovieClip; public var leveler3:MovieClip; public var enemies:Array; var levLeftLim:Number;// = -999999 public var propObjects:Array; public var leveler3Trigger:MovieClip; public var minLimX:Number;// = 2147483647 public var bomberLeftBorder:MovieClip; public var levelRightBorder:MovieClip; public var hatch2Lim:MovieClip; public var maxLimX:Number;// = -2147483648 public var bomber1:MovieClip; var curBlastShake:Number;// = 0 public var leveler2Trigger:MovieClip; var isWin:Boolean;// = false public var dynObjects:Array; var isLose:Boolean;// = false var grav:Number;// = 1 public var triggerUpgrade1:MovieClip; public var triggerUpgrade2:MovieClip; public var limitersCache:Array; public var leveler1Trigger:MovieClip; var initFirst:Boolean;// = false var curLevNum:int;// = 1 public var hatch3Lim:MovieClip; public var FXLayer:MovieClip; var levelMus:String;// = "" public var triggerSecret1:MovieClip; public var triggerSecret2:MovieClip; public var triggerSecret3:MovieClip; public var propLayer:MovieClip; var sVar:Object; public var triggerBossMusEnd:MovieClip; public var levelLeftBorder:MovieClip; public var limitersOnScr:Array; public var addActorsArr:Array; public var levelEnd:MovieClip; public var limiters:Array; public var paralaxObjects:Array; var curLevScore:int;// = 3000 var curBlastShakeDec:Number;// = 0.3 public var hatch1Lim:MovieClip; public var limitersCacheStep:int;// = 640 public var chunkObjects:Array; public var fxObjects:Array; var curScale:Number;// = 1 public var goodNPC:Array; public var hatch1:MovieClip; public var hatch2:MovieClip; public var hatch3:MovieClip; public var projObjects:Array; public var hero:MovieClip; public var projLayer:MovieClip; public function Level9(){ sVar = new Object(); limiters = new Array(); limitersCache = new Array(); limitersOnScr = new Array(); dynObjects = new Array(); enemies = new Array(); goodNPC = new Array(); paralaxObjects = new Array(); projObjects = new Array(); chunkObjects = new Array(); fxObjects = new Array(); propObjects = new Array(); addActorsArr = new Array(); super(); addFrameScript(0, frame1); init(); } public function addLineDamage(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Boolean{ var _local6:Number; var _local8:int; var _local9:ageVector; var _local7:Boolean; _local8 = 0; while (_local8 < enemies.length) { if (enemies[_local8].dead){ } else { _local9 = enemies[_local8].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local9 != null){ addLineDamageToEnemy(_local9, _arg5, enemies[_local8], true); _local7 = true; }; }; _local8++; }; return (_local7); } public function checkHitPlatform(_arg1, _arg2:Array){ var _local3:int; _arg1.bottomLimiter = null; _local3 = 0; while (_local3 < _arg2.length) { if (((_arg2[_local3].slimMode) && ((_arg1.speed.y < 0)))){ } else { if (_arg2[_local3].hitTestObject(_arg1.p2)){ _arg1.jump = false; if (_arg1.isRubber){ _arg1.speed.y = (_arg1.speed.y * -(_arg1.rubberFactor)); _arg1.speed.x = (_arg1.speed.x * _arg1.rubberFactor); if (_arg1.useRotateSpeed){ _arg1.rotateSpeed = 0; }; } else { _arg1.speed.y = 0; }; _arg1.y = ((_arg2[_local3].y - _arg1.p2.y) - _arg1.p2.height); _arg1.bottomLimiter = _arg2[_local3]; } else { if (((_arg2[_local3].hitTestObject(_arg1.p1)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = (_arg2[_local3].x - (_arg1.p1.x + _arg1.p1.width)); } else { _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) + (_arg1.p1.x + _arg1.p1.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p3)) && (!(_arg2[_local3].slimMode)))){ if (_arg1.scaleX > 0){ _arg1.x = ((_arg2[_local3].x + _arg2[_local3].width) - _arg1.p3.x); } else { _arg1.x = (_arg2[_local3].x - (-(_arg1.p3.x) + _arg1.p3.width)); }; } else { if (((_arg2[_local3].hitTestObject(_arg1.p4)) && (!(_arg2[_local3].slimMode)))){ _arg1.speed.y = 0; _arg1.y = ((_arg2[_local3].y + _arg2[_local3].height) - _arg1.p4.y); }; }; }; }; }; _local3++; }; } public function addFX_VomitSplatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxVomitSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function initLimCache(){ var _local1:*; var _local2:int; var _local3:int; var _local4:int; maxLimX = int.MIN_VALUE; minLimX = int.MAX_VALUE; _local1 = 0; while (_local1 < limiters.length) { if (limiters[_local1].x < minLimX){ minLimX = limiters[_local1].x; }; if ((limiters[_local1].x + limiters[_local1].width) > maxLimX){ maxLimX = limiters[_local1].x; }; _local1++; }; limitersCache = []; _local1 = 0; while (_local1 < (((maxLimX - minLimX) / limitersCacheStep) + 1)) { limitersCache.push(new Array()); _local1++; }; _local1 = 0; while (_local1 < limiters.length) { _local3 = int(((limiters[_local1].x - minLimX) / limitersCacheStep)); _local4 = int((((limiters[_local1].x + limiters[_local1].width) - minLimX) / limitersCacheStep)); _local2 = _local3; while (_local2 <= _local4) { if (!limitersCache[_local2]){ limitersCache[_local2] = new Array(); }; limitersCache[_local2].push(limiters[_local1]); _local2++; }; _local1++; }; } public function Update(_arg1:Event):void{ var _local5:int; var _local6:*; var _local7:*; var _local11:int; var _local12:addActorStruct; var _local13:int; var _local14:Number; var _local15:Array; var _local16:ColorMatrix; if (isWin){ hero.body.stop(); return; }; if (((((mainGlobal.paused) || (!(visible)))) || (!((parent as Game))))){ return; }; if ((((hero.life <= 0)) && (!(isLose)))){ isLose = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToLose(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musLose"); sounds.PlaySnd(("TedDie" + ageMath.RandomInt(1, 2).toString()), 0.8); return; }; if (initFirst){ if (((!(mainGlobal.configMusicOn)) && (!(mainGlobal.configSoundOn)))){ Game(parent).gamButSnd.gotoAndStop(2); } else { Game(parent).gamButSnd.gotoAndStop(1); }; initFirst = false; initLimCache(); Game(parent).fadeBG.fadeSpeed = 0.03; Game(parent).fadeBG.use_force_restart = true; Game(parent).fadeBG.startFadeOut(); Game(parent).gameGUI.hlpControl.visible = false; Game(parent).gameGUI.dlg.visible = false; Game(parent).gameGUI.dlgIco.x = -500; _local6 = (hero.x * this.scaleX); _local7 = ((hero.y - 95) * this.scaleY); x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); mainGlobal.initStat(); _local11 = 0; _local11 = 0; while (_local11 < enemies.length) { if (!enemies[_local11].noStatEnemy){ mainGlobal.enemiesAll++; }; _local11++; }; Game(parent).sky.visible = true; levInit(); if (mainGlobal.isSingleEp){ if (curLevNum == 1){ _local5 = 0; while (_local5 < 1) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 0; } else { if (curLevNum == 2){ _local5 = 0; while (_local5 < 2) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 200; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 3){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; } else { if (curLevNum == 4){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1300; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 5){ _local5 = 0; while (_local5 < 3) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 1500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; } else { if (curLevNum == 6){ _local5 = 0; while (_local5 < 4) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 2000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 7){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; } else { if (curLevNum == 8){ _local5 = 0; while (_local5 < 5) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = _local5; hero.moneyCnt = 3500; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; } else { if (curLevNum == 9){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; } else { if (curLevNum == 10){ _local5 = 0; while (_local5 < 6) { hero.weapons[_local5].active = true; _local5++; }; hero.curWeaponNum = 5; hero.moneyCnt = 4000; hero.applyUpgrade(1, 0); hero.upgradesLife[0].active = true; hero.applyUpgrade(1, 1); hero.upgradesLife[1].active = true; hero.applyUpgrade(1, 2); hero.upgradesLife[2].active = true; hero.applyUpgrade(1, 3); hero.upgradesLife[3].active = true; hero.applyUpgrade(1, 4); hero.upgradesLife[4].active = true; }; }; }; }; }; }; }; }; }; }; }; Game(parent).gameGUI.dlgIco.gotoAndStop(1); }; var _local2:int = getTimer(); cleenUP(); UpdateLimitersOnScr(); UpdateParalaxObjects(); UpdateDynObjects(); UpdatePropObjects(); UpdateEnemies(); UpdateProjObjects(); hero.updateActor(); hero.applyDamages(); hero.testIsActorDead(); if (addActorsArr.length){ while (addActorsArr.length) { _local12 = addActorsArr.pop(); addActor(_local12.strClass, "", _local12.posx, _local12.posy, _local12.orderZ); }; }; var _local3:int; _local3 = 0; while (_local3 < chunkObjects.length) { if (ifMCOnScreen(chunkObjects[_local3])){ chunkObjects[_local3].visible = true; } else { chunkObjects[_local3].visible = false; }; _local3++; }; levScript(); var _local4:Boolean; if (Controls.key[Keyboard.F2]){ hero.life = 1; }; if (Controls.key[Keyboard.ESCAPE]){ showGameMenu(); }; if (!hero.timerReloadDelay.running){ _local13 = 0; while (_local13 < 8) { if (((((Controls.key[(49 + _local13)]) && (!((hero.curWeaponNum == (_local13 + 1)))))) && (hero.weapons[_local13].active))){ hero.curWeaponNum = (_local13 + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); }; _local13++; }; }; if (Game(root).cursor.currentLabel == "cross"){ _local14 = ageMath.Distance(hero.x, hero.y, (Controls.mousePosX - x), (Controls.mousePosY - y)); Game(root).cursor.shootAcc.scaleX = (Game(root).cursor.shootAcc.scaleY = ((hero.wepAcc * _local14) / hero.weapons[(hero.curWeaponNum - 1)].accDistScale)); }; _local5 = 0; _local5 = 0; while (_local5 < 8) { if (((hero.weapons[_local5]) && (hero.weapons[_local5].active))){ if ((((hero.weapons[_local5].bulletsInCatrige == 0)) && ((hero.weapons[_local5].bulletsNum == 0)))){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 2){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 2; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(-124); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (hero.curWeaponNum != (_local5 + 1)){ if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 1){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 1; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 3){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 3; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 1; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(1); _local16.adjustHue(87); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; }; } else { if (guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState != 4){ guiWepNum(Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1)))).flagState = 4; Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).alpha = 0.5; _local15 = Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters; _local16 = new ColorMatrix(); _local16.adjustSaturation(0); _local15[1] = new ColorMatrixFilter(_local16.matrix); Game(parent).gameGUI.getChildByName(("wep" + (_local5 + 1))).filters = _local15; }; }; _local5++; }; Game(parent).gameGUI.wepInfo.catTxt.text = ((hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrige + "/") + hero.weapons[(hero.curWeaponNum - 1)].bulletsInCatrigeMax); if (!hero.weapons[(hero.curWeaponNum - 1)].infAmmo){ Game(parent).gameGUI.wepInfo.allTxt.text = hero.weapons[(hero.curWeaponNum - 1)].bulletsNum; } else { Game(parent).gameGUI.wepInfo.allTxt.text = "INF"; }; Game(parent).gameGUI.wepInfo.pic.gotoAndStop((hero.curWeaponNum + 4)); if ((hero.x - (hero.width * 0.5)) < levLeftLim){ hero.x = (levLeftLim + (hero.width * 0.5)); } else { if ((hero.x + (hero.width * 0.5)) > levRightLim){ hero.x = (levRightLim - (hero.width * 0.5)); }; }; _local6 = ageMath.Lerp((Controls.mousePosX - x), (hero.x * scaleX), 0.6); _local7 = ageMath.Lerp((Controls.mousePosY - y), ((hero.y - 95) * scaleY), 0.6); if (!_local4){ x = Math.round(ageMath.Lerp(x, -((_local6 - (stage.stageWidth * 0.5))), 0.15)); y = Math.round(ageMath.Lerp(y, -((_local7 - (stage.stageHeight * 0.5))), 0.15)); } else { x = -((_local6 - (stage.stageWidth * 0.5))); y = -((_local7 - (stage.stageHeight * 0.5))); }; if (this["blackScr"]){ this["blackScr"].x = -(x); this["blackScr"].y = -(y); }; var _local8:Point = this.localToGlobal(new Point(levLeftLim, 0)); var _local9:Point = this.localToGlobal(new Point(levRightLim, 0)); if (_local8.x > 0){ x = (x - _local8.x); } else { if (_local9.x < stage.stageWidth){ x = (x + (stage.stageWidth - _local9.x)); }; }; if (curBlastShake > 0){ x = (x + ageMath.Random(-(curBlastShake), curBlastShake)); y = (y + ageMath.Random(-(curBlastShake), curBlastShake)); curBlastShake = (curBlastShake - curBlastShakeDec); if (curBlastShake < 0){ curBlastShake = 0; }; }; Game(parent).gameGUI.lifeBar.gotoAndStop(Math.round(ageMath.RemapVal(Math.round(hero.life), 1, hero.lifeMax, 1, 100))); Game(parent).gameGUI.lifeBar.width = ageMath.RemapVal(Math.round(hero.lifeMax), 100, 300, 108, 227); Game(parent).gameGUI.txtMoney.text = ("$" + hero.moneyCnt); var _local10:int; _local10 = 0; while (_local10 < 6) { if (hero.itemsInBag[_local10]){ Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(hero.itemsInBag[_local10]); } else { Game(parent).gameGUI[("itm" + _local10)].gotoAndStop(1); }; _local10++; }; if (hero.bioMaxLevel > 0){ Game(parent).gameGUI.hazBio.visible = true; Game(parent).gameGUI.hazBio.gotoAndStop((100 - int(ageMath.RemapVal(hero.bioCurLevel, 0, hero.bioMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazBio.visible = false; }; if (hero.psyMaxLevel > 0){ Game(parent).gameGUI.hazPsy.visible = true; Game(parent).gameGUI.hazPsy.gotoAndStop((100 - int(ageMath.RemapVal(hero.psyCurLevel, 0, hero.psyMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazPsy.visible = false; }; if (hero.electroMaxLevel > 0){ Game(parent).gameGUI.hazElectro.visible = true; Game(parent).gameGUI.hazElectro.gotoAndStop((100 - int(ageMath.RemapVal(hero.electroCurLevel, 0, hero.electroMaxLevel, 1, 100)))); } else { Game(parent).gameGUI.hazElectro.visible = false; }; Controls.updateKeyNew(); if (Game(parent).groundBG){ Game(parent).groundBG.changeBG(x, y); }; } public function addFX_littleSmoke(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxLittleSmoke(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function init(){ addEventListener(Event.ENTER_FRAME, Update, false, 0, true); } public function openUpgradeMenu():void{ mainGlobal.paused = true; this.visible = false; Game(root).cursor.gotoAndStop("arrow"); Game(parent).menuUpgradeShop.showShop(); musicEnv.fadeTo("musUpgrade"); } public function addProp_minigunAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMinigunAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function UpdateParalaxObjects():void{ var _local1:int; _local1 = 0; while (_local1 < paralaxObjects.length) { paralaxObjects[_local1].x = (paralaxObjects[_local1].saveX - ageMath.RemapVal((paralaxObjects[_local1].saveX + x), 0, stage.stageWidth, 0, paralaxObjects[_local1].paralaxX)); paralaxObjects[_local1].y = (paralaxObjects[_local1].saveY - ageMath.RemapVal((paralaxObjects[_local1].saveY + y), 0, stage.stageHeight, 0, paralaxObjects[_local1].paralaxY)); _local1++; }; } public function addBlinkFX_OverLight():void{ Game(parent).gameGUI.fxblink.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink.use_force_restart = true; Game(parent).gameGUI.fxblink.startFadeOut(); curBlastShake = 15; } public function UpdateDynObjects():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; _local1 = 0; while (_local1 < dynObjects.length) { if (dynObjects[_local1].visible == false){ } else { if (ageMath.Distance(dynObjects[_local1].x, dynObjects[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6)){ if (dynObjects[_local1].gravityEnable){ dynObjects[_local1].speed.y = (dynObjects[_local1].speed.y + (grav * dynObjects[_local1].gravityFactor)); }; dynObjects[_local1].speed.y = ((dynObjects[_local1].speed.y)>dynObjects[_local1].maxSpeed.y) ? dynObjects[_local1].maxSpeed.y : dynObjects[_local1].speed.y; dynObjects[_local1].y = (dynObjects[_local1].y + dynObjects[_local1].speed.y); if (dynObjects[_local1].collisionEnable){ _local2 = int((((dynObjects[_local1].x - dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local3 = int((((dynObjects[_local1].x + dynObjects[_local1].width) - minLimX) / limitersCacheStep)); _local4 = _local2; while (_local4 <= _local3) { if (((limitersCache[_local4]) && (limitersCache[_local4].length))){ checkHitPlatform(dynObjects[_local1], limitersCache[_local4]); }; _local4++; }; }; }; }; _local1++; }; } public function cleenUP():void{ cleenUP_FX(); cleenUP_Proj(); cleenUP_Prop(); cleenUP_Actors(); } function mouseLeave(_arg1:Event):void{ showGameMenu(); } public function addLineDamageToEnemy(_arg1:ageVector, _arg2:Number, _arg3:actorObject, _arg4:Boolean){ var _local5:projObject = new projObject(); _local5.damage = _arg2; _local5.x = _arg1.x; _local5.y = _arg1.y; _local5.fromGoodGuy = _arg4; _arg3.transmitDamage(_local5); _local5.clearDynObject(); } public function addFX_BloodOnGround(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodOnGround(); _local3.x = _arg1; _local3.y = _arg2; _local3.gotoAndStop(ageMath.RandomInt(1, 5)); _local3.scaleY = 0.5; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } public function cleenUP_Proj():void{ var _local1:int; _local1 = 0; while (_local1 < projObjects.length) { if (((projObjects[_local1]) && ((projObjects[_local1].visible == false)))){ projObjects[_local1].clearDynObject(); if (projObjects[_local1]){ if (projObjects[_local1].parent){ projObjects[_local1].parent.removeChild(projObjects[_local1]); }; }; projObjects.splice(_local1, 1); break; }; _local1++; }; } public function cleenUP_Actors():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < enemies.length) { if (((((enemies[_local1]) && ((enemies[_local1].visible == false)))) && (enemies[_local1].dead))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == enemies[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; enemies[_local1].clearActorObject(); if (enemies[_local1]){ if (enemies[_local1].parent){ enemies[_local1].parent.removeChild(enemies[_local1]); }; }; enemies.splice(_local1, 1); break; }; _local1++; }; } public function addBlasterProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new blasterProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_Shotgun(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propShotgun(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function UpdateProjObjects():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < projObjects.length) { if (projObjects[_local1].visible == false){ } else { if (projObjects[_local1].gravityEnable){ projObjects[_local1].Velocity.y = (projObjects[_local1].Velocity.y + (grav * projObjects[_local1].gravityFactor)); projObjects[_local1].Velocity.y = ((projObjects[_local1].Velocity.y)>projObjects[_local1].maxSpeed.y) ? projObjects[_local1].maxSpeed.y : projObjects[_local1].Velocity.y; }; projObjects[_local1].updateDynObj(); if (!projObjects[_local1].fromGoodGuy){ if (((!(hero.dead)) && (hero.hitTestProj(projObjects[_local1])))){ if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { hero.transmitDamage(projObjects[_local1]); Game(parent).gameGUI.painFrame.startFadeOut(); }; }; } else { _local2 = 0; while (_local2 < enemies.length) { if (((!(enemies[_local2].dead)) && (enemies[_local2].hitTestProj(projObjects[_local1])))){ mainGlobal.shootingInEnemies++; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; } else { enemies[_local2].transmitDamage(projObjects[_local1]); }; }; _local2++; }; }; if (ageMath.Distance(projObjects[_local1].x, projObjects[_local1].y, hero.x, hero.y) > 670){ projObjects[_local1].visible = false; }; if (testIntersectLimiterOnScr(projObjects[_local1])){ projObjects[_local1].visible = false; if (projObjects[_local1].blastStyle){ addExplotion(projObjects[_local1]); addFX_littleBlast(projObjects[_local1].x, projObjects[_local1].y); addFX_littleSmoke(projObjects[_local1].x, projObjects[_local1].y); sounds.PlaySnd("bombExp", 1.5, projObjects[_local1], projObjects[_local1].stage); projObjects[_local1].visible = false; }; }; }; _local1++; }; } public function UpdateLimitersOnScr():void{ var _local1:int; var _local2:int; var _local3:*; var _local4:int; var _local5:Point; var _local6:Rectangle; var _local7:Rectangle; limitersOnScr = []; _local1 = int(((-(x) - minLimX) / limitersCacheStep)); _local2 = int((((-(x) + stage.stageWidth) - minLimX) / limitersCacheStep)); _local4 = _local1; while (_local4 <= _local2) { if (limitersCache[_local4]){ _local3 = 0; while (_local3 < limitersCache[_local4].length) { _local5 = this.localToGlobal(new Point(limitersCache[_local4][_local3].x, limitersCache[_local4][_local3].y)); _local6 = new Rectangle(_local5.x, _local5.y, limitersCache[_local4][_local3].width, limitersCache[_local4][_local3].height); _local7 = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local7.intersects(_local6)){ limitersOnScr.push(limitersCache[_local4][_local3]); }; _local3++; }; }; _local4++; }; } public function cleenUP_Prop():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < propObjects.length) { if (((propObjects[_local1]) && ((propObjects[_local1].visible == false)))){ _local2 = 0; while (_local2 < dynObjects.length) { if (dynObjects[_local2] == propObjects[_local1]){ dynObjects[_local2].clearDynObject(); dynObjects.splice(_local2, 1); break; }; _local2++; }; if (propObjects[_local1]){ if (propObjects[_local1].parent){ propObjects[_local1].parent.removeChild(propObjects[_local1]); }; }; propObjects.splice(_local1, 1); break; }; _local1++; }; } public function addFX_BloodLeak(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new bloodLeak(); _local3.x = _arg1; _local3.y = _arg2; _local3.fadeSpeed = 0.005; _local3.startFadeOut(); projLayer.addChild(_local3); _local3.curDispContainer = projLayer; fxObjects.push(_local3); return (_local3); } function frame1(){ initFirst = true; } public function addFX_Splatters(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxBloodSpatters(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function term(){ var _local1:int; removeEventListener(Event.ENTER_FRAME, Update); _local1 = 0; while (_local1 < enemies.length) { enemies[_local1].clearActorObject(); _local1++; }; _local1 = 0; while (_local1 < dynObjects.length) { dynObjects[_local1].clearDynObject(); _local1++; }; dynObjects = []; enemies = []; goodNPC = []; projObjects = []; paralaxObjects = []; chunkObjects = []; fxObjects = []; propObjects = []; addActorsArr = []; limitersCache = []; limitersOnScr = []; limiters = []; } public function addBlinkFX_OverLight2():void{ Game(parent).gameGUI.fxblink2.fadeMaxLimit = 1; Game(parent).gameGUI.fxblink2.fadeSpeed = 0.03; Game(parent).gameGUI.fxblink2.use_force_restart = true; Game(parent).gameGUI.fxblink2.startFadeOut(); } public function addProp_Coin(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propCoin(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function cleenUP_FX():void{ var _local1:int; _local1 = 0; while (_local1 < fxObjects.length) { if (((fxObjects[_local1]) && ((fxObjects[_local1].visible == false)))){ if (fxObjects[_local1]){ if (fxObjects[_local1].parent){ fxObjects[_local1].parent.removeChild(fxObjects[_local1]); }; }; fxObjects.splice(_local1, 1); break; }; _local1++; }; } public function addProp_Dynamite(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propDynamite(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function testIntersectLimiterOnScr(_arg1:dynObject):Boolean{ var _local2:int; _local2 = 0; while (_local2 < limitersOnScr.length) { if (((!(limitersOnScr[_local2].slimMode)) && (limitersOnScr[_local2].hitTestObject(_arg1)))){ return (true); }; _local2++; }; return (false); } public function addProp_MedKit(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new dropMedKit(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function addFX_Headshot(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxHeadshot(); _local3.x = _arg1; _local3.y = _arg2; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Money1(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney1(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } public function addProp_Money2(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propMoney2(); _local3.x = _arg1; _local3.y = _arg2; _local3.speed.y = -18; _local3.speed.x = ageMath.Random(-2, 2); _local3.stayTime = 4000; _local3.timerStayDelay.start(); propLayer.addChild(_local3); return (_local3); } function showGameMenu():void{ mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); Game(root).menuInGame.visible = true; Game(root).gameGUI.startFadeOut(); Game(root).menuInGame.startFadeIn(); } public function UpdatePropObjects():void{ var _local1:int; _local1 = 0; while (_local1 < propObjects.length) { if (propObjects[_local1].visible == false){ } else { if (ageMath.Distance(propObjects[_local1].x, propObjects[_local1].y, hero.x, hero.y) >= (stage.stageWidth * 1.6)){ } else { propObjects[_local1].x = (propObjects[_local1].x + propObjects[_local1].speed.x); if (propObjects[_local1].useRotateSpeed){ propObjects[_local1].body.rotation = (propObjects[_local1].body.rotation + propObjects[_local1].rotateSpeed); }; if ((((((((((((propObjects[_local1].propType == "Med")) || ((propObjects[_local1].propType == "Coin")))) || ((propObjects[_local1].propType == "Money")))) || ((propObjects[_local1].propType == "Weapon")))) || ((propObjects[_local1].propType == "Item")))) || ((propObjects[_local1].propType == "Ammo")))){ if (hero.hitTestObject(propObjects[_local1])){ if (propObjects[_local1].propType == "Ammo"){ if (hero.weapons[propObjects[_local1].wepNum].active){ if (hero.weapons[propObjects[_local1].wepNum].bulletsNum < hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].bulletsNum = (hero.weapons[propObjects[_local1].wepNum].bulletsNum + (hero.weapons[propObjects[_local1].wepNum].bulletsInCatrigeMax * propObjects[_local1].moneyAmount)); if (hero.weapons[propObjects[_local1].wepNum].bulletsNum > hero.weapons[propObjects[_local1].wepNum].bulletsNumMax){ hero.weapons[propObjects[_local1].wepNum].bulletsNum = hero.weapons[propObjects[_local1].wepNum].bulletsNumMax; }; sounds.PlaySnd((hero.weapons[propObjects[_local1].wepNum].type + "Reloaded")); }; }; } else { if (propObjects[_local1].propType == "Med"){ if (hero.life < hero.lifeMax){ propObjects[_local1].visible = false; hero.life = (hero.life + propObjects[_local1].moneyAmount); if (hero.life > hero.lifeMax){ hero.life = hero.lifeMax; }; sounds.PlaySnd("Med"); }; } else { if (propObjects[_local1].propType == "Item"){ propObjects[_local1].visible = false; hero.itemsInBag.push(propObjects[_local1].itemName); sounds.PlaySnd("itemTake"); } else { if (propObjects[_local1].propType == "Weapon"){ propObjects[_local1].visible = false; hero.weapons[propObjects[_local1].wepNum].active = true; hero.curWeaponNum = (propObjects[_local1].wepNum + 1); sounds.PlaySnd((hero.weapons[(hero.curWeaponNum - 1)].type + "Reloaded")); } else { propObjects[_local1].visible = false; sounds.PlaySnd((propObjects[_local1].propType + "1")); hero.moneyCnt = (hero.moneyCnt + propObjects[_local1].moneyAmount); mainGlobal.moneyCollected = (mainGlobal.moneyCollected + propObjects[_local1].moneyAmount); }; }; }; }; }; }; }; }; _local1++; }; } public function testRayToLimiterOnScr(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean=false, _arg6:Object=null):ageVector{ var _local10:int; var _local11:ageVector; var _local12:Number; var _local13:ageVector; var _local14:Number; var _local7:ageVector; var _local8:ageVector = new ageVector(_arg1, _arg3); var _local9:Number = Number.MAX_VALUE; _local10 = 0; while (_local10 < limitersOnScr.length) { if (!limitersOnScr[_local10].slimMode){ _local11 = ageMath.getLineCrossRect(_arg1, _arg2, _arg3, _arg4, limitersOnScr[_local10].x, limitersOnScr[_local10].y, (limitersOnScr[_local10].x + limitersOnScr[_local10].width), (limitersOnScr[_local10].y + limitersOnScr[_local10].height)); if (_local11 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local11); _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local12 = ageMath.DistanceVec(_local8, _local11); if (_local12 < _local9){ _local9 = _local12; _local7.copy(_local11); }; }; }; }; _local10++; }; if (!_arg5){ return (_local7); }; _arg6.id = -1; _local10 = 0; while (_local10 < enemies.length) { if (enemies[_local10].dead){ } else { _local13 = enemies[_local10].hitTestLine(_arg1, _arg2, _arg3, _arg4); if (_local13 != null){ if (_local7 == null){ _local7 = new ageVector(); _local7.copy(_local13); _arg6.id = _local10; _local9 = ageMath.DistanceVec(_local8, _local7); } else { _local14 = ageMath.DistanceVec(_local8, _local13); if (_local14 < _local9){ _local9 = _local14; _arg6.id = _local10; _local7.copy(_local13); }; }; }; }; _local10++; }; return (_local7); } public function addProj_Psy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new psyProj(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; _local6.gravityComp = false; _local6.infAmmo = true; _local6.usePsyDamage = true; _local6.psyDamageVal = 16; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProj_MinigunBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projMinigunBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:Object = {id:-1}; var _local12:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4, true, _local11); if (_local12 != null){ _arg3 = _local12.x; _arg4 = _local12.y; if (_local11.id != -1){ mainGlobal.shootingInEnemies++; addLineDamageToEnemy(_local12, _arg5.damage, enemies[_local11.id], true); }; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; var _local13:Array = new Array(); _local13.push(new GlowFilter(0xFFFF00, 1, 15, 15, 4, BitmapFilterQuality.MEDIUM)); _local6.filters = _local13; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addProj_LaserBeam(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:*; var _local7:Number; var _local8:Number; var _local9:ageVector; var _local10:ageVector = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local10.normThis(); _local10.mulScalar(600); _arg3 = (_local10.x + _arg1); _arg4 = (_local10.y + _arg2); _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projLaserBeam(); _local6.x = _arg1; _local6.y = _arg2; _local6.gravityEnable = false; var _local11:ageVector = testRayToLimiterOnScr(_arg1, _arg2, _arg3, _arg4); if (_local11 != null){ _arg3 = _local11.x; _arg4 = _local11.y; }; if (addLineDamage(_arg1, _arg2, _arg3, _arg4, _arg5.damage)){ mainGlobal.shootingInEnemies++; }; _local6.scaleX = (ageMath.Distance(_arg1, _arg2, _arg3, _arg4) / 34); _local6.rotation = _local8; _local6.use_force_restart = true; _local6.fadeSpeed = 0.1; _local6.startFadeOut(); _local6.gravityEnable = false; var _local12:Array = new Array(); _local12.push(new GlowFilter(0xFF0000, 1, 15, 15, 1.7, BitmapFilterQuality.MEDIUM)); _local6.filters = _local12; if (_arg5 != null){ }; this["FXLayer"].addChild(_local6); fxObjects.push(_local6); return (_local6); } public function addProj(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBullet(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, 24); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addFX_littleBlast(_arg1:Number, _arg2:Number, _arg3:Number=1.5){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; addBlinkFX_OverLight(); _local4 = new fxBlast(); _local4.x = _arg1; _local4.y = _arg2; _local4.blendMode = BlendMode.SCREEN; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addProj_BombWep(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projBombWep(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function levScript(){ var _local1:int; var _local2:Point; if (!sVar["triggerUpgrade1"]){ if (triggerUpgrade1.hitTestObject(hero)){ if (((Controls.keyNew[Keyboard.ENTER]) || (Controls.keyNew[69]))){ openUpgradeMenu(); }; if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(5); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; } else { if (!triggerUpgrade2.hitTestObject(hero)){ if (!leveler1Trigger.hitTestObject(hero)){ if (!leveler2Trigger.hitTestObject(hero)){ if (!leveler3Trigger.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 5)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; }; }; if (!sVar["triggerUpgrade2"]){ if (triggerUpgrade2.hitTestObject(hero)){ if (((Controls.keyNew[Keyboard.ENTER]) || (Controls.keyNew[69]))){ openUpgradeMenu(); }; if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(5); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; } else { if (!triggerUpgrade1.hitTestObject(hero)){ if (!leveler1Trigger.hitTestObject(hero)){ if (!leveler2Trigger.hitTestObject(hero)){ if (!leveler3Trigger.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 5)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; }; }; if (!sVar["leveler1Trigger"]){ if (leveler1Trigger.hitTestObject(hero)){ if (hero.isItemExist("lever")){ sVar["leveler1Trigger"] = true; hero.removeItemFromBag("lever"); leveler1.play(); hatch1.play(); sounds.PlaySnd("sewerDoorOpen"); } else { if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(9); Game(parent).gameGUI.hlpControl.pic2.gotoAndStop("lever"); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; }; } else { if (!triggerUpgrade1.hitTestObject(hero)){ if (!triggerUpgrade2.hitTestObject(hero)){ if (!leveler2Trigger.hitTestObject(hero)){ if (!leveler3Trigger.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 9)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; }; } else { _local2 = this.globalToLocal(MovieClip(hatch1).localToGlobal(new Point(hatch1.anmPoint.x, hatch1.anmPoint.y))); hatch1Lim.y = _local2.y; }; if (!sVar["leveler2Trigger"]){ if (leveler2Trigger.hitTestObject(hero)){ if (hero.isItemExist("lever")){ sVar["leveler2Trigger"] = true; hero.removeItemFromBag("lever"); leveler2.play(); hatch2.play(); sounds.PlaySnd("sewerDoorOpen"); } else { if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(9); Game(parent).gameGUI.hlpControl.pic2.gotoAndStop("lever"); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; }; } else { if (!triggerUpgrade1.hitTestObject(hero)){ if (!triggerUpgrade2.hitTestObject(hero)){ if (!leveler1Trigger.hitTestObject(hero)){ if (!leveler3Trigger.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 9)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; }; } else { _local2 = this.globalToLocal(MovieClip(hatch2).localToGlobal(new Point(hatch2.anmPoint.x, hatch2.anmPoint.y))); hatch2Lim.y = _local2.y; }; if (!sVar["leveler3Trigger"]){ if (leveler3Trigger.hitTestObject(hero)){ if (hero.isItemExist("lever")){ sVar["leveler3Trigger"] = true; hero.removeItemFromBag("lever"); leveler3.play(); hatch3.play(); sounds.PlaySnd("sewerDoorOpen"); } else { if (!Game(parent).gameGUI.hlpControl.visible){ Game(parent).gameGUI.hlpControl.showHelp(9); Game(parent).gameGUI.hlpControl.pic2.gotoAndStop("lever"); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); }; }; } else { if (!triggerUpgrade1.hitTestObject(hero)){ if (!triggerUpgrade2.hitTestObject(hero)){ if (!leveler1Trigger.hitTestObject(hero)){ if (!leveler2Trigger.hitTestObject(hero)){ if ((((Game(parent).gameGUI.hlpControl.currentFrame == 9)) && ((Game(parent).gameGUI.hlpControl.alpha > 0.9999)))){ Game(parent).gameGUI.hlpControl.hideHelp(); }; }; }; }; }; }; } else { _local2 = this.globalToLocal(MovieClip(hatch3).localToGlobal(new Point(hatch3.anmPoint.x, hatch3.anmPoint.y))); hatch3Lim.y = _local2.y; }; if (!sVar["triggerSecret1"]){ if (triggerSecret1.hitTestObject(hero)){ sVar["triggerSecret1"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["triggerSecret2"]){ if (triggerSecret2.hitTestObject(hero)){ sVar["triggerSecret2"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["triggerSecret3"]){ if (triggerSecret3.hitTestObject(hero)){ sVar["triggerSecret3"] = true; Game(parent).gameGUI.hlpControl.showHelp(7); Game(parent).gameGUI.hlpControl.timerStayDelay.stop(); Game(parent).gameGUI.hlpControl.timerStayDelay.delay = Game(parent).gameGUI.hlpControl.minDelay; Game(parent).gameGUI.hlpControl.timerStayDelay.start(); mainGlobal.secretsFound++; }; }; if (!sVar["startBomb"]){ if ((((hero.x > (bomberLeftBorder.x + bomberLeftBorder.width))) && ((hero.x < bomberRightBorder.x)))){ sVar["startBomb"] = true; levLeftLim = bomberLeftBorder.x; levRightLim = bomberRightBorder.x; musicEnv.fadeTo("roboAttack"); bomber1.alwaysSeeEnemy = true; }; } else { if (!sVar["BombDead"]){ if ((bomber1.x - (bomber1.width / 2)) < bomberLeftBorder.x){ bomber1.x = (bomberLeftBorder.x + (bomber1.width / 2)); bomber1.fsmAI.AlienBomber_changeTarget(); } else { if ((bomber1.x + (bomber1.width / 2)) > bomberRightBorder.x){ bomber1.x = (bomberRightBorder.x - (bomber1.width / 2)); bomber1.fsmAI.AlienBomber_changeTarget(); }; }; if ((((bomber1 == null)) || ((((bomber1.visible == false)) && (bomber1.dead))))){ sVar["BombDead"] = true; levLeftLim = levelLeftBorder.x; levRightLim = levelRightBorder.x; musicEnv.fadeTo(levelMus); }; }; }; if (!sVar["triggerBossMusBegin"]){ if (triggerBossMusBegin.hitTestObject(hero)){ sVar["triggerBossMusBegin"] = true; musicEnv.fadeTo("musTrasher"); }; } else { if (!sVar["triggerBossMusEnd"]){ if (triggerBossMusEnd.hitTestObject(hero)){ sVar["triggerBossMusEnd"] = true; musicEnv.fadeTo(levelMus); }; }; }; if (!isWin){ if (levelEnd.hitTestObject(hero)){ isWin = true; Game(root).gameGUI.startFadeOut(); Game(root).menuWinLose.startFadeIn(); Game(root).menuWinLose.setToWin(); mainGlobal.paused = true; Game(root).cursor.gotoAndStop("arrow"); musicEnv.fadeTo("musWin"); return; }; }; } public function addProj_Rocket(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projRocket(); _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.x = (_local6.x - _local6.Velocity.x); _local6.y = (_local6.y - _local6.Velocity.y); _local6.rotation = _local8; _local6.fromGoodGuy = true; _local6.gravityEnable = false; if (_arg5 != null){ _local6.damage = _arg5.damage; _local6.blastStyle = _arg5.blastStyle; _local6.attackRadius = _arg5.damageRadius; }; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_Debris(_arg1:Number, _arg2:Number, _arg3:Number=1, _arg4:String=""):propObject{ var _local5:propObject; _local5 = new propDebris(); _local5.x = _arg1; _local5.y = _arg2; _local5.speed.y = (ageMath.Random(-6, -18) * _arg3); _local5.speed.x = (ageMath.Random(-10, 10) * _arg3); if (_arg4.length){ _local5.gotoAndStop(_arg4); } else { _local5.gotoAndStop(ageMath.RandomInt(1, 20)); }; _local5.curLevel = this; dynObjects.push(_local5); propObjects.push(_local5); _local5.isRubber = true; _local5.stayTime = (3000 + ageMath.RandomInt(1, 2000)); _local5.timerStayDelay.start(); _local5.useRotateSpeed = true; _local5.rotateSpeed = ageMath.RandomInt(-15, 15); propLayer.addChild(_local5); return (_local5); } public function addLimiter(_arg1){ limiters.push(_arg1); } public function alignObjXToAnother(_arg1, _arg2):void{ if ((_arg1.x - (_arg1.width * 0.5)) < _arg2.x){ _arg1.x = (_arg1.x + (_arg2.x - (_arg1.x - (_arg1.width * 0.5)))); }; if ((_arg1.x + (_arg1.width * 0.5)) > (_arg2.x + _arg2.width)){ _arg1.x = (_arg1.x - ((_arg1.x + (_arg1.width * 0.5)) - (_arg2.x + _arg2.width))); }; } public function addExplotion(_arg1:projObject, _arg2:actorObject=null):void{ var _local3:Number; var _local5:int; _local3 = ageMath.Distance(_arg1.x, _arg1.y, hero.x, hero.y); var _local4:projObject = new projObject(); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = hero.x; _local4.y = (hero.y - (hero.height / 2)); _local4.fromGoodGuy = false; hero.transmitDamage(_local4); Game(parent).gameGUI.painFrame.startFadeOut(); _local4.clearDynObject(); }; _local5 = 0; while (_local5 < enemies.length) { if (((((enemies[_local5].dead) && (!((_arg2 == null))))) && (!((_arg2 == enemies[_local5]))))){ } else { _local3 = ageMath.Distance(_arg1.x, _arg1.y, enemies[_local5].x, enemies[_local5].y); if (_local3 < _arg1.attackRadius){ _local4.damage = ageMath.RemapVal(_local3, 0, _arg1.attackRadius, _arg1.damage, 0); _local4.x = enemies[_local5].x; _local4.y = (enemies[_local5].y - (enemies[_local5].height / 2)); _local4.fromGoodGuy = true; enemies[_local5].transmitDamage(_local4); _local4.clearDynObject(); }; }; _local5++; }; } public function ifMCOnScreen(_arg1:MovieClip):Boolean{ var _local2:Point = this.localToGlobal(new Point(_arg1.x, _arg1.y)); var _local3:Rectangle = _arg1.getBounds(root); var _local4:Rectangle = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); if (_local4.intersects(_local3)){ return (true); }; return (false); } public function addFX_BlastWave(_arg1:Number, _arg2:Number, _arg3:Number=1){ var _local4:*; var _local5:Number; var _local6:Number; var _local7:ageVector; _local4 = new fxBlastWave(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = _arg3); FXLayer.addChild(_local4); _local4.curDispContainer = FXLayer; fxObjects.push(_local4); } public function addActor(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=-1):actorObject{ var _local6:actorObject; if (_arg1 == "AlienSaw"){ _local6 = new AlienSaw(); } else { if (_arg1 == "AlienHunter"){ _local6 = new AlienHunter(); } else { if (_arg1 == "AlienElectro"){ _local6 = new AlienElectro(); } else { if (_arg1 == "Zomb01"){ _local6 = new Zomb01(); } else { if (_arg1 == "Zomb02"){ _local6 = new Zomb02(); } else { if (_arg1 == "Zomb03"){ _local6 = new Zomb03(); } else { if (_arg1 == "Zomb04"){ _local6 = new Zomb04(); } else { if (_arg1 == "Zomb05"){ _local6 = new Zomb05(); } else { if (_arg1 == "Zomb01Run"){ _local6 = new Zomb01Run(); } else { if (_arg1 == "Zomb02Run"){ _local6 = new Zomb02Run(); } else { if (_arg1 == "Zomb03Run"){ _local6 = new Zomb03Run(); } else { if (_arg1 == "Zomb04Run"){ _local6 = new Zomb04Run(); } else { if (_arg1 == "Zomb05Run"){ _local6 = new Zomb05Run(); } else { if (_arg1 == "Zomb01Vomit"){ _local6 = new Zomb01Vomit(); } else { if (_arg1 == "Zomb02Vomit"){ _local6 = new Zomb02Vomit(); } else { if (_arg1 == "Zomb03Vomit"){ _local6 = new Zomb03Vomit(); } else { if (_arg1 == "Zomb04Vomit"){ _local6 = new Zomb04Vomit(); } else { if (_arg1 == "Zomb05Vomit"){ _local6 = new Zomb05Vomit(); } else { if (_arg1 == "Spider"){ _local6 = new Spider(); } else { if (_arg1 == "AlienBomber"){ _local6 = new AlienBomber(); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; _local6.x = _arg3; _local6.y = _arg4; _local6.name = _arg2; if (!_local6.noStatEnemy){ mainGlobal.enemiesAll++; }; if (_arg5 < 0){ addChild(_local6); } else { addChildAt(_local6, _arg5); }; return (_local6); } public function levInit(){ var _local1:int; mainGlobal.secretsAll = 3; curLevNum = 9; curLevScore = 3500; levelMus = "musGlory"; musicEnv.fadeTo(levelMus); Game(parent).sky.visible = true; levLeftLim = levelLeftBorder.x; levRightLim = levelRightBorder.x; } public function addFX_MetalSparks(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:Number; var _local5:Number; var _local6:ageVector; _local3 = new fxMetalSparks(); _local3.x = _arg1; _local3.y = _arg2; _local3.blendMode = BlendMode.ADD; FXLayer.addChild(_local3); _local3.curDispContainer = FXLayer; fxObjects.push(_local3); } public function addProp_Blaster(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlaster(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } public function UpdateEnemies():void{ var _local1:int; _local1 = 0; while (_local1 < enemies.length) { if (((enemies[_local1].dead) || ((enemies[_local1].life <= 0)))){ } else { if (((((!((enemies[_local1].parent as Level))) || (enemies[_local1].alwaysSeeEnemy))) || ((ageMath.Distance(enemies[_local1].x, enemies[_local1].y, hero.x, hero.y) < (stage.stageWidth * 1.6))))){ enemies[_local1].updateActorEnemy(); }; }; _local1++; }; } public function addProj_Vomit(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:weaponParam=null){ var _local6:projObject; var _local7:Number; var _local8:Number; var _local9:ageVector; _local9 = new ageVector((_arg3 - _arg1), (_arg4 - _arg2)); _local8 = _local9.getAngleDeg(); if (_local8 > 180){ _local8 = (_local8 - 360); } else { if (_local8 < -180){ _local8 = (_local8 + 360); }; }; _local6 = new projVomit(); if (_arg5 != null){ _local6.damage = _arg5.damage; }; _local6.timerFXAdd.delay = 80; _local6.timerFXAdd.start(); _local6.fxFunc = addFX_VomitSplatters; _local6.x = _arg1; _local6.y = _arg2; _local6.setVelocity(_local9.x, _local9.y, _arg5.bulletSpeed); _local6.rotation = _local8; _local6.fromGoodGuy = false; _local6.gravityEnable = true; _local6.gravityComp = true; _local6.infAmmo = true; _local6.useBioDamage = true; _local6.bioDamageVal = 10; this["projLayer"].addChild(_local6); projObjects.push(_local6); return (_local6); } public function addProp_blasterAmmo(_arg1:Number, _arg2:Number):propObject{ var _local3:propObject; _local3 = new propBlasterAmmo(); _local3.x = _arg1; _local3.y = _arg2; propLayer.addChild(_local3); return (_local3); } } }//package main
Section 87
//lifeBar (main.lifeBar) package main { public dynamic class lifeBar extends alphaFader { public function lifeBar(){ addFrameScript(0, frame1); } function frame1(){ stop(); visible = false; fadeSpeed = 0.05; use_force_restart = true; } } }//package main
Section 88
//limiter (main.limiter) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class limiter extends MovieClip { public function limiter(){ addFrameScript(0, frame1); } function frame1(){ visible = false; this.wideGround = false; this.slimMode = false; Level(parent).addLimiter(this); } } }//package main
Section 89
//LuncherAmmo (main.LuncherAmmo) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class LuncherAmmo extends propObject { public function LuncherAmmo(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.propType = "Ammo"; this.wepNum = 5; this.moneyAmount = 1; } } }//package main
Section 90
//mainGlobal (main.mainGlobal) package main { import flash.display.*; import flash.geom.*; public dynamic class mainGlobal { public static var secretsAll:uint = 0; public static var configMusicOn:Boolean = true; public static var enemiesKilled:uint = 0; public static var enemiesAll:uint = 0; public static var configDebrisOn:Boolean = true; public static var configQuaHigh:Boolean = true; public static var shootingInEnemies:uint = 0; public static var lastLevelReached:uint = 0; public static var configVfxOn:Boolean = true; public static var moneyCollected:uint = 0; public static var dontLoadHeroParam:Boolean = true; public static var configSoundOn:Boolean = true; public static var paused:Boolean = false; public static var noAds:Boolean = false; public static var myCookie:Cookie = new Cookie("StarkRavingTed_Save"); public static var isSingleEp:Boolean = false; public static var shootingAll:uint = 0; public static var secretsFound:uint = 0; public static function initCookie(){ configMusicOn = true; configSoundOn = true; configQuaHigh = true; configVfxOn = true; configDebrisOn = true; saveConfig(); lastLevelReached = 1; myCookie.put("lastLevelReached", lastLevelReached); } public static function RasterizeClip(_arg1:Sprite):void{ var _local2:Rectangle = _arg1.getBounds(_arg1); var _local3:BitmapData = new BitmapData(_local2.width, _local2.height, true, 0); var _local4:Matrix = new Matrix(); _local4.translate(-(_local2.x), -(_local2.y)); _local3.draw(_arg1, _local4); while (_arg1.numChildren > 0) { _arg1.removeChildAt(0); }; _arg1.graphics.clear(); var _local5:Bitmap = new Bitmap(_local3); _local5.x = _local2.x; _local5.y = _local2.y; _arg1.addChild(_local5); } public static function loadConfig(){ configMusicOn = Boolean(myCookie.get("configMusicOn")); configSoundOn = Boolean(myCookie.get("configSoundOn")); configQuaHigh = Boolean(myCookie.get("configQuaHigh")); configVfxOn = Boolean(myCookie.get("configVfxOn")); configDebrisOn = Boolean(myCookie.get("configDebrisOn")); } public static function clearLevelData(){ myCookie.clear(); myCookie.putNoFlush("lastLevelReached", lastLevelReached); saveConfig(); } public static function loadStatParam(){ lastLevelReached = uint(myCookie.get("lastLevelReached")); if (lastLevelReached == 0){ lastLevelReached = 1; myCookie.put("lastLevelReached", lastLevelReached); }; } public static function isCookieExist():Boolean{ return (myCookie.isExist()); } public static function applyConfig(){ sounds.sndEnable = configSoundOn; musicEnv.musEnable = configMusicOn; musicEnv.played(configMusicOn); } public static function saveConfig(){ myCookie.putNoFlush("configMusicOn", configMusicOn); myCookie.putNoFlush("configSoundOn", configSoundOn); myCookie.putNoFlush("configQuaHigh", configQuaHigh); myCookie.putNoFlush("configVfxOn", configVfxOn); myCookie.putNoFlush("configDebrisOn", configDebrisOn); myCookie.flushData(); } public static function initStat(){ enemiesAll = 0; enemiesKilled = 0; shootingAll = 0; shootingInEnemies = 0; moneyCollected = 0; secretsFound = 0; secretsAll = 0; } } }//package main
Section 91
//MCButton (main.MCButton) package main { import flash.display.*; import flash.events.*; public dynamic class MCButton extends MovieClip { public function MCButton(){ addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); addEventListener(MouseEvent.MOUSE_UP, onMouseUp); addEventListener(MouseEvent.ROLL_OVER, onMouseOver, false, 0, true); stop(); } private function onMouseDown(_arg1:MouseEvent):void{ gotoAndStop(3); } private function onMouseUp(_arg1:MouseEvent):void{ gotoAndStop(2); } private function onMouseOver(_arg1:MouseEvent):void{ removeEventListener(MouseEvent.ROLL_OVER, onMouseOver); addEventListener(MouseEvent.ROLL_OUT, onMouseOut, false, 0, true); gotoAndStop(2); } private function onMouseOut(_arg1:MouseEvent):void{ removeEventListener(MouseEvent.ROLL_OUT, onMouseOut); addEventListener(MouseEvent.ROLL_OVER, onMouseOver, false, 0, true); gotoAndStop(1); } } }//package main
Section 92
//menuClick (main.menuClick) package main { import flash.media.*; public dynamic class menuClick extends Sound { } }//package main
Section 93
//menuHide2 (main.menuHide2) package main { import flash.media.*; public dynamic class menuHide2 extends Sound { } }//package main
Section 94
//menuInGame (main.menuInGame) package main { import flash.display.*; import flash.events.*; import flash.net.*; public dynamic class menuInGame extends alphaFader { public var logoOG:MovieClip; public var butContinue:SimpleButton; public var butWalk:SimpleButton; public var butOptions:SimpleButton; public var butExit:SimpleButton; public function menuInGame(){ addFrameScript(0, frame1); butContinue.addEventListener(MouseEvent.CLICK, butContinue_Click); butOptions.addEventListener(MouseEvent.CLICK, butOptions_Click); butExit.addEventListener(MouseEvent.CLICK, butExit_Click); butWalk.addEventListener(MouseEvent.CLICK, butWalk_Click); stage.addEventListener(KeyboardEvent.KEY_DOWN, keydwn); } function butWalk_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); navigateToURL(new URLRequest("http://onlinegamer.cc/index.php?task=view_page&id=2"), "_blank"); } function frame1(){ logoOG.addEventListener(MouseEvent.CLICK, logoOG_click); logoOG.buttonMode = true; } public function logoOG_click(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.onlinegamer.cc?utm_source=Ted&utm_medium=menuInGame"), "_blank"); } function butOptions_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); } function butExit_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); musicEnv.fadeTo("musMenu"); Game(root).delLevel(); this.visible = false; Game(root).cursor.gotoAndStop("arrow"); Game(root).fadeBG.startFadeOut(); Game(root).menuMain.visible = true; } function butContinue_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); this.startFadeOut(); Game(root).gameGUI.startFadeIn(); mainGlobal.paused = false; Game(root).cursor.gotoAndStop("cross"); } public function keydwn(_arg1:KeyboardEvent){ } } }//package main
Section 95
//menuMain (main.menuMain) package main { import flash.display.*; import flash.events.*; import mochi.as3.*; import flash.net.*; import flash.ui.*; public dynamic class menuMain extends MovieClip { public var menuWarl:lostMenu; var menuEpUp:Boolean;// = false var transitTo:String;// = "" var menuCreditsUp:Boolean;// = false var disGradUp:Boolean;// = false var menuOptionsUp:Boolean;// = false public var menuOptions:MovieClip; public var bgGrad:MovieClip; public var logoOG:menuLogoOG; public var menuCredits:MovieClip; public var butPlay:buttonPlay; public var butCredits:SimpleButton; public var logoAneg:menuLogoAneg; public var butOptions:SimpleButton; public var menuEp:MovieClip; var menuGameUp:Boolean;// = false public var menuGame:MovieClip; public var butMore:SimpleButton; public var disGrad:MovieClip; public function menuMain(){ butPlay.addEventListener(MouseEvent.CLICK, butPlay_Click); butOptions.addEventListener(MouseEvent.CLICK, butOptions_Click); butCredits.addEventListener(MouseEvent.CLICK, butCredits_Click); butMore.addEventListener(MouseEvent.CLICK, butMore_Click); menuGame.butBack.addEventListener(MouseEvent.CLICK, butBackGame_Click); menuOptions.butBack.addEventListener(MouseEvent.CLICK, butBackOptions_Click); menuCredits.butBack.addEventListener(MouseEvent.CLICK, butBackCredits_Click); addEventListener(Event.ENTER_FRAME, Update); menuWarl.visible = false; menuWarl.use_force_restart = true; menuWarl.butYes.addEventListener(MouseEvent.CLICK, butYesWarl_Click); menuWarl.butNo.addEventListener(MouseEvent.CLICK, butNoWarl_Click); menuOptions.butMusOn.addEventListener(MouseEvent.CLICK, butMusOn_Click); menuOptions.butSndOn.addEventListener(MouseEvent.CLICK, butSndOn_Click); menuOptions.butQuaHi.addEventListener(MouseEvent.CLICK, butQuaHi_Click); menuOptions.butFXOn.addEventListener(MouseEvent.CLICK, butFXOn_Click); menuOptions.butDebOn.addEventListener(MouseEvent.CLICK, butDebOn_Click); menuOptions.butMusOff.addEventListener(MouseEvent.CLICK, butMusOff_Click); menuOptions.butSndOff.addEventListener(MouseEvent.CLICK, butSndOff_Click); menuOptions.butQuaLo.addEventListener(MouseEvent.CLICK, butQuaLo_Click); menuOptions.butFXOff.addEventListener(MouseEvent.CLICK, butFXOff_Click); menuOptions.butDebOff.addEventListener(MouseEvent.CLICK, butDebOff_Click); menuGame.butContinue.addEventListener(MouseEvent.CLICK, butContinue_Click); menuGame.butNew.addEventListener(MouseEvent.CLICK, butNew_Click); menuGame.butEpisodes.addEventListener(MouseEvent.CLICK, butEpisodes_Click); menuEp.butEpBack.addEventListener(MouseEvent.CLICK, butEpBack_Click); menuEp.addEventListener(Event.ENTER_FRAME, menuEpUpdate); menuEp.addEventListener(MouseEvent.CLICK, menuEpMouseClick); menuGame.butWalk.addEventListener(MouseEvent.CLICK, butWalk_Click); menuGame.butLeader.addEventListener(MouseEvent.CLICK, butLeader_Click); menuGame.butStat.addEventListener(MouseEvent.CLICK, butStat_Click); logoOG.addEventListener(MouseEvent.CLICK, logoOG_click); logoOG.buttonMode = true; logoOG.use_force_restart = true; logoAneg.addEventListener(MouseEvent.CLICK, logoAneg_click); logoAneg.buttonMode = true; logoAneg.use_force_restart = true; } public function menuEpUpdate(_arg1:Event):void{ var _local2:int; var _local3:MovieClip; var _local4:Array; if (y > stage.stageHeight){ return; }; _local2 = 1; while (_local2 < 16) { _local3 = MovieClip(menuEp.getChildByName(("ep" + _local2))); _local4 = _local3.filters; if ((((((_local3.currentFrame > 1)) && (ageMath.inRange((Controls.mousePosX - menuEp.x), _local3.x, (_local3.x + _local3.width))))) && (ageMath.inRange((Controls.mousePosY - menuEp.y), _local3.y, (_local3.y + _local3.height))))){ _local4[0].strength = 2; } else { _local4[0].strength = 0; }; _local3.filters = _local4; _local2++; }; } function butNewFuncStart():void{ mainGlobal.clearLevelData(); transitTo = "Level1"; mainGlobal.isSingleEp = false; } function butCredits_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); disGradUp = true; menuCreditsUp = true; sounds.PlaySnd("menuShow"); logoOG.startFadeOut(); logoAneg.startFadeOut(); } function butPlay_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); disGradUp = true; menuGameUp = true; sounds.PlaySnd("menuShow"); if (mainGlobal.myCookie.isKeyExist("moneyCnt")){ menuGame.butContinue.enabled = true; menuGame.butContinue.alpha = 1; } else { menuGame.butContinue.enabled = false; menuGame.butContinue.alpha = 0.5; }; } function loadMenuOptionsFromCookie():void{ menuOptions.butMusOff.visible = (menuOptions.butMusOn.visible = false); menuOptions.butSndOff.visible = (menuOptions.butSndOn.visible = false); menuOptions.butQuaLo.visible = (menuOptions.butQuaHi.visible = false); menuOptions.butFXOff.visible = (menuOptions.butFXOn.visible = false); menuOptions.butDebOff.visible = (menuOptions.butDebOn.visible = false); if (mainGlobal.configMusicOn){ menuOptions.butMusOn.visible = true; } else { menuOptions.butMusOff.visible = true; }; if (mainGlobal.configSoundOn){ menuOptions.butSndOn.visible = true; } else { menuOptions.butSndOff.visible = true; }; if (mainGlobal.configQuaHigh){ menuOptions.butQuaHi.visible = true; } else { menuOptions.butQuaLo.visible = true; }; if (mainGlobal.configVfxOn){ menuOptions.butFXOn.visible = true; } else { menuOptions.butFXOff.visible = true; }; if (mainGlobal.configDebrisOn){ menuOptions.butDebOn.visible = true; } else { menuOptions.butDebOff.visible = true; }; } function butNew_Click(_arg1:MouseEvent):void{ if (menuGame.butContinue.alpha > 0.8){ sounds.PlaySnd("menuClick"); menuWarl.startFadeIn(); } else { butNewFunc(); }; } function butBackGame_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); disGradUp = false; menuGameUp = false; sounds.PlaySnd("menuHide"); restoreSubMenus(); restoreButtons(); } function logoOG_click(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.onlinegamer.cc?utm_source=Ted&utm_medium=menuMainLogoOG"), "_blank"); } function restoreButtons():void{ menuGame.butEpisodes.enabled = true; menuGame.butEpisodes.alpha = 1; } function butOptions_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); disGradUp = true; menuOptionsUp = true; mainGlobal.loadConfig(); loadMenuOptionsFromCookie(); sounds.PlaySnd("menuShow"); logoOG.startFadeOut(); logoAneg.startFadeOut(); } function butStat_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); } function butEpisodes_Click(_arg1:MouseEvent):void{ var _local2:int; var _local3:MovieClip; if (!menuGame.butEpisodes.enabled){ return; }; sounds.PlaySnd("menuClick"); menuEpUp = true; menuGame.butEpisodes.enabled = false; menuGame.butEpisodes.alpha = 0.5; mainGlobal.loadStatParam(); _local2 = 1; while (_local2 <= 15) { _local3 = MovieClip(menuEp.getChildByName(("ep" + _local2))); _local3.epNum.text = ""; _local3.gotoAndStop(1); _local2++; }; _local2 = 1; while (_local2 <= mainGlobal.lastLevelReached) { _local3 = MovieClip(menuEp.getChildByName(("ep" + _local2))); _local3.epNum.text = _local2.toString(); _local3.gotoAndStop((_local2 + 1)); _local2++; }; } function butMusOff_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); mainGlobal.configMusicOn = true; mainGlobal.applyConfig(); loadMenuOptionsFromCookie(); } function butNoWarl_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); menuWarl.startFadeOut(); } function butContinue_Click(_arg1:MouseEvent):void{ if (!menuGame.butContinue.enabled){ return; }; sounds.PlaySnd("menuClick"); Game(parent).fadeBG.startFadeIn(); menuGameUp = false; disGradUp = false; sounds.PlaySnd("menuHide"); transitTo = "continueLevel"; mainGlobal.isSingleEp = false; restoreSubMenus(); restoreButtons(); } function butMusOn_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); mainGlobal.configMusicOn = false; mainGlobal.applyConfig(); loadMenuOptionsFromCookie(); } function butDebOff_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); mainGlobal.configDebrisOn = true; mainGlobal.applyConfig(); loadMenuOptionsFromCookie(); } function butFXOn_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); mainGlobal.configVfxOn = false; mainGlobal.applyConfig(); loadMenuOptionsFromCookie(); } function butEpBack_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); sounds.PlaySnd("menuHide"); restoreSubMenus(); restoreButtons(); } function butFXOff_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); mainGlobal.configVfxOn = true; mainGlobal.applyConfig(); loadMenuOptionsFromCookie(); } function butQuaHi_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); mainGlobal.configQuaHigh = false; mainGlobal.applyConfig(); stage.quality = (mainGlobal.configQuaHigh) ? StageQuality.MEDIUM : StageQuality.LOW; loadMenuOptionsFromCookie(); } function butQuaLo_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); mainGlobal.configQuaHigh = true; mainGlobal.applyConfig(); stage.quality = (mainGlobal.configQuaHigh) ? StageQuality.MEDIUM : StageQuality.LOW; loadMenuOptionsFromCookie(); } function restoreSubMenus():void{ menuEpUp = false; } function butYesWarl_Click(_arg1:MouseEvent):void{ butNewFunc(); menuWarl.startFadeOut(); } function butSndOn_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); mainGlobal.configSoundOn = false; mainGlobal.applyConfig(); loadMenuOptionsFromCookie(); } function showScoreBoard():void{ var o:Object = {n:[2, 9, 1, 1, 11, 14, 7, 1, 4, 8, 14, 12, 9, 6, 7, 0], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; var boardID:String = o.f(0, ""); MochiScores.showLeaderboard({boardID:boardID, onDisplay:function (){ Game(root).fadeBG.startFadeIn(); Game(root).cursor.visible = false; Mouse.show(); Game(root).cursorBlockCh = true; }, onClose:function (){ Game(root).fadeBG.startFadeOut(); sounds.PlaySnd("menuClick"); Game(root).cursor.visible = true; Game(root).cursorBlockCh = false; Mouse.hide(); }}); } function butNewFunc():void{ sounds.PlaySnd("menuClick"); Game(parent).fadeBG.startFadeIn(); menuGameUp = false; disGradUp = false; sounds.PlaySnd("menuHide"); restoreSubMenus(); restoreButtons(); var _local1:int = Game(parent).getChildIndex(Game(parent).cursor); var _local2:storyMult = new storyMult(); Game(parent).addChildAt(_local2, _local1); _local2.x = 320; _local2.y = 240; musicEnv.fadeTo("musDarkAmb"); } function butSndOff_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); mainGlobal.configSoundOn = true; mainGlobal.applyConfig(); loadMenuOptionsFromCookie(); } function butBackCredits_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); disGradUp = false; menuCreditsUp = false; sounds.PlaySnd("menuHide"); logoOG.startFadeIn(); logoAneg.startFadeIn(); } function butBackOptions_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); disGradUp = false; menuOptionsUp = false; mainGlobal.saveConfig(); sounds.PlaySnd("menuHide"); logoOG.startFadeIn(); logoAneg.startFadeIn(); } function logoAneg_click(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.onlinegamer.cc?utm_source=Ted&utm_medium=menuMainLogoAneg"), "_blank"); } function butDebOn_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); mainGlobal.configDebrisOn = false; mainGlobal.applyConfig(); loadMenuOptionsFromCookie(); } public function Update(_arg1:Event):void{ if (!visible){ return; }; if (disGradUp){ disGrad.y = ageMath.Lerp(disGrad.y, bgGrad.y, 0.3); } else { disGrad.y = ageMath.Lerp(disGrad.y, (stage.stageHeight + 5), 0.3); }; if (menuGameUp){ menuGame.y = ageMath.Lerp(menuGame.y, 112, 0.3); } else { menuGame.y = ageMath.Lerp(menuGame.y, (stage.stageHeight + 5), 0.3); }; if (menuEpUp){ menuEp.y = ageMath.Lerp(menuEp.y, 95, 0.3); } else { menuEp.y = ageMath.Lerp(menuEp.y, (stage.stageHeight + 5), 0.3); }; if (menuOptionsUp){ menuOptions.y = ageMath.Lerp(menuOptions.y, 120, 0.3); } else { menuOptions.y = ageMath.Lerp(menuOptions.y, (stage.stageHeight + 5), 0.3); }; if (menuCreditsUp){ menuCredits.y = ageMath.Lerp(menuCredits.y, 124, 0.3); } else { menuCredits.y = ageMath.Lerp(menuCredits.y, (stage.stageHeight + 5), 0.3); }; if (Game(parent).fadeBG.alpha > 0.99999){ if (transitTo == "continueLevel"){ visible = false; mainGlobal.dontLoadHeroParam = false; mainGlobal.isSingleEp = false; Game(parent).loadLevel(("Level" + int(mainGlobal.myCookie.get("curLevNum")))); transitTo = ""; return; }; if (transitTo != ""){ visible = false; Game(parent).loadLevel(transitTo); transitTo = ""; return; }; }; } function butWalk_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); menuGame.butEpisodes.enabled = true; menuGame.butEpisodes.alpha = 1; navigateToURL(new URLRequest("http://onlinegamer.cc/index.php?task=view_page&id=2"), "_blank"); } public function menuEpMouseClick(_arg1:MouseEvent):void{ var _local2:int; var _local3:MovieClip; _local2 = 1; while (_local2 < 16) { _local3 = MovieClip(menuEp.getChildByName(("ep" + _local2))); if ((((((_local3.currentFrame > 1)) && (ageMath.inRange((Controls.mousePosX - menuEp.x), _local3.x, (_local3.x + _local3.width))))) && (ageMath.inRange((Controls.mousePosY - menuEp.y), _local3.y, (_local3.y + _local3.height))))){ sounds.PlaySnd("menuClick"); Game(parent).fadeBG.startFadeIn(); menuGameUp = false; disGradUp = false; sounds.PlaySnd("menuHide"); mainGlobal.dontLoadHeroParam = true; transitTo = ("Level" + (_local3.currentFrame - 1)); mainGlobal.isSingleEp = true; restoreSubMenus(); restoreButtons(); break; }; _local2++; }; } function butLeader_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); menuGame.butEpisodes.enabled = true; menuGame.butEpisodes.alpha = 1; showScoreBoard(); } function butMore_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); navigateToURL(new URLRequest("http://www.onlinegamer.cc?utm_source=Ted&utm_medium=menuMainMore"), "_blank"); } } }//package main
Section 96
//menuShow2 (main.menuShow2) package main { import flash.media.*; public dynamic class menuShow2 extends Sound { } }//package main
Section 97
//menuUpgradeShop (main.menuUpgradeShop) package main { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; public dynamic class menuUpgradeShop extends alphaFader { public var upgPaper:upgPaper; public var logoOG:MovieClip; public var upg1:upgCrate; public var upg2:upgCrate; public var upg3:upgCrate; public var upg4:upgCrate; public var upg5:upgCrate; public var upg10:upgCrate; public var upg11:upgCrate; public var upg12:upgCrate; public var upg6:upgCrate; public var bar:MovieClip; public var upg9:upgCrate; var showPaper:Boolean;// = false public var buttBack:SimpleButton; public var upg7:upgCrate; public var upg8:upgCrate; public var fader50perc:fader50perc; public function menuUpgradeShop(){ var _local1:int; super(); addFrameScript(0, frame1); visible = false; use_force_restart = true; fader50perc.use_force_restart = true; fader50perc.visible = false; fader50perc.fadeMaxLimit = 0.5; fader50perc.fadeSpeed = 0.08; addEventListener(Event.ENTER_FRAME, Update); addEventListener(MouseEvent.CLICK, MouseClick); buttBack.addEventListener(MouseEvent.CLICK, buttBackClick); } public function showShop(){ var _local1:int; var _local2:int; var _local3:upgCrate; var _local4:int; visible = true; _local1 = 1; while (_local1 < 13) { _local3 = upgCrate(getChildByName(("upg" + _local1))); _local3.info.pic.gotoAndStop(_local1); if (_local1 == 1){ _local3.info.txt.text = "Health"; } else { if (_local1 == 2){ _local3.info.txt.text = "Protection"; } else { if (_local1 == 3){ _local3.info.txt.text = "Ammunition"; } else { if (_local1 == 4){ _local3.info.txt.text = "Abilities"; } else { if (_local1 == 5){ _local3.info.txt.text = "Pistols"; } else { if (_local1 == 6){ _local3.info.txt.text = "Shotgun"; } else { if (_local1 == 7){ _local3.info.txt.text = "Assault Rifle"; } else { if (_local1 == 8){ _local3.info.txt.text = "Minigun"; } else { if (_local1 == 9){ _local3.info.txt.text = "Blaster"; } else { if (_local1 == 10){ _local3.info.txt.text = "Launcher"; } else { if (_local1 == 11){ _local3.info.txt.text = "Laser gun"; } else { if (_local1 == 12){ _local3.info.txt.text = "DDD"; }; }; }; }; }; }; }; }; }; }; }; }; _local3.UpdateInfo(); _local1++; }; _local1 = 1; while (_local1 < 5) { _local3 = upgCrate(getChildByName(("upg" + _local1))); _local3.info.soldout.visible = false; _local3.UpdateInfo(); _local1++; }; _local1 = 5; while (_local1 < 13) { _local3 = upgCrate(getChildByName(("upg" + _local1))); if (Game(parent).curLev.hero.weapons[(_local1 - 5)].active){ _local3.info.soldout.visible = false; _local3.info.upgStars.visible = true; _local4 = 0; _local2 = 0; while (_local2 < Game(parent).curLev.hero.weapons[(_local1 - 5)].upgrades.length) { if (Game(parent).curLev.hero.weapons[(_local1 - 5)].upgrades[_local2].active){ _local4++; }; _local2++; }; _local3.info.upgStars.upgStarsMask.width = Math.round(((_local4 / Game(parent).curLev.hero.weapons[(_local1 - 5)].upgrades.length) * 100)); } else { _local3.info.soldout.visible = true; _local3.info.txt.text = ""; _local3.info.pic.gotoAndStop(13); _local3.info.upgStars.visible = false; }; _local3.UpdateInfo(); _local1++; }; } function frame1(){ logoOG.addEventListener(MouseEvent.CLICK, logoOG_click); logoOG.buttonMode = true; this.visible = false; } public function buttBackClick(_arg1:MouseEvent):void{ this.visible = false; mainGlobal.paused = false; Game(parent).curLev.visible = true; Game(root).cursor.gotoAndStop("cross"); musicEnv.fadeTo(Game(parent).curLev.levelMus); bar.y = 46; sounds.PlaySnd("menuClick", 1); } public function Update(_arg1:Event):void{ var _local2:int; var _local3:Array; var _local4:DisplayObject; if (!visible){ return; }; if (bar.y > -273){ bar.y = (bar.y - 10); }; if (showPaper){ upgPaper.x = ageMath.Lerp(432, upgPaper.x, 0.8); } else { upgPaper.x = ageMath.Lerp(880, upgPaper.x, 0.8); }; if (!fader50perc.visible){ _local2 = 1; while (_local2 < 13) { _local4 = DisplayObject(getChildByName(("upg" + _local2))); _local3 = _local4.filters; if (((((!(upgCrate(_local4).info.soldout.visible)) && (ageMath.inRange(Controls.mousePosX, _local4.x, (_local4.x + _local4.width))))) && (ageMath.inRange(Controls.mousePosY, _local4.y, (_local4.y + _local4.height))))){ _local3[0].strength = 2; } else { _local3[0].strength = 0; }; _local4.filters = _local3; _local2++; }; }; } public function logoOG_click(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.onlinegamer.cc?utm_source=Ted&utm_medium=menuUpgrade"), "_blank"); } public function MouseClick(_arg1:MouseEvent):void{ var _local2:*; var _local3:int; var _local4:DisplayObject; if (((!(fader50perc.visible)) && (!(showPaper)))){ _local2 = 1; while (_local2 < 13) { _local4 = DisplayObject(getChildByName(("upg" + _local2))); if (((((!(upgCrate(_local4).info.soldout.visible)) && (ageMath.inRange(Controls.mousePosX, _local4.x, (_local4.x + _local4.width))))) && (ageMath.inRange(Controls.mousePosY, _local4.y, (_local4.y + _local4.height))))){ fader50perc.startFadeIn(); showPaper = true; sounds.PlaySnd("paper1", 1); if (_local2 == 1){ upgPaper.curUpgrades = Game(parent).curLev.hero.upgradesLife; upgPaper.txtWepName.text = "Health"; upgPaper.typeUpg = 1; } else { if (_local2 == 2){ upgPaper.curUpgrades = Game(parent).curLev.hero.upgradesParam; upgPaper.txtWepName.text = "Protection"; upgPaper.typeUpg = 2; } else { if (_local2 == 3){ upgPaper.curUpgrades = Game(parent).curLev.hero.upgradesBullets; upgPaper.txtWepName.text = "Ammunition"; upgPaper.typeUpg = 3; } else { if (_local2 == 4){ upgPaper.curUpgrades = Game(parent).curLev.hero.upgradesAbilities; upgPaper.txtWepName.text = "Abilities"; upgPaper.typeUpg = 4; } else { if (Game(parent).curLev.hero.weapons[(_local2 - 5)]){ upgPaper.curUpgrades = Game(parent).curLev.hero.weapons[(_local2 - 5)].upgrades; upgPaper.txtWepName.text = this[("upg" + _local2)].info.txt.text; upgPaper.typeUpg = 5; upgPaper.curWepNum = (_local2 - 5); } else { upgPaper.curUpgrades = null; upgPaper.txtWepName.text = "Not available"; upgPaper.typeUpg = 0; }; }; }; }; }; upgPaper.heroMoney = Game(parent).curLev.hero.moneyCnt; upgPaper.weaponsAmmo = []; upgPaper.weaponsAmmoMax = []; if (upgPaper.typeUpg == 3){ _local3 = 1; while (_local3 < 6) { upgPaper.weaponsAmmo.push(Game(parent).curLev.hero.weapons[_local3].bulletsNum); upgPaper.weaponsAmmoMax.push(Game(parent).curLev.hero.weapons[_local3].bulletsNumMax); if (upgPaper.weaponsAmmo[(_local3 - 1)] >= upgPaper.weaponsAmmoMax[(_local3 - 1)]){ upgPaper.weaponsAmmo[(_local3 - 1)] = upgPaper.weaponsAmmoMax[(_local3 - 1)]; upgPaper.curUpgrades[(_local3 - 1)].sold = true; }; _local3++; }; }; upgPaper.updateMenu(); break; }; _local2++; }; }; } } }//package main
Section 98
//menuWinGame (main.menuWinGame) package main { import flash.display.*; import flash.events.*; import mochi.as3.*; import flash.utils.*; import flash.ui.*; import flash.text.*; public dynamic class menuWinGame extends alphaFader { var transitTo:String;// = "" public var titVic:MovieClip; public var txtTotal:TextField; public var txtTotal_cur:int;// = -1 public var lTotal:TextField; public var butSubmit:SimpleButton; public var butExit:SimpleButton; public function menuWinGame(){ addFrameScript(0, frame1); addEventListener(Event.ENTER_FRAME, Update); butExit.addEventListener(MouseEvent.CLICK, butExit_Click); butSubmit.addEventListener(MouseEvent.CLICK, butSubmit_Click); } function showScoreBoard():void{ var o:Object = {n:[2, 9, 1, 1, 11, 14, 7, 1, 4, 8, 14, 12, 9, 6, 7, 0], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; var boardID:String = o.f(0, ""); MochiScores.showLeaderboard({boardID:boardID, score:Game(root).curLev.hero.totalScores, onDisplay:function (){ Game(root).fadeBG.startFadeIn(); Game(root).cursor.visible = false; Mouse.show(); Game(root).cursorBlockCh = true; }, onClose:function (){ Game(root).fadeBG.startFadeOut(); sounds.PlaySnd("menuClick"); Game(root).cursor.visible = true; Game(root).cursorBlockCh = false; Mouse.hide(); }}); } public function Update(_arg1:Event):void{ if ((((alpha < 0.9)) || (!(visible)))){ return; }; var _local2:uint = Game(root).menuWinLose.txtTotal_cur; if (txtTotal_cur < _local2){ if (txtTotal_cur == -1){ lTotal.visible = (txtTotal.visible = true); txtTotal_cur = 0; }; txtTotal_cur = (txtTotal_cur + getOff(_local2)); if (txtTotal_cur > _local2){ txtTotal_cur = _local2; }; txtTotal.text = (txtTotal_cur + ""); } else { butSubmit.visible = true; butExit.visible = true; }; if (Game(root).fadeBG.alpha > 0.99999){ if (transitTo == "ExitLevel"){ musicEnv.fadeTo("musMenu"); Game(root).delLevel(); this.visible = false; Game(root).cursor.gotoAndStop("arrow"); Game(root).fadeBG.startFadeOut(); Game(root).menuMain.visible = true; return; }; }; } function frame1(){ visible = false; } public function setToWin(){ titVic.visible = true; updateInfo(); } function butSubmit_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); showScoreBoard(); } function butExit_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); Game(root).fadeBG.startFadeIn(); transitTo = "ExitLevel"; } public function updateInfo(){ txtTotal_cur = -1; lTotal.visible = (txtTotal.visible = false); butSubmit.visible = false; butExit.visible = false; } public function getOff(_arg1:int):int{ return (int((_arg1 * 0.01))); } } }//package main
Section 99
//menuWinLose (main.menuWinLose) package main { import flash.display.*; import flash.events.*; import mochi.as3.*; import flash.utils.*; import flash.net.*; import CPMStar.*; import flash.ui.*; public dynamic class menuWinLose extends alphaFader { public var butSubmit:SimpleButton; public var txtScore_cur:int;// = -1 public var titWin:MovieClip; public var txtSecret_cur:int;// = -1 public var bgRed:MovieClip; var adBoxMC:MovieClip; public var titLose:MovieClip; public var butNext:SimpleButton; public var epStat:MovieClip; public var butWalkthrough:SimpleButton; public var butRetry:SimpleButton; var transitTo:String;// = "" public var txtMoney_cur:int;// = -1 public var txtAcc_cur:int;// = -1 public var txtTotal_cur:int;// = -1 public var txtKill_cur:int;// = -1 public var bgBlack:MovieClip; public var butExit:SimpleButton; public function menuWinLose(){ addFrameScript(0, frame1); addEventListener(Event.ENTER_FRAME, Update); butNext.addEventListener(MouseEvent.CLICK, butNext_Click); butRetry.addEventListener(MouseEvent.CLICK, butRetry_Click); butExit.addEventListener(MouseEvent.CLICK, butExit_Click); butSubmit.addEventListener(MouseEvent.CLICK, butSubmit_Click); butWalkthrough.addEventListener(MouseEvent.CLICK, butWalk_Click); } public function setToLose(){ titLose.visible = true; titWin.visible = false; bgBlack.visible = false; bgRed.visible = true; updateInfo(); } function butSubmit_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); showScoreBoard(); } function butRetry_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); Game(root).fadeBG.startFadeIn(); transitTo = "RestartLevel"; } function showScoreBoard():void{ var o:Object = {n:[2, 9, 1, 1, 11, 14, 7, 1, 4, 8, 14, 12, 9, 6, 7, 0], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; var boardID:String = o.f(0, ""); MochiScores.showLeaderboard({boardID:boardID, score:Game(root).curLev.hero.totalScores, onDisplay:function (){ Game(root).fadeBG.startFadeIn(); Game(root).cursor.visible = false; Mouse.show(); Game(root).cursorBlockCh = true; }, onClose:function (){ Game(root).fadeBG.startFadeOut(); sounds.PlaySnd("menuClick"); Game(root).cursor.visible = true; Game(root).cursorBlockCh = false; Mouse.hide(); }}); } function butWalk_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); navigateToURL(new URLRequest("http://onlinegamer.cc/index.php?task=view_page&id=2"), "_blank"); } function ExitFunc():void{ sounds.PlaySnd("menuClick"); Game(root).fadeBG.startFadeIn(); transitTo = "ExitLevel"; } public function updateInfo(){ var _local1:String; var _local2:DisplayObject; var _local3:MovieClip; txtAcc_cur = -1; txtKill_cur = -1; txtMoney_cur = -1; txtSecret_cur = -1; txtScore_cur = -1; txtTotal_cur = -1; epStat.lAcc.visible = (epStat.txtAcc.visible = false); epStat.lKill.visible = (epStat.txtKill.visible = false); epStat.lMoney.visible = (epStat.txtMoney.visible = false); epStat.lSecret.visible = (epStat.txtSecret.visible = false); epStat.lScore.visible = (epStat.txtScore.visible = false); epStat.lTotal.visible = (epStat.txtTotal.visible = false); epStat.sep.visible = false; butNext.visible = false; butRetry.visible = false; butSubmit.visible = false; butExit.visible = false; butWalkthrough.visible = false; adBoxMC = new adBoxClass(); adBoxMC.x = 21; adBoxMC.y = 123; if (!mainGlobal.noAds){ _local1 = "3989QA7E15F5A"; _local2 = new AdLoader(_local1); adBoxMC.addChild(_local2); } else { _local3 = new adMY(); adBoxMC.addChild(_local3); }; this.addChild(adBoxMC); } function butNext_Click(_arg1:MouseEvent):void{ sounds.PlaySnd("menuClick"); if (Game(root).curLev.curLevNum == 10){ Game(root).menuWinGame.startFadeIn(); Game(root).menuWinGame.setToWin(); startFadeOut(); musicEnv.fadeTo("GameVictory"); return; }; Game(root).fadeBG.startFadeIn(); transitTo = "NextLevel"; } public function setToWin(){ titLose.visible = false; titWin.visible = true; bgBlack.visible = true; bgRed.visible = false; updateInfo(); } function frame1(){ visible = false; } public function getOff(_arg1:int):int{ if (_arg1 <= 10){ return (1); }; if ((((_arg1 > 10)) && ((_arg1 <= 100)))){ return (5); }; return (int((_arg1 * 0.05))); } public function Update(_arg1:Event):void{ if ((((alpha < 0.9)) || (!(visible)))){ return; }; var _local2:uint = int(((mainGlobal.shootingInEnemies / mainGlobal.shootingAll) * 100)); if (_local2 > 100){ _local2 = 100; }; var _local3:uint = int(((mainGlobal.enemiesKilled / mainGlobal.enemiesAll) * 100)); if (_local3 > 100){ _local3 = 100; }; var _local4:uint = mainGlobal.moneyCollected; var _local5:uint = mainGlobal.secretsFound; var _local6:uint = int(((((Game(root).curLev.curLevScore * (_local2 / 100)) * (_local3 / 100)) + mainGlobal.moneyCollected) + (mainGlobal.secretsFound * 500))); var _local7:uint = (Game(root).curLev.hero.totalScores + _local6); if (butExit.visible == false){ if (txtAcc_cur < _local2){ if (txtAcc_cur == -1){ epStat.lAcc.visible = (epStat.txtAcc.visible = true); txtAcc_cur = 0; }; txtAcc_cur = (txtAcc_cur + getOff(_local2)); if (txtAcc_cur > _local2){ txtAcc_cur = _local2; }; epStat.txtAcc.text = (txtAcc_cur + "%"); } else { if (txtKill_cur < _local3){ if (txtKill_cur == -1){ epStat.lKill.visible = (epStat.txtKill.visible = true); txtKill_cur = 0; }; txtKill_cur = (txtKill_cur + getOff(_local3)); if (txtKill_cur > _local3){ txtKill_cur = _local3; }; epStat.txtKill.text = (txtKill_cur + "%"); } else { if (txtMoney_cur < _local4){ if (txtMoney_cur == -1){ epStat.lMoney.visible = (epStat.txtMoney.visible = true); txtMoney_cur = 0; }; txtMoney_cur = (txtMoney_cur + getOff(_local4)); if (txtMoney_cur > _local4){ txtMoney_cur = _local4; }; epStat.txtMoney.text = (txtMoney_cur + "$"); } else { if (txtSecret_cur < _local5){ if (txtSecret_cur == -1){ epStat.lSecret.visible = (epStat.txtSecret.visible = true); txtSecret_cur = 0; }; txtSecret_cur = (txtSecret_cur + getOff(_local5)); if (txtSecret_cur > _local5){ txtSecret_cur = _local5; }; epStat.txtSecret.text = ((txtSecret_cur + "/") + mainGlobal.secretsAll); } else { if (txtScore_cur < _local6){ if (txtScore_cur == -1){ epStat.lScore.visible = (epStat.txtScore.visible = true); txtScore_cur = 0; }; txtScore_cur = (txtScore_cur + getOff(_local6)); if (txtScore_cur > _local6){ txtScore_cur = _local6; }; epStat.txtScore.text = (txtScore_cur + ""); } else { if (txtTotal_cur < _local7){ if (txtTotal_cur == -1){ epStat.lTotal.visible = (epStat.txtTotal.visible = (epStat.sep.visible = true)); txtTotal_cur = Game(root).curLev.hero.totalScores; }; txtTotal_cur = (txtTotal_cur + getOff(_local7)); if (txtTotal_cur > _local7){ txtTotal_cur = _local7; }; epStat.txtTotal.text = (txtTotal_cur + ""); } else { if (titWin.visible == true){ if (((!(mainGlobal.isSingleEp)) && ((butExit.visible == false)))){ if (Game(root).curLev.curLevNum != 10){ if (mainGlobal.lastLevelReached < (Game(root).curLev.curLevNum + 1)){ mainGlobal.lastLevelReached = (Game(root).curLev.curLevNum + 1); mainGlobal.myCookie.putNoFlush("lastLevelReached", mainGlobal.lastLevelReached); }; mainGlobal.myCookie.putNoFlush("curLevNum", (Game(root).curLev.curLevNum + 1)); Game(root).curLev.hero.totalScores = txtTotal_cur; Game(root).curLev.hero.saveParams(); }; }; if (!mainGlobal.isSingleEp){ butNext.visible = true; butSubmit.visible = true; }; butRetry.visible = false; butWalkthrough.visible = false; butExit.visible = true; } else { butNext.visible = false; butRetry.visible = true; butSubmit.visible = false; butExit.visible = true; butWalkthrough.visible = true; }; }; }; }; }; }; }; }; if (Game(root).fadeBG.alpha > 0.99999){ if (transitTo == "NextLevel"){ Game(parent).gameGUI.startFadeIn(); visible = false; transitTo = ""; mainGlobal.paused = false; mainGlobal.dontLoadHeroParam = false; Game(parent).loadLevel(("Level" + (Game(root).curLev.curLevNum + 1))); removeChild(adBoxMC); return; }; if (transitTo == "RestartLevel"){ Game(parent).gameGUI.startFadeIn(); visible = false; transitTo = ""; mainGlobal.paused = false; mainGlobal.dontLoadHeroParam = false; Game(parent).loadLevel(("Level" + Game(root).curLev.curLevNum)); removeChild(adBoxMC); return; }; if (transitTo == "ExitLevel"){ musicEnv.fadeTo("musMenu"); Game(root).delLevel(); this.visible = false; Game(root).cursor.gotoAndStop("arrow"); Game(root).fadeBG.startFadeOut(); Game(root).menuMain.visible = true; removeChild(adBoxMC); return; }; }; } function butExit_Click(_arg1:MouseEvent):void{ ExitFunc(); } } }//package main
Section 100
//midExp (main.midExp) package main { import flash.media.*; public dynamic class midExp extends Sound { } }//package main
Section 101
//MinigunReload (main.MinigunReload) package main { import flash.media.*; public dynamic class MinigunReload extends Sound { } }//package main
Section 102
//MinigunReloaded (main.MinigunReloaded) package main { import flash.media.*; public dynamic class MinigunReloaded extends Sound { } }//package main
Section 103
//MinigunShoot1 (main.MinigunShoot1) package main { import flash.media.*; public dynamic class MinigunShoot1 extends Sound { } }//package main
Section 104
//musDarkAmb (main.musDarkAmb) package main { import flash.media.*; public dynamic class musDarkAmb extends Sound { } }//package main
Section 105
//musGlory (main.musGlory) package main { import flash.media.*; public dynamic class musGlory extends Sound { } }//package main
Section 106
//musicEnv (main.musicEnv) package main { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; public dynamic class musicEnv { static var t1:SoundTransform = new SoundTransform(); public static var curCh:SoundChannel; public static var timerVolFader:Timer = new Timer(10); static var mus:Object; public static var vol:Number = 0.9; public static var volFadeSpeed:Number = 0.01; public static var curMusName:String = ""; public static var offVol:Number = 0; public static var musEnable:Boolean = true; public static var curVol:Number = 0; public static var offCh:SoundChannel; public static var curPos:Number = 0; public static var isplayed:Boolean = false; static var t2:SoundTransform = new SoundTransform(); public static function init(){ timerVolFader.stop(); mus = new Object(); mus["musMenu"] = new musMenu(); mus["musGlory"] = new musGlory(); mus["musStory"] = new musStory(); mus["FatalDamage"] = new FatalDamage(); mus["musLose"] = new musLose(); mus["musWin"] = new musWin(); mus["musUpgrade"] = new musUpgrade(); mus["roboAttack"] = new roboAttack(); mus["musTrasher"] = new musTrasher(); mus["musDarkAmb"] = new musDarkAmb(); mus["GameVictory"] = new GameVictory(); } public static function played(_arg1:Boolean):void{ if (_arg1 == isplayed){ return; }; if (_arg1){ if (curMusName != ""){ fadeTo(curMusName); }; } else { isplayed = false; if (curCh){ curCh.stop(); curPos = curCh.position; }; if (offCh){ offCh.stop(); }; offVol = 0; curVol = vol; if (timerVolFader.running){ timerVolFader.stop(); timerVolFader.removeEventListener(TimerEvent.TIMER, timerVolFader_Timer); }; }; } public static function fadeTo(_arg1:String){ var _local2:SoundTransform; curMusName = _arg1; if (!musEnable){ return; }; isplayed = true; _local2 = new SoundTransform(); _local2.volume = 0; if (offCh){ offCh.stop(); }; offCh = curCh; if ((((curMusName == "musLose")) || ((curMusName == "musWin")))){ curCh = mus[_arg1].play(0, 1, _local2); } else { curCh = mus[_arg1].play(0, int.MAX_VALUE, _local2); }; curVol = 0; offVol = vol; if (!timerVolFader.running){ timerVolFader.addEventListener(TimerEvent.TIMER, timerVolFader_Timer, false, 0, true); timerVolFader.start(); }; } public static function timerVolFader_Timer(_arg1:TimerEvent):void{ if (offCh != null){ if (offVol > 0){ offVol = (offVol - volFadeSpeed); } else { offVol = 0; }; t1.volume = offVol; offCh.soundTransform = t1; }; if (((!((curCh == null))) && ((((offVol < (vol / 2))) || ((offCh == null)))))){ if (curVol < vol){ curVol = (curVol + volFadeSpeed); } else { curVol = vol; }; t2.volume = curVol; curCh.soundTransform = t2; }; if (curVol > (vol - 0.0001)){ if (offCh != null){ offCh.stop(); }; timerVolFader.stop(); timerVolFader.removeEventListener(TimerEvent.TIMER, timerVolFader_Timer); }; } } }//package main
Section 107
//musLose (main.musLose) package main { import flash.media.*; public dynamic class musLose extends Sound { } }//package main
Section 108
//musMenu (main.musMenu) package main { import flash.media.*; public dynamic class musMenu extends Sound { } }//package main
Section 109
//musStory (main.musStory) package main { import flash.media.*; public dynamic class musStory extends Sound { } }//package main
Section 110
//musTrasher (main.musTrasher) package main { import flash.media.*; public dynamic class musTrasher extends Sound { } }//package main
Section 111
//musUpgrade (main.musUpgrade) package main { import flash.media.*; public dynamic class musUpgrade extends Sound { } }//package main
Section 112
//musWin (main.musWin) package main { import flash.media.*; public dynamic class musWin extends Sound { } }//package main
Section 113
//PanoramaFactory1 (main.PanoramaFactory1) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class PanoramaFactory1 extends baseObject { public function PanoramaFactory1(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ paralaxX = 250; paralaxY = 125; saveX = x; saveY = y; Level(parent).paralaxObjects.push(this); }; } } }//package main
Section 114
//PanoramaForest1 (main.PanoramaForest1) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class PanoramaForest1 extends baseObject { public function PanoramaForest1(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ paralaxX = 250; paralaxY = 125; saveX = x; saveY = y; Level(parent).paralaxObjects.push(this); }; } } }//package main
Section 115
//PanoramaTown1 (main.PanoramaTown1) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class PanoramaTown1 extends baseObject { public function PanoramaTown1(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ paralaxX = 250; paralaxY = 125; saveX = x; saveY = y; Level(parent).paralaxObjects.push(this); }; } } }//package main
Section 116
//PistolReloaded (main.PistolReloaded) package main { import flash.media.*; public dynamic class PistolReloaded extends Sound { } }//package main
Section 117
//pistolShoot1 (main.pistolShoot1) package main { import flash.media.*; public dynamic class pistolShoot1 extends Sound { } }//package main
Section 118
//pistolShoot2 (main.pistolShoot2) package main { import flash.media.*; public dynamic class pistolShoot2 extends Sound { } }//package main
Section 119
//preloader (main.preloader) package main { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.text.*; public dynamic class preloader extends MovieClip { public var txt:TextField; var timerLoadAds:Timer; public function preloader(){ timerLoadAds = new Timer(4000, 1); super(); addFrameScript(0, frame1); if (0){ } else { addEventListener(Event.ENTER_FRAME, Update); timerLoadAds.start(); }; } function frame1(){ stop(); } public function isUrl(_arg1:Array):Boolean{ var _local2:String = stage.loaderInfo.loaderURL; var _local3:Number = (_local2.indexOf("://") + 3); var _local4:Number = _local2.indexOf("/", _local3); var _local5:String = _local2.substring(_local3, _local4); var _local6:Number = (_local5.lastIndexOf(".") - 1); var _local7:Number = (_local5.lastIndexOf(".", _local6) + 1); _local5 = _local5.substring(_local7, _local5.length); var _local8:int; while (_local8 < _arg1.length) { if (_local5 == _arg1[_local8]){ return (true); }; _local8++; }; return (false); } public function Update(_arg1:Event):void{ var _local2:Number = stage.loaderInfo.bytesLoaded; var _local3:Number = stage.loaderInfo.bytesTotal; var _local4 = ""; var _local5:Number = 0; if (_local3 > 0){ _local5 = Math.floor(((_local2 / _local3) * 100)); }; this.gotoAndStop((ageMath.RandomInt(-3, 3) + Math.round(ageMath.RemapVal((_local5 + 1), 1, 100, 1, 500)))); if ((((((_local2 == _local3)) || ((_local3 == 0)))) && (!(timerLoadAds.running)))){ y = ageMath.Lerp(y, (stage.stageHeight + 5), 0.3); } else { y = ageMath.Lerp(y, 285, 0.3); }; if (_local5 >= 100){ txt.text = "WAIT..."; }; if ((((_local2 == _local3)) || ((_local3 == 0)))){ if (!timerLoadAds.running){ if (y > stage.stageHeight){ if ((parent is MovieClip)){ (parent as MovieClip).bPlay.visible = true; visible = false; removeEventListener(Event.ENTER_FRAME, Update); }; }; }; }; } } }//package main
Section 120
//projBombWep (main.projBombWep) package main { public dynamic class projBombWep extends projObject { } }//package main
Section 121
//projBullet (main.projBullet) package main { public dynamic class projBullet extends projObject { } }//package main
Section 122
//projLaserBeam (main.projLaserBeam) package main { public dynamic class projLaserBeam extends fxObject { } }//package main
Section 123
//projMinigunBeam (main.projMinigunBeam) package main { public dynamic class projMinigunBeam extends fxObject { public function projMinigunBeam(){ addFrameScript(8, frame9); } function frame9(){ visible = false; stop(); } } }//package main
Section 124
//projObject (main.projObject) package main { public class projObject extends dynObject { var fromGoodGuy:Boolean;// = false var electroDamageVal:Number;// = 0 var bioDamageVal:Number;// = 0 var infAmmo:Boolean;// = false var useBioDamage:Boolean;// = false var useElectroDamage:Boolean;// = false var blastStyle:Boolean;// = false var usePsyDamage:Boolean;// = false var laserStyle:Boolean;// = false var damage:Number;// = 1 var attackRadius:Number;// = 1 var psyDamageVal:Number;// = 0 } }//package main
Section 125
//projRocket (main.projRocket) package main { public dynamic class projRocket extends projObject { } }//package main
Section 126
//projVomit (main.projVomit) package main { public dynamic class projVomit extends projObject { } }//package main
Section 127
//propAK (main.propAK) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class propAK extends propObject { public function propAK(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.wepNum = 2; this.propType = "Weapon"; } } }//package main
Section 128
//propAKAmmo (main.propAKAmmo) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class propAKAmmo extends propObject { public function propAKAmmo(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.propType = "Ammo"; this.wepNum = 2; this.moneyAmount = 1; } } }//package main
Section 129
//propBlaster (main.propBlaster) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class propBlaster extends propObject { public function propBlaster(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.wepNum = 4; this.propType = "Weapon"; } } }//package main
Section 130
//propBlasterAmmo (main.propBlasterAmmo) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class propBlasterAmmo extends propObject { public function propBlasterAmmo(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.propType = "Ammo"; this.wepNum = 4; this.moneyAmount = 1; } } }//package main
Section 131
//propCloth (main.propCloth) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class propCloth extends propObject { public function propCloth(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.propType = "Item"; this.itemName = "cloth"; } } }//package main
Section 132
//propCoin (main.propCoin) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class propCoin extends propObject { public function propCoin(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.moneyAmount = 5; this.propType = "Coin"; } } }//package main
Section 133
//propDebris (main.propDebris) package main { public dynamic class propDebris extends propObject { public function propDebris(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package main
Section 134
//propDynamite (main.propDynamite) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class propDynamite extends propObject { public function propDynamite(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.propType = "Item"; this.itemName = "dynamite"; } } }//package main
Section 135
//propFood (main.propFood) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class propFood extends propObject { public function propFood(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.propType = "Item"; this.itemName = "food"; } } }//package main
Section 136
//propGasmask (main.propGasmask) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class propGasmask extends propObject { public function propGasmask(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.propType = "Item"; this.itemName = "gasmask"; } } }//package main
Section 137
//propLever (main.propLever) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class propLever extends propObject { public function propLever(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.propType = "Item"; this.itemName = "lever"; } } }//package main
Section 138
//propMinigun (main.propMinigun) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class propMinigun extends propObject { public function propMinigun(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.wepNum = 3; this.propType = "Weapon"; } } }//package main
Section 139
//propMinigunAmmo (main.propMinigunAmmo) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class propMinigunAmmo extends propObject { public function propMinigunAmmo(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.propType = "Ammo"; this.wepNum = 3; this.moneyAmount = 1; } } }//package main
Section 140
//propMoney1 (main.propMoney1) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class propMoney1 extends propObject { public function propMoney1(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.moneyAmount = 15; this.propType = "Money"; } } }//package main
Section 141
//propMoney2 (main.propMoney2) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class propMoney2 extends propObject { public function propMoney2(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.moneyAmount = 35; this.propType = "Money"; } } }//package main
Section 142
//propObject (main.propObject) package main { import flash.display.*; public class propObject extends dynObject { public var p1:MovieClip; public var body:MovieClip; public var p3:MovieClip; public var p2:MovieClip; public var p4:MovieClip; var moneyAmount:Number;// = 5 var wepNum:int;// = 1 var propType:String;// = "none" var itemName:String;// = "none" } }//package main
Section 143
//propShotgun (main.propShotgun) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class propShotgun extends propObject { public function propShotgun(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.wepNum = 1; this.propType = "Weapon"; } } }//package main
Section 144
//propShotgunAmmo (main.propShotgunAmmo) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class propShotgunAmmo extends propObject { public function propShotgunAmmo(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.propType = "Ammo"; this.wepNum = 1; this.moneyAmount = 2; } } }//package main
Section 145
//propValve (main.propValve) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class propValve extends propObject { public function propValve(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.propType = "Item"; this.itemName = "valve"; } } }//package main
Section 146
//psyProj (main.psyProj) package main { public dynamic class psyProj extends projObject { } }//package main
Section 147
//RedHouse02_paralax (main.RedHouse02_paralax) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class RedHouse02_paralax extends baseObject { public function RedHouse02_paralax(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ paralaxX = 150; paralaxY = 40; saveX = x; saveY = y; Level(parent).paralaxObjects.push(this); }; } } }//package main
Section 148
//redHouseWithCellApp_paralax (main.redHouseWithCellApp_paralax) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class redHouseWithCellApp_paralax extends baseObject { public function redHouseWithCellApp_paralax(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ paralaxX = 150; paralaxY = 40; saveX = x; saveY = y; Level(parent).paralaxObjects.push(this); }; } } }//package main
Section 149
//reload1 (main.reload1) package main { import flash.media.*; public dynamic class reload1 extends Sound { } }//package main
Section 150
//ReloadCurType (main.ReloadCurType) package main { import flash.display.*; public dynamic class ReloadCurType extends MovieClip { public function ReloadCurType(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package main
Section 151
//reloaded (main.reloaded) package main { import flash.media.*; public dynamic class reloaded extends Sound { } }//package main
Section 152
//Ricochet1 (main.Ricochet1) package main { import flash.media.*; public dynamic class Ricochet1 extends Sound { } }//package main
Section 153
//Ricochet2 (main.Ricochet2) package main { import flash.media.*; public dynamic class Ricochet2 extends Sound { } }//package main
Section 154
//Ricochet3 (main.Ricochet3) package main { import flash.media.*; public dynamic class Ricochet3 extends Sound { } }//package main
Section 155
//Ricochet4 (main.Ricochet4) package main { import flash.media.*; public dynamic class Ricochet4 extends Sound { } }//package main
Section 156
//roadHouses (main.roadHouses) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class roadHouses extends baseObject { public function roadHouses(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ paralaxX = 120; paralaxY = 90; saveX = x; saveY = y; Level(parent).paralaxObjects.push(this); }; } } }//package main
Section 157
//roadHouses2 (main.roadHouses2) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class roadHouses2 extends baseObject { public function roadHouses2(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ paralaxX = 120; paralaxY = 90; saveX = x; saveY = y; Level(parent).paralaxObjects.push(this); }; } } }//package main
Section 158
//roadHouses3 (main.roadHouses3) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class roadHouses3 extends baseObject { public function roadHouses3(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ paralaxX = 120; paralaxY = 90; saveX = x; saveY = y; Level(parent).paralaxObjects.push(this); }; } } }//package main
Section 159
//roboAttack (main.roboAttack) package main { import flash.media.*; public dynamic class roboAttack extends Sound { } }//package main
Section 160
//robotStep1 (main.robotStep1) package main { import flash.media.*; public dynamic class robotStep1 extends Sound { } }//package main
Section 161
//robotStep2 (main.robotStep2) package main { import flash.media.*; public dynamic class robotStep2 extends Sound { } }//package main
Section 162
//RPGShoot1 (main.RPGShoot1) package main { import flash.media.*; public dynamic class RPGShoot1 extends Sound { } }//package main
Section 163
//sawAttack1 (main.sawAttack1) package main { import flash.media.*; public dynamic class sawAttack1 extends Sound { } }//package main
Section 164
//sawAttack2 (main.sawAttack2) package main { import flash.media.*; public dynamic class sawAttack2 extends Sound { } }//package main
Section 165
//sawAttack3 (main.sawAttack3) package main { import flash.media.*; public dynamic class sawAttack3 extends Sound { } }//package main
Section 166
//ShotgunReload (main.ShotgunReload) package main { import flash.media.*; public dynamic class ShotgunReload extends Sound { } }//package main
Section 167
//ShotgunReloaded (main.ShotgunReloaded) package main { import flash.media.*; public dynamic class ShotgunReloaded extends Sound { } }//package main
Section 168
//ShotgunShoot1 (main.ShotgunShoot1) package main { import flash.media.*; public dynamic class ShotgunShoot1 extends Sound { } }//package main
Section 169
//ShotgunShoot2 (main.ShotgunShoot2) package main { import flash.media.*; public dynamic class ShotgunShoot2 extends Sound { } }//package main
Section 170
//sndMed (main.sndMed) package main { import flash.media.*; public dynamic class sndMed extends Sound { } }//package main
Section 171
//sndMoney1 (main.sndMoney1) package main { import flash.media.*; public dynamic class sndMoney1 extends Sound { } }//package main
Section 172
//sounds (main.sounds) package main { import flash.display.*; import flash.geom.*; import flash.utils.*; import flash.media.*; public dynamic class sounds { static var stageRadius:Number; public static var vol:Number = 0.9; static var snd:Object; public static var sndEnable:Boolean = true; public static function PlaySnd(_arg1:String, _arg2:Number=NaN, _arg3:MovieClip=null, _arg4:Stage=null):void{ var _local5:SoundTransform; var _local6:Number; var _local7:Number; var _local8:Point; var _local9:ageVector; if (!sndEnable){ return; }; if (_arg3 == null){ _local5 = new SoundTransform(); _local5.volume = vol; snd[_arg1].play(0, 0, _local5); } else { if (((!(vol)) || ((_arg4 == null)))){ return; }; _local5 = new SoundTransform(); _local8 = _arg3.localToGlobal(new Point((_arg3.width / 2), (_arg3.height / 2))); _local6 = (_local8.x - (_arg4.stageWidth / 2)); _local7 = (_local8.y - (_arg4.stageHeight / 2)); _local9 = new ageVector(); _local9.set(_local6, _local7); _local5.volume = ageMath.trimToRange((vol * ageMath.RemapVal(_local9.len(), 0, (_arg2 * stageRadius), 1, 0)), 0, 1); _local5.pan = ageMath.trimToRange(ageMath.RemapVal(_local9.x, (-(stageRadius) / 2), (stageRadius / 2), -1, 1), -1, 1); snd[_arg1].play(0, 0, _local5); }; } public static function init(_arg1:Number, _arg2:Number){ snd = new Object(); snd["TedPain1"] = new TedPain1(); snd["TedPain2"] = new TedPain2(); snd["TedPain3"] = new TedPain3(); snd["TedDie1"] = new TedDie1(); snd["TedDie2"] = new TedDie2(); snd["ZombieVoice1"] = new ZombieVoice1(); snd["ZombieVoice2"] = new ZombieVoice2(); snd["ZombieVoice3"] = new ZombieVoice3(); snd["ZombieVoice4"] = new ZombieVoice4(); snd["AlienVoice1"] = new alienVox1(); snd["AlienVoice2"] = new alienVox2(); snd["AlienVoice3"] = new alienVox3(); snd["AlienVoice4"] = new alienVox4(); snd["AlienVoice5"] = new alienVox5(); snd["AlienVoice6"] = new alienVox6(); snd["AlienVoice7"] = new alienVox7(); snd["alienPain1"] = new alienPain1(); snd["alienPain2"] = new alienPain2(); snd["alienPain3"] = new alienPain3(); snd["alienPain4"] = new alienPain4(); snd["PistolShoot1"] = new pistolShoot1(); snd["PistolShoot2"] = new pistolShoot2(); snd["PistolReloaded"] = new PistolReloaded(); snd["PistolReload"] = new reload1(); snd["AKShoot1"] = new AKShoot1(); snd["AKShoot2"] = new AKShoot2(); snd["AKReloaded"] = new reloaded(); snd["AKReload"] = new reload1(); snd["ShotgunShoot1"] = new ShotgunShoot1(); snd["ShotgunShoot2"] = new ShotgunShoot2(); snd["ShotgunReload"] = new ShotgunReload(); snd["ShotgunReloaded"] = new ShotgunReloaded(); snd["alienBlasterShoot1"] = new alienBlasterShoot1(); snd["alienBlasterShoot2"] = new alienBlasterShoot2(); snd["BlasterShoot1"] = new alienBlasterShoot1(); snd["BlasterShoot2"] = new alienBlasterShoot2(); snd["BlasterReloaded"] = new reloaded(); snd["BlasterReload"] = new reload1(); snd["MinigunShoot1"] = new MinigunShoot1(); snd["MinigunShoot2"] = new MinigunShoot1(); snd["MinigunReload"] = new MinigunReload(); snd["MinigunReloaded"] = new MinigunReloaded(); snd["RPGShoot1"] = new RPGShoot1(); snd["RPGShoot2"] = new RPGShoot1(); snd["RPGReload"] = new ShotgunReload(); snd["RPGReloaded"] = new ShotgunReloaded(); snd["LasergunShoot1"] = new LasergunShoot1(); snd["LasergunShoot2"] = new LasergunShoot1(); snd["LasergunReload"] = new ShotgunReload(); snd["LasergunReloaded"] = new ShotgunReloaded(); snd["DDDShoot1"] = new AKShoot1(); snd["DDDShoot2"] = new AKShoot2(); snd["DDDReload"] = new ShotgunReload(); snd["DDDReloaded"] = new ShotgunReloaded(); snd["bomb2"] = new bomb2(); snd["bombExp"] = new bombExp(); snd["midExp"] = new midExp(); snd["bigExp"] = new bigExp(); snd["cocking"] = new cocking(); snd["VomitShoot1"] = new bodyBlood1(); snd["VomitShoot2"] = new bodyBlood2(); snd["VomitReloaded"] = new bodyBlood3(); snd["VomitReload"] = new bodyBlood2(); snd["sawAttack1"] = new sawAttack1(); snd["sawAttack2"] = new sawAttack2(); snd["sawAttack3"] = new sawAttack3(); snd["ElectroWave"] = new ElectroWave(); snd["bodyFall1"] = new bodyFall1(); snd["bodyFall2"] = new bodyFall2(); snd["bodyFall3"] = new bodyFall3(); snd["bodyFall4"] = new bodyFall4(); snd["bodyBlood1"] = new bodyBlood1(); snd["bodyBlood2"] = new bodyBlood2(); snd["bodyBlood3"] = new bodyBlood3(); snd["Ricochet1"] = new Ricochet1(); snd["Ricochet2"] = new Ricochet2(); snd["Ricochet3"] = new Ricochet3(); snd["Ricochet4"] = new Ricochet4(); snd["Coin1"] = new Coin1(); snd["Coin2"] = new Coin2(); snd["Money1"] = new sndMoney1(); snd["itemTake"] = new itemTake(); snd["Med"] = new sndMed(); snd["robotStep1"] = new robotStep1(); snd["robotStep2"] = new robotStep2(); snd["cashReg"] = new cashReg(); snd["menuClick"] = new menuClick(); snd["paper1"] = new paper1(); snd["buy"] = new buy(); snd["menuShow"] = new menuShow2(); snd["menuHide"] = new menuHide2(); snd["helpIco"] = new helpIco(); snd["sewerDoorOpen"] = new menuShow2(); stageRadius = (_arg1 / 2); } } }//package main
Section 173
//Spider (main.Spider) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Spider extends actorObject { public function Spider(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Spider"); }; } } }//package main
Section 174
//SpiderBig (main.SpiderBig) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class SpiderBig extends actorObject { public function SpiderBig(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("SpiderBig"); }; } } }//package main
Section 175
//storyMult (main.storyMult) package main { import flash.display.*; import flash.events.*; public dynamic class storyMult extends MovieClip { public var butSkip:SimpleButton; public function storyMult(){ addFrameScript(0, frame1, 1689, frame1690); } function frame1(){ butSkip.addEventListener(MouseEvent.CLICK, butSkip_Click); } function frame1690(){ stop(); Game(parent).menuMain.butNewFuncStart(); Game(parent).removeChild(this); } public function butSkip_Click(_arg1:Event):void{ sounds.PlaySnd("menuClick"); this.gotoAndStop(1690); } } }//package main
Section 176
//Ted (main.Ted) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Ted extends actorObject { public function Ted(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); initParams("Ted"); }; } } }//package main
Section 177
//trees01 (main.trees01) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class trees01 extends baseObject { public function trees01(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ paralaxX = 80; paralaxY = 40; saveX = x; saveY = y; Level(parent).paralaxObjects.push(this); }; } } }//package main
Section 178
//trees01_1 (main.trees01_1) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class trees01_1 extends baseObject { public function trees01_1(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ paralaxX = 80; paralaxY = 40; saveX = x; saveY = y; Level(parent).paralaxObjects.push(this); }; } } }//package main
Section 179
//trees02 (main.trees02) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class trees02 extends baseObject { public function trees02(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ paralaxX = 100; paralaxY = 40; saveX = x; saveY = y; Level(parent).paralaxObjects.push(this); }; } } }//package main
Section 180
//trees03 (main.trees03) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class trees03 extends baseObject { public function trees03(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ paralaxX = 80; paralaxY = 40; saveX = x; saveY = y; Level(parent).paralaxObjects.push(this); }; } } }//package main
Section 181
//trees04 (main.trees04) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class trees04 extends baseObject { public function trees04(){ addFrameScript(0, frame1); } function frame1(){ if (!initIDE){ paralaxX = 90; paralaxY = 40; saveX = x; saveY = y; Level(parent).paralaxObjects.push(this); }; } } }//package main
Section 182
//triggerMarker (main.triggerMarker) package main { import flash.display.*; public dynamic class triggerMarker extends MovieClip { public function triggerMarker(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package main
Section 183
//upgCrate (main.upgCrate) package main { import flash.display.*; public dynamic class upgCrate extends MovieClip { public var p0:MovieClip; public var p1:MovieClip; public var p3:MovieClip; public var p2:MovieClip; var diskImageRectangleBitmapData:BitmapData; public var info:MovieClip; public function upgCrate(){ var _local1:DistortImage; super(); addFrameScript(0, frame1); diskImageRectangleBitmapData = new BitmapData(info.width, info.height, true, 0); diskImageRectangleBitmapData.draw(info); _local1 = new DistortImage(diskImageRectangleBitmapData, 2, 2, true); addChild(_local1); _local1.setTransform(p0.x, p0.y, p1.x, p1.y, p2.x, p2.y, p3.x, p3.y); } function frame1(){ } public function UpdateInfo():void{ diskImageRectangleBitmapData.draw(info); } } }//package main
Section 184
//upgItem (main.upgItem) package main { public dynamic class upgItem { var sold:Boolean;// = false var active:Boolean;// = false var levAvailable:int;// = 1 var param:Number;// = 1 var info:String; var cost:int;// = 120 var typeOp:int;// = 1 var upgAvailable:int;// = 1 var paramName:String;// = "" public function upgItem(_arg1:String, _arg2:int, _arg3:int, _arg4:int, _arg5:String, _arg6:Number, _arg7:int){ info = _arg1; levAvailable = _arg2; upgAvailable = _arg3; cost = _arg4; param = _arg6; paramName = _arg5; typeOp = _arg7; sold = false; active = false; } public function loadParams(_arg1:String){ active = Boolean(mainGlobal.myCookie.get((_arg1 + "active"))); sold = Boolean(mainGlobal.myCookie.get((_arg1 + "sold"))); } public function saveParams(_arg1:String){ mainGlobal.myCookie.putNoFlush((_arg1 + "active"), active); mainGlobal.myCookie.putNoFlush((_arg1 + "sold"), sold); } } }//package main
Section 185
//upgPaper (main.upgPaper) package main { import flash.display.*; import flash.events.*; import flash.text.*; public dynamic class upgPaper extends MovieClip { public var upgItem8:upgPaperParam; public var upgItem9:upgPaperParam; public var buttAccept:SimpleButton; var lastMC:DisplayObject; var curUpgrades:Array; var heroMoney:int;// = 1800 var weaponsAmmo:Array; var curWepNum:int;// = 0 var typeUpg:int;// = 0 public var sel:upgPaperFrame; var weaponsAmmoMax:Array; public var buttCancel:upgButtCancel; public var txtMoney:TextField; public var upgItem1:upgPaperParam; public var upgItem2:upgPaperParam; public var upgItem3:upgPaperParam; public var upgItem4:upgPaperParam; public var upgItem5:upgPaperParam; public var upgItem6:upgPaperParam; public var upgItem7:upgPaperParam; public var txtWepName:TextField; public var upgItem10:upgPaperParam; public function upgPaper(){ weaponsAmmo = new Array(); weaponsAmmoMax = new Array(); super(); buttCancel.addEventListener(MouseEvent.CLICK, buttCancelClick); buttAccept.addEventListener(MouseEvent.CLICK, buttAcceptClick); this.addEventListener(Event.ENTER_FRAME, Update); this.addEventListener(MouseEvent.CLICK, MouseClick); lastMC = DisplayObject(getChildByName("upgItem1")); } function buttAcceptClick(_arg1:MouseEvent):void{ var _local2:*; var _local3:int; var _local4:DisplayObject; MovieClip(parent).fader50perc.startFadeOut(); MovieClip(parent).showPaper = false; sounds.PlaySnd("cashReg", 1); Game(parent.parent).curLev.hero.moneyCnt = heroMoney; if (typeUpg == 3){ _local3 = 1; while (_local3 < 6) { Game(parent.parent).curLev.hero.weapons[_local3].bulletsNum = weaponsAmmo[(_local3 - 1)]; curUpgrades[(_local3 - 1)].sold = false; _local3++; }; }; if (typeUpg != 3){ _local2 = 1; while (_local2 < 11) { _local4 = DisplayObject(getChildByName(("upgItem" + _local2))); if (((_local4.visible) && ((_local4.alpha > 0.98)))){ if (curUpgrades[(_local2 - 1)].sold){ if (typeUpg < 5){ curUpgrades[(_local2 - 1)].active = true; curUpgrades[(_local2 - 1)].sold = false; Game(parent.parent).curLev.hero.applyUpgrade(typeUpg, (_local2 - 1)); } else { curUpgrades[(_local2 - 1)].active = true; curUpgrades[(_local2 - 1)].sold = false; Game(parent.parent).curLev.hero.weapons[curWepNum].applyUpgrade((_local2 - 1)); }; }; }; _local2++; }; }; MovieClip(parent).showShop(); } function updateMenu():void{ var _local2:Array; var _local3:upgPaperParam; txtMoney.text = (("You have " + heroMoney) + "$"); var _local1 = 1; while (_local1 < 11) { _local3 = upgPaperParam(getChildByName(("upgItem" + _local1))); _local2 = _local3.filters; if (((curUpgrades) && ((_local1 <= curUpgrades.length)))){ _local3.visible = true; _local3.txt.text = ((("(" + curUpgrades[(_local1 - 1)].cost) + "$) ") + curUpgrades[(_local1 - 1)].info); if ((((((Game(parent.parent).curLev.curLevNum >= curUpgrades[(_local1 - 1)].levAvailable)) && ((((((curUpgrades[(_local1 - 1)].upgAvailable == -1)) || (curUpgrades[curUpgrades[(_local1 - 1)].upgAvailable].sold))) || (curUpgrades[curUpgrades[(_local1 - 1)].upgAvailable].active))))) && (((!((typeUpg == 3))) || (Game(parent.parent).curLev.hero.weapons[_local1].active))))){ if (typeUpg == 3){ _local3.txt.text = (((((_local3.txt.text + " [") + weaponsAmmo[(_local1 - 1)]) + "/") + weaponsAmmoMax[(_local1 - 1)]) + "]"); }; if (((curUpgrades[(_local1 - 1)].sold) || (curUpgrades[(_local1 - 1)].active))){ _local2[0].strength = 1.2; _local2[0].color = 0xFF00; _local3.alpha = 1; } else { if (heroMoney >= curUpgrades[(_local1 - 1)].cost){ _local2[0].strength = 0; _local3.alpha = 1; } else { _local2[0].strength = 1.2; _local2[0].color = 0xFF0000; _local3.alpha = 1; }; }; } else { _local2[0].strength = 0; _local3.alpha = 0.3; }; } else { _local3.visible = false; }; _local3.filters = _local2; _local1++; }; } function buttCancelClick(_arg1:MouseEvent):void{ var _local2:int; var _local3:DisplayObject; MovieClip(parent).fader50perc.startFadeOut(); MovieClip(parent).showPaper = false; sounds.PlaySnd("paper1", 1); _local2 = 1; while (_local2 < 11) { _local3 = DisplayObject(getChildByName(("upgItem" + _local2))); if (((_local3.visible) && ((_local3.alpha > 0.98)))){ if (curUpgrades[(_local2 - 1)].sold){ curUpgrades[(_local2 - 1)].sold = false; }; }; _local2++; }; MovieClip(parent).showShop(); } function MouseClick(_arg1:MouseEvent):void{ var _local2:int; var _local3:DisplayObject; _local2 = 1; while (_local2 < 11) { _local3 = DisplayObject(getChildByName(("upgItem" + _local2))); if (((((((_local3.visible) && ((_local3.alpha > 0.98)))) && (ageMath.inRange((Controls.mousePosX - x), _local3.x, (_local3.x + _local3.width))))) && (ageMath.inRange((Controls.mousePosY - y), _local3.y, (_local3.y + _local3.height))))){ if (((((!(curUpgrades[(_local2 - 1)].sold)) && (!(curUpgrades[(_local2 - 1)].active)))) && ((heroMoney >= curUpgrades[(_local2 - 1)].cost)))){ heroMoney = (heroMoney - curUpgrades[(_local2 - 1)].cost); sounds.PlaySnd("buy", 1); if (typeUpg == 3){ weaponsAmmo[(_local2 - 1)] = (weaponsAmmo[(_local2 - 1)] + Game(parent.parent).curLev.hero.weapons[_local2].bulletsInCatrigeMax); sounds.PlaySnd((Game(parent.parent).curLev.hero.weapons[_local2].type + "Reloaded")); if (weaponsAmmo[(_local2 - 1)] >= weaponsAmmoMax[(_local2 - 1)]){ weaponsAmmo[(_local2 - 1)] = weaponsAmmoMax[(_local2 - 1)]; curUpgrades[(_local2 - 1)].sold = true; }; updateMenu(); } else { curUpgrades[(_local2 - 1)].sold = true; }; }; break; }; _local2++; }; updateMenu(); } public function Update(_arg1:Event):void{ var _local2:int; var _local4:DisplayObject; if (((!(visible)) || (!(MovieClip(parent).visible)))){ return; }; var _local3:Boolean; _local2 = 1; while (_local2 < 11) { _local4 = DisplayObject(getChildByName(("upgItem" + _local2))); if (((((((_local4.visible) && ((_local4.alpha > 0.98)))) && (ageMath.inRange((Controls.mousePosX - x), _local4.x, (_local4.x + _local4.width))))) && (ageMath.inRange((Controls.mousePosY - y), _local4.y, (_local4.y + _local4.height))))){ sel.startFadeIn(); sel.y = ageMath.Lerp(_local4.y, sel.y, 0.4); lastMC = _local4; _local3 = false; break; }; _local2++; }; if (_local3){ sel.y = ageMath.Lerp(lastMC.y, sel.y, 0.4); sel.startFadeOut(); }; } } }//package main
Section 186
//upgPaperFrame (main.upgPaperFrame) package main { public dynamic class upgPaperFrame extends alphaFader { } }//package main
Section 187
//upgPaperParam (main.upgPaperParam) package main { import flash.display.*; import flash.text.*; public dynamic class upgPaperParam extends MovieClip { public var txt:TextField; } }//package main
Section 188
//weaponParam (main.weaponParam) package main { public dynamic class weaponParam { var bulletsDecr:int;// = 1 var shootFunc:Function; var active:Boolean;// = false var bulletsInCatrigeMax:int;// = 7 var bulletsInCatrige:int;// = 7 var bulletsNumMax:int;// = 120 var blastStyle:Boolean;// = false var bulletsNum:int;// = 120 var bulletDelay:int;// = 500 var curLevel:Level; var accDecSpeed:Number;// = 0.1 var bulletsShotCnt:int;// = 1 var type:String; var accDistScale:Number;// = 300 var infAmmo:Boolean;// = false var upgrades:Array; var accShootInc:Number;// = 1 var damageRadius:Number;// = 1 var accHi:Number;// = 4 var useDiffArms:Boolean;// = false var accLo:Number;// = 0.1 var bulletSpeed:Number;// = 24 var reloadDelay:int;// = 2000 var damage:Number;// = 1 public function weaponParam(_arg1:String, _arg2:Level){ upgrades = new Array(); super(); curLevel = _arg2; type = _arg1; var _local3 = 2; if (_arg1 == "Pistol"){ useDiffArms = true; bulletDelay = 400; reloadDelay = 1200; accShootInc = 1.5; bulletsInCatrige = (bulletsInCatrigeMax = 10); bulletsNum = (bulletsNumMax = 500); damage = 1; active = false; infAmmo = true; shootFunc = (curLevel.addProj as Function); upgrades.push(new upgItem("Accuracy 1.5x", 1, -1, 150, "accShootInc", 1, 2)); upgrades.push(new upgItem("Accuracy 2.0x", 1, 0, 250, "accShootInc", 0.8, 2)); upgrades.push(new upgItem("Accuracy 2.5x", 1, 1, 320, "accShootInc", 0.5, 2)); upgrades.push(new upgItem("Rate of fire +25%", 1, -1, 150, "bulletDelay", 375, 2)); upgrades.push(new upgItem("Rate of fire +50%", 1, 3, 280, "bulletDelay", 250, 2)); upgrades.push(new upgItem("Magazine +5", 1, -1, 200, "bulletsInCatrige", 15, 2)); upgrades.push(new upgItem("Magazine +10", 1, 5, 300, "bulletsInCatrige", 20, 2)); upgrades.push(new upgItem("Reload +25%", 1, -1, 150, "reloadDelay", 900, 2)); upgrades.push(new upgItem("Reload +50%", 1, 7, 200, "reloadDelay", 750, 2)); } else { if (_arg1 == "Shotgun"){ useDiffArms = false; bulletDelay = 950; reloadDelay = 2500; accShootInc = 2.5; bulletsInCatrige = (bulletsInCatrigeMax = 8); bulletsNumMax = 128; bulletsNum = (bulletsInCatrigeMax * _local3); damage = 0.8; bulletsShotCnt = 4; active = false; shootFunc = (curLevel.addProj as Function); upgrades.push(new upgItem("Accuracy 1.5x", 1, -1, 150, "accShootInc", 2, 2)); upgrades.push(new upgItem("Accuracy 2.0x", 1, 0, 250, "accShootInc", 1.5, 2)); upgrades.push(new upgItem("Accuracy 2.5x", 1, 1, 350, "accShootInc", 1, 2)); upgrades.push(new upgItem("Rate of fire +25%", 1, -1, 250, "bulletDelay", 800, 2)); upgrades.push(new upgItem("Rate of fire +50%", 1, 3, 380, "bulletDelay", 550, 2)); upgrades.push(new upgItem("Number of shots +1", 1, -1, 250, "bulletsShotCnt", 5, 2)); upgrades.push(new upgItem("Number of shots +2", 1, 5, 400, "bulletsShotCnt", 6, 2)); upgrades.push(new upgItem("Number of shots +3", 1, 6, 550, "bulletsShotCnt", 7, 2)); upgrades.push(new upgItem("Reload +30%", 1, -1, 350, "reloadDelay", 1750, 2)); upgrades.push(new upgItem("Damage +20%", 1, -1, 450, "damage", 1, 2)); } else { if (_arg1 == "AK"){ useDiffArms = false; bulletDelay = 200; reloadDelay = 2000; accShootInc = 0.8; accHi = 3; bulletsInCatrige = (bulletsInCatrigeMax = 30); bulletsNumMax = 600; bulletsNum = (bulletsInCatrigeMax * _local3); damage = 1; active = false; shootFunc = (curLevel.addProj as Function); upgrades.push(new upgItem("Accuracy 1.5x", 1, -1, 200, "accShootInc", 0.8, 2)); upgrades.push(new upgItem("Accuracy 2.0x", 1, 0, 400, "accShootInc", 0.53, 2)); upgrades.push(new upgItem("Rate of fire +40%", 1, -1, 450, "bulletDelay", 120, 2)); upgrades.push(new upgItem("Magazine +5", 1, -1, 200, "bulletsInCatrige", 35, 2)); upgrades.push(new upgItem("Magazine +12", 1, 3, 250, "bulletsInCatrige", 42, 2)); upgrades.push(new upgItem("Magazine +18", 1, 4, 350, "bulletsInCatrige", 48, 2)); upgrades.push(new upgItem("Reload +30%", 1, -1, 350, "reloadDelay", 1400, 2)); upgrades.push(new upgItem("Damage +20%", 1, -1, 350, "damage", 1.2, 2)); upgrades.push(new upgItem("Damage +50%", 1, 7, 550, "damage", 1.4, 2)); } else { if (_arg1 == "Minigun"){ useDiffArms = false; bulletDelay = 100; reloadDelay = 3500; accShootInc = 1; accHi = 2.5; bulletsInCatrige = (bulletsInCatrigeMax = 200); bulletsNumMax = 1200; bulletsNum = (bulletsInCatrigeMax * 6); damage = 1; active = false; bulletsDecr = 3; shootFunc = (curLevel.addProj_MinigunBeam as Function); upgrades.push(new upgItem("Accuracy 1.5x", 1, -1, 350, "accShootInc", 0.8, 2)); upgrades.push(new upgItem("Accuracy 2.0x", 1, 0, 550, "accShootInc", 0.4, 2)); upgrades.push(new upgItem("Rate of fire +20%", 1, -1, 350, "bulletDelay", 80, 2)); upgrades.push(new upgItem("Rate of fire +40%", 1, 2, 550, "bulletDelay", 60, 2)); upgrades.push(new upgItem("Magazine +50", 1, -1, 250, "bulletsInCatrige", 250, 2)); upgrades.push(new upgItem("Magazine +100", 1, 4, 350, "bulletsInCatrige", 300, 2)); upgrades.push(new upgItem("Reload +50%", 1, -1, 580, "reloadDelay", 1400, 2)); upgrades.push(new upgItem("Damage +30%", 1, -1, 350, "damage", 1.2, 2)); upgrades.push(new upgItem("Damage +60%", 1, 7, 600, "damage", 1.5, 2)); } else { if (_arg1 == "Blaster"){ useDiffArms = false; bulletDelay = 500; reloadDelay = 2000; accShootInc = 1; accHi = 3; bulletsInCatrige = (bulletsInCatrigeMax = 15); bulletsNumMax = 60; bulletsNum = (bulletsInCatrigeMax * _local3); damage = 5; active = false; bulletSpeed = 14; shootFunc = (curLevel.addBlasterProj as Function); upgrades.push(new upgItem("Plasma speed 1.5x", 1, -1, 450, "bulletSpeed", 17, 2)); upgrades.push(new upgItem("Plasma speed 2.0x", 1, 0, 650, "bulletSpeed", 25, 2)); upgrades.push(new upgItem("Rate of fire +30%", 1, -1, 350, "bulletDelay", 350, 2)); upgrades.push(new upgItem("Rate of fire +50%", 1, 2, 550, "bulletDelay", 250, 2)); upgrades.push(new upgItem("Magazine +5", 1, -1, 350, "bulletsInCatrige", 20, 2)); upgrades.push(new upgItem("Magazine +15", 1, 4, 550, "bulletsInCatrige", 30, 2)); upgrades.push(new upgItem("Reload +50%", 1, -1, 450, "reloadDelay", 1200, 2)); } else { if (_arg1 == "RPG"){ useDiffArms = false; bulletDelay = 1; reloadDelay = 2000; accShootInc = 1; accHi = 3; bulletsInCatrige = (bulletsInCatrigeMax = 1); bulletsNumMax = 5; bulletsNum = (bulletsInCatrigeMax * _local3); damage = 35; active = false; blastStyle = true; damageRadius = 160; bulletSpeed = 20; shootFunc = (curLevel.addProj_Rocket as Function); upgrades.push(new upgItem("Rocket speed +15%", 1, -1, 350, "bulletSpeed", 22.5, 2)); upgrades.push(new upgItem("Rocket speed +35%", 1, 0, 500, "bulletSpeed", 24, 2)); upgrades.push(new upgItem("Reload +30%", 1, -1, 350, "reloadDelay", 1400, 2)); upgrades.push(new upgItem("Ammo +5", 1, -1, 350, "bulletsNum", 10, 2)); upgrades.push(new upgItem("Ammo +10", 1, 3, 550, "bulletsNum", 15, 2)); upgrades.push(new upgItem("Ammo +15", 1, 4, 750, "bulletsNum", 20, 2)); upgrades.push(new upgItem("Damage +30%", 1, -1, 350, "damage", 46, 2)); upgrades.push(new upgItem("Damage +50%", 1, 6, 550, "damage", 53, 2)); upgrades.push(new upgItem("Damage radius +10%", 1, -1, 350, "damageRadius", 176, 2)); upgrades.push(new upgItem("Damage radius +20%", 1, 8, 500, "damageRadius", 190, 2)); } else { if (_arg1 == "Lasergun"){ useDiffArms = false; bulletDelay = 800; reloadDelay = 3000; accShootInc = 1; accHi = 2; bulletsInCatrige = (bulletsInCatrigeMax = 10); bulletsNumMax = 50; bulletsNum = (bulletsInCatrigeMax * _local3); damage = 4; active = false; upgrades.push(new upgItem("Reload +30%", 1, -1, 300, "reloadDelay", 2100, 2)); upgrades.push(new upgItem("Reload +50%", 1, 0, 300, "reloadDelay", 1500, 2)); upgrades.push(new upgItem("Magazine +5", 1, -1, 250, "bulletsInCatrige", 15, 2)); upgrades.push(new upgItem("Magazine +10", 1, 2, 350, "bulletsInCatrige", 20, 2)); upgrades.push(new upgItem("Damage +50%", 1, -1, 350, "damage", 6, 2)); upgrades.push(new upgItem("Damage +100%", 1, 4, 500, "damage", 8, 2)); upgrades.push(new upgItem("Ammo +20", 1, -1, 250, "bulletsNum", 70, 2)); shootFunc = (curLevel.addProj_LaserBeam as Function); } else { if (_arg1 == "DDD"){ useDiffArms = false; bulletDelay = 200; reloadDelay = 4000; accShootInc = 1; accHi = 3; bulletsInCatrige = (bulletsInCatrigeMax = 1); bulletsNumMax = 2; bulletsNum = (bulletsInCatrigeMax * _local3); damage = 1; active = false; upgrades.push(new upgItem("Reload +30%", 1, -1, 300, "reloadDelay", 1400, 2)); upgrades.push(new upgItem("Reload +50%", 1, 0, 300, "reloadDelay", 1000, 2)); upgrades.push(new upgItem("Magazine +5", 1, -1, 250, "bulletsInCatrige", 15, 2)); upgrades.push(new upgItem("Magazine +10", 1, 2, 350, "bulletsInCatrige", 20, 2)); upgrades.push(new upgItem("Damage +50%", 1, -1, 350, "damage", 6, 2)); upgrades.push(new upgItem("Damage +100%", 1, 4, 500, "damage", 8, 2)); upgrades.push(new upgItem("Ammo +20", 1, -1, 250, "bulletsNum", 70, 2)); shootFunc = (curLevel.addProj as Function); } else { if (_arg1 == "Vomit"){ useDiffArms = true; bulletDelay = 2500; reloadDelay = 1500; accShootInc = 1.5; bulletsInCatrige = (bulletsInCatrigeMax = 30); bulletsNum = (bulletsNumMax = 500); damage = 1; active = false; bulletSpeed = 13; infAmmo = true; shootFunc = (curLevel.addProj_Vomit as Function); } else { if (_arg1 == "psyProj"){ useDiffArms = true; bulletDelay = 2500; reloadDelay = 1500; accShootInc = 1.5; bulletsInCatrige = (bulletsInCatrigeMax = 30); bulletsNum = (bulletsNumMax = 500); damage = 3; active = false; bulletSpeed = 13; infAmmo = true; shootFunc = (curLevel.addProj_Psy as Function); } else { if (_arg1 == "BombWep"){ useDiffArms = false; bulletDelay = 1; reloadDelay = 2000; accShootInc = 1; accHi = 3; bulletsInCatrige = (bulletsInCatrigeMax = 1); bulletsNumMax = 5; bulletsNum = (bulletsInCatrigeMax * _local3); damage = 35; active = false; blastStyle = true; damageRadius = 95; bulletSpeed = 8; infAmmo = true; shootFunc = (curLevel.addProj_BombWep as Function); }; }; }; }; }; }; }; }; }; }; }; } public function loadParams(_arg1:String){ var _local2:int; active = Boolean(mainGlobal.myCookie.get((_arg1 + "active"))); bulletDelay = int(mainGlobal.myCookie.get((_arg1 + "bulletDelay"))); reloadDelay = int(mainGlobal.myCookie.get((_arg1 + "reloadDelay"))); bulletsInCatrige = int(mainGlobal.myCookie.get((_arg1 + "bulletsInCatrige"))); bulletsInCatrigeMax = int(mainGlobal.myCookie.get((_arg1 + "bulletsInCatrigeMax"))); bulletsShotCnt = int(mainGlobal.myCookie.get((_arg1 + "bulletsShotCnt"))); bulletsNum = int(mainGlobal.myCookie.get((_arg1 + "bulletsNum"))); bulletsDecr = int(mainGlobal.myCookie.get((_arg1 + "bulletsDecr"))); bulletsNumMax = int(mainGlobal.myCookie.get((_arg1 + "bulletsNumMax"))); damage = Number(mainGlobal.myCookie.get((_arg1 + "damage"))); bulletSpeed = Number(mainGlobal.myCookie.get((_arg1 + "bulletSpeed"))); damageRadius = Number(mainGlobal.myCookie.get((_arg1 + "damageRadius"))); accLo = Number(mainGlobal.myCookie.get((_arg1 + "accLo"))); accHi = Number(mainGlobal.myCookie.get((_arg1 + "accHi"))); accDecSpeed = Number(mainGlobal.myCookie.get((_arg1 + "accDecSpeed"))); accShootInc = Number(mainGlobal.myCookie.get((_arg1 + "accShootInc"))); accDistScale = Number(mainGlobal.myCookie.get((_arg1 + "accDistScale"))); _local2 = 0; while (_local2 < upgrades.length) { upgrades[_local2].loadParams(((_arg1 + type) + _local2.toString())); _local2++; }; } public function applyUpgrade(_arg1:int){ if (upgrades[_arg1].typeOp == 0){ this[upgrades[_arg1].paramName] = (this[upgrades[_arg1].paramName] + upgrades[_arg1].param); } else { if (upgrades[_arg1].typeOp == 1){ this[upgrades[_arg1].paramName] = (this[upgrades[_arg1].paramName] * upgrades[_arg1].param); } else { if (upgrades[_arg1].typeOp == 2){ this[upgrades[_arg1].paramName] = upgrades[_arg1].param; }; }; }; if (this[(upgrades[_arg1].paramName + "Max")]){ this[(upgrades[_arg1].paramName + "Max")] = this[upgrades[_arg1].paramName]; }; } public function saveParams(_arg1:String){ var _local2:int; mainGlobal.myCookie.putNoFlush((_arg1 + "active"), active); mainGlobal.myCookie.putNoFlush((_arg1 + "bulletDelay"), bulletDelay); mainGlobal.myCookie.putNoFlush((_arg1 + "reloadDelay"), reloadDelay); mainGlobal.myCookie.putNoFlush((_arg1 + "bulletsInCatrige"), bulletsInCatrige); mainGlobal.myCookie.putNoFlush((_arg1 + "bulletsInCatrigeMax"), bulletsInCatrigeMax); mainGlobal.myCookie.putNoFlush((_arg1 + "bulletsShotCnt"), bulletsShotCnt); mainGlobal.myCookie.putNoFlush((_arg1 + "bulletsNum"), bulletsNum); mainGlobal.myCookie.putNoFlush((_arg1 + "bulletsDecr"), bulletsDecr); mainGlobal.myCookie.putNoFlush((_arg1 + "bulletsNumMax"), bulletsNumMax); mainGlobal.myCookie.putNoFlush((_arg1 + "damage"), damage); mainGlobal.myCookie.putNoFlush((_arg1 + "bulletSpeed"), bulletSpeed); mainGlobal.myCookie.putNoFlush((_arg1 + "damageRadius"), damageRadius); mainGlobal.myCookie.putNoFlush((_arg1 + "accLo"), accLo); mainGlobal.myCookie.putNoFlush((_arg1 + "accHi"), accHi); mainGlobal.myCookie.putNoFlush((_arg1 + "accDecSpeed"), accDecSpeed); mainGlobal.myCookie.putNoFlush((_arg1 + "accShootInc"), accShootInc); mainGlobal.myCookie.putNoFlush((_arg1 + "accDistScale"), accDistScale); _local2 = 0; while (_local2 < upgrades.length) { upgrades[_local2].saveParams(((_arg1 + type) + _local2.toString())); _local2++; }; } } }//package main
Section 189
//wepLuncherProp (main.wepLuncherProp) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class wepLuncherProp extends propObject { public function wepLuncherProp(){ addFrameScript(0, frame1); } function frame1(){ if ((parent as Level)){ curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; } else { if ((parent.parent as Level)){ curLevel = Level(parent.parent); curLevel.dynObjects.push(this); curLevel.propObjects.push(this); isRubber = true; }; }; this.wepNum = 5; this.propType = "Weapon"; } } }//package main
Section 190
//Zomb01 (main.Zomb01) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb01 extends actorObject { public function Zomb01(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb01"); }; } } }//package main
Section 191
//Zomb01Run (main.Zomb01Run) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb01Run extends actorObject { public function Zomb01Run(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb01Run"); }; } } }//package main
Section 192
//Zomb01Vomit (main.Zomb01Vomit) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb01Vomit extends actorObject { public function Zomb01Vomit(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb01Vomit"); }; } } }//package main
Section 193
//Zomb02 (main.Zomb02) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb02 extends actorObject { public function Zomb02(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb02"); }; } } }//package main
Section 194
//Zomb02Run (main.Zomb02Run) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb02Run extends actorObject { public function Zomb02Run(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb02Run"); }; } } }//package main
Section 195
//Zomb02Vomit (main.Zomb02Vomit) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb02Vomit extends actorObject { public function Zomb02Vomit(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb02Vomit"); }; } } }//package main
Section 196
//Zomb03 (main.Zomb03) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb03 extends actorObject { public function Zomb03(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb03"); }; } } }//package main
Section 197
//Zomb03Run (main.Zomb03Run) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb03Run extends actorObject { public function Zomb03Run(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb03Run"); }; } } }//package main
Section 198
//Zomb03Vomit (main.Zomb03Vomit) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb03Vomit extends actorObject { public function Zomb03Vomit(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb03Vomit"); }; } } }//package main
Section 199
//Zomb04 (main.Zomb04) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb04 extends actorObject { public function Zomb04(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb04"); }; } } }//package main
Section 200
//Zomb04Run (main.Zomb04Run) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb04Run extends actorObject { public function Zomb04Run(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb04Run"); }; } } }//package main
Section 201
//Zomb04Vomit (main.Zomb04Vomit) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb04Vomit extends actorObject { public function Zomb04Vomit(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb04Vomit"); }; } } }//package main
Section 202
//Zomb05 (main.Zomb05) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb05 extends actorObject { public function Zomb05(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb05"); }; } } }//package main
Section 203
//Zomb05Run (main.Zomb05Run) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb05Run extends actorObject { public function Zomb05Run(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb05Run"); }; } } }//package main
Section 204
//Zomb05Vomit (main.Zomb05Vomit) package main { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Zomb05Vomit extends actorObject { public function Zomb05Vomit(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("Zomb05Vomit"); }; } } }//package main
Section 205
//ZombPsy (main.ZombPsy) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class ZombPsy extends actorObject { public function ZombPsy(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("ZombPsy"); }; } } }//package main
Section 206
//ZombTank (main.ZombTank) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class ZombTank extends actorObject { public function ZombTank(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("ZombTank"); }; } } }//package main
Section 207
//ZombTankRun (main.ZombTankRun) package main { import flash.events.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class ZombTankRun extends actorObject { public function ZombTankRun(){ addFrameScript(0, frame1); } function frame1(){ stop(); if (!initIDE){ initIDE = true; curLevel = Level(parent); curLevel.dynObjects.push(this); curLevel.enemies.push(this); initParams("ZombTankRun"); }; } } }//package main
Section 208
//MochiBot (mochi.as3.MochiBot) package mochi.as3 { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ if (Security.sandboxType == "localWithFile"){ return (null); }; var _local3:MochiBot = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); var _local4 = "http://core.mochibot.com/my/core.swf"; var _local5:URLVariables = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; var _local6:String = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; var _local7:URLRequest = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; var _local8:Loader = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package mochi.as3
Section 209
//MochiCoins (mochi.as3.MochiCoins) package mochi.as3 { public class MochiCoins { public static const STORE_HIDE:String = "StoreHide"; public static const NO_USER:String = "NoUser"; public static const IO_ERROR:String = "IOError"; public static const ITEM_NEW:String = "ItemNew"; public static const ITEM_OWNED:String = "ItemOwned"; public static const STORE_ITEMS:String = "StoreItems"; public static const ERROR:String = "Error"; public static const STORE_SHOW:String = "StoreShow"; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); public static var _inventory:MochiInventory; public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } public static function getStoreItems():void{ MochiServices.send("coins_getStoreItems"); } public static function get inventory():MochiInventory{ return (_inventory); } public static function showStore(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("coins_showStore", {options:_arg1}, null, null); } public static function requestFunding(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_requestFunding", _arg1); } public static function showItem(_arg1:Object=null):void{ if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){ trace("ERROR: showItem call must pass an Object with an item key"); return; }; MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("coins_showItem", {options:_arg1}, null, null); } public static function getVersion():String{ return (MochiServices.getVersion()); } public static function showVideo(_arg1:Object=null):void{ if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){ trace("ERROR: showVideo call must pass an Object with an item key"); return; }; MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("coins_showVideo", {options:_arg1}, null, null); } addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{ _inventory = new MochiInventory(); }); addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{ _inventory = null; }); } }//package mochi.as3
Section 210
//MochiDigits (mochi.as3.MochiDigits) package mochi.as3 { public final class MochiDigits { private var Sibling:MochiDigits; private var Fragment:Number; private var Encoder:Number; public function MochiDigits(_arg1:Number=0, _arg2:uint=0):void{ Encoder = 0; setValue(_arg1, _arg2); } public function reencode():void{ var _local1:uint = int((2147483647 * Math.random())); Fragment = (Fragment ^ (_local1 ^ Encoder)); Encoder = _local1; } public function set value(_arg1:Number):void{ setValue(_arg1); } public function toString():String{ var _local1:String = String.fromCharCode((Fragment ^ Encoder)); if (Sibling != null){ _local1 = (_local1 + Sibling.toString()); }; return (_local1); } public function setValue(_arg1:Number=0, _arg2:uint=0):void{ var _local3:String = _arg1.toString(); var _temp1 = _arg2; _arg2 = (_arg2 + 1); Fragment = (_local3.charCodeAt(_temp1) ^ Encoder); if (_arg2 < _local3.length){ Sibling = new MochiDigits(_arg1, _arg2); } else { Sibling = null; }; reencode(); } public function get value():Number{ return (Number(this.toString())); } public function addValue(_arg1:Number):void{ value = (value + _arg1); } } }//package mochi.as3
Section 211
//MochiEventDispatcher (mochi.as3.MochiEventDispatcher) package mochi.as3 { public class MochiEventDispatcher { private var eventTable:Object; public function MochiEventDispatcher():void{ eventTable = {}; } public function triggerEvent(_arg1:String, _arg2:Object):void{ var _local3:Object; if (eventTable[_arg1] == undefined){ return; }; for (_local3 in eventTable[_arg1]) { var _local6 = eventTable[_arg1]; _local6[_local3](_arg2); }; } public function removeEventListener(_arg1:String, _arg2:Function):void{ var _local3:Object; if (eventTable[_arg1] == undefined){ eventTable[_arg1] = []; return; }; for (_local3 in eventTable[_arg1]) { if (eventTable[_arg1][_local3] != _arg2){ } else { eventTable[_arg1].splice(Number(_local3), 1); }; }; } public function addEventListener(_arg1:String, _arg2:Function):void{ removeEventListener(_arg1, _arg2); eventTable[_arg1].push(_arg2); } } }//package mochi.as3
Section 212
//MochiEvents (mochi.as3.MochiEvents) package mochi.as3 { import flash.display.*; public class MochiEvents { public static const ALIGN_BOTTOM_LEFT:String = "ALIGN_BL"; public static const FORMAT_LONG:String = "LongForm"; public static const ALIGN_BOTTOM:String = "ALIGN_B"; public static const ACHIEVEMENT_RECEIVED:String = "AchievementReceived"; public static const FORMAT_SHORT:String = "ShortForm"; public static const ALIGN_TOP_RIGHT:String = "ALIGN_TR"; public static const ALIGN_BOTTOM_RIGHT:String = "ALIGN_BR"; public static const ALIGN_TOP:String = "ALIGN_T"; public static const ALIGN_LEFT:String = "ALIGN_L"; public static const ALIGN_RIGHT:String = "ALIGN_R"; public static const ALIGN_TOP_LEFT:String = "ALIGN_TL"; public static const ALIGN_CENTER:String = "ALIGN_C"; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); private static var gameStart:Number; private static var levelStart:Number; public static function endPlay():void{ MochiServices.send("events_clearRoundID", null, null, null); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } public static function trackEvent(_arg1:String, _arg2=null):void{ MochiServices.send("events_trackEvent", {tag:_arg1, value:_arg2}, null, null); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } public static function startSession(_arg1:String):void{ MochiServices.send("events_beginSession", {achievementID:_arg1}, null, null); } public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function setNotifications(_arg1:MovieClip, _arg2:Object):void{ var _local4:Object; var _local3:Object = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; _local3.clip = _arg1; MochiServices.send("events_setNotifications", _local3, null, null); } public static function getVersion():String{ return (MochiServices.getVersion()); } public static function startPlay(_arg1:String="gameplay"):void{ MochiServices.send("events_setRoundID", {tag:String(_arg1)}, null, null); } } }//package mochi.as3
Section 213
//MochiInventory (mochi.as3.MochiInventory) package mochi.as3 { import flash.events.*; import flash.utils.*; public dynamic class MochiInventory extends Proxy { private var _timer:Timer; private var _names:Array; private var _syncID:Number; private var _consumableProperties:Object; private var _storeSync:Object; private var _outstandingID:Number; private var _syncPending:Boolean; public static const READY:String = "InvReady"; public static const ERROR:String = "Error"; public static const IO_ERROR:String = "IoError"; private static const KEY_SALT:String = " syncMaint"; public static const WRITTEN:String = "InvWritten"; public static const NOT_READY:String = "InvNotReady"; public static const VALUE_ERROR:String = "InvValueError"; private static const CONSUMER_KEY:String = "MochiConsumables"; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); public function MochiInventory():void{ MochiCoins.addEventListener(MochiCoins.ITEM_OWNED, itemOwned); MochiCoins.addEventListener(MochiCoins.ITEM_NEW, newItems); MochiSocial.addEventListener(MochiSocial.LOGGED_IN, loggedIn); MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, loggedOut); _storeSync = new Object(); _syncPending = false; _outstandingID = 0; _syncID = 0; _timer = new Timer(1000); _timer.addEventListener(TimerEvent.TIMER, sync); _timer.start(); if (MochiSocial.loggedIn){ loggedIn(); } else { loggedOut(); }; } private function newItems(_arg1:Object):void{ if (!this[(_arg1.id + KEY_SALT)]){ this[(_arg1.id + KEY_SALT)] = 0; }; if (!this[_arg1.id]){ this[_arg1.id] = 0; }; this[(_arg1.id + KEY_SALT)] = (this[(_arg1.id + KEY_SALT)] + _arg1.count); this[_arg1.id] = (this[_arg1.id] + _arg1.count); if (((_arg1.privateProperties) && (_arg1.privateProperties.consumable))){ if (!this[_arg1.privateProperties.tag]){ this[_arg1.privateProperties.tag] = 0; }; this[_arg1.privateProperties.tag] = (this[_arg1.privateProperties.tag] + (_arg1.privateProperties.inc * _arg1.count)); }; } public function release():void{ MochiCoins.removeEventListener(MochiCoins.ITEM_NEW, newItems); MochiSocial.removeEventListener(MochiSocial.LOGGED_IN, loggedIn); MochiSocial.removeEventListener(MochiSocial.LOGGED_OUT, loggedOut); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){ if (_consumableProperties == null){ triggerEvent(ERROR, {type:NOT_READY}); return (-1); }; if (_consumableProperties[_arg1]){ return (MochiDigits(_consumableProperties[_arg1]).value); }; return (undefined); } private function loggedIn(_arg1:Object=null):void{ MochiUserData.get(CONSUMER_KEY, getConsumableBag); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function hasProperty(_arg1):Boolean{ if (_consumableProperties == null){ triggerEvent(ERROR, {type:NOT_READY}); return (false); }; if (_consumableProperties[_arg1] == undefined){ return (false); }; return (true); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextNameIndex(_arg1:int):int{ return (((_arg1)>=_names.length) ? 0 : (_arg1 + 1)); } private function putConsumableBag(_arg1:MochiUserData):void{ _syncPending = false; if (_arg1.error){ triggerEvent(ERROR, {type:IO_ERROR, error:_arg1.error}); _outstandingID = -1; }; triggerEvent(WRITTEN, {}); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(_arg1, _arg2):void{ var _local3:MochiDigits; if (_consumableProperties == null){ triggerEvent(ERROR, {type:NOT_READY}); return; }; if (!(_arg2 is Number)){ triggerEvent(ERROR, {type:VALUE_ERROR, error:"Invalid type", arg:_arg2}); return; }; if (_consumableProperties[_arg1]){ _local3 = MochiDigits(_consumableProperties[_arg1]); if (_local3.value == _arg2){ return; }; _local3.value = _arg2; } else { _names.push(_arg1); _consumableProperties[_arg1] = new MochiDigits(_arg2); }; _syncID++; } private function itemOwned(_arg1:Object):void{ _storeSync[_arg1.id] = {properties:_arg1.properties, count:_arg1.count}; } private function sync(_arg1:Event=null):void{ var _local3:String; if (((_syncPending) || ((_syncID == _outstandingID)))){ return; }; _outstandingID = _syncID; var _local2:Object = {}; for (_local3 in _consumableProperties) { _local2[_local3] = MochiDigits(_consumableProperties[_local3]).value; }; MochiUserData.put(CONSUMER_KEY, _local2, putConsumableBag); _syncPending = true; } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextName(_arg1:int):String{ return (_names[(_arg1 - 1)]); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function deleteProperty(_arg1):Boolean{ if (!_consumableProperties[_arg1]){ return (false); }; _names.splice(_names.indexOf(_arg1), 1); delete _consumableProperties[_arg1]; return (true); } private function getConsumableBag(_arg1:MochiUserData):void{ var _local2:String; var _local3:Number; if (_arg1.error){ triggerEvent(ERROR, {type:IO_ERROR, error:_arg1.error}); return; }; _consumableProperties = {}; _names = new Array(); if (_arg1.data){ for (_local2 in _arg1.data) { _names.push(_local2); _consumableProperties[_local2] = new MochiDigits(_arg1.data[_local2]); }; }; for (_local2 in _storeSync) { _local3 = _storeSync[_local2].count; if (_consumableProperties[(_local2 + KEY_SALT)]){ _local3 = (_local3 - _consumableProperties[(_local2 + KEY_SALT)].value); }; if (_local3 == 0){ } else { newItems({id:_local2, count:_local3, properties:_storeSync[_local2].properties}); }; }; triggerEvent(READY, {}); } private function loggedOut(_arg1:Object=null):void{ _consumableProperties = null; } public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } } }//package mochi.as3
Section 214
//MochiScores (mochi.as3.MochiScores) package mochi.as3 { import flash.display.*; import flash.text.*; public class MochiScores { private static var boardID:String; public static var onErrorHandler:Object; public static var onCloseHandler:Object; public static function showLeaderboard(_arg1:Object=null):void{ var n:Number; var options = _arg1; if (options != null){ delete options.clip; MochiServices.setContainer(); MochiServices.bringToTop(); if (options.name != null){ if ((options.name is TextField)){ if (options.name.text.length > 0){ options.name = options.name.text; }; }; }; if (options.score != null){ if ((options.score is TextField)){ if (options.score.text.length > 0){ options.score = options.score.text; }; } else { if ((options.score is MochiDigits)){ options.score = options.score.value; }; }; n = Number(options.score); if (isNaN(n)){ trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'")); } else { if ((((n == Number.NEGATIVE_INFINITY)) || ((n == Number.POSITIVE_INFINITY)))){ trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite")); } else { if (Math.floor(n) != n){ trace((("WARNING: Submitted score '" + options.score) + "' will be truncated")); }; options.score = n; }; }; }; if (options.onDisplay != null){ options.onDisplay(); } else { if (MochiServices.clip != null){ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; }; } else { options = {}; if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; if (options.onClose != null){ onCloseHandler = options.onClose; } else { onCloseHandler = function ():void{ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.play(); } else { trace("Warning: Container is not a MovieClip, cannot call default onClose."); }; }; }; if (options.onError != null){ onErrorHandler = options.onError; } else { onErrorHandler = null; }; if (options.boardID == null){ if (MochiScores.boardID != null){ options.boardID = MochiScores.boardID; }; }; MochiServices.warnID(options.boardID, true); trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal"); MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose); } public static function closeLeaderboard():void{ MochiServices.send("scores_closeLeaderboard"); } public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2); } public static function requestList(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_requestList", null, _arg1, _arg2); } public static function scoresArrayToObjects(_arg1:Object):Object{ var _local3:Number; var _local4:Number; var _local5:Object; var _local6:Object; var _local7:String; var _local8:String; var _local2:Object = {}; for (_local7 in _arg1) { if (typeof(_arg1[_local7]) == "object"){ if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){ _local2[_local7] = []; _local5 = _arg1[_local7]; _local4 = 0; while (_local4 < _local5.rows.length) { _local6 = {}; _local3 = 0; while (_local3 < _local5.cols.length) { _local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3]; _local3++; }; _local2[_local7].push(_local6); _local4++; }; } else { _local2[_local7] = {}; for (_local8 in _arg1[_local7]) { _local2[_local7][_local8] = _arg1[_local7][_local8]; }; }; } else { _local2[_local7] = _arg1[_local7]; }; }; return (_local2); } public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{ _arg1 = Number(_arg1); if (isNaN(_arg1)){ trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is 'Not a Number'")); } else { if ((((_arg1 == Number.NEGATIVE_INFINITY)) || ((_arg1 == Number.POSITIVE_INFINITY)))){ trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is an infinite")); } else { if (Math.floor(_arg1) != _arg1){ trace((("WARNING: Submitted score '" + String(_arg1)) + "' will be truncated")); }; _arg1 = Number(_arg1); }; }; MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4); } public static function onClose(_arg1:Object=null):void{ if (((((_arg1) && ((_arg1.error == true)))) && (onErrorHandler))){ if (_arg1.errorCode == null){ _arg1.errorCode = "IOError"; }; onErrorHandler(_arg1.errorCode); MochiServices.doClose(); return; }; onCloseHandler(); MochiServices.doClose(); } public static function setBoardID(_arg1:String):void{ MochiServices.warnID(_arg1, true); MochiScores.boardID = _arg1; MochiServices.send("scores_setBoardID", {boardID:_arg1}); } } }//package mochi.as3
Section 215
//MochiServices (mochi.as3.MochiServices) package mochi.as3 { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.system.*; public class MochiServices { public static const CONNECTED:String = "onConnected"; private static var _container:Object; private static var _connected:Boolean = false; private static var _queue:Array; private static var _swfVersion:String; private static var _preserved:Object; public static var netupAttempted:Boolean = false; private static var _sendChannel:LocalConnection; private static var _nextCallbackID:Number; private static var _clip:MovieClip; private static var _loader:Loader; private static var _id:String; private static var _services:String = "services.swf"; private static var _servURL:String = "http://www.mochiads.com/static/lib/services/"; public static var widget:Boolean = false; private static var _timer:Timer; private static var _sendChannelName:String; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); private static var _callbacks:Object; private static var _connecting:Boolean = false; private static var _mochiLocalConnection:MovieClip; private static var _listenChannelName:String = "__ms_"; public static var onError:Object; public static var netup:Boolean = true; private static var _mochiLC:String = "MochiLC.swf"; public static function isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function get connected():Boolean{ return (_connected); } private static function onReceive(_arg1:Object):void{ var methodName:String; var pkg = _arg1; var cb:String = pkg.callbackID; var cblst:Object = _callbacks[cb]; if (!cblst){ return; }; var method:* = cblst.callbackMethod; methodName = ""; var obj:Object = cblst.callbackObject; if (((obj) && ((typeof(method) == "string")))){ methodName = method; if (obj[method] != null){ method = obj[method]; } else { trace((("Error: Method " + method) + " does not exist.")); }; }; if (method != undefined){ try { method.apply(obj, pkg.args); } catch(error:Error) { trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString())); }; } else { if (obj != null){ try { obj(pkg.args); } catch(error:Error) { trace(("Error invoking method on object: " + error.toString())); }; }; }; delete _callbacks[cb]; } public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{ if (_connected){ _mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_nextCallbackID}); } else { if ((((_clip == null)) || (!(_connecting)))){ trace(("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + _arg1)); handleError(_arg2, _arg3, _arg4); flush(true); return; }; _queue.push({methodName:_arg1, args:_arg2, callbackID:_nextCallbackID}); }; if (_clip != null){ if (_callbacks != null){ _callbacks[_nextCallbackID] = {callbackObject:_arg3, callbackMethod:_arg4}; _nextCallbackID++; }; }; } private static function init(_arg1:String, _arg2:Object):void{ _id = _arg1; if (_arg2 != null){ _container = _arg2; loadCommunicator(_arg1, _container); }; } private static function clickMovie(_arg1:String, _arg2:Function):MovieClip{ var _local4:int; var _local14:Loader; var _local3:Array = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23]; var _local5:Array = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3]; var _local6:Array = [0, 64, 0, 0, 0]; var _local7:MovieClip = new MovieClip(); var _local8:LocalConnection = new LocalConnection(); var _local9:String = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().time)); _local8 = new LocalConnection(); _local7.lc = _local8; _local7.click = _arg2; _local8.client = _local7; _local8.connect(_local9); var _local10:ByteArray = new ByteArray(); var _local11:ByteArray = new ByteArray(); _local11.endian = Endian.LITTLE_ENDIAN; _local11.writeShort(1); _local11.writeUTFBytes(((_arg1 + " ") + _local9)); _local11.writeByte(0); var _local12:uint = ((_local3.length + _local11.length) + 4); var _local13:uint = (_local12 + 35); _local10.endian = Endian.LITTLE_ENDIAN; _local10.writeUTFBytes("FWS"); _local10.writeByte(8); _local10.writeUnsignedInt(_local13); for each (_local4 in _local5) { _local10.writeByte(_local4); }; _local10.writeUnsignedInt(_local12); _local10.writeByte(136); _local10.writeShort(_local11.length); _local10.writeBytes(_local11); for each (_local4 in _local3) { _local10.writeByte(_local4); }; for each (_local4 in _local6) { _local10.writeByte(_local4); }; _local14 = new Loader(); _local14.loadBytes(_local10); _local7.addChild(_local14); return (_local7); } private static function detach(_arg1:Event):void{ var _local2:LoaderInfo = LoaderInfo(_arg1.target); _local2.removeEventListener(Event.COMPLETE, detach); _local2.removeEventListener(IOErrorEvent.IO_ERROR, detach); _local2.removeEventListener(Event.COMPLETE, loadLCBridgeComplete); _local2.removeEventListener(IOErrorEvent.IO_ERROR, loadError); } public static function stayOnTop():void{ _container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true); if (_clip != null){ _clip.visible = true; }; } private static function loadLCBridgeComplete(_arg1:Event):void{ var _local2:Loader = LoaderInfo(_arg1.target).loader; _mochiLocalConnection = MovieClip(_local2.content); listen(); } public static function disconnect():void{ if (((_connected) || (_connecting))){ if (_clip != null){ if (_clip.parent != null){ if ((_clip.parent is Sprite)){ Sprite(_clip.parent).removeChild(_clip); _clip = null; }; }; }; _connecting = (_connected = false); flush(true); try { _mochiLocalConnection.close(); } catch(error:Error) { }; }; if (_timer != null){ try { _timer.stop(); _timer.removeEventListener(TimerEvent.TIMER, connectWait); _timer = null; } catch(error:Error) { }; }; } public static function allowDomains(_arg1:String):String{ var _local2:String; if (Security.sandboxType != "application"){ Security.allowDomain("*"); Security.allowInsecureDomain("*"); }; if (_arg1.indexOf("http://") != -1){ _local2 = _arg1.split("/")[2].split(":")[0]; if (Security.sandboxType != "application"){ Security.allowDomain(_local2); Security.allowInsecureDomain(_local2); }; }; return (_local2); } public static function getVersion():String{ return ("3.9.1 as3"); } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); } public static function warnID(_arg1:String, _arg2:Boolean):void{ _arg1 = _arg1.toLowerCase(); if (_arg1.length != 16){ trace((("WARNING: " + (_arg2) ? "board" : "game") + " ID is not the appropriate length")); return; } else { if (_arg1 == "1e113c7239048b3f"){ if (_arg2){ trace("WARNING: Using testing board ID"); } else { trace("WARNING: Using testing board ID as game ID"); }; return; } else { if (_arg1 == "84993a1de4031cd8"){ if (_arg2){ trace("WARNING: Using testing game ID as board ID"); } else { trace("WARNING: Using testing game ID"); }; return; }; }; }; var _local3:Number = 0; while (_local3 < _arg1.length) { switch (_arg1.charAt(_local3)){ case "0": case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": case "a": case "b": case "c": case "d": case "e": case "f": break; default: trace(("WARNING: Board ID contains illegal characters: " + _arg1)); return; }; _local3++; }; } private static function flush(_arg1:Boolean):void{ var _local2:Object; var _local3:Object; if (((_clip) && (_queue))){ while (_queue.length > 0) { _local2 = _queue.shift(); _local3 = null; if (_local2 != null){ if (_local2.callbackID != null){ _local3 = _callbacks[_local2.callbackID]; }; delete _callbacks[_local2.callbackID]; if (((_arg1) && (!((_local3 == null))))){ handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod); }; }; }; }; } public static function get id():String{ return (_id); } private static function onEvent(_arg1:Object):void{ var _local2:String = _arg1.target; var _local3:String = _arg1.event; switch (_local2){ case "services": MochiServices.triggerEvent(_arg1.event, _arg1.args); break; case "events": MochiEvents.triggerEvent(_arg1.event, _arg1.args); break; case "coins": MochiCoins.triggerEvent(_arg1.event, _arg1.args); break; case "social": MochiSocial.triggerEvent(_arg1.event, _arg1.args); break; }; } private static function urlOptions(_arg1:Object):Object{ var _local3:String; var _local4:Array; var _local5:Number; var _local6:Array; var _local2:Object = {}; if (_arg1.stage){ _local3 = _arg1.stage.loaderInfo.parameters.mochiad_options; } else { _local3 = _arg1.loaderInfo.parameters.mochiad_options; }; if (_local3){ _local4 = _local3.split("&"); _local5 = 0; while (_local5 < _local4.length) { _local6 = _local4[_local5].split("="); _local2[unescape(_local6[0])] = unescape(_local6[1]); _local5++; }; }; return (_local2); } public static function addLinkEvent(_arg1:String, _arg2:String, _arg3:DisplayObjectContainer, _arg4:Function=null):void{ var avm1Click:DisplayObject; var x:String; var req:URLRequest; var loader:Loader; var setURL:Function; var err:Function; var complete:Function; var url = _arg1; var burl = _arg2; var btn = _arg3; var onClick = _arg4; var vars:Object = new Object(); vars["mav"] = getVersion(); vars["swfv"] = "9"; vars["swfurl"] = btn.loaderInfo.loaderURL; vars["fv"] = Capabilities.version; vars["os"] = Capabilities.os; vars["lang"] = Capabilities.language; vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY); var s = "?"; var i:Number = 0; for (x in vars) { if (i != 0){ s = (s + "&"); }; i = (i + 1); s = (((s + x) + "=") + escape(vars[x])); }; req = new URLRequest("http://link.mochiads.com/linkping.swf"); loader = new Loader(); setURL = function (_arg1:String):void{ if (avm1Click){ btn.removeChild(avm1Click); }; avm1Click = clickMovie(_arg1, onClick); var _local2:Rectangle = btn.getBounds(btn); btn.addChild(avm1Click); avm1Click.x = _local2.x; avm1Click.y = _local2.y; avm1Click.scaleX = (0.01 * _local2.width); avm1Click.scaleY = (0.01 * _local2.height); }; err = function (_arg1:Object):void{ netup = false; _arg1.target.removeEventListener(_arg1.type, arguments.callee); setURL(burl); }; complete = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; if (netup){ setURL((url + s)); } else { setURL(burl); }; if (!((netupAttempted) || (_connected))){ netupAttempted = true; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete); loader.load(req); }; } public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{ if (_clip.parent){ _clip.parent.removeChild(_clip); }; if (_arg1 != null){ if ((_arg1 is DisplayObjectContainer)){ _container = _arg1; }; }; if (_arg2){ if ((_container is DisplayObjectContainer)){ DisplayObjectContainer(_container).addChild(_clip); }; }; } private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{ var args = _arg1; var callbackObject = _arg2; var callbackMethod = _arg3; if (args != null){ if (args.onError != null){ args.onError.apply(null, ["NotConnected"]); }; if (((!((args.options == null))) && (!((args.options.onError == null))))){ args.options.onError.apply(null, ["NotConnected"]); }; }; if (callbackMethod != null){ args = {}; args.error = true; args.errorCode = "NotConnected"; if (((!((callbackObject == null))) && ((callbackMethod is String)))){ try { var _local5 = callbackObject; _local5[callbackMethod](args); } catch(error:Error) { }; } else { if (callbackMethod != null){ try { callbackMethod.apply(args); } catch(error:Error) { }; }; }; }; } private static function loadError(_arg1:Object):void{ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); } public static function get childClip():Object{ return (_clip); } private static function initComChannels():void{ if (!_connected){ trace("[SERVICES_API] connected!"); _connecting = false; _connected = true; _mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"registerGame", preserved:_preserved, id:_id, version:getVersion(), parentURL:_container.loaderInfo.loaderURL}); _clip.onReceive = onReceive; _clip.onEvent = onEvent; _clip.onError = function ():void{ MochiServices.onError("IOError"); }; while (_queue.length > 0) { _mochiLocalConnection.send(_sendChannelName, "onReceive", _queue.shift()); }; }; } public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } private static function listen():void{ _mochiLocalConnection.connect(_listenChannelName); _clip.handshake = function (_arg1:Object):void{ MochiServices.comChannelName = _arg1.newChannel; }; trace("Waiting for MochiAds services to connect..."); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } private static function loadLCBridge(_arg1:Object):void{ var _local2:Loader = new Loader(); var _local3:String = (_servURL + _mochiLC); var _local4:URLRequest = new URLRequest(_local3); _local2.contentLoaderInfo.addEventListener(Event.COMPLETE, detach); _local2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, detach); _local2.contentLoaderInfo.addEventListener(Event.COMPLETE, loadLCBridgeComplete); _local2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError); _local2.load(_local4); _arg1.addChild(_local2); } public static function set comChannelName(_arg1:String):void{ if (_arg1 != null){ if (_arg1.length > 3){ _sendChannelName = (_arg1 + "_fromgame"); initComChannels(); }; }; } private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{ if (_clip != null){ return (_clip); }; if (!MochiServices.isNetworkAvailable()){ return (null); }; if (urlOptions(_arg2).servURL){ _servURL = urlOptions(_arg2).servURL; }; var _local3:String = (_servURL + _services); if (urlOptions(_arg2).servicesURL){ _local3 = urlOptions(_arg2).servicesURL; }; _listenChannelName = (_listenChannelName + ((Math.floor(new Date().time) + "_") + Math.floor((Math.random() * 99999)))); MochiServices.allowDomains(_local3); _clip = new MovieClip(); loadLCBridge(_clip); _loader = new Loader(); _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, detach); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, detach); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError); var _local4:URLRequest = new URLRequest(_local3); var _local5:URLVariables = new URLVariables(); _local5.listenLC = _listenChannelName; _local5.mochiad_options = _arg2.loaderInfo.parameters.mochiad_options; _local5.api_version = getVersion(); if (widget){ _local5.widget = true; }; _local4.data = _local5; _loader.load(_local4); _clip.addChild(_loader); _sendChannel = new LocalConnection(); _queue = []; _nextCallbackID = 0; _callbacks = {}; _timer = new Timer(10000, 1); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); return (_clip); } public static function get clip():Object{ return (_container); } public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{ var id = _arg1; var clip = _arg2; var onError = _arg3; warnID(id, false); if ((clip is DisplayObject)){ if (clip.stage == null){ trace("MochiServices connect requires the containing clip be attached to the stage"); }; if (((!(_connected)) && ((_clip == null)))){ trace("MochiServices Connecting..."); _connecting = true; init(id, clip); }; } else { trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage."); }; if (onError != null){ MochiServices.onError = onError; } else { if (MochiServices.onError == null){ MochiServices.onError = function (_arg1:String):void{ trace(_arg1); }; }; }; } public static function bringToTop(_arg1:Event=null):void{ var e = _arg1; if (((!((MochiServices.clip == null))) && (!((MochiServices.childClip == null))))){ try { if (MochiServices.clip.numChildren > 1){ MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1)); }; } catch(errorObject:Error) { trace("Warning: Depth sort error."); _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); }; }; } public static function connectWait(_arg1:TimerEvent):void{ if (!_connected){ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load. (timeout)"); MochiServices.disconnect(); MochiServices.onError("IOError"); } else { _timer.stop(); _timer.removeEventListener(TimerEvent.TIMER, connectWait); _timer = null; }; } } }//package mochi.as3
Section 216
//MochiSocial (mochi.as3.MochiSocial) package mochi.as3 { public class MochiSocial { public static const LOGGED_IN:String = "LoggedIn"; public static const ACTION_CANCELED:String = "onCancel"; public static const PROPERTIES_SIZE:String = "PropertiesSize"; public static const IO_ERROR:String = "IOError"; public static const NO_USER:String = "NoUser"; public static const FRIEND_LIST:String = "FriendsList"; public static const PROFILE_DATA:String = "ProfileData"; public static const GAMEPLAY_DATA:String = "GameplayData"; public static const ACTION_COMPLETE:String = "onComplete"; public static const LOGIN_SHOW:String = "LoginShow"; public static const PROFILE_HIDE:String = "ProfileHide"; public static const USER_INFO:String = "UserInfo"; public static const PROPERTIES_SAVED:String = "PropertySaved"; public static const WIDGET_LOADED:String = "WidgetLoaded"; public static const ERROR:String = "Error"; public static const LOGGED_OUT:String = "LoggedOut"; public static const PROFILE_SHOW:String = "ProfileShow"; public static const LOGIN_HIDE:String = "LoginHide"; public static const LOGIN_SHOWN:String = "LoginShown"; public static var _user_info:Object = null; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); public static function requestFan(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_requestFan", _arg1); } public static function postToStream(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_postToStream", _arg1); } public static function getFriendsList(_arg1:Object=null):void{ MochiServices.send("social_getFriendsList", _arg1); } public static function requestLogin(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_requestLogin", _arg1); } public static function getVersion():String{ return (MochiServices.getVersion()); } public static function saveUserProperties(_arg1:Object):void{ MochiServices.send("social_saveUserProperties", _arg1); } public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } public static function inviteFriends(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_inviteFriends", _arg1); } public static function get loggedIn():Boolean{ return (!((_user_info == null))); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } public static function showLoginWidget(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_showLoginWidget", {options:_arg1}); } public static function getAPIURL():String{ if (!_user_info){ return (null); }; return (_user_info.api_url); } public static function hideLoginWidget():void{ MochiServices.send("social_hideLoginWidget"); } public static function getAPIToken():String{ if (!_user_info){ return (null); }; return (_user_info.api_token); } MochiSocial.addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{ _user_info = _arg1; }); MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{ _user_info = null; }); } }//package mochi.as3
Section 217
//MochiUserData (mochi.as3.MochiUserData) package mochi.as3 { import flash.events.*; import flash.utils.*; import flash.net.*; public class MochiUserData extends EventDispatcher { public var callback:Function;// = null public var operation:String;// = null public var error:Event;// = null public var data;// = null public var _loader:URLLoader; public var key:String;// = null public function MochiUserData(_arg1:String="", _arg2:Function=null){ this.key = _arg1; this.callback = _arg2; } public function serialize(_arg1):ByteArray{ var _local2:ByteArray = new ByteArray(); _local2.objectEncoding = ObjectEncoding.AMF3; _local2.writeObject(_arg1); _local2.compress(); return (_local2); } public function errorHandler(_arg1:IOErrorEvent):void{ data = null; error = _arg1; if (callback != null){ performCallback(); } else { dispatchEvent(_arg1); }; close(); } public function putEvent(_arg1):void{ request("put", serialize(_arg1)); } public function deserialize(_arg1:ByteArray){ _arg1.objectEncoding = ObjectEncoding.AMF3; _arg1.uncompress(); return (_arg1.readObject()); } public function securityErrorHandler(_arg1:SecurityErrorEvent):void{ errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + _arg1.toString()))); } public function getEvent():void{ request("get", serialize(null)); } override public function toString():String{ return ((((((((("[MochiUserData operation=" + operation) + " key=\"") + key) + "\" data=") + data) + " error=\"") + error) + "\"]")); } public function performCallback():void{ try { callback(this); } catch(e:Error) { trace(("[MochiUserData] exception during callback: " + e)); }; } public function request(_arg1:String, _arg2:ByteArray):void{ var _operation = _arg1; var _data = _arg2; operation = _operation; var api_url:String = MochiSocial.getAPIURL(); var api_token:String = MochiSocial.getAPIToken(); if ((((api_url == null)) || ((api_token == null)))){ errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, "not logged in")); return; }; _loader = new URLLoader(); var args:URLVariables = new URLVariables(); args.op = _operation; args.key = key; var req:URLRequest = new URLRequest((((MochiSocial.getAPIURL() + "/") + "MochiUserData?") + args.toString())); req.method = URLRequestMethod.POST; req.contentType = "application/x-mochi-userdata"; req.requestHeaders = [new URLRequestHeader("x-mochi-services-version", MochiServices.getVersion()), new URLRequestHeader("x-mochi-api-token", api_token)]; req.data = _data; _loader.dataFormat = URLLoaderDataFormat.BINARY; _loader.addEventListener(Event.COMPLETE, completeHandler); _loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); _loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler); try { _loader.load(req); } catch(e:SecurityError) { errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + e.toString()))); }; } public function completeHandler(_arg1:Event):void{ var event = _arg1; try { if (_loader.data.length){ data = deserialize(_loader.data); } else { data = null; }; } catch(e:Error) { errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("deserialize error: " + e.toString()))); return; }; if (callback != null){ performCallback(); } else { dispatchEvent(event); }; close(); } public function close():void{ if (_loader){ _loader.removeEventListener(Event.COMPLETE, completeHandler); _loader.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler); _loader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler); _loader.close(); _loader = null; }; error = null; callback = null; } public static function get(_arg1:String, _arg2:Function):void{ var _local3:MochiUserData = new MochiUserData(_arg1, _arg2); _local3.getEvent(); } public static function put(_arg1:String, _arg2, _arg3:Function):void{ var _local4:MochiUserData = new MochiUserData(_arg1, _arg3); _local4.putEvent(_arg2); } } }//package mochi.as3
Section 218
//AlienBigBossBody_247 (TedViral_fla.AlienBigBossBody_247) package TedViral_fla { import flash.display.*; public dynamic class AlienBigBossBody_247 extends MovieClip { public var pointShoot:MovieClip; public function AlienBigBossBody_247(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 219
//AlienBombDetanatorAnim_361 (TedViral_fla.AlienBombDetanatorAnim_361) package TedViral_fla { import flash.display.*; import main.*; public dynamic class AlienBombDetanatorAnim_361 extends MovieClip { public function AlienBombDetanatorAnim_361(){ addFrameScript(0, frame1, 4, frame5, 9, frame10, 14, frame15, 19, frame20, 24, frame25, 29, frame30, 34, frame35, 39, frame40, 42, frame43, 45, frame46, 48, frame49, 51, frame52, 54, frame55, 57, frame58, 59, frame60); } function frame1(){ stop(); } function frame60(){ stop(); } function frame5(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame40(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame30(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame20(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame43(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame55(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame46(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame25(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame15(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame49(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame10(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame35(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame58(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame52(){ sounds.PlaySnd("bomb2", 1, this, stage); } } }//package TedViral_fla
Section 220
//AlienHunterBlasterAnim_372 (TedViral_fla.AlienHunterBlasterAnim_372) package TedViral_fla { import flash.display.*; import main.*; public dynamic class AlienHunterBlasterAnim_372 extends MovieClip { public var pointShoot:MovieClip; public function AlienHunterBlasterAnim_372(){ addFrameScript(0, frame1, 1, frame2, 9, frame10); } function frame1(){ stop(); } function frame2(){ if (sounds){ sounds.PlaySnd(("alienBlasterShoot" + ageMath.RandomInt(1, 2).toString()), 1.5, this, stage); }; } function frame10(){ gotoAndStop(1); } } }//package TedViral_fla
Section 221
//AlienPredatorLeg_554 (TedViral_fla.AlienPredatorLeg_554) package TedViral_fla { import flash.display.*; import main.*; public dynamic class AlienPredatorLeg_554 extends MovieClip { public function AlienPredatorLeg_554(){ addFrameScript(68, frame69); } function frame69(){ if (((sounds) && (MovieClip(parent).visible))){ sounds.PlaySnd("robotStep1"); }; } } }//package TedViral_fla
Section 222
//AlienPredatorLeg2_553 (TedViral_fla.AlienPredatorLeg2_553) package TedViral_fla { import flash.display.*; import main.*; public dynamic class AlienPredatorLeg2_553 extends MovieClip { public function AlienPredatorLeg2_553(){ addFrameScript(68, frame69); } function frame69(){ if (((sounds) && (MovieClip(parent).visible))){ sounds.PlaySnd("robotStep2"); }; } } }//package TedViral_fla
Section 223
//alienSawAnim_368 (TedViral_fla.alienSawAnim_368) package TedViral_fla { import flash.display.*; import main.*; public dynamic class alienSawAnim_368 extends MovieClip { public function alienSawAnim_368(){ addFrameScript(0, frame1, 2, frame3, 4, frame5, 6, frame7, 7, frame8); } function frame1(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame3(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame5(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame7(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame8(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } } }//package TedViral_fla
Section 224
//alienSeederBody_471 (TedViral_fla.alienSeederBody_471) package TedViral_fla { import flash.display.*; public dynamic class alienSeederBody_471 extends MovieClip { public var hatch:MovieClip; public function alienSeederBody_471(){ addFrameScript(0, frame1, 99, frame100, 149, frame150); } function frame100(){ stop(); } function frame1(){ stop(); } function frame150(){ stop(); } } }//package TedViral_fla
Section 225
//AlienSolderArmBlaster_460 (TedViral_fla.AlienSolderArmBlaster_460) package TedViral_fla { import flash.display.*; import main.*; public dynamic class AlienSolderArmBlaster_460 extends MovieClip { public var pointHand:MovieClip; public function AlienSolderArmBlaster_460(){ addFrameScript(0, frame1, 1, frame2, 9, frame10); } function frame1(){ stop(); } function frame2(){ sounds.PlaySnd(("alienBlasterShoot" + ageMath.RandomInt(1, 2).toString()), 1, this, stage); } function frame10(){ gotoAndStop(1); } } }//package TedViral_fla
Section 226
//AlienSolderArms_459 (TedViral_fla.AlienSolderArms_459) package TedViral_fla { import flash.display.*; public dynamic class AlienSolderArms_459 extends MovieClip { public var anim:MovieClip; public var pointShells:MovieClip; public var pointShoot:MovieClip; public function AlienSolderArms_459(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 227
//AlienSolderDie_466 (TedViral_fla.AlienSolderDie_466) package TedViral_fla { import flash.display.*; import main.*; public dynamic class AlienSolderDie_466 extends MovieClip { public var head:MovieClip; public var arm1:MovieClip; public var arm2:MovieClip; public function AlienSolderDie_466(){ addFrameScript(26, frame27, 46, frame47, 50, frame51); } function frame27(){ sounds.PlaySnd("bodyFall3", 1, this, stage); } function frame51(){ stop(); } function frame47(){ sounds.PlaySnd("bodyFall2", 1, this, stage); } } }//package TedViral_fla
Section 228
//animMarker_211 (TedViral_fla.animMarker_211) package TedViral_fla { import flash.display.*; public dynamic class animMarker_211 extends MovieClip { public function animMarker_211(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package TedViral_fla
Section 229
//BlastFX_29 (TedViral_fla.BlastFX_29) package TedViral_fla { import flash.display.*; public dynamic class BlastFX_29 extends MovieClip { public function BlastFX_29(){ addFrameScript(16, frame17); } function frame17(){ stop(); } } }//package TedViral_fla
Section 230
//bunkerMan_632 (TedViral_fla.bunkerMan_632) package TedViral_fla { import flash.display.*; public dynamic class bunkerMan_632 extends MovieClip { public function bunkerMan_632(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 231
//cacheSound_83 (TedViral_fla.cacheSound_83) package TedViral_fla { import flash.display.*; public dynamic class cacheSound_83 extends MovieClip { public var s3:MovieClip; public var s4:MovieClip; public var s1:MovieClip; public var s2:MovieClip; public function cacheSound_83(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package TedViral_fla
Section 232
//cacheSoundsImpact_85 (TedViral_fla.cacheSoundsImpact_85) package TedViral_fla { import flash.display.*; public dynamic class cacheSoundsImpact_85 extends MovieClip { public function cacheSoundsImpact_85(){ addFrameScript(0, frame1, 7, frame8); } function frame8(){ stop(); } function frame1(){ stop(); } } }//package TedViral_fla
Section 233
//cacheSoundsMusic_86 (TedViral_fla.cacheSoundsMusic_86) package TedViral_fla { import flash.display.*; public dynamic class cacheSoundsMusic_86 extends MovieClip { public function cacheSoundsMusic_86(){ addFrameScript(0, frame1, 4, frame5); } function frame5(){ stop(); } function frame1(){ stop(); } } }//package TedViral_fla
Section 234
//cacheSoundsOther_87 (TedViral_fla.cacheSoundsOther_87) package TedViral_fla { import flash.display.*; public dynamic class cacheSoundsOther_87 extends MovieClip { public function cacheSoundsOther_87(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5); } function frame1(){ stop(); } function frame2(){ stop(); } function frame3(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } } }//package TedViral_fla
Section 235
//cacheSoundsWeapons_84 (TedViral_fla.cacheSoundsWeapons_84) package TedViral_fla { import flash.display.*; public dynamic class cacheSoundsWeapons_84 extends MovieClip { public function cacheSoundsWeapons_84(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 236
//codeLock_635 (TedViral_fla.codeLock_635) package TedViral_fla { import flash.display.*; public dynamic class codeLock_635 extends MovieClip { public function codeLock_635(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 237
//credAneg_160 (TedViral_fla.credAneg_160) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.net.*; public dynamic class credAneg_160 extends MovieClip { public function credAneg_160(){ addFrameScript(0, frame1); } public function clickHandler(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.anegmetex.com"), "_blank"); } function frame1(){ addEventListener(MouseEvent.CLICK, clickHandler); this.buttonMode = true; } } }//package TedViral_fla
Section 238
//dialogPics_194 (TedViral_fla.dialogPics_194) package TedViral_fla { import flash.display.*; public dynamic class dialogPics_194 extends MovieClip { public function dialogPics_194(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 239
//dynamiteAnim_322 (TedViral_fla.dynamiteAnim_322) package TedViral_fla { import flash.display.*; import main.*; public dynamic class dynamiteAnim_322 extends MovieClip { public function dynamiteAnim_322(){ addFrameScript(0, frame1, 4, frame5, 9, frame10, 14, frame15, 19, frame20, 24, frame25, 29, frame30, 34, frame35, 39, frame40, 44, frame45, 49, frame50, 54, frame55, 59, frame60, 63, frame64); } function frame1(){ stop(); } function frame60(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame50(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame40(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame30(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame20(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame10(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame55(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame45(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame5(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame25(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame15(){ sounds.PlaySnd("bomb2", 1, this, stage); } function frame64(){ stop(); } function frame35(){ sounds.PlaySnd("bomb2", 1, this, stage); } } }//package TedViral_fla
Section 240
//EarthRow01Big_421 (TedViral_fla.EarthRow01Big_421) package TedViral_fla { import flash.display.*; public dynamic class EarthRow01Big_421 extends MovieClip { public function EarthRow01Big_421(){ addFrameScript(0, frame1); } function frame1(){ } } }//package TedViral_fla
Section 241
//EarthRow01BigRightMasked_442 (TedViral_fla.EarthRow01BigRightMasked_442) package TedViral_fla { import flash.display.*; public dynamic class EarthRow01BigRightMasked_442 extends MovieClip { public var maskMC:MovieClip; public var bgMC:MovieClip; public function EarthRow01BigRightMasked_442(){ addFrameScript(0, frame1); } function frame1(){ bgMC.cacheAsBitmap = true; maskMC.cacheAsBitmap = true; bgMC.mask = maskMC; } } }//package TedViral_fla
Section 242
//EarthRow01BigTopMasked_420 (TedViral_fla.EarthRow01BigTopMasked_420) package TedViral_fla { import flash.display.*; public dynamic class EarthRow01BigTopMasked_420 extends MovieClip { public var maskMC:MovieClip; public var bgMC:MovieClip; public function EarthRow01BigTopMasked_420(){ addFrameScript(0, frame1); } function frame1(){ bgMC.cacheAsBitmap = true; maskMC.cacheAsBitmap = true; bgMC.mask = maskMC; } } }//package TedViral_fla
Section 243
//fuelBarrel_510 (TedViral_fla.fuelBarrel_510) package TedViral_fla { import flash.display.*; public dynamic class fuelBarrel_510 extends MovieClip { public function fuelBarrel_510(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 244
//FXLayerTitle_403 (TedViral_fla.FXLayerTitle_403) package TedViral_fla { import flash.display.*; public dynamic class FXLayerTitle_403 extends MovieClip { public function FXLayerTitle_403(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package TedViral_fla
Section 245
//gamButtSound_245 (TedViral_fla.gamButtSound_245) package TedViral_fla { import flash.display.*; public dynamic class gamButtSound_245 extends MovieClip { public function gamButtSound_245(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 246
//hazardBio_177 (TedViral_fla.hazardBio_177) package TedViral_fla { import flash.display.*; public dynamic class hazardBio_177 extends MovieClip { public function hazardBio_177(){ addFrameScript(0, frame1); } function frame1(){ stop(); visible = false; } } }//package TedViral_fla
Section 247
//hazardElectro_175 (TedViral_fla.hazardElectro_175) package TedViral_fla { import flash.display.*; public dynamic class hazardElectro_175 extends MovieClip { public function hazardElectro_175(){ addFrameScript(0, frame1); } function frame1(){ stop(); visible = false; } } }//package TedViral_fla
Section 248
//hazardPsy_179 (TedViral_fla.hazardPsy_179) package TedViral_fla { import flash.display.*; public dynamic class hazardPsy_179 extends MovieClip { public function hazardPsy_179(){ addFrameScript(0, frame1); } function frame1(){ stop(); visible = false; } } }//package TedViral_fla
Section 249
//items_184 (TedViral_fla.items_184) package TedViral_fla { import flash.display.*; import flash.text.*; public dynamic class items_184 extends MovieClip { public var txtMoney:TextField; public function items_184(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 250
//Level1_Chunk1_653 (TedViral_fla.Level1_Chunk1_653) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level1_Chunk1_653 extends MovieClip { public function Level1_Chunk1_653(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 251
//Level1_Chunk2_648 (TedViral_fla.Level1_Chunk2_648) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level1_Chunk2_648 extends MovieClip { public function Level1_Chunk2_648(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 252
//Level1_Chunk3_660 (TedViral_fla.Level1_Chunk3_660) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level1_Chunk3_660 extends MovieClip { public function Level1_Chunk3_660(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 253
//Level2_Chunk1_278 (TedViral_fla.Level2_Chunk1_278) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level2_Chunk1_278 extends MovieClip { public function Level2_Chunk1_278(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 254
//Level2_Chunk2_297 (TedViral_fla.Level2_Chunk2_297) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level2_Chunk2_297 extends MovieClip { public function Level2_Chunk2_297(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 255
//Level2_Chunk3_262 (TedViral_fla.Level2_Chunk3_262) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level2_Chunk3_262 extends MovieClip { public function Level2_Chunk3_262(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 256
//Level2_Chunk4_289 (TedViral_fla.Level2_Chunk4_289) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level2_Chunk4_289 extends MovieClip { public function Level2_Chunk4_289(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 257
//Level3_Chunk1_435 (TedViral_fla.Level3_Chunk1_435) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level3_Chunk1_435 extends MovieClip { public function Level3_Chunk1_435(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 258
//Level3_Chunk2_411 (TedViral_fla.Level3_Chunk2_411) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level3_Chunk2_411 extends MovieClip { public function Level3_Chunk2_411(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 259
//Level3_Chunk3_454 (TedViral_fla.Level3_Chunk3_454) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level3_Chunk3_454 extends MovieClip { public function Level3_Chunk3_454(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 260
//Level3_Chunk4_449 (TedViral_fla.Level3_Chunk4_449) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level3_Chunk4_449 extends MovieClip { public function Level3_Chunk4_449(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 261
//Level3_Chunk5_443 (TedViral_fla.Level3_Chunk5_443) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level3_Chunk5_443 extends MovieClip { public function Level3_Chunk5_443(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 262
//Level4_Chunk1_592 (TedViral_fla.Level4_Chunk1_592) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level4_Chunk1_592 extends MovieClip { public function Level4_Chunk1_592(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 263
//Level4_Chunk2_598 (TedViral_fla.Level4_Chunk2_598) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level4_Chunk2_598 extends MovieClip { public function Level4_Chunk2_598(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 264
//Level4_Chunk3_595 (TedViral_fla.Level4_Chunk3_595) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level4_Chunk3_595 extends MovieClip { public function Level4_Chunk3_595(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 265
//Level4_Chunk4_590 (TedViral_fla.Level4_Chunk4_590) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level4_Chunk4_590 extends MovieClip { public function Level4_Chunk4_590(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 266
//Level4_Chunk5_586 (TedViral_fla.Level4_Chunk5_586) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level4_Chunk5_586 extends MovieClip { public function Level4_Chunk5_586(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 267
//Level4_ChunkG1_614 (TedViral_fla.Level4_ChunkG1_614) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level4_ChunkG1_614 extends MovieClip { public function Level4_ChunkG1_614(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 268
//Level4_ChunkG2_616 (TedViral_fla.Level4_ChunkG2_616) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level4_ChunkG2_616 extends MovieClip { public function Level4_ChunkG2_616(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 269
//Level4_ChunkG3_617 (TedViral_fla.Level4_ChunkG3_617) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level4_ChunkG3_617 extends MovieClip { public function Level4_ChunkG3_617(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 270
//Level4_ChunkL1_604 (TedViral_fla.Level4_ChunkL1_604) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level4_ChunkL1_604 extends MovieClip { public function Level4_ChunkL1_604(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 271
//Level4_ChunkL2_609 (TedViral_fla.Level4_ChunkL2_609) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level4_ChunkL2_609 extends MovieClip { public function Level4_ChunkL2_609(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 272
//Level4_ChunkL3_610 (TedViral_fla.Level4_ChunkL3_610) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level4_ChunkL3_610 extends MovieClip { public function Level4_ChunkL3_610(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 273
//Level4_ChunkL4_611 (TedViral_fla.Level4_ChunkL4_611) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level4_ChunkL4_611 extends MovieClip { public function Level4_ChunkL4_611(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 274
//Level4_ChunkL5_612 (TedViral_fla.Level4_ChunkL5_612) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level4_ChunkL5_612 extends MovieClip { public function Level4_ChunkL5_612(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 275
//Level4_ChunkL6_613 (TedViral_fla.Level4_ChunkL6_613) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level4_ChunkL6_613 extends MovieClip { public function Level4_ChunkL6_613(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 276
//Level5_Chunk1_622 (TedViral_fla.Level5_Chunk1_622) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level5_Chunk1_622 extends MovieClip { public function Level5_Chunk1_622(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 277
//Level5_Chunk2_624 (TedViral_fla.Level5_Chunk2_624) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level5_Chunk2_624 extends MovieClip { public function Level5_Chunk2_624(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 278
//Level5_Chunk3_627 (TedViral_fla.Level5_Chunk3_627) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level5_Chunk3_627 extends MovieClip { public function Level5_Chunk3_627(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 279
//Level5_Chunk4_625 (TedViral_fla.Level5_Chunk4_625) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level5_Chunk4_625 extends MovieClip { public function Level5_Chunk4_625(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 280
//Level5_Chunk5_621 (TedViral_fla.Level5_Chunk5_621) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level5_Chunk5_621 extends MovieClip { public function Level5_Chunk5_621(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 281
//Level5_Chunk6_619 (TedViral_fla.Level5_Chunk6_619) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level5_Chunk6_619 extends MovieClip { public function Level5_Chunk6_619(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 282
//Level5_LChunk1_638 (TedViral_fla.Level5_LChunk1_638) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level5_LChunk1_638 extends MovieClip { public function Level5_LChunk1_638(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 283
//Level5_LChunk2_639 (TedViral_fla.Level5_LChunk2_639) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level5_LChunk2_639 extends MovieClip { public function Level5_LChunk2_639(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 284
//Level5_LChunk3_640 (TedViral_fla.Level5_LChunk3_640) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level5_LChunk3_640 extends MovieClip { public function Level5_LChunk3_640(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 285
//Level5_LChunk4_641 (TedViral_fla.Level5_LChunk4_641) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level5_LChunk4_641 extends MovieClip { public function Level5_LChunk4_641(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 286
//Level6_Chunk1_507 (TedViral_fla.Level6_Chunk1_507) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level6_Chunk1_507 extends MovieClip { public function Level6_Chunk1_507(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 287
//Level6_Chunk2_503 (TedViral_fla.Level6_Chunk2_503) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level6_Chunk2_503 extends MovieClip { public function Level6_Chunk2_503(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 288
//Level6_Chunk3_500 (TedViral_fla.Level6_Chunk3_500) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level6_Chunk3_500 extends MovieClip { public function Level6_Chunk3_500(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 289
//Level6_Chunk4_493 (TedViral_fla.Level6_Chunk4_493) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Level6_Chunk4_493 extends MovieClip { public function Level6_Chunk4_493(){ addFrameScript(0, frame1); } function frame1(){ Level(parent).chunkObjects.push(this); } } }//package TedViral_fla
Section 290
//leverWall_569 (TedViral_fla.leverWall_569) package TedViral_fla { import flash.display.*; public dynamic class leverWall_569 extends MovieClip { public function leverWall_569(){ addFrameScript(0, frame1, 19, frame20); } function frame20(){ stop(); } function frame1(){ stop(); } } }//package TedViral_fla
Section 291
//lifeBarGui_174 (TedViral_fla.lifeBarGui_174) package TedViral_fla { import flash.display.*; public dynamic class lifeBarGui_174 extends MovieClip { public function lifeBarGui_174(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 292
//limiterSlim_406 (TedViral_fla.limiterSlim_406) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class limiterSlim_406 extends MovieClip { public function limiterSlim_406(){ addFrameScript(0, frame1); } function frame1(){ visible = false; this.wideGround = false; this.slimMode = true; Level(parent).addLimiter(this); } } }//package TedViral_fla
Section 293
//limiterWide_405 (TedViral_fla.limiterWide_405) package TedViral_fla { import flash.events.*; import flash.display.*; import flash.text.*; import main.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class limiterWide_405 extends MovieClip { public function limiterWide_405(){ addFrameScript(0, frame1); } function frame1(){ visible = false; this.wideGround = true; this.slimMode = false; Level(parent).addLimiter(this); } } }//package TedViral_fla
Section 294
//LittleSmokeFX1_31 (TedViral_fla.LittleSmokeFX1_31) package TedViral_fla { import flash.display.*; public dynamic class LittleSmokeFX1_31 extends MovieClip { public function LittleSmokeFX1_31(){ addFrameScript(59, frame60); } function frame60(){ stop(); } } }//package TedViral_fla
Section 295
//LittleSmokeFX2_33 (TedViral_fla.LittleSmokeFX2_33) package TedViral_fla { import flash.display.*; public dynamic class LittleSmokeFX2_33 extends MovieClip { public function LittleSmokeFX2_33(){ addFrameScript(49, frame50); } function frame50(){ stop(); } } }//package TedViral_fla
Section 296
//LittleSmokeFX3_34 (TedViral_fla.LittleSmokeFX3_34) package TedViral_fla { import flash.display.*; public dynamic class LittleSmokeFX3_34 extends MovieClip { public function LittleSmokeFX3_34(){ addFrameScript(54, frame55); } function frame55(){ stop(); } } }//package TedViral_fla
Section 297
//menuEpPic_157 (TedViral_fla.menuEpPic_157) package TedViral_fla { import flash.display.*; import flash.text.*; public dynamic class menuEpPic_157 extends MovieClip { public var epNum:TextField; public function menuEpPic_157(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 298
//metalSparksFX_23 (TedViral_fla.metalSparksFX_23) package TedViral_fla { import flash.display.*; public dynamic class metalSparksFX_23 extends MovieClip { public function metalSparksFX_23(){ addFrameScript(12, frame13); } function frame13(){ stop(); } } }//package TedViral_fla
Section 299
//og_logo_122 (TedViral_fla.og_logo_122) package TedViral_fla { import flash.display.*; public dynamic class og_logo_122 extends MovieClip { public function og_logo_122(){ addFrameScript(84, frame85); } function frame85(){ stop(); } } }//package TedViral_fla
Section 300
//og_logo_text_123 (TedViral_fla.og_logo_text_123) package TedViral_fla { import flash.display.*; public dynamic class og_logo_text_123 extends MovieClip { public function og_logo_text_123(){ addFrameScript(42, frame43); } function frame43(){ stop(); } } }//package TedViral_fla
Section 301
//oldMan_318 (TedViral_fla.oldMan_318) package TedViral_fla { import flash.display.*; public dynamic class oldMan_318 extends MovieClip { public function oldMan_318(){ addFrameScript(9, frame10, 19, frame20); } function frame20(){ stop(); } function frame10(){ stop(); } } }//package TedViral_fla
Section 302
//onlinegamercc_logo_121 (TedViral_fla.onlinegamercc_logo_121) package TedViral_fla { import flash.display.*; public dynamic class onlinegamercc_logo_121 extends MovieClip { public function onlinegamercc_logo_121(){ addFrameScript(237, frame238); } function frame238(){ stop(); } } }//package TedViral_fla
Section 303
//physMarker_42 (TedViral_fla.physMarker_42) package TedViral_fla { import flash.display.*; public dynamic class physMarker_42 extends MovieClip { public function physMarker_42(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package TedViral_fla
Section 304
//projLayerTitle_325 (TedViral_fla.projLayerTitle_325) package TedViral_fla { import flash.display.*; public dynamic class projLayerTitle_325 extends MovieClip { public function projLayerTitle_325(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package TedViral_fla
Section 305
//propLayerTitle_401 (TedViral_fla.propLayerTitle_401) package TedViral_fla { import flash.display.*; public dynamic class propLayerTitle_401 extends MovieClip { public function propLayerTitle_401(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package TedViral_fla
Section 306
//sewerHatch_583 (TedViral_fla.sewerHatch_583) package TedViral_fla { import flash.display.*; public dynamic class sewerHatch_583 extends MovieClip { public var anmPoint:MovieClip; public function sewerHatch_583(){ addFrameScript(0, frame1, 59, frame60); } function frame1(){ stop(); } function frame60(){ stop(); } } }//package TedViral_fla
Section 307
//sewerHatch2_596 (TedViral_fla.sewerHatch2_596) package TedViral_fla { import flash.display.*; public dynamic class sewerHatch2_596 extends MovieClip { public var anmPoint:MovieClip; public function sewerHatch2_596(){ addFrameScript(0, frame1, 59, frame60); } function frame1(){ stop(); } function frame60(){ stop(); } } }//package TedViral_fla
Section 308
//shotgunMan_658 (TedViral_fla.shotgunMan_658) package TedViral_fla { import flash.display.*; public dynamic class shotgunMan_658 extends MovieClip { public function shotgunMan_658(){ addFrameScript(0, frame1, 23, frame24); } function frame1(){ stop(); } function frame24(){ stop(); } } }//package TedViral_fla
Section 309
//single_spark_24 (TedViral_fla.single_spark_24) package TedViral_fla { import flash.display.*; public dynamic class single_spark_24 extends MovieClip { public function single_spark_24(){ addFrameScript(24, frame25); } function frame25(){ stop(); MovieClip(parent).visible = false; } } }//package TedViral_fla
Section 310
//single_spark2_25 (TedViral_fla.single_spark2_25) package TedViral_fla { import flash.display.*; public dynamic class single_spark2_25 extends MovieClip { public function single_spark2_25(){ addFrameScript(9, frame10); } function frame10(){ stop(); } } }//package TedViral_fla
Section 311
//single_spark3_26 (TedViral_fla.single_spark3_26) package TedViral_fla { import flash.display.*; public dynamic class single_spark3_26 extends MovieClip { public function single_spark3_26(){ addFrameScript(14, frame15); } function frame15(){ stop(); } } }//package TedViral_fla
Section 312
//single_spark4_27 (TedViral_fla.single_spark4_27) package TedViral_fla { import flash.display.*; public dynamic class single_spark4_27 extends MovieClip { public function single_spark4_27(){ addFrameScript(9, frame10); } function frame10(){ stop(); } } }//package TedViral_fla
Section 313
//spiderAttack_578 (TedViral_fla.spiderAttack_578) package TedViral_fla { import flash.display.*; import main.*; public dynamic class spiderAttack_578 extends MovieClip { public function spiderAttack_578(){ addFrameScript(5, frame6, 16, frame17); } function frame6(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame17(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "firstAttackEnd")); } } }//package TedViral_fla
Section 314
//spiderDie_577 (TedViral_fla.spiderDie_577) package TedViral_fla { import flash.display.*; import main.*; public dynamic class spiderDie_577 extends MovieClip { public function spiderDie_577(){ addFrameScript(6, frame7, 30, frame31); } function frame7(){ sounds.PlaySnd(("bodyFall" + ageMath.RandomInt(1, 4).toString()), 1, this, stage); } function frame31(){ stop(); } } }//package TedViral_fla
Section 315
//TedArms_378 (TedViral_fla.TedArms_378) package TedViral_fla { import flash.display.*; public dynamic class TedArms_378 extends MovieClip { public var anim:MovieClip; public var pointShells:MovieClip; public var pointShoot:MovieClip; public function TedArms_378(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 316
//TedArmsL_AK_381 (TedViral_fla.TedArmsL_AK_381) package TedViral_fla { import flash.display.*; public dynamic class TedArmsL_AK_381 extends MovieClip { public function TedArmsL_AK_381(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 317
//TedArmsL_Shotgun_383 (TedViral_fla.TedArmsL_Shotgun_383) package TedViral_fla { import flash.display.*; public dynamic class TedArmsL_Shotgun_383 extends MovieClip { public function TedArmsL_Shotgun_383(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 318
//TedArmsPistol_379 (TedViral_fla.TedArmsPistol_379) package TedViral_fla { import flash.display.*; import main.*; public dynamic class TedArmsPistol_379 extends MovieClip { public function TedArmsPistol_379(){ addFrameScript(0, frame1, 1, frame2, 9, frame10); } function frame10(){ gotoAndStop(1); } function frame1(){ stop(); } function frame2(){ if (sounds){ sounds.PlaySnd(("PistolShoot" + ageMath.RandomInt(1, 2).toString())); }; } } }//package TedViral_fla
Section 319
//TedArmsR_AK_380 (TedViral_fla.TedArmsR_AK_380) package TedViral_fla { import flash.display.*; import main.*; public dynamic class TedArmsR_AK_380 extends MovieClip { public var pointHand:MovieClip; public function TedArmsR_AK_380(){ addFrameScript(0, frame1, 1, frame2, 4, frame5); } function frame1(){ stop(); } function frame2(){ if (sounds){ sounds.PlaySnd(("AKShoot" + ageMath.RandomInt(1, 2).toString())); }; } function frame5(){ gotoAndStop(1); } } }//package TedViral_fla
Section 320
//TedArmsR_Blaster_385 (TedViral_fla.TedArmsR_Blaster_385) package TedViral_fla { import flash.display.*; import main.*; public dynamic class TedArmsR_Blaster_385 extends MovieClip { public var pointHand:MovieClip; public function TedArmsR_Blaster_385(){ addFrameScript(0, frame1, 1, frame2, 4, frame5); } function frame1(){ stop(); } function frame2(){ if (sounds){ sounds.PlaySnd(("BlasterShoot" + ageMath.RandomInt(1, 2).toString())); }; } function frame5(){ gotoAndStop(1); } } }//package TedViral_fla
Section 321
//TedArmsR_DDD_388 (TedViral_fla.TedArmsR_DDD_388) package TedViral_fla { import flash.display.*; import main.*; public dynamic class TedArmsR_DDD_388 extends MovieClip { public var pointHand:MovieClip; public function TedArmsR_DDD_388(){ addFrameScript(0, frame1, 1, frame2, 4, frame5); } function frame1(){ stop(); } function frame2(){ if (sounds){ sounds.PlaySnd(("ShotgunShoot" + ageMath.RandomInt(1, 2).toString())); }; } function frame5(){ gotoAndStop(1); } } }//package TedViral_fla
Section 322
//TedArmsR_Lasergun_387 (TedViral_fla.TedArmsR_Lasergun_387) package TedViral_fla { import flash.display.*; import main.*; public dynamic class TedArmsR_Lasergun_387 extends MovieClip { public var pointHand:MovieClip; public function TedArmsR_Lasergun_387(){ addFrameScript(0, frame1, 1, frame2, 4, frame5); } function frame1(){ stop(); } function frame2(){ if (sounds){ sounds.PlaySnd(("LasergunShoot" + ageMath.RandomInt(1, 2).toString())); }; } function frame5(){ gotoAndStop(1); } } }//package TedViral_fla
Section 323
//TedArmsR_Minigun_384 (TedViral_fla.TedArmsR_Minigun_384) package TedViral_fla { import flash.display.*; import main.*; public dynamic class TedArmsR_Minigun_384 extends MovieClip { public var pointHand:MovieClip; public function TedArmsR_Minigun_384(){ addFrameScript(0, frame1, 1, frame2, 4, frame5); } function frame1(){ stop(); } function frame2(){ if (sounds){ sounds.PlaySnd(("MinigunShoot" + ageMath.RandomInt(1, 2).toString())); }; } function frame5(){ gotoAndStop(1); } } }//package TedViral_fla
Section 324
//TedArmsR_RPG_386 (TedViral_fla.TedArmsR_RPG_386) package TedViral_fla { import flash.display.*; import main.*; public dynamic class TedArmsR_RPG_386 extends MovieClip { public var pointHand:MovieClip; public function TedArmsR_RPG_386(){ addFrameScript(0, frame1, 1, frame2, 4, frame5); } function frame1(){ stop(); } function frame2(){ if (sounds){ sounds.PlaySnd(("RPGShoot" + ageMath.RandomInt(1, 2).toString())); }; } function frame5(){ gotoAndStop(1); } } }//package TedViral_fla
Section 325
//TedArmsR_Shotgun_382 (TedViral_fla.TedArmsR_Shotgun_382) package TedViral_fla { import flash.display.*; import main.*; public dynamic class TedArmsR_Shotgun_382 extends MovieClip { public var pointHand:MovieClip; public function TedArmsR_Shotgun_382(){ addFrameScript(0, frame1, 1, frame2, 4, frame5); } function frame1(){ stop(); } function frame2(){ if (sounds){ sounds.PlaySnd(("ShotgunShoot" + ageMath.RandomInt(1, 2).toString())); }; } function frame5(){ gotoAndStop(1); } } }//package TedViral_fla
Section 326
//TedDie_396 (TedViral_fla.TedDie_396) package TedViral_fla { import flash.display.*; public dynamic class TedDie_396 extends MovieClip { public var head:MovieClip; public var arm1:MovieClip; public var arm2:MovieClip; public function TedDie_396(){ addFrameScript(34, frame35); } function frame35(){ stop(); } } }//package TedViral_fla
Section 327
//TedHead_391 (TedViral_fla.TedHead_391) package TedViral_fla { import flash.display.*; public dynamic class TedHead_391 extends MovieClip { public var gm:MovieClip; public function TedHead_391(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 328
//upgCrateInfo_204 (TedViral_fla.upgCrateInfo_204) package TedViral_fla { import flash.display.*; import flash.text.*; public dynamic class upgCrateInfo_204 extends MovieClip { public var txt:TextField; public var pic:MovieClip; public var upgStars:MovieClip; public var soldout:MovieClip; public function upgCrateInfo_204(){ addFrameScript(0, frame1); } function frame1(){ this.visible = false; } } }//package TedViral_fla
Section 329
//upgCratePic_171 (TedViral_fla.upgCratePic_171) package TedViral_fla { import flash.display.*; public dynamic class upgCratePic_171 extends MovieClip { public function upgCratePic_171(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package TedViral_fla
Section 330
//valveWall_594 (TedViral_fla.valveWall_594) package TedViral_fla { import flash.display.*; public dynamic class valveWall_594 extends MovieClip { public function valveWall_594(){ addFrameScript(0, frame1, 20, frame21); } function frame21(){ stop(); } function frame1(){ stop(); } } }//package TedViral_fla
Section 331
//Zomb01Attack_359 (TedViral_fla.Zomb01Attack_359) package TedViral_fla { import flash.display.*; import main.*; public dynamic class Zomb01Attack_359 extends MovieClip { public function Zomb01Attack_359(){ addFrameScript(6, frame7, 10, frame11, 14, frame15, 24, frame25, 52, frame53); } function frame25(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame15(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame7(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame53(){ } function frame11(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "firstAttackEnd")); } } }//package TedViral_fla
Section 332
//Zomb01Die_357 (TedViral_fla.Zomb01Die_357) package TedViral_fla { import flash.display.*; import main.*; public dynamic class Zomb01Die_357 extends MovieClip { public function Zomb01Die_357(){ addFrameScript(10, frame11, 22, frame23); } function frame11(){ sounds.PlaySnd(("bodyFall" + ageMath.RandomInt(1, 4).toString()), 1, this, stage); } function frame23(){ stop(); } } }//package TedViral_fla
Section 333
//Zomb02Attack_331 (TedViral_fla.Zomb02Attack_331) package TedViral_fla { import flash.display.*; import main.*; public dynamic class Zomb02Attack_331 extends MovieClip { public function Zomb02Attack_331(){ addFrameScript(6, frame7, 16, frame17, 30, frame31); } function frame7(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "firstAttackEnd")); } function frame17(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame31(){ } } }//package TedViral_fla
Section 334
//Zomb02Die_329 (TedViral_fla.Zomb02Die_329) package TedViral_fla { import flash.display.*; import main.*; public dynamic class Zomb02Die_329 extends MovieClip { public function Zomb02Die_329(){ addFrameScript(20, frame21, 42, frame43, 48, frame49); } function frame49(){ stop(); } function frame43(){ sounds.PlaySnd("bodyFall2", 1, this, stage); } function frame21(){ sounds.PlaySnd("bodyFall3", 1, this, stage); } } }//package TedViral_fla
Section 335
//Zomb03Attack_337 (TedViral_fla.Zomb03Attack_337) package TedViral_fla { import flash.display.*; import main.*; public dynamic class Zomb03Attack_337 extends MovieClip { public function Zomb03Attack_337(){ addFrameScript(14, frame15, 24, frame25, 36, frame37); } function frame25(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame15(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "firstAttackEnd")); } function frame37(){ } } }//package TedViral_fla
Section 336
//Zomb03Die_335 (TedViral_fla.Zomb03Die_335) package TedViral_fla { import flash.display.*; import main.*; public dynamic class Zomb03Die_335 extends MovieClip { public function Zomb03Die_335(){ addFrameScript(24, frame25, 34, frame35); } function frame25(){ sounds.PlaySnd(("bodyFall" + ageMath.RandomInt(1, 4).toString()), 1, this, stage); } function frame35(){ stop(); } } }//package TedViral_fla
Section 337
//Zomb04Attack_343 (TedViral_fla.Zomb04Attack_343) package TedViral_fla { import flash.display.*; import main.*; public dynamic class Zomb04Attack_343 extends MovieClip { public function Zomb04Attack_343(){ addFrameScript(16, frame17, 20, frame21, 26, frame27, 28, frame29, 32, frame33, 44, frame45); } function frame27(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame17(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "firstAttackEnd")); } function frame29(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame21(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame33(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame45(){ } } }//package TedViral_fla
Section 338
//Zomb04Die_341 (TedViral_fla.Zomb04Die_341) package TedViral_fla { import flash.display.*; import main.*; public dynamic class Zomb04Die_341 extends MovieClip { public function Zomb04Die_341(){ addFrameScript(22, frame23, 34, frame35); } function frame23(){ sounds.PlaySnd(("bodyFall" + ageMath.RandomInt(1, 4).toString()), 1, this, stage); } function frame35(){ stop(); } } }//package TedViral_fla
Section 339
//Zomb05Attack_352 (TedViral_fla.Zomb05Attack_352) package TedViral_fla { import flash.display.*; import main.*; public dynamic class Zomb05Attack_352 extends MovieClip { public function Zomb05Attack_352(){ addFrameScript(8, frame9, 24, frame25, 34, frame35, 48, frame49, 68, frame69); } function frame25(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame49(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } function frame69(){ } function frame9(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "firstAttackEnd")); } function frame35(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); } } }//package TedViral_fla
Section 340
//Zomb05Die_350 (TedViral_fla.Zomb05Die_350) package TedViral_fla { import flash.display.*; import main.*; public dynamic class Zomb05Die_350 extends MovieClip { public function Zomb05Die_350(){ addFrameScript(22, frame23, 42, frame43); } function frame43(){ stop(); } function frame23(){ sounds.PlaySnd(("bodyFall" + ageMath.RandomInt(1, 4).toString()), 1, this, stage); } } }//package TedViral_fla
Section 341
//ZombPsyAttack_545 (TedViral_fla.ZombPsyAttack_545) package TedViral_fla { import flash.display.*; import main.*; public dynamic class ZombPsyAttack_545 extends MovieClip { public function ZombPsyAttack_545(){ addFrameScript(52, frame53); } function frame53(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "firstAttackEnd")); } } }//package TedViral_fla
Section 342
//ZombPsyDie_544 (TedViral_fla.ZombPsyDie_544) package TedViral_fla { import flash.display.*; import main.*; public dynamic class ZombPsyDie_544 extends MovieClip { public function ZombPsyDie_544(){ addFrameScript(22, frame23, 48, frame49, 52, frame53); } function frame49(){ sounds.PlaySnd(("bodyFall" + ageMath.RandomInt(1, 4).toString()), 1, this, stage); } function frame53(){ stop(); } function frame23(){ sounds.PlaySnd(("bodyFall" + ageMath.RandomInt(1, 4).toString()), 1, this, stage); } } }//package TedViral_fla
Section 343
//ZombTankAttack1_516 (TedViral_fla.ZombTankAttack1_516) package TedViral_fla { import flash.display.*; import main.*; public dynamic class ZombTankAttack1_516 extends MovieClip { public function ZombTankAttack1_516(){ addFrameScript(13, frame14); } function frame14(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "firstAttackEnd")); } } }//package TedViral_fla
Section 344
//ZombTankAttack2_517 (TedViral_fla.ZombTankAttack2_517) package TedViral_fla { import flash.display.*; import main.*; public dynamic class ZombTankAttack2_517 extends MovieClip { public function ZombTankAttack2_517(){ addFrameScript(15, frame16); } function frame16(){ actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "attackHit")); actorObject(parent).dispatchEvent(new FSMEvent(FSMEvent.ONPOSTED, "firstAttackEnd")); } } }//package TedViral_fla
Section 345
//ZombTankDie_515 (TedViral_fla.ZombTankDie_515) package TedViral_fla { import flash.display.*; public dynamic class ZombTankDie_515 extends MovieClip { public function ZombTankDie_515(){ addFrameScript(84, frame85); } function frame85(){ stop(); } } }//package TedViral_fla
Section 346
//adMY (adMY) package { import flash.display.*; import flash.events.*; import flash.net.*; public dynamic class adMY extends MovieClip { public function adMY(){ addFrameScript(0, frame1); } public function clickHandler(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.onlinegamer.cc?utm_source=Ted&utm_medium=myAds"), "_blank"); } function frame1(){ addEventListener(MouseEvent.CLICK, clickHandler); this.buttonMode = true; } } }//package
Section 347
//alienPain1 (alienPain1) package { import flash.media.*; public dynamic class alienPain1 extends Sound { } }//package
Section 348
//alienPain2 (alienPain2) package { import flash.media.*; public dynamic class alienPain2 extends Sound { } }//package
Section 349
//alienPain3 (alienPain3) package { import flash.media.*; public dynamic class alienPain3 extends Sound { } }//package
Section 350
//alienPain4 (alienPain4) package { import flash.media.*; public dynamic class alienPain4 extends Sound { } }//package
Section 351
//alienVox1 (alienVox1) package { import flash.media.*; public dynamic class alienVox1 extends Sound { } }//package
Section 352
//alienVox2 (alienVox2) package { import flash.media.*; public dynamic class alienVox2 extends Sound { } }//package
Section 353
//alienVox3 (alienVox3) package { import flash.media.*; public dynamic class alienVox3 extends Sound { } }//package
Section 354
//alienVox4 (alienVox4) package { import flash.media.*; public dynamic class alienVox4 extends Sound { } }//package
Section 355
//alienVox5 (alienVox5) package { import flash.media.*; public dynamic class alienVox5 extends Sound { } }//package
Section 356
//alienVox6 (alienVox6) package { import flash.media.*; public dynamic class alienVox6 extends Sound { } }//package
Section 357
//alienVox7 (alienVox7) package { import flash.media.*; public dynamic class alienVox7 extends Sound { } }//package
Section 358
//buttonPlay (buttonPlay) package { import flash.display.*; public dynamic class buttonPlay extends SimpleButton { } }//package
Section 359
//buy (buy) package { import flash.media.*; public dynamic class buy extends Sound { } }//package
Section 360
//cashReg (cashReg) package { import flash.media.*; public dynamic class cashReg extends Sound { } }//package
Section 361
//Cursor (Cursor) package { import flash.display.*; public dynamic class Cursor extends MovieClip { public var shootAcc:MovieClip; public var pic:MovieClip; public function Cursor(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 362
//EarthRow01 (EarthRow01) package { import flash.display.*; public dynamic class EarthRow01 extends BitmapData { public function EarthRow01(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 363
//lostMenu (lostMenu) package { import main.*; public dynamic class lostMenu extends alphaFader { } }//package
Section 364
//menuLogoAneg (menuLogoAneg) package { import main.*; public dynamic class menuLogoAneg extends alphaFader { } }//package
Section 365
//menuLogoOG (menuLogoOG) package { import main.*; public dynamic class menuLogoOG extends alphaFader { } }//package
Section 366
//PainFrame (PainFrame) package { import main.*; public dynamic class PainFrame extends alphaFader { public function PainFrame(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package
Section 367
//paper1 (paper1) package { import flash.media.*; public dynamic class paper1 extends Sound { } }//package
Section 368
//TedDie1 (TedDie1) package { import flash.media.*; public dynamic class TedDie1 extends Sound { } }//package
Section 369
//TedDie2 (TedDie2) package { import flash.media.*; public dynamic class TedDie2 extends Sound { } }//package
Section 370
//TedPain1 (TedPain1) package { import flash.media.*; public dynamic class TedPain1 extends Sound { } }//package
Section 371
//TedPain2 (TedPain2) package { import flash.media.*; public dynamic class TedPain2 extends Sound { } }//package
Section 372
//TedPain3 (TedPain3) package { import flash.media.*; public dynamic class TedPain3 extends Sound { } }//package
Section 373
//upgButtCancel (upgButtCancel) package { import main.*; public dynamic class upgButtCancel extends MCButton { } }//package
Section 374
//ZombieVoice1 (ZombieVoice1) package { import flash.media.*; public dynamic class ZombieVoice1 extends Sound { } }//package
Section 375
//ZombieVoice2 (ZombieVoice2) package { import flash.media.*; public dynamic class ZombieVoice2 extends Sound { } }//package
Section 376
//ZombieVoice3 (ZombieVoice3) package { import flash.media.*; public dynamic class ZombieVoice3 extends Sound { } }//package
Section 377
//ZombieVoice4 (ZombieVoice4) package { import flash.media.*; public dynamic class ZombieVoice4 extends Sound { } }//package

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:8
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:8 3013 3015
Symbol 5 BitmapUsed by:6
Symbol 6 GraphicUses:5Used by:7
Symbol 7 MovieClipUses:6Used by:8 3015 3748 3753
Symbol 8 MovieClipUses:2 4 7Used by:Timeline
Symbol 9 BitmapUsed by:10
Symbol 10 GraphicUses:9Used by:16
Symbol 11 FontUsed by:12
Symbol 12 EditableTextUses:11Used by:16
Symbol 13 BitmapUsed by:14
Symbol 14 GraphicUses:13Used by:15
Symbol 15 MovieClipUses:14Used by:16
Symbol 16 MovieClip {main.preloader}Uses:10 12 15Used by:Timeline
Symbol 17 FontUsed by:18 19 84 85 86 97 99 103 107 111 113 117 119 2999 3000 3001 3002 3004 3005 3006 3009 3014 3017 3404 3405 3406 3408 3409 3410 3412 3413 3418 3419 3421 3422 3424 3425 3427 3428 3430 3431 3433 3434 3436 3437 3439 3440 3442 3443 3445 3446 3448 3449 3455 3456 3458 3459 3460 3462 3463 3464 3466 3467 3469 3470 3472 3473 3480 3513 3518 3519 3559 3566 3750 3751 3773 3774 3776 3777 3778 3780 3781 3782 3784 3785
Symbol 18 TextUses:17Used by:21
Symbol 19 TextUses:17Used by:21
Symbol 20 GraphicUsed by:21 87 3003 3007 3407 3411 3414 3420 3423 3426 3429 3432 3435 3438 3441 3444 3447 3450 3457 3461 3465 3468 3471 3474 3752 3775 3779 3783 3786
Symbol 21 Button {buttonPlay}Uses:18 19 20Used by:3527  Timeline
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClip {main.adBoxClass}Uses:22Used by:Timeline
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:37
Symbol 26 BitmapUsed by:27
Symbol 27 GraphicUses:26Used by:32
Symbol 28 BitmapUsed by:29 30 31
Symbol 29 GraphicUses:28Used by:32
Symbol 30 GraphicUses:28Used by:32
Symbol 31 GraphicUses:28Used by:32
Symbol 32 MovieClip {main.ReloadCurType}Uses:27 29 30 31Used by:37
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:37
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:37
Symbol 37 MovieClip {Cursor}Uses:25 32 34 36Used by:Timeline
Symbol 38 Sound {main.pistolShoot1}Used by:3248
Symbol 39 Sound {main.MinigunReloaded}Used by:3248
Symbol 40 Sound {main.pistolShoot2}Used by:3248
Symbol 41 Sound {main.reloaded}Used by:3248
Symbol 42 Sound {main.ShotgunShoot1}Used by:3248
Symbol 43 Sound {main.MinigunReload}Used by:3248
Symbol 44 Sound {main.reload1}Used by:3248
Symbol 45 Sound {main.cocking}Used by:3248
Symbol 46 Sound {main.bombExp}Used by:3248
Symbol 47 Sound {main.PistolReloaded}Used by:3248
Symbol 48 Sound {main.alienBlasterShoot2}Used by:3248
Symbol 49 Sound {main.AKShoot2}Used by:3248
Symbol 50 Sound {main.ShotgunShoot2}Used by:3248
Symbol 51 Sound {main.alienBlasterShoot1}Used by:3248
Symbol 52 Sound {main.bomb2}Used by:3248
Symbol 53 Sound {main.AKShoot1}Used by:3248
Symbol 54 Sound {main.ShotgunReload}Used by:3248
Symbol 55 Sound {main.LasergunShoot1}Used by:3248
Symbol 56 Sound {main.ShotgunReloaded}Used by:3248
Symbol 57 Sound {main.MinigunShoot1}Used by:3248
Symbol 58 Sound {main.RPGShoot1}Used by:3248
Symbol 59 Sound {ZombieVoice4}
Symbol 60 Sound {ZombieVoice3}
Symbol 61 Sound {ZombieVoice2}
Symbol 62 Sound {ZombieVoice1}
Symbol 63 Sound {TedPain3}
Symbol 64 Sound {TedPain2}
Symbol 65 Sound {TedPain1}
Symbol 66 Sound {TedDie2}
Symbol 67 Sound {TedDie1}
Symbol 68 Sound {paper1}
Symbol 69 Sound {cashReg}
Symbol 70 Sound {buy}
Symbol 71 Sound {alienVox7}
Symbol 72 Sound {alienVox6}
Symbol 73 Sound {alienVox5}
Symbol 74 Sound {alienVox4}
Symbol 75 Sound {alienVox3}
Symbol 76 Sound {alienVox2}
Symbol 77 Sound {alienVox1}
Symbol 78 Sound {alienPain4}
Symbol 79 Sound {alienPain3}
Symbol 80 Sound {alienPain2}
Symbol 81 Sound {alienPain1}
Symbol 82 GraphicUsed by:83 1675 2854 3197 3198 3199 3529 3593 3721 3802
Symbol 83 MovieClipUses:82Used by:121
Symbol 84 TextUses:17Used by:87
Symbol 85 TextUses:17Used by:87
Symbol 86 TextUses:17Used by:87
Symbol 87 ButtonUses:84 85 86 20Used by:121
Symbol 88 BitmapUsed by:89
Symbol 89 GraphicUses:88Used by:90
Symbol 90 MovieClipUses:89Used by:121
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:93
Symbol 93 MovieClipUses:92Used by:121
Symbol 94 BitmapUsed by:95
Symbol 95 GraphicUses:94Used by:96
Symbol 96 MovieClipUses:95Used by:121
Symbol 97 TextUses:17Used by:98
Symbol 98 MovieClipUses:97Used by:121
Symbol 99 TextUses:17Used by:100
Symbol 100 MovieClipUses:99Used by:121
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:121
Symbol 103 TextUses:17Used by:104
Symbol 104 MovieClipUses:103Used by:121
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:121
Symbol 107 TextUses:17Used by:108
Symbol 108 MovieClipUses:107Used by:121
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:121
Symbol 111 TextUses:17Used by:112
Symbol 112 MovieClipUses:111Used by:121
Symbol 113 TextUses:17Used by:114
Symbol 114 MovieClipUses:113Used by:121
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:121
Symbol 117 TextUses:17Used by:118
Symbol 118 MovieClipUses:117Used by:121
Symbol 119 TextUses:17Used by:120
Symbol 120 MovieClipUses:119Used by:121
Symbol 121 MovieClip {main.storyMult}Uses:83 87 90 93 96 98 100 102 104 106 108 110 112 114 116 118 120
Symbol 122 BitmapUsed by:123
Symbol 123 GraphicUses:122Used by:124
Symbol 124 MovieClip {adMY}Uses:123
Symbol 125 BitmapUsed by:126
Symbol 126 GraphicUses:125Used by:127
Symbol 127 MovieClip {main.PanoramaTown1}Uses:126Used by:1465 2929 2994
Symbol 128 BitmapUsed by:129
Symbol 129 GraphicUses:128Used by:136 2839
Symbol 130 BitmapUsed by:131
Symbol 131 GraphicUses:130Used by:136 153 2839
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:136 148 2839 2930
Symbol 134 BitmapUsed by:135
Symbol 135 GraphicUses:134Used by:136 141 2839
Symbol 136 MovieClip {main.trees01}Uses:129 131 133 135Used by:1465 2588 2772 2855 2929 2994
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:141
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:141
Symbol 141 MovieClip {main.trees02}Uses:135 138 140Used by:1465 2588 2772 2855 2994
Symbol 142 BitmapUsed by:143
Symbol 143 GraphicUses:142Used by:148
Symbol 144 BitmapUsed by:145
Symbol 145 GraphicUses:144Used by:148
Symbol 146 BitmapUsed by:147
Symbol 147 GraphicUses:146Used by:148
Symbol 148 MovieClip {main.trees03}Uses:143 133 145 147Used by:1465 2588 2772 2855 2929 2994
Symbol 149 BitmapUsed by:150
Symbol 150 GraphicUses:149Used by:153
Symbol 151 BitmapUsed by:152
Symbol 152 GraphicUses:151Used by:153
Symbol 153 MovieClip {main.trees04}Uses:150 152 131Used by:1465 2588 2772 2855 2929 2994
Symbol 154 BitmapUsed by:155
Symbol 155 GraphicUses:154Used by:156 2824
Symbol 156 MovieClipUses:155Used by:219 2936
Symbol 157 Bitmap {EarthRow01}Used by:158 2183 2595 2783 2901
Symbol 158 MovieClip {TedViral_fla.EarthRow01Big_421}Uses:157Used by:219 278 309 2872 2899
Symbol 159 BitmapUsed by:161 2594
Symbol 160 BitmapUsed by:161
Symbol 161 GraphicUses:159 160Used by:162 2901
Symbol 162 MovieClipUses:161Used by:219 278 309 2588 2900 2914
Symbol 163 BitmapUsed by:164
Symbol 164 GraphicUses:163Used by:165 188 2857
Symbol 165 MovieClipUses:164Used by:219
Symbol 166 BitmapUsed by:167
Symbol 167 GraphicUses:166Used by:168
Symbol 168 MovieClipUses:167Used by:219
Symbol 169 BitmapUsed by:170
Symbol 170 GraphicUses:169Used by:171 188 2857 2893
Symbol 171 MovieClipUses:170Used by:219
Symbol 172 BitmapUsed by:173
Symbol 173 GraphicUses:172Used by:174 188 2857
Symbol 174 MovieClipUses:173Used by:219
Symbol 175 BitmapUsed by:176
Symbol 176 GraphicUses:175Used by:177 2857
Symbol 177 MovieClipUses:176Used by:188 219 2857
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:178Used by:182 207 229 1499 1502 1546 1549 1552 1628 2539 2540 2541 2587 2663 2689 2692 2695 2698 2701 2704 2811 2845 2928 2932
Symbol 180 BitmapUsed by:181
Symbol 181 GraphicUses:180Used by:182
Symbol 182 MovieClipUses:179 181Used by:219 2772 2846 2849 2850 2910 2933 2934
Symbol 183 BitmapUsed by:184
Symbol 184 GraphicUses:183Used by:185 223 2602
Symbol 185 MovieClipUses:184Used by:219 2933 2934
Symbol 186 BitmapUsed by:187
Symbol 187 GraphicUses:186Used by:188 2824
Symbol 188 MovieClipUses:187 170 177 164 173Used by:219 2936
Symbol 189 BitmapUsed by:190
Symbol 190 GraphicUses:189Used by:204
Symbol 191 BitmapUsed by:192
Symbol 192 GraphicUses:191Used by:204 2909
Symbol 193 BitmapUsed by:194
Symbol 194 GraphicUses:193Used by:195
Symbol 195 MovieClipUses:194Used by:204 2893
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:198
Symbol 198 MovieClipUses:197Used by:204 2893
Symbol 199 BitmapUsed by:200
Symbol 200 GraphicUses:199Used by:204 2658 2858 2909
Symbol 201 BitmapUsed by:202
Symbol 202 GraphicUses:201Used by:203
Symbol 203 MovieClipUses:202Used by:204 2893
Symbol 204 MovieClipUses:190 192 195 198 200 203Used by:219 2894 2900
Symbol 205 BitmapUsed by:206
Symbol 206 GraphicUses:205Used by:207
Symbol 207 MovieClipUses:179 206Used by:219 2772 2846 2849 2850 2910 2934 2936
Symbol 208 BitmapUsed by:209
Symbol 209 GraphicUses:208Used by:218
Symbol 210 BitmapUsed by:211
Symbol 211 GraphicUses:210Used by:218
Symbol 212 BitmapUsed by:213
Symbol 213 GraphicUses:212Used by:218 2892
Symbol 214 BitmapUsed by:215
Symbol 215 GraphicUses:214Used by:218 2897
Symbol 216 BitmapUsed by:217
Symbol 217 GraphicUses:216Used by:218
Symbol 218 MovieClipUses:209 211 213 215 217Used by:219 2914
Symbol 219 MovieClip {TedViral_fla.Level1_Chunk2_648}Uses:156 158 162 165 168 171 174 177 182 185 188 204 207 218Used by:1465
Symbol 220 BitmapUsed by:221
Symbol 221 GraphicUses:220Used by:222 264
Symbol 222 MovieClipUses:221Used by:278 1520 2934
Symbol 223 MovieClipUses:184Used by:278 2772
Symbol 224 BitmapUsed by:225
Symbol 225 GraphicUses:224Used by:226 244 2856
Symbol 226 MovieClipUses:225Used by:278 2772 2894 2910 2914 2935
Symbol 227 BitmapUsed by:228
Symbol 228 GraphicUses:227Used by:229
Symbol 229 MovieClipUses:179 228Used by:278 2850 2910
Symbol 230 BitmapUsed by:231
Symbol 231 GraphicUses:230Used by:240 308 2592
Symbol 232 BitmapUsed by:233
Symbol 233 GraphicUses:232Used by:240 308 2592
Symbol 234 BitmapUsed by:235
Symbol 235 GraphicUses:234Used by:240 308 2592
Symbol 236 BitmapUsed by:237
Symbol 237 GraphicUses:236Used by:240 308 2592
Symbol 238 BitmapUsed by:239
Symbol 239 GraphicUses:238Used by:240 308 2199 2592
Symbol 240 MovieClipUses:231 233 235 237 239Used by:278
Symbol 241 BitmapUsed by:242
Symbol 242 GraphicUses:241Used by:243
Symbol 243 MovieClipUses:242Used by:278 2935
Symbol 244 MovieClipUses:225Used by:278 2588 2772 2858 2909
Symbol 245 BitmapUsed by:246
Symbol 246 GraphicUses:245Used by:257 2913
Symbol 247 BitmapUsed by:248
Symbol 248 GraphicUses:247Used by:257 2913
Symbol 249 BitmapUsed by:250
Symbol 250 GraphicUses:249Used by:257 2913
Symbol 251 BitmapUsed by:252
Symbol 252 GraphicUses:251Used by:257 2913
Symbol 253 BitmapUsed by:254
Symbol 254 GraphicUses:253Used by:257 2913
Symbol 255 BitmapUsed by:256
Symbol 256 GraphicUses:255Used by:257 2913
Symbol 257 MovieClipUses:246 248 250 252 254 256Used by:278 2772 2825 2900
Symbol 258 BitmapUsed by:259
Symbol 259 GraphicUses:258Used by:260
Symbol 260 MovieClipUses:259Used by:278
Symbol 261 BitmapUsed by:262
Symbol 262 GraphicUses:261Used by:263
Symbol 263 MovieClipUses:262Used by:278 1520 2934
Symbol 264 MovieClipUses:221Used by:278
Symbol 265 BitmapUsed by:266
Symbol 266 GraphicUses:265Used by:275 2873
Symbol 267 BitmapUsed by:268
Symbol 268 GraphicUses:267Used by:275 2873
Symbol 269 BitmapUsed by:270
Symbol 270 GraphicUses:269Used by:275 2873
Symbol 271 BitmapUsed by:272
Symbol 272 GraphicUses:271Used by:275 2873
Symbol 273 BitmapUsed by:274
Symbol 274 GraphicUses:273Used by:275 2873
Symbol 275 MovieClipUses:266 268 270 272 274Used by:278
Symbol 276 GraphicUsed by:277
Symbol 277 MovieClipUses:276Used by:278 2772 2894 2936
Symbol 278 MovieClip {TedViral_fla.Level1_Chunk1_653}Uses:222 158 223 162 226 229 240 243 244 257 260 263 264 275 277Used by:1465
Symbol 279 BitmapUsed by:280 283 3028 3029 3030 3031
Symbol 280 GraphicUses:279Used by:299
Symbol 281 BitmapUsed by:282
Symbol 282 GraphicUses:281Used by:299
Symbol 283 GraphicUses:279Used by:284 3032
Symbol 284 MovieClipUses:283Used by:299
Symbol 285 BitmapUsed by:286
Symbol 286 GraphicUses:285Used by:299
Symbol 287 BitmapUsed by:288
Symbol 288 GraphicUses:287Used by:299
Symbol 289 BitmapUsed by:290
Symbol 290 GraphicUses:289Used by:299
Symbol 291 BitmapUsed by:292
Symbol 292 GraphicUses:291Used by:299
Symbol 293 BitmapUsed by:294
Symbol 294 GraphicUses:293Used by:299
Symbol 295 BitmapUsed by:296
Symbol 296 GraphicUses:295Used by:299
Symbol 297 BitmapUsed by:298
Symbol 298 GraphicUses:297Used by:299
Symbol 299 MovieClip {TedViral_fla.shotgunMan_658}Uses:280 282 284 286 288 290 292 294 296 298Used by:1465
Symbol 300 BitmapUsed by:301
Symbol 301 GraphicUses:300Used by:302
Symbol 302 MovieClipUses:301Used by:309
Symbol 303 BitmapUsed by:304
Symbol 304 GraphicUses:303Used by:305 2824
Symbol 305 MovieClipUses:304Used by:309
Symbol 306 BitmapUsed by:307
Symbol 307 GraphicUses:306Used by:308
Symbol 308 MovieClipUses:235 307 233 237 231 239Used by:309 2894 2933 2934
Symbol 309 MovieClip {TedViral_fla.Level1_Chunk3_660}Uses:302 305 158 162 308Used by:1465
Symbol 310 GraphicUsed by:313 1446 1449
Symbol 311 FontUsed by:312 1445 1448 1463 1654 3021 3512 3555 3556 3590 3591 3592 3594 3595 3596 3598 3600 3602 3604 3610 3617 3621 3625 3633 3634 3652 3657 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3770 3771 3796 3797
Symbol 312 TextUses:311Used by:313
Symbol 313 MovieClip {TedViral_fla.projLayerTitle_325}Uses:310 312Used by:314
Symbol 314 MovieClipUses:313Used by:1465 2145 2179 2535 2588 2772 2812 2855 2929 2994
Symbol 315 BitmapUsed by:316 322
Symbol 316 GraphicUses:315Used by:323
Symbol 317 GraphicUsed by:318
Symbol 318 MovieClipUses:317Used by:323 328 335 341 344 347 350 353 1429
Symbol 319 BitmapUsed by:320
Symbol 320 GraphicUses:319Used by:321
Symbol 321 MovieClipUses:320Used by:323 328 335 341 344 347 350 353 1429 2258
Symbol 322 GraphicUses:315Used by:323
Symbol 323 MovieClip {TedViral_fla.TedArmsPistol_379}Uses:316 318 321 322Used by:354
Symbol 324 GraphicUsed by:325
Symbol 325 MovieClip {TedViral_fla.animMarker_211}Uses:324Used by:328 335 341 344 347 350 353 354 358 397 432 435 490 493 1429 1506 1977 1978 1979 2105 2106 2112 2145 2157 2179 2211 2258 2262 2265 2297 2350 2353 2354 2530 2582 2771 2812 2994 3699
Symbol 326 BitmapUsed by:327
Symbol 327 GraphicUses:326Used by:328
Symbol 328 MovieClip {TedViral_fla.TedArmsR_AK_380}Uses:327 325 318 321Used by:354
Symbol 329 BitmapUsed by:330 331
Symbol 330 GraphicUses:329Used by:332 338
Symbol 331 GraphicUses:329Used by:332
Symbol 332 MovieClip {TedViral_fla.TedArmsL_AK_381}Uses:330 331Used by:354
Symbol 333 BitmapUsed by:334
Symbol 334 GraphicUses:333Used by:335
Symbol 335 MovieClip {TedViral_fla.TedArmsR_Shotgun_382}Uses:334 325 318 321Used by:354
Symbol 336 BitmapUsed by:337
Symbol 337 GraphicUses:336Used by:338
Symbol 338 MovieClip {TedViral_fla.TedArmsL_Shotgun_383}Uses:330 337Used by:354
Symbol 339 BitmapUsed by:340
Symbol 340 GraphicUses:339Used by:341
Symbol 341 MovieClip {TedViral_fla.TedArmsR_Minigun_384}Uses:340 325 318 321Used by:354
Symbol 342 BitmapUsed by:343
Symbol 343 GraphicUses:342Used by:344
Symbol 344 MovieClip {TedViral_fla.TedArmsR_Blaster_385}Uses:343 325 318 321Used by:354
Symbol 345 BitmapUsed by:346
Symbol 346 GraphicUses:345Used by:347
Symbol 347 MovieClip {TedViral_fla.TedArmsR_RPG_386}Uses:346 325 318 321Used by:354
Symbol 348 BitmapUsed by:349
Symbol 349 GraphicUses:348Used by:350
Symbol 350 MovieClip {TedViral_fla.TedArmsR_Lasergun_387}Uses:349 325 318 321Used by:354
Symbol 351 BitmapUsed by:352
Symbol 352 GraphicUses:351Used by:353
Symbol 353 MovieClip {TedViral_fla.TedArmsR_DDD_388}Uses:352 325 318 321Used by:354
Symbol 354 MovieClip {TedViral_fla.TedArms_378}Uses:323 325 328 332 335 338 341 344 347 350 353Used by:494
Symbol 355 BitmapUsed by:356
Symbol 356 GraphicUses:355Used by:357
Symbol 357 MovieClipUses:356Used by:358
Symbol 358 MovieClipUses:325 357Used by:494
Symbol 359 BitmapUsed by:360
Symbol 360 GraphicUses:359Used by:364
Symbol 361 BitmapUsed by:362
Symbol 362 GraphicUses:361Used by:363
Symbol 363 MovieClipUses:362Used by:364
Symbol 364 MovieClip {TedViral_fla.TedHead_391}Uses:360 363Used by:494
Symbol 365 GraphicUsed by:366 1459
Symbol 366 MovieClip {TedViral_fla.physMarker_42}Uses:365Used by:494 694 878 1026 1178 1179 1180 1384 1385 1431 1436 1440 1444 1456 1641 1645 1649 1656 1668 1977 1978 1979 1980 1984 1988 2103 2104 2105 2106 2107 2111 2112 2169 2231 2247 2251 2355 2530 2534 2582 2585 2586 2711 2988 2992 3200 3214 3339 3343
Symbol 367 GraphicUsed by:368
Symbol 368 MovieClip {main.damageMarker}Uses:367Used by:494 694 878 1026 1178 1179 1180 1384 1385 1430 1431 1668 1678 1977 1978 1979 1980 2103 2104 2105 2106 2107 2112 2231 2247 2355 2530 2582 2585 2586 2771
Symbol 369 BitmapUsed by:370
Symbol 370 GraphicUses:369Used by:371
Symbol 371 MovieClipUses:370Used by:372
Symbol 372 MovieClipUses:371Used by:494
Symbol 373 BitmapUsed by:374
Symbol 374 GraphicUses:373Used by:397
Symbol 375 BitmapUsed by:376
Symbol 376 GraphicUses:375Used by:397
Symbol 377 BitmapUsed by:378
Symbol 378 GraphicUses:377Used by:397
Symbol 379 BitmapUsed by:380
Symbol 380 GraphicUses:379Used by:397
Symbol 381 BitmapUsed by:382
Symbol 382 GraphicUses:381Used by:397
Symbol 383 BitmapUsed by:384
Symbol 384 GraphicUses:383Used by:397
Symbol 385 BitmapUsed by:386
Symbol 386 GraphicUses:385Used by:397
Symbol 387 BitmapUsed by:388
Symbol 388 GraphicUses:387Used by:397
Symbol 389 BitmapUsed by:390
Symbol 390 GraphicUses:389Used by:397
Symbol 391 BitmapUsed by:392
Symbol 392 GraphicUses:391Used by:397
Symbol 393 BitmapUsed by:394
Symbol 394 GraphicUses:393Used by:397
Symbol 395 BitmapUsed by:396
Symbol 396 GraphicUses:395Used by:397
Symbol 397 MovieClipUses:374 325 376 378 380 382 384 386 388 390 392 394 396Used by:494
Symbol 398 BitmapUsed by:399
Symbol 399 GraphicUses:398Used by:432
Symbol 400 BitmapUsed by:401
Symbol 401 GraphicUses:400Used by:432
Symbol 402 BitmapUsed by:403
Symbol 403 GraphicUses:402Used by:432
Symbol 404 BitmapUsed by:405
Symbol 405 GraphicUses:404Used by:432
Symbol 406 BitmapUsed by:407
Symbol 407 GraphicUses:406Used by:432
Symbol 408 BitmapUsed by:409
Symbol 409 GraphicUses:408Used by:432
Symbol 410 BitmapUsed by:411
Symbol 411 GraphicUses:410Used by:432
Symbol 412 BitmapUsed by:413
Symbol 413 GraphicUses:412Used by:432
Symbol 414 BitmapUsed by:415
Symbol 415 GraphicUses:414Used by:432
Symbol 416 BitmapUsed by:417
Symbol 417 GraphicUses:416Used by:432
Symbol 418 BitmapUsed by:419
Symbol 419 GraphicUses:418Used by:432
Symbol 420 BitmapUsed by:421
Symbol 421 GraphicUses:420Used by:432
Symbol 422 BitmapUsed by:423
Symbol 423 GraphicUses:422Used by:432
Symbol 424 BitmapUsed by:425
Symbol 425 GraphicUses:424Used by:432
Symbol 426 BitmapUsed by:427
Symbol 427 GraphicUses:426Used by:432
Symbol 428 BitmapUsed by:429
Symbol 429 GraphicUses:428Used by:432
Symbol 430 BitmapUsed by:431
Symbol 431 GraphicUses:430Used by:432
Symbol 432 MovieClip {TedViral_fla.TedDie_396}Uses:399 325 401 403 405 407 409 411 413 415 417 419 421 423 425 427 429 431Used by:494
Symbol 433 BitmapUsed by:434
Symbol 434 GraphicUses:433Used by:435
Symbol 435 MovieClipUses:325 434Used by:494
Symbol 436 BitmapUsed by:437
Symbol 437 GraphicUses:436Used by:490
Symbol 438 BitmapUsed by:439
Symbol 439 GraphicUses:438Used by:490
Symbol 440 BitmapUsed by:441
Symbol 441 GraphicUses:440Used by:490
Symbol 442 BitmapUsed by:443
Symbol 443 GraphicUses:442Used by:490
Symbol 444 BitmapUsed by:445
Symbol 445 GraphicUses:444Used by:490
Symbol 446 BitmapUsed by:447
Symbol 447 GraphicUses:446Used by:490
Symbol 448 BitmapUsed by:449
Symbol 449 GraphicUses:448Used by:490
Symbol 450 BitmapUsed by:451
Symbol 451 GraphicUses:450Used by:490
Symbol 452 BitmapUsed by:453
Symbol 453 GraphicUses:452Used by:490
Symbol 454 BitmapUsed by:455
Symbol 455 GraphicUses:454Used by:490
Symbol 456 BitmapUsed by:457
Symbol 457 GraphicUses:456Used by:490
Symbol 458 BitmapUsed by:459
Symbol 459 GraphicUses:458Used by:490
Symbol 460 BitmapUsed by:461
Symbol 461 GraphicUses:460Used by:490
Symbol 462 BitmapUsed by:463
Symbol 463 GraphicUses:462Used by:490
Symbol 464 BitmapUsed by:465
Symbol 465 GraphicUses:464Used by:490
Symbol 466 BitmapUsed by:467
Symbol 467 GraphicUses:466Used by:490
Symbol 468 BitmapUsed by:469
Symbol 469 GraphicUses:468Used by:490
Symbol 470 BitmapUsed by:471
Symbol 471 GraphicUses:470Used by:490
Symbol 472 BitmapUsed by:473
Symbol 473 GraphicUses:472Used by:490
Symbol 474 BitmapUsed by:475
Symbol 475 GraphicUses:474Used by:490
Symbol 476 BitmapUsed by:477
Symbol 477 GraphicUses:476Used by:490
Symbol 478 BitmapUsed by:479
Symbol 479 GraphicUses:478Used by:490
Symbol 480 BitmapUsed by:481
Symbol 481 GraphicUses:480Used by:490
Symbol 482 BitmapUsed by:483
Symbol 483 GraphicUses:482Used by:490
Symbol 484 BitmapUsed by:485
Symbol 485 GraphicUses:484Used by:490
Symbol 486 BitmapUsed by:487
Symbol 487 GraphicUses:486Used by:490
Symbol 488 BitmapUsed by:489
Symbol 489 GraphicUses:488Used by:490
Symbol 490 MovieClipUses:437 325 439 441 443 445 447 449 451 453 455 457 459 461 463 465 467 469 471 473 475 477 479 481 483 485 487 489Used by:494
Symbol 491 BitmapUsed by:492
Symbol 492 GraphicUses:491Used by:493
Symbol 493 MovieClipUses:325 492Used by:494
Symbol 494 MovieClip {main.Ted}Uses:354 358 364 366 368 372 397 432 435 490 493Used by:1465 2145 2179 2535 2588 2772 2812 2855 2929 2994
Symbol 495 BitmapUsed by:496
Symbol 496 GraphicUses:495Used by:543
Symbol 497 BitmapUsed by:498
Symbol 498 GraphicUses:497Used by:543
Symbol 499 BitmapUsed by:500
Symbol 500 GraphicUses:499Used by:543
Symbol 501 BitmapUsed by:502
Symbol 502 GraphicUses:501Used by:543
Symbol 503 BitmapUsed by:504
Symbol 504 GraphicUses:503Used by:543
Symbol 505 BitmapUsed by:506
Symbol 506 GraphicUses:505Used by:543
Symbol 507 BitmapUsed by:508
Symbol 508 GraphicUses:507Used by:543
Symbol 509 BitmapUsed by:510
Symbol 510 GraphicUses:509Used by:543
Symbol 511 BitmapUsed by:512
Symbol 512 GraphicUses:511Used by:543
Symbol 513 BitmapUsed by:514
Symbol 514 GraphicUses:513Used by:543
Symbol 515 BitmapUsed by:516
Symbol 516 GraphicUses:515Used by:543
Symbol 517 BitmapUsed by:518
Symbol 518 GraphicUses:517Used by:543
Symbol 519 BitmapUsed by:520
Symbol 520 GraphicUses:519Used by:543
Symbol 521 BitmapUsed by:522
Symbol 522 GraphicUses:521Used by:543
Symbol 523 BitmapUsed by:524
Symbol 524 GraphicUses:523Used by:543
Symbol 525 BitmapUsed by:526
Symbol 526 GraphicUses:525Used by:543
Symbol 527 BitmapUsed by:528
Symbol 528 GraphicUses:527Used by:543
Symbol 529 BitmapUsed by:530
Symbol 530 GraphicUses:529Used by:543
Symbol 531 BitmapUsed by:532
Symbol 532 GraphicUses:531Used by:543
Symbol 533 BitmapUsed by:534
Symbol 534 GraphicUses:533Used by:543
Symbol 535 BitmapUsed by:536
Symbol 536 GraphicUses:535Used by:543
Symbol 537 BitmapUsed by:538
Symbol 538 GraphicUses:537Used by:543
Symbol 539 BitmapUsed by:540
Symbol 540 GraphicUses:539Used by:543
Symbol 541 BitmapUsed by:542
Symbol 542 GraphicUses:541Used by:543
Symbol 543 MovieClipUses:496 498 500 502 504 506 508 510 512 514 516 518 520 522 524 526 528 530 532 534 536 538 540 542Used by:694 1179 1979
Symbol 544 GraphicUsed by:547 1673 3565 3688
Symbol 545 ShapeTweeningUsed by:547
Symbol 546 GraphicUsed by:547 1671 3565
Symbol 547 MovieClip {main.lifeBar}Uses:544 545 546Used by:694 878 1026 1178 1179 1180 1384 1385 1430 1431 1668 1678 1977 1978 1979 1980 2103 2104 2105 2106 2107 2112 2231 2247 2355 2530 2582 2585 2586 2771
Symbol 548 BitmapUsed by:549
Symbol 549 GraphicUses:548Used by:564
Symbol 550 BitmapUsed by:551
Symbol 551 GraphicUses:550Used by:564
Symbol 552 BitmapUsed by:553
Symbol 553 GraphicUses:552Used by:564
Symbol 554 BitmapUsed by:555
Symbol 555 GraphicUses:554Used by:564
Symbol 556 BitmapUsed by:557
Symbol 557 GraphicUses:556Used by:564
Symbol 558 BitmapUsed by:559
Symbol 559 GraphicUses:558Used by:564
Symbol 560 BitmapUsed by:561
Symbol 561 GraphicUses:560Used by:564
Symbol 562 BitmapUsed by:563
Symbol 563 GraphicUses:562Used by:564
Symbol 564 MovieClipUses:549 551 553 555 557 559 561 563Used by:694 1179 1979
Symbol 565 BitmapUsed by:566
Symbol 566 GraphicUses:565Used by:587
Symbol 567 BitmapUsed by:568
Symbol 568 GraphicUses:567Used by:587
Symbol 569 BitmapUsed by:570
Symbol 570 GraphicUses:569Used by:587
Symbol 571 BitmapUsed by:572
Symbol 572 GraphicUses:571Used by:587
Symbol 573 BitmapUsed by:574
Symbol 574 GraphicUses:573Used by:587
Symbol 575 BitmapUsed by:576
Symbol 576 GraphicUses:575Used by:587
Symbol 577 BitmapUsed by:578
Symbol 578 GraphicUses:577Used by:587
Symbol 579 BitmapUsed by:580
Symbol 580 GraphicUses:579Used by:587
Symbol 581 BitmapUsed by:582
Symbol 582 GraphicUses:581Used by:587
Symbol 583 BitmapUsed by:584
Symbol 584 GraphicUses:583Used by:587
Symbol 585 BitmapUsed by:586
Symbol 586 GraphicUses:585Used by:587
Symbol 587 MovieClip {TedViral_fla.Zomb01Die_357}Uses:566 568 570 572 574 576 578 580 582 584 586Used by:694 1179 1979
Symbol 588 BitmapUsed by:589
Symbol 589 GraphicUses:588Used by:638
Symbol 590 BitmapUsed by:591
Symbol 591 GraphicUses:590Used by:638
Symbol 592 BitmapUsed by:593
Symbol 593 GraphicUses:592Used by:638
Symbol 594 BitmapUsed by:595
Symbol 595 GraphicUses:594Used by:638
Symbol 596 BitmapUsed by:597
Symbol 597 GraphicUses:596Used by:638
Symbol 598 BitmapUsed by:599
Symbol 599 GraphicUses:598Used by:638
Symbol 600 BitmapUsed by:601
Symbol 601 GraphicUses:600Used by:638
Symbol 602 BitmapUsed by:603
Symbol 603 GraphicUses:602Used by:638
Symbol 604 BitmapUsed by:605
Symbol 605 GraphicUses:604Used by:638
Symbol 606 BitmapUsed by:607
Symbol 607 GraphicUses:606Used by:638
Symbol 608 BitmapUsed by:609
Symbol 609 GraphicUses:608Used by:638
Symbol 610 BitmapUsed by:611
Symbol 611 GraphicUses:610Used by:638
Symbol 612 BitmapUsed by:613
Symbol 613 GraphicUses:612Used by:638
Symbol 614 BitmapUsed by:615
Symbol 615 GraphicUses:614Used by:638
Symbol 616 BitmapUsed by:617
Symbol 617 GraphicUses:616Used by:638
Symbol 618 BitmapUsed by:619
Symbol 619 GraphicUses:618Used by:638
Symbol 620 BitmapUsed by:621
Symbol 621 GraphicUses:620Used by:638
Symbol 622 BitmapUsed by:623
Symbol 623 GraphicUses:622Used by:638
Symbol 624 BitmapUsed by:625
Symbol 625 GraphicUses:624Used by:638
Symbol 626 BitmapUsed by:627
Symbol 627 GraphicUses:626Used by:638
Symbol 628 BitmapUsed by:629
Symbol 629 GraphicUses:628Used by:638
Symbol 630 BitmapUsed by:631
Symbol 631 GraphicUses:630Used by:638
Symbol 632 BitmapUsed by:633
Symbol 633 GraphicUses:632Used by:638
Symbol 634 BitmapUsed by:635
Symbol 635 GraphicUses:634Used by:638
Symbol 636 BitmapUsed by:637
Symbol 637 GraphicUses:636Used by:638
Symbol 638 MovieClipUses:589 591 593 595 597 599 601 603 605 607 609 611 613 615 617 619 621 623 625 627 629 631 633 635 637Used by:694 1979
Symbol 639 BitmapUsed by:640
Symbol 640 GraphicUses:639Used by:693
Symbol 641 BitmapUsed by:642
Symbol 642 GraphicUses:641Used by:693
Symbol 643 BitmapUsed by:644
Symbol 644 GraphicUses:643Used by:693
Symbol 645 BitmapUsed by:646
Symbol 646 GraphicUses:645Used by:693
Symbol 647 BitmapUsed by:648
Symbol 648 GraphicUses:647Used by:693
Symbol 649 BitmapUsed by:650
Symbol 650 GraphicUses:649Used by:693
Symbol 651 BitmapUsed by:652
Symbol 652 GraphicUses:651Used by:693
Symbol 653 BitmapUsed by:654
Symbol 654 GraphicUses:653Used by:693
Symbol 655 BitmapUsed by:656
Symbol 656 GraphicUses:655Used by:693
Symbol 657 BitmapUsed by:658
Symbol 658 GraphicUses:657Used by:693
Symbol 659 BitmapUsed by:660
Symbol 660 GraphicUses:659Used by:693
Symbol 661 BitmapUsed by:662
Symbol 662 GraphicUses:661Used by:693
Symbol 663 BitmapUsed by:664
Symbol 664 GraphicUses:663Used by:693
Symbol 665 BitmapUsed by:666
Symbol 666 GraphicUses:665Used by:693
Symbol 667 BitmapUsed by:668
Symbol 668 GraphicUses:667Used by:693
Symbol 669 BitmapUsed by:670
Symbol 670 GraphicUses:669Used by:693
Symbol 671 BitmapUsed by:672
Symbol 672 GraphicUses:671Used by:693
Symbol 673 BitmapUsed by:674
Symbol 674 GraphicUses:673Used by:693
Symbol 675 BitmapUsed by:676
Symbol 676 GraphicUses:675Used by:693
Symbol 677 BitmapUsed by:678
Symbol 678 GraphicUses:677Used by:693
Symbol 679 BitmapUsed by:680
Symbol 680 GraphicUses:679Used by:693
Symbol 681 BitmapUsed by:682
Symbol 682 GraphicUses:681Used by:693
Symbol 683 BitmapUsed by:684
Symbol 684 GraphicUses:683Used by:693
Symbol 685 BitmapUsed by:686
Symbol 686 GraphicUses:685Used by:693
Symbol 687 BitmapUsed by:688
Symbol 688 GraphicUses:687Used by:693
Symbol 689 BitmapUsed by:690
Symbol 690 GraphicUses:689Used by:693
Symbol 691 BitmapUsed by:692
Symbol 692 GraphicUses:691Used by:693
Symbol 693 MovieClip {TedViral_fla.Zomb01Attack_359}Uses:640 642 644 646 648 650 652 654 656 658 660 662 664 666 668 670 672 674 676 678 680 682 684 686 688 690 692Used by:694 1179 1979
Symbol 694 MovieClip {main.Zomb01}Uses:543 366 368 547 564 587 638 693Used by:1465 2145 2179 2772 2855 2929 2994
Symbol 695 BitmapUsed by:696
Symbol 696 GraphicUses:695Used by:717
Symbol 697 BitmapUsed by:698
Symbol 698 GraphicUses:697Used by:717
Symbol 699 BitmapUsed by:700
Symbol 700 GraphicUses:699Used by:717
Symbol 701 BitmapUsed by:702
Symbol 702 GraphicUses:701Used by:717
Symbol 703 BitmapUsed by:704
Symbol 704 GraphicUses:703Used by:717
Symbol 705 BitmapUsed by:706
Symbol 706 GraphicUses:705Used by:717
Symbol 707 BitmapUsed by:708
Symbol 708 GraphicUses:707Used by:717
Symbol 709 BitmapUsed by:710
Symbol 710 GraphicUses:709Used by:717
Symbol 711 BitmapUsed by:712
Symbol 712 GraphicUses:711Used by:717
Symbol 713 BitmapUsed by:714
Symbol 714 GraphicUses:713Used by:717
Symbol 715 BitmapUsed by:716
Symbol 716 GraphicUses:715Used by:717
Symbol 717 MovieClipUses:696 698 700 702 704 706 708 710 712 714 716Used by:878 2107 2112
Symbol 718 BitmapUsed by:719
Symbol 719 GraphicUses:718Used by:732
Symbol 720 BitmapUsed by:721
Symbol 721 GraphicUses:720Used by:732
Symbol 722 BitmapUsed by:723
Symbol 723 GraphicUses:722Used by:732
Symbol 724 BitmapUsed by:725
Symbol 725 GraphicUses:724Used by:732
Symbol 726 BitmapUsed by:727
Symbol 727 GraphicUses:726Used by:732
Symbol 728 BitmapUsed by:729
Symbol 729 GraphicUses:728Used by:732
Symbol 730 BitmapUsed by:731
Symbol 731 GraphicUses:730Used by:732
Symbol 732 MovieClipUses:719 721 723 725 727 729 731Used by:878 2107 2112
Symbol 733 BitmapUsed by:734
Symbol 734 GraphicUses:733Used by:781
Symbol 735 BitmapUsed by:736
Symbol 736 GraphicUses:735Used by:781
Symbol 737 BitmapUsed by:738
Symbol 738 GraphicUses:737Used by:781
Symbol 739 BitmapUsed by:740
Symbol 740 GraphicUses:739Used by:781
Symbol 741 BitmapUsed by:742
Symbol 742 GraphicUses:741Used by:781
Symbol 743 BitmapUsed by:744
Symbol 744 GraphicUses:743Used by:781
Symbol 745 BitmapUsed by:746
Symbol 746 GraphicUses:745Used by:781
Symbol 747 BitmapUsed by:748
Symbol 748 GraphicUses:747Used by:781
Symbol 749 BitmapUsed by:750
Symbol 750 GraphicUses:749Used by:781
Symbol 751 BitmapUsed by:752
Symbol 752 GraphicUses:751Used by:781
Symbol 753 BitmapUsed by:754
Symbol 754 GraphicUses:753Used by:781
Symbol 755 BitmapUsed by:756
Symbol 756 GraphicUses:755Used by:781
Symbol 757 BitmapUsed by:758
Symbol 758 GraphicUses:757Used by:781
Symbol 759 BitmapUsed by:760
Symbol 760 GraphicUses:759Used by:781
Symbol 761 BitmapUsed by:762
Symbol 762 GraphicUses:761Used by:781
Symbol 763 BitmapUsed by:764
Symbol 764 GraphicUses:763Used by:781
Symbol 765 BitmapUsed by:766
Symbol 766 GraphicUses:765Used by:781
Symbol 767 BitmapUsed by:768
Symbol 768 GraphicUses:767Used by:781
Symbol 769 BitmapUsed by:770
Symbol 770 GraphicUses:769Used by:781
Symbol 771 BitmapUsed by:772
Symbol 772 GraphicUses:771Used by:781
Symbol 773 BitmapUsed by:774
Symbol 774 GraphicUses:773Used by:781
Symbol 775 BitmapUsed by:776
Symbol 776 GraphicUses:775Used by:781
Symbol 777 BitmapUsed by:778
Symbol 778 GraphicUses:777Used by:781
Symbol 779 BitmapUsed by:780
Symbol 780 GraphicUses:779Used by:781
Symbol 781 MovieClip {TedViral_fla.Zomb02Die_329}Uses:734 736 738 740 742 744 746 748 750 752 754 756 758 760 762 764 766 768 770 772 774 776 778 780Used by:878 2107 2112
Symbol 782 BitmapUsed by:783
Symbol 783 GraphicUses:782Used by:844
Symbol 784 BitmapUsed by:785
Symbol 785 GraphicUses:784Used by:844
Symbol 786 BitmapUsed by:787
Symbol 787 GraphicUses:786Used by:844
Symbol 788 BitmapUsed by:789
Symbol 789 GraphicUses:788Used by:844
Symbol 790 BitmapUsed by:791
Symbol 791 GraphicUses:790Used by:844
Symbol 792 BitmapUsed by:793
Symbol 793 GraphicUses:792Used by:844
Symbol 794 BitmapUsed by:795
Symbol 795 GraphicUses:794Used by:844
Symbol 796 BitmapUsed by:797
Symbol 797 GraphicUses:796Used by:844
Symbol 798 BitmapUsed by:799
Symbol 799 GraphicUses:798Used by:844
Symbol 800 BitmapUsed by:801
Symbol 801 GraphicUses:800Used by:844
Symbol 802 BitmapUsed by:803
Symbol 803 GraphicUses:802Used by:844
Symbol 804 BitmapUsed by:805
Symbol 805 GraphicUses:804Used by:844
Symbol 806 BitmapUsed by:807
Symbol 807 GraphicUses:806Used by:844
Symbol 808 BitmapUsed by:809
Symbol 809 GraphicUses:808Used by:844
Symbol 810 BitmapUsed by:811
Symbol 811 GraphicUses:810Used by:844
Symbol 812 BitmapUsed by:813
Symbol 813 GraphicUses:812Used by:844
Symbol 814 BitmapUsed by:815
Symbol 815 GraphicUses:814Used by:844
Symbol 816 BitmapUsed by:817
Symbol 817 GraphicUses:816Used by:844
Symbol 818 BitmapUsed by:819
Symbol 819 GraphicUses:818Used by:844
Symbol 820 BitmapUsed by:821
Symbol 821 GraphicUses:820Used by:844
Symbol 822 BitmapUsed by:823
Symbol 823 GraphicUses:822Used by:844
Symbol 824 BitmapUsed by:825
Symbol 825 GraphicUses:824Used by:844
Symbol 826 BitmapUsed by:827
Symbol 827 GraphicUses:826Used by:844
Symbol 828 BitmapUsed by:829
Symbol 829 GraphicUses:828Used by:844
Symbol 830 BitmapUsed by:831
Symbol 831 GraphicUses:830Used by:844
Symbol 832 BitmapUsed by:833
Symbol 833 GraphicUses:832Used by:844
Symbol 834 BitmapUsed by:835
Symbol 835 GraphicUses:834Used by:844
Symbol 836 BitmapUsed by:837
Symbol 837 GraphicUses:836Used by:844
Symbol 838 BitmapUsed by:839
Symbol 839 GraphicUses:838Used by:844
Symbol 840 BitmapUsed by:841
Symbol 841 GraphicUses:840Used by:844
Symbol 842 BitmapUsed by:843
Symbol 843 GraphicUses:842Used by:844
Symbol 844 MovieClipUses:783 785 787 789 791 793 795 797 799 801 803 805 807 809 811 813 815 817 819 821 823 825 827 829 831 833 835 837 839 841 843Used by:878 2112
Symbol 845 BitmapUsed by:846
Symbol 846 GraphicUses:845Used by:877
Symbol 847 BitmapUsed by:848
Symbol 848 GraphicUses:847Used by:877
Symbol 849 BitmapUsed by:850
Symbol 850 GraphicUses:849Used by:877
Symbol 851 BitmapUsed by:852
Symbol 852 GraphicUses:851Used by:877
Symbol 853 BitmapUsed by:854
Symbol 854 GraphicUses:853Used by:877
Symbol 855 BitmapUsed by:856
Symbol 856 GraphicUses:855Used by:877
Symbol 857 BitmapUsed by:858
Symbol 858 GraphicUses:857Used by:877
Symbol 859 BitmapUsed by:860
Symbol 860 GraphicUses:859Used by:877
Symbol 861 BitmapUsed by:862
Symbol 862 GraphicUses:861Used by:877
Symbol 863 BitmapUsed by:864
Symbol 864 GraphicUses:863Used by:877
Symbol 865 BitmapUsed by:866
Symbol 866 GraphicUses:865Used by:877
Symbol 867 BitmapUsed by:868
Symbol 868 GraphicUses:867Used by:877
Symbol 869 BitmapUsed by:870
Symbol 870 GraphicUses:869Used by:877
Symbol 871 BitmapUsed by:872
Symbol 872 GraphicUses:871Used by:877
Symbol 873 BitmapUsed by:874
Symbol 874 GraphicUses:873Used by:877
Symbol 875 BitmapUsed by:876
Symbol 876 GraphicUses:875Used by:877
Symbol 877 MovieClip {TedViral_fla.Zomb02Attack_331}Uses:846 848 850 852 854 856 858 860 862 864 866 868 870 872 874 876Used by:878 2107 2112
Symbol 878 MovieClip {main.Zomb02}Uses:717 366 368 547 732 781 844 877Used by:1465 2145 2179 2588 2772 2855 2929 2994
Symbol 879 BitmapUsed by:880
Symbol 880 GraphicUses:879Used by:901
Symbol 881 BitmapUsed by:882
Symbol 882 GraphicUses:881Used by:901
Symbol 883 BitmapUsed by:884
Symbol 884 GraphicUses:883Used by:901
Symbol 885 BitmapUsed by:886
Symbol 886 GraphicUses:885Used by:901
Symbol 887 BitmapUsed by:888
Symbol 888 GraphicUses:887Used by:901
Symbol 889 BitmapUsed by:890
Symbol 890 GraphicUses:889Used by:901
Symbol 891 BitmapUsed by:892
Symbol 892 GraphicUses:891Used by:901
Symbol 893 BitmapUsed by:894
Symbol 894 GraphicUses:893Used by:901
Symbol 895 BitmapUsed by:896
Symbol 896 GraphicUses:895Used by:901
Symbol 897 BitmapUsed by:898
Symbol 898 GraphicUses:897Used by:901
Symbol 899 BitmapUsed by:900
Symbol 900 GraphicUses:899Used by:901
Symbol 901 MovieClipUses:880 882 884 886 888 890 892 894 896 898 900Used by:1026 1180 1978
Symbol 902 BitmapUsed by:903
Symbol 903 GraphicUses:902Used by:920
Symbol 904 BitmapUsed by:905
Symbol 905 GraphicUses:904Used by:920
Symbol 906 BitmapUsed by:907
Symbol 907 GraphicUses:906Used by:920
Symbol 908 BitmapUsed by:909
Symbol 909 GraphicUses:908Used by:920
Symbol 910 BitmapUsed by:911
Symbol 911 GraphicUses:910Used by:920
Symbol 912 BitmapUsed by:913
Symbol 913 GraphicUses:912Used by:920
Symbol 914 BitmapUsed by:915
Symbol 915 GraphicUses:914Used by:920
Symbol 916 BitmapUsed by:917
Symbol 917 GraphicUses:916Used by:920
Symbol 918 BitmapUsed by:919
Symbol 919 GraphicUses:918Used by:920
Symbol 920 MovieClipUses:903 905 907 909 911 913 915 917 919Used by:1026 1180 1978
Symbol 921 BitmapUsed by:922
Symbol 922 GraphicUses:921Used by:955
Symbol 923 BitmapUsed by:924
Symbol 924 GraphicUses:923Used by:955
Symbol 925 BitmapUsed by:926
Symbol 926 GraphicUses:925Used by:955
Symbol 927 BitmapUsed by:928
Symbol 928 GraphicUses:927Used by:955
Symbol 929 BitmapUsed by:930
Symbol 930 GraphicUses:929Used by:955
Symbol 931 BitmapUsed by:932
Symbol 932 GraphicUses:931Used by:955
Symbol 933 BitmapUsed by:934
Symbol 934 GraphicUses:933Used by:955
Symbol 935 BitmapUsed by:936
Symbol 936 GraphicUses:935Used by:955
Symbol 937 BitmapUsed by:938
Symbol 938 GraphicUses:937Used by:955
Symbol 939 BitmapUsed by:940
Symbol 940 GraphicUses:939Used by:955
Symbol 941 BitmapUsed by:942
Symbol 942 GraphicUses:941Used by:955
Symbol 943 BitmapUsed by:944
Symbol 944 GraphicUses:943Used by:955
Symbol 945 BitmapUsed by:946
Symbol 946 GraphicUses:945Used by:955
Symbol 947 BitmapUsed by:948
Symbol 948 GraphicUses:947Used by:955
Symbol 949 BitmapUsed by:950
Symbol 950 GraphicUses:949Used by:955
Symbol 951 BitmapUsed by:952
Symbol 952 GraphicUses:951Used by:955
Symbol 953 BitmapUsed by:954
Symbol 954 GraphicUses:953Used by:955
Symbol 955 MovieClip {TedViral_fla.Zomb03Die_335}Uses:922 924 926 928 930 932 934 936 938 940 942 944 946 948 950 952 954Used by:1026 1180 1978
Symbol 956 BitmapUsed by:957
Symbol 957 GraphicUses:956Used by:986
Symbol 958 BitmapUsed by:959
Symbol 959 GraphicUses:958Used by:986
Symbol 960 BitmapUsed by:961
Symbol 961 GraphicUses:960Used by:986
Symbol 962 BitmapUsed by:963
Symbol 963 GraphicUses:962Used by:986
Symbol 964 BitmapUsed by:965
Symbol 965 GraphicUses:964Used by:986
Symbol 966 BitmapUsed by:967
Symbol 967 GraphicUses:966Used by:986
Symbol 968 BitmapUsed by:969
Symbol 969 GraphicUses:968Used by:986
Symbol 970 BitmapUsed by:971
Symbol 971 GraphicUses:970Used by:986
Symbol 972 BitmapUsed by:973
Symbol 973 GraphicUses:972Used by:986
Symbol 974 BitmapUsed by:975
Symbol 975 GraphicUses:974Used by:986
Symbol 976 BitmapUsed by:977
Symbol 977 GraphicUses:976Used by:986
Symbol 978 BitmapUsed by:979
Symbol 979 GraphicUses:978Used by:986
Symbol 980 BitmapUsed by:981
Symbol 981 GraphicUses:980Used by:986
Symbol 982 BitmapUsed by:983
Symbol 983 GraphicUses:982Used by:986
Symbol 984 BitmapUsed by:985
Symbol 985 GraphicUses:984Used by:986
Symbol 986 MovieClipUses:957 959 961 963 965 967 969 971 973 975 977 979 981 983 985Used by:1026 1978
Symbol 987 BitmapUsed by:988
Symbol 988 GraphicUses:987Used by:1025
Symbol 989 BitmapUsed by:990
Symbol 990 GraphicUses:989Used by:1025
Symbol 991 BitmapUsed by:992
Symbol 992 GraphicUses:991Used by:1025
Symbol 993 BitmapUsed by:994
Symbol 994 GraphicUses:993Used by:1025
Symbol 995 BitmapUsed by:996
Symbol 996 GraphicUses:995Used by:1025
Symbol 997 BitmapUsed by:998
Symbol 998 GraphicUses:997Used by:1025
Symbol 999 BitmapUsed by:1000
Symbol 1000 GraphicUses:999Used by:1025
Symbol 1001 BitmapUsed by:1002
Symbol 1002 GraphicUses:1001Used by:1025
Symbol 1003 BitmapUsed by:1004
Symbol 1004 GraphicUses:1003Used by:1025
Symbol 1005 BitmapUsed by:1006
Symbol 1006 GraphicUses:1005Used by:1025
Symbol 1007 BitmapUsed by:1008
Symbol 1008 GraphicUses:1007Used by:1025
Symbol 1009 BitmapUsed by:1010
Symbol 1010 GraphicUses:1009Used by:1025
Symbol 1011 BitmapUsed by:1012
Symbol 1012 GraphicUses:1011Used by:1025
Symbol 1013 BitmapUsed by:1014
Symbol 1014 GraphicUses:1013Used by:1025
Symbol 1015 BitmapUsed by:1016
Symbol 1016 GraphicUses:1015Used by:1025
Symbol 1017 BitmapUsed by:1018
Symbol 1018 GraphicUses:1017Used by:1025
Symbol 1019 BitmapUsed by:1020
Symbol 1020 GraphicUses:1019Used by:1025
Symbol 1021 BitmapUsed by:1022
Symbol 1022 GraphicUses:1021Used by:1025
Symbol 1023 BitmapUsed by:1024
Symbol 1024 GraphicUses:1023Used by:1025
Symbol 1025 MovieClip {TedViral_fla.Zomb03Attack_337}Uses:988 990 992 994 996 998 1000 1002 1004 1006 1008 1010 1012 1014 1016 1018 1020 1022 1024Used by:1026 1180 1978
Symbol 1026 MovieClip {main.Zomb03}Uses:901 366 368 547 920 955 986 1025Used by:1465 2145 2179 2772 2929 2994
Symbol 1027 BitmapUsed by:1028
Symbol 1028 GraphicUses:1027Used by:1043
Symbol 1029 BitmapUsed by:1030
Symbol 1030 GraphicUses:1029Used by:1043
Symbol 1031 BitmapUsed by:1032
Symbol 1032 GraphicUses:1031Used by:1043
Symbol 1033 BitmapUsed by:1034
Symbol 1034 GraphicUses:1033Used by:1043
Symbol 1035 BitmapUsed by:1036
Symbol 1036 GraphicUses:1035Used by:1043
Symbol 1037 BitmapUsed by:1038
Symbol 1038 GraphicUses:1037Used by:1043
Symbol 1039 BitmapUsed by:1040
Symbol 1040 GraphicUses:1039Used by:1043
Symbol 1041 BitmapUsed by:1042
Symbol 1042 GraphicUses:1041Used by:1043
Symbol 1043 MovieClipUses:1028 1030 1032 1034 1036 1038 1040 1042Used by:1178 1980 2106
Symbol 1044 BitmapUsed by:1045
Symbol 1045 GraphicUses:1044Used by:1066
Symbol 1046 BitmapUsed by:1047
Symbol 1047 GraphicUses:1046Used by:1066
Symbol 1048 BitmapUsed by:1049
Symbol 1049 GraphicUses:1048Used by:1066
Symbol 1050 BitmapUsed by:1051
Symbol 1051 GraphicUses:1050Used by:1066
Symbol 1052 BitmapUsed by:1053
Symbol 1053 GraphicUses:1052Used by:1066
Symbol 1054 BitmapUsed by:1055
Symbol 1055 GraphicUses:1054Used by:1066
Symbol 1056 BitmapUsed by:1057
Symbol 1057 GraphicUses:1056Used by:1066
Symbol 1058 BitmapUsed by:1059
Symbol 1059 GraphicUses:1058Used by:1066
Symbol 1060 BitmapUsed by:1061
Symbol 1061 GraphicUses:1060Used by:1066
Symbol 1062 BitmapUsed by:1063
Symbol 1063 GraphicUses:1062Used by:1066
Symbol 1064 BitmapUsed by:1065
Symbol 1065 GraphicUses:1064Used by:1066
Symbol 1066 MovieClipUses:1045 1047 1049 1051 1053 1055 1057 1059 1061 1063 1065Used by:1178 1980 2106
Symbol 1067 BitmapUsed by:1068
Symbol 1068 GraphicUses:1067Used by:1101
Symbol 1069 BitmapUsed by:1070
Symbol 1070 GraphicUses:1069Used by:1101
Symbol 1071 BitmapUsed by:1072
Symbol 1072 GraphicUses:1071Used by:1101
Symbol 1073 BitmapUsed by:1074
Symbol 1074 GraphicUses:1073Used by:1101
Symbol 1075 BitmapUsed by:1076
Symbol 1076 GraphicUses:1075Used by:1101
Symbol 1077 BitmapUsed by:1078
Symbol 1078 GraphicUses:1077Used by:1101
Symbol 1079 BitmapUsed by:1080
Symbol 1080 GraphicUses:1079Used by:1101
Symbol 1081 BitmapUsed by:1082
Symbol 1082 GraphicUses:1081Used by:1101
Symbol 1083 BitmapUsed by:1084
Symbol 1084 GraphicUses:1083Used by:1101
Symbol 1085 BitmapUsed by:1086
Symbol 1086 GraphicUses:1085Used by:1101
Symbol 1087 BitmapUsed by:1088
Symbol 1088 GraphicUses:1087Used by:1101
Symbol 1089 BitmapUsed by:1090
Symbol 1090 GraphicUses:1089Used by:1101
Symbol 1091 BitmapUsed by:1092
Symbol 1092 GraphicUses:1091Used by:1101
Symbol 1093 BitmapUsed by:1094
Symbol 1094 GraphicUses:1093Used by:1101
Symbol 1095 BitmapUsed by:1096
Symbol 1096 GraphicUses:1095Used by:1101
Symbol 1097 BitmapUsed by:1098
Symbol 1098 GraphicUses:1097Used by:1101
Symbol 1099 BitmapUsed by:1100
Symbol 1100 GraphicUses:1099Used by:1101
Symbol 1101 MovieClip {TedViral_fla.Zomb04Die_341}Uses:1068 1070 1072 1074 1076 1078 1080 1082 1084 1086 1088 1090 1092 1094 1096 1098 1100Used by:1178 1980 2106
Symbol 1102 BitmapUsed by:1103
Symbol 1103 GraphicUses:1102Used by:1130
Symbol 1104 BitmapUsed by:1105
Symbol 1105 GraphicUses:1104Used by:1130
Symbol 1106 BitmapUsed by:1107
Symbol 1107 GraphicUses:1106Used by:1130
Symbol 1108 BitmapUsed by:1109
Symbol 1109 GraphicUses:1108Used by:1130
Symbol 1110 BitmapUsed by:1111
Symbol 1111 GraphicUses:1110Used by:1130
Symbol 1112 BitmapUsed by:1113
Symbol 1113 GraphicUses:1112Used by:1130
Symbol 1114 BitmapUsed by:1115
Symbol 1115 GraphicUses:1114Used by:1130
Symbol 1116 BitmapUsed by:1117
Symbol 1117 GraphicUses:1116Used by:1130
Symbol 1118 BitmapUsed by:1119
Symbol 1119 GraphicUses:1118Used by:1130
Symbol 1120 BitmapUsed by:1121
Symbol 1121 GraphicUses:1120Used by:1130
Symbol 1122 BitmapUsed by:1123
Symbol 1123 GraphicUses:1122Used by:1130
Symbol 1124 BitmapUsed by:1125
Symbol 1125 GraphicUses:1124Used by:1130
Symbol 1126 BitmapUsed by:1127
Symbol 1127 GraphicUses:1126Used by:1130
Symbol 1128 BitmapUsed by:1129
Symbol 1129 GraphicUses:1128Used by:1130
Symbol 1130 MovieClipUses:1103 1105 1107 1109 1111 1113 1115 1117 1119 1121 1123 1125 1127 1129Used by:1178 2106
Symbol 1131 BitmapUsed by:1132
Symbol 1132 GraphicUses:1131Used by:1177
Symbol 1133 BitmapUsed by:1134
Symbol 1134 GraphicUses:1133Used by:1177
Symbol 1135 BitmapUsed by:1136
Symbol 1136 GraphicUses:1135Used by:1177
Symbol 1137 BitmapUsed by:1138
Symbol 1138 GraphicUses:1137Used by:1177
Symbol 1139 BitmapUsed by:1140
Symbol 1140 GraphicUses:1139Used by:1177
Symbol 1141 BitmapUsed by:1142
Symbol 1142 GraphicUses:1141Used by:1177
Symbol 1143 BitmapUsed by:1144
Symbol 1144 GraphicUses:1143Used by:1177
Symbol 1145 BitmapUsed by:1146
Symbol 1146 GraphicUses:1145Used by:1177
Symbol 1147 BitmapUsed by:1148
Symbol 1148 GraphicUses:1147Used by:1177
Symbol 1149 BitmapUsed by:1150
Symbol 1150 GraphicUses:1149Used by:1177
Symbol 1151 BitmapUsed by:1152
Symbol 1152 GraphicUses:1151Used by:1177
Symbol 1153 BitmapUsed by:1154
Symbol 1154 GraphicUses:1153Used by:1177
Symbol 1155 BitmapUsed by:1156
Symbol 1156 GraphicUses:1155Used by:1177
Symbol 1157 BitmapUsed by:1158
Symbol 1158 GraphicUses:1157Used by:1177
Symbol 1159 BitmapUsed by:1160
Symbol 1160 GraphicUses:1159Used by:1177
Symbol 1161 BitmapUsed by:1162
Symbol 1162 GraphicUses:1161Used by:1177
Symbol 1163 BitmapUsed by:1164
Symbol 1164 GraphicUses:1163Used by:1177
Symbol 1165 BitmapUsed by:1166
Symbol 1166 GraphicUses:1165Used by:1177
Symbol 1167 BitmapUsed by:1168
Symbol 1168 GraphicUses:1167Used by:1177
Symbol 1169 BitmapUsed by:1170
Symbol 1170 GraphicUses:1169Used by:1177
Symbol 1171 BitmapUsed by:1172
Symbol 1172 GraphicUses:1171Used by:1177
Symbol 1173 BitmapUsed by:1174
Symbol 1174 GraphicUses:1173Used by:1177
Symbol 1175 BitmapUsed by:1176
Symbol 1176 GraphicUses:1175Used by:1177
Symbol 1177 MovieClip {TedViral_fla.Zomb04Attack_343}Uses:1132 1134 1136 1138 1140 1142 1144 1146 1148 1150 1152 1154 1156 1158 1160 1162 1164 1166 1168 1170 1172 1174 1176Used by:1178 1980 2106
Symbol 1178 MovieClip {main.Zomb04}Uses:1043 366 368 547 1066 1101 1130 1177Used by:1465 2145 2772 2855 2929 2994
Symbol 1179 MovieClip {main.Zomb01Run}Uses:543 366 368 547 564 587 693Used by:1465 2145 2772 2855 2929 2994
Symbol 1180 MovieClip {main.Zomb03Run}Uses:901 366 368 547 920 955 1025Used by:1465 2179 2588 2772 2855 2929 2994
Symbol 1181 BitmapUsed by:1182
Symbol 1182 GraphicUses:1181Used by:1207
Symbol 1183 BitmapUsed by:1184
Symbol 1184 GraphicUses:1183Used by:1207
Symbol 1185 BitmapUsed by:1186
Symbol 1186 GraphicUses:1185Used by:1207
Symbol 1187 BitmapUsed by:1188
Symbol 1188 GraphicUses:1187Used by:1207
Symbol 1189 BitmapUsed by:1190
Symbol 1190 GraphicUses:1189Used by:1207
Symbol 1191 BitmapUsed by:1192
Symbol 1192 GraphicUses:1191Used by:1207
Symbol 1193 BitmapUsed by:1194
Symbol 1194 GraphicUses:1193Used by:1207
Symbol 1195 BitmapUsed by:1196
Symbol 1196 GraphicUses:1195Used by:1207
Symbol 1197 BitmapUsed by:1198
Symbol 1198 GraphicUses:1197Used by:1207
Symbol 1199 BitmapUsed by:1200
Symbol 1200 GraphicUses:1199Used by:1207
Symbol 1201 BitmapUsed by:1202
Symbol 1202 GraphicUses:1201Used by:1207
Symbol 1203 BitmapUsed by:1204
Symbol 1204 GraphicUses:1203Used by:1207
Symbol 1205 BitmapUsed by:1206
Symbol 1206 GraphicUses:1205Used by:1207
Symbol 1207 MovieClipUses:1182 1184 1186 1188 1190 1192 1194 1196 1198 1200 1202 1204 1206Used by:1384 1385 2105
Symbol 1208 BitmapUsed by:1209
Symbol 1209 GraphicUses:1208Used by:1232
Symbol 1210 BitmapUsed by:1211
Symbol 1211 GraphicUses:1210Used by:1232
Symbol 1212 BitmapUsed by:1213
Symbol 1213 GraphicUses:1212Used by:1232
Symbol 1214 BitmapUsed by:1215
Symbol 1215 GraphicUses:1214Used by:1232
Symbol 1216 BitmapUsed by:1217
Symbol 1217 GraphicUses:1216Used by:1232
Symbol 1218 BitmapUsed by:1219
Symbol 1219 GraphicUses:1218Used by:1232
Symbol 1220 BitmapUsed by:1221
Symbol 1221 GraphicUses:1220Used by:1232
Symbol 1222 BitmapUsed by:1223
Symbol 1223 GraphicUses:1222Used by:1232
Symbol 1224 BitmapUsed by:1225
Symbol 1225 GraphicUses:1224Used by:1232
Symbol 1226 BitmapUsed by:1227
Symbol 1227 GraphicUses:1226Used by:1232
Symbol 1228 BitmapUsed by:1229
Symbol 1229 GraphicUses:1228Used by:1232
Symbol 1230 BitmapUsed by:1231
Symbol 1231 GraphicUses:1230Used by:1232
Symbol 1232 MovieClipUses:1209 1211 1213 1215 1217 1219 1221 1223 1225 1227 1229 1231Used by:1384 1385 2105
Symbol 1233 BitmapUsed by:1234
Symbol 1234 GraphicUses:1233Used by:1275
Symbol 1235 BitmapUsed by:1236
Symbol 1236 GraphicUses:1235Used by:1275
Symbol 1237 BitmapUsed by:1238
Symbol 1238 GraphicUses:1237Used by:1275
Symbol 1239 BitmapUsed by:1240
Symbol 1240 GraphicUses:1239Used by:1275
Symbol 1241 BitmapUsed by:1242
Symbol 1242 GraphicUses:1241Used by:1275
Symbol 1243 BitmapUsed by:1244
Symbol 1244 GraphicUses:1243Used by:1275
Symbol 1245 BitmapUsed by:1246
Symbol 1246 GraphicUses:1245Used by:1275
Symbol 1247 BitmapUsed by:1248
Symbol 1248 GraphicUses:1247Used by:1275
Symbol 1249 BitmapUsed by:1250
Symbol 1250 GraphicUses:1249Used by:1275
Symbol 1251 BitmapUsed by:1252
Symbol 1252 GraphicUses:1251Used by:1275
Symbol 1253 BitmapUsed by:1254
Symbol 1254 GraphicUses:1253Used by:1275
Symbol 1255 BitmapUsed by:1256
Symbol 1256 GraphicUses:1255Used by:1275
Symbol 1257 BitmapUsed by:1258
Symbol 1258 GraphicUses:1257Used by:1275
Symbol 1259 BitmapUsed by:1260
Symbol 1260 GraphicUses:1259Used by:1275
Symbol 1261 BitmapUsed by:1262
Symbol 1262 GraphicUses:1261Used by:1275
Symbol 1263 BitmapUsed by:1264
Symbol 1264 GraphicUses:1263Used by:1275
Symbol 1265 BitmapUsed by:1266
Symbol 1266 GraphicUses:1265Used by:1275
Symbol 1267 BitmapUsed by:1268
Symbol 1268 GraphicUses:1267Used by:1275
Symbol 1269 BitmapUsed by:1270
Symbol 1270 GraphicUses:1269Used by:1275
Symbol 1271 BitmapUsed by:1272
Symbol 1272 GraphicUses:1271Used by:1275
Symbol 1273 BitmapUsed by:1274
Symbol 1274 GraphicUses:1273Used by:1275
Symbol 1275 MovieClip {TedViral_fla.Zomb05Die_350}Uses:1234 1236 1238 1240 1242 1244 1246 1248 1250 1252 1254 1256 1258 1260 1262 1264 1266 1268 1270 1272 1274Used by:1384 1385 2105
Symbol 1276 BitmapUsed by:1277
Symbol 1277 GraphicUses:1276Used by:1312
Symbol 1278 BitmapUsed by:1279
Symbol 1279 GraphicUses:1278Used by:1312
Symbol 1280 BitmapUsed by:1281
Symbol 1281 GraphicUses:1280Used by:1312
Symbol 1282 BitmapUsed by:1283
Symbol 1283 GraphicUses:1282Used by:1312
Symbol 1284 BitmapUsed by:1285
Symbol 1285 GraphicUses:1284Used by:1312
Symbol 1286 BitmapUsed by:1287
Symbol 1287 GraphicUses:1286Used by:1312
Symbol 1288 BitmapUsed by:1289
Symbol 1289 GraphicUses:1288Used by:1312
Symbol 1290 BitmapUsed by:1291
Symbol 1291 GraphicUses:1290Used by:1312
Symbol 1292 BitmapUsed by:1293
Symbol 1293 GraphicUses:1292Used by:1312
Symbol 1294 BitmapUsed by:1295
Symbol 1295 GraphicUses:1294Used by:1312
Symbol 1296 BitmapUsed by:1297
Symbol 1297 GraphicUses:1296Used by:1312
Symbol 1298 BitmapUsed by:1299
Symbol 1299 GraphicUses:1298Used by:1312
Symbol 1300 BitmapUsed by:1301
Symbol 1301 GraphicUses:1300Used by:1312
Symbol 1302 BitmapUsed by:1303
Symbol 1303 GraphicUses:1302Used by:1312
Symbol 1304 BitmapUsed by:1305
Symbol 1305 GraphicUses:1304Used by:1312
Symbol 1306 BitmapUsed by:1307
Symbol 1307 GraphicUses:1306Used by:1312
Symbol 1308 BitmapUsed by:1309
Symbol 1309 GraphicUses:1308Used by:1312
Symbol 1310 BitmapUsed by:1311
Symbol 1311 GraphicUses:1310Used by:1312
Symbol 1312 MovieClipUses:1277 1279 1281 1283 1285 1287 1289 1291 1293 1295 1297 1299 1301 1303 1305 1307 1309 1311Used by:1384 2105
Symbol 1313 BitmapUsed by:1314
Symbol 1314 GraphicUses:1313Used by:1383
Symbol 1315 BitmapUsed by:1316
Symbol 1316 GraphicUses:1315Used by:1383
Symbol 1317 BitmapUsed by:1318
Symbol 1318 GraphicUses:1317Used by:1383
Symbol 1319 BitmapUsed by:1320
Symbol 1320 GraphicUses:1319Used by:1383
Symbol 1321 BitmapUsed by:1322
Symbol 1322 GraphicUses:1321Used by:1383
Symbol 1323 BitmapUsed by:1324
Symbol 1324 GraphicUses:1323Used by:1383
Symbol 1325 BitmapUsed by:1326
Symbol 1326 GraphicUses:1325Used by:1383
Symbol 1327 BitmapUsed by:1328
Symbol 1328 GraphicUses:1327Used by:1383
Symbol 1329 BitmapUsed by:1330
Symbol 1330 GraphicUses:1329Used by:1383
Symbol 1331 BitmapUsed by:1332
Symbol 1332 GraphicUses:1331Used by:1383
Symbol 1333 BitmapUsed by:1334
Symbol 1334 GraphicUses:1333Used by:1383
Symbol 1335 BitmapUsed by:1336
Symbol 1336 GraphicUses:1335Used by:1383
Symbol 1337 BitmapUsed by:1338
Symbol 1338 GraphicUses:1337Used by:1383
Symbol 1339 BitmapUsed by:1340
Symbol 1340 GraphicUses:1339Used by:1383
Symbol 1341 BitmapUsed by:1342
Symbol 1342 GraphicUses:1341Used by:1383
Symbol 1343 BitmapUsed by:1344
Symbol 1344 GraphicUses:1343Used by:1383
Symbol 1345 BitmapUsed by:1346
Symbol 1346 GraphicUses:1345Used by:1383
Symbol 1347 BitmapUsed by:1348
Symbol 1348 GraphicUses:1347Used by:1383
Symbol 1349 BitmapUsed by:1350
Symbol 1350 GraphicUses:1349Used by:1383
Symbol 1351 BitmapUsed by:1352
Symbol 1352 GraphicUses:1351Used by:1383
Symbol 1353 BitmapUsed by:1354
Symbol 1354 GraphicUses:1353Used by:1383
Symbol 1355 BitmapUsed by:1356
Symbol 1356 GraphicUses:1355Used by:1383
Symbol 1357 BitmapUsed by:1358
Symbol 1358 GraphicUses:1357Used by:1383
Symbol 1359 BitmapUsed by:1360
Symbol 1360 GraphicUses:1359Used by:1383
Symbol 1361 BitmapUsed by:1362
Symbol 1362 GraphicUses:1361Used by:1383
Symbol 1363 BitmapUsed by:1364
Symbol 1364 GraphicUses:1363Used by:1383
Symbol 1365 BitmapUsed by:1366
Symbol 1366 GraphicUses:1365Used by:1383
Symbol 1367 BitmapUsed by:1368
Symbol 1368 GraphicUses:1367Used by:1383
Symbol 1369 BitmapUsed by:1370
Symbol 1370 GraphicUses:1369Used by:1383
Symbol 1371 BitmapUsed by:1372
Symbol 1372 GraphicUses:1371Used by:1383
Symbol 1373 BitmapUsed by:1374
Symbol 1374 GraphicUses:1373Used by:1383
Symbol 1375 BitmapUsed by:1376
Symbol 1376 GraphicUses:1375Used by:1383
Symbol 1377 BitmapUsed by:1378
Symbol 1378 GraphicUses:1377Used by:1383
Symbol 1379 BitmapUsed by:1380
Symbol 1380 GraphicUses:1379Used by:1383
Symbol 1381 BitmapUsed by:1382
Symbol 1382 GraphicUses:1381Used by:1383
Symbol 1383 MovieClip {TedViral_fla.Zomb05Attack_352}Uses:1314 1316 1318 1320 1322 1324 1326 1328 1330 1332 1334 1336 1338 1340 1342 1344 1346 1348 1350 1352 1354 1356 1358 1360 1362 1364 1366 1368 1370 1372 1374 1376 1378 1380 1382Used by:1384 1385 2105
Symbol 1384 MovieClip {main.Zomb05}Uses:1207 366 368 547 1232 1275 1312 1383Used by:1465 2145 2588 2855 2929 2994
Symbol 1385 MovieClip {main.Zomb05Run}Uses:1207 366 368 547 1232 1275 1383Used by:1465 2145 2179 2588 2772 2855 2929 2994
Symbol 1386 BitmapUsed by:1387
Symbol 1387 GraphicUses:1386Used by:1406
Symbol 1388 BitmapUsed by:1389
Symbol 1389 GraphicUses:1388Used by:1406
Symbol 1390 BitmapUsed by:1391
Symbol 1391 GraphicUses:1390Used by:1406
Symbol 1392 BitmapUsed by:1393
Symbol 1393 GraphicUses:1392Used by:1406
Symbol 1394 BitmapUsed by:1395 3208
Symbol 1395 GraphicUses:1394Used by:1406
Symbol 1396 BitmapUsed by:1397
Symbol 1397 GraphicUses:1396Used by:1406
Symbol 1398 BitmapUsed by:1399
Symbol 1399 GraphicUses:1398Used by:1406
Symbol 1400 BitmapUsed by:1401
Symbol 1401 GraphicUses:1400Used by:1406
Symbol 1402 BitmapUsed by:1403
Symbol 1403 GraphicUses:1402Used by:1406
Symbol 1404 BitmapUsed by:1405
Symbol 1405 GraphicUses:1404Used by:1406
Symbol 1406 MovieClip {main.enginesFire}Uses:1387 1389 1391 1393 1395 1397 1399 1401 1403 1405Used by:1431 2247 2582 2585
Symbol 1407 BitmapUsed by:1408
Symbol 1408 GraphicUses:1407Used by:1409 3194 3196
Symbol 1409 MovieClipUses:1408Used by:1431
Symbol 1410 BitmapUsed by:1411
Symbol 1411 GraphicUses:1410Used by:1412 3191
Symbol 1412 MovieClipUses:1411Used by:1431
Symbol 1413 BitmapUsed by:1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425
Symbol 1414 GraphicUses:1413Used by:1426 2536 3190
Symbol 1415 GraphicUses:1413Used by:1426
Symbol 1416 GraphicUses:1413Used by:1426
Symbol 1417 GraphicUses:1413Used by:1426
Symbol 1418 GraphicUses:1413Used by:1426
Symbol 1419 GraphicUses:1413Used by:1426
Symbol 1420 GraphicUses:1413Used by:1426
Symbol 1421 GraphicUses:1413Used by:1426
Symbol 1422 GraphicUses:1413Used by:1426
Symbol 1423 GraphicUses:1413Used by:1426
Symbol 1424 GraphicUses:1413Used by:1426
Symbol 1425 GraphicUses:1413Used by:1426
Symbol 1426 MovieClipUses:1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425Used by:1431
Symbol 1427 BitmapUsed by:1428
Symbol 1428 GraphicUses:1427Used by:1429 3197 3198 3199
Symbol 1429 MovieClip {TedViral_fla.AlienHunterBlasterAnim_372}Uses:1428 325 321 318Used by:1430
Symbol 1430 MovieClip {main.AlienHunterBlaster}Uses:1429 368 547Used by:1431 2588 2855 2929 2994
Symbol 1431 MovieClip {main.AlienHunter}Uses:1406 1409 1412 1426 1430 366 368 547Used by:1465 2588 2772 2855
Symbol 1432 BitmapUsed by:1433
Symbol 1433 GraphicUses:1432Used by:1434
Symbol 1434 MovieClipUses:1433Used by:1435
Symbol 1435 MovieClipUses:1434Used by:1436
Symbol 1436 MovieClip {main.propCoin}Uses:1435 366Used by:1465 2929 2994 3353
Symbol 1437 BitmapUsed by:1438
Symbol 1438 GraphicUses:1437Used by:1439
Symbol 1439 MovieClipUses:1438Used by:1440
Symbol 1440 MovieClip {main.propShotgunAmmo}Uses:1439 366Used by:1465 2145 2179 2772 2855 2929 2994 3353
Symbol 1441 BitmapUsed by:1442
Symbol 1442 GraphicUses:1441Used by:1443
Symbol 1443 MovieClipUses:1442Used by:1444
Symbol 1444 MovieClip {main.dropMedKit}Uses:1443 366Used by:1465 2145 2179 2535 2588 2772 2855 2929 2994 3353
Symbol 1445 TextUses:311Used by:1446
Symbol 1446 MovieClip {TedViral_fla.propLayerTitle_401}Uses:310 1445Used by:1447
Symbol 1447 MovieClipUses:1446Used by:1465 2145 2179 2535 2588 2772 2812 2855 2929 2994
Symbol 1448 TextUses:311Used by:1449
Symbol 1449 MovieClip {TedViral_fla.FXLayerTitle_403}Uses:310 1448Used by:1450
Symbol 1450 MovieClipUses:1449Used by:1465 2145 2179 2535 2588 2772 2812 2855 2929 2994
Symbol 1451 GraphicUsed by:1452
Symbol 1452 MovieClipUses:1451Used by:1465 2772 2910 2914 2929
Symbol 1453 BitmapUsed by:1454
Symbol 1454 GraphicUses:1453Used by:1455
Symbol 1455 MovieClipUses:1454Used by:1456
Symbol 1456 MovieClip {main.propMoney1}Uses:1455 366Used by:1465 2145 2179 2535 2772 2855 2929 2994
Symbol 1457 GraphicUsed by:1458
Symbol 1458 MovieClip {TedViral_fla.limiterWide_405}Uses:1457Used by:1465 2145 2179 2588 2772 2812 2855 2929 2994
Symbol 1459 MovieClip {main.limiter}Uses:365Used by:1465 2145 2179 2535 2588 2772 2812 2855 2929 2994
Symbol 1460 GraphicUsed by:1461
Symbol 1461 MovieClip {TedViral_fla.limiterSlim_406}Uses:1460Used by:1465 2145 2179 2535 2588 2772 2929 2994
Symbol 1462 GraphicUsed by:1464
Symbol 1463 TextUses:311Used by:1464
Symbol 1464 MovieClip {main.triggerMarker}Uses:1462 1463Used by:1465 2145 2179 2535 2588 2772 2812 2855 2929 2994
Symbol 1465 MovieClip {main.Level1}Uses:127 136 141 148 153 219 278 299 309 314 494 694 878 1026 1178 1179 1180 1384 1385 1431 1436 1440 1444 1447 1450 1452 1456 1458 1459 1461 1464
Symbol 1466 BitmapUsed by:1467 1485 1519 1524 1528 1530 1543 2146 2147 2149 2151 2152 2155 2161
Symbol 1467 GraphicUses:1466Used by:1518
Symbol 1468 BitmapUsed by:1469
Symbol 1469 GraphicUses:1468Used by:1470 1522
Symbol 1470 MovieClipUses:1469Used by:1518 1523 1527 1529 1542 2145 2148 2165 2588
Symbol 1471 GraphicUsed by:1474
Symbol 1472 BitmapUsed by:1473
Symbol 1473 GraphicUses:1472Used by:1474 1496
Symbol 1474 MovieClipUses:1471 1473Used by:1518 2900
Symbol 1475 BitmapUsed by:1476
Symbol 1476 GraphicUses:1475Used by:1477
Symbol 1477 MovieClipUses:1476Used by:1518 2535 2772 2910 2935
Symbol 1478 BitmapUsed by:1479
Symbol 1479 GraphicUses:1478Used by:1480
Symbol 1480 MovieClipUses:1479Used by:1518 2772 2910 2936
Symbol 1481 BitmapUsed by:1482
Symbol 1482 GraphicUses:1481Used by:1483
Symbol 1483 MovieClipUses:1482Used by:1518 2535 2772 2910 2936
Symbol 1484 BitmapUsed by:1485 2152
Symbol 1485 GraphicUses:1484 1466Used by:1492
Symbol 1486 BitmapUsed by:1487
Symbol 1487 GraphicUses:1486Used by:1488
Symbol 1488 MovieClipUses:1487Used by:1492 1518 1523 1527 1529 1542 1565 2148 2153 2154 2165
Symbol 1489 BitmapUsed by:1490 2202
Symbol 1490 GraphicUses:1489Used by:1491
Symbol 1491 MovieClipUses:1490Used by:1492 1518 1523 1527 1529 1542 1565 2145 2148 2150 2153 2154 2156 2165 2179
Symbol 1492 MovieClipUses:1485 1488 1491Used by:1518 1523 1529 1542 1565 2148 2150 2154 2156 2165
Symbol 1493 BitmapUsed by:1494
Symbol 1494 GraphicUses:1493Used by:1495
Symbol 1495 MovieClipUses:1494Used by:1518 1527 2148 2156 2179 2535 2588 2900
Symbol 1496 MovieClipUses:1473Used by:1518 2145 2535 2588 2848
Symbol 1497 BitmapUsed by:1498
Symbol 1498 GraphicUses:1497Used by:1499
Symbol 1499 MovieClipUses:179 1498Used by:1518 2154 2588
Symbol 1500 BitmapUsed by:1501
Symbol 1501 GraphicUses:1500Used by:1502 2121
Symbol 1502 MovieClipUses:179 1501Used by:1518 2588 2849 2850
Symbol 1503 GraphicUsed by:1506 2157
Symbol 1504 BitmapUsed by:1505
Symbol 1505 GraphicUses:1504Used by:1506 2157
Symbol 1506 MovieClip {TedViral_fla.sewerHatch_583}Uses:1503 1505 325Used by:1507 2145 2179 2535 2588
Symbol 1507 MovieClipUses:1506Used by:1518
Symbol 1508 BitmapUsed by:1509
Symbol 1509 GraphicUses:1508Used by:1510
Symbol 1510 MovieClipUses:1509Used by:1517 2119 2145 2148 2150 2165 2588
Symbol 1511 BitmapUsed by:1512
Symbol 1512 GraphicUses:1511Used by:1513
Symbol 1513 MovieClipUses:1512Used by:1517 2145 2148 2150 2156 2165 2588
Symbol 1514 BitmapUsed by:1515
Symbol 1515 GraphicUses:1514Used by:1516
Symbol 1516 MovieClipUses:1515Used by:1517 2119 2148 2150 2156 2165 2588
Symbol 1517 MovieClipUses:1510 1513 1516Used by:1518 2145 2535 2588 2772 2846
Symbol 1518 MovieClip {TedViral_fla.Level5_Chunk6_619}Uses:1467 1470 1474 1477 1480 1483 1492 1491 1488 1495 1496 1499 1502 1507 1517Used by:2145
Symbol 1519 GraphicUses:1466Used by:1523
Symbol 1520 MovieClipUses:222 263Used by:1523 1565 2154 2535 2588
Symbol 1521 GraphicUsed by:1522
Symbol 1522 MovieClipUses:1521 1469Used by:1523 2165 2535 2848 2900
Symbol 1523 MovieClip {TedViral_fla.Level5_Chunk5_621}Uses:1519 1492 1520 1488 1491 1522 1470Used by:2145
Symbol 1524 GraphicUses:1466Used by:1527
Symbol 1525 GraphicUsed by:1526
Symbol 1526 MovieClipUses:1525Used by:1527 1542
Symbol 1527 MovieClip {TedViral_fla.Level5_Chunk1_622}Uses:1524 1526 1491 1488 1470 1495Used by:2145
Symbol 1528 GraphicUses:1466Used by:1529
Symbol 1529 MovieClip {TedViral_fla.Level5_Chunk2_624}Uses:1528 1488 1492 1491 1470Used by:2145
Symbol 1530 GraphicUses:1466Used by:1542
Symbol 1531 BitmapUsed by:1532
Symbol 1532 GraphicUses:1531Used by:1535 1541 2862 2863
Symbol 1533 BitmapUsed by:1534
Symbol 1534 GraphicUses:1533Used by:1535 1541 2862 2863
Symbol 1535 MovieClipUses:1532 1534Used by:1542 2894
Symbol 1536 BitmapUsed by:1537
Symbol 1537 GraphicUses:1536Used by:1538
Symbol 1538 MovieClipUses:1537Used by:1542 2145 2535 2588
Symbol 1539 BitmapUsed by:1540
Symbol 1540 GraphicUses:1539Used by:1541 2862 2863
Symbol 1541 MovieClipUses:1540 1532 1534Used by:1542
Symbol 1542 MovieClip {TedViral_fla.Level5_Chunk4_625}Uses:1530 1535 1492 1491 1488 1538 1470 1541 1526Used by:2145
Symbol 1543 GraphicUses:1466Used by:1565
Symbol 1544 BitmapUsed by:1545
Symbol 1545 GraphicUses:1544Used by:1546 1564
Symbol 1546 MovieClipUses:179 1545Used by:1565 2772 2846 2847 2894 2900
Symbol 1547 BitmapUsed by:1548
Symbol 1548 GraphicUses:1547Used by:1549 1563
Symbol 1549 MovieClipUses:179 1548Used by:1565 2588 2772 2894
Symbol 1550 BitmapUsed by:1551
Symbol 1551 GraphicUses:1550Used by:1552 1562 2928
Symbol 1552 MovieClipUses:179 1551Used by:1565 2588 2772 2846 2847 2894
Symbol 1553 BitmapUsed by:1554
Symbol 1554 GraphicUses:1553Used by:1555 2541
Symbol 1555 MovieClipUses:1554Used by:1565
Symbol 1556 BitmapUsed by:1557
Symbol 1557 GraphicUses:1556Used by:1558 2587
Symbol 1558 MovieClipUses:1557Used by:1565
Symbol 1559 BitmapUsed by:1560
Symbol 1560 GraphicUses:1559Used by:1561 2540
Symbol 1561 MovieClipUses:1560Used by:1565 2847
Symbol 1562 MovieClipUses:1551Used by:1565
Symbol 1563 MovieClipUses:1548Used by:1565 2847
Symbol 1564 MovieClipUses:1545Used by:1565
Symbol 1565 MovieClip {TedViral_fla.Level5_Chunk3_627}Uses:1543 1492 1491 1488 1520 1546 1549 1552 1555 1558 1561 1562 1563 1564Used by:2145
Symbol 1566 BitmapUsed by:1567
Symbol 1567 GraphicUses:1566Used by:1572
Symbol 1568 GraphicUsed by:1572
Symbol 1569 BitmapUsed by:1570
Symbol 1570 GraphicUses:1569Used by:1572
Symbol 1571 GraphicUsed by:1572
Symbol 1572 MovieClip {TedViral_fla.leverWall_569}Uses:1567 1568 1570 1571Used by:2145 2179 2535 2588
Symbol 1573 BitmapUsed by:1574
Symbol 1574 GraphicUses:1573Used by:1595
Symbol 1575 BitmapUsed by:1576
Symbol 1576 GraphicUses:1575Used by:1595
Symbol 1577 BitmapUsed by:1578
Symbol 1578 GraphicUses:1577Used by:1595
Symbol 1579 BitmapUsed by:1580
Symbol 1580 GraphicUses:1579Used by:1595
Symbol 1581 BitmapUsed by:1582
Symbol 1582 GraphicUses:1581Used by:1595
Symbol 1583 BitmapUsed by:1584
Symbol 1584 GraphicUses:1583Used by:1595
Symbol 1585 BitmapUsed by:1586
Symbol 1586 GraphicUses:1585Used by:1595
Symbol 1587 BitmapUsed by:1588
Symbol 1588 GraphicUses:1587Used by:1595
Symbol 1589 BitmapUsed by:1590
Symbol 1590 GraphicUses:1589Used by:1595
Symbol 1591 BitmapUsed by:1592
Symbol 1592 GraphicUses:1591Used by:1595
Symbol 1593 BitmapUsed by:1594
Symbol 1594 GraphicUses:1593Used by:1595
Symbol 1595 MovieClipUses:1574 1576 1578 1580 1582 1584 1586 1588 1590 1592 1594Used by:1619
Symbol 1596 BitmapUsed by:1597
Symbol 1597 GraphicUses:1596Used by:1618
Symbol 1598 BitmapUsed by:1599
Symbol 1599 GraphicUses:1598Used by:1618
Symbol 1600 BitmapUsed by:1601
Symbol 1601 GraphicUses:1600Used by:1618
Symbol 1602 BitmapUsed by:1603
Symbol 1603 GraphicUses:1602Used by:1618
Symbol 1604 BitmapUsed by:1605
Symbol 1605 GraphicUses:1604Used by:1618
Symbol 1606 BitmapUsed by:1607
Symbol 1607 GraphicUses:1606Used by:1618
Symbol 1608 BitmapUsed by:1609
Symbol 1609 GraphicUses:1608Used by:1618
Symbol 1610 BitmapUsed by:1611
Symbol 1611 GraphicUses:1610Used by:1618
Symbol 1612 BitmapUsed by:1613
Symbol 1613 GraphicUses:1612Used by:1618
Symbol 1614 BitmapUsed by:1615
Symbol 1615 GraphicUses:1614Used by:1618
Symbol 1616 BitmapUsed by:1617
Symbol 1617 GraphicUses:1616Used by:1618
Symbol 1618 MovieClipUses:1597 1599 1601 1603 1605 1607 1609 1611 1613 1615 1617Used by:1619
Symbol 1619 MovieClip {TedViral_fla.bunkerMan_632}Uses:1595 1618Used by:2145
Symbol 1620 BitmapUsed by:1621 1622
Symbol 1621 GraphicUses:1620Used by:1623
Symbol 1622 GraphicUses:1620Used by:1623
Symbol 1623 MovieClip {TedViral_fla.codeLock_635}Uses:1621 1622Used by:2145
Symbol 1624 BitmapUsed by:1625
Symbol 1625 GraphicUses:1624Used by:1628
Symbol 1626 BitmapUsed by:1627
Symbol 1627 GraphicUses:1626Used by:1628
Symbol 1628 MovieClipUses:179 1625 1627Used by:2145 2179 2535 2588 2772 2855 2929 2994
Symbol 1629 BitmapUsed by:1630 1653
Symbol 1630 GraphicUses:1629Used by:1631
Symbol 1631 MovieClipUses:1630Used by:1632
Symbol 1632 MovieClipUses:1631Used by:2145 2179 2588 2929
Symbol 1633 BitmapUsed by:1634
Symbol 1634 GraphicUses:1633Used by:1637
Symbol 1635 BitmapUsed by:1636
Symbol 1636 GraphicUses:1635Used by:1637
Symbol 1637 MovieClip {TedViral_fla.valveWall_594}Uses:1634 1636Used by:2145 2154 2179
Symbol 1638 BitmapUsed by:1639 3597
Symbol 1639 GraphicUses:1638Used by:1640
Symbol 1640 MovieClipUses:1639Used by:1641
Symbol 1641 MovieClip {main.propLever}Uses:1640 366Used by:2145 2179 2535 2588
Symbol 1642 BitmapUsed by:1643 3599
Symbol 1643 GraphicUses:1642Used by:1644
Symbol 1644 MovieClipUses:1643Used by:1645
Symbol 1645 MovieClip {main.propValve}Uses:1644 366Used by:2145 2179
Symbol 1646 BitmapUsed by:1647 3603
Symbol 1647 GraphicUses:1646Used by:1648
Symbol 1648 MovieClipUses:1647Used by:1649
Symbol 1649 MovieClip {main.propCloth}Uses:1648 366Used by:2145
Symbol 1650 BitmapUsed by:1651
Symbol 1651 GraphicUses:1650Used by:1652
Symbol 1652 MovieClipUses:1651Used by:1656
Symbol 1653 GraphicUses:1629Used by:1655
Symbol 1654 TextUses:311Used by:1655
Symbol 1655 MovieClipUses:1653 1654Used by:1656 2711 2853 2992 3214 3343
Symbol 1656 MovieClip {main.propMinigun}Uses:1652 366 1655Used by:2145 3353
Symbol 1657 BitmapUsed by:1658
Symbol 1658 GraphicUses:1657Used by:1668 3184
Symbol 1659 BitmapUsed by:1660 1661 1662 1663 1664
Symbol 1660 GraphicUses:1659Used by:1665 3188
Symbol 1661 GraphicUses:1659Used by:1665
Symbol 1662 GraphicUses:1659Used by:1665
Symbol 1663 GraphicUses:1659Used by:1665
Symbol 1664 GraphicUses:1659Used by:1665
Symbol 1665 MovieClip {TedViral_fla.alienSawAnim_368}Uses:1660 1661 1662 1663 1664Used by:1668
Symbol 1666 BitmapUsed by:1667
Symbol 1667 GraphicUses:1666Used by:1668 3186
Symbol 1668 MovieClip {main.AlienSaw}Uses:1658 1665 1667 366 368 547Used by:2145 2588 2772 2855 2929 2994
Symbol 1669 BitmapUsed by:1670
Symbol 1670 GraphicUses:1669Used by:1672 1674 3180
Symbol 1671 MovieClipUses:546Used by:1672
Symbol 1672 MovieClipUses:1670 1671Used by:1675
Symbol 1673 MovieClipUses:544Used by:1674 2984
Symbol 1674 MovieClipUses:1670 1673Used by:1675
Symbol 1675 MovieClip {TedViral_fla.AlienBombDetanatorAnim_361}Uses:82 1672 1674Used by:1678
Symbol 1676 BitmapUsed by:1677 3181
Symbol 1677 GraphicUses:1676Used by:1678
Symbol 1678 MovieClip {main.AlienBomb}Uses:1675 1677 368 547Used by:2145 2535 2855 2929 2994
Symbol 1679 BitmapUsed by:1680
Symbol 1680 GraphicUses:1679Used by:1699
Symbol 1681 BitmapUsed by:1682
Symbol 1682 GraphicUses:1681Used by:1699
Symbol 1683 BitmapUsed by:1684
Symbol 1684 GraphicUses:1683Used by:1699
Symbol 1685 BitmapUsed by:1686
Symbol 1686 GraphicUses:1685Used by:1699
Symbol 1687 BitmapUsed by:1688
Symbol 1688 GraphicUses:1687Used by:1699
Symbol 1689 BitmapUsed by:1690
Symbol 1690 GraphicUses:1689Used by:1699
Symbol 1691 BitmapUsed by:1692
Symbol 1692 GraphicUses:1691Used by:1699
Symbol 1693 BitmapUsed by:1694
Symbol 1694 GraphicUses:1693Used by:1699
Symbol 1695 BitmapUsed by:1696
Symbol 1696 GraphicUses:1695Used by:1699
Symbol 1697 BitmapUsed by:1698
Symbol 1698 GraphicUses:1697Used by:1699
Symbol 1699 MovieClipUses:1680 1682 1684 1686 1688 1690 1692 1694 1696 1698Used by:1977 2586
Symbol 1700 BitmapUsed by:1701
Symbol 1701 GraphicUses:1700Used by:1726
Symbol 1702 BitmapUsed by:1703
Symbol 1703 GraphicUses:1702Used by:1726
Symbol 1704 BitmapUsed by:1705
Symbol 1705 GraphicUses:1704Used by:1726
Symbol 1706 BitmapUsed by:1707
Symbol 1707 GraphicUses:1706Used by:1726
Symbol 1708 BitmapUsed by:1709
Symbol 1709 GraphicUses:1708Used by:1726
Symbol 1710 BitmapUsed by:1711
Symbol 1711 GraphicUses:1710Used by:1726
Symbol 1712 BitmapUsed by:1713
Symbol 1713 GraphicUses:1712Used by:1726
Symbol 1714 BitmapUsed by:1715
Symbol 1715 GraphicUses:1714Used by:1726
Symbol 1716 BitmapUsed by:1717
Symbol 1717 GraphicUses:1716Used by:1726
Symbol 1718 BitmapUsed by:1719
Symbol 1719 GraphicUses:1718Used by:1726
Symbol 1720 BitmapUsed by:1721
Symbol 1721 GraphicUses:1720Used by:1726
Symbol 1722 BitmapUsed by:1723
Symbol 1723 GraphicUses:1722Used by:1726
Symbol 1724 BitmapUsed by:1725
Symbol 1725 GraphicUses:1724Used by:1726
Symbol 1726 MovieClipUses:1701 1703 1705 1707 1709 1711 1713 1715 1717 1719 1721 1723 1725Used by:1977 2586
Symbol 1727 BitmapUsed by:1728
Symbol 1728 GraphicUses:1727Used by:1811
Symbol 1729 BitmapUsed by:1730
Symbol 1730 GraphicUses:1729Used by:1811
Symbol 1731 BitmapUsed by:1732
Symbol 1732 GraphicUses:1731Used by:1811
Symbol 1733 BitmapUsed by:1734
Symbol 1734 GraphicUses:1733Used by:1811
Symbol 1735 BitmapUsed by:1736
Symbol 1736 GraphicUses:1735Used by:1811
Symbol 1737 BitmapUsed by:1738
Symbol 1738 GraphicUses:1737Used by:1811
Symbol 1739 BitmapUsed by:1740
Symbol 1740 GraphicUses:1739Used by:1811
Symbol 1741 BitmapUsed by:1742
Symbol 1742 GraphicUses:1741Used by:1811
Symbol 1743 BitmapUsed by:1744
Symbol 1744 GraphicUses:1743Used by:1811
Symbol 1745 BitmapUsed by:1746
Symbol 1746 GraphicUses:1745Used by:1811
Symbol 1747 BitmapUsed by:1748
Symbol 1748 GraphicUses:1747Used by:1811
Symbol 1749 BitmapUsed by:1750
Symbol 1750 GraphicUses:1749Used by:1811
Symbol 1751 BitmapUsed by:1752
Symbol 1752 GraphicUses:1751Used by:1811
Symbol 1753 BitmapUsed by:1754
Symbol 1754 GraphicUses:1753Used by:1811
Symbol 1755 BitmapUsed by:1756
Symbol 1756 GraphicUses:1755Used by:1811
Symbol 1757 BitmapUsed by:1758
Symbol 1758 GraphicUses:1757Used by:1811
Symbol 1759 BitmapUsed by:1760
Symbol 1760 GraphicUses:1759Used by:1811
Symbol 1761 BitmapUsed by:1762
Symbol 1762 GraphicUses:1761Used by:1811
Symbol 1763 BitmapUsed by:1764
Symbol 1764 GraphicUses:1763Used by:1811
Symbol 1765 BitmapUsed by:1766
Symbol 1766 GraphicUses:1765Used by:1811
Symbol 1767 BitmapUsed by:1768
Symbol 1768 GraphicUses:1767Used by:1811
Symbol 1769 BitmapUsed by:1770
Symbol 1770 GraphicUses:1769Used by:1811
Symbol 1771 BitmapUsed by:1772
Symbol 1772 GraphicUses:1771Used by:1811
Symbol 1773 BitmapUsed by:1774
Symbol 1774 GraphicUses:1773Used by:1811
Symbol 1775 BitmapUsed by:1776
Symbol 1776 GraphicUses:1775Used by:1811
Symbol 1777 BitmapUsed by:1778
Symbol 1778 GraphicUses:1777Used by:1811
Symbol 1779 BitmapUsed by:1780
Symbol 1780 GraphicUses:1779Used by:1811
Symbol 1781 BitmapUsed by:1782
Symbol 1782 GraphicUses:1781Used by:1811
Symbol 1783 BitmapUsed by:1784
Symbol 1784 GraphicUses:1783Used by:1811
Symbol 1785 BitmapUsed by:1786
Symbol 1786 GraphicUses:1785Used by:1811
Symbol 1787 BitmapUsed by:1788
Symbol 1788 GraphicUses:1787Used by:1811
Symbol 1789 BitmapUsed by:1790
Symbol 1790 GraphicUses:1789Used by:1811
Symbol 1791 BitmapUsed by:1792
Symbol 1792 GraphicUses:1791Used by:1811
Symbol 1793 BitmapUsed by:1794
Symbol 1794 GraphicUses:1793Used by:1811
Symbol 1795 BitmapUsed by:1796
Symbol 1796 GraphicUses:1795Used by:1811
Symbol 1797 BitmapUsed by:1798
Symbol 1798 GraphicUses:1797Used by:1811
Symbol 1799 BitmapUsed by:1800
Symbol 1800 GraphicUses:1799Used by:1811
Symbol 1801 BitmapUsed by:1802
Symbol 1802 GraphicUses:1801Used by:1811
Symbol 1803 BitmapUsed by:1804
Symbol 1804 GraphicUses:1803Used by:1811
Symbol 1805 BitmapUsed by:1806
Symbol 1806 GraphicUses:1805Used by:1811
Symbol 1807 BitmapUsed by:1808
Symbol 1808 GraphicUses:1807Used by:1811
Symbol 1809 BitmapUsed by:1810
Symbol 1810 GraphicUses:1809Used by:1811
Symbol 1811 MovieClip {TedViral_fla.ZombTankDie_515}Uses:1728 1730 1732 1734 1736 1738 1740 1742 1744 1746 1748 1750 1752 1754 1756 1758 1760 1762 1764 1766 1768 1770 1772 1774 1776 1778 1780 1782 1784 1786 1788 1790 1792 1794 1796 1798 1800 1802 1804 1806 1808 1810Used by:1977 2586
Symbol 1812 BitmapUsed by:1813
Symbol 1813 GraphicUses:1812Used by:1870
Symbol 1814 BitmapUsed by:1815
Symbol 1815 GraphicUses:1814Used by:1870
Symbol 1816 BitmapUsed by:1817
Symbol 1817 GraphicUses:1816Used by:1870
Symbol 1818 BitmapUsed by:1819
Symbol 1819 GraphicUses:1818Used by:1870
Symbol 1820 BitmapUsed by:1821
Symbol 1821 GraphicUses:1820Used by:1870
Symbol 1822 BitmapUsed by:1823
Symbol 1823 GraphicUses:1822Used by:1870
Symbol 1824 BitmapUsed by:1825
Symbol 1825 GraphicUses:1824Used by:1870
Symbol 1826 BitmapUsed by:1827
Symbol 1827 GraphicUses:1826Used by:1870
Symbol 1828 BitmapUsed by:1829
Symbol 1829 GraphicUses:1828Used by:1870
Symbol 1830 BitmapUsed by:1831
Symbol 1831 GraphicUses:1830Used by:1870
Symbol 1832 BitmapUsed by:1833
Symbol 1833 GraphicUses:1832Used by:1870
Symbol 1834 BitmapUsed by:1835
Symbol 1835 GraphicUses:1834Used by:1870
Symbol 1836 BitmapUsed by:1837
Symbol 1837 GraphicUses:1836Used by:1870
Symbol 1838 BitmapUsed by:1839
Symbol 1839 GraphicUses:1838Used by:1870
Symbol 1840 BitmapUsed by:1841
Symbol 1841 GraphicUses:1840Used by:1870
Symbol 1842 BitmapUsed by:1843
Symbol 1843 GraphicUses:1842Used by:1870
Symbol 1844 BitmapUsed by:1845
Symbol 1845 GraphicUses:1844Used by:1870
Symbol 1846 BitmapUsed by:1847
Symbol 1847 GraphicUses:1846Used by:1870
Symbol 1848 BitmapUsed by:1849
Symbol 1849 GraphicUses:1848Used by:1870
Symbol 1850 BitmapUsed by:1851
Symbol 1851 GraphicUses:1850Used by:1870
Symbol 1852 BitmapUsed by:1853
Symbol 1853 GraphicUses:1852Used by:1870
Symbol 1854 BitmapUsed by:1855
Symbol 1855 GraphicUses:1854Used by:1870
Symbol 1856 BitmapUsed by:1857
Symbol 1857 GraphicUses:1856Used by:1870
Symbol 1858 BitmapUsed by:1859
Symbol 1859 GraphicUses:1858Used by:1870
Symbol 1860 BitmapUsed by:1861
Symbol 1861 GraphicUses:1860Used by:1870
Symbol 1862 BitmapUsed by:1863
Symbol 1863 GraphicUses:1862Used by:1870
Symbol 1864 BitmapUsed by:1865
Symbol 1865 GraphicUses:1864Used by:1870
Symbol 1866 BitmapUsed by:1867
Symbol 1867 GraphicUses:1866Used by:1870
Symbol 1868 BitmapUsed by:1869
Symbol 1869 GraphicUses:1868Used by:1870
Symbol 1870 MovieClipUses:1813 1815 1817 1819 1821 1823 1825 1827 1829 1831 1833 1835 1837 1839 1841 1843 1845 1847 1849 1851 1853 1855 1857 1859 1861 1863 1865 1867 1869Used by:1977
Symbol 1871 BitmapUsed by:1872
Symbol 1872 GraphicUses:1871Used by:1915
Symbol 1873 BitmapUsed by:1874
Symbol 1874 GraphicUses:1873Used by:1915
Symbol 1875 BitmapUsed by:1876
Symbol 1876 GraphicUses:1875Used by:1915
Symbol 1877 BitmapUsed by:1878
Symbol 1878 GraphicUses:1877Used by:1915
Symbol 1879 BitmapUsed by:1880
Symbol 1880 GraphicUses:1879Used by:1915
Symbol 1881 BitmapUsed by:1882
Symbol 1882 GraphicUses:1881Used by:1915
Symbol 1883 BitmapUsed by:1884
Symbol 1884 GraphicUses:1883Used by:1915
Symbol 1885 BitmapUsed by:1886
Symbol 1886 GraphicUses:1885Used by:1915
Symbol 1887 BitmapUsed by:1888
Symbol 1888 GraphicUses:1887Used by:1915
Symbol 1889 BitmapUsed by:1890
Symbol 1890 GraphicUses:1889Used by:1915
Symbol 1891 BitmapUsed by:1892
Symbol 1892 GraphicUses:1891Used by:1915
Symbol 1893 BitmapUsed by:1894
Symbol 1894 GraphicUses:1893Used by:1915
Symbol 1895 BitmapUsed by:1896
Symbol 1896 GraphicUses:1895Used by:1915
Symbol 1897 BitmapUsed by:1898
Symbol 1898 GraphicUses:1897Used by:1915
Symbol 1899 BitmapUsed by:1900
Symbol 1900 GraphicUses:1899Used by:1915
Symbol 1901 BitmapUsed by:1902
Symbol 1902 GraphicUses:1901Used by:1915
Symbol 1903 BitmapUsed by:1904
Symbol 1904 GraphicUses:1903Used by:1915
Symbol 1905 BitmapUsed by:1906
Symbol 1906 GraphicUses:1905Used by:1915
Symbol 1907 BitmapUsed by:1908
Symbol 1908 GraphicUses:1907Used by:1915
Symbol 1909 BitmapUsed by:1910
Symbol 1910 GraphicUses:1909Used by:1915
Symbol 1911 BitmapUsed by:1912
Symbol 1912 GraphicUses:1911Used by:1915
Symbol 1913 BitmapUsed by:1914
Symbol 1914 GraphicUses:1913Used by:1915
Symbol 1915 MovieClip {TedViral_fla.ZombTankAttack1_516}Uses:1872 1874 1876 1878 1880 1882 1884 1886 1888 1890 1892 1894 1896 1898 1900 1902 1904 1906 1908 1910 1912 1914Used by:1977 2586
Symbol 1916 BitmapUsed by:1917
Symbol 1917 GraphicUses:1916Used by:1976
Symbol 1918 BitmapUsed by:1919
Symbol 1919 GraphicUses:1918Used by:1976
Symbol 1920 BitmapUsed by:1921
Symbol 1921 GraphicUses:1920Used by:1976
Symbol 1922 BitmapUsed by:1923
Symbol 1923 GraphicUses:1922Used by:1976
Symbol 1924 BitmapUsed by:1925
Symbol 1925 GraphicUses:1924Used by:1976
Symbol 1926 BitmapUsed by:1927
Symbol 1927 GraphicUses:1926Used by:1976
Symbol 1928 BitmapUsed by:1929
Symbol 1929 GraphicUses:1928Used by:1976
Symbol 1930 BitmapUsed by:1931
Symbol 1931 GraphicUses:1930Used by:1976
Symbol 1932 BitmapUsed by:1933
Symbol 1933 GraphicUses:1932Used by:1976
Symbol 1934 BitmapUsed by:1935
Symbol 1935 GraphicUses:1934Used by:1976
Symbol 1936 BitmapUsed by:1937
Symbol 1937 GraphicUses:1936Used by:1976
Symbol 1938 BitmapUsed by:1939
Symbol 1939 GraphicUses:1938Used by:1976
Symbol 1940 BitmapUsed by:1941
Symbol 1941 GraphicUses:1940Used by:1976
Symbol 1942 BitmapUsed by:1943
Symbol 1943 GraphicUses:1942Used by:1976
Symbol 1944 BitmapUsed by:1945
Symbol 1945 GraphicUses:1944Used by:1976
Symbol 1946 BitmapUsed by:1947
Symbol 1947 GraphicUses:1946Used by:1976
Symbol 1948 BitmapUsed by:1949
Symbol 1949 GraphicUses:1948Used by:1976
Symbol 1950 BitmapUsed by:1951
Symbol 1951 GraphicUses:1950Used by:1976
Symbol 1952 BitmapUsed by:1953
Symbol 1953 GraphicUses:1952Used by:1976
Symbol 1954 BitmapUsed by:1955
Symbol 1955 GraphicUses:1954Used by:1976
Symbol 1956 BitmapUsed by:1957
Symbol 1957 GraphicUses:1956Used by:1976
Symbol 1958 BitmapUsed by:1959
Symbol 1959 GraphicUses:1958Used by:1976
Symbol 1960 BitmapUsed by:1961
Symbol 1961 GraphicUses:1960Used by:1976
Symbol 1962 BitmapUsed by:1963
Symbol 1963 GraphicUses:1962Used by:1976
Symbol 1964 BitmapUsed by:1965
Symbol 1965 GraphicUses:1964Used by:1976
Symbol 1966 BitmapUsed by:1967
Symbol 1967 GraphicUses:1966Used by:1976
Symbol 1968 BitmapUsed by:1969
Symbol 1969 GraphicUses:1968Used by:1976
Symbol 1970 BitmapUsed by:1971
Symbol 1971 GraphicUses:1970Used by:1976
Symbol 1972 BitmapUsed by:1973
Symbol 1973 GraphicUses:1972Used by:1976
Symbol 1974 BitmapUsed by:1975
Symbol 1975 GraphicUses:1974Used by:1976
Symbol 1976 MovieClip {TedViral_fla.ZombTankAttack2_517}Uses:1917 1919 1921 1923 1925 1927 1929 1931 1933 1935 1937 1939 1941 1943 1945 1947 1949 1951 1953 1955 1957 1959 1961 1963 1965 1967 1969 1971 1973 1975Used by:1977 2586
Symbol 1977 MovieClip {main.ZombTank}Uses:1699 366 325 368 547 1726 1811 1870 1915 1976Used by:2145 2179 2772
Symbol 1978 MovieClip {main.Zomb03Vomit}Uses:901 325 366 368 547 920 955 986 1025Used by:2145 2179 2535 2588 2772 2855 2929 2994
Symbol 1979 MovieClip {main.Zomb01Vomit}Uses:543 366 325 368 547 564 587 638 693Used by:2145 2179 2535 2588 2772 2855 2929
Symbol 1980 MovieClip {main.Zomb04Run}Uses:1043 366 368 547 1066 1101 1177Used by:2145 2179 2772 2855 2929 2994
Symbol 1981 BitmapUsed by:1982
Symbol 1982 GraphicUses:1981Used by:1983
Symbol 1983 MovieClipUses:1982Used by:1984
Symbol 1984 MovieClip {main.propAKAmmo}Uses:1983 366Used by:2145 2179 2535 2588 2772 2855 2929 2994 3353
Symbol 1985 BitmapUsed by:1986
Symbol 1986 GraphicUses:1985Used by:1987
Symbol 1987 MovieClipUses:1986Used by:1988
Symbol 1988 MovieClip {main.propMinigunAmmo}Uses:1987 366Used by:2145 2535 2588 2772 2855 3353
Symbol 1989 BitmapUsed by:1990
Symbol 1990 GraphicUses:1989Used by:2003
Symbol 1991 BitmapUsed by:1992
Symbol 1992 GraphicUses:1991Used by:2003
Symbol 1993 BitmapUsed by:1994
Symbol 1994 GraphicUses:1993Used by:2003
Symbol 1995 BitmapUsed by:1996
Symbol 1996 GraphicUses:1995Used by:2003
Symbol 1997 BitmapUsed by:1998
Symbol 1998 GraphicUses:1997Used by:2003
Symbol 1999 BitmapUsed by:2000
Symbol 2000 GraphicUses:1999Used by:2003
Symbol 2001 BitmapUsed by:2002
Symbol 2002 GraphicUses:2001Used by:2003
Symbol 2003 MovieClipUses:1990 1992 1994 1996 1998 2000 2002Used by:2103 2104
Symbol 2004 BitmapUsed by:2005
Symbol 2005 GraphicUses:2004Used by:2036
Symbol 2006 BitmapUsed by:2007
Symbol 2007 GraphicUses:2006Used by:2036
Symbol 2008 BitmapUsed by:2009
Symbol 2009 GraphicUses:2008Used by:2036
Symbol 2010 BitmapUsed by:2011
Symbol 2011 GraphicUses:2010Used by:2036
Symbol 2012 BitmapUsed by:2013
Symbol 2013 GraphicUses:2012Used by:2036
Symbol 2014 BitmapUsed by:2015
Symbol 2015 GraphicUses:2014Used by:2036
Symbol 2016 BitmapUsed by:2017
Symbol 2017 GraphicUses:2016Used by:2036
Symbol 2018 BitmapUsed by:2019
Symbol 2019 GraphicUses:2018Used by:2036
Symbol 2020 BitmapUsed by:2021
Symbol 2021 GraphicUses:2020Used by:2036
Symbol 2022 BitmapUsed by:2023
Symbol 2023 GraphicUses:2022Used by:2036
Symbol 2024 BitmapUsed by:2025
Symbol 2025 GraphicUses:2024Used by:2036
Symbol 2026 BitmapUsed by:2027
Symbol 2027 GraphicUses:2026Used by:2036
Symbol 2028 BitmapUsed by:2029
Symbol 2029 GraphicUses:2028Used by:2036
Symbol 2030 BitmapUsed by:2031
Symbol 2031 GraphicUses:2030Used by:2036
Symbol 2032 BitmapUsed by:2033
Symbol 2033 GraphicUses:2032Used by:2036
Symbol 2034 BitmapUsed by:2035
Symbol 2035 GraphicUses:2034Used by:2036
Symbol 2036 MovieClipUses:2005 2007 2009 2011 2013 2015 2017 2019 2021 2023 2025 2027 2029 2031 2033 2035Used by:2103 2104
Symbol 2037 BitmapUsed by:2038
Symbol 2038 GraphicUses:2037Used by:2067
Symbol 2039 BitmapUsed by:2040
Symbol 2040 GraphicUses:2039Used by:2067
Symbol 2041 BitmapUsed by:2042
Symbol 2042 GraphicUses:2041Used by:2067
Symbol 2043 BitmapUsed by:2044
Symbol 2044 GraphicUses:2043Used by:2067
Symbol 2045 BitmapUsed by:2046
Symbol 2046 GraphicUses:2045Used by:2067
Symbol 2047 BitmapUsed by:2048
Symbol 2048 GraphicUses:2047Used by:2067
Symbol 2049 BitmapUsed by:2050
Symbol 2050 GraphicUses:2049Used by:2067
Symbol 2051 BitmapUsed by:2052
Symbol 2052 GraphicUses:2051Used by:2067
Symbol 2053 BitmapUsed by:2054
Symbol 2054 GraphicUses:2053Used by:2067
Symbol 2055 BitmapUsed by:2056
Symbol 2056 GraphicUses:2055Used by:2067
Symbol 2057 BitmapUsed by:2058
Symbol 2058 GraphicUses:2057Used by:2067
Symbol 2059 BitmapUsed by:2060
Symbol 2060 GraphicUses:2059Used by:2067
Symbol 2061 BitmapUsed by:2062
Symbol 2062 GraphicUses:2061Used by:2067
Symbol 2063 BitmapUsed by:2064
Symbol 2064 GraphicUses:2063Used by:2067
Symbol 2065 BitmapUsed by:2066
Symbol 2066 GraphicUses:2065Used by:2067
Symbol 2067 MovieClip {TedViral_fla.spiderDie_577}Uses:2038 2040 2042 2044 2046 2048 2050 2052 2054 2056 2058 2060 2062 2064 2066Used by:2103 2104
Symbol 2068 BitmapUsed by:2069
Symbol 2069 GraphicUses:2068Used by:2102
Symbol 2070 BitmapUsed by:2071
Symbol 2071 GraphicUses:2070Used by:2102
Symbol 2072 BitmapUsed by:2073
Symbol 2073 GraphicUses:2072Used by:2102
Symbol 2074 BitmapUsed by:2075
Symbol 2075 GraphicUses:2074Used by:2102
Symbol 2076 BitmapUsed by:2077
Symbol 2077 GraphicUses:2076Used by:2102
Symbol 2078 BitmapUsed by:2079
Symbol 2079 GraphicUses:2078Used by:2102
Symbol 2080 BitmapUsed by:2081
Symbol 2081 GraphicUses:2080Used by:2102
Symbol 2082 BitmapUsed by:2083
Symbol 2083 GraphicUses:2082Used by:2102
Symbol 2084 BitmapUsed by:2085
Symbol 2085 GraphicUses:2084Used by:2102
Symbol 2086 BitmapUsed by:2087
Symbol 2087 GraphicUses:2086Used by:2102
Symbol 2088 BitmapUsed by:2089
Symbol 2089 GraphicUses:2088Used by:2102
Symbol 2090 BitmapUsed by:2091
Symbol 2091 GraphicUses:2090Used by:2102
Symbol 2092 BitmapUsed by:2093
Symbol 2093 GraphicUses:2092Used by:2102
Symbol 2094 BitmapUsed by:2095
Symbol 2095 GraphicUses:2094Used by:2102
Symbol 2096 BitmapUsed by:2097
Symbol 2097 GraphicUses:2096Used by:2102
Symbol 2098 BitmapUsed by:2099
Symbol 2099 GraphicUses:2098Used by:2102
Symbol 2100 BitmapUsed by:2101
Symbol 2101 GraphicUses:2100Used by:2102
Symbol 2102 MovieClip {TedViral_fla.spiderAttack_578}Uses:2069 2071 2073 2075 2077 2079 2081 2083 2085 2087 2089 2091 2093 2095 2097 2099 2101Used by:2103 2104
Symbol 2103 MovieClip {main.SpiderBig}Uses:2003 366 368 547 2036 2067 2102Used by:2145 2588
Symbol 2104 MovieClip {main.Spider}Uses:2003 366 368 547 2036 2067 2102Used by:2145 2179 2588
Symbol 2105 MovieClip {main.Zomb05Vomit}Uses:1207 366 325 368 547 1232 1275 1312 1383Used by:2145 2179 2772 2855 2929
Symbol 2106 MovieClip {main.Zomb04Vomit}Uses:1043 366 325 368 547 1066 1101 1130 1177Used by:2145 2179 2772 2855 2929
Symbol 2107 MovieClip {main.Zomb02Run}Uses:717 366 368 547 732 781 877Used by:2145 2772 2855 2929 2994
Symbol 2108 BitmapUsed by:2109
Symbol 2109 GraphicUses:2108Used by:2110
Symbol 2110 MovieClipUses:2109Used by:2111
Symbol 2111 MovieClip {main.propMoney2}Uses:2110 366Used by:2145 2179 2535 2588 2772 2855 2929 2994
Symbol 2112 MovieClip {main.Zomb02Vomit}Uses:717 366 325 368 547 732 781 844 877Used by:2145 2179 2588 2772 2855 2929
Symbol 2113 BitmapUsed by:2114
Symbol 2114 GraphicUses:2113Used by:2115
Symbol 2115 MovieClipUses:2114Used by:2145 2179 2535 2588 2929
Symbol 2116 BitmapUsed by:2117
Symbol 2117 GraphicUses:2116Used by:2118
Symbol 2118 MovieClipUses:2117Used by:2119 2156 2588
Symbol 2119 MovieClipUses:1510 1516 2118Used by:2145 2154 2772 2936
Symbol 2120 GraphicUsed by:2121
Symbol 2121 MovieClipUses:2120 1501Used by:2145 2588 2855
Symbol 2122 GraphicUsed by:2123 2927 2937 2981 2993 3016 3206
Symbol 2123 MovieClipUses:2122Used by:2145 2179
Symbol 2124 BitmapUsed by:2125
Symbol 2125 GraphicUses:2124Used by:2126 2129 2136
Symbol 2126 MovieClipUses:2125Used by:2133 2134 2135 2145 2150 2156 2170 2174 2179
Symbol 2127 GraphicUsed by:2128
Symbol 2128 MovieClipUses:2127Used by:2129
Symbol 2129 MovieClipUses:2128 2125Used by:2133 2134 2135 2137 2139 2170 2171 2172 2173 2174 2175
Symbol 2130 GraphicUsed by:2131
Symbol 2131 MovieClipUses:2130Used by:2132 2136
Symbol 2132 MovieClipUses:2131Used by:2133 2134 2135 2137 2170 2171 2173 2174
Symbol 2133 MovieClip {TedViral_fla.Level5_LChunk1_638}Uses:2129 2126 2132Used by:2145
Symbol 2134 MovieClip {TedViral_fla.Level5_LChunk2_639}Uses:2129 2126 2132Used by:2145
Symbol 2135 MovieClip {TedViral_fla.Level5_LChunk3_640}Uses:2129 2126 2132Used by:2145
Symbol 2136 MovieClipUses:2131 2125Used by:2138
Symbol 2137 MovieClipUses:2132 2129Used by:2138
Symbol 2138 MovieClipUses:2136 2137Used by:2139
Symbol 2139 MovieClip {TedViral_fla.Level5_LChunk4_641}Uses:2129 2138Used by:2145
Symbol 2140 BitmapUsed by:2141
Symbol 2141 GraphicUses:2140Used by:2142
Symbol 2142 MovieClipUses:2141Used by:2143 2144 2176 2177 2178
Symbol 2143 MovieClipUses:2142Used by:2145
Symbol 2144 MovieClipUses:2142Used by:2145
Symbol 2145 MovieClip {main.Level5}Uses:1518 1523 1527 1529 1542 1565 1491 1572 1619 1623 1628 1632 1637 1517 1510 1513 314 494 1641 1645 1649 1656 1668 1678 1977 1384 1978 1979 1980 878 1444 1984 1988 1456 2103 2104 2105 1179 1026 1178 2106 2107 694 2111 1440 2112 1385 325 1447 1450 1538 2115 1506 2119 1470 1496 2121 2123 2126 2133 2134 2135 2139 2143 2144 1458 1459 1461 1464
Symbol 2146 GraphicUses:1466Used by:2179
Symbol 2147 GraphicUses:1466Used by:2148
Symbol 2148 MovieClip {TedViral_fla.Level4_Chunk5_586}Uses:2147 1491 1492 1488 1470 1495 1510 1513 1516Used by:2179
Symbol 2149 GraphicUses:1466Used by:2150
Symbol 2150 MovieClip {TedViral_fla.Level4_Chunk4_590}Uses:2149 1492 1491 2126 1510 1513 1516Used by:2179
Symbol 2151 GraphicUses:1466Used by:2154
Symbol 2152 GraphicUses:1484 1466Used by:2153
Symbol 2153 MovieClipUses:2152 1488 1491Used by:2154 2165
Symbol 2154 MovieClip {TedViral_fla.Level4_Chunk1_592}Uses:2151 2153 1499 1491 1488 1492 1637 1520 2119Used by:2179
Symbol 2155 GraphicUses:1466Used by:2156
Symbol 2156 MovieClip {TedViral_fla.Level4_Chunk3_595}Uses:2155 1491 1492 2126 1495 1513 1516 2118Used by:2179
Symbol 2157 MovieClip {TedViral_fla.sewerHatch2_596}Uses:1503 1505 325Used by:2179
Symbol 2158 BitmapUsed by:2159
Symbol 2159 GraphicUses:2158Used by:2160
Symbol 2160 MovieClipUses:2159Used by:2179
Symbol 2161 GraphicUses:1466Used by:2165
Symbol 2162 BitmapUsed by:2163
Symbol 2163 GraphicUses:2162Used by:2164
Symbol 2164 MovieClipUses:2163Used by:2165 2994
Symbol 2165 MovieClip {TedViral_fla.Level4_Chunk2_598}Uses:2161 1492 2153 1488 1522 1470 1491 2164 1510 1513 1516Used by:2179
Symbol 2166 BitmapUsed by:2167 3601
Symbol 2167 GraphicUses:2166Used by:2168
Symbol 2168 MovieClipUses:2167Used by:2169
Symbol 2169 MovieClip {main.propGasmask}Uses:2168 366Used by:2179
Symbol 2170 MovieClip {TedViral_fla.Level4_ChunkL1_604}Uses:2129 2126 2132Used by:2179
Symbol 2171 MovieClip {TedViral_fla.Level4_ChunkL2_609}Uses:2129 2132Used by:2179
Symbol 2172 MovieClip {TedViral_fla.Level4_ChunkL3_610}Uses:2129Used by:2179
Symbol 2173 MovieClip {TedViral_fla.Level4_ChunkL4_611}Uses:2129 2132Used by:2179
Symbol 2174 MovieClip {TedViral_fla.Level4_ChunkL5_612}Uses:2126 2132 2129Used by:2179
Symbol 2175 MovieClip {TedViral_fla.Level4_ChunkL6_613}Uses:2129Used by:2179
Symbol 2176 MovieClip {TedViral_fla.Level4_ChunkG1_614}Uses:2142Used by:2179
Symbol 2177 MovieClip {TedViral_fla.Level4_ChunkG2_616}Uses:2142Used by:2179
Symbol 2178 MovieClip {TedViral_fla.Level4_ChunkG3_617}Uses:2142Used by:2179
Symbol 2179 MovieClip {main.Level4}Uses:2146 2148 2150 2154 2156 1491 1506 2157 1628 1572 1637 2160 1632 1495 2165 314 494 694 878 1026 1979 2112 1978 1977 2169 1641 1645 2104 1180 1980 2106 1385 2105 1456 2111 1984 1444 1440 1447 1450 325 2115 2123 2126 2170 2171 2172 2173 2174 2175 2176 2177 2178 1461 1458 1459 1464
Symbol 2180 BitmapUsed by:2181
Symbol 2181 GraphicUses:2180Used by:2182
Symbol 2182 MovieClip {main.PanoramaFactory1}Uses:2181Used by:2535 2588
Symbol 2183 MovieClipUses:157Used by:2200 2588
Symbol 2184 BitmapUsed by:2185
Symbol 2185 GraphicUses:2184Used by:2186
Symbol 2186 MovieClipUses:2185Used by:2200
Symbol 2187 BitmapUsed by:2188
Symbol 2188 GraphicUses:2187Used by:2189
Symbol 2189 MovieClipUses:2188Used by:2200
Symbol 2190 BitmapUsed by:2191
Symbol 2191 GraphicUses:2190Used by:2192
Symbol 2192 MovieClipUses:2191Used by:2200
Symbol 2193 BitmapUsed by:2194
Symbol 2194 GraphicUses:2193Used by:2195
Symbol 2195 MovieClipUses:2194Used by:2200
Symbol 2196 BitmapUsed by:2197
Symbol 2197 GraphicUses:2196Used by:2198
Symbol 2198 MovieClipUses:2197Used by:2200
Symbol 2199 MovieClipUses:239Used by:2200
Symbol 2200 MovieClipUses:2183 2186 2189 2192 2195 2198 2199Used by:2535 2588
Symbol 2201 BitmapUsed by:2202 3476 3583 3636
Symbol 2202 GraphicUses:1489 2201Used by:2203
Symbol 2203 MovieClipUses:2202Used by:2535 2588
Symbol 2204 BitmapUsed by:2205
Symbol 2205 GraphicUses:2204Used by:2206
Symbol 2206 MovieClipUses:2205Used by:2535 2588
Symbol 2207 BitmapUsed by:2208
Symbol 2208 GraphicUses:2207Used by:2211
Symbol 2209 BitmapUsed by:2210
Symbol 2210 GraphicUses:2209Used by:2211
Symbol 2211 MovieClip {TedViral_fla.AlienBigBossBody_247}Uses:2208 325 2210Used by:2231
Symbol 2212 BitmapUsed by:2213
Symbol 2213 GraphicUses:2212Used by:2226
Symbol 2214 BitmapUsed by:2215
Symbol 2215 GraphicUses:2214Used by:2226
Symbol 2216 BitmapUsed by:2217
Symbol 2217 GraphicUses:2216Used by:2226
Symbol 2218 BitmapUsed by:2219
Symbol 2219 GraphicUses:2218Used by:2226
Symbol 2220 BitmapUsed by:2221
Symbol 2221 GraphicUses:2220Used by:2226
Symbol 2222 BitmapUsed by:2223
Symbol 2223 GraphicUses:2222Used by:2226
Symbol 2224 BitmapUsed by:2225
Symbol 2225 GraphicUses:2224Used by:2226
Symbol 2226 MovieClipUses:2213 2215 2217 2219 2221 2223 2225Used by:2231 2585
Symbol 2227 BitmapUsed by:2228
Symbol 2228 GraphicUses:2227Used by:2229 2230
Symbol 2229 MovieClipUses:2228Used by:2230
Symbol 2230 MovieClipUses:2228 2229Used by:2231
Symbol 2231 MovieClip {main.AlienBigBoss}Uses:2211 2226 2230 366 368 547Used by:2535
Symbol 2232 BitmapUsed by:2233
Symbol 2233 GraphicUses:2232Used by:2234
Symbol 2234 MovieClipUses:2233Used by:2235
Symbol 2235 MovieClipUses:2234Used by:2246
Symbol 2236 BitmapUsed by:2238
Symbol 2237 BitmapUsed by:2238
Symbol 2238 GraphicUses:2236 2237Used by:2246
Symbol 2239 BitmapUsed by:2240 2241 2242 2243 2244
Symbol 2240 GraphicUses:2239Used by:2245
Symbol 2241 GraphicUses:2239Used by:2245
Symbol 2242 GraphicUses:2239Used by:2245
Symbol 2243 GraphicUses:2239Used by:2245
Symbol 2244 GraphicUses:2239Used by:2245
Symbol 2245 MovieClipUses:2240 2241 2242 2243 2244Used by:2246
Symbol 2246 MovieClip {TedViral_fla.alienSeederBody_471}Uses:2235 2238 2245Used by:2247
Symbol 2247 MovieClip {main.AlienSeeder}Uses:1406 2246 366 368 547Used by:2535 2772 2929
Symbol 2248 BitmapUsed by:2249
Symbol 2249 GraphicUses:2248Used by:2250
Symbol 2250 MovieClipUses:2249Used by:2251
Symbol 2251 MovieClip {main.propBlasterAmmo}Uses:2250 366Used by:2535 2588 2772 2855 3353
Symbol 2252 BitmapUsed by:2253 2256 2257
Symbol 2253 GraphicUses:2252Used by:2258
Symbol 2254 GraphicUsed by:2255
Symbol 2255 MovieClipUses:2254Used by:2258
Symbol 2256 GraphicUses:2252Used by:2258
Symbol 2257 GraphicUses:2252Used by:2258
Symbol 2258 MovieClip {TedViral_fla.AlienSolderArmBlaster_460}Uses:2253 325 321 2255 2256 2257Used by:2262
Symbol 2259 BitmapUsed by:2260
Symbol 2260 GraphicUses:2259Used by:2261
Symbol 2261 MovieClipUses:2260Used by:2262
Symbol 2262 MovieClip {TedViral_fla.AlienSolderArms_459}Uses:2258 325 2261Used by:2355
Symbol 2263 BitmapUsed by:2264
Symbol 2264 GraphicUses:2263Used by:2265
Symbol 2265 MovieClipUses:2264 325Used by:2355
Symbol 2266 BitmapUsed by:2267
Symbol 2267 GraphicUses:2266Used by:2268
Symbol 2268 MovieClipUses:2267Used by:2355
Symbol 2269 BitmapUsed by:2270
Symbol 2270 GraphicUses:2269Used by:2297 2354
Symbol 2271 BitmapUsed by:2272
Symbol 2272 GraphicUses:2271Used by:2297 2354
Symbol 2273 BitmapUsed by:2274
Symbol 2274 GraphicUses:2273Used by:2297 2354
Symbol 2275 BitmapUsed by:2276
Symbol 2276 GraphicUses:2275Used by:2297 2354
Symbol 2277 BitmapUsed by:2278
Symbol 2278 GraphicUses:2277Used by:2297 2354
Symbol 2279 BitmapUsed by:2280
Symbol 2280 GraphicUses:2279Used by:2297 2354
Symbol 2281 BitmapUsed by:2282
Symbol 2282 GraphicUses:2281Used by:2297 2354
Symbol 2283 BitmapUsed by:2284
Symbol 2284 GraphicUses:2283Used by:2297 2354
Symbol 2285 BitmapUsed by:2286
Symbol 2286 GraphicUses:2285Used by:2297 2354
Symbol 2287 BitmapUsed by:2288
Symbol 2288 GraphicUses:2287Used by:2297 2354
Symbol 2289 BitmapUsed by:2290
Symbol 2290 GraphicUses:2289Used by:2297 2354
Symbol 2291 BitmapUsed by:2292
Symbol 2292 GraphicUses:2291Used by:2297 2354
Symbol 2293 BitmapUsed by:2294
Symbol 2294 GraphicUses:2293Used by:2297 2354
Symbol 2295 BitmapUsed by:2296
Symbol 2296 GraphicUses:2295Used by:2297 2354
Symbol 2297 MovieClipUses:2270 325 2272 2274 2276 2278 2280 2282 2284 2286 2288 2290 2292 2294 2296Used by:2355
Symbol 2298 BitmapUsed by:2299
Symbol 2299 GraphicUses:2298Used by:2350
Symbol 2300 BitmapUsed by:2301
Symbol 2301 GraphicUses:2300Used by:2350
Symbol 2302 BitmapUsed by:2303
Symbol 2303 GraphicUses:2302Used by:2350
Symbol 2304 BitmapUsed by:2305
Symbol 2305 GraphicUses:2304Used by:2350
Symbol 2306 BitmapUsed by:2307
Symbol 2307 GraphicUses:2306Used by:2350
Symbol 2308 BitmapUsed by:2309
Symbol 2309 GraphicUses:2308Used by:2350
Symbol 2310 BitmapUsed by:2311
Symbol 2311 GraphicUses:2310Used by:2350
Symbol 2312 BitmapUsed by:2313
Symbol 2313 GraphicUses:2312Used by:2350
Symbol 2314 BitmapUsed by:2315
Symbol 2315 GraphicUses:2314Used by:2350
Symbol 2316 BitmapUsed by:2317
Symbol 2317 GraphicUses:2316Used by:2350
Symbol 2318 BitmapUsed by:2319
Symbol 2319 GraphicUses:2318Used by:2350
Symbol 2320 BitmapUsed by:2321
Symbol 2321 GraphicUses:2320Used by:2350
Symbol 2322 BitmapUsed by:2323
Symbol 2323 GraphicUses:2322Used by:2350
Symbol 2324 BitmapUsed by:2325
Symbol 2325 GraphicUses:2324Used by:2350
Symbol 2326 BitmapUsed by:2327
Symbol 2327 GraphicUses:2326Used by:2350
Symbol 2328 BitmapUsed by:2329
Symbol 2329 GraphicUses:2328Used by:2350
Symbol 2330 BitmapUsed by:2331
Symbol 2331 GraphicUses:2330Used by:2350
Symbol 2332 BitmapUsed by:2333
Symbol 2333 GraphicUses:2332Used by:2350
Symbol 2334 BitmapUsed by:2335
Symbol 2335 GraphicUses:2334Used by:2350
Symbol 2336 BitmapUsed by:2337
Symbol 2337 GraphicUses:2336Used by:2350
Symbol 2338 BitmapUsed by:2339
Symbol 2339 GraphicUses:2338Used by:2350
Symbol 2340 BitmapUsed by:2341
Symbol 2341 GraphicUses:2340Used by:2350
Symbol 2342 BitmapUsed by:2343
Symbol 2343 GraphicUses:2342Used by:2350
Symbol 2344 BitmapUsed by:2345
Symbol 2345 GraphicUses:2344Used by:2350
Symbol 2346 BitmapUsed by:2347
Symbol 2347 GraphicUses:2346Used by:2350
Symbol 2348 BitmapUsed by:2349
Symbol 2349 GraphicUses:2348Used by:2350
Symbol 2350 MovieClip {TedViral_fla.AlienSolderDie_466}Uses:2299 325 2301 2303 2305 2307 2309 2311 2313 2315 2317 2319 2321 2323 2325 2327 2329 2331 2333 2335 2337 2339 2341 2343 2345 2347 2349Used by:2355
Symbol 2351 BitmapUsed by:2352
Symbol 2352 GraphicUses:2351Used by:2353
Symbol 2353 MovieClipUses:325 2352Used by:2355
Symbol 2354 MovieClipUses:2296 325 2294 2292 2290 2288 2286 2284 2282 2280 2278 2276 2274 2272 2270Used by:2355
Symbol 2355 MovieClip {main.AlienSolder}Uses:2262 2265 2268 366 368 547 2297 2350 2353 2354Used by:2535 2588 2772 2855 2929
Symbol 2356 BitmapUsed by:2357
Symbol 2357 GraphicUses:2356Used by:2376
Symbol 2358 BitmapUsed by:2359
Symbol 2359 GraphicUses:2358Used by:2376
Symbol 2360 BitmapUsed by:2361
Symbol 2361 GraphicUses:2360Used by:2376
Symbol 2362 BitmapUsed by:2363
Symbol 2363 GraphicUses:2362Used by:2376
Symbol 2364 BitmapUsed by:2365
Symbol 2365 GraphicUses:2364Used by:2376
Symbol 2366 BitmapUsed by:2367
Symbol 2367 GraphicUses:2366Used by:2376
Symbol 2368 BitmapUsed by:2369
Symbol 2369 GraphicUses:2368Used by:2376
Symbol 2370 BitmapUsed by:2371
Symbol 2371 GraphicUses:2370Used by:2376
Symbol 2372 BitmapUsed by:2373
Symbol 2373 GraphicUses:2372Used by:2376
Symbol 2374 BitmapUsed by:2375
Symbol 2375 GraphicUses:2374Used by:2376
Symbol 2376 MovieClipUses:2357 2359 2361 2363 2365 2367 2369 2371 2373 2375Used by:2530
Symbol 2377 BitmapUsed by:2378
Symbol 2378 GraphicUses:2377Used by:2413
Symbol 2379 BitmapUsed by:2380
Symbol 2380 GraphicUses:2379Used by:2413
Symbol 2381 BitmapUsed by:2382
Symbol 2382 GraphicUses:2381Used by:2413
Symbol 2383 BitmapUsed by:2384
Symbol 2384 GraphicUses:2383Used by:2413
Symbol 2385 BitmapUsed by:2386
Symbol 2386 GraphicUses:2385Used by:2413
Symbol 2387 BitmapUsed by:2388
Symbol 2388 GraphicUses:2387Used by:2413
Symbol 2389 BitmapUsed by:2390
Symbol 2390 GraphicUses:2389Used by:2413
Symbol 2391 BitmapUsed by:2392
Symbol 2392 GraphicUses:2391Used by:2413
Symbol 2393 BitmapUsed by:2394
Symbol 2394 GraphicUses:2393Used by:2413
Symbol 2395 BitmapUsed by:2396
Symbol 2396 GraphicUses:2395Used by:2413
Symbol 2397 BitmapUsed by:2398
Symbol 2398 GraphicUses:2397Used by:2413
Symbol 2399 BitmapUsed by:2400
Symbol 2400 GraphicUses:2399Used by:2413
Symbol 2401 BitmapUsed by:2402
Symbol 2402 GraphicUses:2401Used by:2413
Symbol 2403 BitmapUsed by:2404
Symbol 2404 GraphicUses:2403Used by:2413
Symbol 2405 BitmapUsed by:2406
Symbol 2406 GraphicUses:2405Used by:2413
Symbol 2407 BitmapUsed by:2408
Symbol 2408 GraphicUses:2407Used by:2413
Symbol 2409 BitmapUsed by:2410
Symbol 2410 GraphicUses:2409Used by:2413
Symbol 2411 BitmapUsed by:2412
Symbol 2412 GraphicUses:2411Used by:2413
Symbol 2413 MovieClipUses:2378 2380 2382 2384 2386 2388 2390 2392 2394 2396 2398 2400 2402 2404 2406 2408 2410 2412Used by:2530
Symbol 2414 BitmapUsed by:2415
Symbol 2415 GraphicUses:2414Used by:2466
Symbol 2416 BitmapUsed by:2417
Symbol 2417 GraphicUses:2416Used by:2466
Symbol 2418 BitmapUsed by:2419
Symbol 2419 GraphicUses:2418Used by:2466
Symbol 2420 BitmapUsed by:2421
Symbol 2421 GraphicUses:2420Used by:2466
Symbol 2422 BitmapUsed by:2423
Symbol 2423 GraphicUses:2422Used by:2466
Symbol 2424 BitmapUsed by:2425
Symbol 2425 GraphicUses:2424Used by:2466
Symbol 2426 BitmapUsed by:2427
Symbol 2427 GraphicUses:2426Used by:2466
Symbol 2428 BitmapUsed by:2429
Symbol 2429 GraphicUses:2428Used by:2466
Symbol 2430 BitmapUsed by:2431
Symbol 2431 GraphicUses:2430Used by:2466
Symbol 2432 BitmapUsed by:2433
Symbol 2433 GraphicUses:2432Used by:2466
Symbol 2434 BitmapUsed by:2435
Symbol 2435 GraphicUses:2434Used by:2466
Symbol 2436 BitmapUsed by:2437
Symbol 2437 GraphicUses:2436Used by:2466
Symbol 2438 BitmapUsed by:2439
Symbol 2439 GraphicUses:2438Used by:2466
Symbol 2440 BitmapUsed by:2441
Symbol 2441 GraphicUses:2440Used by:2466
Symbol 2442 BitmapUsed by:2443
Symbol 2443 GraphicUses:2442Used by:2466
Symbol 2444 BitmapUsed by:2445
Symbol 2445 GraphicUses:2444Used by:2466
Symbol 2446 BitmapUsed by:2447
Symbol 2447 GraphicUses:2446Used by:2466
Symbol 2448 BitmapUsed by:2449
Symbol 2449 GraphicUses:2448Used by:2466
Symbol 2450 BitmapUsed by:2451
Symbol 2451 GraphicUses:2450Used by:2466
Symbol 2452 BitmapUsed by:2453
Symbol 2453 GraphicUses:2452Used by:2466
Symbol 2454 BitmapUsed by:2455
Symbol 2455 GraphicUses:2454Used by:2466
Symbol 2456 BitmapUsed by:2457
Symbol 2457 GraphicUses:2456Used by:2466
Symbol 2458 BitmapUsed by:2459
Symbol 2459 GraphicUses:2458Used by:2466
Symbol 2460 BitmapUsed by:2461
Symbol 2461 GraphicUses:2460Used by:2466
Symbol 2462 BitmapUsed by:2463
Symbol 2463 GraphicUses:2462Used by:2466
Symbol 2464 BitmapUsed by:2465
Symbol 2465 GraphicUses:2464Used by:2466
Symbol 2466 MovieClip {TedViral_fla.ZombPsyDie_544}Uses:2415 2417 2419 2421 2423 2425 2427 2429 2431 2433 2435 2437 2439 2441 2443 2445 2447 2449 2451 2453 2455 2457 2459 2461 2463 2465Used by:2530
Symbol 2467 BitmapUsed by:2468
Symbol 2468 GraphicUses:2467Used by:2529
Symbol 2469 BitmapUsed by:2470
Symbol 2470 GraphicUses:2469Used by:2529
Symbol 2471 BitmapUsed by:2472
Symbol 2472 GraphicUses:2471Used by:2529
Symbol 2473 BitmapUsed by:2474
Symbol 2474 GraphicUses:2473Used by:2529
Symbol 2475 BitmapUsed by:2476
Symbol 2476 GraphicUses:2475Used by:2529
Symbol 2477 BitmapUsed by:2478
Symbol 2478 GraphicUses:2477Used by:2529
Symbol 2479 BitmapUsed by:2480
Symbol 2480 GraphicUses:2479Used by:2529
Symbol 2481 BitmapUsed by:2482
Symbol 2482 GraphicUses:2481Used by:2529
Symbol 2483 BitmapUsed by:2484
Symbol 2484 GraphicUses:2483Used by:2529
Symbol 2485 BitmapUsed by:2486
Symbol 2486 GraphicUses:2485Used by:2529
Symbol 2487 BitmapUsed by:2488
Symbol 2488 GraphicUses:2487Used by:2529
Symbol 2489 BitmapUsed by:2490
Symbol 2490 GraphicUses:2489Used by:2529
Symbol 2491 BitmapUsed by:2492
Symbol 2492 GraphicUses:2491Used by:2529
Symbol 2493 BitmapUsed by:2494
Symbol 2494 GraphicUses:2493Used by:2529
Symbol 2495 BitmapUsed by:2496
Symbol 2496 GraphicUses:2495Used by:2529
Symbol 2497 BitmapUsed by:2498
Symbol 2498 GraphicUses:2497Used by:2529
Symbol 2499 BitmapUsed by:2500
Symbol 2500 GraphicUses:2499Used by:2529
Symbol 2501 BitmapUsed by:2502
Symbol 2502 GraphicUses:2501Used by:2529
Symbol 2503 BitmapUsed by:2504
Symbol 2504 GraphicUses:2503Used by:2529
Symbol 2505 BitmapUsed by:2506
Symbol 2506 GraphicUses:2505Used by:2529
Symbol 2507 BitmapUsed by:2508
Symbol 2508 GraphicUses:2507Used by:2529
Symbol 2509 BitmapUsed by:2510
Symbol 2510 GraphicUses:2509Used by:2529
Symbol 2511 BitmapUsed by:2512
Symbol 2512 GraphicUses:2511Used by:2529
Symbol 2513 BitmapUsed by:2514
Symbol 2514 GraphicUses:2513Used by:2529
Symbol 2515 BitmapUsed by:2516
Symbol 2516 GraphicUses:2515Used by:2529
Symbol 2517 BitmapUsed by:2518
Symbol 2518 GraphicUses:2517Used by:2529
Symbol 2519 BitmapUsed by:2520
Symbol 2520 GraphicUses:2519Used by:2529
Symbol 2521 BitmapUsed by:2522
Symbol 2522 GraphicUses:2521Used by:2529
Symbol 2523 BitmapUsed by:2524
Symbol 2524 GraphicUses:2523Used by:2529
Symbol 2525 BitmapUsed by:2526
Symbol 2526 GraphicUses:2525Used by:2529
Symbol 2527 BitmapUsed by:2528
Symbol 2528 GraphicUses:2527Used by:2529
Symbol 2529 MovieClip {TedViral_fla.ZombPsyAttack_545}Uses:2468 2470 2472 2474 2476 2478 2480 2482 2484 2486 2488 2490 2492 2494 2496 2498 2500 2502 2504 2506 2508 2510 2512 2514 2516 2518 2520 2522 2524 2526 2528Used by:2530
Symbol 2530 MovieClip {main.ZombPsy}Uses:2376 366 325 368 547 2413 2466 2529Used by:2535 2588 2772
Symbol 2531 BitmapUsed by:2532 3022 3207
Symbol 2532 GraphicUses:2531Used by:2533
Symbol 2533 MovieClipUses:2532Used by:2534
Symbol 2534 MovieClip {main.LuncherAmmo}Uses:2533 366Used by:2535 2588 2772
Symbol 2535 MovieClip {main.Level10}Uses:2182 2200 1496 2203 1520 2206 1628 1572 1506 1464 1495 1517 1477 1483 1641 2111 1456 494 2231 2247 1444 1988 2251 2355 1979 1978 2530 1678 2534 1984 314 1447 1450 1538 2115 1522 1459 1461
Symbol 2536 MovieClipUses:1414Used by:2588 2855 2900 2934
Symbol 2537 BitmapUsed by:2538
Symbol 2538 GraphicUses:2537Used by:2539
Symbol 2539 MovieClipUses:179 2538Used by:2588 2846 2936
Symbol 2540 MovieClipUses:179 1560Used by:2588 2772 2847 2894 2900
Symbol 2541 MovieClipUses:179 1554Used by:2588 2772 2847 2850 2894
Symbol 2542 BitmapUsed by:2543
Symbol 2543 GraphicUses:2542Used by:2581
Symbol 2544 BitmapUsed by:2545
Symbol 2545 GraphicUses:2544Used by:2578
Symbol 2546 BitmapUsed by:2547
Symbol 2547 GraphicUses:2546Used by:2578
Symbol 2548 BitmapUsed by:2549
Symbol 2549 GraphicUses:2548Used by:2578
Symbol 2550 BitmapUsed by:2551
Symbol 2551 GraphicUses:2550Used by:2578
Symbol 2552 BitmapUsed by:2553
Symbol 2553 GraphicUses:2552Used by:2578
Symbol 2554 BitmapUsed by:2555
Symbol 2555 GraphicUses:2554Used by:2578
Symbol 2556 BitmapUsed by:2557
Symbol 2557 GraphicUses:2556Used by:2578
Symbol 2558 BitmapUsed by:2559
Symbol 2559 GraphicUses:2558Used by:2578
Symbol 2560 BitmapUsed by:2561
Symbol 2561 GraphicUses:2560Used by:2578
Symbol 2562 BitmapUsed by:2563
Symbol 2563 GraphicUses:2562Used by:2578
Symbol 2564 BitmapUsed by:2565
Symbol 2565 GraphicUses:2564Used by:2578
Symbol 2566 BitmapUsed by:2567
Symbol 2567 GraphicUses:2566Used by:2578
Symbol 2568 BitmapUsed by:2569
Symbol 2569 GraphicUses:2568Used by:2578
Symbol 2570 BitmapUsed by:2571
Symbol 2571 GraphicUses:2570Used by:2578
Symbol 2572 BitmapUsed by:2573
Symbol 2573 GraphicUses:2572Used by:2578
Symbol 2574 BitmapUsed by:2575
Symbol 2575 GraphicUses:2574Used by:2578
Symbol 2576 BitmapUsed by:2577
Symbol 2577 GraphicUses:2576Used by:2578
Symbol 2578 MovieClipUses:2545 2547 2549 2551 2553 2555 2557 2559 2561 2563 2565 2567 2569 2571 2573 2575 2577Used by:2581
Symbol 2579 BitmapUsed by:2580
Symbol 2580 GraphicUses:2579Used by:2581
Symbol 2581 MovieClipUses:2543 2578 2580Used by:2582
Symbol 2582 MovieClip {main.AlienBomber}Uses:1406 2581 325 366 368 547Used by:2588
Symbol 2583 BitmapUsed by:2584
Symbol 2584 GraphicUses:2583Used by:2585
Symbol 2585 MovieClip {main.AlienElectro}Uses:1406 2584 366 368 2226 547Used by:2588 2772 2855
Symbol 2586 MovieClip {main.ZombTankRun}Uses:1699 366 368 547 1726 1811 1915 1976Used by:2588 2772 2855
Symbol 2587 MovieClipUses:179 1557Used by:2588 2772 2847 2850 2894
Symbol 2588 MovieClip {main.Level9}Uses:2182 136 148 141 153 244 1470 2200 2203 1496 2206 2183 162 1495 1513 1516 2118 1628 2536 2539 1502 1510 1520 1517 2540 2541 1572 1499 1549 1632 314 878 494 2582 1979 1431 1430 1978 2530 2112 1384 2355 2585 2586 1385 1180 1668 2104 2103 1641 1984 1444 1988 2251 2111 2534 1447 1450 1552 2587 2115 1538 2121 1506 1458 1459 1461 1464
Symbol 2589 BitmapUsed by:2590 2773 2775
Symbol 2590 GraphicUses:2589Used by:2591
Symbol 2591 MovieClip {main.PanoramaForest1}Uses:2590Used by:2772 2855
Symbol 2592 MovieClip {main.RedHouse02_paralax}Uses:231 233 235 237 239Used by:2772 2994
Symbol 2593 BitmapUsed by:2594
Symbol 2594 GraphicUses:159 2593Used by:2595
Symbol 2595 MovieClipUses:157 2594Used by:2772
Symbol 2596 BitmapUsed by:2597
Symbol 2597 GraphicUses:2596Used by:2598
Symbol 2598 MovieClipUses:2597Used by:2772 2813
Symbol 2599 BitmapUsed by:2600
Symbol 2600 GraphicUses:2599Used by:2601
Symbol 2601 MovieClipUses:2600Used by:2772 2825
Symbol 2602 MovieClipUses:184Used by:2772
Symbol 2603 BitmapUsed by:2604
Symbol 2604 GraphicUses:2603Used by:2605
Symbol 2605 MovieClipUses:2604Used by:2772 2813
Symbol 2606 BitmapUsed by:2607
Symbol 2607 GraphicUses:2606Used by:2608
Symbol 2608 MovieClipUses:2607Used by:2772 2813 2906
Symbol 2609 BitmapUsed by:2610
Symbol 2610 GraphicUses:2609Used by:2611
Symbol 2611 MovieClipUses:2610Used by:2772 2910
Symbol 2612 BitmapUsed by:2613
Symbol 2613 GraphicUses:2612Used by:2614
Symbol 2614 MovieClipUses:2613Used by:2772 2906
Symbol 2615 BitmapUsed by:2616
Symbol 2616 GraphicUses:2615Used by:2617
Symbol 2617 MovieClipUses:2616Used by:2772 2936
Symbol 2618 BitmapUsed by:2619
Symbol 2619 GraphicUses:2618Used by:2620
Symbol 2620 MovieClipUses:2619Used by:2772 2813 2936
Symbol 2621 BitmapUsed by:2622
Symbol 2622 GraphicUses:2621Used by:2623 2777
Symbol 2623 MovieClipUses:2622Used by:2772 2894 2933 2934
Symbol 2624 BitmapUsed by:2625
Symbol 2625 GraphicUses:2624Used by:2626
Symbol 2626 MovieClipUses:2625Used by:2772 2929
Symbol 2627 BitmapUsed by:2628
Symbol 2628 GraphicUses:2627Used by:2629
Symbol 2629 MovieClipUses:2628Used by:2772 2813
Symbol 2630 BitmapUsed by:2631
Symbol 2631 GraphicUses:2630Used by:2632 2905 2931
Symbol 2632 MovieClipUses:2631Used by:2772
Symbol 2633 BitmapUsed by:2634
Symbol 2634 GraphicUses:2633Used by:2635
Symbol 2635 MovieClipUses:2634Used by:2772
Symbol 2636 BitmapUsed by:2637
Symbol 2637 GraphicUses:2636Used by:2638
Symbol 2638 MovieClipUses:2637Used by:2772
Symbol 2639 BitmapUsed by:2640
Symbol 2640 GraphicUses:2639Used by:2641
Symbol 2641 MovieClipUses:2640Used by:2772
Symbol 2642 BitmapUsed by:2643
Symbol 2643 GraphicUses:2642Used by:2644
Symbol 2644 MovieClipUses:2643Used by:2772
Symbol 2645 BitmapUsed by:2646
Symbol 2646 GraphicUses:2645Used by:2647
Symbol 2647 MovieClipUses:2646Used by:2772 2906
Symbol 2648 BitmapUsed by:2649
Symbol 2649 GraphicUses:2648Used by:2650
Symbol 2650 MovieClipUses:2649Used by:2772
Symbol 2651 BitmapUsed by:2652
Symbol 2652 GraphicUses:2651Used by:2653
Symbol 2653 MovieClipUses:2652Used by:2772
Symbol 2654 BitmapUsed by:2655
Symbol 2655 GraphicUses:2654Used by:2658 2858
Symbol 2656 BitmapUsed by:2657
Symbol 2657 GraphicUses:2656Used by:2658 2858 2909
Symbol 2658 MovieClipUses:2655 2657 200Used by:2772 2825 2933
Symbol 2659 BitmapUsed by:2662 2809
Symbol 2660 BitmapUsed by:2662 2810
Symbol 2661 BitmapUsed by:2662 2808
Symbol 2662 GraphicUses:2659 2660 2661Used by:2663
Symbol 2663 MovieClipUses:179 2662Used by:2772 2850
Symbol 2664 BitmapUsed by:2665
Symbol 2665 GraphicUses:2664Used by:2686
Symbol 2666 BitmapUsed by:2667
Symbol 2667 GraphicUses:2666Used by:2686
Symbol 2668 BitmapUsed by:2669
Symbol 2669 GraphicUses:2668Used by:2686
Symbol 2670 BitmapUsed by:2671
Symbol 2671 GraphicUses:2670Used by:2686
Symbol 2672 BitmapUsed by:2673
Symbol 2673 GraphicUses:2672Used by:2686
Symbol 2674 BitmapUsed by:2675
Symbol 2675 GraphicUses:2674Used by:2686
Symbol 2676 BitmapUsed by:2677
Symbol 2677 GraphicUses:2676Used by:2686
Symbol 2678 BitmapUsed by:2679
Symbol 2679 GraphicUses:2678Used by:2686
Symbol 2680 BitmapUsed by:2681
Symbol 2681 GraphicUses:2680Used by:2686
Symbol 2682 BitmapUsed by:2683
Symbol 2683 GraphicUses:2682Used by:2686
Symbol 2684 BitmapUsed by:2685
Symbol 2685 GraphicUses:2684Used by:2686
Symbol 2686 MovieClipUses:2665 2667 2669 2671 2673 2675 2677 2679 2681 2683 2685Used by:2772 2855
Symbol 2687 BitmapUsed by:2688
Symbol 2688 GraphicUses:2687Used by:2689
Symbol 2689 MovieClipUses:179 2688Used by:2772 2846 2849 2910
Symbol 2690 BitmapUsed by:2691
Symbol 2691 GraphicUses:2690Used by:2692
Symbol 2692 MovieClipUses:179 2691Used by:2772 2846 2849 2914 2933 2934
Symbol 2693 BitmapUsed by:2694
Symbol 2694 GraphicUses:2693Used by:2695
Symbol 2695 MovieClipUses:179 2694Used by:2772 2846 2849 2910 2936
Symbol 2696 BitmapUsed by:2697
Symbol 2697 GraphicUses:2696Used by:2698
Symbol 2698 MovieClipUses:179 2697Used by:2772 2846 2849 2914
Symbol 2699 BitmapUsed by:2700
Symbol 2700 GraphicUses:2699Used by:2701
Symbol 2701 MovieClipUses:179 2700Used by:2772 2846 2849 2914 2933 2934
Symbol 2702 BitmapUsed by:2703
Symbol 2703 GraphicUses:2702Used by:2704
Symbol 2704 MovieClipUses:179 2703Used by:2772 2846 2850 2894 2900 2929 2933
Symbol 2705 BitmapUsed by:2706
Symbol 2706 GraphicUses:2705Used by:2707
Symbol 2707 MovieClipUses:2706Used by:2772 2894 2910 2935 2936 2994
Symbol 2708 BitmapUsed by:2709
Symbol 2709 GraphicUses:2708Used by:2710
Symbol 2710 MovieClipUses:2709Used by:2711
Symbol 2711 MovieClip {main.wepLuncherProp}Uses:2710 366 1655Used by:2772
Symbol 2712 BitmapUsed by:2713 2725 2732 2739 2743 2750 2754 2761 2765 2769
Symbol 2713 GraphicUses:2712Used by:2766 2770
Symbol 2714 BitmapUsed by:2715 2718 2733 2735 2744 2746 2755 2757 2765 2769
Symbol 2715 GraphicUses:2714Used by:2766 2770
Symbol 2716 BitmapUsed by:2717 2734 2745 2756 2765 2769
Symbol 2717 GraphicUses:2716Used by:2766 2770
Symbol 2718 GraphicUses:2714Used by:2766 2770
Symbol 2719 BitmapUsed by:2720 2736 2747 2758 2765 2769
Symbol 2720 GraphicUses:2719Used by:2766 2770
Symbol 2721 BitmapUsed by:2722 2737 2748 2759 2765 2769
Symbol 2722 GraphicUses:2721Used by:2766 2770
Symbol 2723 BitmapUsed by:2724 2738 2749 2760 2765 2769
Symbol 2724 GraphicUses:2723Used by:2766 2770
Symbol 2725 GraphicUses:2712Used by:2766 2770
Symbol 2726 BitmapUsed by:2727 2740 2751 2762 2765 2769
Symbol 2727 GraphicUses:2726Used by:2766 2770
Symbol 2728 BitmapUsed by:2729 2741 2752 2763 2765 2769
Symbol 2729 GraphicUses:2728Used by:2766 2770
Symbol 2730 BitmapUsed by:2731 2742 2753 2764 2765 2769
Symbol 2731 GraphicUses:2730Used by:2766 2770
Symbol 2732 GraphicUses:2712Used by:2766 2770
Symbol 2733 GraphicUses:2714Used by:2766 2770
Symbol 2734 GraphicUses:2716Used by:2766 2770
Symbol 2735 GraphicUses:2714Used by:2766 2770
Symbol 2736 GraphicUses:2719Used by:2766 2770
Symbol 2737 GraphicUses:2721Used by:2766 2770
Symbol 2738 GraphicUses:2723Used by:2766 2770
Symbol 2739 GraphicUses:2712Used by:2766 2770
Symbol 2740 GraphicUses:2726Used by:2766 2770
Symbol 2741 GraphicUses:2728Used by:2766 2770
Symbol 2742 GraphicUses:2730Used by:2766 2770
Symbol 2743 GraphicUses:2712Used by:2766 2770
Symbol 2744 GraphicUses:2714Used by:2766 2770
Symbol 2745 GraphicUses:2716Used by:2766 2770
Symbol 2746 GraphicUses:2714Used by:2766 2770
Symbol 2747 GraphicUses:2719Used by:2766 2770
Symbol 2748 GraphicUses:2721Used by:2766 2770
Symbol 2749 GraphicUses:2723Used by:2766 2770
Symbol 2750 GraphicUses:2712Used by:2766 2770
Symbol 2751 GraphicUses:2726Used by:2766 2770
Symbol 2752 GraphicUses:2728Used by:2766 2770
Symbol 2753 GraphicUses:2730Used by:2766 2770
Symbol 2754 GraphicUses:2712Used by:2766 2770
Symbol 2755 GraphicUses:2714Used by:2766 2770
Symbol 2756 GraphicUses:2716Used by:2766 2770
Symbol 2757 GraphicUses:2714Used by:2766 2770
Symbol 2758 GraphicUses:2719Used by:2766 2770
Symbol 2759 GraphicUses:2721Used by:2766 2770
Symbol 2760 GraphicUses:2723Used by:2766 2770
Symbol 2761 GraphicUses:2712Used by:2766 2770
Symbol 2762 GraphicUses:2726Used by:2766 2770
Symbol 2763 GraphicUses:2728Used by:2766 2770
Symbol 2764 GraphicUses:2730Used by:2766 2770
Symbol 2765 GraphicUses:2730 2728 2726 2712 2723 2721 2719 2714 2716Used by:2766
Symbol 2766 MovieClip {TedViral_fla.AlienPredatorLeg2_553}Uses:2713 2715 2717 2718 2720 2722 2724 2725 2727 2729 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765Used by:2771
Symbol 2767 BitmapUsed by:2768 2769
Symbol 2768 GraphicUses:2767Used by:2770
Symbol 2769 GraphicUses:2730 2728 2726 2712 2723 2721 2719 2714 2716 2767Used by:2770
Symbol 2770 MovieClip {TedViral_fla.AlienPredatorLeg_554}Uses:2768 2713 2715 2717 2718 2720 2722 2724 2725 2727 2729 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2769Used by:2771
Symbol 2771 MovieClip {main.AlienPredator}Uses:2766 2770 325 368 547Used by:2772
Symbol 2772 MovieClip {main.Level8}Uses:2591 2592 136 141 148 153 2595 223 2598 2601 2602 2605 2608 2611 226 2614 2617 2620 244 2623 2626 2629 2632 1452 2635 2638 2641 2644 2647 2650 2653 2658 257 2663 2686 277 2689 1477 1480 1483 2692 2695 2540 1552 2587 182 2698 2701 2119 207 2704 2541 1549 1546 2707 1628 314 2530 2111 2355 1179 2112 1180 1978 2711 1440 1444 1988 2251 2105 1979 2107 1385 2534 2586 878 1668 1178 1026 1980 694 1984 1977 2247 1431 2585 2106 1456 494 1517 2771 1447 1450 1458 1459 1461 1464
Symbol 2773 GraphicUses:2589Used by:2774
Symbol 2774 MovieClipUses:2773Used by:2776
Symbol 2775 GraphicUses:2589Used by:2776
Symbol 2776 MovieClipUses:2774 2775Used by:2812
Symbol 2777 MovieClipUses:2622Used by:2783
Symbol 2778 BitmapUsed by:2779
Symbol 2779 GraphicUses:2778Used by:2783
Symbol 2780 BitmapUsed by:2781
Symbol 2781 GraphicUses:2780Used by:2782
Symbol 2782 MovieClipUses:2781Used by:2783
Symbol 2783 MovieClipUses:2777 157 2779 2782Used by:2784 2846 2847 2849 2850
Symbol 2784 MovieClipUses:2783Used by:2812
Symbol 2785 BitmapUsed by:2786
Symbol 2786 GraphicUses:2785Used by:2807
Symbol 2787 BitmapUsed by:2788
Symbol 2788 GraphicUses:2787Used by:2807
Symbol 2789 BitmapUsed by:2790
Symbol 2790 GraphicUses:2789Used by:2807
Symbol 2791 BitmapUsed by:2792
Symbol 2792 GraphicUses:2791Used by:2807
Symbol 2793 BitmapUsed by:2794
Symbol 2794 GraphicUses:2793Used by:2807
Symbol 2795 BitmapUsed by:2796
Symbol 2796 GraphicUses:2795Used by:2807
Symbol 2797 BitmapUsed by:2798
Symbol 2798 GraphicUses:2797Used by:2807
Symbol 2799 BitmapUsed by:2800
Symbol 2800 GraphicUses:2799Used by:2807
Symbol 2801 BitmapUsed by:2802
Symbol 2802 GraphicUses:2801Used by:2807
Symbol 2803 BitmapUsed by:2804
Symbol 2804 GraphicUses:2803Used by:2807
Symbol 2805 BitmapUsed by:2806
Symbol 2806 GraphicUses:2805Used by:2807
Symbol 2807 MovieClipUses:2786 2788 2790 2792 2794 2796 2798 2800 2802 2804 2806Used by:2811
Symbol 2808 GraphicUses:2661Used by:2811
Symbol 2809 GraphicUses:2659Used by:2811
Symbol 2810 GraphicUses:2660Used by:2811
Symbol 2811 MovieClipUses:2807 179 2808 2809 2810Used by:2812
Symbol 2812 MovieClip {main.Level7}Uses:2776 2784 2811 314 494 1447 1450 325 1458 1459 1464
Symbol 2813 MovieClip {main.roadHouses}Uses:2598 2620 2608 2605 2629Used by:2855
Symbol 2814 BitmapUsed by:2815
Symbol 2815 GraphicUses:2814Used by:2824
Symbol 2816 BitmapUsed by:2817
Symbol 2817 GraphicUses:2816Used by:2824
Symbol 2818 BitmapUsed by:2819
Symbol 2819 GraphicUses:2818Used by:2824
Symbol 2820 BitmapUsed by:2821
Symbol 2821 GraphicUses:2820Used by:2824
Symbol 2822 BitmapUsed by:2823
Symbol 2823 GraphicUses:2822Used by:2824 2897
Symbol 2824 MovieClipUses:304 155 187 2815 2817 2819 2821 2823Used by:2825 2900 2914 2935
Symbol 2825 MovieClip {main.roadHouses2}Uses:2601 2824 2658 257Used by:2855
Symbol 2826 BitmapUsed by:2827
Symbol 2827 GraphicUses:2826Used by:2828
Symbol 2828 MovieClipUses:2827Used by:2838
Symbol 2829 BitmapUsed by:2830
Symbol 2830 GraphicUses:2829Used by:2831
Symbol 2831 MovieClipUses:2830Used by:2838 2935
Symbol 2832 BitmapUsed by:2833
Symbol 2833 GraphicUses:2832Used by:2834
Symbol 2834 MovieClipUses:2833Used by:2838
Symbol 2835 BitmapUsed by:2836
Symbol 2836 GraphicUses:2835Used by:2837
Symbol 2837 MovieClipUses:2836Used by:2838
Symbol 2838 MovieClip {main.roadHouses3}Uses:2828 2831 2834 2837Used by:2855
Symbol 2839 MovieClip {main.trees01_1}Uses:129 131 133 135Used by:2855 2929 2994
Symbol 2840 BitmapUsed by:2841
Symbol 2841 GraphicUses:2840Used by:2842
Symbol 2842 MovieClipUses:2841Used by:2846
Symbol 2843 BitmapUsed by:2844
Symbol 2844 GraphicUses:2843Used by:2845 2854
Symbol 2845 MovieClipUses:179 2844Used by:2846 2849 2935
Symbol 2846 MovieClip {TedViral_fla.Level6_Chunk4_493}Uses:2783 2842 2692 2701 182 2845 207 2539 2695 1552 1546 2698 2704 2689 1517Used by:2855
Symbol 2847 MovieClip {TedViral_fla.Level6_Chunk3_500}Uses:2783 2540 2587 2541 1552 1561 1563 1546Used by:2855
Symbol 2848 MovieClipUses:1522 1496Used by:2849 2855
Symbol 2849 MovieClip {TedViral_fla.Level6_Chunk2_503}Uses:2783 2692 2701 2698 1502 2845 207 182 2848 2695 2689Used by:2855
Symbol 2850 MovieClip {TedViral_fla.Level6_Chunk1_507}Uses:2783 229 207 1502 182 2704 2541 2587 2663Used by:2855
Symbol 2851 BitmapUsed by:2852 3605
Symbol 2852 GraphicUses:2851Used by:2853
Symbol 2853 MovieClip {TedViral_fla.fuelBarrel_510}Uses:2852 1655Used by:2855
Symbol 2854 MovieClipUses:82 2844Used by:2855
Symbol 2855 MovieClip {main.Level6}Uses:2591 2813 2825 2838 136 2839 141 148 153 2846 2847 2849 2850 2848 1628 2686 2853 314 1668 2585 694 2107 1178 878 1180 1980 1385 1978 2112 1179 2105 1384 2355 1678 2106 2586 1979 1431 2251 1988 1444 1456 2111 1440 1984 494 1447 1450 2121 2854 2536 1430 1458 1459 1464
Symbol 2856 MovieClip {main.brickWall3x_paralax}Uses:225Used by:2929 2994
Symbol 2857 MovieClip {main.redHouseWithCellApp_paralax}Uses:170 177 164 173 176Used by:2929
Symbol 2858 MovieClipUses:244 2655 2657 200Used by:2894 2900 2910
Symbol 2859 BitmapUsed by:2860
Symbol 2860 GraphicUses:2859Used by:2861
Symbol 2861 MovieClipUses:2860Used by:2894 2900
Symbol 2862 MovieClipUses:1540 1532 1534Used by:2894 2900
Symbol 2863 MovieClipUses:1540 1534 1532Used by:2894
Symbol 2864 BitmapUsed by:2865
Symbol 2865 GraphicUses:2864Used by:2866
Symbol 2866 MovieClipUses:2865Used by:2894
Symbol 2867 BitmapUsed by:2868
Symbol 2868 GraphicUses:2867Used by:2869
Symbol 2869 MovieClipUses:2868Used by:2894
Symbol 2870 GraphicUsed by:2871
Symbol 2871 MovieClipUses:2870Used by:2872 2899
Symbol 2872 MovieClip {TedViral_fla.EarthRow01BigTopMasked_420}Uses:158 2871Used by:2894 2900
Symbol 2873 MovieClipUses:266 268 272 270 274Used by:2894 2934
Symbol 2874 BitmapUsed by:2875
Symbol 2875 GraphicUses:2874Used by:2880 2884
Symbol 2876 BitmapUsed by:2877
Symbol 2877 GraphicUses:2876Used by:2880 2891
Symbol 2878 BitmapUsed by:2879
Symbol 2879 GraphicUses:2878Used by:2880 2898
Symbol 2880 MovieClipUses:2875 2877 2879Used by:2894
Symbol 2881 BitmapUsed by:2882
Symbol 2882 GraphicUses:2881Used by:2883 2932 2993
Symbol 2883 MovieClipUses:2882Used by:2894
Symbol 2884 MovieClipUses:2875Used by:2894 2900
Symbol 2885 BitmapUsed by:2886
Symbol 2886 GraphicUses:2885Used by:2887
Symbol 2887 MovieClipUses:2886Used by:2894
Symbol 2888 BitmapUsed by:2889
Symbol 2889 GraphicUses:2888Used by:2890
Symbol 2890 MovieClipUses:2889Used by:2894
Symbol 2891 MovieClipUses:2877Used by:2894 2900
Symbol 2892 MovieClipUses:213Used by:2893
Symbol 2893 MovieClipUses:198 203 195 170 2892Used by:2894 2906 2934
Symbol 2894 MovieClip {TedViral_fla.Level3_Chunk2_411}Uses:2858 2861 204 2862 2863 2866 2869 1535 2623 2872 308 2873 2880 2883 2884 2887 2890 226 277 2891 2704 2540 1552 2587 2541 1549 1546 2707 2893Used by:2929
Symbol 2895 BitmapUsed by:2896
Symbol 2896 GraphicUses:2895Used by:2897
Symbol 2897 MovieClipUses:215 2896 2823Used by:2900 2936
Symbol 2898 MovieClipUses:2879Used by:2900
Symbol 2899 MovieClip {TedViral_fla.EarthRow01BigRightMasked_442}Uses:158 2871Used by:2900 2914
Symbol 2900 MovieClip {TedViral_fla.Level3_Chunk1_435}Uses:2861 1495 2872 2824 2897 2858 257 204 2898 2891 2884 2862 2704 2540 1546 162 1522 1474 2899 2536Used by:2929
Symbol 2901 MovieClipUses:157 161Used by:2906 2910 2914 2933 2934 2936
Symbol 2902 BitmapUsed by:2903
Symbol 2903 GraphicUses:2902Used by:2904
Symbol 2904 MovieClipUses:2903Used by:2906 2933
Symbol 2905 MovieClipUses:2631Used by:2906 2933
Symbol 2906 MovieClip {TedViral_fla.Level3_Chunk5_443}Uses:2647 2901 2893 2608 2614 2904 2905Used by:2929
Symbol 2907 BitmapUsed by:2908
Symbol 2908 GraphicUses:2907Used by:2909
Symbol 2909 MovieClipUses:244 192 200 2908 2657Used by:2910 2936
Symbol 2910 MovieClip {TedViral_fla.Level3_Chunk4_449}Uses:2901 2611 2909 2858 226 1480 1483 2689 207 2707 1452 229 182 2695 1477Used by:2929
Symbol 2911 BitmapUsed by:2912
Symbol 2912 GraphicUses:2911Used by:2913
Symbol 2913 MovieClipUses:246 248 252 256 2912 254 250Used by:2914 2936
Symbol 2914 MovieClip {TedViral_fla.Level3_Chunk3_454}Uses:2899 2901 226 2824 2913 2698 162 218 1452 2692 2701Used by:2929
Symbol 2915 BitmapUsed by:2916 2919 2920 2921 2922 2923 2924 2925 2926
Symbol 2916 GraphicUses:2915Used by:2927
Symbol 2917 BitmapUsed by:2918
Symbol 2918 GraphicUses:2917Used by:2927
Symbol 2919 GraphicUses:2915Used by:2927
Symbol 2920 GraphicUses:2915Used by:2927
Symbol 2921 GraphicUses:2915Used by:2927
Symbol 2922 GraphicUses:2915Used by:2927
Symbol 2923 GraphicUses:2915Used by:2927
Symbol 2924 GraphicUses:2915Used by:2927
Symbol 2925 GraphicUses:2915Used by:2927
Symbol 2926 GraphicUses:2915Used by:2927
Symbol 2927 MovieClipUses:2122 2916 2918 2919 2920 2921 2922 2923 2924 2925 2926Used by:2929 2994
Symbol 2928 MovieClipUses:179 1551Used by:2929
Symbol 2929 MovieClip {main.Level3}Uses:127 2856 2857 2839 136 148 153 2894 2900 2906 1628 1632 2910 2914 2626 2927 314 1668 1456 2111 2355 1678 1978 1026 1384 1178 1180 878 694 1385 1980 2107 1459 1430 2247 2105 1179 2106 1979 2112 494 1440 1444 1984 1436 1447 1450 1452 2704 2928 2115 1458 1461 1464
Symbol 2930 MovieClipUses:133Used by:2933
Symbol 2931 MovieClipUses:2631Used by:2933
Symbol 2932 MovieClipUses:179 2882Used by:2933
Symbol 2933 MovieClip {TedViral_fla.Level2_Chunk3_262}Uses:2901 2658 2904 2930 185 308 2623 2701 2692 2704 182 2905 2931 2932Used by:2994
Symbol 2934 MovieClip {TedViral_fla.Level2_Chunk1_278}Uses:222 2901 185 2873 2692 207 2536 263 2623 308 2893 2701 182Used by:2994
Symbol 2935 MovieClip {TedViral_fla.Level2_Chunk4_289}Uses:243 2831 226 2824 2845 1477 2707Used by:2994
Symbol 2936 MovieClip {TedViral_fla.Level2_Chunk2_297}Uses:2620 2901 2617 188 2707 1480 1483 2897 2913 2909 2695 207 2539 277 156 2119Used by:2994
Symbol 2937 MovieClipUses:2122Used by:2981
Symbol 2938 BitmapUsed by:2939
Symbol 2939 GraphicUses:2938Used by:2980
Symbol 2940 BitmapUsed by:2941
Symbol 2941 GraphicUses:2940Used by:2980
Symbol 2942 BitmapUsed by:2943
Symbol 2943 GraphicUses:2942Used by:2980
Symbol 2944 BitmapUsed by:2945
Symbol 2945 GraphicUses:2944Used by:2980
Symbol 2946 BitmapUsed by:2947
Symbol 2947 GraphicUses:2946Used by:2980
Symbol 2948 BitmapUsed by:2949
Symbol 2949 GraphicUses:2948Used by:2980
Symbol 2950 BitmapUsed by:2951
Symbol 2951 GraphicUses:2950Used by:2980
Symbol 2952 BitmapUsed by:2953
Symbol 2953 GraphicUses:2952Used by:2980
Symbol 2954 BitmapUsed by:2955
Symbol 2955 GraphicUses:2954Used by:2980
Symbol 2956 BitmapUsed by:2957
Symbol 2957 GraphicUses:2956Used by:2980
Symbol 2958 BitmapUsed by:2959
Symbol 2959 GraphicUses:2958Used by:2980
Symbol 2960 BitmapUsed by:2961
Symbol 2961 GraphicUses:2960Used by:2980
Symbol 2962 BitmapUsed by:2963
Symbol 2963 GraphicUses:2962Used by:2980
Symbol 2964 BitmapUsed by:2965
Symbol 2965 GraphicUses:2964Used by:2980
Symbol 2966 BitmapUsed by:2967
Symbol 2967 GraphicUses:2966Used by:2980
Symbol 2968 BitmapUsed by:2969
Symbol 2969 GraphicUses:2968Used by:2980
Symbol 2970 BitmapUsed by:2971
Symbol 2971 GraphicUses:2970Used by:2980
Symbol 2972 BitmapUsed by:2973
Symbol 2973 GraphicUses:2972Used by:2980
Symbol 2974 BitmapUsed by:2975
Symbol 2975 GraphicUses:2974Used by:2980
Symbol 2976 BitmapUsed by:2977
Symbol 2977 GraphicUses:2976Used by:2980
Symbol 2978 BitmapUsed by:2979
Symbol 2979 GraphicUses:2978Used by:2980
Symbol 2980 MovieClipUses:2939 2941 2943 2945 2947 2949 2951 2953 2955 2957 2959 2961 2963 2965 2967 2969 2971 2973 2975 2977 2979Used by:2981
Symbol 2981 MovieClip {TedViral_fla.oldMan_318}Uses:2937 2122 2980Used by:2994
Symbol 2982 BitmapUsed by:2983
Symbol 2983 GraphicUses:2982Used by:2984 3338 3606
Symbol 2984 MovieClip {TedViral_fla.dynamiteAnim_322}Uses:2983 1673Used by:2994
Symbol 2985 BitmapUsed by:2986
Symbol 2986 GraphicUses:2985Used by:2987 3606
Symbol 2987 MovieClipUses:2986Used by:2988
Symbol 2988 MovieClip {main.propFood}Uses:2987 366Used by:2994 3353
Symbol 2989 BitmapUsed by:2990
Symbol 2990 GraphicUses:2989Used by:2991
Symbol 2991 MovieClipUses:2990Used by:2992
Symbol 2992 MovieClip {main.propAK}Uses:2991 366 1655Used by:2994 3353
Symbol 2993 MovieClipUses:2122 2882Used by:2994
Symbol 2994 MovieClip {main.Level2}Uses:127 2856 2592 136 148 153 141 2839 2933 2934 2935 2936 1628 2927 2981 2707 2164 2984 314 878 1026 1178 1456 1436 1978 1384 1980 694 1678 1180 1385 1668 2107 1179 1430 2988 2992 2111 494 1440 1444 1984 1447 1450 2993 1458 1461 1459 1464 325
Symbol 2995 GraphicUsed by:2996
Symbol 2996 MovieClipUses:2995Used by:3008
Symbol 2997 GraphicUsed by:2998
Symbol 2998 MovieClipUses:2997Used by:3008
Symbol 2999 TextUses:17Used by:3008
Symbol 3000 TextUses:17Used by:3003
Symbol 3001 TextUses:17Used by:3003
Symbol 3002 TextUses:17Used by:3003
Symbol 3003 ButtonUses:3000 3001 3002 20Used by:3008
Symbol 3004 TextUses:17Used by:3007
Symbol 3005 TextUses:17Used by:3007
Symbol 3006 TextUses:17Used by:3007
Symbol 3007 ButtonUses:3004 3005 3006 20Used by:3008
Symbol 3008 MovieClip {lostMenu}Uses:2996 2998 2999 3003 3007Used by:3527
Symbol 3009 TextUses:17Used by:3013
Symbol 3010 BitmapUsed by:3011
Symbol 3011 GraphicUses:3010Used by:3012
Symbol 3012 MovieClipUses:3011Used by:3013 3520
Symbol 3013 MovieClip {menuLogoAneg}Uses:4 3009 3012Used by:3527
Symbol 3014 TextUses:17Used by:3015
Symbol 3015 MovieClip {menuLogoOG}Uses:4 7 3014Used by:3527
Symbol 3016 MovieClipUses:2122Used by:Timeline
Symbol 3017 TextUses:17Used by:3019 3355 3357 3359 3361 3363 3365 3367 3369
Symbol 3018 GraphicUsed by:3019
Symbol 3019 MovieClipUses:3017 3018Used by:Timeline
Symbol 3020 GraphicUsed by:3353
Symbol 3021 TextUses:311Used by:3353
Symbol 3022 GraphicUses:2531Used by:3023
Symbol 3023 MovieClip {main.projBullet}Uses:3022Used by:3353
Symbol 3024 BitmapUsed by:3025
Symbol 3025 GraphicUses:3024Used by:3026
Symbol 3026 MovieClipUses:3025Used by:3027 3337
Symbol 3027 MovieClip {main.fxBloodSpatters}Uses:3026Used by:3353
Symbol 3028 GraphicUses:279Used by:3032
Symbol 3029 GraphicUses:279Used by:3032
Symbol 3030 GraphicUses:279Used by:3032
Symbol 3031 GraphicUses:279Used by:3032
Symbol 3032 MovieClip {main.bloodOnGround}Uses:283 3028 3029 3030 3031Used by:3353
Symbol 3033 BitmapUsed by:3034
Symbol 3034 GraphicUses:3033Used by:3039
Symbol 3035 ShapeTweeningUsed by:3039
Symbol 3036 ShapeTweeningUsed by:3039
Symbol 3037 ShapeTweeningUsed by:3039
Symbol 3038 GraphicUsed by:3039
Symbol 3039 MovieClip {main.bloodLeak}Uses:3034 3035 3036 3037 3038Used by:3353
Symbol 3040 BitmapUsed by:3041
Symbol 3041 GraphicUses:3040Used by:3042
Symbol 3042 MovieClip {main.blasterProj}Uses:3041Used by:3353
Symbol 3043 BitmapUsed by:3044
Symbol 3044 GraphicUses:3043Used by:3055
Symbol 3045 BitmapUsed by:3046
Symbol 3046 GraphicUses:3045Used by:3055
Symbol 3047 BitmapUsed by:3048
Symbol 3048 GraphicUses:3047Used by:3055
Symbol 3049 BitmapUsed by:3050
Symbol 3050 GraphicUses:3049Used by:3055
Symbol 3051 BitmapUsed by:3052
Symbol 3052 GraphicUses:3051Used by:3055
Symbol 3053 BitmapUsed by:3054
Symbol 3054 GraphicUses:3053Used by:3055
Symbol 3055 MovieClip {TedViral_fla.metalSparksFX_23}Uses:3044 3046 3048 3050 3052 3054Used by:3068
Symbol 3056 ShapeTweeningUsed by:3058
Symbol 3057 GraphicUsed by:3058
Symbol 3058 MovieClip {TedViral_fla.single_spark_24}Uses:3056 3057Used by:3068
Symbol 3059 ShapeTweeningUsed by:3061
Symbol 3060 GraphicUsed by:3061
Symbol 3061 MovieClip {TedViral_fla.single_spark2_25}Uses:3059 3060Used by:3068
Symbol 3062 ShapeTweeningUsed by:3064
Symbol 3063 GraphicUsed by:3064
Symbol 3064 MovieClip {TedViral_fla.single_spark3_26}Uses:3062 3063Used by:3068
Symbol 3065 ShapeTweeningUsed by:3067
Symbol 3066 GraphicUsed by:3067
Symbol 3067 MovieClip {TedViral_fla.single_spark4_27}Uses:3065 3066Used by:3068
Symbol 3068 MovieClip {main.fxMetalSparks}Uses:3055 3058 3061 3064 3067Used by:3353
Symbol 3069 BitmapUsed by:3070
Symbol 3070 GraphicUses:3069Used by:3103
Symbol 3071 BitmapUsed by:3072
Symbol 3072 GraphicUses:3071Used by:3103
Symbol 3073 BitmapUsed by:3074
Symbol 3074 GraphicUses:3073Used by:3103
Symbol 3075 BitmapUsed by:3076
Symbol 3076 GraphicUses:3075Used by:3103
Symbol 3077 BitmapUsed by:3078
Symbol 3078 GraphicUses:3077Used by:3103
Symbol 3079 BitmapUsed by:3080
Symbol 3080 GraphicUses:3079Used by:3103
Symbol 3081 BitmapUsed by:3082
Symbol 3082 GraphicUses:3081Used by:3103
Symbol 3083 BitmapUsed by:3084
Symbol 3084 GraphicUses:3083Used by:3103
Symbol 3085 BitmapUsed by:3086
Symbol 3086 GraphicUses:3085Used by:3103
Symbol 3087 BitmapUsed by:3088
Symbol 3088 GraphicUses:3087Used by:3103
Symbol 3089 BitmapUsed by:3090
Symbol 3090 GraphicUses:3089Used by:3103
Symbol 3091 BitmapUsed by:3092
Symbol 3092 GraphicUses:3091Used by:3103
Symbol 3093 BitmapUsed by:3094
Symbol 3094 GraphicUses:3093Used by:3103
Symbol 3095 BitmapUsed by:3096
Symbol 3096 GraphicUses:3095Used by:3103
Symbol 3097 BitmapUsed by:3098
Symbol 3098 GraphicUses:3097Used by:3103
Symbol 3099 BitmapUsed by:3100
Symbol 3100 GraphicUses:3099Used by:3103
Symbol 3101 BitmapUsed by:3102
Symbol 3102 GraphicUses:3101Used by:3103
Symbol 3103 MovieClip {TedViral_fla.BlastFX_29}Uses:3070 3072 3074 3076 3078 3080 3082 3084 3086 3088 3090 3092 3094 3096 3098 3100 3102Used by:3104
Symbol 3104 MovieClip {main.fxBlast}Uses:3103Used by:3353
Symbol 3105 BitmapUsed by:3106 3193
Symbol 3106 GraphicUses:3105Used by:3107
Symbol 3107 MovieClipUses:3106Used by:3108 3109 3110
Symbol 3108 MovieClip {TedViral_fla.LittleSmokeFX1_31}Uses:3107Used by:3111
Symbol 3109 MovieClip {TedViral_fla.LittleSmokeFX2_33}Uses:3107Used by:3111
Symbol 3110 MovieClip {TedViral_fla.LittleSmokeFX3_34}Uses:3107Used by:3111
Symbol 3111 MovieClip {main.fxLittleSmoke}Uses:3108 3109 3110Used by:3353
Symbol 3112 GraphicUsed by:3113
Symbol 3113 MovieClipUses:3112Used by:3114
Symbol 3114 MovieClip {main.fxBlastWave}Uses:3113Used by:3353
Symbol 3115 FontUsed by:3116
Symbol 3116 TextUses:3115Used by:3117
Symbol 3117 MovieClipUses:3116Used by:3118
Symbol 3118 MovieClip {main.fxHeadshot}Uses:3117Used by:3353
Symbol 3119 BitmapUsed by:3120
Symbol 3120 GraphicUses:3119Used by:3121
Symbol 3121 MovieClipUses:3120Used by:3200
Symbol 3122 BitmapUsed by:3123
Symbol 3123 GraphicUses:3122Used by:3124
Symbol 3124 MovieClipUses:3123Used by:3200
Symbol 3125 BitmapUsed by:3126
Symbol 3126 GraphicUses:3125Used by:3127
Symbol 3127 MovieClipUses:3126Used by:3200
Symbol 3128 BitmapUsed by:3129
Symbol 3129 GraphicUses:3128Used by:3130
Symbol 3130 MovieClipUses:3129Used by:3200
Symbol 3131 BitmapUsed by:3132
Symbol 3132 GraphicUses:3131Used by:3133
Symbol 3133 MovieClipUses:3132Used by:3200
Symbol 3134 BitmapUsed by:3135
Symbol 3135 GraphicUses:3134Used by:3136
Symbol 3136 MovieClipUses:3135Used by:3200
Symbol 3137 BitmapUsed by:3138
Symbol 3138 GraphicUses:3137Used by:3139
Symbol 3139 MovieClipUses:3138Used by:3200
Symbol 3140 BitmapUsed by:3141
Symbol 3141 GraphicUses:3140Used by:3142
Symbol 3142 MovieClipUses:3141Used by:3200
Symbol 3143 BitmapUsed by:3144
Symbol 3144 GraphicUses:3143Used by:3145
Symbol 3145 MovieClipUses:3144Used by:3200
Symbol 3146 BitmapUsed by:3147
Symbol 3147 GraphicUses:3146Used by:3148
Symbol 3148 MovieClipUses:3147Used by:3200
Symbol 3149 BitmapUsed by:3150
Symbol 3150 GraphicUses:3149Used by:3151
Symbol 3151 MovieClipUses:3150Used by:3200
Symbol 3152 BitmapUsed by:3153
Symbol 3153 GraphicUses:3152Used by:3154
Symbol 3154 MovieClipUses:3153Used by:3200
Symbol 3155 BitmapUsed by:3156
Symbol 3156 GraphicUses:3155Used by:3157
Symbol 3157 MovieClipUses:3156Used by:3200
Symbol 3158 BitmapUsed by:3159
Symbol 3159 GraphicUses:3158Used by:3160
Symbol 3160 MovieClipUses:3159Used by:3200
Symbol 3161 BitmapUsed by:3162
Symbol 3162 GraphicUses:3161Used by:3163
Symbol 3163 MovieClipUses:3162Used by:3200
Symbol 3164 BitmapUsed by:3165
Symbol 3165 GraphicUses:3164Used by:3166
Symbol 3166 MovieClipUses:3165Used by:3200
Symbol 3167 BitmapUsed by:3168
Symbol 3168 GraphicUses:3167Used by:3169
Symbol 3169 MovieClipUses:3168Used by:3200
Symbol 3170 BitmapUsed by:3171
Symbol 3171 GraphicUses:3170Used by:3172
Symbol 3172 MovieClipUses:3171Used by:3200
Symbol 3173 BitmapUsed by:3174
Symbol 3174 GraphicUses:3173Used by:3175
Symbol 3175 MovieClipUses:3174Used by:3200
Symbol 3176 BitmapUsed by:3177
Symbol 3177 GraphicUses:3176Used by:3178
Symbol 3178 MovieClipUses:3177Used by:3200
Symbol 3179 GraphicUsed by:3180
Symbol 3180 MovieClipUses:3179 1670Used by:3200
Symbol 3181 GraphicUses:1676Used by:3182
Symbol 3182 MovieClipUses:3181Used by:3200
Symbol 3183 GraphicUsed by:3184
Symbol 3184 MovieClipUses:3183 1658Used by:3200
Symbol 3185 GraphicUsed by:3186
Symbol 3186 MovieClipUses:3185 1667Used by:3200
Symbol 3187 GraphicUsed by:3188
Symbol 3188 MovieClipUses:3187 1660Used by:3200
Symbol 3189 GraphicUsed by:3190
Symbol 3190 MovieClipUses:3189 1414Used by:3200
Symbol 3191 MovieClipUses:1411Used by:3200
Symbol 3192 GraphicUsed by:3194
Symbol 3193 GraphicUses:3105Used by:3194
Symbol 3194 MovieClipUses:3192 1408 3193Used by:3200
Symbol 3195 GraphicUsed by:3196
Symbol 3196 MovieClipUses:3195 1408Used by:3200
Symbol 3197 MovieClipUses:82 1428Used by:3200
Symbol 3198 MovieClipUses:82 1428Used by:3200
Symbol 3199 MovieClipUses:82 1428Used by:3200
Symbol 3200 MovieClip {main.propDebris}Uses:3121 366 3124 3127 3130 3133 3136 3139 3142 3145 3148 3151 3154 3157 3160 3163 3166 3169 3172 3175 3178 3180 3182 3184 3186 3188 3190 3191 3194 3196 3197 3198 3199Used by:3353
Symbol 3201 GraphicUsed by:3202
Symbol 3202 MovieClip {main.projLaserBeam}Uses:3201Used by:3353
Symbol 3203 ShapeTweeningUsed by:3206
Symbol 3204 ShapeTweeningUsed by:3206
Symbol 3205 GraphicUsed by:3206
Symbol 3206 MovieClip {main.projMinigunBeam}Uses:2122 3203 3204 3205Used by:3353
Symbol 3207 GraphicUses:2531Used by:3210
Symbol 3208 GraphicUses:1394Used by:3209
Symbol 3209 MovieClipUses:3208Used by:3210
Symbol 3210 MovieClip {main.projRocket}Uses:3207 3209Used by:3353
Symbol 3211 BitmapUsed by:3212
Symbol 3212 GraphicUses:3211Used by:3213
Symbol 3213 MovieClipUses:3212Used by:3214
Symbol 3214 MovieClip {main.propShotgun}Uses:3213 366 1655Used by:3353
Symbol 3215 GraphicUsed by:3248 3280 3304 3328
Symbol 3216 FontUsed by:3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3242 3244 3246 3249 3250 3252 3254 3256 3258 3259 3260 3261 3262 3264 3266 3268 3270 3272 3274 3276 3278 3281 3282 3284 3286 3288 3290 3292 3294 3296 3298 3300 3302 3305 3306 3308 3310 3312 3314 3316 3318 3320 3322 3324 3326
Symbol 3217 TextUses:3216Used by:3248
Symbol 3218 EditableTextUses:3216Used by:3248
Symbol 3219 EditableTextUses:3216Used by:3248
Symbol 3220 EditableTextUses:3216Used by:3248
Symbol 3221 EditableTextUses:3216Used by:3248
Symbol 3222 EditableTextUses:3216Used by:3248
Symbol 3223 EditableTextUses:3216Used by:3248
Symbol 3224 EditableTextUses:3216Used by:3248
Symbol 3225 EditableTextUses:3216Used by:3248
Symbol 3226 EditableTextUses:3216Used by:3248
Symbol 3227 EditableTextUses:3216Used by:3248
Symbol 3228 EditableTextUses:3216Used by:3248
Symbol 3229 EditableTextUses:3216Used by:3248
Symbol 3230 EditableTextUses:3216Used by:3248
Symbol 3231 EditableTextUses:3216Used by:3248
Symbol 3232 EditableTextUses:3216Used by:3248
Symbol 3233 EditableTextUses:3216Used by:3248
Symbol 3234 EditableTextUses:3216Used by:3248
Symbol 3235 EditableTextUses:3216Used by:3248
Symbol 3236 EditableTextUses:3216Used by:3248
Symbol 3237 EditableTextUses:3216Used by:3248
Symbol 3238 EditableTextUses:3216Used by:3248
Symbol 3239 EditableTextUses:3216Used by:3248
Symbol 3240 EditableTextUses:3216Used by:3248
Symbol 3241 Sound {main.ElectroWave}Used by:3248
Symbol 3242 EditableTextUses:3216Used by:3248
Symbol 3243 Sound {main.sawAttack1}Used by:3248
Symbol 3244 EditableTextUses:3216Used by:3248
Symbol 3245 Sound {main.sawAttack2}Used by:3248
Symbol 3246 EditableTextUses:3216Used by:3248
Symbol 3247 Sound {main.sawAttack3}Used by:3248
Symbol 3248 MovieClip {TedViral_fla.cacheSoundsWeapons_84}Uses:3215 3217 3218 38 3219 40 3220 51 3221 48 3222 44 3223 41 3224 52 3225 46 3226 54 3227 56 3228 42 3229 50 3230 53 3231 49 3232 45 3233 47 3234 55 3235 43 3236 39 3237 57 3238 3239 58 3240 3241 3242 3243 3244 3245 3246 3247Used by:3329
Symbol 3249 TextUses:3216Used by:3280
Symbol 3250 EditableTextUses:3216Used by:3280
Symbol 3251 Sound {main.bodyFall1}Used by:3280
Symbol 3252 EditableTextUses:3216Used by:3280
Symbol 3253 Sound {main.bodyFall2}Used by:3280
Symbol 3254 EditableTextUses:3216Used by:3280
Symbol 3255 Sound {main.bodyFall3}Used by:3280
Symbol 3256 EditableTextUses:3216Used by:3280
Symbol 3257 Sound {main.bodyFall4}Used by:3280
Symbol 3258 EditableTextUses:3216Used by:3280
Symbol 3259 EditableTextUses:3216Used by:3280
Symbol 3260 EditableTextUses:3216Used by:3280
Symbol 3261 EditableTextUses:3216Used by:3280
Symbol 3262 EditableTextUses:3216Used by:3280
Symbol 3263 Sound {main.bodyBlood1}Used by:3280
Symbol 3264 EditableTextUses:3216Used by:3280
Symbol 3265 Sound {main.bodyBlood2}Used by:3280
Symbol 3266 EditableTextUses:3216Used by:3280
Symbol 3267 Sound {main.bodyBlood3}Used by:3280
Symbol 3268 EditableTextUses:3216Used by:3280
Symbol 3269 Sound {main.Ricochet1}Used by:3280
Symbol 3270 EditableTextUses:3216Used by:3280
Symbol 3271 Sound {main.Ricochet2}Used by:3280
Symbol 3272 EditableTextUses:3216Used by:3280
Symbol 3273 Sound {main.Ricochet3}Used by:3280
Symbol 3274 EditableTextUses:3216Used by:3280
Symbol 3275 Sound {main.Ricochet4}Used by:3280
Symbol 3276 EditableTextUses:3216Used by:3280
Symbol 3277 Sound {main.bigExp}Used by:3280
Symbol 3278 EditableTextUses:3216Used by:3280
Symbol 3279 Sound {main.midExp}Used by:3280
Symbol 3280 MovieClip {TedViral_fla.cacheSoundsImpact_85}Uses:3215 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279Used by:3329
Symbol 3281 TextUses:3216Used by:3304
Symbol 3282 EditableTextUses:3216Used by:3304
Symbol 3283 Sound {main.musGlory}Used by:3304
Symbol 3284 EditableTextUses:3216Used by:3304
Symbol 3285 Sound {main.musMenu}Used by:3304
Symbol 3286 EditableTextUses:3216Used by:3304
Symbol 3287 Sound {main.musStory}Used by:3304
Symbol 3288 EditableTextUses:3216Used by:3304
Symbol 3289 Sound {main.FatalDamage}Used by:3304
Symbol 3290 EditableTextUses:3216Used by:3304
Symbol 3291 Sound {main.musLose}Used by:3304
Symbol 3292 EditableTextUses:3216Used by:3304
Symbol 3293 Sound {main.musWin}Used by:3304
Symbol 3294 EditableTextUses:3216Used by:3304
Symbol 3295 Sound {main.musUpgrade}Used by:3304
Symbol 3296 EditableTextUses:3216Used by:3304
Symbol 3297 Sound {main.roboAttack}Used by:3304
Symbol 3298 EditableTextUses:3216Used by:3304
Symbol 3299 Sound {main.musTrasher}Used by:3304
Symbol 3300 EditableTextUses:3216Used by:3304
Symbol 3301 Sound {main.musDarkAmb}Used by:3304
Symbol 3302 EditableTextUses:3216Used by:3304
Symbol 3303 Sound {main.GameVictory}Used by:3304
Symbol 3304 MovieClip {TedViral_fla.cacheSoundsMusic_86}Uses:3215 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303Used by:3329
Symbol 3305 TextUses:3216Used by:3328
Symbol 3306 EditableTextUses:3216Used by:3328
Symbol 3307 Sound {main.Coin1}Used by:3328
Symbol 3308 EditableTextUses:3216Used by:3328
Symbol 3309 Sound {main.Coin2}Used by:3328
Symbol 3310 EditableTextUses:3216Used by:3328
Symbol 3311 Sound {main.sndMoney1}Used by:3328
Symbol 3312 EditableTextUses:3216Used by:3328
Symbol 3313 Sound {main.menuClick}Used by:3328
Symbol 3314 EditableTextUses:3216Used by:3328
Symbol 3315 Sound {main.menuHide2}Used by:3328
Symbol 3316 EditableTextUses:3216Used by:3328
Symbol 3317 Sound {main.menuShow2}Used by:3328
Symbol 3318 EditableTextUses:3216Used by:3328
Symbol 3319 Sound {main.helpIco}Used by:3328
Symbol 3320 EditableTextUses:3216Used by:3328
Symbol 3321 Sound {main.itemTake}Used by:3328
Symbol 3322 EditableTextUses:3216Used by:3328
Symbol 3323 Sound {main.sndMed}Used by:3328
Symbol 3324 EditableTextUses:3216Used by:3328
Symbol 3325 Sound {main.robotStep1}Used by:3328
Symbol 3326 EditableTextUses:3216Used by:3328
Symbol 3327 Sound {main.robotStep2}Used by:3328
Symbol 3328 MovieClip {TedViral_fla.cacheSoundsOther_87}Uses:3215 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327Used by:3329
Symbol 3329 MovieClip {TedViral_fla.cacheSound_83}Uses:3248 3280 3304 3328Used by:3353
Symbol 3330 BitmapUsed by:3331 3332 3333 3334 3335
Symbol 3331 GraphicUses:3330Used by:3336
Symbol 3332 GraphicUses:3330Used by:3336
Symbol 3333 GraphicUses:3330Used by:3336
Symbol 3334 GraphicUses:3330Used by:3336
Symbol 3335 GraphicUses:3330Used by:3336
Symbol 3336 MovieClip {main.projVomit}Uses:3331 3332 3333 3334 3335Used by:3353
Symbol 3337 MovieClip {main.fxVomitSpatters}Uses:3026Used by:3353
Symbol 3338 MovieClipUses:2983Used by:3339
Symbol 3339 MovieClip {main.propDynamite}Uses:3338 366Used by:3353
Symbol 3340 BitmapUsed by:3341
Symbol 3341 GraphicUses:3340Used by:3342
Symbol 3342 MovieClipUses:3341Used by:3343
Symbol 3343 MovieClip {main.propBlaster}Uses:3342 366 1655Used by:3353
Symbol 3344 BitmapUsed by:3345
Symbol 3345 GraphicUses:3344Used by:3349
Symbol 3346 ShapeTweeningUsed by:3349
Symbol 3347 ShapeTweeningUsed by:3349
Symbol 3348 GraphicUsed by:3349
Symbol 3349 MovieClip {main.projBombWep}Uses:3345 3346 3347 3348Used by:3353
Symbol 3350 BitmapUsed by:3351
Symbol 3351 GraphicUses:3350Used by:3352
Symbol 3352 MovieClip {main.psyProj}Uses:3351Used by:3353
Symbol 3353 MovieClipUses:3020 3021 3023 3027 3032 3039 3042 3068 3104 3111 3114 3118 1436 3200 3202 3206 3210 3214 3329 3336 3337 3339 2988 2992 1656 3343 1440 1988 2251 1984 1444 3349 3352Used by:Timeline
Symbol 3354 GraphicUsed by:3355
Symbol 3355 MovieClipUses:3017 3354Used by:Timeline
Symbol 3356 GraphicUsed by:3357
Symbol 3357 MovieClipUses:3017 3356Used by:Timeline
Symbol 3358 GraphicUsed by:3359
Symbol 3359 MovieClipUses:3017 3358Used by:Timeline
Symbol 3360 GraphicUsed by:3361
Symbol 3361 MovieClipUses:3017 3360Used by:Timeline
Symbol 3362 GraphicUsed by:3363
Symbol 3363 MovieClipUses:3017 3362Used by:Timeline
Symbol 3364 GraphicUsed by:3365
Symbol 3365 MovieClipUses:3017 3364Used by:Timeline
Symbol 3366 GraphicUsed by:3367
Symbol 3367 MovieClipUses:3017 3366Used by:Timeline
Symbol 3368 GraphicUsed by:3369
Symbol 3369 MovieClipUses:3017 3368Used by:Timeline
Symbol 3370 GraphicUsed by:3394
Symbol 3371 BitmapUsed by:3372
Symbol 3372 GraphicUses:3371Used by:3391
Symbol 3373 FontUsed by:3374 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389
Symbol 3374 TextUses:3373Used by:3390
Symbol 3375 SoundUsed by:3390
Symbol 3376 TextUses:3373Used by:3390
Symbol 3377 TextUses:3373Used by:3390
Symbol 3378 TextUses:3373Used by:3390
Symbol 3379 TextUses:3373Used by:3390
Symbol 3380 TextUses:3373Used by:3390
Symbol 3381 TextUses:3373Used by:3390
Symbol 3382 TextUses:3373Used by:3390
Symbol 3383 TextUses:3373Used by:3390
Symbol 3384 TextUses:3373Used by:3390
Symbol 3385 TextUses:3373Used by:3390
Symbol 3386 TextUses:3373Used by:3390
Symbol 3387 TextUses:3373Used by:3390
Symbol 3388 TextUses:3373Used by:3390
Symbol 3389 TextUses:3373Used by:3390
Symbol 3390 MovieClip {TedViral_fla.og_logo_text_123}Uses:3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389Used by:3391
Symbol 3391 MovieClip {TedViral_fla.og_logo_122}Uses:3372 3390Used by:3393
Symbol 3392 SoundUsed by:3393
Symbol 3393 MovieClip {TedViral_fla.onlinegamercc_logo_121}Uses:3391 3392Used by:3394
Symbol 3394 MovieClipUses:3370 3393Used by:Timeline
Symbol 3395 GraphicUsed by:3396 3748
Symbol 3396 MovieClip {main.bg}Uses:3395Used by:Timeline
Symbol 3397 BitmapUsed by:3398
Symbol 3398 GraphicUses:3397Used by:3399
Symbol 3399 MovieClipUses:3398Used by:Timeline
Symbol 3400 BitmapUsed by:3401
Symbol 3401 GraphicUses:3400Used by:3527
Symbol 3402 GraphicUsed by:3403
Symbol 3403 MovieClipUses:3402Used by:3527
Symbol 3404 TextUses:17Used by:3407
Symbol 3405 TextUses:17Used by:3407
Symbol 3406 TextUses:17Used by:3407
Symbol 3407 ButtonUses:3404 3405 3406 20Used by:3527 3753
Symbol 3408 TextUses:17Used by:3411
Symbol 3409 TextUses:17Used by:3411
Symbol 3410 TextUses:17Used by:3411
Symbol 3411 ButtonUses:3408 3409 3410 20Used by:3527
Symbol 3412 TextUses:17Used by:3414
Symbol 3413 TextUses:17Used by:3414
Symbol 3414 ButtonUses:3412 3413 20Used by:3527
Symbol 3415 BitmapUsed by:3416
Symbol 3416 GraphicUses:3415Used by:3417
Symbol 3417 MovieClipUses:3416Used by:3451
Symbol 3418 TextUses:17Used by:3420
Symbol 3419 TextUses:17Used by:3420
Symbol 3420 ButtonUses:3418 3419 20Used by:3451 3475 3514 3521
Symbol 3421 TextUses:17Used by:3423
Symbol 3422 TextUses:17Used by:3423
Symbol 3423 ButtonUses:3421 3422 20Used by:3451
Symbol 3424 TextUses:17Used by:3426
Symbol 3425 TextUses:17Used by:3426
Symbol 3426 ButtonUses:3424 3425 20Used by:3451
Symbol 3427 TextUses:17Used by:3429
Symbol 3428 TextUses:17Used by:3429
Symbol 3429 ButtonUses:3427 3428 20Used by:3451
Symbol 3430 TextUses:17Used by:3432
Symbol 3431 TextUses:17Used by:3432
Symbol 3432 ButtonUses:3430 3431 20Used by:3451
Symbol 3433 TextUses:17Used by:3435
Symbol 3434 TextUses:17Used by:3435
Symbol 3435 ButtonUses:3433 3434 20Used by:3451
Symbol 3436 TextUses:17Used by:3438
Symbol 3437 TextUses:17Used by:3438
Symbol 3438 ButtonUses:3436 3437 20Used by:3451
Symbol 3439 TextUses:17Used by:3441
Symbol 3440 TextUses:17Used by:3441
Symbol 3441 ButtonUses:3439 3440 20Used by:3451
Symbol 3442 TextUses:17Used by:3444
Symbol 3443 TextUses:17Used by:3444
Symbol 3444 ButtonUses:3442 3443 20Used by:3451
Symbol 3445 TextUses:17Used by:3447
Symbol 3446 TextUses:17Used by:3447
Symbol 3447 ButtonUses:3445 3446 20Used by:3451
Symbol 3448 TextUses:17Used by:3450
Symbol 3449 TextUses:17Used by:3450
Symbol 3450 ButtonUses:3448 3449 20Used by:3451
Symbol 3451 MovieClipUses:3417 3420 3423 3426 3429 3432 3435 3438 3441 3444 3447 3450Used by:3527 3753
Symbol 3452 BitmapUsed by:3453
Symbol 3453 GraphicUses:3452Used by:3454
Symbol 3454 MovieClipUses:3453Used by:3475
Symbol 3455 TextUses:17Used by:3457
Symbol 3456 TextUses:17Used by:3457
Symbol 3457 ButtonUses:3455 3456 20Used by:3475
Symbol 3458 TextUses:17Used by:3461
Symbol 3459 TextUses:17Used by:3461
Symbol 3460 TextUses:17Used by:3461
Symbol 3461 ButtonUses:3458 3459 3460 20Used by:3475 3753
Symbol 3462 TextUses:17Used by:3465
Symbol 3463 TextUses:17Used by:3465
Symbol 3464 TextUses:17Used by:3465
Symbol 3465 ButtonUses:3462 3463 3464 20Used by:3475
Symbol 3466 TextUses:17Used by:3468 3786
Symbol 3467 TextUses:17Used by:3468
Symbol 3468 ButtonUses:3466 3467 20Used by:3475 3753
Symbol 3469 TextUses:17Used by:3471
Symbol 3470 TextUses:17Used by:3471
Symbol 3471 ButtonUses:3469 3470 20Used by:3475
Symbol 3472 TextUses:17Used by:3474
Symbol 3473 TextUses:17Used by:3474
Symbol 3474 ButtonUses:3472 3473 20Used by:3475
Symbol 3475 MovieClipUses:3454 3457 3461 3465 3468 3471 3474 3420Used by:3527
Symbol 3476 GraphicUses:2201Used by:3477
Symbol 3477 MovieClipUses:3476Used by:3514
Symbol 3478 BitmapUsed by:3479
Symbol 3479 GraphicUses:3478Used by:3511
Symbol 3480 EditableTextUses:17Used by:3511
Symbol 3481 BitmapUsed by:3482
Symbol 3482 GraphicUses:3481Used by:3511
Symbol 3483 BitmapUsed by:3484
Symbol 3484 GraphicUses:3483Used by:3511
Symbol 3485 BitmapUsed by:3486
Symbol 3486 GraphicUses:3485Used by:3511
Symbol 3487 BitmapUsed by:3488
Symbol 3488 GraphicUses:3487Used by:3511
Symbol 3489 BitmapUsed by:3490
Symbol 3490 GraphicUses:3489Used by:3511
Symbol 3491 BitmapUsed by:3492
Symbol 3492 GraphicUses:3491Used by:3511
Symbol 3493 BitmapUsed by:3494
Symbol 3494 GraphicUses:3493Used by:3511
Symbol 3495 BitmapUsed by:3496
Symbol 3496 GraphicUses:3495Used by:3511
Symbol 3497 BitmapUsed by:3498
Symbol 3498 GraphicUses:3497Used by:3511
Symbol 3499 BitmapUsed by:3500
Symbol 3500 GraphicUses:3499Used by:3511
Symbol 3501 BitmapUsed by:3502
Symbol 3502 GraphicUses:3501Used by:3511
Symbol 3503 BitmapUsed by:3504
Symbol 3504 GraphicUses:3503Used by:3511
Symbol 3505 BitmapUsed by:3506
Symbol 3506 GraphicUses:3505Used by:3511
Symbol 3507 BitmapUsed by:3508
Symbol 3508 GraphicUses:3507Used by:3511
Symbol 3509 BitmapUsed by:3510
Symbol 3510 GraphicUses:3509Used by:3511
Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}Uses:3479 3480 3482 3484 3486 3488 3490 3492 3494 3496 3498 3500 3502 3504 3506 3508 3510Used by:3514
Symbol 3512 TextUses:311Used by:3514
Symbol 3513 TextUses:17Used by:3514
Symbol 3514 MovieClipUses:3477 3511 3420 3512 3513Used by:3527
Symbol 3515 BitmapUsed by:3516
Symbol 3516 GraphicUses:3515Used by:3517
Symbol 3517 MovieClipUses:3516Used by:3521
Symbol 3518 TextUses:17Used by:3520
Symbol 3519 TextUses:17Used by:3520
Symbol 3520 MovieClip {TedViral_fla.credAneg_160}Uses:3518 3012 3519Used by:3521
Symbol 3521 MovieClipUses:3517 3420 3520Used by:3527
Symbol 3522 FontUsed by:3523 3651 3787 3790 3798
Symbol 3523 TextUses:3522Used by:3524
Symbol 3524 MovieClipUses:3523Used by:3525
Symbol 3525 MovieClipUses:3524Used by:3527 3753
Symbol 3526 GraphicUsed by:3527
Symbol 3527 MovieClip {main.menuMain}Uses:3401 3015 3013 3403 21 3407 3411 3414 3451 3475 3514 3521 3525 3526 3008Used by:Timeline
Symbol 3528 GraphicUsed by:3676
Symbol 3529 MovieClip {main.fxblink}Uses:82Used by:3676
Symbol 3530 BitmapUsed by:3531
Symbol 3531 GraphicUses:3530Used by:3554
Symbol 3532 BitmapUsed by:3533
Symbol 3533 GraphicUses:3532Used by:3554
Symbol 3534 BitmapUsed by:3535
Symbol 3535 GraphicUses:3534Used by:3554
Symbol 3536 BitmapUsed by:3537
Symbol 3537 GraphicUses:3536Used by:3554
Symbol 3538 BitmapUsed by:3539
Symbol 3539 GraphicUses:3538Used by:3554
Symbol 3540 BitmapUsed by:3541
Symbol 3541 GraphicUses:3540Used by:3554
Symbol 3542 BitmapUsed by:3543
Symbol 3543 GraphicUses:3542Used by:3554
Symbol 3544 BitmapUsed by:3545
Symbol 3545 GraphicUses:3544Used by:3554
Symbol 3546 BitmapUsed by:3547
Symbol 3547 GraphicUses:3546Used by:3554
Symbol 3548 BitmapUsed by:3549
Symbol 3549 GraphicUses:3548Used by:3554
Symbol 3550 BitmapUsed by:3551
Symbol 3551 GraphicUses:3550Used by:3554
Symbol 3552 BitmapUsed by:3553
Symbol 3553 GraphicUses:3552Used by:3554
Symbol 3554 MovieClip {TedViral_fla.upgCratePic_171}Uses:3531 3533 3535 3537 3539 3541 3543 3545 3547 3549 3551 3553Used by:3557 3698
Symbol 3555 EditableTextUses:311Used by:3557
Symbol 3556 EditableTextUses:311Used by:3557
Symbol 3557 MovieClipUses:3554 3555 3556Used by:3676
Symbol 3558 GraphicUsed by:3560
Symbol 3559 EditableTextUses:17Used by:3560
Symbol 3560 MovieClip {main.guiWepNum}Uses:3558 3559Used by:3676
Symbol 3561 BitmapUsed by:3562
Symbol 3562 GraphicUses:3561Used by:3563
Symbol 3563 MovieClip {PainFrame}Uses:3562Used by:3676
Symbol 3564 ShapeTweeningUsed by:3565
Symbol 3565 MovieClip {TedViral_fla.lifeBarGui_174}Uses:544 3564 546Used by:3676
Symbol 3566 EditableTextUses:17Used by:3676
Symbol 3567 BitmapUsed by:3568
Symbol 3568 GraphicUses:3567Used by:3569
Symbol 3569 MovieClipUses:3568Used by:3572
Symbol 3570 FontUsed by:3571 3576 3581
Symbol 3571 TextUses:3570Used by:3572
Symbol 3572 MovieClip {TedViral_fla.hazardElectro_175}Uses:3569 3571Used by:3676
Symbol 3573 BitmapUsed by:3574
Symbol 3574 GraphicUses:3573Used by:3575
Symbol 3575 MovieClipUses:3574Used by:3577
Symbol 3576 TextUses:3570Used by:3577
Symbol 3577 MovieClip {TedViral_fla.hazardBio_177}Uses:3575 3576Used by:3676
Symbol 3578 BitmapUsed by:3579
Symbol 3579 GraphicUses:3578Used by:3580
Symbol 3580 MovieClipUses:3579Used by:3582
Symbol 3581 TextUses:3570Used by:3582
Symbol 3582 MovieClip {TedViral_fla.hazardPsy_179}Uses:3580 3581Used by:3676
Symbol 3583 GraphicUses:2201Used by:3584
Symbol 3584 MovieClipUses:3583Used by:3635
Symbol 3585 BitmapUsed by:3586
Symbol 3586 GraphicUses:3585Used by:3589
Symbol 3587 BitmapUsed by:3588
Symbol 3588 GraphicUses:3587Used by:3589
Symbol 3589 MovieClipUses:3586 3588Used by:3635
Symbol 3590 TextUses:311Used by:3635
Symbol 3591 EditableTextUses:311Used by:3635
Symbol 3592 EditableTextUses:311Used by:3635
Symbol 3593 MovieClipUses:82Used by:3606
Symbol 3594 TextUses:311Used by:3606
Symbol 3595 TextUses:311Used by:3606
Symbol 3596 TextUses:311Used by:3606
Symbol 3597 GraphicUses:1638Used by:3606
Symbol 3598 TextUses:311Used by:3606
Symbol 3599 GraphicUses:1642Used by:3606
Symbol 3600 TextUses:311Used by:3606
Symbol 3601 GraphicUses:2166Used by:3606
Symbol 3602 TextUses:311Used by:3606
Symbol 3603 GraphicUses:1646Used by:3606
Symbol 3604 TextUses:311Used by:3606
Symbol 3605 GraphicUses:2851Used by:3606
Symbol 3606 MovieClip {TedViral_fla.items_184}Uses:3593 3594 2986 3595 2983 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605Used by:3635 3676
Symbol 3607 BitmapUsed by:3608
Symbol 3608 GraphicUses:3607Used by:3609
Symbol 3609 MovieClipUses:3608Used by:3635
Symbol 3610 TextUses:311Used by:3635
Symbol 3611 BitmapUsed by:3612
Symbol 3612 GraphicUses:3611Used by:3613 3616
Symbol 3613 MovieClipUses:3612Used by:3635
Symbol 3614 BitmapUsed by:3615
Symbol 3615 GraphicUses:3614Used by:3616
Symbol 3616 MovieClipUses:3612 3615Used by:3635
Symbol 3617 TextUses:311Used by:3635
Symbol 3618 BitmapUsed by:3619
Symbol 3619 GraphicUses:3618Used by:3620
Symbol 3620 MovieClipUses:3619Used by:3635
Symbol 3621 TextUses:311Used by:3635
Symbol 3622 BitmapUsed by:3623
Symbol 3623 GraphicUses:3622Used by:3624
Symbol 3624 MovieClipUses:3623Used by:3635 3653
Symbol 3625 TextUses:311Used by:3635
Symbol 3626 BitmapUsed by:3627 3630
Symbol 3627 GraphicUses:3626Used by:3632
Symbol 3628 BitmapUsed by:3629 3631
Symbol 3629 GraphicUses:3628Used by:3632
Symbol 3630 GraphicUses:3626Used by:3632
Symbol 3631 GraphicUses:3628Used by:3632
Symbol 3632 MovieClipUses:3627 3629 3630 3631Used by:3635
Symbol 3633 TextUses:311Used by:3635
Symbol 3634 TextUses:311Used by:3635
Symbol 3635 MovieClip {main.hlpCtrl}Uses:3584 3589 3590 3591 3592 3606 3609 3610 3613 3616 3617 3620 3621 3624 3625 3632 3633 3634Used by:3676
Symbol 3636 GraphicUses:2201Used by:3637
Symbol 3637 MovieClipUses:3636Used by:3653
Symbol 3638 BitmapUsed by:3639
Symbol 3639 GraphicUses:3638Used by:3650
Symbol 3640 BitmapUsed by:3641
Symbol 3641 GraphicUses:3640Used by:3650
Symbol 3642 BitmapUsed by:3643
Symbol 3643 GraphicUses:3642Used by:3650
Symbol 3644 BitmapUsed by:3645
Symbol 3645 GraphicUses:3644Used by:3650
Symbol 3646 BitmapUsed by:3647
Symbol 3647 GraphicUses:3646Used by:3650
Symbol 3648 BitmapUsed by:3649
Symbol 3649 GraphicUses:3648Used by:3650
Symbol 3650 MovieClip {TedViral_fla.dialogPics_194}Uses:3639 3641 3643 3645 3647 3649Used by:3653
Symbol 3651 EditableTextUses:3522Used by:3653
Symbol 3652 EditableTextUses:311Used by:3653
Symbol 3653 MovieClip {main.dialog}Uses:3637 3650 3651 3652 3624Used by:3676
Symbol 3654 BitmapUsed by:3655
Symbol 3655 GraphicUses:3654Used by:3656
Symbol 3656 MovieClipUses:3655Used by:3660
Symbol 3657 TextUses:311Used by:3658
Symbol 3658 MovieClipUses:3657Used by:3660
Symbol 3659 GraphicUsed by:3660
Symbol 3660 MovieClip {main.dialogIco}Uses:3656 3658 3659Used by:3676
Symbol 3661 GraphicUsed by:3668
Symbol 3662 FontUsed by:3663 3665 3666 3667 3670 3672 3673 3674
Symbol 3663 EditableTextUses:3662Used by:3668
Symbol 3664 GraphicUsed by:3668
Symbol 3665 EditableTextUses:3662Used by:3668
Symbol 3666 EditableTextUses:3662Used by:3668
Symbol 3667 EditableTextUses:3662Used by:3668
Symbol 3668 ButtonUses:3661 3663 3664 3665 3666 3667Used by:3676
Symbol 3669 GraphicUsed by:3675
Symbol 3670 EditableTextUses:3662Used by:3675
Symbol 3671 GraphicUsed by:3675
Symbol 3672 EditableTextUses:3662Used by:3675
Symbol 3673 EditableTextUses:3662Used by:3675
Symbol 3674 EditableTextUses:3662Used by:3675
Symbol 3675 ButtonUses:3669 3670 3671 3672 3673 3674Used by:3676
Symbol 3676 MovieClip {main.gameGui}Uses:3528 3529 3557 3560 3563 3565 3566 3572 3577 3582 3635 3653 3606 3660 3668 3675Used by:Timeline
Symbol 3677 BitmapUsed by:3678
Symbol 3678 GraphicUses:3677Used by:3679 3703
Symbol 3679 MovieClipUses:3678Used by:3748
Symbol 3680 BitmapUsed by:3681
Symbol 3681 GraphicUses:3680Used by:3682
Symbol 3682 MovieClipUses:3681Used by:3699
Symbol 3683 GraphicUsed by:3685
Symbol 3684 GraphicUsed by:3685
Symbol 3685 MovieClipUses:3683 3684Used by:3698
Symbol 3686 FontUsed by:3687
Symbol 3687 EditableTextUses:3686Used by:3698
Symbol 3688 MovieClipUses:544Used by:3691
Symbol 3689 GraphicUsed by:3690
Symbol 3690 MovieClipUses:3689Used by:3691
Symbol 3691 MovieClipUses:3688 3690Used by:3698
Symbol 3692 BitmapUsed by:3693
Symbol 3693 GraphicUses:3692Used by:3694
Symbol 3694 MovieClipUses:3693Used by:3698
Symbol 3695 BitmapUsed by:3696
Symbol 3696 GraphicUses:3695Used by:3697
Symbol 3697 MovieClipUses:3696Used by:3698
Symbol 3698 MovieClip {TedViral_fla.upgCrateInfo_204}Uses:3685 3687 3554 3691 3694 3697Used by:3699
Symbol 3699 MovieClip {main.upgCrate}Uses:3682 3698 325Used by:3748
Symbol 3700 BitmapUsed by:3701
Symbol 3701 GraphicUses:3700Used by:3702
Symbol 3702 MovieClipUses:3701Used by:3748
Symbol 3703 MovieClipUses:3678Used by:3748
Symbol 3704 BitmapUsed by:3705
Symbol 3705 GraphicUses:3704Used by:3706
Symbol 3706 MovieClipUses:3705Used by:3748
Symbol 3707 BitmapUsed by:3708
Symbol 3708 GraphicUses:3707Used by:3709
Symbol 3709 MovieClipUses:3708Used by:3748
Symbol 3710 BitmapUsed by:3711
Symbol 3711 GraphicUses:3710Used by:3748
Symbol 3712 BitmapUsed by:3713
Symbol 3713 GraphicUses:3712Used by:3720
Symbol 3714 FontUsed by:3715 3718
Symbol 3715 TextUses:3714Used by:3720
Symbol 3716 BitmapUsed by:3717
Symbol 3717 GraphicUses:3716Used by:3720
Symbol 3718 TextUses:3714Used by:3720
Symbol 3719 GraphicUsed by:3720
Symbol 3720 ButtonUses:3713 3715 3717 3718 3719Used by:3748
Symbol 3721 MovieClip {main.fader50perc}Uses:82Used by:3748
Symbol 3722 BitmapUsed by:3723
Symbol 3723 GraphicUses:3722Used by:3747
Symbol 3724 FontUsed by:3725
Symbol 3725 EditableTextUses:3724Used by:3747
Symbol 3726 GraphicUsed by:3731 3746
Symbol 3727 FontUsed by:3728 3733 3739 3745
Symbol 3728 EditableTextUses:3727 3732Used by:3731
Symbol 3729 GraphicUsed by:3730
Symbol 3730 MovieClipUses:3729Used by:3731
Symbol 3731 MovieClip {main.upgPaperParam}Uses:3726 3728 3730Used by:3747
Symbol 3732 FontUsed by:3728 3733
Symbol 3733 EditableTextUses:3727 3732Used by:3747
Symbol 3734 GraphicUsed by:3735
Symbol 3735 MovieClip {main.upgPaperFrame}Uses:3734Used by:3747
Symbol 3736 BitmapUsed by:3737
Symbol 3737 GraphicUses:3736Used by:3738 3741
Symbol 3738 MovieClipUses:3737Used by:3741
Symbol 3739 TextUses:3727Used by:3741
Symbol 3740 GraphicUsed by:3741
Symbol 3741 ButtonUses:3738 3739 3740 3737Used by:3747
Symbol 3742 BitmapUsed by:3743
Symbol 3743 GraphicUses:3742Used by:3744
Symbol 3744 MovieClipUses:3743Used by:3746
Symbol 3745 TextUses:3727Used by:3746
Symbol 3746 MovieClip {upgButtCancel}Uses:3744 3745 3726Used by:3747
Symbol 3747 MovieClip {main.upgPaper}Uses:3723 3725 3731 3733 3735 3741 3746Used by:3748
Symbol 3748 MovieClip {main.menuUpgradeShop}Uses:3395 3679 3699 3702 3703 3706 3709 3711 7 3720 3721 3747Used by:Timeline
Symbol 3749 GraphicUsed by:3753
Symbol 3750 TextUses:17Used by:3752
Symbol 3751 TextUses:17Used by:3752
Symbol 3752 ButtonUses:3750 3751 20Used by:3753 3793 3801
Symbol 3753 MovieClip {main.menuInGame}Uses:3749 3525 3752 3461 3451 3407 3468 7Used by:Timeline
Symbol 3754 GraphicUsed by:3755
Symbol 3755 MovieClipUses:3754Used by:3793
Symbol 3756 GraphicUsed by:3757
Symbol 3757 MovieClipUses:3756Used by:3793
Symbol 3758 EditableTextUses:311Used by:3772
Symbol 3759 EditableTextUses:311Used by:3772
Symbol 3760 EditableTextUses:311Used by:3772
Symbol 3761 EditableTextUses:311Used by:3772
Symbol 3762 EditableTextUses:311Used by:3772
Symbol 3763 EditableTextUses:311Used by:3772
Symbol 3764 EditableTextUses:311Used by:3772
Symbol 3765 EditableTextUses:311Used by:3772
Symbol 3766 EditableTextUses:311Used by:3772
Symbol 3767 EditableTextUses:311Used by:3772
Symbol 3768 GraphicUsed by:3769
Symbol 3769 MovieClipUses:3768Used by:3772
Symbol 3770 EditableTextUses:311Used by:3772
Symbol 3771 EditableTextUses:311Used by:3772
Symbol 3772 MovieClipUses:3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3769 3770 3771Used by:3793
Symbol 3773 TextUses:17Used by:3775
Symbol 3774 TextUses:17Used by:3775
Symbol 3775 ButtonUses:3773 3774 20Used by:3793
Symbol 3776 TextUses:17Used by:3779
Symbol 3777 TextUses:17Used by:3779
Symbol 3778 TextUses:17Used by:3779
Symbol 3779 ButtonUses:3776 3777 3778 20Used by:3793
Symbol 3780 TextUses:17Used by:3783
Symbol 3781 TextUses:17Used by:3783
Symbol 3782 TextUses:17Used by:3783
Symbol 3783 ButtonUses:3780 3781 3782 20Used by:3793 3801
Symbol 3784 TextUses:17Used by:3786
Symbol 3785 TextUses:17Used by:3786
Symbol 3786 ButtonUses:3466 3784 3785 20Used by:3793
Symbol 3787 TextUses:3522Used by:3788
Symbol 3788 MovieClipUses:3787Used by:3789
Symbol 3789 MovieClipUses:3788Used by:3793
Symbol 3790 TextUses:3522Used by:3791
Symbol 3791 MovieClipUses:3790Used by:3792
Symbol 3792 MovieClipUses:3791Used by:3793
Symbol 3793 MovieClip {main.menuWinLose}Uses:3755 3757 3772 3775 3779 3783 3752 3786 3789 3792Used by:Timeline
Symbol 3794 BitmapUsed by:3795
Symbol 3795 GraphicUses:3794Used by:3801
Symbol 3796 EditableTextUses:311Used by:3801
Symbol 3797 EditableTextUses:311Used by:3801
Symbol 3798 TextUses:3522Used by:3799
Symbol 3799 MovieClipUses:3798Used by:3800
Symbol 3800 MovieClipUses:3799Used by:3801
Symbol 3801 MovieClip {main.menuWinGame}Uses:3795 3783 3752 3796 3797 3800Used by:Timeline
Symbol 3802 MovieClip {main.fader50percVis}Uses:82Used by:Timeline
Symbol 3803 BitmapUsed by:3804
Symbol 3804 GraphicUses:3803Used by:3807
Symbol 3805 BitmapUsed by:3806
Symbol 3806 GraphicUses:3805Used by:3807
Symbol 3807 MovieClip {TedViral_fla.gamButtSound_245}Uses:3804 3806Used by:Timeline

Instance Names

"preloaderOG"Frame 1Symbol 8 MovieClip
"ld"Frame 1Symbol 16 MovieClip {main.preloader}
"bPlay"Frame 1Symbol 21 Button {buttonPlay}
"adBox"Frame 1Symbol 23 MovieClip {main.adBoxClass}
"cursor"Frame 1Symbol 37 MovieClip {Cursor}
"cacheRem"Frame 2Symbol 3353 MovieClip
"splashOG"Frame 11Symbol 3394 MovieClip
"groundBG"Frame 12Symbol 3396 MovieClip {main.bg}
"sky"Frame 12Symbol 3399 MovieClip
"menuMain"Frame 12Symbol 3527 MovieClip {main.menuMain}
"gameGUI"Frame 12Symbol 3676 MovieClip {main.gameGui}
"menuUpgradeShop"Frame 12Symbol 3748 MovieClip {main.menuUpgradeShop}
"menuInGame"Frame 12Symbol 3753 MovieClip {main.menuInGame}
"menuWinLose"Frame 12Symbol 3793 MovieClip {main.menuWinLose}
"menuWinGame"Frame 12Symbol 3801 MovieClip {main.menuWinGame}
"fadeBG"Frame 12Symbol 3802 MovieClip {main.fader50percVis}
"gamButSnd"Frame 12Symbol 3807 MovieClip {TedViral_fla.gamButtSound_245}
"txt"Symbol 16 MovieClip {main.preloader} Frame 1Symbol 12 EditableText
"pic"Symbol 37 MovieClip {Cursor} Frame 1Symbol 25 MovieClip
"pic"Symbol 37 MovieClip {Cursor} Frame 2Symbol 32 MovieClip {main.ReloadCurType}
"shootAcc"Symbol 37 MovieClip {Cursor} Frame 3Symbol 34 MovieClip
"pic"Symbol 37 MovieClip {Cursor} Frame 3Symbol 36 MovieClip
"butSkip"Symbol 121 MovieClip {main.storyMult} Frame 1Symbol 87 Button
"pointHand"Symbol 328 MovieClip {TedViral_fla.TedArmsR_AK_380} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointHand"Symbol 335 MovieClip {TedViral_fla.TedArmsR_Shotgun_382} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointHand"Symbol 341 MovieClip {TedViral_fla.TedArmsR_Minigun_384} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointHand"Symbol 344 MovieClip {TedViral_fla.TedArmsR_Blaster_385} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointHand"Symbol 347 MovieClip {TedViral_fla.TedArmsR_RPG_386} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointHand"Symbol 350 MovieClip {TedViral_fla.TedArmsR_Lasergun_387} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointHand"Symbol 353 MovieClip {TedViral_fla.TedArmsR_DDD_388} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 1Symbol 323 MovieClip {TedViral_fla.TedArmsPistol_379}
"pointShoot"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointShells"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 3Symbol 328 MovieClip {TedViral_fla.TedArmsR_AK_380}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 4Symbol 332 MovieClip {TedViral_fla.TedArmsL_AK_381}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 5Symbol 335 MovieClip {TedViral_fla.TedArmsR_Shotgun_382}
"pointShoot"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 5Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointShells"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 5Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 6Symbol 338 MovieClip {TedViral_fla.TedArmsL_Shotgun_383}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 7Symbol 341 MovieClip {TedViral_fla.TedArmsR_Minigun_384}
"pointShoot"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 7Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointShells"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 7Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 8Symbol 338 MovieClip {TedViral_fla.TedArmsL_Shotgun_383}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 9Symbol 344 MovieClip {TedViral_fla.TedArmsR_Blaster_385}
"pointShoot"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 9Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointShells"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 9Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 10Symbol 338 MovieClip {TedViral_fla.TedArmsL_Shotgun_383}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 11Symbol 347 MovieClip {TedViral_fla.TedArmsR_RPG_386}
"pointShoot"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 11Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointShells"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 11Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 12Symbol 338 MovieClip {TedViral_fla.TedArmsL_Shotgun_383}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 13Symbol 350 MovieClip {TedViral_fla.TedArmsR_Lasergun_387}
"pointShoot"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 13Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointShells"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 13Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 14Symbol 338 MovieClip {TedViral_fla.TedArmsL_Shotgun_383}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 15Symbol 353 MovieClip {TedViral_fla.TedArmsR_DDD_388}
"pointShoot"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 15Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointShells"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 15Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"anim"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 16Symbol 338 MovieClip {TedViral_fla.TedArmsL_Shotgun_383}
"arm2"Symbol 358 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"head"Symbol 358 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm1"Symbol 358 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"gm"Symbol 364 MovieClip {TedViral_fla.TedHead_391} Frame 1Symbol 363 MovieClip
"arm1"Symbol 397 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm2"Symbol 397 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"head"Symbol 397 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"head"Symbol 432 MovieClip {TedViral_fla.TedDie_396} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm1"Symbol 432 MovieClip {TedViral_fla.TedDie_396} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm2"Symbol 432 MovieClip {TedViral_fla.TedDie_396} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm2"Symbol 435 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm1"Symbol 435 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"head"Symbol 435 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm1"Symbol 490 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm2"Symbol 490 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"head"Symbol 490 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm2"Symbol 493 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"head"Symbol 493 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm1"Symbol 493 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm2"Symbol 494 MovieClip {main.Ted} Frame 1Symbol 354 MovieClip {TedViral_fla.TedArms_378}
"body"Symbol 494 MovieClip {main.Ted} Frame 1Symbol 358 MovieClip
"head"Symbol 494 MovieClip {main.Ted} Frame 1Symbol 364 MovieClip {TedViral_fla.TedHead_391}
"arm1"Symbol 494 MovieClip {main.Ted} Frame 1Symbol 354 MovieClip {TedViral_fla.TedArms_378}
"p1"Symbol 494 MovieClip {main.Ted} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 494 MovieClip {main.Ted} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 494 MovieClip {main.Ted} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 494 MovieClip {main.Ted} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 494 MovieClip {main.Ted} Frame 1Symbol 368 MovieClip {main.damageMarker}
"elSpawn"Symbol 494 MovieClip {main.Ted} Frame 1Symbol 372 MovieClip
"body"Symbol 494 MovieClip {main.Ted} Frame 2Symbol 397 MovieClip
"body"Symbol 494 MovieClip {main.Ted} Frame 3Symbol 432 MovieClip {TedViral_fla.TedDie_396}
"body"Symbol 494 MovieClip {main.Ted} Frame 4Symbol 435 MovieClip
"body"Symbol 494 MovieClip {main.Ted} Frame 5Symbol 490 MovieClip
"body"Symbol 494 MovieClip {main.Ted} Frame 6Symbol 493 MovieClip
"anim"Symbol 694 MovieClip {main.Zomb01} Frame 1Symbol 543 MovieClip
"p1"Symbol 694 MovieClip {main.Zomb01} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 694 MovieClip {main.Zomb01} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 694 MovieClip {main.Zomb01} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 694 MovieClip {main.Zomb01} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 694 MovieClip {main.Zomb01} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 694 MovieClip {main.Zomb01} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 694 MovieClip {main.Zomb01} Frame 2Symbol 564 MovieClip
"die"Symbol 694 MovieClip {main.Zomb01} Frame 3Symbol 587 MovieClip {TedViral_fla.Zomb01Die_357}
"anim"Symbol 694 MovieClip {main.Zomb01} Frame 4Symbol 638 MovieClip
"anim"Symbol 694 MovieClip {main.Zomb01} Frame 5Symbol 693 MovieClip {TedViral_fla.Zomb01Attack_359}
"anim"Symbol 878 MovieClip {main.Zomb02} Frame 1Symbol 717 MovieClip
"p1"Symbol 878 MovieClip {main.Zomb02} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 878 MovieClip {main.Zomb02} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 878 MovieClip {main.Zomb02} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 878 MovieClip {main.Zomb02} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 878 MovieClip {main.Zomb02} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 878 MovieClip {main.Zomb02} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 878 MovieClip {main.Zomb02} Frame 2Symbol 732 MovieClip
"die"Symbol 878 MovieClip {main.Zomb02} Frame 3Symbol 781 MovieClip {TedViral_fla.Zomb02Die_329}
"anim"Symbol 878 MovieClip {main.Zomb02} Frame 4Symbol 844 MovieClip
"anim"Symbol 878 MovieClip {main.Zomb02} Frame 5Symbol 877 MovieClip {TedViral_fla.Zomb02Attack_331}
"anim"Symbol 1026 MovieClip {main.Zomb03} Frame 1Symbol 901 MovieClip
"p1"Symbol 1026 MovieClip {main.Zomb03} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1026 MovieClip {main.Zomb03} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1026 MovieClip {main.Zomb03} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1026 MovieClip {main.Zomb03} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 1026 MovieClip {main.Zomb03} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 1026 MovieClip {main.Zomb03} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 1026 MovieClip {main.Zomb03} Frame 2Symbol 920 MovieClip
"die"Symbol 1026 MovieClip {main.Zomb03} Frame 3Symbol 955 MovieClip {TedViral_fla.Zomb03Die_335}
"anim"Symbol 1026 MovieClip {main.Zomb03} Frame 4Symbol 986 MovieClip
"anim"Symbol 1026 MovieClip {main.Zomb03} Frame 5Symbol 1025 MovieClip {TedViral_fla.Zomb03Attack_337}
"anim"Symbol 1178 MovieClip {main.Zomb04} Frame 1Symbol 1043 MovieClip
"p1"Symbol 1178 MovieClip {main.Zomb04} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1178 MovieClip {main.Zomb04} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1178 MovieClip {main.Zomb04} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1178 MovieClip {main.Zomb04} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 1178 MovieClip {main.Zomb04} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 1178 MovieClip {main.Zomb04} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 1178 MovieClip {main.Zomb04} Frame 2Symbol 1066 MovieClip
"die"Symbol 1178 MovieClip {main.Zomb04} Frame 3Symbol 1101 MovieClip {TedViral_fla.Zomb04Die_341}
"anim"Symbol 1178 MovieClip {main.Zomb04} Frame 4Symbol 1130 MovieClip
"anim"Symbol 1178 MovieClip {main.Zomb04} Frame 5Symbol 1177 MovieClip {TedViral_fla.Zomb04Attack_343}
"anim"Symbol 1179 MovieClip {main.Zomb01Run} Frame 1Symbol 543 MovieClip
"p1"Symbol 1179 MovieClip {main.Zomb01Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1179 MovieClip {main.Zomb01Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1179 MovieClip {main.Zomb01Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1179 MovieClip {main.Zomb01Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 1179 MovieClip {main.Zomb01Run} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 1179 MovieClip {main.Zomb01Run} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 1179 MovieClip {main.Zomb01Run} Frame 2Symbol 564 MovieClip
"die"Symbol 1179 MovieClip {main.Zomb01Run} Frame 3Symbol 587 MovieClip {TedViral_fla.Zomb01Die_357}
"anim"Symbol 1179 MovieClip {main.Zomb01Run} Frame 4Symbol 564 MovieClip
"anim"Symbol 1179 MovieClip {main.Zomb01Run} Frame 5Symbol 693 MovieClip {TedViral_fla.Zomb01Attack_359}
"anim"Symbol 1180 MovieClip {main.Zomb03Run} Frame 1Symbol 901 MovieClip
"p1"Symbol 1180 MovieClip {main.Zomb03Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1180 MovieClip {main.Zomb03Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1180 MovieClip {main.Zomb03Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1180 MovieClip {main.Zomb03Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 1180 MovieClip {main.Zomb03Run} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 1180 MovieClip {main.Zomb03Run} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 1180 MovieClip {main.Zomb03Run} Frame 2Symbol 920 MovieClip
"die"Symbol 1180 MovieClip {main.Zomb03Run} Frame 3Symbol 955 MovieClip {TedViral_fla.Zomb03Die_335}
"anim"Symbol 1180 MovieClip {main.Zomb03Run} Frame 4Symbol 920 MovieClip
"anim"Symbol 1180 MovieClip {main.Zomb03Run} Frame 5Symbol 1025 MovieClip {TedViral_fla.Zomb03Attack_337}
"anim"Symbol 1384 MovieClip {main.Zomb05} Frame 1Symbol 1207 MovieClip
"p1"Symbol 1384 MovieClip {main.Zomb05} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1384 MovieClip {main.Zomb05} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1384 MovieClip {main.Zomb05} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1384 MovieClip {main.Zomb05} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 1384 MovieClip {main.Zomb05} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 1384 MovieClip {main.Zomb05} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 1384 MovieClip {main.Zomb05} Frame 2Symbol 1232 MovieClip
"die"Symbol 1384 MovieClip {main.Zomb05} Frame 3Symbol 1275 MovieClip {TedViral_fla.Zomb05Die_350}
"anim"Symbol 1384 MovieClip {main.Zomb05} Frame 4Symbol 1312 MovieClip
"anim"Symbol 1384 MovieClip {main.Zomb05} Frame 5Symbol 1383 MovieClip {TedViral_fla.Zomb05Attack_352}
"anim"Symbol 1385 MovieClip {main.Zomb05Run} Frame 1Symbol 1207 MovieClip
"p1"Symbol 1385 MovieClip {main.Zomb05Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1385 MovieClip {main.Zomb05Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1385 MovieClip {main.Zomb05Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1385 MovieClip {main.Zomb05Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 1385 MovieClip {main.Zomb05Run} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 1385 MovieClip {main.Zomb05Run} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 1385 MovieClip {main.Zomb05Run} Frame 2Symbol 1232 MovieClip
"die"Symbol 1385 MovieClip {main.Zomb05Run} Frame 3Symbol 1275 MovieClip {TedViral_fla.Zomb05Die_350}
"anim"Symbol 1385 MovieClip {main.Zomb05Run} Frame 4Symbol 1232 MovieClip
"anim"Symbol 1385 MovieClip {main.Zomb05Run} Frame 5Symbol 1383 MovieClip {TedViral_fla.Zomb05Attack_352}
"pointShoot"Symbol 1429 MovieClip {TedViral_fla.AlienHunterBlasterAnim_372} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"anim"Symbol 1430 MovieClip {main.AlienHunterBlaster} Frame 1Symbol 1429 MovieClip {TedViral_fla.AlienHunterBlasterAnim_372}
"damageArea"Symbol 1430 MovieClip {main.AlienHunterBlaster} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 1430 MovieClip {main.AlienHunterBlaster} Frame 1Symbol 547 MovieClip {main.lifeBar}
"BEngFire2"Symbol 1431 MovieClip {main.AlienHunter} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"BEngFire1"Symbol 1431 MovieClip {main.AlienHunter} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"LEngFire"Symbol 1431 MovieClip {main.AlienHunter} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"REngFire"Symbol 1431 MovieClip {main.AlienHunter} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"blaster"Symbol 1431 MovieClip {main.AlienHunter} Frame 1Symbol 1430 MovieClip {main.AlienHunterBlaster}
"p1"Symbol 1431 MovieClip {main.AlienHunter} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1431 MovieClip {main.AlienHunter} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1431 MovieClip {main.AlienHunter} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1431 MovieClip {main.AlienHunter} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 1431 MovieClip {main.AlienHunter} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 1431 MovieClip {main.AlienHunter} Frame 1Symbol 547 MovieClip {main.lifeBar}
"p1"Symbol 1436 MovieClip {main.propCoin} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1436 MovieClip {main.propCoin} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1436 MovieClip {main.propCoin} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1436 MovieClip {main.propCoin} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p1"Symbol 1440 MovieClip {main.propShotgunAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1440 MovieClip {main.propShotgunAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1440 MovieClip {main.propShotgunAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1440 MovieClip {main.propShotgunAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p1"Symbol 1444 MovieClip {main.dropMedKit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1444 MovieClip {main.dropMedKit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1444 MovieClip {main.dropMedKit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1444 MovieClip {main.dropMedKit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p1"Symbol 1456 MovieClip {main.propMoney1} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1456 MovieClip {main.propMoney1} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1456 MovieClip {main.propMoney1} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1456 MovieClip {main.propMoney1} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"shotgunMan"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 299 MovieClip {TedViral_fla.shotgunMan_658}
"projLayer"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 314 MovieClip
"hero"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 494 MovieClip {main.Ted}
"boss"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 1431 MovieClip {main.AlienHunter}
"propLayer"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 1447 MovieClip
"FXLayer"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 1450 MovieClip
"triggerJumpInformer"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerAimShootInformer"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerCrunchInformer"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerInjMan"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerInjManCall"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"limEndLevel"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerTedEatBrains"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerTedMus"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret1"Symbol 1465 MovieClip {main.Level1} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"anmPoint"Symbol 1506 MovieClip {TedViral_fla.sewerHatch_583} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"p1"Symbol 1641 MovieClip {main.propLever} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1641 MovieClip {main.propLever} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1641 MovieClip {main.propLever} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1641 MovieClip {main.propLever} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p1"Symbol 1645 MovieClip {main.propValve} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1645 MovieClip {main.propValve} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1645 MovieClip {main.propValve} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1645 MovieClip {main.propValve} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p1"Symbol 1649 MovieClip {main.propCloth} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1649 MovieClip {main.propCloth} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1649 MovieClip {main.propCloth} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1649 MovieClip {main.propCloth} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p1"Symbol 1656 MovieClip {main.propMinigun} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1656 MovieClip {main.propMinigun} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1656 MovieClip {main.propMinigun} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1656 MovieClip {main.propMinigun} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p1"Symbol 1668 MovieClip {main.AlienSaw} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1668 MovieClip {main.AlienSaw} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1668 MovieClip {main.AlienSaw} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1668 MovieClip {main.AlienSaw} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 1668 MovieClip {main.AlienSaw} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 1668 MovieClip {main.AlienSaw} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 1678 MovieClip {main.AlienBomb} Frame 1Symbol 1675 MovieClip {TedViral_fla.AlienBombDetanatorAnim_361}
"damageArea"Symbol 1678 MovieClip {main.AlienBomb} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 1678 MovieClip {main.AlienBomb} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 1977 MovieClip {main.ZombTank} Frame 1Symbol 1699 MovieClip
"p1"Symbol 1977 MovieClip {main.ZombTank} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1977 MovieClip {main.ZombTank} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1977 MovieClip {main.ZombTank} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1977 MovieClip {main.ZombTank} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"pointShoot"Symbol 1977 MovieClip {main.ZombTank} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"damageArea"Symbol 1977 MovieClip {main.ZombTank} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 1977 MovieClip {main.ZombTank} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 1977 MovieClip {main.ZombTank} Frame 2Symbol 1726 MovieClip
"die"Symbol 1977 MovieClip {main.ZombTank} Frame 3Symbol 1811 MovieClip {TedViral_fla.ZombTankDie_515}
"anim"Symbol 1977 MovieClip {main.ZombTank} Frame 4Symbol 1870 MovieClip
"anim"Symbol 1977 MovieClip {main.ZombTank} Frame 5Symbol 1915 MovieClip {TedViral_fla.ZombTankAttack1_516}
"anim"Symbol 1977 MovieClip {main.ZombTank} Frame 6Symbol 1976 MovieClip {TedViral_fla.ZombTankAttack2_517}
"anim"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 1Symbol 901 MovieClip
"pointShoot"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"p1"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 2Symbol 920 MovieClip
"die"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 3Symbol 955 MovieClip {TedViral_fla.Zomb03Die_335}
"anim"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 4Symbol 986 MovieClip
"anim"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 5Symbol 1025 MovieClip {TedViral_fla.Zomb03Attack_337}
"anim"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 1Symbol 543 MovieClip
"p1"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"pointShoot"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"damageArea"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 2Symbol 564 MovieClip
"die"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 3Symbol 587 MovieClip {TedViral_fla.Zomb01Die_357}
"anim"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 4Symbol 638 MovieClip
"anim"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 5Symbol 693 MovieClip {TedViral_fla.Zomb01Attack_359}
"anim"Symbol 1980 MovieClip {main.Zomb04Run} Frame 1Symbol 1043 MovieClip
"p1"Symbol 1980 MovieClip {main.Zomb04Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1980 MovieClip {main.Zomb04Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1980 MovieClip {main.Zomb04Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1980 MovieClip {main.Zomb04Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 1980 MovieClip {main.Zomb04Run} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 1980 MovieClip {main.Zomb04Run} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 1980 MovieClip {main.Zomb04Run} Frame 2Symbol 1066 MovieClip
"die"Symbol 1980 MovieClip {main.Zomb04Run} Frame 3Symbol 1101 MovieClip {TedViral_fla.Zomb04Die_341}
"anim"Symbol 1980 MovieClip {main.Zomb04Run} Frame 4Symbol 1066 MovieClip
"anim"Symbol 1980 MovieClip {main.Zomb04Run} Frame 5Symbol 1177 MovieClip {TedViral_fla.Zomb04Attack_343}
"p1"Symbol 1984 MovieClip {main.propAKAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1984 MovieClip {main.propAKAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1984 MovieClip {main.propAKAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1984 MovieClip {main.propAKAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p1"Symbol 1988 MovieClip {main.propMinigunAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 1988 MovieClip {main.propMinigunAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 1988 MovieClip {main.propMinigunAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 1988 MovieClip {main.propMinigunAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"anim"Symbol 2103 MovieClip {main.SpiderBig} Frame 1Symbol 2003 MovieClip
"p1"Symbol 2103 MovieClip {main.SpiderBig} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2103 MovieClip {main.SpiderBig} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2103 MovieClip {main.SpiderBig} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2103 MovieClip {main.SpiderBig} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 2103 MovieClip {main.SpiderBig} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 2103 MovieClip {main.SpiderBig} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 2103 MovieClip {main.SpiderBig} Frame 2Symbol 2036 MovieClip
"die"Symbol 2103 MovieClip {main.SpiderBig} Frame 3Symbol 2067 MovieClip {TedViral_fla.spiderDie_577}
"anim"Symbol 2103 MovieClip {main.SpiderBig} Frame 4Symbol 2036 MovieClip
"anim"Symbol 2103 MovieClip {main.SpiderBig} Frame 5Symbol 2102 MovieClip {TedViral_fla.spiderAttack_578}
"anim"Symbol 2104 MovieClip {main.Spider} Frame 1Symbol 2003 MovieClip
"p1"Symbol 2104 MovieClip {main.Spider} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2104 MovieClip {main.Spider} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2104 MovieClip {main.Spider} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2104 MovieClip {main.Spider} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 2104 MovieClip {main.Spider} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 2104 MovieClip {main.Spider} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 2104 MovieClip {main.Spider} Frame 2Symbol 2036 MovieClip
"die"Symbol 2104 MovieClip {main.Spider} Frame 3Symbol 2067 MovieClip {TedViral_fla.spiderDie_577}
"anim"Symbol 2104 MovieClip {main.Spider} Frame 4Symbol 2036 MovieClip
"anim"Symbol 2104 MovieClip {main.Spider} Frame 5Symbol 2102 MovieClip {TedViral_fla.spiderAttack_578}
"anim"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 1Symbol 1207 MovieClip
"p1"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"pointShoot"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"damageArea"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 2Symbol 1232 MovieClip
"die"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 3Symbol 1275 MovieClip {TedViral_fla.Zomb05Die_350}
"anim"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 4Symbol 1312 MovieClip
"anim"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 5Symbol 1383 MovieClip {TedViral_fla.Zomb05Attack_352}
"anim"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 1Symbol 1043 MovieClip
"p1"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"pointShoot"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"damageArea"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 2Symbol 1066 MovieClip
"die"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 3Symbol 1101 MovieClip {TedViral_fla.Zomb04Die_341}
"anim"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 4Symbol 1130 MovieClip
"anim"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 5Symbol 1177 MovieClip {TedViral_fla.Zomb04Attack_343}
"anim"Symbol 2107 MovieClip {main.Zomb02Run} Frame 1Symbol 717 MovieClip
"p1"Symbol 2107 MovieClip {main.Zomb02Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2107 MovieClip {main.Zomb02Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2107 MovieClip {main.Zomb02Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2107 MovieClip {main.Zomb02Run} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 2107 MovieClip {main.Zomb02Run} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 2107 MovieClip {main.Zomb02Run} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 2107 MovieClip {main.Zomb02Run} Frame 2Symbol 732 MovieClip
"die"Symbol 2107 MovieClip {main.Zomb02Run} Frame 3Symbol 781 MovieClip {TedViral_fla.Zomb02Die_329}
"anim"Symbol 2107 MovieClip {main.Zomb02Run} Frame 4Symbol 732 MovieClip
"anim"Symbol 2107 MovieClip {main.Zomb02Run} Frame 5Symbol 877 MovieClip {TedViral_fla.Zomb02Attack_331}
"p1"Symbol 2111 MovieClip {main.propMoney2} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2111 MovieClip {main.propMoney2} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2111 MovieClip {main.propMoney2} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2111 MovieClip {main.propMoney2} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"anim"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 1Symbol 717 MovieClip
"p1"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"pointShoot"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"damageArea"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 2Symbol 732 MovieClip
"die"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 3Symbol 781 MovieClip {TedViral_fla.Zomb02Die_329}
"anim"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 4Symbol 844 MovieClip
"anim"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 5Symbol 877 MovieClip {TedViral_fla.Zomb02Attack_331}
"leverHangar"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1572 MovieClip {TedViral_fla.leverWall_569}
"leverSecretRoom"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1572 MovieClip {TedViral_fla.leverWall_569}
"bunkerMan"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1619 MovieClip {TedViral_fla.bunkerMan_632}
"codeLockBoss"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1623 MovieClip {TedViral_fla.codeLock_635}
"goArrow"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1632 MovieClip
"valveGas"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1637 MovieClip {TedViral_fla.valveWall_594}
"projLayer"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 314 MovieClip
"hero"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 494 MovieClip {main.Ted}
"markerZombGen1"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"markerZombGen2"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"propLayer"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1447 MovieClip
"FXLayer"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1450 MovieClip
"leverSecretRoomHatch"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1506 MovieClip {TedViral_fla.sewerHatch_583}
"leverHangarHatch"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1506 MovieClip {TedViral_fla.sewerHatch_583}
"codeLockBossHatch"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1506 MovieClip {TedViral_fla.sewerHatch_583}
"blackScr"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 2123 MovieClip
"gas1"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 2143 MovieClip
"gas3"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 2143 MovieClip
"gas2"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 2144 MovieClip
"leverSecretRoomHatchLim"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1459 MovieClip {main.limiter}
"leverHangarHatchLim"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1459 MovieClip {main.limiter}
"codeLockBossHatchLim"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1459 MovieClip {main.limiter}
"triggerLevelRightBorder"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerEndLevel"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerBunkerManCall"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerLevelLeftBorder"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerLeverHangar"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerLeverSecretRoom"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret1"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret2"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerValveGas"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerBunkerMan"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"bunkerManBorder"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerUpgrade1"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"bunkerMinigunBorder"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSoundBoss"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerUpgrade2"Symbol 2145 MovieClip {main.Level5} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"anmPoint"Symbol 2157 MovieClip {TedViral_fla.sewerHatch2_596} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"p1"Symbol 2169 MovieClip {main.propGasmask} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2169 MovieClip {main.propGasmask} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2169 MovieClip {main.propGasmask} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2169 MovieClip {main.propGasmask} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"LeverCellDoor2"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1506 MovieClip {TedViral_fla.sewerHatch_583}
"LeverCellDoor1"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 2157 MovieClip {TedViral_fla.sewerHatch2_596}
"butLeverCell"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1572 MovieClip {TedViral_fla.leverWall_569}
"butLeverGM"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1572 MovieClip {TedViral_fla.leverWall_569}
"butLeverElev"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1637 MovieClip {TedViral_fla.valveWall_594}
"LeverElevDoor"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 2160 MovieClip
"goArrow"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1632 MovieClip
"projLayer"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 314 MovieClip
"hero"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 494 MovieClip {main.Ted}
"propLayer"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1447 MovieClip
"FXLayer"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1450 MovieClip
"tubeSpiders"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"blackScr"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 2123 MovieClip
"LeverGM"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1506 MovieClip {TedViral_fla.sewerHatch_583}
"limLeverCellDoor1"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1459 MovieClip {main.limiter}
"limLeverCellDoor2"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1459 MovieClip {main.limiter}
"upWallY"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1459 MovieClip {main.limiter}
"limLeverGM"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1459 MovieClip {main.limiter}
"limLeverElevDoor"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1459 MovieClip {main.limiter}
"upWall"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1459 MovieClip {main.limiter}
"triggerLeverCell"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerLeverGM"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerBioGasLevel"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerUpgrade1"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerLeverElev"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerLeverElevLIM"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerLevelEnd"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerTubeSpiders"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret2"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret1"Symbol 2179 MovieClip {main.Level4} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"pointShoot"Symbol 2211 MovieClip {TedViral_fla.AlienBigBossBody_247} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"anim"Symbol 2231 MovieClip {main.AlienBigBoss} Frame 1Symbol 2211 MovieClip {TedViral_fla.AlienBigBossBody_247}
"light"Symbol 2231 MovieClip {main.AlienBigBoss} Frame 1Symbol 2226 MovieClip
"beam"Symbol 2231 MovieClip {main.AlienBigBoss} Frame 1Symbol 2230 MovieClip
"p1"Symbol 2231 MovieClip {main.AlienBigBoss} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2231 MovieClip {main.AlienBigBoss} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2231 MovieClip {main.AlienBigBoss} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2231 MovieClip {main.AlienBigBoss} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 2231 MovieClip {main.AlienBigBoss} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 2231 MovieClip {main.AlienBigBoss} Frame 1Symbol 547 MovieClip {main.lifeBar}
"h1"Symbol 2235 MovieClip Frame 1Symbol 2234 MovieClip
"h2"Symbol 2235 MovieClip Frame 1Symbol 2234 MovieClip
"h3"Symbol 2235 MovieClip Frame 1Symbol 2234 MovieClip
"h4"Symbol 2235 MovieClip Frame 1Symbol 2234 MovieClip
"hatch"Symbol 2246 MovieClip {TedViral_fla.alienSeederBody_471} Frame 1Symbol 2235 MovieClip
"BEngFire2"Symbol 2247 MovieClip {main.AlienSeeder} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"BEngFire1"Symbol 2247 MovieClip {main.AlienSeeder} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"LEngFire"Symbol 2247 MovieClip {main.AlienSeeder} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"REngFire"Symbol 2247 MovieClip {main.AlienSeeder} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"body"Symbol 2247 MovieClip {main.AlienSeeder} Frame 1Symbol 2246 MovieClip {TedViral_fla.alienSeederBody_471}
"p1"Symbol 2247 MovieClip {main.AlienSeeder} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2247 MovieClip {main.AlienSeeder} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2247 MovieClip {main.AlienSeeder} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2247 MovieClip {main.AlienSeeder} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 2247 MovieClip {main.AlienSeeder} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 2247 MovieClip {main.AlienSeeder} Frame 1Symbol 547 MovieClip {main.lifeBar}
"p1"Symbol 2251 MovieClip {main.propBlasterAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2251 MovieClip {main.propBlasterAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2251 MovieClip {main.propBlasterAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2251 MovieClip {main.propBlasterAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"pointHand"Symbol 2258 MovieClip {TedViral_fla.AlienSolderArmBlaster_460} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"anim"Symbol 2262 MovieClip {TedViral_fla.AlienSolderArms_459} Frame 1Symbol 2258 MovieClip {TedViral_fla.AlienSolderArmBlaster_460}
"pointShoot"Symbol 2262 MovieClip {TedViral_fla.AlienSolderArms_459} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointShells"Symbol 2262 MovieClip {TedViral_fla.AlienSolderArms_459} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"anim"Symbol 2262 MovieClip {TedViral_fla.AlienSolderArms_459} Frame 2Symbol 2261 MovieClip
"arm2"Symbol 2265 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"head"Symbol 2265 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm1"Symbol 2265 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm2"Symbol 2297 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm1"Symbol 2297 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"head"Symbol 2297 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"head"Symbol 2350 MovieClip {TedViral_fla.AlienSolderDie_466} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm1"Symbol 2350 MovieClip {TedViral_fla.AlienSolderDie_466} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm2"Symbol 2350 MovieClip {TedViral_fla.AlienSolderDie_466} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm2"Symbol 2353 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"head"Symbol 2353 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm1"Symbol 2353 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm2"Symbol 2354 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm1"Symbol 2354 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"head"Symbol 2354 MovieClip Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"arm2"Symbol 2355 MovieClip {main.AlienSolder} Frame 1Symbol 2262 MovieClip {TedViral_fla.AlienSolderArms_459}
"body"Symbol 2355 MovieClip {main.AlienSolder} Frame 1Symbol 2265 MovieClip
"head"Symbol 2355 MovieClip {main.AlienSolder} Frame 1Symbol 2268 MovieClip
"arm1"Symbol 2355 MovieClip {main.AlienSolder} Frame 1Symbol 2262 MovieClip {TedViral_fla.AlienSolderArms_459}
"p1"Symbol 2355 MovieClip {main.AlienSolder} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2355 MovieClip {main.AlienSolder} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2355 MovieClip {main.AlienSolder} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2355 MovieClip {main.AlienSolder} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 2355 MovieClip {main.AlienSolder} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 2355 MovieClip {main.AlienSolder} Frame 1Symbol 547 MovieClip {main.lifeBar}
"body"Symbol 2355 MovieClip {main.AlienSolder} Frame 2Symbol 2297 MovieClip
"body"Symbol 2355 MovieClip {main.AlienSolder} Frame 3Symbol 2350 MovieClip {TedViral_fla.AlienSolderDie_466}
"body"Symbol 2355 MovieClip {main.AlienSolder} Frame 4Symbol 2353 MovieClip
"body"Symbol 2355 MovieClip {main.AlienSolder} Frame 5Symbol 2354 MovieClip
"anim"Symbol 2530 MovieClip {main.ZombPsy} Frame 1Symbol 2376 MovieClip
"p1"Symbol 2530 MovieClip {main.ZombPsy} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2530 MovieClip {main.ZombPsy} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2530 MovieClip {main.ZombPsy} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2530 MovieClip {main.ZombPsy} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"pointShoot"Symbol 2530 MovieClip {main.ZombPsy} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"damageArea"Symbol 2530 MovieClip {main.ZombPsy} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 2530 MovieClip {main.ZombPsy} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 2530 MovieClip {main.ZombPsy} Frame 2Symbol 2413 MovieClip
"die"Symbol 2530 MovieClip {main.ZombPsy} Frame 3Symbol 2466 MovieClip {TedViral_fla.ZombPsyDie_544}
"anim"Symbol 2530 MovieClip {main.ZombPsy} Frame 4Symbol 2413 MovieClip
"anim"Symbol 2530 MovieClip {main.ZombPsy} Frame 5Symbol 2529 MovieClip {TedViral_fla.ZombPsyAttack_545}
"p1"Symbol 2534 MovieClip {main.LuncherAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2534 MovieClip {main.LuncherAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2534 MovieClip {main.LuncherAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2534 MovieClip {main.LuncherAmmo} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"leveler1"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 1572 MovieClip {TedViral_fla.leverWall_569}
"hatch1"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 1506 MovieClip {TedViral_fla.sewerHatch_583}
"leveler1Trigger"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"hero"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 494 MovieClip {main.Ted}
"boss"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 2231 MovieClip {main.AlienBigBoss}
"seeder1"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 2247 MovieClip {main.AlienSeeder}
"projLayer"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 314 MovieClip
"propLayer"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 1447 MovieClip
"FXLayer"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 1450 MovieClip
"hatch1Lim"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 1459 MovieClip {main.limiter}
"triggerLeftBorder"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerUpgrade1"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret1"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerRightBorder"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerBossBorder"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerBottomBorder"Symbol 2535 MovieClip {main.Level10} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"BEngFire2"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"BEngFire1"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"LEngFire"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"REngFire"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"BEngFire2"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"BEngFire1"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"LEngFire"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"REngFire"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"pointShoot"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"p1"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 2582 MovieClip {main.AlienBomber} Frame 1Symbol 547 MovieClip {main.lifeBar}
"BEngFire2"Symbol 2585 MovieClip {main.AlienElectro} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"LEngFire"Symbol 2585 MovieClip {main.AlienElectro} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"REngFire"Symbol 2585 MovieClip {main.AlienElectro} Frame 1Symbol 1406 MovieClip {main.enginesFire}
"p1"Symbol 2585 MovieClip {main.AlienElectro} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2585 MovieClip {main.AlienElectro} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2585 MovieClip {main.AlienElectro} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2585 MovieClip {main.AlienElectro} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 2585 MovieClip {main.AlienElectro} Frame 1Symbol 368 MovieClip {main.damageMarker}
"light"Symbol 2585 MovieClip {main.AlienElectro} Frame 1Symbol 2226 MovieClip
"live"Symbol 2585 MovieClip {main.AlienElectro} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 2586 MovieClip {main.ZombTankRun} Frame 1Symbol 1699 MovieClip
"p1"Symbol 2586 MovieClip {main.ZombTankRun} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2586 MovieClip {main.ZombTankRun} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2586 MovieClip {main.ZombTankRun} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2586 MovieClip {main.ZombTankRun} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"damageArea"Symbol 2586 MovieClip {main.ZombTankRun} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 2586 MovieClip {main.ZombTankRun} Frame 1Symbol 547 MovieClip {main.lifeBar}
"anim"Symbol 2586 MovieClip {main.ZombTankRun} Frame 2Symbol 1726 MovieClip
"die"Symbol 2586 MovieClip {main.ZombTankRun} Frame 3Symbol 1811 MovieClip {TedViral_fla.ZombTankDie_515}
"anim"Symbol 2586 MovieClip {main.ZombTankRun} Frame 4Symbol 1726 MovieClip
"anim"Symbol 2586 MovieClip {main.ZombTankRun} Frame 5Symbol 1915 MovieClip {TedViral_fla.ZombTankAttack1_516}
"anim"Symbol 2586 MovieClip {main.ZombTankRun} Frame 6Symbol 1976 MovieClip {TedViral_fla.ZombTankAttack2_517}
"leveler1"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1572 MovieClip {TedViral_fla.leverWall_569}
"leveler2"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1572 MovieClip {TedViral_fla.leverWall_569}
"leveler3"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1572 MovieClip {TedViral_fla.leverWall_569}
"goArrow"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1632 MovieClip
"projLayer"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 314 MovieClip
"hero"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 494 MovieClip {main.Ted}
"bomber1"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 2582 MovieClip {main.AlienBomber}
"propLayer"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1447 MovieClip
"FXLayer"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1450 MovieClip
"hatch1"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1506 MovieClip {TedViral_fla.sewerHatch_583}
"hatch2"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1506 MovieClip {TedViral_fla.sewerHatch_583}
"hatch3"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1506 MovieClip {TedViral_fla.sewerHatch_583}
"hatch1Lim"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1459 MovieClip {main.limiter}
"hatch2Lim"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1459 MovieClip {main.limiter}
"hatch3Lim"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1459 MovieClip {main.limiter}
"triggerUpgrade1"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret1"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret2"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret3"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerUpgrade2"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"leveler1Trigger"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"leveler2Trigger"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"leveler3Trigger"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"levelLeftBorder"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"bomberLeftBorder"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"bomberRightBorder"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerBossMusBegin"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerBossMusEnd"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"levelRightBorder"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"levelEnd"Symbol 2588 MovieClip {main.Level9} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"p1"Symbol 2711 MovieClip {main.wepLuncherProp} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2711 MovieClip {main.wepLuncherProp} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2711 MovieClip {main.wepLuncherProp} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2711 MovieClip {main.wepLuncherProp} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"rLeg"Symbol 2771 MovieClip {main.AlienPredator} Frame 1Symbol 2766 MovieClip {TedViral_fla.AlienPredatorLeg2_553}
"lLeg"Symbol 2771 MovieClip {main.AlienPredator} Frame 1Symbol 2770 MovieClip {TedViral_fla.AlienPredatorLeg_554}
"pointShoot"Symbol 2771 MovieClip {main.AlienPredator} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"damageArea"Symbol 2771 MovieClip {main.AlienPredator} Frame 1Symbol 368 MovieClip {main.damageMarker}
"live"Symbol 2771 MovieClip {main.AlienPredator} Frame 1Symbol 547 MovieClip {main.lifeBar}
"projLayer"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 314 MovieClip
"unit2"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 2247 MovieClip {main.AlienSeeder}
"unit1"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 1431 MovieClip {main.AlienHunter}
"unit3"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 1431 MovieClip {main.AlienHunter}
"hero"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 494 MovieClip {main.Ted}
"boss"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 2771 MovieClip {main.AlienPredator}
"propLayer"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 1447 MovieClip
"FXLayer"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 1450 MovieClip
"levelLeftBorder"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"levelRightBorder"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerUpgrade1"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerUpgrade2"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret1"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"levelRightSeed"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"levelLeftSeed"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerBoss"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret2"Symbol 2772 MovieClip {main.Level8} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"projLayer"Symbol 2812 MovieClip {main.Level7} Frame 1Symbol 314 MovieClip
"hero"Symbol 2812 MovieClip {main.Level7} Frame 1Symbol 494 MovieClip {main.Ted}
"propLayer"Symbol 2812 MovieClip {main.Level7} Frame 1Symbol 1447 MovieClip
"FXLayer"Symbol 2812 MovieClip {main.Level7} Frame 1Symbol 1450 MovieClip
"pointWave1"Symbol 2812 MovieClip {main.Level7} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointWave3"Symbol 2812 MovieClip {main.Level7} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointWave2"Symbol 2812 MovieClip {main.Level7} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"triggerRightBarrier"Symbol 2812 MovieClip {main.Level7} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerLeftBarrier"Symbol 2812 MovieClip {main.Level7} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerY"Symbol 2812 MovieClip {main.Level7} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"barney"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 2686 MovieClip
"fuelBarrel2"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 2853 MovieClip {TedViral_fla.fuelBarrel_510}
"projLayer"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 314 MovieClip
"hero"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 494 MovieClip {main.Ted}
"propLayer"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 1447 MovieClip
"FXLayer"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 1450 MovieClip
"fuelBarrel1"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 2853 MovieClip {TedViral_fla.fuelBarrel_510}
"triggerBarneyCall"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"levelLeftBorder"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"levelRightBorder"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerUpgrade2"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret1"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerUpgrade1"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerBigAss"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerBarney"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerFuel1"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerFuel2"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerFuelBarrel1"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerFuelBarrel2"Symbol 2855 MovieClip {main.Level6} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"bgMC"Symbol 2872 MovieClip {TedViral_fla.EarthRow01BigTopMasked_420} Frame 1Symbol 158 MovieClip {TedViral_fla.EarthRow01Big_421}
"maskMC"Symbol 2872 MovieClip {TedViral_fla.EarthRow01BigTopMasked_420} Frame 1Symbol 2871 MovieClip
"bgMC"Symbol 2899 MovieClip {TedViral_fla.EarthRow01BigRightMasked_442} Frame 1Symbol 158 MovieClip {TedViral_fla.EarthRow01Big_421}
"maskMC"Symbol 2899 MovieClip {TedViral_fla.EarthRow01BigRightMasked_442} Frame 1Symbol 2871 MovieClip
"goArrow"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 1632 MovieClip
"projLayer"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 314 MovieClip
"alienFirst"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 2355 MovieClip {main.AlienSolder}
"preboss1"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 2355 MovieClip {main.AlienSolder}
"preboss2"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 1430 MovieClip {main.AlienHunterBlaster}
"boss"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 2247 MovieClip {main.AlienSeeder}
"hero"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 494 MovieClip {main.Ted}
"propLayer"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 1447 MovieClip
"FXLayer"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 1450 MovieClip
"triggerUpgrade2"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerUpgrade1"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"leftLevBorder"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret1"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret2"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"rightLevBorder"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"leftBossBorder"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerZombieGirl"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret3"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerTube"Symbol 2929 MovieClip {main.Level3} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"p1"Symbol 2988 MovieClip {main.propFood} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2988 MovieClip {main.propFood} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2988 MovieClip {main.propFood} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2988 MovieClip {main.propFood} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p1"Symbol 2992 MovieClip {main.propAK} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 2992 MovieClip {main.propAK} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 2992 MovieClip {main.propAK} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 2992 MovieClip {main.propAK} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"oldMan"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 2981 MovieClip {TedViral_fla.oldMan_318}
"obstacle"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 2164 MovieClip
"dynAnim"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 2984 MovieClip {TedViral_fla.dynamiteAnim_322}
"projLayer"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 314 MovieClip
"hero"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 494 MovieClip {main.Ted}
"propLayer"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 1447 MovieClip
"FXLayer"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 1450 MovieClip
"obstacleLim"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 1459 MovieClip {main.limiter}
"triggerOldManCall"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerUpgrade"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerLeftBorder"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret1"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerSecret2"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerOldMan"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"pointWave1"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointWave3"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"pointWave2"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"triggerEndLevel"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"triggerBomb"Symbol 2994 MovieClip {main.Level2} Frame 1Symbol 1464 MovieClip {main.triggerMarker}
"butYes"Symbol 3008 MovieClip {lostMenu} Frame 1Symbol 3003 Button
"butNo"Symbol 3008 MovieClip {lostMenu} Frame 1Symbol 3007 Button
"body"Symbol 3200 MovieClip {main.propDebris} Frame 1Symbol 3121 MovieClip
"p1"Symbol 3200 MovieClip {main.propDebris} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 3200 MovieClip {main.propDebris} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 3200 MovieClip {main.propDebris} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 3200 MovieClip {main.propDebris} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"body"Symbol 3200 MovieClip {main.propDebris} Frame 2Symbol 3124 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 3Symbol 3127 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 4Symbol 3130 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 5Symbol 3133 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 6Symbol 3136 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 7Symbol 3139 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 8Symbol 3142 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 9Symbol 3145 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 10Symbol 3148 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 11Symbol 3151 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 12Symbol 3154 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 13Symbol 3157 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 14Symbol 3160 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 15Symbol 3163 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 16Symbol 3166 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 17Symbol 3169 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 18Symbol 3172 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 19Symbol 3175 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 20Symbol 3178 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 21Symbol 3180 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 22Symbol 3182 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 23Symbol 3184 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 24Symbol 3186 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 25Symbol 3188 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 26Symbol 3190 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 27Symbol 3191 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 28Symbol 3194 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 29Symbol 3196 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 30Symbol 3197 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 31Symbol 3198 MovieClip
"body"Symbol 3200 MovieClip {main.propDebris} Frame 32Symbol 3199 MovieClip
"p1"Symbol 3214 MovieClip {main.propShotgun} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 3214 MovieClip {main.propShotgun} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 3214 MovieClip {main.propShotgun} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 3214 MovieClip {main.propShotgun} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"s1"Symbol 3329 MovieClip {TedViral_fla.cacheSound_83} Frame 1Symbol 3248 MovieClip {TedViral_fla.cacheSoundsWeapons_84}
"s3"Symbol 3329 MovieClip {TedViral_fla.cacheSound_83} Frame 1Symbol 3280 MovieClip {TedViral_fla.cacheSoundsImpact_85}
"s2"Symbol 3329 MovieClip {TedViral_fla.cacheSound_83} Frame 1Symbol 3304 MovieClip {TedViral_fla.cacheSoundsMusic_86}
"s4"Symbol 3329 MovieClip {TedViral_fla.cacheSound_83} Frame 1Symbol 3328 MovieClip {TedViral_fla.cacheSoundsOther_87}
"p1"Symbol 3339 MovieClip {main.propDynamite} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 3339 MovieClip {main.propDynamite} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 3339 MovieClip {main.propDynamite} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 3339 MovieClip {main.propDynamite} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p1"Symbol 3343 MovieClip {main.propBlaster} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p4"Symbol 3343 MovieClip {main.propBlaster} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p3"Symbol 3343 MovieClip {main.propBlaster} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"p2"Symbol 3343 MovieClip {main.propBlaster} Frame 1Symbol 366 MovieClip {TedViral_fla.physMarker_42}
"snd"Symbol 3353 MovieClip Frame 1Symbol 3329 MovieClip {TedViral_fla.cacheSound_83}
"butBack"Symbol 3451 MovieClip Frame 1Symbol 3420 Button
"butMusOn"Symbol 3451 MovieClip Frame 1Symbol 3423 Button
"butSndOn"Symbol 3451 MovieClip Frame 1Symbol 3426 Button
"butQuaHi"Symbol 3451 MovieClip Frame 1Symbol 3429 Button
"butFXOn"Symbol 3451 MovieClip Frame 1Symbol 3432 Button
"butDebOn"Symbol 3451 MovieClip Frame 1Symbol 3435 Button
"butDebOff"Symbol 3451 MovieClip Frame 1Symbol 3438 Button
"butMusOff"Symbol 3451 MovieClip Frame 1Symbol 3441 Button
"butSndOff"Symbol 3451 MovieClip Frame 1Symbol 3444 Button
"butQuaLo"Symbol 3451 MovieClip Frame 1Symbol 3447 Button
"butFXOff"Symbol 3451 MovieClip Frame 1Symbol 3450 Button
"butNew"Symbol 3475 MovieClip Frame 1Symbol 3457 Button
"butContinue"Symbol 3475 MovieClip Frame 1Symbol 3461 Button
"butEpisodes"Symbol 3475 MovieClip Frame 1Symbol 3465 Button
"butWalk"Symbol 3475 MovieClip Frame 1Symbol 3468 Button
"butLeader"Symbol 3475 MovieClip Frame 1Symbol 3471 Button
"butStat"Symbol 3475 MovieClip Frame 1Symbol 3474 Button
"butBack"Symbol 3475 MovieClip Frame 1Symbol 3420 Button
"epNum"Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157} Frame 1Symbol 3480 EditableText
"ep1"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"ep2"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"ep3"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"ep4"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"ep5"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"ep6"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"ep7"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"ep8"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"ep9"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"ep10"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"ep11"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"ep12"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"ep13"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"ep14"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"ep15"Symbol 3514 MovieClip Frame 1Symbol 3511 MovieClip {TedViral_fla.menuEpPic_157}
"butEpBack"Symbol 3514 MovieClip Frame 1Symbol 3420 Button
"butBack"Symbol 3521 MovieClip Frame 1Symbol 3420 Button
"credAnegmetex"Symbol 3521 MovieClip Frame 1Symbol 3520 MovieClip {TedViral_fla.credAneg_160}
"logoOG"Symbol 3527 MovieClip {main.menuMain} Frame 1Symbol 3015 MovieClip {menuLogoOG}
"logoAneg"Symbol 3527 MovieClip {main.menuMain} Frame 1Symbol 3013 MovieClip {menuLogoAneg}
"bgGrad"Symbol 3527 MovieClip {main.menuMain} Frame 1Symbol 3403 MovieClip
"butPlay"Symbol 3527 MovieClip {main.menuMain} Frame 1Symbol 21 Button {buttonPlay}
"butOptions"Symbol 3527 MovieClip {main.menuMain} Frame 1Symbol 3407 Button
"butCredits"Symbol 3527 MovieClip {main.menuMain} Frame 1Symbol 3411 Button
"butMore"Symbol 3527 MovieClip {main.menuMain} Frame 1Symbol 3414 Button
"disGrad"Symbol 3527 MovieClip {main.menuMain} Frame 1Symbol 3403 MovieClip
"menuOptions"Symbol 3527 MovieClip {main.menuMain} Frame 1Symbol 3451 MovieClip
"menuGame"Symbol 3527 MovieClip {main.menuMain} Frame 1Symbol 3475 MovieClip
"menuEp"Symbol 3527 MovieClip {main.menuMain} Frame 1Symbol 3514 MovieClip
"menuCredits"Symbol 3527 MovieClip {main.menuMain} Frame 1Symbol 3521 MovieClip
"menuWarl"Symbol 3527 MovieClip {main.menuMain} Frame 1Symbol 3008 MovieClip {lostMenu}
"pic"Symbol 3557 MovieClip Frame 1Symbol 3554 MovieClip {TedViral_fla.upgCratePic_171}
"catTxt"Symbol 3557 MovieClip Frame 1Symbol 3555 EditableText
"allTxt"Symbol 3557 MovieClip Frame 1Symbol 3556 EditableText
"txt"Symbol 3560 MovieClip {main.guiWepNum} Frame 1Symbol 3559 EditableText
"txt"Symbol 3635 MovieClip {main.hlpCtrl} Frame 1Symbol 3591 EditableText
"txt2"Symbol 3635 MovieClip {main.hlpCtrl} Frame 1Symbol 3592 EditableText
"pic2"Symbol 3635 MovieClip {main.hlpCtrl} Frame 1Symbol 3606 MovieClip {TedViral_fla.items_184}
"pic"Symbol 3653 MovieClip {main.dialog} Frame 1Symbol 3650 MovieClip {TedViral_fla.dialogPics_194}
"txtName"Symbol 3653 MovieClip {main.dialog} Frame 1Symbol 3651 EditableText
"txtSpeech"Symbol 3653 MovieClip {main.dialog} Frame 1Symbol 3652 EditableText
"bg"Symbol 3660 MovieClip {main.dialogIco} Frame 1Symbol 3656 MovieClip
"Excl"Symbol 3660 MovieClip {main.dialogIco} Frame 1Symbol 3658 MovieClip
"fxblink"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3529 MovieClip {main.fxblink}
"fxblink2"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3529 MovieClip {main.fxblink}
"wepInfo"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3557 MovieClip
"wep1"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3560 MovieClip {main.guiWepNum}
"wep2"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3560 MovieClip {main.guiWepNum}
"wep3"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3560 MovieClip {main.guiWepNum}
"wep4"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3560 MovieClip {main.guiWepNum}
"wep5"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3560 MovieClip {main.guiWepNum}
"wep6"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3560 MovieClip {main.guiWepNum}
"wep7"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3560 MovieClip {main.guiWepNum}
"wep8"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3560 MovieClip {main.guiWepNum}
"painFrame"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3563 MovieClip {PainFrame}
"lifeBar"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3565 MovieClip {TedViral_fla.lifeBarGui_174}
"txtMoney"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3566 EditableText
"hazElectro"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3572 MovieClip {TedViral_fla.hazardElectro_175}
"hazBio"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3577 MovieClip {TedViral_fla.hazardBio_177}
"hazPsy"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3582 MovieClip {TedViral_fla.hazardPsy_179}
"hlpControl"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3635 MovieClip {main.hlpCtrl}
"dlg"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3653 MovieClip {main.dialog}
"itm0"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3606 MovieClip {TedViral_fla.items_184}
"itm1"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3606 MovieClip {TedViral_fla.items_184}
"itm2"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3606 MovieClip {TedViral_fla.items_184}
"itm3"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3606 MovieClip {TedViral_fla.items_184}
"itm4"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3606 MovieClip {TedViral_fla.items_184}
"itm5"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3606 MovieClip {TedViral_fla.items_184}
"dlgIco"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3660 MovieClip {main.dialogIco}
"gamButMenu"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3668 Button
"gamButWT"Symbol 3676 MovieClip {main.gameGui} Frame 1Symbol 3675 Button
"upgStarsMask"Symbol 3691 MovieClip Frame 1Symbol 3688 MovieClip
"txt"Symbol 3698 MovieClip {TedViral_fla.upgCrateInfo_204} Frame 1Symbol 3687 EditableText
"pic"Symbol 3698 MovieClip {TedViral_fla.upgCrateInfo_204} Frame 1Symbol 3554 MovieClip {TedViral_fla.upgCratePic_171}
"upgStars"Symbol 3698 MovieClip {TedViral_fla.upgCrateInfo_204} Frame 1Symbol 3691 MovieClip
"soldout"Symbol 3698 MovieClip {TedViral_fla.upgCrateInfo_204} Frame 1Symbol 3697 MovieClip
"info"Symbol 3699 MovieClip {main.upgCrate} Frame 1Symbol 3698 MovieClip {TedViral_fla.upgCrateInfo_204}
"p0"Symbol 3699 MovieClip {main.upgCrate} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"p3"Symbol 3699 MovieClip {main.upgCrate} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"p1"Symbol 3699 MovieClip {main.upgCrate} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"p2"Symbol 3699 MovieClip {main.upgCrate} Frame 1Symbol 325 MovieClip {TedViral_fla.animMarker_211}
"txt"Symbol 3731 MovieClip {main.upgPaperParam} Frame 1Symbol 3728 EditableText
"txtWepName"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3725 EditableText
"upgItem1"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3731 MovieClip {main.upgPaperParam}
"upgItem2"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3731 MovieClip {main.upgPaperParam}
"upgItem3"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3731 MovieClip {main.upgPaperParam}
"upgItem4"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3731 MovieClip {main.upgPaperParam}
"upgItem5"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3731 MovieClip {main.upgPaperParam}
"upgItem6"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3731 MovieClip {main.upgPaperParam}
"upgItem7"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3731 MovieClip {main.upgPaperParam}
"upgItem8"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3731 MovieClip {main.upgPaperParam}
"upgItem9"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3731 MovieClip {main.upgPaperParam}
"upgItem10"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3731 MovieClip {main.upgPaperParam}
"txtMoney"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3733 EditableText
"sel"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3735 MovieClip {main.upgPaperFrame}
"buttAccept"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3741 Button
"buttCancel"Symbol 3747 MovieClip {main.upgPaper} Frame 1Symbol 3746 MovieClip {upgButtCancel}
"upg8"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3699 MovieClip {main.upgCrate}
"upg9"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3699 MovieClip {main.upgCrate}
"upg10"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3699 MovieClip {main.upgCrate}
"upg11"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3699 MovieClip {main.upgCrate}
"upg12"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3699 MovieClip {main.upgCrate}
"upg5"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3699 MovieClip {main.upgCrate}
"upg6"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3699 MovieClip {main.upgCrate}
"upg7"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3699 MovieClip {main.upgCrate}
"upg1"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3699 MovieClip {main.upgCrate}
"upg2"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3699 MovieClip {main.upgCrate}
"upg3"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3699 MovieClip {main.upgCrate}
"upg4"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3699 MovieClip {main.upgCrate}
"bar"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3709 MovieClip
"logoOG"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 7 MovieClip
"buttBack"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3720 Button
"fader50perc"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3721 MovieClip {main.fader50perc}
"upgPaper"Symbol 3748 MovieClip {main.menuUpgradeShop} Frame 1Symbol 3747 MovieClip {main.upgPaper}
"butExit"Symbol 3753 MovieClip {main.menuInGame} Frame 1Symbol 3752 Button
"butContinue"Symbol 3753 MovieClip {main.menuInGame} Frame 1Symbol 3461 Button
"butOptions"Symbol 3753 MovieClip {main.menuInGame} Frame 1Symbol 3407 Button
"butWalk"Symbol 3753 MovieClip {main.menuInGame} Frame 1Symbol 3468 Button
"logoOG"Symbol 3753 MovieClip {main.menuInGame} Frame 1Symbol 7 MovieClip
"lAcc"Symbol 3772 MovieClip Frame 1Symbol 3758 EditableText
"txtAcc"Symbol 3772 MovieClip Frame 1Symbol 3759 EditableText
"lMoney"Symbol 3772 MovieClip Frame 1Symbol 3760 EditableText
"txtMoney"Symbol 3772 MovieClip Frame 1Symbol 3761 EditableText
"lSecret"Symbol 3772 MovieClip Frame 1Symbol 3762 EditableText
"txtSecret"Symbol 3772 MovieClip Frame 1Symbol 3763 EditableText
"lKill"Symbol 3772 MovieClip Frame 1Symbol 3764 EditableText
"txtKill"Symbol 3772 MovieClip Frame 1Symbol 3765 EditableText
"lScore"Symbol 3772 MovieClip Frame 1Symbol 3766 EditableText
"txtScore"Symbol 3772 MovieClip Frame 1Symbol 3767 EditableText
"sep"Symbol 3772 MovieClip Frame 1Symbol 3769 MovieClip
"lTotal"Symbol 3772 MovieClip Frame 1Symbol 3770 EditableText
"txtTotal"Symbol 3772 MovieClip Frame 1Symbol 3771 EditableText
"bgRed"Symbol 3793 MovieClip {main.menuWinLose} Frame 1Symbol 3755 MovieClip
"bgBlack"Symbol 3793 MovieClip {main.menuWinLose} Frame 1Symbol 3757 MovieClip
"epStat"Symbol 3793 MovieClip {main.menuWinLose} Frame 1Symbol 3772 MovieClip
"butNext"Symbol 3793 MovieClip {main.menuWinLose} Frame 1Symbol 3775 Button
"butRetry"Symbol 3793 MovieClip {main.menuWinLose} Frame 1Symbol 3779 Button
"butSubmit"Symbol 3793 MovieClip {main.menuWinLose} Frame 1Symbol 3783 Button
"butExit"Symbol 3793 MovieClip {main.menuWinLose} Frame 1Symbol 3752 Button
"butWalkthrough"Symbol 3793 MovieClip {main.menuWinLose} Frame 1Symbol 3786 Button
"titWin"Symbol 3793 MovieClip {main.menuWinLose} Frame 1Symbol 3789 MovieClip
"titLose"Symbol 3793 MovieClip {main.menuWinLose} Frame 1Symbol 3792 MovieClip
"butSubmit"Symbol 3801 MovieClip {main.menuWinGame} Frame 1Symbol 3783 Button
"butExit"Symbol 3801 MovieClip {main.menuWinGame} Frame 1Symbol 3752 Button
"lTotal"Symbol 3801 MovieClip {main.menuWinGame} Frame 1Symbol 3796 EditableText
"txtTotal"Symbol 3801 MovieClip {main.menuWinGame} Frame 1Symbol 3797 EditableText
"titVic"Symbol 3801 MovieClip {main.menuWinGame} Frame 1Symbol 3800 MovieClip

Special Tags

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

Labels

"arrow"Symbol 37 MovieClip {Cursor} Frame 1
"wait"Symbol 37 MovieClip {Cursor} Frame 2
"cross"Symbol 37 MovieClip {Cursor} Frame 3
"RPistol"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 1
"LPistol"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 2
"RAK"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 3
"LAK"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 4
"RShotgun"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 5
"LShotgun"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 6
"RMinigun"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 7
"LMinigun"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 8
"RBlaster"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 9
"LBlaster"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 10
"RRPG"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 11
"LRPG"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 12
"RLasergun"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 13
"LLasergun"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 14
"RDDD"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 15
"LDDD"Symbol 354 MovieClip {TedViral_fla.TedArms_378} Frame 16
"stand"Symbol 494 MovieClip {main.Ted} Frame 1
"run"Symbol 494 MovieClip {main.Ted} Frame 2
"die"Symbol 494 MovieClip {main.Ted} Frame 3
"jump"Symbol 494 MovieClip {main.Ted} Frame 4
"runBack"Symbol 494 MovieClip {main.Ted} Frame 5
"sitting"Symbol 494 MovieClip {main.Ted} Frame 6
"stand"Symbol 694 MovieClip {main.Zomb01} Frame 1
"run"Symbol 694 MovieClip {main.Zomb01} Frame 2
"die"Symbol 694 MovieClip {main.Zomb01} Frame 3
"walk"Symbol 694 MovieClip {main.Zomb01} Frame 4
"attack"Symbol 694 MovieClip {main.Zomb01} Frame 5
"stand"Symbol 878 MovieClip {main.Zomb02} Frame 1
"run"Symbol 878 MovieClip {main.Zomb02} Frame 2
"die"Symbol 878 MovieClip {main.Zomb02} Frame 3
"walk"Symbol 878 MovieClip {main.Zomb02} Frame 4
"attack"Symbol 878 MovieClip {main.Zomb02} Frame 5
"stand"Symbol 1026 MovieClip {main.Zomb03} Frame 1
"run"Symbol 1026 MovieClip {main.Zomb03} Frame 2
"die"Symbol 1026 MovieClip {main.Zomb03} Frame 3
"walk"Symbol 1026 MovieClip {main.Zomb03} Frame 4
"attack"Symbol 1026 MovieClip {main.Zomb03} Frame 5
"stand"Symbol 1178 MovieClip {main.Zomb04} Frame 1
"run"Symbol 1178 MovieClip {main.Zomb04} Frame 2
"die"Symbol 1178 MovieClip {main.Zomb04} Frame 3
"walk"Symbol 1178 MovieClip {main.Zomb04} Frame 4
"attack"Symbol 1178 MovieClip {main.Zomb04} Frame 5
"stand"Symbol 1179 MovieClip {main.Zomb01Run} Frame 1
"run"Symbol 1179 MovieClip {main.Zomb01Run} Frame 2
"die"Symbol 1179 MovieClip {main.Zomb01Run} Frame 3
"walk"Symbol 1179 MovieClip {main.Zomb01Run} Frame 4
"attack"Symbol 1179 MovieClip {main.Zomb01Run} Frame 5
"stand"Symbol 1180 MovieClip {main.Zomb03Run} Frame 1
"run"Symbol 1180 MovieClip {main.Zomb03Run} Frame 2
"die"Symbol 1180 MovieClip {main.Zomb03Run} Frame 3
"walk"Symbol 1180 MovieClip {main.Zomb03Run} Frame 4
"attack"Symbol 1180 MovieClip {main.Zomb03Run} Frame 5
"stand"Symbol 1384 MovieClip {main.Zomb05} Frame 1
"run"Symbol 1384 MovieClip {main.Zomb05} Frame 2
"die"Symbol 1384 MovieClip {main.Zomb05} Frame 3
"walk"Symbol 1384 MovieClip {main.Zomb05} Frame 4
"attack"Symbol 1384 MovieClip {main.Zomb05} Frame 5
"stand"Symbol 1385 MovieClip {main.Zomb05Run} Frame 1
"run"Symbol 1385 MovieClip {main.Zomb05Run} Frame 2
"die"Symbol 1385 MovieClip {main.Zomb05Run} Frame 3
"walk"Symbol 1385 MovieClip {main.Zomb05Run} Frame 4
"attack"Symbol 1385 MovieClip {main.Zomb05Run} Frame 5
"good"Symbol 1431 MovieClip {main.AlienHunter} Frame 1
"stand"Symbol 1977 MovieClip {main.ZombTank} Frame 1
"run"Symbol 1977 MovieClip {main.ZombTank} Frame 2
"die"Symbol 1977 MovieClip {main.ZombTank} Frame 3
"walk"Symbol 1977 MovieClip {main.ZombTank} Frame 4
"attack1"Symbol 1977 MovieClip {main.ZombTank} Frame 5
"attack2"Symbol 1977 MovieClip {main.ZombTank} Frame 6
"stand"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 1
"run"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 2
"die"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 3
"walk"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 4
"attack"Symbol 1978 MovieClip {main.Zomb03Vomit} Frame 5
"stand"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 1
"run"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 2
"die"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 3
"walk"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 4
"attack"Symbol 1979 MovieClip {main.Zomb01Vomit} Frame 5
"stand"Symbol 1980 MovieClip {main.Zomb04Run} Frame 1
"run"Symbol 1980 MovieClip {main.Zomb04Run} Frame 2
"die"Symbol 1980 MovieClip {main.Zomb04Run} Frame 3
"walk"Symbol 1980 MovieClip {main.Zomb04Run} Frame 4
"attack"Symbol 1980 MovieClip {main.Zomb04Run} Frame 5
"stand"Symbol 2103 MovieClip {main.SpiderBig} Frame 1
"run"Symbol 2103 MovieClip {main.SpiderBig} Frame 2
"die"Symbol 2103 MovieClip {main.SpiderBig} Frame 3
"walk"Symbol 2103 MovieClip {main.SpiderBig} Frame 4
"attack"Symbol 2103 MovieClip {main.SpiderBig} Frame 5
"stand"Symbol 2104 MovieClip {main.Spider} Frame 1
"run"Symbol 2104 MovieClip {main.Spider} Frame 2
"die"Symbol 2104 MovieClip {main.Spider} Frame 3
"walk"Symbol 2104 MovieClip {main.Spider} Frame 4
"attack"Symbol 2104 MovieClip {main.Spider} Frame 5
"stand"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 1
"run"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 2
"die"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 3
"walk"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 4
"attack"Symbol 2105 MovieClip {main.Zomb05Vomit} Frame 5
"stand"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 1
"run"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 2
"die"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 3
"walk"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 4
"attack"Symbol 2106 MovieClip {main.Zomb04Vomit} Frame 5
"stand"Symbol 2107 MovieClip {main.Zomb02Run} Frame 1
"run"Symbol 2107 MovieClip {main.Zomb02Run} Frame 2
"die"Symbol 2107 MovieClip {main.Zomb02Run} Frame 3
"walk"Symbol 2107 MovieClip {main.Zomb02Run} Frame 4
"attack"Symbol 2107 MovieClip {main.Zomb02Run} Frame 5
"stand"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 1
"run"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 2
"die"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 3
"walk"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 4
"attack"Symbol 2112 MovieClip {main.Zomb02Vomit} Frame 5
"good"Symbol 2231 MovieClip {main.AlienBigBoss} Frame 1
"good"Symbol 2247 MovieClip {main.AlienSeeder} Frame 1
"RBlaster"Symbol 2262 MovieClip {TedViral_fla.AlienSolderArms_459} Frame 1
"LBlaster"Symbol 2262 MovieClip {TedViral_fla.AlienSolderArms_459} Frame 2
"stand"Symbol 2355 MovieClip {main.AlienSolder} Frame 1
"run"Symbol 2355 MovieClip {main.AlienSolder} Frame 2
"die"Symbol 2355 MovieClip {main.AlienSolder} Frame 3
"jump"Symbol 2355 MovieClip {main.AlienSolder} Frame 4
"runBack"Symbol 2355 MovieClip {main.AlienSolder} Frame 5
"stand"Symbol 2530 MovieClip {main.ZombPsy} Frame 1
"run"Symbol 2530 MovieClip {main.ZombPsy} Frame 2
"die"Symbol 2530 MovieClip {main.ZombPsy} Frame 3
"walk"Symbol 2530 MovieClip {main.ZombPsy} Frame 4
"attack"Symbol 2530 MovieClip {main.ZombPsy} Frame 5
"good"Symbol 2582 MovieClip {main.AlienBomber} Frame 1
"good"Symbol 2585 MovieClip {main.AlienElectro} Frame 1
"stand"Symbol 2586 MovieClip {main.ZombTankRun} Frame 1
"run"Symbol 2586 MovieClip {main.ZombTankRun} Frame 2
"die"Symbol 2586 MovieClip {main.ZombTankRun} Frame 3
"walk"Symbol 2586 MovieClip {main.ZombTankRun} Frame 4
"attack1"Symbol 2586 MovieClip {main.ZombTankRun} Frame 5
"attack2"Symbol 2586 MovieClip {main.ZombTankRun} Frame 6
"AlienBombDebris1"Symbol 3200 MovieClip {main.propDebris} Frame 21
"AlienBombDebris2"Symbol 3200 MovieClip {main.propDebris} Frame 22
"AlienSawDebris1"Symbol 3200 MovieClip {main.propDebris} Frame 23
"AlienSawDebris2"Symbol 3200 MovieClip {main.propDebris} Frame 24
"AlienSawDebris3"Symbol 3200 MovieClip {main.propDebris} Frame 25
"AlienHunterDebris1"Symbol 3200 MovieClip {main.propDebris} Frame 26
"AlienHunterDebris2"Symbol 3200 MovieClip {main.propDebris} Frame 27
"AlienHunterDebris3"Symbol 3200 MovieClip {main.propDebris} Frame 28
"AlienHunterDebris4"Symbol 3200 MovieClip {main.propDebris} Frame 29
"AlienBlasterDebris1"Symbol 3200 MovieClip {main.propDebris} Frame 30
"AlienBlasterDebris2"Symbol 3200 MovieClip {main.propDebris} Frame 31
"AlienBlasterDebris3"Symbol 3200 MovieClip {main.propDebris} Frame 32
"food"Symbol 3606 MovieClip {TedViral_fla.items_184} Frame 2
"dynamite"Symbol 3606 MovieClip {TedViral_fla.items_184} Frame 3
"lever"Symbol 3606 MovieClip {TedViral_fla.items_184} Frame 4
"valve"Symbol 3606 MovieClip {TedViral_fla.items_184} Frame 5
"gasmask"Symbol 3606 MovieClip {TedViral_fla.items_184} Frame 6
"cloth"Symbol 3606 MovieClip {TedViral_fla.items_184} Frame 7
"Fuel"Symbol 3606 MovieClip {TedViral_fla.items_184} Frame 8
"injMan"Symbol 3650 MovieClip {TedViral_fla.dialogPics_194} Frame 1
"Ted"Symbol 3650 MovieClip {TedViral_fla.dialogPics_194} Frame 2
"oldMan"Symbol 3650 MovieClip {TedViral_fla.dialogPics_194} Frame 3
"bunkerManNude"Symbol 3650 MovieClip {TedViral_fla.dialogPics_194} Frame 4
"bunkerManCloth"Symbol 3650 MovieClip {TedViral_fla.dialogPics_194} Frame 5
"Barny"Symbol 3650 MovieClip {TedViral_fla.dialogPics_194} Frame 6




http://swfchan.com/20/99856/info.shtml
Created: 21/3 -2019 15:37:45 Last modified: 21/3 -2019 15:37:45 Server time: 22/12 -2024 09:28:15